mk_mmc.sh: we assume these in most cases

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 11 years ago
parent ddb8c95af6
commit 8518d8fe6b

@ -276,6 +276,10 @@ boot_uenv_txt_template () {
drm_device_identifier=${drm_device_identifier:-"HDMI-A-1"} drm_device_identifier=${drm_device_identifier:-"HDMI-A-1"}
uboot_fdt_variable_name=${uboot_fdt_variable_name:-"fdtfile"} uboot_fdt_variable_name=${uboot_fdt_variable_name:-"fdtfile"}
conf_bootcmd=${conf_bootcmd:-"bootz"}
kernel=${kernel:-"/boot/vmlinuz-current"}
initrd=${initrd:-"/boot/initrd.img-current"}
if [ "x${di_serial_mode}" = "xenable" ] ; then if [ "x${di_serial_mode}" = "xenable" ] ; then
xyz_message="echo; echo Installer for [${DISTARCH}] is using the Serial Interface; echo;" xyz_message="echo; echo Installer for [${DISTARCH}] is using the Serial Interface; echo;"
else else
@ -1214,17 +1218,12 @@ process_dtb_conf () {
esac esac
fi fi
if [ "x${uboot_CONFIG_CMD_BOOTZ}" = "xenable" ] ; then if [ ! "x${uboot_CONFIG_CMD_BOOTZ}" = "xenable" ] ; then
conf_bootcmd="bootz"
kernel=/boot/vmlinuz-current
else
conf_bootcmd="bootm" conf_bootcmd="bootm"
kernel=/boot/uImage kernel=/boot/uImage
fi fi
if [ "x${uboot_CONFIG_SUPPORT_RAW_INITRD}" = "xenable" ] ; then if [ ! "x${uboot_CONFIG_SUPPORT_RAW_INITRD}" = "xenable" ] ; then
initrd=/boot/initrd.img-current
else
initrd=/boot/uInitrd initrd=/boot/uInitrd
fi fi

Loading…
Cancel
Save