Question, i.MX8M serial debug console ports.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Question, i.MX8M serial debug console ports.

6,245件の閲覧回数
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,338件の閲覧回数
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,338件の閲覧回数
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,338件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Miyamoto

iROM does not use serial port for debugging.

Best regards
igor

0 件の賞賛
返信

5,338件の閲覧回数
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,338件の閲覧回数
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 件の賞賛
返信