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-bootand also tried to change the menuconfig in linux like below :kernel hacking => Kernel low-level debugging functionschoose in Kernel low-level debugging port to Use S3C UART 0 for low-level debugBut it didn't work.please let me know if there's another way to change the dafault uart from 2 to 0 that i missedthank you.
odroidxu4 changing default uart2 to uart0
linux;uart
Concerning the output from Linux (and not your bootloader, i.e. U-Boot or possible something before that), you would simply change the console= command line parameter, see http://elinux.org/Serial_console and https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt.