[i.MX8MP] M7 DEBUG PORT

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

[i.MX8MP] M7 DEBUG PORT

Jump to solution
972 Views
petertseng
Contributor IV

I'm designing a customer's board using i.MX8MP

And I noticed that on IMX8MP-EVK respectively using

- UART2 for A53 debug output (KERNEL)

- UART4 for M7 debug output

petertseng_0-1706777931418.png

Under what circumstances will the M7 debug port be used?

Does the M7 debug port need to be retained?

 

Regards,

 

 

0 Kudos
Reply
1 Solution
957 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @petertseng!
Thank you for contacting NXP Support!

We reserve the uart4 for M core debug in case you are using that core, but you can use the uart4 on A core.

If you want to use the UART4 under Linux, please check this guide:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-UART4-on-iMX8M-from-Linux-Use...

Best Regards!
Chavira

View solution in original post

0 Kudos
Reply
4 Replies
958 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @petertseng!
Thank you for contacting NXP Support!

We reserve the uart4 for M core debug in case you are using that core, but you can use the uart4 on A core.

If you want to use the UART4 under Linux, please check this guide:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-UART4-on-iMX8M-from-Linux-Use...

Best Regards!
Chavira

0 Kudos
Reply
928 Views
petertseng
Contributor IV

Hi Chavira,

I'm using the LF6.1.22-2.0.0 imx manifest.

https://community.nxp.com/t5/i-MX-Processors/IMX8MP-uart2-to-uart4/td-p/1616936

I have added all the patches based on the above article.

 

But when I try to use UUU to burn the sd.bin-flash_evk file I get the following error.

petertseng_1-1707101923002.png


Best Regards
Peter 

0 Kudos
Reply
905 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @petertseng!

What board are you using?

Try to see if your board is connected correctly using the command "uuu -lsusb"

The patches of the post that you are referring to are to change the UART2 for UART4 to console debug for A core.

To add the UART4 to be used in Linux you have to refer to the post that I mentioned before.

To burn only the imx-boot image you have to use the next command:

uuu -b emmc imx-boot.bin

To burn the imx-boot image and the rootfs you have to use the next command:

uuu -b emmc_all imx-boot.bin imx-image.wic

If you are using Linux try with sudo and if you are using Windows open the PowerShell with administrator permissions


Best Regards!
Chavira

0 Kudos
Reply
896 Views
petertseng
Contributor IV

Hi Chavira,

Thanks for your reply!

Since the customer's PCB is still being designed, I can only use 8MPLUS-BB EVK for verification.

I previously referred to TARGET_IMX8MP_DDR4_EVK to create a customer's module.

But it seems that you can only use TARGET_IMX8MP_EVK (LPDDR4) to verify on EVK.

Now I can burn images to EVK, and UART4 also works fine

 

Best Regards
Peter 

0 Kudos
Reply