[oe-commits] Jason Kridner : angstrom-uboot-scripts: Added some new scripts

git version control git at git.openembedded.org
Sun Jun 6 08:03:34 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 47717776e10d509deea8c445127d2787b9df8556
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=47717776e10d509deea8c445127d2787b9df8556

Author: Jason Kridner <jkridner at beagleboard.org>
Date:   Sat Jun  5 14:25:55 2010 -0500

angstrom-uboot-scripts: Added some new scripts

esc-sxga.cmd: Simple 1280x1024 setup
mtest.cmd: Execute a memory test around the CS0/CS1 boundary
ramdisk.cmd: Boot a 32MB ramdisk.gz file system

---

 recipes/angstrom/angstrom-uboot-scripts.bb         |    2 +-
 .../angstrom/angstrom-uboot-scripts/esc-sxga.cmd   |    4 ++++
 recipes/angstrom/angstrom-uboot-scripts/mtest.cmd  |   12 ++++++++++++
 .../angstrom/angstrom-uboot-scripts/ramdisk.cmd    |    5 +++++
 4 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb b/recipes/angstrom/angstrom-uboot-scripts.bb
index 2af6a74..033a260 100644
--- a/recipes/angstrom/angstrom-uboot-scripts.bb
+++ b/recipes/angstrom/angstrom-uboot-scripts.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Various uboot scripts"
 
-PR = "r2"
+PR = "r3"
 
 DEPENDS = "u-boot-mkimage-native"
 
diff --git a/recipes/angstrom/angstrom-uboot-scripts/esc-sxga.cmd b/recipes/angstrom/angstrom-uboot-scripts/esc-sxga.cmd
new file mode 100644
index 0000000..7a50ad5
--- /dev/null
+++ b/recipes/angstrom/angstrom-uboot-scripts/esc-sxga.cmd
@@ -0,0 +1,4 @@
+setenv bootargs 'console=tty0 console=ttyS2,115200n8 mpurate=1000 nohz=off vram=16M omapfb.mode=dvi:1280x1024MR-24 at 60 omapdss.def_disp=dvi omapfb.vram=0:8M,1:4M,2:4M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait mem=99M at 0x80000000 mem=384M at 0x88000000'
+fatload mmc 0 0x82000000 uImage
+bootm 0x82000000
+EOF
diff --git a/recipes/angstrom/angstrom-uboot-scripts/mtest.cmd b/recipes/angstrom/angstrom-uboot-scripts/mtest.cmd
new file mode 100644
index 0000000..ee25ed7
--- /dev/null
+++ b/recipes/angstrom/angstrom-uboot-scripts/mtest.cmd
@@ -0,0 +1,12 @@
+# This tests the BeagleBoard-xM memory using 'mtest'
+#
+# While running, LED D7 (USR0) toggles within about 10 seconds
+# On fail, LED D6 (USR1) is on
+# On pass, LED D7 (USR0) stops toggling and LED D6 (USR1) is off
+#
+# Completion occurs then the u-boot call stack overflows
+setenv test_mem 'mtest 0x8fff0000 0x90010000 0 0x20'
+setenv test_on 'if run test_mem; then led 0 on; run test_off; else led 1 on; fi'
+setenv test_off 'if run test_mem; then led 0 off; run test_on; else led 1 on; fi'
+setenv test 'led all off; run test_on'
+run test
diff --git a/recipes/angstrom/angstrom-uboot-scripts/ramdisk.cmd b/recipes/angstrom/angstrom-uboot-scripts/ramdisk.cmd
new file mode 100644
index 0000000..68af249
--- /dev/null
+++ b/recipes/angstrom/angstrom-uboot-scripts/ramdisk.cmd
@@ -0,0 +1,5 @@
+#setenv bootargs 'console=tty0 console=ttyS2,115200n8 mpurate=1000 nohz=off vram=16M omapfb.mode=dvi:640x480MR-16 at 60 omapdss.def_disp=dvi omapfb.vram=0:8M,1:4M,2:4M root=/dev/ram0 rw rootfstype=ext2 initrd=0x81600000,32M ramdisk_size=32768 mem=99M at 0x80000000 mem=384M at 0x88000000'
+setenv bootargs 'console=tty0 console=ttyS2,115200n8 root=/dev/ram0 rw rootfstype=ext2 initrd=0x81600000,32M ramdisk_size=32768'
+fatload mmc 0 0x80200000 uImage
+fatload mmc 0 0x81600000 ramdisk.gz
+bootm 0x80200000





More information about the Openembedded-commits mailing list