引用9楼的大哥:
◎“sd 卡的注册表加了没有?”
你说的注册表,应该是以下的吧:
3.添加注册表项目:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; charlie, SDIO
; two step load process, the bus driver will perform it''s
; own ActivateDevice call in the Entry point provided
; this way the driver even though it is a Builtin device, it can be unloaded
[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDBusDriver]
"Order"=dword:20
"Dll"="SDBusDriver.dll"
"Entry"="SDBusDriverStartUp"
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\SDBusDriver]
"Order"=dword:20
"Dll"="SDBusDriver.dll"
"Prefix"="SDC"
"ThreadPriority"=dword:64 ; default thread priority for dispatch thread
"RequestListDepth"=dword:30 ; pre-allocated requests
;"ZoneMask"=dword:e01d ; example zone mask
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Name"="SD Memory Card"
"Folder"="Storage Card"
; "PartitionDriver"="" ; removable storage cannot have partitions
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC]
"Name"="MMC Card"
"Folder"="Storage Card"
; "PartitionDriver"="" ; removable storage cannot have partitions
; SD Memory Storage class driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"FSD"="FATFS.DLL"
"IOCTL"=dword:4 ; DISK_IOCTL_INITIALIZE, sent to driver by DeviceManager
"BlockTransferSize"=dword:40 ; Send no more than 64 blocks of data per bus transfer
;"SingleBlockWrites"=dword:1 ; alternatively force the driver to use single block access
"Profile"="SDMemory"
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",
"{A32942B7-920C-486b-B0E6-92A702A99B35}"
; MMC Storage Class Driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\MMC_Class]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"FSD"="FATFS.DLL"
"IOCTL"=dword:4 ; DISK_IOCTL_INITIALIZE, sent to driver by DeviceManager
"BlockTransferSize"=dword:40 ; Send no more than 64 blocks of data per bus transfer
;"SingleBlockWrites"=dword:1 ; alternatively force the driver to use single block access
"Profile"="MMC"
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",
"{A32942B7-920C-486b-B0E6-92A702A99B35}"
; setting for SD bus driver to load driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\HostControllers\SDSC]
"Dll"="SDCSDCard.dll"
"Prefix"="SDC"
----------------
以上的,是系统自动生成的,我确认已经在注册表里头有了。
◎“还有文件系统等呢? ”
那这个是指“FAT文件系统组件”吧?
这个我也添加了。
|