imx8 mini serial interface frequent freeze

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

imx8 mini serial interface frequent freeze

783 Views
Vikas_bansal
Contributor I

I have imx8mmevk, after booting, I have connected it via serial interface as I am using dpdk which has binded ethernet interface. 

With Serial port device works fine for sometime but after a while serial port start responding very slow. It echo less character after typing and printing char incomplete and non formatted way. sometime respond slow or no response. 

It again works fine after reboot sometime after reflash. Does anyone have faced similar issue or suggest what shall be done to avoid this.

 

Thanks,

Vikas Bansal

0 Kudos
Reply
4 Replies

715 Views
hemantagrawal
NXP Employee
NXP Employee

BTW, how are you running DPDK (which commands)?  are you making sure that you are not running the DPDK on core#0 (i.e. Linux OS core). also preferably you can set isolcpus=1-3 for the DPDK cores in mmc bootargs.  (check cat /proc/cmdline to ensure that bootargs are applied to linux).

 

0 Kudos
Reply

704 Views
Vikas_bansal
Contributor I

This happened even without running dpdk utility. 

I think we have found the rootcause. everytime we connect to serial port from Lab machine remotely and it opened a new serial session and a new process get created. and it seems from that point it started happening. 

I killed all the process from host machine and open a new serial interface and it worked perfectly fine. Seems the issue was not with the Eval board but with the host machine.

Thanks for all the response to help out in troubleshooting.

 

 

0 Kudos
Reply

764 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Check the whole clocks is setting correctly since it looks like a bad power management for the clock.

Regards

0 Kudos
Reply

728 Views
Vikas_bansal
Contributor I
Thanks for your response, I have flashed the eval board with pre compiled software
https://www.nxp.com/webapp/sps/download/license.jsp?colCode=L6.6.3_1.0.0_MX8MM&appType=file1&DOWNLOA...


and not sure about which clock configuration shall be updated and with what value and procedure. Also couldn't related any help from userguide about this. Any suggestion and reference link would help.
We have additionally enabled DPDK in the boot config which is our main usecase for this eval board. If this is cause of the issue please suggest any relevant solution to fix.

Rebooting of hw also doesn't help. only reflash work for a couple of hour max and then it stuck again.

All help would be appreciated.
Thanks.
Vikas Bansal
0 Kudos
Reply