cvxx Posted August 10, 2020 Posted August 10, 2020 Hi, I have connected Orange Pi Lite over serial UART, but looks like the default settings are to not output the boot log to serial. You can only see U-Boot messages, then "Uncompressing Linux kernel" and after some time the login prompt comes. What exactly do I need to change/configure to get the classic kernel boot log to serial console? Quote $ cat /proc/cmdline root=UUID=b5b787c1-ea46-43ab-9140-7e7440f6d48a rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=1 ubootpart=71a680ab-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 Quote $ uname -a Linux orangepilite 5.4.45-sunxi #20.05.4 SMP Sun Jun 14 21:46:20 CEST 2020 armv7l armv7l armv7l GNU/Linux Thanks
usual user Posted August 10, 2020 Posted August 10, 2020 24 minutes ago, cvxx said: loglevel=1 Increase loglevel, e.g. loglevel=9 for everything.
martinayotte Posted August 10, 2020 Posted August 10, 2020 and also change "console=both" to "console=serial" ...
Recommended Posts