1 1
maxxfi

Lime 2 serial console on armbian (getty)

Recommended Posts

Hi,

 

is it possible to have the serial/UART on the Olimex LIME2 to work as a serial console on Armbian Jessie (kernel version 4.5.2)? The UART is already working during early boot, but once kernel is loaded it becomes inactive.

 

/boot/boot.cmd contains:

setenv bootargs "console=tty1 root=/dev/sda1 rootwait rootfstype=ext4 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1"

Thanks

 

Share this post


Link to post
Share on other sites

Initial output after start/reboot is from u-boot.

To use serial console as main for kernel messages and init progress, change

console=tty1

to

console=ttyS0,115200

in boot script and recompile it using command at the end of the file.

Share this post


Link to post
Share on other sites

Ah... thanks! 

So, where is the 'tty1' setting currently sending the console to?

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
1 1