[yocto] Disable UART Console for Pi 0

Khem Raj raj.khem at gmail.com
Tue Jan 30 12:37:31 PST 2018


On 1/26/18 3:25 PM, Nathan Roberts wrote:
> extra-build-config.md <http://extra-build-config.md> states
> "|RaspberryPi 0, 1, 2 and CM will have UART console enabled by default."
> 
> |
> |I have a Pi 0 (not a Pi 0W), and want to disable the UART console when
> an image is built (I know how to manually do it after the iamge is built).
> 
> |
> |the above file also states:
> |
> 
> |Users who want serial console support on RaspberryPi3 will have to
> explicitely set in local.conf: ENABLE_UART = "1"|
> 
> 
> So I assumed to disable I should add to local.conf
> 
> |ENABLE_UART = "0"

yes that is correct.

> 
> |
> 
> |but when I do this the image wont boot (no error messages).

how do you know it does not boot since the console it disabled now,
probably you should check other means e.g. IP address or ping or ssh
or some other networked command to ensure the system is up.

> 
> |
> 
> |What is the best practice method of disabling UART console when
> building an image?

you already noted it above.

> 
> |
> 
> |Nathan
> |
> 
> ||
> 




More information about the yocto mailing list