Go to file
Romain Naour e7cd3741b5 board/qemu/riscv{32, 64}-virt: nommu: needs virtio-blk device
Commit [1] removed virtio-blk-device,drive=hd0 from the Qemu command
line since RISC-V virt target now define a default type for block
devices (virtio) [2].

While it's was working as expected using
qemu_riscv{32,64}_virt_defconfig, it doesn't work for nommu variant.

Without "-device virtio-blk-device,drive=hd0", the virtio block device
virtio0 is missing in dmesg:

Expected dmesg log:

  virtio_blk virtio0: 1/0/0 default/read/poll queues
  virtio_blk virtio0: [vda] 122880 512-byte logical blocks (62.9 MB/60.0 MiB)

Unlike qemu_riscv{32,64}_virt_defconfig, mmu variant doesn't use
opensbi (-bios none) and disable mmu (-cpu rv{32,64},mmu=off)
from the qemu command line...

Adding back "-device virtio-blk-device,drive=hd0" seems to help Qemu
to enable the virtio block device for nommu target.

This partially revert commit [1].

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/8233227503 (qemu_riscv32_nommu_virt_defconfig)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8233227509 (qemu_riscv64_nommu_virt_defconfig)

[1] dba41736da
[2] 4406ba2b5e

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2024-11-01 22:19:25 +01:00
.github .github: add github action to automate PR handling 2024-07-09 11:43:02 +02:00
.gitlab/issue_templates gitlab: fix issue template 2024-09-11 21:24:40 +02:00
arch arch/arm: add support for FDPIC 2024-10-02 22:34:13 +02:00
board board/qemu/riscv{32, 64}-virt: nommu: needs virtio-blk device 2024-11-01 22:19:25 +01:00
boot boot/ti-k3-r5-loader: bump to v2024.10 2024-10-22 22:53:04 +02:00
configs configs/beaglebone: bump U-Boot to 2024.10 2024-10-31 19:07:25 +01:00
docs docs/website: fix the link to the mailman archives 2024-10-28 21:56:04 +01:00
fs fs/tar: use appropriate TAR 2024-06-05 23:31:18 +02:00
linux linux: handle empty BR2_LINUX_KERNEL_IMAGE_TARGET_NAME situation 2024-10-27 19:48:16 +01:00
package package/qemu: fix qemu 9.x issue for AArch32 Secure PL1&0 2024-11-01 21:36:17 +01:00
support support/testing: add rrdtool runtime test 2024-10-31 20:52:35 +01:00
system package/tinyinit: new package 2024-09-14 11:20:06 +02:00
toolchain {toolchain, linux-headers}: add support for 6.11 headers 2024-10-22 23:03:26 +02:00
utils utils/genrandconfig: handle BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y 2024-10-27 19:48:06 +01:00
.b4-config .b4-config: configure b4 for Buildroot 2024-07-14 22:35:10 +02:00
.checkpackageignore package/bsdiff: drop package 2024-10-31 13:49:51 +01:00
.clang-format .clang-format: initial import from Linux 5.15.6 2022-01-01 15:01:13 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.editorconfig editorconfig: leave patch files alone wrt trainling spaces 2024-06-11 21:55:21 +02:00
.flake8 Revert ".flake8: fix check for 80/132 columns" 2021-01-02 17:38:20 +01:00
.gitignore gitignore: ignore multiple output directories 2024-07-26 09:31:56 +02:00
.gitlab-ci.yml support/misc/gitlab-ci.yml.in: retry a job only if it failed due to a runner issue 2023-08-27 10:09:37 +02:00
.shellcheckrc utils/check-package: improve shellcheck reproducibility 2022-07-25 23:52:47 +02:00
CHANGES Update for 2024.02.7 2024-10-21 09:50:52 +02:00
Config.in package: add support for extracting zstd archives 2024-07-14 22:47:15 +02:00
Config.in.legacy package/bsdiff: drop package 2024-10-31 13:49:51 +01:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS support/testing: add rrdtool runtime test 2024-10-31 20:52:35 +01:00
Makefile Makefile: run PPD and RPATH fixup in host-fialize 2024-09-07 21:33:49 +02:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README docs: move the IRC channel away from Freenode 2021-05-29 22:16:23 +02:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on OFTC IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches