[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 65: This is needed to work around a uboot problem in recent versions.

Message ID 20110623132415.26750.34914.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Paul Larson June 23, 2011, 1:24 p.m.
------------------------------------------------------------
revno: 65
committer: Paul Larson <paul.larson@canonical.com>
branch nick: mmc-part-0
timestamp: Mon 2011-06-20 15:43:21 -0500
message:
  This is needed to work around a uboot problem in recent versions.
  Should be benign otherwise.
modified:
  lava/dispatcher/android_config.py
  lava/dispatcher/config.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription

Patch

=== modified file 'lava/dispatcher/android_config.py'
--- lava/dispatcher/android_config.py	2011-06-02 20:13:08 +0000
+++ lava/dispatcher/android_config.py	2011-06-20 20:43:21 +0000
@@ -2,6 +2,7 @@ 
 
 class BeagleBoard(Board):
     uboot_cmds = ["mmc init",
+        "mmc part 0",
         "setenv bootcmd 'fatload mmc 0:3 0x80000000 uImage;"
         "fatload mmc 0:3 0x81600000 uInitrd;"
         "bootm 0x80000000 0x81600000'",
@@ -16,6 +17,7 @@ 
 
 class PandaBoard(Board):
     uboot_cmds = ["mmc init",
+        "mmc part 0",
         "setenv bootcmd 'fatload mmc 0:3 0x80200000 uImage;"
         "fatload mmc 0:3 0x81600000 uInitrd;"
         "bootm 0x80200000 0x81600000'",

=== modified file 'lava/dispatcher/config.py'
--- lava/dispatcher/config.py	2011-06-10 17:00:37 +0000
+++ lava/dispatcher/config.py	2011-06-20 20:43:21 +0000
@@ -15,6 +15,7 @@ 
 
 class BeagleBoard(Board):
     uboot_cmds = ["mmc init",
+        "mmc part 0",
         "setenv bootcmd 'fatload mmc 0:3 0x80000000 uImage; fatload mmc "
         "0:3 0x81600000 uInitrd; bootm 0x80000000 0x81600000'",
         "setenv bootargs ' console=tty0 console=ttyO2,115200n8 "
@@ -25,6 +26,7 @@ 
 
 class PandaBoard(Board):
     uboot_cmds = ["mmc init",
+        "mmc part 0",
         "setenv bootcmd 'fatload mmc 0:3 0x80200000 uImage; fatload mmc "
         "0:3 0x81600000 uInitrd; bootm 0x80200000 0x81600000'",
         "setenv bootargs ' console=tty0 console=ttyO2,115200n8 "
@@ -37,6 +39,7 @@ 
     boot_part = 2
     root_part = 3
     uboot_cmds = ["mmc init",
+        "mmc part 0",
         "setenv bootcmd 'fatload mmc 0:5 0x90000000 uImage; fatload mmc 0:5 "
         "0x92000000 uInitrd; fatload mmc 0:5 0x91ff0000 board.dtb; bootm "
         "0x90000000 0x92000000 0x91ff0000'",
@@ -49,6 +52,7 @@ 
     boot_part = 2
     root_part = 3
     uboot_cmds = ["mmc init",
+        "mmc part 0",
         "setenv bootcmd 'fatload mmc 0:5 0x70800000 uImage; fatload mmc "
         "0:5 0x71800000 uInitrd; bootm 0x70800000 0x71800000'",
         "setenv bootargs ' console=tty0 console=ttymxc0,115200n8 "