i.MX 8M Mini EVK UART4 unavailable

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

i.MX 8M Mini EVK UART4 unavailable

748 Views
ronan_legallic
Contributor I

Hello,

My question is: how to send IMSG traces to uart4?

In details:
- I work with an i.MX 8M Mini EVK board (machine imx8mm)
- I have built an image (full-command-line) from imx-linuxwarrior (imx-4.19.35-1.1.0)
- Boot is OK, testx is OK
- I can build and run optee demo samples BUT no way to see IMSG text.

I build TA with CFG_TEE_TA_LOG_LEVEL ?= 4
I checked in "conf.mak" that trace is enabled: CFG_TEE_CORE_TA_TRACE=y

In this file I see also that CFG_UART_BASE=UART2_BASE
- is it the right value?
- if not, where to change this value to be compiled  with (i see this value in many .mk files...)

In another file "build/tmp/work-shared/imx8mmevk/kernel-source/arch/arm64/boot/dts/freescale/fsl-imx8mm-m4.dts"

I tried to change the status of uart4:

&uart4 {
    status = "okay";
};

but no change, uart4 is still silent.

Thanks in advance for your help.

Best Regards

Ronan

Labels (1)
Tags (2)
0 Kudos
1 Reply

619 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ronan

one can try solution suggested on

imx8m mini uart4 

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

0 Kudos