* [Qemu-devel] [Bug?] in powerPc board uic emulation
@ 2008-11-14 1:04 Salvatore Lionetti
2008-11-14 22:23 ` Hollis Blanchard
0 siblings, 1 reply; 2+ messages in thread
From: Salvatore Lionetti @ 2008-11-14 1:04 UTC (permalink / raw)
To: qemu-devel
Hi,
i've added new board latest svn snapshot, updated few ours ago, with 450GPe cpu but got some pb, almost resolved.
The last, i hope, is that 'internal' interrupt line 11, polarity high, level triggered, destinated to MAL TX End of Buffer (TXEOB0), seem to persist after managed.
I've tested with qemu-0.9.1 and all is ok.
Since i've noted that uic device code is changed, before explain pb at u-boot side, i'd like to check 'internally'.
In detail this link the driver code, from u-boot-1.1.6:
http://svn.neurostechnology.com/filedetails.php?repname=neuros-bsp&path=%2Ftrunk%2Fbootloader%2Fcpu%2Fppc4xx%2F4xx_enet.c&rev=39&sc=0
The interrupt management is centralized in 2nd function named enetInt().
Have a good day
Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [Bug?] in powerPc board uic emulation
2008-11-14 1:04 [Qemu-devel] [Bug?] in powerPc board uic emulation Salvatore Lionetti
@ 2008-11-14 22:23 ` Hollis Blanchard
0 siblings, 0 replies; 2+ messages in thread
From: Hollis Blanchard @ 2008-11-14 22:23 UTC (permalink / raw)
To: salvatorelionetti, qemu-devel
On Thu, Nov 13, 2008 at 7:04 PM, Salvatore Lionetti
<salvatorelionetti@yahoo.it> wrote:
> Hi,
>
> i've added new board latest svn snapshot, updated few ours ago, with 450GPe cpu but got some pb, almost resolved.
> The last, i hope, is that 'internal' interrupt line 11, polarity high, level triggered, destinated to MAL TX End of Buffer (TXEOB0), seem to persist after managed.
Without seeing your revised patch, it's difficult to guess. However,
in the original patch you did post you are doing something strange
like this:
+#define INTN(a) (31-a)
...
+ mal_irqs[0] = pic[INTN(14)];
+
ppc405_mal_init(env, mal_irqs);
> I've tested with qemu-0.9.1 and all is ok.
> Since i've noted that uic device code is changed, before explain pb at u-boot side, i'd like to check 'internally'.
One UIC change between 0.9.1 and now is that the IRQ numbers were
"inverted" (31-n) to match the documentation. I don't have the 405EP
user manual handy to check, but I suspect you wrote your INTN macro to
do the same thing, and you're now inverting them twice.
See http://svn.savannah.gnu.org/viewvc/trunk/hw/ppc4xx_devs.c?root=qemu&r1=3726&r2=4273
Thanks for updating your patch. Have you also corrected the endianness
issues you mentioned in the first draft, so that it can work on
big-endian hosts?
-Hollis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-14 22:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-14 1:04 [Qemu-devel] [Bug?] in powerPc board uic emulation Salvatore Lionetti
2008-11-14 22:23 ` Hollis Blanchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).