summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkridner@beagleboard.org <jkridner@beagleboard.org>2010-08-05 09:08:34 +0000
committerKoen Kooi <koen@openembedded.org>2010-08-05 21:31:24 +0200
commitb953e675336abd01c0034e2f09a5828678031455 (patch)
tree7691774552e73f3eb646e45b26fcf7c02528926e
parentf2636a6278709f20f0d6be82373b309023b36f30 (diff)
angstrom-uboot-scripts: fixed tests for revision
Tests in u-boot scripts require the 'test' function. Signed-off-by: Jason Kridner <jkridner@beagleboard.org> Signed-off-by: Koen Kooi <koen@openembedded.org>
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts.bb2
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd4
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd6
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb b/recipes/angstrom/angstrom-uboot-scripts.bb
index 1be681ad19..2152f5df5f 100644
--- a/recipes/angstrom/angstrom-uboot-scripts.bb
+++ b/recipes/angstrom/angstrom-uboot-scripts.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Various uboot scripts"
-PR = "r7"
+PR = "r8"
DEPENDS = "u-boot-mkimage-native"
diff --git a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
index 1d0f223a08..50a82a6c2e 100644
--- a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
@@ -1,9 +1,9 @@
setenv dvimode 'hd720'
setenv vram '16M omapfb.vram=0:8M,1:4M,2:4M'
-if "${beaglerev}" = "AxBx"; then
+if test "${beaglerev}" = "AxBx"; then
setenv mpurate 600
setenv optargs 'mem=80M@0x80000000 musb_hdrc.fifomode=5'
-elif "${beaglerev}" = "Cx"; then
+elif test "${beaglerev}" = "Cx"; then
setenv mpurate 720
setenv optargs 'mem=80M@0x80000000 mem=128M@0x88000000 musb_hdrc.fifomode=5'
else
diff --git a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
index 0c32ae13f8..6488db40db 100644
--- a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
@@ -1,8 +1,8 @@
-setenv console 'tty0 console=ttyS2,115200n8'
-if "${beaglerev}" = "AxBx"; then
+setenv console 'ttyS2,115200n8 console=tty0'
+if test "${beaglerev}" = "AxBx"; then
setenv mpurate 600
setenv optargs 'mem=80M@0x80000000 musb_hdrc.fifomode=5'
-elif "${beaglerev}" = "Cx"; then
+elif test "${beaglerev}" = "Cx"; then
setenv mpurate 720
setenv optargs 'mem=80M@0x80000000 mem=128M@0x88000000 musb_hdrc.fifomode=5'
else