From patchwork Wed Oct 29 10:41:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 39754 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DC82324073 for ; Wed, 29 Oct 2014 10:42:56 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id d17sf1752087eek.11 for ; Wed, 29 Oct 2014 03:42:55 -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=nLctYCfayzLExiqti1C30r4ZHEx1kouuXdBSyPbqqTI=; b=C7W6HdcS05ZSwV6HrY46YwiXFvXdpwlksiKXuksknesAJPRqgOK8s976dojiHOHxs+ 0Z8JSHxrHCX6DeTFVuStj/+ZDFKsYJLVgcmRdm18noLW9PpDNbP2OZQDj0ccewI7P8Rw dhUmjHERPNR9TF67lUyQBOL1hpvCd99t7apYIslDMFmmnViPScKxyEZRuUGKotUc8j75 h1Hfc7UOZqljfFDc4pgpbLVnt69JuflJUgY0u4yXz+eP7ts3mx3YMnFY+fa2IJEXGwne ZpP0UR4sNFEOak+Ewlz/gkyYd7BfPJO7+oE2wnp1fSDjIthgjsACFNFPkrNR9WTv4JNU Dccw== X-Gm-Message-State: ALoCoQkv+BlkEdeWoe3WTereFi/hSFpJ1OQrXAQC9tVlnmpUpH4sgmKdS6igDCAFlkVMRmy94hIP X-Received: by 10.152.21.170 with SMTP id w10mr170782lae.6.1414579375968; Wed, 29 Oct 2014 03:42:55 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.202.230 with SMTP id kl6ls190904lac.99.gmail; Wed, 29 Oct 2014 03:42:55 -0700 (PDT) X-Received: by 10.112.173.100 with SMTP id bj4mr10549496lbc.78.1414579375825; Wed, 29 Oct 2014 03:42:55 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id dk7si6628779lad.51.2014.10.29.03.42.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 03:42:55 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by mail-lb0-f177.google.com with SMTP id 10so2209344lbg.36 for ; Wed, 29 Oct 2014 03:42:55 -0700 (PDT) X-Received: by 10.152.120.199 with SMTP id le7mr10220400lab.67.1414579375749; Wed, 29 Oct 2014 03:42:55 -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 c5csp633480lbz; Wed, 29 Oct 2014 03:42:55 -0700 (PDT) X-Received: by 10.52.127.130 with SMTP id ng2mr5679339vdb.29.1414579371626; Wed, 29 Oct 2014 03:42:51 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id up6si2238783vcb.103.2014.10.29.03.42.51 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 Oct 2014 03:42:51 -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 1XjQha-0002ez-NG; Wed, 29 Oct 2014 10:42:06 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XjQhX-0002Wg-3t for xen-devel@lists.xen.org; Wed, 29 Oct 2014 10:42:03 +0000 Received: from [85.158.143.35] by server-1.bemta-4.messagelabs.com id DF/05-02952-A74C0545; Wed, 29 Oct 2014 10:42:02 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-9.tower-21.messagelabs.com!1414579313!13416260!5 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 29567 invoked from network); 29 Oct 2014 10:42:01 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-9.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 29 Oct 2014 10:42:01 -0000 X-IronPort-AV: E=Sophos;i="5.04,809,1406592000"; d="scan'208";a="187318420" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.3.181.6; Wed, 29 Oct 2014 06:42:01 -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 1XjQhT-000152-Pt; Wed, 29 Oct 2014 10:42:00 +0000 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Wed, 29 Oct 2014 10:41:59 +0000 From: Ian Campbell To: Date: Wed, 29 Oct 2014 10:41:39 +0000 Message-ID: <1414579302-6692-17-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1414579268.29975.13.camel@citrix.com> References: <1414579268.29975.13.camel@citrix.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH OSSTEST v2 17/20] Osstest/Debian: Remove hardcoded midway specific addresses from boot.scr 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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) 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: This depends on a change to the hostdb to add "setenv xen_addr_r 0x01000000" to the UBootScriptEarlyCommands property of the midway machines. Most platforms will need something similar. For both cubietruck and arndale "setenv xen_addr_r 0x41000000" is appropriate. This is going to be a pretty common requirement on ARM/uboot systems, should I make it a specific property instead of reusing the generic hook? Signed-off-by: Ian Campbell --- v2: s/go along with/depends on/ --- Osstest/Debian.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 8a4ad02..0e808a0 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -162,10 +162,6 @@ ${early_commands} fdt set /chosen \\\#address-cells <1> fdt set /chosen \\\#size-cells <1> -setenv xen_addr_r 0x01000000 -# kernel_addr_r=0x02000000 -# ramdisk_addr_r=0x04000000 - ext2load scsi 0 \\\${xen_addr_r} \$xen setenv bootargs "$xenhopt" echo Loaded \$xen to \\\${xen_addr_r} (\\\${filesize})