From 18bf234a5b3e5cafed535fd8116557b0396aef25 Mon Sep 17 00:00:00 2001 From: Brian Woods Date: Wed, 8 Sep 2021 18:29:22 -0700 Subject: Add support for loading bitstreams Signed-off-by: Brian Woods Reviewed-by: Stefano Stabellini Signed-off-by: Stefano Stabellini --- scripts/disk_image | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts/disk_image') diff --git a/scripts/disk_image b/scripts/disk_image index fc64386..1d71863 100755 --- a/scripts/disk_image +++ b/scripts/disk_image @@ -327,6 +327,10 @@ then i=$(( $i + 1 )) done fi +if test "${BITSTREAM}" +then + _part1_size=$(( $_part1_size + `stat -L --printf="%s" $UBOOT_OUT/$BITSTREAM` )) +fi i=0 while test $i -lt $NUM_DOMUS @@ -462,6 +466,10 @@ then i=$(( $i + 1 )) done fi +if test "${BITSTREAM}" +then + cp --parents "$BITSTREAM" "${DESTDIR_ABS}/part/disk1/" +fi i=0 while test $i -lt $NUM_DOMUS -- cgit v1.2.3