summaryrefslogtreecommitdiff
path: root/bootloader/x1000
diff options
context:
space:
mode:
authorDana Conrad <dconrad@fastmail.com>2024-08-21 00:01:49 +0000
committerSolomon Peachy <pizza@shaftnet.org>2024-08-27 09:23:53 -0400
commitf6b9e923dc6b2601e9e6190fd887d5b5277b2b59 (patch)
tree7271e82c65f2c0487efc67d451be551dfadcad71 /bootloader/x1000
parent56dd7ead63c0ced711e86d9c69c1d632596760b9 (diff)
downloadrockbox-f6b9e923dc6b2601e9e6190fd887d5b5277b2b59.tar.gz
rockbox-f6b9e923dc6b2601e9e6190fd887d5b5277b2b59.zip
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
Diffstat (limited to 'bootloader/x1000')
-rw-r--r--bootloader/x1000/x1000bootloader.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/bootloader/x1000/x1000bootloader.h b/bootloader/x1000/x1000bootloader.h
index 7118017a23..0b5b02969d 100644
--- a/bootloader/x1000/x1000bootloader.h
+++ b/bootloader/x1000/x1000bootloader.h
@@ -107,10 +107,9 @@ struct uimage_header;
107 " init=/linuxrc ubi.mtd=4 root=ubi0:rootfs ubi.mtd=5 rootfstype=ubifs \ 107 " init=/linuxrc ubi.mtd=4 root=ubi0:rootfs ubi.mtd=5 rootfstype=ubifs \
108sn_no=00000000000000000000000000000000 bt_mac=xxxxxxxxxxxx wifi_mac=xxxxxxxxxxxx rw" 108sn_no=00000000000000000000000000000000 bt_mac=xxxxxxxxxxxx wifi_mac=xxxxxxxxxxxx rw"
109# define OF_PLAYER_BTN BUTTON_PLAY 109# define OF_PLAYER_BTN BUTTON_PLAY
110/* Note: OF Recovery boots, but is otherwise untested. */ 110# define OF_RECOVERY_NAME "Aigo Recovery"
111//# define OF_RECOVERY_NAME "Aigo Recovery" 111# define OF_RECOVERY_ADDR 0x900000
112//# define OF_RECOVERY_ADDR 0x900000 112# define OF_RECOVERY_LENGTH (7 * 1024 * 1024)
113//# define OF_RECOVERY_LENGTH (7 * 1024 * 1024)
114# define OF_RECOVERY_ARGS \ 113# define OF_RECOVERY_ARGS \
115 "console=ttyS2,115200n8 mem=32M@0x0 no_console_suspend lpj=5009408 ip=off" 114 "console=ttyS2,115200n8 mem=32M@0x0 no_console_suspend lpj=5009408 ip=off"
116#else 115#else