07-03-2019, 05:43 AM
Hello,
I'm trying use serial ports(ttyS1, ttyS2) on Android 7.
Should I enable the console?
Thanx
I'm trying use serial ports(ttyS1, ttyS2) on Android 7.
Should I enable the console?
Quote:rk3399_mid:/ # dmesg | grep ttyHow to do it?
[ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 androidboot.baseband=N/A androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x000020
00@0x00004000(trust),0x00002000@0x00006000(misc),0x00008000@0x00008000(resource),0x0000C000@0x00010000(kernel),0x00010000@0x0001C000(boot),0x00020000@0x0002C000(recovery),0x00038000@0x0004C000(backup),0x00040000@0x00084000(cache),0x00300000@0x000C4000(system),0x000
08000@0x003C4000(metadata),0x00000040@0x003CC000(verity_mode),0x00002000@0x003CC040(baseparamer),0x00000400@0x003CE040(frp),-@0x003CE440(userdata) storagemedia=sd uboot_logo=0x02000000@0x7dc00000 loader.timestamp=2018-08-15_17:21:16 SecureBootCheckOk=0
[ 0.155703] Registered FIQ tty driver
[ 0.188671] console [ttyFIQ0] enabled
[ 0.190480] Registered fiq debugger ttyFIQ0
[ 0.930375] console [ttyS0] disabled
[ 0.930425] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 34, base_baud = 1500000) is a 16550A
Thanx