有个问题请问一下,我们用MFGTOOL通过USB烧录时串行口完全没有打印消息,虽然烧录后系统能跑,但这个工具在使用时里面也运行了LINUX,应该系统启动时一样有打印,现在就是没有,是什么原因?
CPU是IMX6Q, 用的LTIB L3.0.35_4.1.0, MFGTOOL也是对应的,MFGTOOL依赖的UBOOT,KERNEL 相应LOG功能也是打开的, UBOOT 启动命令如下这个样子:
#define CONFIG_BOOTARGS "console=ttymxc0,115200 rdinit=/linuxrc "\
"enable_wait_mode=off"
Are you using the i.MX6Q sdb board from NXP or the board you design yourself?
How about your setting for the uart port?
I use a SecureCRT for uart terminal, it connects the imx6 uart1, it works well for debug, the configures like this:
but the mfgtool has no any comX at PC, the PC os is win10, it's affected by os?
Or it need a windows driver?
OK, but I can't see any serial port on PC.
Have you interface your board to PC, and change the boot mode to download mode?
Yes, in the screenshot, the mfgtool is connected to device and in download mode.
How about the uart port connect?
the imx6 uart1 connects to PC for normal boot debug as a terminal, it can see log. The putty or secureCRT has no log when mfgtool downloading, whatever the uart1 connects to PC or not.
the uart connects to com7, it cann't see any log, but it's OK when normal boot.
Have you set the proper uart port parameters? It seems that the uart is working now.
Yes, the uart works well when device booting.