FAQ: how to enable the serial to get kernel booting messages

FAQ: how to enable the serial to get kernel booting messages

Yocto Linux running on the EDSC-2012 ZLG board doesn't output booting messages to the serial by default.

We can pass such kernel parameters to the kernel "earlyprintk=serial,0xE070,115200,keep
console=tty0 console=ttyPCH0 ignore_loglevel
(e.g., passing this to the syslinux loader -- this needs to modify the "APPEND ..." line inthe syslinux.cfg file) to enable the serial to output the messages.

This can be useful for debugging kernel module, too.

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

there are two serial port on the develop platform, which port does your method sepicify?

I mean the first one. You can try them one by one to find which one is the PCH0.If you add "console=ttyPCH1" in the kernel parameter, the 2nd one should work, too.

Leave a Comment

Please sign in to add a comment. Not a member? Join today