根据书中说的,出现这些信息就已经移植好了,但是为什么就是挂载不上去了??
:Q
Please press Enter to activate this console. s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
s3c2440-sdi s3c2440-sdi: CMD[TIMEOUT] #9 op:UNKNOWN(8) arg:0x000001aa flags:0x0875 retries:0 Status:nothing to complete
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
s3c2440-sdi s3c2440-sdi: CMD[TIMEOUT] #13 op:UNKNOWN(8) arg:0x000001aa flags:0x0875 retries:0 Status:nothing to complete
s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
s3c2440-sdi s3c2440-sdi: running at 16875kHz (requested: 25000kHz).
s3c2440-sdi s3c2440-sdi: running at 16875kHz (requested: 25000kHz).
mmcblk0: mmc0:b368 249856KiB
mmcblk0:<7>mmc0: starting CMD18 arg 00000000 flags 00000035
p1
# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 255 MB, 255852544 bytes
16 heads, 32 sectors/track, 976 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 1 976 249805+ 6 FAT16
# mount /dev/mmcblk0 /mnt
yaffs: dev is 187695104 name is "mmcblk0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 179.0, "mmcblk0"
yaffs: dev is 187695104 name is "mmcblk0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 179.0, "mmcblk0"
mount: mounting /dev/mmcblk0 on /mnt failed: Invalid argument
# mount /dev/mmcblk0p1 /mnt
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found
yaffs: dev is 187695105 name is "mmcblk0p1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 179.1, "mmcblk0p1"
yaffs: dev is 187695105 name is "mmcblk0p1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 179.1, "mmcblk0p1"
mount: mounting /dev/mmcblk0p1 on /mnt failed: Invalid argument
# cd /mnt
# ls
#
ljwhf - 2008-9-16 9:48:00
试一试在mount时加个-t指定是fat分区
游客 - 2008-9-16 10:25:00
试过了还是不行,不知道有没有其他办法挂载呢?
ljwhf - 2008-9-16 11:18:00
有提示:Unable to load NLS charset cp437
是不是跟这个有关,你试一试把它格成ext3再挂看看行不行?
thisway.diy - 2008-9-16 13:49:00
你可以这样试试:
mount -t vfat -o iocharset=cp473 /dev/mmcblk0p1 /mnt
前提是内核中已经加入了cp473,看看内核的配置:
File systems - >
Native Language Support --->
hxldhz - 2008-9-16 21:34:00
成功了,谢谢版主,真的是需要使用
mount -t vfat -o iocharset=cp437 /dev/mmcblk0p1 /mnt
值得注意的是用cp437,可能版主是笔误了,感谢版主
当然也需要设置内核中的配置。就是版主说的那样设置。
这个论坛比很多开发板的技术支持好多了,谢谢
再次感谢
hxldhz - 2008-9-16 21:35:00
同样也感谢3楼和4楼的兄弟
====
阅读(3358) | 评论(1) | 转发(0) |