Skip to contentSkip to conversation

angstrom-uboot-scripts: debugged beagleboard validation boot/user scripts

PATCH In review Jason Kridner 2 participants 2 messages Aug 9, 2010 – Aug 10, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 angstrom-uboot-scripts: debugged beagleboard validation boot/user scripts

---
 recipes/angstrom/angstrom-uboot-scripts.bb         |    2 +-
 .../beagleboard-validation-boot.cmd                |   15 +++++++--------
 .../beagleboard-validation-user.cmd                |   15 +++++++--------
 3 files changed, 15 insertions(+), 17 deletions(-)
recipes/angstrom/angstrom-uboot-scripts.bb +1 -1
index 2152f5d..a478cb2 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Various uboot scripts"
 
-PR = "r8"
+PR = "r9"
 
 DEPENDS = "u-boot-mkimage-native"
 
recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd +7 -8
index 50a82a6..71d314c 100644
@@ -1,14 +1,13 @@
-setenv dvimode 'hd720'
-setenv vram '16M omapfb.vram=0:8M,1:4M,2:4M'
+# On xM: bootargs=console=ttyS2,115200n8 mem=80M@0x80000000 mem=384M@0x88000000 mpurate=1000 buddy=none camera=lbcm3m1 vram=16M omapfb.vram=0:8M,1:4M,2:4M omapfb.mode=dvi:hd720 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
+mmc init
+setenv dvimode hd720
+setenv vram 16M omapfb.vram=0:8M,1:4M,2:4M
 if test "${beaglerev}" = "AxBx"; then
-setenv mpurate 600
-setenv optargs 'mem=80M@0x80000000 musb_hdrc.fifomode=5'
+setenv optargs mem=80M@0x80000000 musb_hdrc.fifomode=5
 elif test "${beaglerev}" = "Cx"; then
-setenv mpurate 720
-setenv optargs 'mem=80M@0x80000000 mem=128M@0x88000000 musb_hdrc.fifomode=5'
+setenv optargs mem=80M@0x80000000 mem=128M@0x88000000 musb_hdrc.fifomode=5
 else
-setenv mpurate 1000
-setenv optargs 'mem=80M@0x80000000 mem=384M@0x88000000'
+setenv optargs mem=80M@0x80000000 mem=384M@0x88000000
 fi
 run loaduimage
 run mmcboot
recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd +7 -8
index 6488db4..7dbf69b 100644
@@ -1,15 +1,14 @@
-setenv console 'ttyS2,115200n8 console=tty0'
+mmc init
+setenv rdaddr 0x81000000
+setenv ramroot /dev/ram0
 if test "${beaglerev}" = "AxBx"; then
-setenv mpurate 600
-setenv optargs 'mem=80M@0x80000000 musb_hdrc.fifomode=5'
+setenv optargs mem=80M@0x80000000 musb_hdrc.fifomode=5
 elif test "${beaglerev}" = "Cx"; then
-setenv mpurate 720
-setenv optargs 'mem=80M@0x80000000 mem=128M@0x88000000 musb_hdrc.fifomode=5'
+setenv optargs mem=80M@0x80000000 mem=128M@0x88000000 musb_hdrc.fifomode=5
 else
-setenv mpurate 1000
-setenv optargs 'mem=99M@0x80000000 mem=384M@0x88000000'
+setenv optargs mem=80M@0x80000000 mem=384M@0x88000000
 fi
-run loaduimage
 run loadramdisk
+run loaduimage
 run ramboot
 
Signature · 1 line
1.5.6.4
#1 lore raw

Am Montag, den 09.08.2010, 13:52 -0500 schrieb Jason Kridner:

Quoted 1 line

[…]

I know this has already been committed in
9eab7a12e4a94efbb53e5e43beeb67d15ae9eab5 [1].

But I do not like the commit summary. Is this script developed in a repository somewhere else? Maybe put a link to the revision there.

Quoted 5 lines
---
 recipes/angstrom/angstrom-uboot-scripts.bb         |    2 +-
 .../beagleboard-validation-boot.cmd                |   15 +++++++--------
 .../beagleboard-validation-user.cmd                |   15 +++++++--------
 3 files changed, 15 insertions(+), 17 deletions(-)

[…]

recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd line 4

Quoted 11 lines
recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd +4 -2
index 50a82a6..71d314c 100644
@@ -1,14 +1,13 @@
-setenv dvimode 'hd720'
-setenv vram '16M omapfb.vram=0:8M,1:4M,2:4M'
+# On xM: bootargs=console=ttyS2,115200n8 mem=80M@0x80000000 mem=384M@0x88000000 mpurate=1000 buddy=none camera=lbcm3m1 vram=16M omapfb.vram=0:8M,1:4M,2:4M omapfb.mode=dvi:hd720 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
+mmc init
+setenv dvimode hd720
+setenv vram 16M omapfb.vram=0:8M,1:4M,2:4M

Also a note would have been nice, why the »'« were removed.

[…]

Thanks,

Paul

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=9eab7a12e4a94efbb53e5e43beeb67d15ae9eab5