OE4T / meta-tegra

BSP layer for NVIDIA Jetson platforms, based on L4T
MIT License
385 stars 216 forks source link

Using earlycon in the cmdline. #1437

Closed bchoineubility closed 6 months ago

bchoineubility commented 7 months ago

Hi,

I have a question.

If I add earlycon to extlinux.conf, can I see logs before boot logs on the fb console?

I hope to know exact usage of earlyconf for tegra 194.

BR, Mark

madisongh commented 6 months ago

I don't think the kernel's earlycon support works for framebuffer consoles - it's too early in the boot for that, and you usually specify a UART for the earlycon output.

bchoineubility commented 6 months ago

@madisongh

Thanks. can I assign earlycon to other uart, for example uart 1?

madisongh commented 6 months ago

I've never tried it, but in theory it should be possible. You might want to check the NVIDIA dev forums... there have been many threads there on the topic of using alternate UARTs for console output.

bchoineubility commented 6 months ago

@madisongh

OK thanks.

BR, Mark