How to debug Linux console freeze

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to debug Linux console freeze

693 Views
steve_dunnagan
Contributor I

I used Buildroot for the i.MX6UL EVK evaluation board, and that's working fine.  I'm using Buildroot for our i.MX6UL based product, and the kernel boots and I can login, but shortly after that the console hangs. 

I've tried the following:

* Set ulimits in a start-up script.

* Blink an LED.  The LED stops blinking at about the same time as the console hangs.

* Check available memory; looks fine.

* Check /var/log/messages; looks fine.

* Check dmesg; nothing suspicious.

I'm hoping for suggestions on how to debug further.

Steve

0 Kudos
Reply
1 Reply

642 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Steve,

There is no way to debug the console but you add printf to see whats happens for debugging linux you need ARM DS 5 or Lauterbach, Check this link for debugging:

Linux Dynamic Debug 

https://community.nxp.com/message/434582 

Regards

0 Kudos
Reply