lkml.org 
[lkml]   [2018]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL] RISC-V Updates for the 4.19 Merge Window
On Tue, Aug 21, 2018 at 11:31:48AM -0700, Palmer Dabbelt wrote:
> On Sat, 18 Aug 2018 06:37:59 PDT (-0700), linux@roeck-us.net wrote:
[...]
> > Do you have vmlinux embedded in bbl ?
> >
> > With separate bbl and vmlinux, and the following qemu command line
> > (with qemu 3.0)
> >
> > qemu-system-riscv64 -M virt -m 512M -no-reboot \
> > -bios bbl -kernel vmlinux \
> > -netdev user,id=net0 -device virtio-net-device,netdev=net0 \
> > -device virtio-blk-device,drive=d0 \
> > -drive file=rootfs.ext2,if=none,id=d0,format=raw \
> > -append 'root=/dev/vda rw console=ttyS0,115200' \
> > -nographic -monitor none
> >
> > all I get is
> >
> > rom: requested regions overlap (rom mrom.reset. free=0x000000000001cbe8, addr=0x0000000000001000)
> >
> > However, the she system boots fine with the same qemu command line if I use qemu
> > built from https://github.com/riscv/riscv-qemu.git, branch qemu-for-upstream.
>
> Yes, I have a vmlinux built into my BBL. I didn't actually look closely at
> the command line I was copying and see that vmlinux in there, my guess would
> be that it's getting ignored. I don't remember if upstream BBL actually
> works with the split bbl/vmlinux setup, I've kind of stopped paying
> attention to BBL as I'm just waiting for someone to tell me instructions as
> to how to use a real bootloader... :)

JFTR, upstream bbl supports the split bbl/vmlinux setup, it's just
upstream qemu that lacks the support for now (qemu-riscv has it).

Regards,
Karsten
--
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.

\
 
 \ /
  Last update: 2018-08-21 21:47    [W:0.065 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site