On 30-Jan-2015 9:20 pm, "Bob Cochran" <yo...@mindchasers.com> wrote: > > 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?
Thank you for the inputs. The kernel was configured for 'altivec' support and I guess that was causing the invalid SPR issue. On reconfiguring the kernel for ppc e500 it did not give ' invalid SPR' error but gave a blank QEMU console and failed to load the kernel and root file system. Using qemu version 2.1.0 Please suggest in case of any missing configurations. >> >> Any pointers or inputs/suggestions will be highly appreciated. >> >> Regards, >> >> Amruta!!! >> >> >> >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto