diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-07-10 15:59:12 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-07-12 10:23:37 +0200 |
commit | 00f43e51c5e77c3333784830305a2bbd4d55d2c0 (patch) | |
tree | dd14ac823a6c744b7953f51819b19dcb4997f1ce /configs | |
parent | ca62e5d043640c4b4120d7d8ed292e813a17b58d (diff) |
mx6sabre: Use PARTUUID to specify the rootfs location
mx6sabre boards can run different kernel versions, such as NXP 4.1 or
mainline.
Currently the rootfs location is passed via mmcblk number and the
problem with this approach is that the mmcblk number for the eMMC
changes depending on the kernel version.
In order to avoid such issue, use UUID method to specify the rootfs
location.
Succesfully tested booting a NXP 4.1 and also a mainline kernel on a
mx6qsabresd and mx6dlsabreauto.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/mx6sabreauto_defconfig | 1 | ||||
-rw-r--r-- | configs/mx6sabresd_defconfig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig index f904cbfe8d..236af953b5 100644 --- a/configs/mx6sabreauto_defconfig +++ b/configs/mx6sabreauto_defconfig @@ -22,6 +22,7 @@ CONFIG_CMD_BOOTZ=y # CONFIG_CMD_IMLS is not set # CONFIG_CMD_FLASH is not set CONFIG_CMD_MMC=y +CONFIG_CMD_PART=y CONFIG_CMD_SF=y CONFIG_CMD_I2C=y CONFIG_CMD_USB=y diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig index 972e971a6a..d8e05cfe04 100644 --- a/configs/mx6sabresd_defconfig +++ b/configs/mx6sabresd_defconfig @@ -23,6 +23,7 @@ CONFIG_CMD_BOOTZ=y # CONFIG_CMD_IMLS is not set # CONFIG_CMD_FLASH is not set CONFIG_CMD_MMC=y +CONFIG_CMD_PART=y CONFIG_CMD_SF=y CONFIG_CMD_I2C=y CONFIG_CMD_USB=y |