Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

[MMU Linux] Trouble with early_printk

I have discovered that EARLY_PRINTK is activated in linux-2.6/arch/nios2/Kconfig.

Does someone know how to deactivate it without patching this file?

The trouble is that "early_printk.c" supports only jtag_uart console, EVEN if deactivated in menuconfig.

I have also found another trouble: UARTs have to be called 'uart0' to 'uart3' in order to be initialized, but 'console.c' expects UART_BASE (and not UART0_BASE) to be defined in order to use the serial port as boot console.

However, having patched Kconfig and console.c, I succeeded to boot using the UART console.

1 Reply