
Hi!
I'm new to u-boot and i'm trying to figure out how to compile a version which uses UART 4 on the omap4 instead of UART 3. I've been digging through the mailing list archive without finding anything to help me.
From what i understand the pins are muxed correctly by default in "board/duovero/duovero_mux_data.h"
{UART4_RX, (PTU | IEN | M0)}, /* uart4_rx */ {UART4_TX, (M0)}, /* uart4_tx */
I changed "include/configs/omap4_common.h"
#define CONFIG_SYS_NS16550_COM3 UART3_BASE
to read
#define CONFIG_SYS_NS16550_COM3 UART4_BASE
and added the UART4_BASE definition to "arch/arm/include/asm/arch-omap4/omap.h":
#define UART4_BASE (OMAP44XX_L4_PER_BASE + 0x6e000)
this should be the correct base address for uart4 from what i understand.
However, it doesn't work. I also tried UART2 which doesn't work either. Only one that works is UART3.
I'm probably missing something critical so I figured i would ask here if anyone can give me a hint on how it's supposed to be done?
Regards Daniel Malmquist