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

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

Imagen de Dexuan Cui (Intel)

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.

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de songjun54cm

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

Imagen de Dexuan Cui (Intel)

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.

Inicie sesión para dejar un comentario.