Message ID | 20240623105815.62434-1-heinrich.schuchardt@canonical.com |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
Series | [U-BOOT-TEST,1/1] travis-ci: SiFive Unleashed: avoid format warning | expand |
On Sun, 23 Jun 2024 12:58:15 +0200, Heinrich Schuchardt wrote: > QEMU expects the file format to be specified even for raw files. > Currently this change only suppresses a warning. > > Applied to u-boot/u-boot-test-hooks.git/master, thanks!
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
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@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(-)