Skip to contentSkip to conversation

Where do head.S initialize UART?

DISCUSSION Pei-Jie Hong 3 participants 3 messages Jul 31, 2000 – Aug 1, 2000

lore
Share & tools
lore
#0 lore raw

I am porting Linux to a PowerPC VME board. I am now tracing head.S. Can anyone
tell me where do head.S start to initialize the UART? Thanks.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 4 lines · Pei-Jie Hong

I am porting Linux to a PowerPC VME board. I am now tracing head.S. Can anyone
tell me where do head.S start to initialize the UART? Thanks.

It does not, the UART basic setup should be done by the Firmware or perhaps by the initial bootloader. But otherwise it is postponed until the console is initialized.

Regards,
Gabriel.

P.S: which VME board ? (I have a few Motorola's ones around 2400, and 2600)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw

initialize the UART at arch/ppc/8xx_io/uart.c

    rs_8xx_init()
Quoted 12 lines · Pei-Jie Hong
Quoted 5 lines

I am porting Linux to a PowerPC VME board. I am now tracing head.S. Can anyone
tell me where do head.S start to initialize the UART? Thanks.

It does not, the UART basic setup should be done by the Firmware or perhaps by the initial bootloader. But otherwise it is postponed until the console is initialized.

Quoted 9 lines

Regards,
Gabriel.

P.S: which VME board ? (I have a few Motorola's ones around 2400, and 2600)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/