天嵌 ARM开发社区

 找回密码
 注册
查看: 2578|回复: 3

把开发板当U盘遇到问题

[复制链接]
村口一蹲 发表于 2010-3-4 11:47:57 | 显示全部楼层 |阅读模式
在超级终端输入:insmod /lib/g_file_storage.ko file=/dev/mtdblock2 removable=1后,出现:
g_file_storage: version magic '2.6.30.4 mod_unload ARMv4 ' should be '2.6.30.4-E
mbedSky mod_unload ARMv4 '
insmod: cannot insert '/lib/g_file_storage.ko': invalid module format

这个是什么原因呢??
 楼主| 村口一蹲 发表于 2010-3-4 16:19:24 | 显示全部楼层
弄好了,重新做一次g_file_storage.ko 就好了。。。
 楼主| 村口一蹲 发表于 2010-3-4 16:27:48 | 显示全部楼层
但是好像有问题。在超级终端输入:insmod /lib/g_file_storage.ko file=/dev/mtdblock2 removable=1后,电脑可以识别开发板当U盘。终端出现:
g_file_storage gadget: File-backed Storage Gadget, version: 20 November 2008
g_file_storage gadget: Number of LUNs=1
g_file_storage gadget-lun0: ro=0, file: /dev/mtdblock2
[root@EmbedSky /]# g_file_storage gadget: full speed config #1
g_file_storage gadget: full speed config #1
g_file_storage gadget: full speed config #1
g_file_storage gadget: full speed config #1
g_file_storage gadget: full speed config #1
g_file_storage gadget: full speed config #1
g_file_storage gadget: full speed config #1
g_file_storage gadget: full speed config #1
g_file_storage gadget: full speed config #1
g_file_storage gadget: full speed config #1
然后当关掉开发板,在启动的时候,启动信息就出现:
Partially written block 471 detectedsymbol rt2x0                        
Partially written block 471 detectedStart Qtopia-2.2.0iver hub         
Partially written block 471 detected        

#####    Boot for Nand Fla
Partially written block 471 detected
boa: server version Boa/0.94.13ra
Partially written block 471 detected-Control initialize                 
Partially written block 471 detected0000] boa: server built Jul 29 2009
Partially written block 471 detected                                    
Partially written block 471 detected            
s3c2440-uart.0: tq2440
Partially written block 471 detected                 
[2] Downlo        
Partially written block 471 detectedstarting server pid=900, port 80 Lin
Partially written block 471 detected                                    
Partially written block 471 detected         
s3c2440-uart.1: tq2440_se
Partially written block 471 detected         

Please press Enter to ac
Partially written block 471 detected                                    
[9] Format the Nand
Partially written block 471 detectedress 2      
id  
[root@EmbedSky /]#
Partially written block 471 detecteddev/sda1 removable=1mbol ieee80211_
Partially written block 471 detected                                    
Partially written block 471 detected Download User Program (eg: uCOS-II
Partially written block 471 detected                        
g_file_stor
Partially written block 471 detectedng file: /dev/sda1load LOGO Pict   
Partially written block 471 detected                                    
E
Partially written block 471 detected        
nown parameterky_B         
Partially written block 471 detecteder of LUNs=1                        
Partially written block 471 detected-lun0: ro=0, file: /dev/mtdblock2   
Partially written block 471 detected      
Partially written block 471 detectedg #1                                
Partially written block 471 detected_storage gadget: full speed config #
Partially written block 471 detected      
g_file_storage gadget: full
Partially written block 471 detected                     
g_file_storage
Partially written block 471 detected                                   

Partially written block 471 detectedf                                   
Partially written block 471 detected                                 
g_
Partially written block 471 detectedg #1   


Partially written block 471 detectednfig #1                             
Partially written block 471 detected full speed config #1               
Partially written block 471 detectedtorage gadget: full speed config #1
Partially written block 471 detected     
g_file_storage gadget: full sp
Partially written block 471 detected                  
g_file_storage g
Partially written block 471 detected                                 
g_
Partially written block 471 detectedg #1                                
usb 1-1: configuration #1 chosen from 1 choiceonfig #1                                      
scsi0 : SCSI emulation for USB Mass Storage devices                                       
g_file_sto
yaffs_read_super: isCheckpointed 0                                 
VFS: Mounted root (yaffs filesystem) on device 31:2.                                         
g_file_sto
Freeing init memory: 104Knfig #1                  
scsi 0:0:0:0: Direct-Access     Alcor    Flash: full speed                                 
sd 0:0:0:0: [sda] Assuming drive cache: write through- bad CRC or NAND, using default environment         
sd 0:0:0:0: [sda] Assuming drive cache: write through#### EmbedSky BIOS for SKY2440/TQ2440 #####         
sda:     
sd 0:0:0:0: [sda] Attached SCSI removable diskload Mode !                                 

input_polldev: Unknown symbol kmalloc_caches#                                          
insmod: cannot insert '/lib/input-polldev.ko': unknown symbol in module, or unkn                                                         
[2] Download Eboot to
own parameter  
然后再重新烧写YAffs文件就好了。
这是什么问题?
亚瑟王 发表于 2010-3-8 12:19:29 | 显示全部楼层
Partially written block 471 detected
yaffs在系统工作阶段的一个标志,当系统关机时没有告诉yaffs系统要关机,然后yaffs没有做个“保存”处理,在下次启动时yaffs就会根据自身的文件列表提出这个警告,这个警告不影响系统使用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-6-2 15:38 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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