]> code.ossystems Code Review - bsp/u-boot.git/commit
embestmx6boards: Use PARTUUID to specify the rootfs location
authorFabio Berton <fabio.berton@ossystems.com.br>
Mon, 10 Jul 2017 20:04:11 +0000 (17:04 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 12 Jul 2017 12:05:03 +0000 (09:05 -0300)
commit0f9a6703e7a116fce5d047bfce71aecb6795dcce
tree3cf6815498d63deeaac081fb4be9c4fde48720ac
parentc877510614862c5123c1c0d4d51c2dde89d62ae0
embestmx6boards: Use PARTUUID to specify the rootfs location

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.

Also add CONFIG_BOOTCOMMAND to run finduuid function and distro_bootcmd.

This change was made based on U-Boot commit:

  - ca4f338e2efece5196eb2178e5f7d07be828da6e

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
include/configs/embestmx6boards.h