From b0bbfe1d8f1f356ffc5f1e97ab43c7195d18b7f8 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Thu, 25 Sep 2014 08:41:47 -0500 Subject: [PATCH] fix: actually pass dtb to the bootloader, fixes: https://github.com/RobertCNelson/netinstall/issues/36 Signed-off-by: Robert Nelson --- mk_mmc.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mk_mmc.sh b/mk_mmc.sh index 49546e6..3dd207c 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1104,6 +1104,12 @@ populate_boot () { echo "uname_r=current" > ${wfile} + if [ ! "x${dtb}" = "x" ] ; then + echo "dtb=${dtb}" >> ${wfile} + else + echo "dtb=" >> ${wfile} + fi + mmcargs="mmcargs=run message; setenv bootargs console" if [ "x${di_serial_mode}" = "xenable" ] ; then