天嵌 ARM开发社区

 找回密码
 注册
查看: 2182|回复: 8

串口驱动错误

[复制链接]
wzq204 发表于 2010-3-19 16:27:54 | 显示全部楼层 |阅读模式
我用TQ2440的开发板,下载下自己编译的linux内核和文件系统,下载下去后控制台打印以下文字并且过一段时间重启,请问一下楼主是什么原因啊?谢谢!!
我检查了一下串口的驱动,和天嵌科技出品-Linux移植之Step By Step_V4.2_20100125.pdf中介绍的完全一样。
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
Partially written block 139 detected
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 180K
cannot run '/etc/init.d/rcS': No such file or director

can't open /dev/tty2: No such file or director
can't open /dev/tty3: No such file or director
can't open /dev/tty4: No such file or director
can't open /dev/tty2: No such file or director
can't open /dev/tty4: No such file or director
can't open /dev/tty3: No such file or director
can't open /dev/tty2: No such file or director
can't open /dev/tty3: No such file or director
can't open /dev/tty4: No such file or director
can't open /dev/tty2: No such file or director
can't open /dev/tty3: No such file or director
can't open /dev/tty4: No such file or director
can't open /dev/tty2: No such file or director
can't open /dev/tty3: No such file or director
can't open /dev/tty4: No such file or director
 楼主| wzq204 发表于 2010-3-19 17:04:04 | 显示全部楼层
下载了光盘里的root文件(root_qtopia_2.2.0_2.6.30.4_256MB_20091216)就正常了,
制作文件系统时:mdev -s 这个命令不能执行
亚瑟王 发表于 2010-3-19 18:23:01 | 显示全部楼层
制作文件系统时:mdev -s 这个命令不能执行
1、想问一下你在PC上面执行的这个指令还是开发板端执行的?
2、编译busybox的编译器和编译zImage的编译器和文件系统lib目录下的库文件用的编译器相同吗?
 楼主| wzq204 发表于 2010-3-19 21:53:31 | 显示全部楼层
是在PC机上(虚拟机)执行的这个命令,编译器和编译zImage的编译器是相同的。
亚瑟王 发表于 2010-3-20 10:53:41 | 显示全部楼层
mdev -s这条语句是在开发板上面运行。在天嵌科技提供的Linux移植手册里面只要写了mdev -s这条语句都是讲的针对开发板的,没有任何地方说了这句话要在PC上面执行。不知道你从哪里看到要在PC上执行。
 楼主| wzq204 发表于 2010-3-22 09:12:44 | 显示全部楼层
嵌科技出品-Linux移植[img][img][img][/img][/img][/img]之Step By Step_V4.2_20100125.pdf的45页。

红色的字体
亚瑟王 发表于 2010-3-22 11:55:13 | 显示全部楼层
TQ2440的Linux移植手册V4.2版本的45页讲的是在开发板的文件系统的etc/init.d/rcS文件中要添加的内容啊。也没有说要在PC上运行这个命令啊。你应该是理解错了,是在Linux新建一个文本文件,然后输入手册里面的内容。保存名称为:rcS,权限设置为可执行。
wanjunking 发表于 2010-9-27 20:57:26 | 显示全部楼层
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 180K
cannot run '/etc/init.d/rcS': No such file or director

can't open /dev/tty2: No such file or director
can't open /dev/tty3: No such file or director
can't open /dev/tty4: No such file or director
can't open /dev/tty2: No such file or director
can't open /dev/tty4: No such file or director
你这个问题是怎么样解决的呀
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-18 04:37 , Processed in 1.031289 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表