[Cbe-oss-dev] [off topic] Debugging advice

Mads Alhof Kristiansen madskr at gmail.com
Wed Jul 30 22:13:31 EST 2008


On Wed, Jul 30, 2008 at 1:20 PM, Gerhard Stenzel
<gerhard.stenzel at de.ibm.com> wrote:
> cbe-oss-dev-bounces+stenzel=de.ibm.com at ozlabs.org wrote on 07/30/2008
> 11:55:13 AM:
>
[snip]
>
> Is is possible that you are experiencing PPE side context switching of your
> kernel?

I have thought of that, but I don't know how to verify it. I have
looked a bit on the sizes of the DMA-transfers. The first DMA-transfer
on the spe - which I guess is the SPE ELF-loader - has a size of 0xE80
bytes while the DMA-transfer that I'm experiencing has a size of 0xB80
bytes.

[snip]
>
> The simplest way is probably to use systemsim for debugging.

I have used it and it has helped me so far. Especially the channel-
and memory-breakpoints have been useful. It was the (SPE DMA-)
debugging flags that made me discover that the PPC-initiated
DMA-transfer was being done. But the user-guide doesn't really explain
the debugging-flags so I could easily have overlooked something
useful.

Thanks.

Best regards,
Mads



More information about the cbe-oss-dev mailing list