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
- 301 All Categories
- 104 Announcements & News
- 51 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 52 Unboxing & Project Sharing
- 24 Tech Updates
- 548 UP Products
- 1 UP Xtreme i12
- UP Squared Pro 7000
- 1 UP Element i12 Edge
- 10 UP Squared V2
- 25 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 44 UP Squared Pro
- 140 UP Xtreme
- 819 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 43 UP AI Edge
- 215 Starter Kits & Peripheral