Home > OS >  Linux - 4.4.52 serial 8250 uninitialized ttyS1, only initialize ttyS0
Linux - 4.4.52 serial 8250 uninitialized ttyS1, only initialize ttyS0

Time:02-03

problem: Linux - 4.4.52 serial 8250 uninitialized ttyS1, see only the ttyS0 initialization, why didn't ttyS1 initialization?

The kernel startup log below to see only the ttyS0 initialization;
 
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
The console/ttyS0 disabled
F1012000. Serial: ttyS0 at MMIO 0 xf1012000 (irq=21, base_baud=12500000) is a 16550 a
The console/ttyS0 enabled


The kernel of the compiler options, and from the file include/general/autoconf. H, confirm the correct configuration values
 
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_DW=y
CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4


Device tree information below
 
Serial @ 12000 {
status="okay";
};

Serial @ 12100 {
Pinctrl - names="default";
Pinctrl - 0=& lt; & Uart1_pins & gt;;
status="okay";
};
  • Related