[yocto] SPR issue while booting qemu for POWER PC ppce500v2

Bob Cochran yocto at mindchasers.com
Fri Jan 30 07:50:32 PST 2015


On 01/30/2015 06:20 AM, amruuta ghatge wrote:
>
> Hello,
>
> I am trying to perform LTP testing for POWER ppce500v2.
>
> I used the following rfs and kernel image for testing the LTP test
> prefix [cross build for ppce500ve using ppce500v2 custom toolchain] in
> QEMU system mode.
>
> http://downloads.yoctoproject.org/releases/yocto/yocto-1.7/machines/qemu/qemuppc/core-image-sato-sdk-qemuppc.ext3
>
>
> http://downloads.yoctoproject.org/releases/yocto/yocto-1.7/machines/qemu/qemuppc/vmlinux--3.14.19+git0+fb6271a942_73e2411cdd-r0-qemuppc-20141016220152.bin
>
> When configured for '-M ppce500 -cpu e500v2' it gave me the following error,
>
> $ <path-sysroots>qemu-system-ppc -kernel
> vmlinux--3.14.19+git0+fb6271a942_73e2411cdd-r0-qemuppc-20141016220152.bin -net
> nic,model=pcnet -net tap,vlan=0,ifname=tap0,script=no,downscript=no -cpu
> e500v2 -M ppce500 -hda
> <path-qemuppc>core-image-base-qemuppc-20150112233527.rootfs.ext3
> -no-reboot -show-cursor -no-reboot -nographic -m 512 --append
> "root=/dev/hda rw console=ttyS0 console=tty
> ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=512M console=ttyS0"
>
> Trying to write invalid spr 536 (0x218) 000034c0


Maybe this will help - I just looked at both the E500 (includes V2) and 
E5500 reference manuals.  I couldn't find the definition of an SPR 536. 
  Could SPR 536 be specific to a particular SOC, or maybe it's just a 
typo in the code somewhere?

>
> Any pointers or inputs/suggestions will be highly appreciated.
>
> Regards,
>
> Amruta!!!
>
>
>




More information about the yocto mailing list