]> code.ossystems Code Review - bsp/u-boot.git/commit
warp: Use PARTUUID to specify the rootfs location
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 11 Jul 2017 17:24:29 +0000 (14:24 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 12 Jul 2017 12:05:03 +0000 (09:05 -0300)
commit3a279e5fe85c55bab3c2ea3a3a94c8b50c7ea6d6
tree835ee0dd6c45ea6423096501f2f899bef584954a
parent0f9a6703e7a116fce5d047bfce71aecb6795dcce
warp: Use PARTUUID to specify the rootfs location

warp 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 4.12 kernel.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
configs/warp_defconfig
include/configs/warp.h