Early UART setup on 2.6 kernel for mpc85xx
mike zheng
mail4mz at gmail.com
Sat Aug 11 11:43:41 EST 2007
Hi All,
In order to debug the kernel 2.6, I want setup serial port with UART on
mpc85xx as early as possible. I add the register access code at the
beginning of platform_init(). For example, I try to write THR
register(0xe0004500). However the system just hanging there with this line.
If I comment out this line, everything works fine.
Here is the code my mpc85xx_cds_common.c:
void __init
platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
unsigned long r6, unsigned long r7)
{
....
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070810/3f0ebce0/attachment.htm>
More information about the Linuxppc-dev
mailing list