[U-Boot] [PATCH ] call printf in sdram_rk3188.c on spl stage will hang the system

Andy Yan andy.yan at rock-chips.com
Fri Oct 13 06:25:13 UTC 2017


    I found my rk3188 evb can't bootup(no any log on the console) if
I didn't define EARLY_UART in function board_init_f(rk3188_board_spl.c).
    With EARLY_UART defined, I can see "first data training fail"
from console, and the system can bootup. I removed that printf,
the system can also bootup without the defined of EARLY_UART.
   It seems that we shouldn't call printf before setting iomux of uart?



-- 
2.7.4




More information about the U-Boot mailing list