| 但是好像有问题。在超级终端输入: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文件就好了。
 这是什么问题?
 |