[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 63: Add support for dtb and fix addresses for mx51

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

Commit Message

Paul Larson June 10, 2011, 5:57 p.m.
------------------------------------------------------------
revno: 63
committer: Paul Larson <paul.larson@canonical.com>
branch nick: lava-dispatcher
timestamp: Fri 2011-06-10 12:00:37 -0500
message:
  Add support for dtb and fix addresses for mx51
modified:
  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/config.py'
--- lava/dispatcher/config.py	2011-06-02 21:11:09 +0000
+++ lava/dispatcher/config.py	2011-06-10 17:00:37 +0000
@@ -37,8 +37,9 @@ 
     boot_part = 2
     root_part = 3
     uboot_cmds = ["mmc init",
-        "setenv bootcmd 'fatload mmc 0:5 0x90800000 uImage; fatload mmc "
-        "0:5 0x90800000 uInitrd; bootm 0x90000000 0x90800000'",
+        "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'",
         "setenv bootargs ' console=tty0 console=ttymxc0,115200n8 "
         "root=LABEL=testrootfs rootwait ro'",
         "boot"]
@@ -55,13 +56,13 @@ 
         "boot"]
     type = "mx53loco"
 
-#Here, it still needs to maintain a map from boardid to board, for there is only
-#boardid in jobfile.json
+#Here, it still needs to maintain a map from boardid to board, for there is
+#only boardid in jobfile.json
 BOARDS = {
         "panda01": PandaBoard,
         "panda02": PandaBoard,
         "beaglexm01": BeagleBoard,
-        "bbg01": Mx51evkBoard,
+        "mx51evk01": Mx51evkBoard,
         "mx53loco01": Mx53locoBoard,
         }