diff options
author | Koen Kooi <koen@openembedded.org> | 2010-02-08 15:49:13 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-02-11 16:00:12 +0100 |
commit | 70cc0a8777691de55a92f8a5bc1216a269ed9d0e (patch) | |
tree | 75c88e31d275117a4c3e106e4bd30789c088c78a /recipes/angstrom/angstrom-uboot-scripts/default-env.cmd | |
parent | f9f6c12d70b42ce6ec3461ea993ff52d10bfbc00 (diff) |
angstrom-uboot-scripts: add more samples
Diffstat (limited to 'recipes/angstrom/angstrom-uboot-scripts/default-env.cmd')
-rw-r--r-- | recipes/angstrom/angstrom-uboot-scripts/default-env.cmd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/angstrom/angstrom-uboot-scripts/default-env.cmd b/recipes/angstrom/angstrom-uboot-scripts/default-env.cmd new file mode 100644 index 0000000000..e9a06c6a46 --- /dev/null +++ b/recipes/angstrom/angstrom-uboot-scripts/default-env.cmd @@ -0,0 +1,19 @@ +setenv bootdelay 1 +setenv loadaddr 0x82000000 +setenv dvimode 'hd720' +setenv vram '12M' +setenv mem 'mem=99M@0x80000000 mem=128M@0x88000000' +setenv defaultdisplay 'dvi' +setenv loadbootscript 'fatload mmc 0 ${loadaddr} boot.scr' +setenv bootscript 'echo Running bootscript from mmc ...; source ${loadaddr}' +setenv loaduimage 'fatload mmc 0 ${loadaddr} uImage' +setenv mmcroot '/dev/mmcblk0p2 rw' +setenv mmcrootfstype 'ext3 rootwait +setenv mmcargs 'setenv bootargs console=${console} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype} ${mem}' +setenv mmcboot 'echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}' +setenv nandroot '/dev/mtdblock4 rw' +setenv nandargs 'setenv bootargs console=${console} vram=${vram} omapfb.mode=dvi:${dvimode} omapfb.debug=y omapdss.def_disp=${defaultdisplay} root=${nandroot} rootfstype=${nandrootfstype}' +setenv nandboot 'echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000 400000; bootm ${loadaddr}' +setenv bootcmd 'if mmc init; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run nandboot; fi; fi; else run nandboot; if' +saveenv +boot |