diff --git a/mk_mmc.sh b/mk_mmc.sh index 48e2e78..0835d8b 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -406,7 +406,102 @@ 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 <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 <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} + +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 <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 <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} + +loaduimage=printenv; run mmc_load_uimage; run mmc_load_uinitrd; echo Booting from mmc ...; run mmcargs; bootm \${address_uimage} \${address_uinitrd} +uenv_normalboot_cmd + ;; bone) cat > ${TEMPDIR}/bootscripts/netinstall.cmd <