No subject


Fri Aug 17 13:40:23 EST 2007


=20
the 64260, too.
Now the driver is integrated and runs complete through initialisation=20
bringing up an eth0 device.
The initialisation seams to be ok (no error messages), the device is up=20
and routing information is setup.
Now I try to ping a remote station but I receive nothing and I get no=20
feedback from the remote compter.
As soon as I turn of the net interface (ifconfig eth0 down) I get the=20
message "Tx time out or no link?)
Is there anything else I can check? Any idea what may cause this problem?

Thanks a lot for your help

Joachim



___________________________________________________________________________=
____________________________________________
Der Inhalt dieser E-Mail ist f?r den Absender rechtlich nicht verbindlich.=
=20
Informieren Sie uns bitte, wenn Sie diese E-Mail f?lschlicherweise erhalten=
 haben (Fax: +49-69-5805-1399). Bitte l?schen Sie in diesem Fall die Nachri=
cht. Jede Form der weiteren Benutzung ist untersagt.

The content of this e-mail is not legally binding upon the sender.
If this e-mail was transmitted to you by error, then please inform us accor=
dingly (Fax: +49-69-5805-1399). In such case you are requested to erase the=
 message. Any use of such e-mail message is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070824/5bb=
5a616/attachment-0001.htm=20

------------------------------

Message: 7
Date: Fri, 24 Aug 2007 08:49:46 -0700
From: David Hawkins <dwh at ovro.caltech.edu>
Subject: Re: little endian page mapping on PQ3
To: Jose Almeida <jalmeida at sysgo.fr>
Cc: Joyeau Sylvain <Sylvain.Joyeau at thomson.net>,
=09Linuxppc-embedded at ozlabs.org
Message-ID: <46CEFE1A.40905 at ovro.caltech.edu>
Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed

Hi Jose,

> I want to do using an mmap() entry point in a driver, in order to map=
=20
> this to the user. Of course in that case ioremap() does not work.
>=20
> Any Clue ?
>=20

I used the little-endian flag on the Yosemite board (440EP)
to test what the flag did.

http://www.ovro.caltech.edu/~dwh/correlator/pdf/LNX-762-Hawkins.pdf
http://www.ovro.caltech.edu/~dwh/correlator/software/driver_design.tar.gz

Look at the mmap function in pci_io.c.

=09/* PowerPC endian control
=09 * - default is cleared, big-endian
=09 */
#ifdef _PAGE_ENDIAN
=09if (bar->little_endian) {
=09=09pgprot_val(vma->vm_page_prot) |=3D _PAGE_ENDIAN;
=09} else {
=09=09pgprot_val(vma->vm_page_prot) &=3D ~_PAGE_ENDIAN;
=09}
=09if (pgprot_val(vma->vm_page_prot) & _PAGE_ENDIAN) {
=09=09LOG_DEBUG("_PAGE_ENDIAN is set\n");
=09} else {
=09=09LOG_DEBUG("_PAGE_ENDIAN is not set\n");
=09}
#endif

It might be the same for the PQ3 ... at least it'll be
pretty similar.

Dave


------------------------------

_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded at ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

End of Linuxppc-embedded Digest, Vol 36, Issue 59
*************************************************
</PRE></BLOCKQUOTE>
------=_Part_5143_32477052.1188006812935--



More information about the Linuxppc-embedded mailing list