Open Shatur opened 11 months ago
Talked with megi, the issue were on the U-Boot side. And switching to extlinux.conf is not necessary, it should work with boot.scr too.
I tried the updated version from https://megous.com/dl/tmp/ppp.tar.zst and the phone, removed extlinux.conf
and now I how the output:
But still unable to boot. First item just boots me into console.
@Danct12 I think extlinux.conf
is way better and simpler way configure the system. I would suggest to migrate to it.
I talked with danct and looks like we can't because we need dynamically identify a boot device on boot up and it's impossible from extlinux.conf
.
boot.scr
doesn't work because we megi's builds missing CONFIG_CMD_UNZIP
enabled. We could enable it.
I talked with megi and he enabled CONFIG_CMD_UNZIP
. So now it boots without configuration.
But it will look like this: https://github.com/dreemurrs-embedded/Pine64-Arch/issues/571#issuecomment-1662549407.
With extlinux.conf I can set label and background. So I would consider migration to extlinux.conf
. Maybe we could generate it or let user choose correct one from the menu?
For example, here is my setup:
An easy way to provide this in a package is by using the Mobian team's fork of u-boot-menu for a PKGBUILD.
Recently megi released rk2aw with patched U-Boot builds This bootloaders have many benefits (especially for PPP), but looks like patched U-Boot uses
extlinux.conf
whileboot.scr
. I would suggest to migrate to simplify setup for users. I tried creatingboot/extlinux/extlinux.conf
with the following content:But it doesn't work for some reason...The issue was on U-Boot side, now creating this file and/boot/splash.bmp
is enough.Edit: Megi added support for
CONFIG_CMD_UNZIP
, soboot.scr
can also be loaded without any configuration. But you can't set a nice label and put a background this way.