guide for serial console & early printk enabling?

hi Team,
on UP Xtreme board,
do have a guide for serial console & early printk enabling? on either Ubuntu or Debian,
just like wiki for UP2:
https://wiki.up-community.org/Serial_console
and 'early printk' is useful when a linux kernel image fail to boot.
I know we can google it but still handy if have a wiki/guide on UP Xtreme's support website.
BR fino
Best Answers
-
well, I found on UP Xtreme (cpu is WHL8565U),
debug serial port (in M10 header ) is /dev/ttyS2 -
tested out on Debian 10, the only necessary update in /etc/default/grub is GRUB_CMDLINE_LINUX, others are not need in most common case;
GRUB_CMDLINE_LINUX="console=tty1 console=ttyS2,115200n8" #GRUB_TERMINAL="serial" #GRUB_TERMINAL_INPUT="console serial" #GRUB_TERMINAL_OUTPUT="gfxterm serial" #GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
others:
if removeconsole=tty1
, boot time printk msg will not show on monitor, that's the only difference I found.
if u can see output in putty/minicom on host machine, but cannot input by keyboard, check your serial cable's RX/TX connection.
Categories
- All Categories
- 105 Announcements & News
- 55 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 55 Unboxing & Project Sharing
- 32 Tech Updates
- 660 UP Products
- 1 UP 7000
- UP Squared i12
- 8 UP Xtreme i12
- 9 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 18 UP Squared V2
- 54 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 58 UP Squared Pro
- 142 UP Xtreme
- 834 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 215 Starter Kits & Peripheral