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 | |
parent | f9f6c12d70b42ce6ec3461ea993ff52d10bfbc00 (diff) |
angstrom-uboot-scripts: add more samples
5 files changed, 35 insertions, 0 deletions
diff --git a/recipes/angstrom/angstrom-uboot-scripts/720p.cmd b/recipes/angstrom/angstrom-uboot-scripts/720p.cmd new file mode 100644 index 0000000000..d1c40b7736 --- /dev/null +++ b/recipes/angstrom/angstrom-uboot-scripts/720p.cmd @@ -0,0 +1,4 @@ +setenv vram '16M' +setenv dvimode 'hd720 omapfb.vram=0:8M,1:4M,2:4M' +run loaduimage +run mmcboot diff --git a/recipes/angstrom/angstrom-uboot-scripts/720p16-dsplink.cmd b/recipes/angstrom/angstrom-uboot-scripts/720p16-dsplink.cmd new file mode 100644 index 0000000000..21c1902dc6 --- /dev/null +++ b/recipes/angstrom/angstrom-uboot-scripts/720p16-dsplink.cmd @@ -0,0 +1,4 @@ +setenv vram '16M' +setenv dvimode 'hd720-16 mem=99M@0x80000000 mem=128M@0x88000000 omapfb.vram=0:8M,1:4M,2:4M' +run loaduimage +run mmcboot diff --git a/recipes/angstrom/angstrom-uboot-scripts/720p16bpp.cmd b/recipes/angstrom/angstrom-uboot-scripts/720p16bpp.cmd new file mode 100644 index 0000000000..33f678c8a9 --- /dev/null +++ b/recipes/angstrom/angstrom-uboot-scripts/720p16bpp.cmd @@ -0,0 +1,4 @@ +setenv vram '16M' +setenv dvimode 'hd720-16 omapfb.vram=0:8M,1:4M,2:4M' +run loaduimage +run mmcboot 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 diff --git a/recipes/angstrom/angstrom-uboot-scripts/touchbook-512MB.cmd b/recipes/angstrom/angstrom-uboot-scripts/touchbook-512MB.cmd new file mode 100644 index 0000000000..9751e8153e --- /dev/null +++ b/recipes/angstrom/angstrom-uboot-scripts/touchbook-512MB.cmd @@ -0,0 +1,4 @@ +mmcinit +fatload mmc 0 0x82000000 uImage +setenv bootargs 'console=tty1 omapfb.mode=dvi:1024x600MR-24@60 root=/dev/mmcblk0p2 rootwait rootfstype=ext3 mem=99M@0x80000000 mem=384M@0x88000000 vram=32M omapfb.vram=0:16M,1:8M,2:8M' +bootm |