All of
 help / color / mirror / Atom feed
From: Stefano Stabellini <>
Subject: [PATCH] Use hex for bitstream_size as expected by u-boot
Date: Thu, 9 Nov 2023 17:44:58 -0800 (PST)	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2311091740490.3478774@ubuntu-linux-20-04-desktop> (raw)

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
--- a/scripts/uboot-script-gen
+++ b/scripts/uboot-script-gen
@@ -790,7 +790,7 @@ bitstream_load_and_config()
         check_file_type "$BITSTREAM" "BIT data"
         load_file $BITSTREAM "fpga_bitstream"
-        bitstream_size=$filesize
+        bitstream_size=`printf "0x%X\n" $filesize`
         if test "$UBOOT_SOURCE"
             # we assume the FPGA device is 0 here

             reply	other threads:[~2023-11-10  1:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-10  1:44 Stefano Stabellini [this message]
2023-11-10  7:44 ` [PATCH] Use hex for bitstream_size as expected by u-boot Michal Orzel
2023-11-10  9:27 ` Julien Grall
2023-11-10 10:01   ` Michal Orzel
2023-11-10 10:08     ` Julien Grall
2023-11-10 10:39       ` Julien Grall
2023-11-11  1:29         ` Stefano Stabellini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.22.394.2311091740490.3478774@ubuntu-linux-20-04-desktop \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.