From: "Ruslan V. Sushko" <ruslan.sushko@xxxxxxxx> Signed-off-by: Ruslan Sushko <Ruslan.Sushko@xxxxxxxx> --- .../boards/zii-imx6q-rdu2/defaultenv-rdu2/boot/rdu-default | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/boot/rdu-default b/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/boot/rdu-default index f391d91eba4c..e3406d554373 100644 --- a/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/boot/rdu-default +++ b/arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/boot/rdu-default @@ -2,6 +2,10 @@ backlight0.brightness=0 if [ "$bootsource" = "spi-nor" ]; then + echo Boot source is SPI NOR, booting SD card firmware with rootfs on SD card + boot mmc1 +elif [ "$bootsource" = "mmc" ] && [ "$bootsource_instance" = "1" ]; then + echo Boot source is SD card, booting SD card firmware with rootfs on SD card boot mmc1 else detect mmc3 -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox