(十一)tina | openwrt关闭调试串口(DEBUG UART)
//编辑以下文件
vi target/allwinner/astar-parrot/base-files/etc/inittab //不同系统文件路径注意更改
//文件内容如下,注释::askconsole:/bin/ash --login这条内容
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K shutdown
#::askconsole:/bin/ash --login
//再次编译以下文件:
vi package/base-files/files/etc/config/system
//内容如下
config system
option 'conloglevel' '1' //新加这条语句
option 'kconloglevel' '1' //新加这条语句
option hostname TinaLinux
option timezone Asia/Shanghai
option timezone CST-8
option log_file /root/.lastlog
option log_size 512
option log_buffer_size 64
config timeserver ntp
list server ntp5.aliyun.com
list server 0.openwrt.pool.ntp.org
list server 0.cn.pool.ntp.org
option enable 1
option enable_server 0
config 'led'
option 'name' 'red'
option 'sysfs' 'led1'
option 'brightness' '120'
option 'trigger' 'timer'