Other Parts Discussed in Thread: OMAP-L138, AM1808
Hello,
I am using OMAP-L138 board with psp 3.21.0.04 in which U-boot console is by default directed to UART2 , and I am tring to rediect console, I tried 2 options but both do not work as I expected:
1)
I tried to change it so that the console from serial UART2 to UART1. What I did is changing in
include/configs/da850evm.h:
#define CONFIG_SYS_NS16550_COM1 DAVINCI_UART1_BASE
but I then see nothing in UART1 output. I know that uart1 works, becuase if I try to send characters through it it all works well.
Could it be that UART1 is set to different baudrate (not 115200) as I expect ? Maybe it got to do with the UBL which configure UART2 as console ?
2)
I also tried to redirect console to ethernet by doing the following after phy initialization in uboot
run_command("setenv stdout nc; setenv stdin nc");
I did not forget to define ncip: ncip = 192.168.3.10
I then see that only if the ethernet cable is connected to the pc (which ip is ncip) then u-boot executes bootcmd and the kernel starts to run. I am also able to see prints with netconsole with this ethernet connection.
BUT If the ethernet cable is not connected then the kernel does not start running. I dont know where the u-boot stoped (becuase there is no connection for the printings), but I have led which indicate that the u-boot did not execute the bootcmd.
It is also worth noting that the UBL i'm using is from older psp 3.20.00.11. (I upgraded the u-boot and kernel but did not try to upgrade the UBL)
Any Advice is welcomed,
Ran