[U-BOOT-TEST][PATCH 1/1] travis-ci: SiFive Unleashed: avoid format warning

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sun Jun 23 12:58:15 CEST 2024


QEMU expects the file format to be specified even for raw files.
Currently this change only suppresses a warning.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
 bin/travis-ci/conf.sifive_unleashed_sdcard_qemu  | 2 +-
 bin/travis-ci/conf.sifive_unleashed_spi-nor_qemu | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/travis-ci/conf.sifive_unleashed_sdcard_qemu b/bin/travis-ci/conf.sifive_unleashed_sdcard_qemu
index f3c3da1..e84ce7d 100644
--- a/bin/travis-ci/conf.sifive_unleashed_sdcard_qemu
+++ b/bin/travis-ci/conf.sifive_unleashed_sdcard_qemu
@@ -6,6 +6,6 @@ console_impl=qemu
 qemu_machine="sifive_u,msel=11"
 qemu_binary="qemu-system-riscv64"
 qemu_extra_args="-smp 5 -m 8G -nographic -nic user,tftp=${UBOOT_TRAVIS_BUILD_DIR}"
-qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/spl/u-boot-spl.bin -drive file=${U_BOOT_BUILD_DIR}/sdcard.img,if=sd"
+qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/spl/u-boot-spl.bin -drive file=${U_BOOT_BUILD_DIR}/sdcard.img,format=raw,if=sd"
 reset_impl=none
 flash_impl=none
diff --git a/bin/travis-ci/conf.sifive_unleashed_spi-nor_qemu b/bin/travis-ci/conf.sifive_unleashed_spi-nor_qemu
index e28bfc4..56a7a0c 100644
--- a/bin/travis-ci/conf.sifive_unleashed_spi-nor_qemu
+++ b/bin/travis-ci/conf.sifive_unleashed_spi-nor_qemu
@@ -6,6 +6,6 @@ console_impl=qemu
 qemu_machine="sifive_u,msel=6"
 qemu_binary="qemu-system-riscv64"
 qemu_extra_args="-smp 5 -m 8G -nographic -nic user,tftp=${UBOOT_TRAVIS_BUILD_DIR}"
-qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/spl/u-boot-spl.bin -drive file=${U_BOOT_BUILD_DIR}/spi-nor.img,if=mtd"
+qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/spl/u-boot-spl.bin -drive file=${U_BOOT_BUILD_DIR}/spi-nor.img,format=raw,if=mtd"
 reset_impl=none
 flash_impl=none
-- 
2.45.1



More information about the U-Boot mailing list