]> code.ossystems Code Review - bsp/u-boot.git/commit
embestmx6boards: Use PARTUUID to specify the rootfs location
authorFabio Berton <fabio.berton@ossystems.com.br>
Wed, 19 Oct 2016 13:30:35 +0000 (11:30 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 21 Oct 2016 17:40:29 +0000 (15:40 -0200)
commit8c7f1e5f4e3e1acd8dd5cbfe94e5bf75bb581bf2
tree7aba8d336f80be41f1d64640f3c285ccabd6bc73
parent0c0dcb8354a6f063edd5f459790a99c81db2fd81
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>
include/configs/embestmx6boards.h