aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Monk <r-monk@ti.com>2010-05-27 17:26:40 +0100
committerKoen Kooi <koen@openembedded.org>2010-05-28 09:21:13 +0200
commitb4aa462e12b2c2920fc364581186b6c5b48424bd (patch)
tree709dc07c4fdaf79bc52d799596c4388e48b21287
parent88d514d4b61c65dd81420a98074f2f5fec3ac168 (diff)
downloadopenembedded-b4aa462e12b2c2920fc364581186b6c5b48424bd.zip
openembedded-b4aa462e12b2c2920fc364581186b6c5b48424bd.tar.gz
openembedded-b4aa462e12b2c2920fc364581186b6c5b48424bd.tar.bz2
angstrom-uboot-scripts: Add linuxtag demo with picodlp config
Signed-off-by: Roger Monk <r-monk@ti.com> Signed-off-by: Koen Kooi <k-kooi@ti.com>
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts.bb2
-rwxr-xr-xrecipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd39
2 files changed, 40 insertions, 1 deletions
diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb b/recipes/angstrom/angstrom-uboot-scripts.bb
index 67245a0..2af6a74 100644
--- a/recipes/angstrom/angstrom-uboot-scripts.bb
+++ b/recipes/angstrom/angstrom-uboot-scripts.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Various uboot scripts"
-PR = "r1"
+PR = "r2"
DEPENDS = "u-boot-mkimage-native"
diff --git a/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd b/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd
new file mode 100755
index 0000000..32307ff
--- /dev/null
+++ b/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd
@@ -0,0 +1,39 @@
+#setenv usbtty 'cdc_acm'
+#setenv mpurate '500'
+#setenv buddy 'none'
+
+#setenv vram '12M'
+#setenv defaultdisplay 'dvi'
+#setenv dvimode '640x480MR-16@60'
+
+setenv setbase 'setenv baseargs ${memmap} console=${console} mpurate=${mpurate} buddy=${buddy} vram=${vram} musb_hdrc.fifomode=${musbfifomode} omapfb.mode=${defaultdisplay}:${dvimode} omapdss.def_disp=${defaultdisplay}'
+
+setenv nandroot 'root=/dev/mtdblock4 rw rootfstype=jffs2'
+setenv nandargs 'run setbase; setenv bootargs ${baseargs} ${nandroot}'
+setenv nandloaduimage 'nand read ${loadaddr} 280000 400000'
+setenv nandboot 'run nandloadimage; bootm ${loadaddr}'
+
+setenv mmcroot 'root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait'
+setenv mmcargs 'run setbase; setenv bootargs ${baseargs} ${mmcroot}'
+setenv mmcloaduimage 'fatload mmc 0 ${loadaddr} uImage'
+setenv mmcboot 'run mmcloaduimage; bootm ${loadaddr}'
+
+echo Setting Specific Environment from MMC boot.scr
+
+# set musb to only use 8k for fifo memory - not necesary on xm, but safe anyway
+setenv musbfifomode '5'
+
+# mpurate is read from omap registers on omap3530 (which x-load has set to 600mhz?), on xm, uboot sets this to 1GHz
+#setenv mpurate '720'
+setenv memmap 'mem=80M mem=128M@0x88000000'
+setenv vram '16M omapfb.vram=0:8M,1:4M,2:4M'
+setenv defaultdisplay 'dvi'
+
+setenv dvimode '640x480MR-32@60'
+#setenv dvimode 'hd720'
+#setenv dvimode '1280x720MR-32@60'
+
+run mmcargs
+printenv
+run mmcboot
+