colibri_vf: fix sdboot for vybrid modules
authorGerard Salvatella <gerard.salvatella@toradex.com>
Mon, 25 Mar 2019 16:25:12 +0000 (17:25 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:09 +0000 (20:30 +0200)
commit671b6a3d78c967b48b9df7c995b1a6fdb93bb847
treef4ab0f7a27107e52efedfe032fea6304ae45d3b9
parentafda2ace8a00b7ec563d89b74f6965042ae088e6
colibri_vf: fix sdboot for vybrid modules

Currently, Vybrid's sdboot variable tries to load the kernel from /boot
of the root partition (typically second partition when using the sdcard
image). However, since we moved to flash the kernel in a separate UBI
volume, we no longer deploy the kernel/device tree to /boot, hence
sdboot does not work in its current state.

Load the kernel and device tree from the first (typically FAT) partition
as customary on all Toradex modules.

While at it also change from rw to ro as e.g. systemd will re-mount the
root file system rw anyway after checking it.

Signed-off-by: Gerard Salvatella <gerard.salvatella@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
include/configs/colibri_vf.h