From patchwork Fri Oct 10 12:02:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 38573 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9E946202DB for ; Fri, 10 Oct 2014 12:03:51 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id ge10sf2060984lab.1 for ; Fri, 10 Oct 2014 05:03:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=HcgjCoCeHcw6bfAYDNgLS7P4yp0Dv2Nl9nu3Te1HG3A=; b=mv1dqHuF6ew02b71yczQ2+N2ZVlRkwyDrUOUBJOmW26KYXC7lmTVjx8xWNcEqlFUBq Rb4Fo6ByEBKQtWxvDOak0reDz+6+2Hz8+GOdzCfWr28wrvQPyZxr/qWIQkLKpYIWF5p0 hNoRrYYsI1ZUpOLZeWAWaFvHkhqLvUQ4l0YkH6apXjL1ZCZz+0Vg/PbG99fQbL35Oe4k QnkFOJxBXVauWpBAqP1LhtaK4/jeIyUOXZyWSkG9y3VqmnFeuO9hdZQ9pEm0gvZqlP/X 7KG8R0aHfpot2rWc7sC0Jldf+9Vj+/6I3NVVfwVlhVVa5zu0eqA6eNaKweETNzkTLfG+ 7how== X-Gm-Message-State: ALoCoQn9HJlMjokpU5KnNMlSzUme/0n2kXrZNjwUavvDexvztKpINRUKJiYTaclkgyiQhGV/jerT X-Received: by 10.194.92.13 with SMTP id ci13mr584236wjb.5.1412942630427; Fri, 10 Oct 2014 05:03:50 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.207.107 with SMTP id lv11ls264076lac.14.gmail; Fri, 10 Oct 2014 05:03:50 -0700 (PDT) X-Received: by 10.152.22.200 with SMTP id g8mr4396585laf.1.1412942630236; Fri, 10 Oct 2014 05:03:50 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) by mx.google.com with ESMTPS id um10si8800787lbb.117.2014.10.10.05.03.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 10 Oct 2014 05:03:48 -0700 (PDT) Received-SPF: temperror (google.com: error in processing during lookup of patch+caf_=patchwork-forward=linaro.org@linaro.org: DNS timeout) client-ip=209.85.217.175; Received: by mail-lb0-f175.google.com with SMTP id u10so2896301lbd.6 for ; Fri, 10 Oct 2014 05:03:48 -0700 (PDT) X-Received: by 10.112.138.202 with SMTP id qs10mr4205038lbb.66.1412942628112; Fri, 10 Oct 2014 05:03:48 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp414347lbz; Fri, 10 Oct 2014 05:03:45 -0700 (PDT) X-Received: by 10.224.120.138 with SMTP id d10mr8515848qar.8.1412942624621; Fri, 10 Oct 2014 05:03:44 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id s7si10693379qak.65.2014.10.10.05.03.44 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 10 Oct 2014 05:03:44 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XcYuL-0002QE-Ft; Fri, 10 Oct 2014 12:02:53 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XcYuJ-0002Or-V0 for xen-devel@lists.xen.org; Fri, 10 Oct 2014 12:02:52 +0000 Received: from [85.158.143.35:62393] by server-1.bemta-4.messagelabs.com id C6/4D-05872-BEAC7345; Fri, 10 Oct 2014 12:02:51 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-3.tower-21.messagelabs.com!1412942558!11748672!6 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n X-StarScan-Received: X-StarScan-Version: 6.12.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 10752 invoked from network); 10 Oct 2014 12:02:50 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-3.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 10 Oct 2014 12:02:50 -0000 X-IronPort-AV: E=Sophos;i="5.04,691,1406592000"; d="scan'208";a="181281247" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.3.181.6; Fri, 10 Oct 2014 08:02:49 -0400 Received: from kazak.uk.xensource.com ([10.80.2.80] helo=zakaz.uk.xensource.com) by ukmail1.uk.xensource.com with smtp (Exim 4.69) (envelope-from ) id 1XcYuG-0008U0-Dv; Fri, 10 Oct 2014 13:02:49 +0100 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Fri, 10 Oct 2014 13:02:48 +0100 From: Ian Campbell To: Date: Fri, 10 Oct 2014 13:02:29 +0100 Message-ID: <1412942554-752-14-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1412942404.27111.12.camel@citrix.com> References: <1412942404.27111.12.camel@citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH RFC OSSTEST 14/19] Osstest/Debian: Support for loading an FDT from u-boot script X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.com X-Original-Authentication-Results: mx.google.com; spf=temperror (google.com: error in processing during lookup of patch+caf_=patchwork-forward=linaro.org@linaro.org: DNS timeout) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: The currently supported platform provides an FDT preloaded at 0x1000. Replace this with ${fdt_addr} (which the current platform exposes) and for platforms which do not provide an fdt arrange to load the relevant file as named in the ${fdtfile} (which is conventionally provided by u-boot for platforms which need this). Drop some random memory clearing rune, I've no idea what the intended purpose was, 0x800000 doesn't correspond to any $foo_addr_r on the midway systems for example. Also get rid of the scsi scan which must necessarily have already happened (since the boot.scr itselfs lives on a scsi drive). Signed-off-by: Ian Campbell --- Osstest/Debian.pm | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 9171c72..19d6a22 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -141,9 +141,11 @@ cp -n /boot/boot.scr /boot/boot.scr.bak xen=`readlink /boot/$xen` cat >/boot/boot <\$r/boot/boot <