如何修改默认的终端输出
版主,怎么修改默认的终端输出到液晶屏(VGA)接口上,而不是现在的串口。有没有这方面的资料。谢谢 1# wzq204
1、修改uboot传递给内核的启动参数,在include/config/EmbedSky.h,修改内容:将console=ttySAC0改为console=tty1,
2、重新编译Linux内核,编译时取掉Logo。
3、系统启动后,要把控制台的显示交给LCD,还需要在文件系统的/etc/目录下建立inittab的文件,文件内容如下:
::sysinit:/etc/init.d/rcS
tts/0::askfirst:-/bin/sh
tty1::askfirst:-/bin/sh
tty2::askfirst:-/bin/sh
tty3::askfirst:-/bin/sh
tty4::askfirst:-/bin/sh
tty5::askfirst:-/bin/sh
tty6::askfirst:-/bin/sh
插入USB键盘就可以了的 :) 学习了。。。。。。 请教下,那个TTY1文件怎样建立啊,我的还是没显示 天嵌_support1 发表于 2011-1-19 16:20 static/image/common/back.gif
1# wzq204
1、修改uboot传递给内核的启动参数,在include/config/EmbedSky.h,修改内容:将console=tty ...
我的启动时候总是提示can't run '/etc/ini.d/rcS': No such file or directory
can't open /dev/tts/0: No such file or directory
can't open /dev/tty1: No such file or directory
can't open /dev/tty2: No such file or directory
can't open /dev/tty3: No such file or directory
can't open /dev/tty4: No such file or directory
can't open /dev/tty5: No such file or directory
can't open /dev/tty6: No such file or directory
请问是怎么回事啊?请指教下,谢谢
页:
[1]