AnsweredAssumed Answered

IMX BSP imx-4.9.11-1.0.0_ga kernel init printk output deferred

Question asked by Kees Trommel on Oct 24, 2017
Latest reply on Oct 31, 2017 by Cosmin Stefan Stoica
Branched to a new discussion

Using IMX BSP version imx-4.9.11-1.0.0_ga the output of printk is deferred during the linux initialization to some (unknown) point in the kernel initialization. If the kernel starts normal this is hardly visible but if the kernel init halts for some reason (e.g. in case of a kernel driver initialization failure) before the delayed printk output is flushed to the console then nothing is printed.

 

This behavior makes it impossible to debug early driver failures using printk.

 

This behavior did not exist in the previous IMX BSP version (imx-4.1.15_2.1.0_ga).

 

What is causing this new behavior? Is it possible using a config parameter or a patch to revert back to the imx-4.1.15_2.1.0_ga behavior?

Outcomes