i.MX6Q-SDP USB转串口只能输出,不能输入,看指导上有Kernel command line (bootargs)中有androidboot.selinux=disabled,但是不知道怎么用啊,而且selinux的开关,在\kernel_imx\arch\arm\configs下的imx_v7_android_defconfig中已经把CONFIG_SECURITY_SELINUX=y注释掉了,selinux关了,但是串口还是只能输出,求指导
你有哪些疑问呀,现在是iMX6Q Sabre SD,下载了5.0.2的源码系统,打了飞思卡尔的patch,android_L5.0.0_1.0.0-ga_core_source.gz,USB转串口只能打印出log,指导里有一个这个,Kernel command line (bootargs)
Depending on the different booting/usage scenarios, you may need different kernel boot parameters set for bootargs.
androidboot.selinux=disabled For Android Lollipop 5.0.0 CTS
requirement, serial input should be disabled
by default. Setting this argument enables
console serial input, which violates the CTS
requirement.
Setting this argument also bypasses all the
selinux rules defined in the Android system.
It is recommended to set this argument for
internal developers.