imx6sx主板M4串口乱码的问题

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

imx6sx主板M4串口乱码的问题

Jump to solution
1,277 Views
jingyangxie
Contributor V

我有一块imx6sxsabresd的主板,在M4不添加多核通信的时候,串口打印正常,但是当内核加入了RPMSG模块后,串口就出现乱码,请问这是什么原因?

PS:uboot环境变量

         mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot},uart_from_osc

已经加了uart_from_os,而且我发现不管加不加uart_from_os,串口都会乱码

Labels (2)
0 Kudos
1 Solution
924 Views
BiyongSUN
NXP Employee
NXP Employee

多了个逗号 

 试验一下这个

setenv mmcargs 'setenv bootargs console=${console},${baudrate} root=${mmcroot}  uart_from_osc=1'

View solution in original post

0 Kudos
5 Replies
925 Views
BiyongSUN
NXP Employee
NXP Employee

多了个逗号 

 试验一下这个

setenv mmcargs 'setenv bootargs console=${console},${baudrate} root=${mmcroot}  uart_from_osc=1'

0 Kudos
924 Views
jingyangxie
Contributor V

Hi,Sun

     谢谢你的回答,我按照你的更改了,现象还是一样,乱码

0 Kudos
924 Views
BiyongSUN
NXP Employee
NXP Employee

Linux 版本 和 freeRTOS的版本是多少? 

0 Kudos
924 Views
jingyangxie
Contributor V

Hi,Sun

     多谢你的帮助,我刚刚操作有误,现在按照你的方法,已经不乱码了,太谢谢了!

0 Kudos
924 Views
BiyongSUN
NXP Employee
NXP Employee

1. Linux  cat /proc/cmdline  确认一下 传进kernel 的parameter

2. 现在 RPMSG run 在哪里?  tcm? ocram?  DDR? memory layout 看一下。 

0 Kudos