summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorjkridner@beagleboard.org <jkridner@beagleboard.org>2010-08-03 03:07:48 +0000
committerKoen Kooi <koen@openembedded.org>2010-08-03 15:43:58 +0200
commit6f9c2666d2b0e66057816f51988288b0af4f34ad (patch)
treed4f98c4828d0b94b175d8fc6d20b4d02e64e6cf0 /recipes
parentc8ed7ab95412e9d9c5c92357a07e4e01f951e31a (diff)
angstrom-uboot-scripts: added default boot scripts
Added default boot scripts for the BeagleBoard validation image. Signed-off-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd15
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd15
2 files changed, 30 insertions, 0 deletions
diff --git a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
new file mode 100644
index 0000000000..1d0f223a08
--- /dev/null
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
@@ -0,0 +1,15 @@
+setenv dvimode 'hd720'
+setenv vram '16M omapfb.vram=0:8M,1:4M,2:4M'
+if "${beaglerev}" = "AxBx"; then
+setenv mpurate 600
+setenv optargs 'mem=80M@0x80000000 musb_hdrc.fifomode=5'
+elif "${beaglerev}" = "Cx"; then
+setenv mpurate 720
+setenv optargs 'mem=80M@0x80000000 mem=128M@0x88000000 musb_hdrc.fifomode=5'
+else
+setenv mpurate 1000
+setenv optargs 'mem=80M@0x80000000 mem=384M@0x88000000'
+fi
+run loaduimage
+run mmcboot
+
diff --git a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
new file mode 100644
index 0000000000..0c32ae13f8
--- /dev/null
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
@@ -0,0 +1,15 @@
+setenv console 'tty0 console=ttyS2,115200n8'
+if "${beaglerev}" = "AxBx"; then
+setenv mpurate 600
+setenv optargs 'mem=80M@0x80000000 musb_hdrc.fifomode=5'
+elif "${beaglerev}" = "Cx"; then
+setenv mpurate 720
+setenv optargs 'mem=80M@0x80000000 mem=128M@0x88000000 musb_hdrc.fifomode=5'
+else
+setenv mpurate 1000
+setenv optargs 'mem=99M@0x80000000 mem=384M@0x88000000'
+fi
+run loaduimage
+run loadramdisk
+run ramboot
+