Question, i.MX8M serial debug console ports.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Question, i.MX8M serial debug console ports.

6,267 次查看
SLICE
Contributor IV

Dear team,

I would like to ask about serial debug message output ports of i.MX8M.

Is it possible to change the debug ports to other ports than used on your EVK board?

If an internal boot rom of i.MX8M uses the ports, please let me know.

Thanks,

Miyamoto

标签 (1)
0 项奖励
回复
5 回复数

5,360 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Miyamoto

could you clarify what do you mean by "change the debug ports", if this uboot, linux or smth else.

In uboot one can look at #define CONFIG_MXC_UART in

uboot/include/configs/imx8mq_evk.h

imx8mq_evk.h\configs\include - uboot-imx - i.MX U-Boot 

In linux using console kernel parameter as described in

Table 10. Common kernel boot parameters attached Release Notes.

check for  "&uart1 { /* console */" ..
in linux dts file : linux/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk.dts

fsl-imx8mq-evk.dts\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 

ROM does not use uart.

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

0 项奖励
回复

5,360 次查看
SLICE
Contributor IV

Hello Igor,

The customer thinks that if iROM uses serial port for debugging, there might be problem when they change the debug port. And you said iROM does not use it.

So, I will inform the customer that one can change the port in their software including u-boot or linux implementation.

Thanks,

Miyamoto

0 项奖励
回复

5,360 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Miyamoto

iROM does not use serial port for debugging.

Best regards
igor

0 项奖励
回复

5,360 次查看
george
Senior Contributor II

Dear igorpadykov

In my understanding, u-boot for i.MX8MQ-EVK uses Device-Tree as default.

Is the change to the device-tree unnecessary like kernel?

fsl-imx8mq-evk.dts\dts\arm\arch - uboot-imx - i.MX U-Boot 

Best Regards,

Fukutomi

0 项奖励
回复

5,360 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Fukutomi

this is general uboot question, suggest to post on uboot mail list. In particular it is discussed on many forums, like

arm - Why Device Tree Structure (DTS) file is needed both in bootloader and kernel source code? - St... 

Best regards
igor

0 项奖励
回复