From 1c89f20a2e6370d9967cedc7673cb9cd47c970a7 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 23 Nov 2011 12:19:48 -0600 Subject: [PATCH] uenv: add options for beagle and beagle_bx Signed-off-by: Robert Nelson --- mk_mmc.sh | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 97 insertions(+), 2 deletions(-) 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 <