Re: [GIT PULL] RISC-V Updates for the 4.19 Merge Window

From: Guenter Roeck
Date: Sun Aug 19 2018 - 11:12:16 EST

On 08/19/2018 12:26 AM, Karsten Merker wrote:
[ ... ]
However, the she system boots fine with the same qemu command line if I use qemu
built from, branch qemu-for-upstream.


AFAICS the qemu patch that adds support for handling separate bbl
and kernel images, i.e.

hasn't yet made it into upstream qemu, so using the "-bios"
option for bbl generally doesn't work with (upstream) qemu 3.0.

You are correct. With qemu 3.0+commit b79cd8dec5 ("RISC-V: Support separate firmware
and kernel payload") and this pull request plus "riscv: Drop setup_initrd" on top
of mainline, my test passes:

Build reference: riscv-for-linus-4.19-mw0-8897-gd028021652dd

Building virt:defconfig:initrd ... running .... passed
Building virt:defconfig:virtio-blk:rootfs ... running .... passed

... giving this an official

Tested-by: Guenter Roeck <linux@xxxxxxxxxxxx>