All of lore.kernel.org
 help / color / mirror / Atom feed
* SPR issue while booting qemu for POWER PC ppce500v2
@ 2015-01-30 11:20 amruuta ghatge
  2015-01-30 11:38 ` Jegan Chandru
  2015-01-30 15:50 ` Bob Cochran
  0 siblings, 2 replies; 4+ messages in thread
From: amruuta ghatge @ 2015-01-30 11:20 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1191 bytes --]

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

Any pointers or inputs/suggestions will be highly appreciated.

Regards,

Amruta!!!

[-- Attachment #2: Type: text/html, Size: 1732 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SPR issue while booting qemu for POWER PC ppce500v2
  2015-01-30 11:20 SPR issue while booting qemu for POWER PC ppce500v2 amruuta ghatge
@ 2015-01-30 11:38 ` Jegan Chandru
  2015-01-30 15:50 ` Bob Cochran
  1 sibling, 0 replies; 4+ messages in thread
From: Jegan Chandru @ 2015-01-30 11:38 UTC (permalink / raw)
  To: amruuta ghatge; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1780 bytes --]

I guess it has something to do with,

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b813bdebb36501500e86fea5f7e15b4b15ea0902

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6687

In other words, you should try with the latest images if any.


On Fri, Jan 30, 2015 at 4:50 PM, amruuta ghatge <amusghatge@gmail.com>
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
>
> Any pointers or inputs/suggestions will be highly appreciated.
>
> Regards,
>
> Amruta!!!
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>


-- 
JCP

[-- Attachment #2: Type: text/html, Size: 3643 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SPR issue while booting qemu for POWER PC ppce500v2
  2015-01-30 11:20 SPR issue while booting qemu for POWER PC ppce500v2 amruuta ghatge
  2015-01-30 11:38 ` Jegan Chandru
@ 2015-01-30 15:50 ` Bob Cochran
  2015-02-04 12:51   ` amruuta ghatge
  1 sibling, 1 reply; 4+ messages in thread
From: Bob Cochran @ 2015-01-30 15:50 UTC (permalink / raw)
  To: amruuta ghatge, yocto

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!!!
>
>
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SPR issue while booting qemu for POWER PC ppce500v2
  2015-01-30 15:50 ` Bob Cochran
@ 2015-02-04 12:51   ` amruuta ghatge
  0 siblings, 0 replies; 4+ messages in thread
From: amruuta ghatge @ 2015-02-04 12:51 UTC (permalink / raw)
  To: Bob Cochran; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2057 bytes --]

On 30-Jan-2015 9:20 pm, "Bob Cochran" <yocto@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!!!
>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 2950 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-04 12:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-30 11:20 SPR issue while booting qemu for POWER PC ppce500v2 amruuta ghatge
2015-01-30 11:38 ` Jegan Chandru
2015-01-30 15:50 ` Bob Cochran
2015-02-04 12:51   ` amruuta ghatge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.