From patchwork Thu Jul 21 17:01:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Larson X-Patchwork-Id: 3029 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 59E8923F52 for ; Thu, 21 Jul 2011 17:01:40 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 08266A180C9 for ; Thu, 21 Jul 2011 17:01:39 +0000 (UTC) Received: by qwb8 with SMTP id 8so1045406qwb.11 for ; Thu, 21 Jul 2011 10:01:39 -0700 (PDT) Received: by 10.229.217.3 with SMTP id hk3mr510779qcb.38.1311267699468; Thu, 21 Jul 2011 10:01:39 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.217.78 with SMTP id hl14cs145939qcb; Thu, 21 Jul 2011 10:01:38 -0700 (PDT) Received: by 10.227.127.135 with SMTP id g7mr407989wbs.96.1311267698086; Thu, 21 Jul 2011 10:01:38 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id d1si2856011wbh.132.2011.07.21.10.01.37; Thu, 21 Jul 2011 10:01:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Qjwcy-0002Ai-Cz for ; Thu, 21 Jul 2011 17:01:36 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id C1A052EA05D for ; Thu, 21 Jul 2011 17:01:31 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dispatcher X-Launchpad-Branch: ~linaro-validation/lava-dispatcher/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 79 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 79: Add trial support for snowball boards Message-Id: <20110721170131.16844.38813.launchpad@loganberry.canonical.com> Date: Thu, 21 Jul 2011 17:01:31 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13475"; Instance="initZopeless config overlay" X-Launchpad-Hash: 652c9538f4baf2ca9e6b91eab72418bd8ad113fe ------------------------------------------------------------ revno: 79 committer: Paul Larson branch nick: lava-dispatcher timestamp: Thu 2011-07-21 11:47:16 -0500 message: Add trial support for snowball boards modified: lava_dispatcher/android_config.py lava_dispatcher/client.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 === modified file 'lava_dispatcher/android_config.py' --- lava_dispatcher/android_config.py 2011-06-29 10:22:40 +0000 +++ lava_dispatcher/android_config.py 2011-07-21 16:47:16 +0000 @@ -54,6 +54,9 @@ #boardid in jobfile.json BOARDS = { "beagle01": BeagleBoard, + "beagle02": BeagleBoard, + "beagle03": BeagleBoard, + "beagle04": BeagleBoard, "panda01": PandaBoard, "panda02": PandaBoard, "panda03": PandaBoard, === modified file 'lava_dispatcher/client.py' --- lava_dispatcher/client.py 2011-07-20 05:27:33 +0000 +++ lava_dispatcher/client.py 2011-07-21 16:47:16 +0000 @@ -85,9 +85,11 @@ self.proc.sendline(uboot_cmds[0]) for line in range(1, len(uboot_cmds)): if self.board.type in ["mx51evk", "mx53loco"]: - self.proc.expect(">") + self.proc.expect(">", timeout=300) + elif self.board.type == "snowball_sd": + self.proc.expect("\$", timeout=300) else: - self.proc.expect("#") + self.proc.expect("#", timeout=300) self.proc.sendline(uboot_cmds[line]) self.in_test_shell() === modified file 'lava_dispatcher/config.py' --- lava_dispatcher/config.py 2011-06-29 10:22:40 +0000 +++ lava_dispatcher/config.py 2011-07-21 16:47:16 +0000 @@ -55,6 +55,19 @@ "boot"] type = "panda" +class Snowball(Board): + uboot_cmds = ["mmc init", + "mmc rescan 1", + "setenv bootcmd 'fat load mmc 1:3 0x00100000 /uImage;" + "bootm 0x00100000'", + "setenv bootargs 'console=tty0 console=ttyAMA2,115200n8 " + "root=LABEL=testrootfs rootwait ro earlyprintk rootdelay=1 " + "fixrtc nocompcache mem=96M@0 mem_modem=32M@96M mem=44M@128M " + "pmem=22M@172M mem=30M@194M mem_mali=32M@224M pmem_hwb=54M@256M " + "hwmem=48M@302M mem=152M@360M'", + "boot"] + type = "snowball_sd" + class Mx51evkBoard(Board): boot_part = 2 root_part = 3 @@ -88,8 +101,15 @@ "panda03": PandaBoard, "panda04": PandaBoard, "beaglexm01": BeagleBoard, + "beaglexm02": BeagleBoard, + "beaglexm03": BeagleBoard, + "beaglexm04": BeagleBoard, "mx51evk01": Mx51evkBoard, "mx53loco01": Mx53locoBoard, + "snowball01": Snowball, + "snowball02": Snowball, + "snowball03": Snowball, + "snowball04": Snowball, } #Main LAVA server IP in the boards farm