summaryrefslogtreecommitdiff
path: root/bootloader/x1000/x1000bootloader.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-03-05 14:28:57 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-03-24 23:40:07 +0000
commit90cb0b0ae541303b3efb5ddbdc2ff8adab26cb49 (patch)
tree02e2468f8b5da220aab97664481cd485b7e11b35 /bootloader/x1000/x1000bootloader.h
parent53a92f0ecce72ec92084a23a4f22679d2c01e22a (diff)
downloadrockbox-90cb0b0ae541303b3efb5ddbdc2ff8adab26cb49.tar.gz
rockbox-90cb0b0ae541303b3efb5ddbdc2ff8adab26cb49.zip
x1000: bootloader: add mainline Linux boot option
This adds a *very basic* Linux loader to the Rockbox bootloader, which allows running a mainline Linux kernel using the following file layout on the SD card: - /uImage - /linux_cmdline.txt The command line arguments are listed in linux_cmdline.txt, all lines are concatenated together and whitespace is converted into spaces. Comments aren't supported however. The loader doesn't support the modern devicetree boot protocol, so it can only pass command line arguments. It would be easy to support an appended dtb though. Change-Id: I373f465dbbdafe94738f619748cbb0278fc2c25f
Diffstat (limited to 'bootloader/x1000/x1000bootloader.h')
-rw-r--r--bootloader/x1000/x1000bootloader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootloader/x1000/x1000bootloader.h b/bootloader/x1000/x1000bootloader.h
index 88d4e3585b..587a820eaf 100644
--- a/bootloader/x1000/x1000bootloader.h
+++ b/bootloader/x1000/x1000bootloader.h
@@ -141,6 +141,7 @@ void bootloader_restore(void);
141void boot_rockbox(void); 141void boot_rockbox(void);
142void boot_of_player(void); 142void boot_of_player(void);
143void boot_of_recovery(void); 143void boot_of_recovery(void);
144void boot_linux(void);
144void shutdown(void); 145void shutdown(void);
145void reboot(void); 146void reboot(void);
146 147