|
sam9x5将调试串口改成普通串口的方法:
1、修改内核配置:
[mw_shl_code=bash,true]make ARCH=arm menuconfig[/mw_shl_code]
Device Drivers --->
Character devices --->
Serial drivers --->
[ ] Support for console on AT91 / AT32 serial port
2、修改inittab文件:
[mw_shl_code=bash,true]vi /etc/inittab [/mw_shl_code]
注释掉 S:2345:respawn:/sbin/getty 115200 ttyS0
[mw_shl_code=bash,true] # S:2345:respawn:/sbin/getty 115200 ttyS0[/mw_shl_code]
注意:改过后无法再通过串口登陆开发板,请提前设置好其他途径登录开发板,如telnet、ssh等(前提开发板开机开启了telnet服务,参考:http://bbs.myir-tech.com/thread-341-1-1.html)。
|
|