请教一下问题,TTL登陆控制台是如何实现?

##TTL登陆控制台
拿到用WIDORA-neo,接上 ttl线可以进行控制台输入命令

用过不少路由设备接TTL,也有看到别人用TTL直接登陆控制台进行命令行操作。
但是我自己编译的openwrt都没有搞定ttl登陆控制台的
所以想请教一下,这方面是如何实现的。是不是修改哪里参数还是uboot版本问题

success,thank for mango

change the target DTS file.
like:
/target/linux/ramips/dts/

TTL print
Kernel command line: console=ttyS2,57600 rootfstype=squashfs,jffs2
change ./target/linux/ramips/mt7688/config-3.18
Kernel command line: console=ttyS2,57600 console=ttyS0,57600 rootfstype=squashfs,jffs2
TTL 还是无法shell控制台登陆

openwrt’s default console is ttyS0,but some sdk may use others.
you can check the console param sets.