在am335x的uboot移植中,需要對列印序列槽進行配置,使其能列印輸出資訊。
主要是在menuconfig中配置:
Device Drivers --->
Serial drivers --->
[*] Enable an early debug UART for debugging
Select which UART will provide the debug UART (OMAP uart) --->
(0x44e09000) Base address of UART
(48000000) UART input clock
(2) UART register shift
[ ] Enable board-specific debug UART init
[*] Show a message when the debug UART starts up
參考ti官網:
https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/AM335X/linux/How_to_Guides/Board_Port/U-Boot.html#u-boot-bringup-debugging-tips