Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

[MMU Linux] Trouble with early_printk

Altera_Forum
Honored Contributor II
1,045 Views

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.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
304 Views

Will your patches be included in the distr ?  

 

-Michael
0 Kudos
Reply