1
0
Fork 0
forked from len0rd/rockbox

ErosQNative: Re-enable OF recovery

This is needed to be able to do updates to the OF due to the fact
that the OF reboots when you select "update firmware".

By default, most OF update images do not update the bootloader,
but it is easy to modify them to do so, and they already contain
a uboot.bin binary.

I tested using the Aigo Recovery from our native bootloader and it
sure seems to work fine.

If we patch the OF update images to load our own native bootloader,
this will be doubly necessary for uninstallation.

Change-Id: Id69b0321e293331b3936c3f3e7e012d5f00b479a
This commit is contained in:
Dana Conrad 2024-08-21 00:01:49 +00:00 committed by Solomon Peachy
parent 56dd7ead63
commit f6b9e923dc

View file

@ -107,10 +107,9 @@ struct uimage_header;
" init=/linuxrc ubi.mtd=4 root=ubi0:rootfs ubi.mtd=5 rootfstype=ubifs \
sn_no=00000000000000000000000000000000 bt_mac=xxxxxxxxxxxx wifi_mac=xxxxxxxxxxxx rw"
# define OF_PLAYER_BTN BUTTON_PLAY
/* Note: OF Recovery boots, but is otherwise untested. */
//# define OF_RECOVERY_NAME "Aigo Recovery"
//# define OF_RECOVERY_ADDR 0x900000
//# define OF_RECOVERY_LENGTH (7 * 1024 * 1024)
# define OF_RECOVERY_NAME "Aigo Recovery"
# define OF_RECOVERY_ADDR 0x900000
# define OF_RECOVERY_LENGTH (7 * 1024 * 1024)
# define OF_RECOVERY_ARGS \
"console=ttyS2,115200n8 mem=32M@0x0 no_console_suspend lpj=5009408 ip=off"
#else