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) { .... }
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev