Hi all
Thanks Kp and David for suggestions.  I am able to boot my raspberry image in 
qemu but only with a modified
kernel.  The documentation kind of suggests the kernel may have had a patch or 
support for the versatilepb.  I dont have a setup to rebuild the kernel, 
perhaps at a later time.  So I am wondering if I need a special build to have 
support for qemu.  Everything works great on a real pi and thanks for the great 
work.

From: jvmu...@hotmail.com
To: leaf-devel@lists.sourceforge.net
Subject: qemu and raspberry pi
Date: Sun, 15 Mar 2015 20:34:53 -0400




Hello all
Please tell me if this post does not belong here.

I am trying to load my raspberry pi image in qemu.  The image
loads and runs fine on the raspberry pi.  I have followed the tutorial
at http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/.  I
can boot to raspbian but not the Leaf image.  Here is my qemu command:

# qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb
-no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4
rw" -hda raspberry_rtr.

Not sure if I should use -m 256 versatilepb but it boots to raspbian ok.

I can see my vfat partition on mmcblk0p0 and ext4 on mmcblk0p1.  Are
there some changes that need to be done on the vfat partition to get it
to boot.

Thanks for any help.

Jim

                                                                                
  
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to