Skip to contentSkip to conversation

Patches for the PXA architecture

U-Boot-Users Angelos Manousarides 1 participant 1 message Jun 6, 2006

lore
Share & tools
lore
#0 lore raw

I have a board with a PXA255 processor. This board has en external dual uart chip and I want to support console setup on either the PXA uarts, or one of the external uarts. I found the ns16550 driver which is quite handy and configurable. It works quite well and supports the shifted address bits to the external uart as well (PXA address pins 2-4 go to uart 0-2).

There is a problem however with the compilation when using the external uart. On the PXA uart driver (in cpu/pxa/serial.c) the code is included always, there are no conditional like in the freescale processors. I patched this file to isolate this code if one wants to use another uart. The patch is attached. Using this config the object CONFIG_PXA_CONSOLE (this can be renamed obviously if the developers don't find it appropriate) has to be defined along with the CONFIG_BTUART, CONFIG_FFUART and CONFIG_STUART.

Also attached is a patch for the davicom 9000 ethernet driver. When debugging is enabled the driver will not compile.

Both patches are for u-boot 1.1.4. I know this is a user list, but I don'y know what are the appropriate channels for bug fixes. I have added two platforms (this one and a freescale one, based on MPC8275) to u-boot, should I sumbit patched for them as well?

--
Angelos Manousarides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uart.patch
Type: text/x-patch
Size: 472 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060606/c4d28b2b/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dm9000.patch
Type: text/x-patch
Size: 773 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060606/c4d28b2b/attachment-0001.bin