Maybe you did not set your baud rate while config the kernel. If you use
UART16550, you should set your baud rate while config the kernel.In the kernel
2.6.22, the option is in "Platform options", selecting "Default bootloader
kernel arguments" and then setting your baud rate. However, if you use
UARTLITE, the baud rate dose not need to be set by yourself. If the problem
did not due to the baud rate, then perhaps your xparameters_ml40x.h file did
not correctly define the register address of the serial port device. Your can
find the correct register address of the serial port device in BSP generated by
EDK. linyao
[EMAIL PROTECTED] 写道:
Send Linuxppc-embedded mailing list submissions to [email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://ozlabs.org/mailman/listinfo/linuxppc-embedded or, via email, send a
message with subject or body 'help' to [EMAIL PROTECTED] You can reach the
person managing the list at [EMAIL PROTECTED] When replying, please edit your
Subject line so it is more specific than "Re: Contents of Linuxppc-embedded
digest..." Today's Topics: 1. Problems on porting linux 2.6 to xilinx ML410
(woyuzhilei) 2. little endian page mapping on PQ3 (Jose Almeida) 3. RE: little
endian page mapping on PQ3 (Joyeau Sylvain) 4. Re: little endian page mapping
on PQ3 (Jose Almeida) 5. Re: little endian page mapping on PQ3 (Clemens Koller)
6. [linux kernel 2.6.19] ethernet driver for Marvell bridge GT-64260 ([EMAIL
PROTECTED]) 7. Re: little endian page mapping on PQ3 (David Hawkins)
---------------------------------------------------------------------- Message:
1 Date: Fri, 24 Aug 2007 11:11:57 +0800 From: "woyuzhilei" <[EMAIL PROTECTED]>
Subject: Problems on porting linux 2.6 to xilinx ML410 To: "grant.likely"
<[EMAIL PROTECTED]> Cc: linuxppc-embedded <[email protected]>
Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="gb2312" Hey:
Recently I'm doing some project on Xilinx Ml410 evaluation board.The first step
is porting linux 2.6 to ml410,but I got some problems on this,and my project
cann't proceed,so I come to you for some help. I use the linux kernel source
tree download from http://git.secretlab.ca/git/linux-2.6-virtex.git (The latest
one).Add the file the xparameters.h,xparameter_ml40x.h. Then add
arch/ppc/platforms/4xx/xilinx_generic_ppc.c(Use the patch I get here),and
change it's name to ml40x.c,then I make some necessay change of the
configuration files to accept selecting a Ml40x type board.Then compile the
kernel,and get the image file from arch/ppc/boot/images, (On kernel
compiling,the only device driver I sellect is " 8250/16550 and compatible
serial support ").After that I download the zImage.elf file to the target
board,and run it.But there is no output from the serial port at all.Am I doing
somthing wrong?I really don't know goes wrong. Can anyone here help me with
this?Any help from you is appreciated.Thank you very much! woyuzhilei
2007-08-24 -------------- next part -------------- An HTML attachment was
scrubbed... URL:
http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070824/b495befd/attachment-0001.htm
------------------------------ Message: 2 Date: Fri, 24 Aug 2007 09:59:17
+0200 From: Jose Almeida <[EMAIL PROTECTED]> Subject: little endian page
mapping on PQ3 To: [email protected] Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1 Hi all, Looking at PQ3
documentation, it looks like there is a way to select on a page basis if we
would like to map one particular page in BIG or LITTLE endian. This is a very
nice feature when you need to exchange some data between a PC and a PQ3 target.
I am wondering if someone have already tryed this PQ3 feature ? I guess this
would require some kind of hook in the kernel ... Any clue ? Thanks - Jose
------------------------------ Message: 3 Date: Fri, 24 Aug 2007 13:40:31 +0200
From: "Joyeau Sylvain" <[EMAIL PROTECTED]> Subject: RE: little endian page
mapping on PQ3 To: "Jose Almeida" <[EMAIL PROTECTED]>,
<[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type:
text/plain; charset="iso-8859-1" Jose, You are right, PQ3 supports endianess
choice on a per page basis. Without any hook in Linux, you can remap physical
address range (but RAM), by calling __ioremap() with the "_PAGE_ENDIAN" bit set
in the flags. -- sj > -----Original Message----- > From: > [EMAIL PROTECTED] >
g > [mailto:[EMAIL PROTECTED] > zlabs.org] On Behalf Of Jose Almeida > Sent:
vendredi 24 ao?t 2007 09:59 > To: [email protected] > Subject:
little endian page mapping on PQ3 > > Hi all, > > Looking at PQ3 documentation,
it looks like there is a way to select > on a page basis if we would like to
map one particular page in BIG or > LITTLE endian. > This is a very nice
feature when you need to exchange some data > between a PC and a PQ3 target. >
> I am wondering if someone have already tryed this PQ3 feature ? > I guess
this would require some kind of hook in the kernel ... > > Any clue ? > >
Thanks - Jose > > _______________________________________________ >
Linuxppc-embedded mailing list > [email protected] >
https://ozlabs.org/mailman/listinfo/linuxppc-embedded >
------------------------------ Message: 4 Date: Fri, 24 Aug 2007 15:08:33 +0200
From: Jose Almeida <[EMAIL PROTECTED]> Subject: Re: little endian page mapping
on PQ3 To: Joyeau Sylvain <[EMAIL PROTECTED]> Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" An
HTML attachment was scrubbed... URL:
http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070824/3072d9f9/attachment-0001.htm
------------------------------ Message: 5 Date: Fri, 24 Aug 2007 15:19:17
+0200 From: Clemens Koller <[EMAIL PROTECTED]> Subject: Re: little endian page
mapping on PQ3 To: Jose Almeida <[EMAIL PROTECTED]> Cc:
[email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type:
text/plain; charset=ISO-8859-1; format=flowed Hi, Jose! Jose Almeida schrieb: >
Hi all, > > Looking at PQ3 documentation, it looks like there is a way to
select > on a page basis if we would like to map one particular page in BIG or
> LITTLE endian. > This is a very nice feature when you need to exchange some
data > between a PC and a PQ3 target. I would be interested, however cannot
spend time right now to work on that subject. > I am wondering if someone have
already tryed this PQ3 feature ? > I guess this would require some kind of hook
in the kernel ... Just some random bits I found in the web:
http://developer.apple.com/documentation/Hardware/DeviceManagers/pci_srvcs/pci_cards_drivers/PCI_BOOK.250.html
The Interesting part is: "Thus, the address swizzle is completely transparent
to software." So, I would just try to setup some memory mapping and turn on
little endian mode to access that area... MMMV. Just a guess. Regards, --
Clemens Koller __________________________________ R&D Imaging Devices Anagramm
GmbH Rupert-Mayer-Stra?e 45/1 Linhof Werksgel?nde D-81379 M?nchen
Tel.089-741518-50 Fax 089-741518-19 http://www.anagramm-technology.com
------------------------------ Message: 6 Date: Fri, 24 Aug 2007 15:51:33 +0200
From: [EMAIL PROTECTED] Subject: [linux kernel 2.6.19] ethernet driver for
Marvell bridge GT-64260 To: [email protected] Message-ID: <[EMAIL
PROTECTED]> Content-Type: text/plain; charset="utf-8" Hello everybody, I
continue the work of ThomasB to get a linux kernel 2.6.19 up and running on a
PPC750FX based platform using a GT-64260. From Thomas I got a patched
mv643xx_eth driver which is ported to support the 64260, too. Now the driver is
integrated and runs complete through initialisation bringing up an eth0 device.
The initialisation seams to be ok (no error messages), the device is up and
routing information is setup. Now I try to ping a remote station but I receive
nothing and I get no feedback from the remote compter. As soon as I turn of the
net interface (ifconfig eth0 down) I get the 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.
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 Nachricht.
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 accordingly (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/5bb5a616/attachment-0001.htm
------------------------------ Message: 7 Date: Fri, 24 Aug 2007 08:49:46
-0700 From: David Hawkins <[EMAIL PROTECTED]> Subject: Re: little endian page
mapping on PQ3 To: Jose Almeida <[EMAIL PROTECTED]> Cc: Joyeau Sylvain <[EMAIL
PROTECTED]>, [email protected] Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Jose, > I want
to do using an mmap() entry point in a driver, in order to map > this to the
user. Of course in that case ioremap() does not work. > > Any Clue ? > 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. /* PowerPC endian control * - default is
cleared, big-endian */ #ifdef _PAGE_ENDIAN if (bar->little_endian) {
pgprot_val(vma->vm_page_prot) |= _PAGE_ENDIAN; } else {
pgprot_val(vma->vm_page_prot) &= ~_PAGE_ENDIAN; } if
(pgprot_val(vma->vm_page_prot) & _PAGE_ENDIAN) { LOG_DEBUG("_PAGE_ENDIAN is
set\n"); } else { LOG_DEBUG("_PAGE_ENDIAN is not set\n"); } #endif It might be
the same for the PQ3 ... at least it'll be pretty similar. Dave
------------------------------ _______________________________________________
Linuxppc-embedded mailing list [email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded End of Linuxppc-embedded
Digest, Vol 36, Issue 59 *************************************************_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded