1
0
Fork 0
forked from len0rd/rockbox
foxbox/bootloader/x1000
Aidan MacDonald f7a341555d fiiom3k: trim OF kernel arguments to fix boot hangs
The M3K's kernel has an incredibly stupid function that mangles the
kernel args and copies them to a 100-byte buffer without any kind of
bounds checking. So, if the kernel arguments are more than 99 chars
the stack may be corrupted, sometimes crashing the kernel.

Fortunately, most of the arguments the OF uses are useless, and the
truly necessary arguments fit within the absurd 99-char limit.

Change-Id: I01ef4513298f79d3c08538239802c21e88509631
2022-03-24 23:40:07 +00:00
..
boot.c x1000: bootloader: fix Linux self-extracting kernel boot 2022-03-24 23:40:07 +00:00
gui.c x1000: bootloader: add GUI list widget 2022-03-12 14:50:45 -05:00
install.c x1000: bootloader: refactor init_disk 2022-03-12 18:25:10 +00:00
main.c x1000: bootloader: move the main function to its own file 2022-03-12 18:25:10 +00:00
recovery.c x1000: bootloader: add mainline Linux boot option 2022-03-24 23:40:07 +00:00
utils.c x1000: bootloader: add uImage loaders 2022-03-12 18:25:10 +00:00
x1000bootloader.h fiiom3k: trim OF kernel arguments to fix boot hangs 2022-03-24 23:40:07 +00:00