qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-3.2 v7 5/6] hw/riscv/sifive_u: Connect the X


From: Logan Gunthorpe
Subject: Re: [Qemu-devel] [PATCH for-3.2 v7 5/6] hw/riscv/sifive_u: Connect the Xilinx PCIe
Date: Wed, 21 Nov 2018 11:55:03 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1


On 2018-11-21 11:36 a.m., Guenter Roeck wrote:
> What kernel configuration, devicetree, and qemu command line do you use
> for the sifive_u machine ?

For kernel configuration, I've tried a couple but I've attached one that
I think makes sense.

The device tree is whatever bbl/qemu are doing (sounds like qemu creates
one and bbl edits it???...).

QEMU Command line is roughly: (though I tweak things constantly and it
doesn't have a working root device at the moment.)

$QEMU -D /tmp/qemu.log -s -nographic -machine sifive_u -m 2G -kernel $BBL \
   -append "console=hvc0 ro root=/dev/vda" \
   -device nvme,drive=nvme0,serial=nvme0 \
   -drive file=nvme0.qcow2,if=none,id=nvme0


Logan

Attachment: riscv-config
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]