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.

is there a simple way to modify uart2 to uart0 in u-boot

hi, as title, is there a way to modify the default console serial port? say wanna change from UART2 to UART0, how to modify ?

  • Depends on your definition of simple. From what I've seen, U-Boot's console is hard-coded in the source. You need to change the source and rebuild U-Boot. Runtime setting does not seem possible. Looks like the default UART is defined in the your board's header in include/configs.

  • made it and as for other users:

    modify the UART2 base to UART0 in da850.h config

    mark any other UART2 initialize code (UBL already made it, for UART0, there are bugs in UBL codes, must change before we could use UART0)

    that's all, I think that's simple