mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-26 14:48:27 +02:00
qi-fixes-append.patch
Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
parent
1b06d98bc7
commit
02fb616721
@ -54,11 +54,14 @@ Booting Heuristics
|
|||||||
Qi has one or more ways to fetch a kernel depending on the device it finds it is
|
Qi has one or more ways to fetch a kernel depending on the device it finds it is
|
||||||
running on, for example on GTA02 it can use NAND and SD card devices. It goes
|
running on, for example on GTA02 it can use NAND and SD card devices. It goes
|
||||||
through these device-specific storage devices in order and tries to boot the
|
through these device-specific storage devices in order and tries to boot the
|
||||||
first viable kernel it finds, usually /boot/uImage-device>.bin for example
|
first viable kernel it finds, usually /boot/<uImage-device>.bin for example
|
||||||
/boot/uImage-GTA02.bin.
|
/boot/uImage-GTA02.bin.
|
||||||
|
|
||||||
You can disable a rootfs for consideration for boot if you add a file
|
You can disable a rootfs for consideration for boot if you add a file
|
||||||
/boot/noboot-<device>, eg, /boot/noboot-GTA02.
|
/boot/noboot-<device>, eg, /boot/noboot-GTA02. This differs from renaming or
|
||||||
|
deleting the kernel image because updating the kernel package would give you a
|
||||||
|
working kernel again and allow boot, whereas the noboot indication will remain
|
||||||
|
until you remove it.
|
||||||
|
|
||||||
The kernel commandline used is associated with the storage device and partition,
|
The kernel commandline used is associated with the storage device and partition,
|
||||||
this allows the correct root= line to be arrived at without any work.
|
this allows the correct root= line to be arrived at without any work.
|
||||||
|
@ -178,6 +178,7 @@ void bootloader_second_phase(void)
|
|||||||
|
|
||||||
/* is there a commandline append file? */
|
/* is there a commandline append file? */
|
||||||
|
|
||||||
|
commandline_rootfs_append[0] = '\0';
|
||||||
read_file(this_board->append, (u8 *)commandline_rootfs_append,
|
read_file(this_board->append, (u8 *)commandline_rootfs_append,
|
||||||
512);
|
512);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user