odroidxu4 changing default uart2 to uart0

45 views Asked by At

previously thank you for watching this post.

I have tried to run linux on odroidxu4 and of course the logs are written through uart2 (this uart seems default in odroidxu4)

But what I'm trying to do is changing the linux to write the logs with uart0 not the uart2.

I tried to change the default uart port from 2 to 0 by modifying the code in common/serial.c in u-boot

and also tried to change the menuconfig in linux like below :

  1. kernel hacking => Kernel low-level debugging functions
  2. choose in "Kernel low-level debugging port" to "Use S3C UART 0 for low-level debug"

But it didn't work.

please let me know if there's another way to change the dafault uart from 2 to 0 that i missed

thank you.

0

There are 0 answers