1
0
Fork 0
forked from len0rd/rockbox
foxbox/bootloader
Aidan MacDonald 90cb0b0ae5 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
2022-03-24 23:40:07 +00:00
..
x1000 x1000: bootloader: add mainline Linux boot option 2022-03-24 23:40:07 +00:00
bootloader.make bootloader: Work around linker wonkiness that broke PP bootloader builds. 2020-10-13 19:02:27 -04:00
common.c bootloader: nuke a long-unused (and broken) code block 2021-08-22 07:49:06 -04:00
common.h Initial commit for the Sony NWZ linux port 2017-09-05 21:42:12 +02:00
creativezvm.c h300, Others Bugfix Bootloader backlight_init() 2020-11-13 18:08:01 +00:00
fat32format.c mi4: replace chksum_crc32 with crc_32r 2021-06-21 09:36:54 +00:00
format.c ClipPlus BOOTLOADER DONT FIT! 2020-10-23 20:38:59 -04:00
format.h ClipPlus BOOTLOADER DONT FIT! 2020-10-23 20:38:59 -04:00
gigabeat-s.c Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
gigabeat.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
iaudio_coldfire.c firmware: minor screendump related cleanups 2022-03-24 18:59:50 -04:00
imx233.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
ipod.c Bugfix Backlight_init should be called after lcd_init 2020-11-13 13:57:39 -05:00
ipod6g.c Fix more warnings. 2020-10-13 15:48:31 -04:00
ipodnano2g.c Bugfix Backlight_init should be called after lcd_init 2020-11-13 13:57:39 -05:00
iriver_h1x0.c firmware: minor screendump related cleanups 2022-03-24 18:59:50 -04:00
iriver_h300.c firmware: minor screendump related cleanups 2022-03-24 18:59:50 -04:00
lyre_proto1.c Bootloaders need the reacharound to get at the internal goods 2014-08-08 02:28:11 -04:00
main-e200r-installer.c mi4: replace chksum_crc32 with crc_32r 2021-06-21 09:36:54 +00:00
main-pp.c Sansa E200v1 Bootloader ensure USB unplug is detected 2021-10-04 16:42:36 -04:00
main-ppsansawipe.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
Makefile [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00
meizu_m3.c h300, Others Bugfix Bootloader backlight_init() 2020-11-13 18:08:01 +00:00
meizu_m6sl.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
meizu_m6sp.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
mini2440.c h300, Others Bugfix Bootloader backlight_init() 2020-11-13 18:08:01 +00:00
mpio_hd200_hd300.c firmware: minor screendump related cleanups 2022-03-24 18:59:50 -04:00
mrobe500.c mrobe500 bootloader fix 2020-10-13 21:33:55 -04:00
nwz_linux.c remove inaccurate comment 2017-09-18 09:30:33 +02:00
ondavx747.c ondavx747: Fix bootloader build 2020-09-03 20:26:23 +00:00
rk27xx.c Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
rocker_linux.c Rename symbols of FiiO M3K Linux-based port 2021-02-27 23:53:28 +00:00
samsung_yps3.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
sansa_as3525.c Fix AMSv2 variant 1 detection if rockbox loaded from SD card 2016-04-22 20:43:45 +00:00
sansaconnect.c Sansa Connect: Power off LCD to save power 2021-07-05 15:19:52 +02:00
sansaview.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
show_logo.c Fix up the bootloaders 2014-08-28 10:44:22 -04:00
snprintf.c ClipPlus BOOTLOADER DONT FIT! 2020-10-23 20:38:59 -04:00
SOURCES x1000: bootloader: move the main function to its own file 2022-03-12 18:25:10 +00:00
telechips.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
xduoox3.c xduoox3: Further bootloader improvements 2021-08-26 11:59:01 -04:00