Early console patch for iMX 3.1x kernel to print debug messages from debug UART port

cancel
Showing results for 
Search instead for 
Did you mean: 

Early console patch for iMX 3.1x kernel to print debug messages from debug UART port

Early console patch for iMX 3.1x kernel to print debug messages from debug UART port

From iMX 3.1x kernel, all kernel debug messages will be print to debug serial port after UART driver loaded, so if the kernel hang up before tty console driver ready, there will be no kernel boot up messages.

 

The attached patch can be used to enable the iMX serial debug console in early time, then kernel will not buffer the debug messages.

 

Note: the default patch is for UART1 (tty0) as the debug port, if you need use other debug port, please modify the code "early_console_setup()" with correct UART port base address.

 

L3.10.53-Add-early-console-for-debug-message.patch

This patch is based on L3.10.53_GA1.1.0 release, it can support iMX6S/DL/D/Q.

 

L3.14.52-Add-early-console-for-debug-message.patch

This patch is based on L3.14.52_GA1.1.0 release, it can support iMX6S/DL/D/Q, iMX6SL, iMX6SX, iMX6UL and iMX7.

 

Tags (2)
Attachments
Version history
Revision #:
1 of 1
Last update:
‎06-27-2016 08:49 PM
Updated by: