From nobody Wed Nov 27 08:46:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1699580773; cv=none; d=zohomail.com; s=zohoarc; b=SetPpxTSUZVvZwysTH3HYWK8xOp6RusEwjrv8PkTbI9rrHk+SKnGvfzb5uxbBYdJ3rSRrxySg3P7hRtEkG+Eb9vgxwe5IRPu3KVtTCkjTIXqfdtuuzYMFhGuR29+yzNMnpEkyljnmMFjLE4SFXAQaA2KATOS9F5kIHQuhQgmb0Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699580773; h=Content-Type:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Xe8dl8kklPZCJfNJDW3P7sC6Q1ur9exK9R5oajy9Ivo=; b=SmEk9HjVTkK1+i4g3Ubm9v5Wxc8n1m5AY2wj3OQ5Ds7xdo0FiqRWioFWirtOuYo6Ji+ic1gdQld488qF6kHMXipUBXwdJJLV/rrUJuVEgeuYCB6hYVTjNKWKdP35BMMME2pL7Ipmxppp0k3H4m2JeO+z3fqhiUTbEAfWxrmSBd4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1699580773009373.15413217433945; Thu, 9 Nov 2023 17:46:13 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.629887.982433 (Exim 4.92) (envelope-from ) id 1r1GaF-0000eJ-Bw; Fri, 10 Nov 2023 01:45:19 +0000 Received: by outflank-mailman (output) from mailman id 629887.982433; Fri, 10 Nov 2023 01:45:19 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1r1GaF-0000eC-9B; Fri, 10 Nov 2023 01:45:19 +0000 Received: by outflank-mailman (input) for mailman id 629887; Fri, 10 Nov 2023 01:45:18 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1r1GaE-0000aP-SB for xen-devel@lists.xenproject.org; Fri, 10 Nov 2023 01:45:18 +0000 Received: from dfw.source.kernel.org (dfw.source.kernel.org [2604:1380:4641:c500::1]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id c80aa7d3-7f6a-11ee-9b0e-b553b5be7939; Fri, 10 Nov 2023 02:45:10 +0100 (CET) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 12C4061944; Fri, 10 Nov 2023 01:45:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3A8DC433C9; Fri, 10 Nov 2023 01:45:02 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: c80aa7d3-7f6a-11ee-9b0e-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699580703; bh=nXcOhJwUSITcWKDgtXJhN1gzhRWj51errqNVjvv/5xw=; h=Date:From:To:cc:Subject:From; b=TIH3IXfbd0u13Ru0blHId3MyQ1XkXwob3VVPLoBdWi/0N4bpTEBO3NG0VdEyINMIp uvFkmK1wGmDUTPM6tthdT6arttxkg8pBHp1dOW2l7Z6XyVti9BO0QIz1b7xFHqMatD CuAqdBoeaWSDk+ISziZAudaRHtjGLoWECRn8JoEUdkS+D/s6XX84ehNMDS8wzkChWg 5G+2NKTt4+RaXD1bsnFr6DhKuGErS9FxkqGnKY64efeTk9Psi4n4Q1S953vJ6RIfRG a8rvjK+Bg9EKRODtwoHpV21g+BAzgbpD1NLuwOzVlwvb/G03q+8pzPrOtlQY3ZKImA SJQztqgkpvUTw== Date: Thu, 9 Nov 2023 17:44:58 -0800 (PST) From: Stefano Stabellini X-X-Sender: sstabellini@ubuntu-linux-20-04-desktop To: viryaos-discuss@lists.sourceforge.net cc: sstabellini@kernel.org, xen-devel@lists.xenproject.org, michal.orzel@amd.com, brian@woods.art Subject: [PATCH] Use hex for bitstream_size as expected by u-boot Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1699580774330100001 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Reported-by: Brian Woods Signed-off-by: Stefano Stabellini diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen index b284887..6e52da5 100755 Reviewed-by: Michal Orzel --- a/scripts/uboot-script-gen +++ b/scripts/uboot-script-gen @@ -790,7 +790,7 @@ bitstream_load_and_config() check_file_type "$BITSTREAM" "BIT data" bitstream_addr=3D$memaddr load_file $BITSTREAM "fpga_bitstream" - bitstream_size=3D$filesize + bitstream_size=3D`printf "0x%X\n" $filesize` if test "$UBOOT_SOURCE" then # we assume the FPGA device is 0 here