DESCRIPTION = "Various uboot scripts"
-PR = "r2"
+PR = "r3"
DEPENDS = "u-boot-mkimage-native"
--- /dev/null
+setenv bootargs 'console=tty0 console=ttyS2,115200n8 mpurate=1000 nohz=off vram=16M omapfb.mode=dvi:1280x1024MR-24@60 omapdss.def_disp=dvi omapfb.vram=0:8M,1:4M,2:4M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait mem=99M@0x80000000 mem=384M@0x88000000'
+fatload mmc 0 0x82000000 uImage
+bootm 0x82000000
+EOF
--- /dev/null
+# 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
--- /dev/null
+#setenv bootargs 'console=tty0 console=ttyS2,115200n8 mpurate=1000 nohz=off vram=16M omapfb.mode=dvi:640x480MR-16@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@0x80000000 mem=384M@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