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
- 63 Announcements & News
- 58 Product News - New Product/Product Change Notice/ End-of-life
- 99 Welcome Developers!
- 46 Unboxing & Project Sharing
- 114 Tech Updates
- 3.4K UP Products
- 14 UP 7000
- 1 UP Squared i12
- 12 UP Xtreme i12
- 13 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 23 UP Squared V2
- 63 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 57 UP Squared Pro
- 135 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 265 Starter Kits & Peripheral