From 386e03101c3525774353c704129c210a866df528 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 4 Apr 2012 11:14:34 -0500 Subject: [PATCH] board: beagle_bx use bootz by default Signed-off-by: Robert Nelson --- mk_mmc.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index ed6d7e1..9ac4763 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -585,7 +585,21 @@ function boot_uenv_txt_template { __EOF__ case "${SYSTEM}" in - beagle_bx|beagle_cx) + beagle_bx) + cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__ + deviceargs=setenv device_args mpurate=\${mpurate} buddy=\${buddy} buddy2=\${buddy2} musb_hdrc.fifo_mode=5 + loaduimage=run xyz_mmcboot; run deviceargs; run mmcargs; \${boot} \${address_image} \${address_initrd}:\${filesize} + + __EOF__ + + cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__ + optargs=VIDEO_CONSOLE + deviceargs=setenv device_args mpurate=\${mpurate} buddy=\${buddy} buddy2=\${buddy2} musb_hdrc.fifo_mode=5 + loaduimage=run xyz_mmcboot; run deviceargs; run mmcargs; \${boot} \${address_image} \${address_initrd}:\${filesize} + + __EOF__ + ;; + beagle_cx) cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__ deviceargs=setenv device_args mpurate=\${mpurate} buddy=\${buddy} buddy2=\${buddy2} musb_hdrc.fifo_mode=5 loaduimage=run xyz_mmcboot; run deviceargs; run mmcargs; \${boot} \${address_image} \${address_initrd} @@ -1528,6 +1542,7 @@ function check_uboot_type { BOOTLOADER="BEAGLEBOARD_BX" SERIAL="ttyO2" is_omap + USE_ZIMAGE=1 echo "-----------------------------" echo "Warning: Support for the Original BeagleBoard Ax/Bx is broken.. (board locks up during hardware detect)" echo "Please use the Demo Images Instead"