[Top][All Lists]

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

Re: [Qemu-discuss] Black screen when emulating Raspberry Pi with qemu 2.

From: Per Olofsson
Subject: Re: [Qemu-discuss] Black screen when emulating Raspberry Pi with qemu 2.5
Date: Tue, 08 Mar 2016 14:19:15 +0100

On Tue, Mar 8, 2016, at 01:29 PM, Jakob Bohm wrote:
> On 08/03/2016 13:01, Per Olofsson wrote:
> > If I start with:
> >
> >    /usr/local/qemu/bin/qemu-system-arm -M versatilepb -m 512 -cpu arm1176
> >    -no-reboot -kernel kernel-qemu-4.1.13-jessie -hda
> >    2016-02-26-raspbian-jessie.img -serial stdio
> Are you sure -hda filename.img causes filename.img to be used
> as a virtual *SDCard* (which is what Raspberry Pi has)?

No, this mounts the image as an IDE device, but my goal at this point is
just to boot raspbian linux rather than full emulation. As I was typing
this reply and double checking everything I managed to see a point that
I'd overlooked before:


versatilepb only supports 256 MB of RAM, and trying to run with 512
causes the black screen. Having a console makes things a lot easier, and
tells me that it successfully mounts the root filesystem (with
root=/dev/sda2) but it panics trying to run init (actually /bin/bash):

  /usr/local/qemu/bin/qemu-system-arm -kernel kernel-qemu-4.1.13-jessie
  -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -hda
  2016-02-26-raspbian-jessie.img -append "root=/dev/sda2 panic=0 rw

Still, progress!

  Per Olofsson

reply via email to

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