This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP-L138, Linux kernel boot hangs after

Other Parts Discussed in Thread: OMAP-L138

Hello,

We are developping a custom board based on the OMAP-L138 SOC with a design closest as possible to the LogicPD da850evm board.

Main differences are :

- DDR2 instead of mDDR

- 83848 PHY chip instead of 8720 PHY chip  without I2C stuff

- serial console available only on UART 0.

I am using the last psp : DaVinci-PSP-SDK-03.22.00.02.tgz.

I have modified succesfully U-Boot and it now works fine. It loads the Linux kernel uImage through TFTP and launch it.

The kernel hangs after :

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

I have done some modifications to Linux Kernel board-da850-evm.c file :

- add a davini_cfg_reg_list(da850_uart0_pins) call

- comment the __raw_writel(0, IO_ADDRESS(DA8XXX_UART0_BASE) + 0x30);

- in the da850_evm_console_init() function, set the preferred console at 0 instead of 2

In the U-Boot bootargs, I set the console to ttyS0.

I had configured the kernel to use the RMII PHY instead of MII.

I have enabled CONFIG_SERIAL_8250_CONSOLE in  the kernel config Drivers section and

enabled CONFIG_DEBUG_LL in the Kernel hacking section.

I had also tried to replace, in the bootargs, the console=/dev/ttyS0 by console=uart,io,0xe1020000 without success.

Does the kernel reconfigure the memory controller ? (I have not find where).

Have I to apply the same modifications than that applied to U-Boot ?

Do I miss some modification needed to use the UART0 instead of UART2 allowing early kernel traces.Any help is welcome.

 

Thank you

 

Gilbert Brisset.