Linuxppc-dev Digest, Vol 81, Issue 140
A message that is not in the archive (sent off-list or not yet received): [email protected]
I have developed a simple polling based serial device driver for PC's serial port (COM1: 0x3F8) which works fine. Now I want to implement the same on UART # 1 of PPC440EPx (Sequoia board).
By changing the base address 0x3F8 to UART# 1 base address (0xEF600400) in Sequoia it does not work and return all the registers contents from 0xEF600400 to 0xEF600407 as 0xFF.
Whereas existing ttyS1 driver works for UART# 1.
How can I access the UART# 1 registers in a custom serial driver under kernel space.
Waseem
Quoted 4 lines · Muhammad Waseem
I have developed a simple polling based serial device driver for PC's serial port (COM1:
0x3F8) which works fine. Now I want to implement the same on UART # 1 of PPC440EPx (Sequoia board).
Quoted 8 lines
By changing the base address
0x3F8to UART# 1 base address (0xEF600400) in Sequoia it does not work and return all the registers contents from0xEF600400to0xEF600407as0xFF.Whereas existing ttyS1 driver works for UART# 1.
How can I access the UART# 1 registers in a custom serial driver under kernel space.
If you post your driver code, we can review it.
josh