mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-27 22:56:49 +08:00
arm:pdu001: Use pseudo partition UUID for LINUX kernel boot paramter root
As more and more LINUX drivers are modified to use asynchronous probing instead of synchronous probing, relying on device names being equal in U-Boot and LINUX is not possible anymore. This is also true for block device names like mmc0, mmc1 ect. With LINUX kernel commit a1a4891 the probing type for the sdhci-omap driver has been set to asynchronous mode too (probe_type is now PROBE_PREFER_ASYNCHRONOUS). In the case of the PDU001 board this results in the devices mmc0 and mmc1 being swapped between U-Boot and LINUX. Device mmc0 in U-Boot becomes mmc1 in LINUX an vice versa. Hence using device name identifiers with LINUX kernel parameter root does not work anymore. This patch changes the LINUX kernel boot parameter root to use the pseudo (since we use MBR not GPT) partition UUID to locate the partition hosting the root file system. Signed-off-by: Felix Brack <fb@ltec.ch>
This commit is contained in:
parent
d2aa5727a5
commit
ffa6602905
@ -37,9 +37,10 @@
|
||||
|
||||
#define CONFIG_BOOTCOMMAND \
|
||||
"run eval_boot_device;" \
|
||||
"part uuid mmc ${mmc_boot}:${root_fs_partition} root_fs_partuuid;" \
|
||||
"setenv bootargs console=${console} " \
|
||||
"vt.global_cursor_default=0 " \
|
||||
"root=/dev/mmcblk${mmc_boot}p${root_fs_partition} " \
|
||||
"root=PARTUUID=${root_fs_partuuid} " \
|
||||
"rootfstype=ext4 " \
|
||||
"rootwait " \
|
||||
"rootdelay=1;" \
|
||||
|
Loading…
Reference in New Issue
Block a user