1 到指定目录下找到tcu_muxer工具路径
cd drive_foundation
find ./ -name tcu_muxer
2 cd ./tools/muxer/tcu_muxer
sudo ../tcu_muxer -g 13 -b 12 -d /dev/ttyUSB0 -s ~/tmp0 -l ././tools/muxer/tcu_muxer
注:该命令需要root权限
-h : Print this helpscreen
-i : Disable the patch forline ending
-u : Useseparate uart_muxer tool forGuest console
-g <int> : Spawn <int> consoles forHypervisor. Default: 1-d <dev> : SelectUART device <dev> tocommunicate with. Default: /dev/ttyUSB3
-r <rate>: SelectUART I/O speed <rate>. Default: 115200-b <int> : Print Hypervisor broadcast onlyonconsole <int>. This valuestarts from0(zero).
-s <path>: Save the outputtoa directory <path>
-l <path>: Save the raw outputwithtags toa logfile <path>
执行后,板子需重启
上面为虚拟串口,可以通过串口工具访问,当开机时只会打印指定的模块Log