diff --git a/mk_mmc.sh b/mk_mmc.sh index f7893ce..cb057ed 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1146,20 +1146,22 @@ populate_boot () { echo "uname_r=current" > ${wfile} + mmcargs="mmcargs=run message; setenv bootargs console" + if [ "x${di_serial_mode}" = "xenable" ] ; then echo "message=echo; echo Installer for [${DISTARCH}] is using the Serial Interface; echo;" >> ${wfile} - echo "mmcargs=run message; setenv bootargs console=${SERIAL_CONSOLE} root=/dev/ram0 rw" >> ${wfile} + mmcargs="${mmcargs}=${SERIAL_CONSOLE} root=/dev/ram0 rw" else echo "message=echo; echo Installer for [${DISTARCH}] is using the Video Interface; echo Use [--serial-mode] to force Installing over the Serial Interface; echo;" >> ${wfile} + mmcargs="${mmcargs}=tty0 root=/dev/ram0 rw" + fi - if [ "x${drm_read_edid_broken}" = "xenable" ] ; then - echo "mmcargs=run message; setenv bootargs console=tty0 root=/dev/ram0 rw video=${drm_device_identifier}:1024x768@60e" >> ${wfile} - else - echo "mmcargs=run message; setenv bootargs console=tty0 root=/dev/ram0 rw" >> ${wfile} - fi - + if [ "x${drm_read_edid_broken}" = "xenable" ] ; then + mmcargs="${mmcargs} video=${drm_device_identifier}:1024x768@60e" fi + echo "${mmcargs}" >> ${wfile} + echo "Net Install Boot Script:" cat ${wfile} echo "-----------------------------"