linuxembedded-linuxu-bootyoctointel-edison

How to disable serial console(non-kernel) in u-boot


I am building a Yocto image for Intel Edison.

One of the image's components is u-boot with an Edison-specific patch. By default, Edison's UART port is used for u-boot console. I want to disable this feature, but only on the serial interface(u-boot also listens on USB and that needs to stay).

My main concern is the "Press any key to stop autoboot" feature on the UART port. I need this port to connect an accessory that might send something during the boot process of the main device.

How do I approach this problem? Is there an environment variable for this, or do I need to modify the sources?

Thanks in advance!


Solution

  • I'm getting back to this issue almost a year later, now I've managed to find a proper solution.

    The board I was working on had a reasonably new u-boot in its BSP. To disable the serial console I had to do the following:

    Example: If you are looking for board_early_init_f of Orange Pi 4B it is in /build/cache/sources/u-boot/v2020.10/board/rockchip/evb_rk3399/evb-rk3399.c

    That's it. Hope this helps someone else!


    see also