mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 05:23:39 +08:00
e7cd3741b5
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] |
||
---|---|---|
.github | ||
.gitlab/issue_templates | ||
arch | ||
board | ||
boot | ||
configs | ||
docs | ||
fs | ||
linux | ||
package | ||
support | ||
system | ||
toolchain | ||
utils | ||
.b4-config | ||
.checkpackageignore | ||
.clang-format | ||
.defconfig | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
.gitlab-ci.yml | ||
.shellcheckrc | ||
CHANGES | ||
Config.in | ||
Config.in.legacy | ||
COPYING | ||
DEVELOPERS | ||
Makefile | ||
Makefile.legacy | ||
README |
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