iMX8QM-MEK UART from SCFW

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

iMX8QM-MEK UART from SCFW

1,986 Views
stuartrubin
Contributor III

I have made nominal changes to the SCFW and would like to have some debug output to the terminal. I need to use the same USB-to-Serial port which is used by U-Boot and Linux for their terminals ("USB Debug", J18, /dev/ttyUSB0).

I have built the SCFW with various debug / UART settings, but whatever I do, I do not get any output from the SCFW on the terminal. The first things I see on the terminal are from U-Boot.

Without any changes to the SCFW source code, I build like this:

$ make qm R=B0 B=myboard D=1 DL=3 U=0 M=1

and have experimented with other DL, U, M settings.

Ideally, I would like to still have the U-Boot and Linux terminals working on the USB Debug terminal as well, but I'm not sure if that is possible.

Thank you very much!

Tags (1)
0 Kudos
1 Reply

1,749 Views
igorpadykov
NXP Employee
NXP Employee

Hi Stuart

general way to build SCFW with enabled Debug Monitor is described on

System Controller Firmware 101 - Resource management service 

However depending on SCFW version there may be differencies, for example

described in Chapter 4 attached SCFW Release Notes version v1.3.0 used with

 L4.14.98_2.3.0

pastedImage_2.jpg

Note SCFW version should be aligned with Linux version as described in

i.MX 8QuadMax Automotive and Infotainment Applications Processors  :

pastedImage_3.jpg

Also may be useful

Normal and Secure Debug for i.MX8/8X Family of Applications Processors

https://community.nxp.com/docs/DOC-343054 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------