Здравствуйте, может быть кто сможет подсказать, что я делаю не так? Есть плата на ARM64, к ней я подключён через последовательный порт uart(у меня на компе он отображается как ttyUSB0, т.к. это usb конвертер) и я собрал для него ядро 5.10.110, выставил параметры загрузки ядра:
append earlycon=uart8250,mmio32,0xfeb50000 console=ttyS1,1500000 console=tty1 root=/dev/mmcblk1p3 rootwait ro rootfstype=ext4 ignore_loglevel initcall_debug debug init=/sbin/init cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
, наблюдаю вывод ровно до запуска процесса /init, его самого в консоли(по uart) не вижу, но вижу его при подключении монитора. Мне монитор не нужен, драва к нему я уберу позже. Мне нужен вывод из консоли. Кто знает почему я его не вижу и что сделать, чтобы по uart я увидел работу /init?
Выдержка из документации по последовательному порту говорит, что это должно работать..:
You can specify multiple console= options on the kernel command line.
Output will appear on all of them. The last device will be used when
you open ``/dev/console``. So, for example::
console=ttyS1,9600 console=tty0
defines that opening ``/dev/console`` will get you the current foreground
virtual console, and kernel messages will appear on both the VGA
console and the 2nd serial port (ttyS1 or COM2) at 9600 baud.
Note that you can only define one console per device type (serial, video).
If no console device is specified, the first device found capable of
acting as a system console will be used. At this time, the system
first looks for a VGA card and then for a serial port. So if you don't
have a VGA card in your system the first serial port will automatically
become the console