From patchwork Wed Oct 29 10:41:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 39755 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F272C24029 for ; Wed, 29 Oct 2014 10:42:57 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id k14sf1506180wgh.11 for ; Wed, 29 Oct 2014 03:42:57 -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=ToGez8yU++ifK+ng2HhpcDbwWn7woP2FW+lbz1T4LQc=; b=MC0/Gsc6KZH0ii0cnm3OhMdjgQPWJ4P6oWj6ZjQtexlNmZ/+myZe4ZwESltLGzexcJ X2K/aqjbL4Bjp+Eg39t4oTFNzZuV6vMpSwzrdCzSMmZ0hMty65QfjD/JMgGfskwaN2oG Q0HoWROxXz94q/+0D1opXhwlgLNHRdMJxBJbbiO+pOfdnxjFKD2QHiRmhfRDI598U/fP EugDwreKAR43CBMyiOz3FeYE4x6wXQGnscqCvQ8huHXe6xTNz3q3ki8B9O7/eW4yG1+r q6rHsx6oxgCF23DEI3BX+FY5s7m5BaCng73gZtsWEFfcUvd0BwBRDSi3gjHwhSj9kGHC 4ZVQ== X-Gm-Message-State: ALoCoQmnfxbKFlDbz/ZoN/HcCDLpVQZZdchi/EUHSH9vvd/YRcmKz7beFhYg1f6PzwfwY+GhV74W X-Received: by 10.112.147.131 with SMTP id tk3mr1652152lbb.2.1414579377168; Wed, 29 Oct 2014 03:42:57 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.227 with SMTP id e3ls182854laa.69.gmail; Wed, 29 Oct 2014 03:42:56 -0700 (PDT) X-Received: by 10.112.41.168 with SMTP id g8mr10201093lbl.59.1414579376864; Wed, 29 Oct 2014 03:42:56 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id pt7si6554592lbb.120.2014.10.29.03.42.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 03:42:56 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by mail-lb0-f179.google.com with SMTP id w7so2208758lbi.38 for ; Wed, 29 Oct 2014 03:42:56 -0700 (PDT) X-Received: by 10.152.116.102 with SMTP id jv6mr10491824lab.40.1414579376781; Wed, 29 Oct 2014 03:42:56 -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 c5csp633482lbz; Wed, 29 Oct 2014 03:42:56 -0700 (PDT) X-Received: by 10.221.28.137 with SMTP id ru9mr6725146vcb.19.1414579371817; 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 7si2253884vdl.76.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 1XjQhd-0002kb-2C; Wed, 29 Oct 2014 10:42:09 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XjQhZ-0002b3-C5 for xen-devel@lists.xen.org; Wed, 29 Oct 2014 10:42:05 +0000 Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id 35/AC-11509-C74C0545; Wed, 29 Oct 2014 10:42:04 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-5.tower-206.messagelabs.com!1414579318!12389610!3 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.12.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 1191 invoked from network); 29 Oct 2014 10:42:04 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-5.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 29 Oct 2014 10:42:04 -0000 X-IronPort-AV: E=Sophos;i="5.04,809,1406592000"; d="scan'208";a="186004782" 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:03 -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 1XjQhV-000158-Rv; Wed, 29 Oct 2014 10:42:02 +0000 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Wed, 29 Oct 2014 10:42:01 +0000 From: Ian Campbell To: Date: Wed, 29 Oct 2014 10:41:41 +0000 Message-ID: <1414579302-6692-19-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: MIA2 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH OSSTEST v2 19/20] Osstest/Debian: Add 0x prefix to $filesize 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.179 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: $filesize is an unprefixed hex number, but fdt set requires the 0x to interpret it properly. Signed-off-by: Ian Campbell --- v2: New patch, previously included in "Osstest/Debian: Workaround oddities in the u-boot script parser.". Note that the oddities with requiring a space before the ">" is no longer reproducible with the latest u-boot. --- Osstest/Debian.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index eb7464c..9d105b1 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -170,7 +170,7 @@ echo command line: \\\${bootargs} ext2load scsi 0 \\\${kernel_addr_r} $kern fdt mknod /chosen module\@0 fdt set /chosen/module\@0 compatible "xen,linux-zimage" "xen,multiboot-module" -fdt set /chosen/module\@0 reg <\\\${kernel_addr_r} \\\${filesize}> +fdt set /chosen/module\@0 reg <\\\${kernel_addr_r} 0x\\\${filesize}> fdt set /chosen/module\@0 bootargs "$xenkopt ro root=$root clk_ignore_unused" echo Loaded $kern to \\\${kernel_addr_r} (\\\${filesize}) echo command line: $xenkopt ro root=$root @@ -178,7 +178,7 @@ echo command line: $xenkopt ro root=$root ext2load scsi 0 \\\${ramdisk_addr_r} $initrd fdt mknod /chosen module\@1 fdt set /chosen/module\@1 compatible "xen,linux-initrd" "xen,multiboot-module" -fdt set /chosen/module\@1 reg <\\\${ramdisk_addr_r} \\\${filesize}> +fdt set /chosen/module\@1 reg <\\\${ramdisk_addr_r} 0x\\\${filesize}> echo Loaded $initrd to \\\${ramdisk_addr_r} (\\\${filesize}) fdt print /chosen