diff --git a/mk_mmc.sh b/mk_mmc.sh index 43172eb..ae20cf7 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -407,10 +407,7 @@ uenv_boot_cmd function boot_uenv_txt_template { #(rcn-ee)in a way these are better then boot.scr, but each target is going to have a slightly different entry point.. -case "$SYSTEM" in - beagle_bx) - -cat > ${TEMPDIR}/bootscripts/netinstall.cmd < ${TEMPDIR}/bootscripts/netinstall.cmd <defaultdisplay -mmcargs=setenv bootargs console=\${console} mpurate=\${mpurate} buddy=\${buddy} buddy2=\${buddy2} camera=\${camera} VIDEO_RAM omapfb.mode=\${defaultdisplay}:\${dvimode} omapdss.def_disp=\${defaultdisplay} root=\${mmcroot} -loaduimage=printenv; run mmc_load_uimage; run mmc_load_uinitrd; echo Booting from mmc ...; run mmcargs; bootm \${address_uimage} \${address_uinitrd} -uenv_netinstall_cmd - -cat > ${TEMPDIR}/bootscripts/normal.cmd < ${TEMPDIR}/bootscripts/normal.cmd <> ${TEMPDIR}/bootscripts/netinstall.cmd <defaultdisplay -mmcargs=setenv bootargs console=\${console} \${optargs} mpurate=\${mpurate} buddy=\${buddy} buddy2=\${buddy2} camera=\${camera} VIDEO_RAM omapfb.mode=\${defaultdisplay}:\${dvimode} omapdss.def_disp=\${defaultdisplay} root=\${mmcroot} rootfstype=\${mmcrootfstype} +mmcargs=setenv bootargs console=\${console} mpurate=\${mpurate} buddy=\${buddy} buddy2=\${buddy2} camera=\${camera} VIDEO_RAM omapfb.mode=\${defaultdisplay}:\${dvimode} omapdss.def_disp=\${defaultdisplay} root=\${mmcroot} loaduimage=printenv; run mmc_load_uimage; run mmc_load_uinitrd; echo Booting from mmc ...; run mmcargs; bootm \${address_uimage} \${address_uinitrd} -uenv_normalboot_cmd - ;; - beagle) +uenv_netinstall_cmd -cat > ${TEMPDIR}/bootscripts/netinstall.cmd <> ${TEMPDIR}/bootscripts/normal.cmd <defaultdisplay +mmcargs=setenv bootargs console=\${console} \${optargs} mpurate=\${mpurate} buddy=\${buddy} buddy2=\${buddy2} camera=\${camera} VIDEO_RAM omapfb.mode=\${defaultdisplay}:\${dvimode} omapdss.def_disp=\${defaultdisplay} root=\${mmcroot} rootfstype=\${mmcrootfstype} -mmcroot=/dev/ram0 rw +loaduimage=printenv; run mmc_load_uimage; run mmc_load_uinitrd; echo Booting from mmc ...; run mmcargs; bootm \${address_uimage} \${address_uinitrd} +uenv_normalboot_cmd + ;; + beagle) +cat >> ${TEMPDIR}/bootscripts/netinstall.cmd < ${TEMPDIR}/bootscripts/normal.cmd <> ${TEMPDIR}/bootscripts/normal.cmd < ${TEMPDIR}/bootscripts/netinstall.cmd <> ${TEMPDIR}/bootscripts/netinstall.cmd < ${TEMPDIR}/bootscripts/normal.cmd <> ${TEMPDIR}/bootscripts/normal.cmd <