From patchwork Fri Oct 10 12:02:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 38571 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 20D02202DB for ; Fri, 10 Oct 2014 12:03:48 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id p9sf2031388lbv.0 for ; Fri, 10 Oct 2014 05:03:46 -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=v52jwadrRsawnLGRcSjmSzu993/bzvaQ4fG62kwlEp4=; b=Rrbv40IkjPjVGlVW4ZfVmmaCjYMzsLczoG+nMuRRzJOxyVtYajmJuqzBlBh3dTM+Wc IkIHDtyksEgVo6uu5jHauQkn/ls5ieRbKmBQbsTmaLrwN091RIqw2DAMZdIST4knqkpM znDIWl7h1AnENt0+ReleJCEDwCppB6seGl221lqQCe56lQW1OCsl+SmMCCPUO4v7srnU yXojr6TuMwcV9A0OHvImUaRySlLPY9UEa1lrBbwUH54oQe3S2yFxtKAQKvugTddk2UgF p5iHqGw60/p8YcZ8GyfG8LgJdSg3MnszHp3s7iy2HuYwqApMtTJ6ZgAcB37lMjAnqAXL 6ElQ== X-Gm-Message-State: ALoCoQlbEVhnZd1mHjzzhAm+MnOd2QyAzZxo9wseDhGTVfkBJLxw3mzaw4/EiLza8udVs4TGVgHt X-Received: by 10.112.14.101 with SMTP id o5mr10075lbc.23.1412942625985; Fri, 10 Oct 2014 05:03:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.194 with SMTP id a2ls280804lak.41.gmail; Fri, 10 Oct 2014 05:03:45 -0700 (PDT) X-Received: by 10.112.205.39 with SMTP id ld7mr4268961lbc.40.1412942625663; Fri, 10 Oct 2014 05:03:45 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by mx.google.com with ESMTPS id q5si8918074laq.60.2014.10.10.05.03.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 10 Oct 2014 05:03:43 -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.215.52; Received: by mail-la0-f52.google.com with SMTP id hz20so3045379lab.25 for ; Fri, 10 Oct 2014 05:03:43 -0700 (PDT) X-Received: by 10.152.7.145 with SMTP id j17mr4236766laa.67.1412942623397; Fri, 10 Oct 2014 05:03:43 -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 c5csp414338lbz; Fri, 10 Oct 2014 05:03:42 -0700 (PDT) X-Received: by 10.220.112.75 with SMTP id v11mr487238vcp.53.1412942622172; Fri, 10 Oct 2014 05:03:42 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id x10si5154505vcy.35.2014.10.10.05.03.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 10 Oct 2014 05:03:42 -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 1XcYuS-0002Wu-1P; Fri, 10 Oct 2014 12:03:00 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XcYuQ-0002Ux-Hx for xen-devel@lists.xen.org; Fri, 10 Oct 2014 12:02:58 +0000 Received: from [193.109.254.147:32222] by server-3.bemta-14.messagelabs.com id 61/C2-23707-1FAC7345; Fri, 10 Oct 2014 12:02:57 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-4.tower-27.messagelabs.com!1412942575!11990205!1 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 25828 invoked from network); 10 Oct 2014 12:02:56 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-4.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 10 Oct 2014 12:02:56 -0000 X-IronPort-AV: E=Sophos;i="5.04,691,1406592000"; d="scan'208";a="181281286" 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:55 -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 1XcYuL-0008UF-KW; Fri, 10 Oct 2014 13:02:54 +0100 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Fri, 10 Oct 2014 13:02:53 +0100 From: Ian Campbell To: Date: Fri, 10 Oct 2014 13:02:34 +0100 Message-ID: <1412942554-752-19-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: MIA1 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH RFC OSSTEST 19/19] Osstest/Debian: Workaround oddities in the u-boot script parser. 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: ${filesize} is a bare hex number (i.e. no 0x prefix), but apparently 'fdt set' needs the 0x prefix to make sense of it. Furthermore it is confused by "0xABCD>" (and "ABCD>") and complains because ">" isn't a valid digit. So put a space after the number. Signed-off-by: Ian Campbell --- Osstest/Debian.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 4539452..2fe4728 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -163,16 +163,16 @@ 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 bootargs "$xenkopt ro root=$root" -echo Loaded $kern to \\\${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} (0x\\\${filesize}) 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}> -echo Loaded $initrd to \\\${ramdisk_addr_r} (\\\${filesize}) +fdt set /chosen/module\@1 reg <\\\${ramdisk_addr_r} 0x\\\${filesize} > +echo Loaded $initrd to \\\${ramdisk_addr_r} (0x\\\${filesize}) fdt print /chosen