qlb211999
驱动牛犊
驱动牛犊
  • 注册日期2008-04-14
  • 最后登录2016-01-09
  • 粉丝1
  • 关注0
  • 积分6分
  • 威望100点
  • 贡献值1点
  • 好评度37点
  • 原创分1分
  • 专家分0分
阅读:1303回复:0

:-) 请教:ce 5.0 IDE驱动挂硬盘只能认到一个分区?

楼主#
更多 发布于:2008-07-09 11:19
如题,硬盘分了四个区(fat32),只能认到一个,但如果挂到pc机上用分区工具重新格式化一道后,挂到ce系统上跑,四个分区又全部mount起来了,且能读写

我的组件添加:
FAT File System
partion Driver
RAM AND ROM File System
ATAPI PCI/IDE Storage Block Driver
及平台依赖的1200 IDE控制器

注册表设置:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
    "Name"="IDE Hard Disk Drive"
    "Folder"="Compact Flash"
    "AutoMount"=dword:1
    "DefaultFileSystem"="fatfsd.dll"
    "PartitionDriver"="mspart.dll"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
    "EnableCacheWarm"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\Builtin\IDE1200]
   "Prefix"="IDE"
   "Dll"="ide_1200.dll"
   "Order"=dword:2
   "SoftResetTimeout"=dword:3      ; ATA/ATAPI spec defines 31s ceiling; this is too long
   "StatusPollCycles"=dword:100    ; Status register DRQ/BSY polling; 256 poll cycles
   "StatusPollsPerCycle"=dword:20  ; Status register DRQ/BSY polling; 32 polls per cycle
   "StatusPollCyclePause"=dword:05 ; Status register DRQ/BSY polling; 5 milliseconds between poll cycles
   "SpawnFunction"="CreateIDE1200"
   "Legacy"=dword:0
  "IRQ"=dword:2E                  ; Pb1200 IDE external IRQ
       ; On the Pb1200 the 3 IDE address lines are static bus AD[5-7]
       ; this gives a register stride of 0x20
       ;
  "RegisterStride"=dword:20
      #if $(BUILD_PB1200)==1
   "IoBase"=multi_sz:"0C800000","0C800180"
#else
    "IoBase"=multi_sz:"18000000","18000180"
#endif
   "IoLen"=multi_sz:"100","100"
   "BusType"=dword:0
   "InterfaceType"=dword:0
   "IClass"=multi_sz:"{CDDC3621-3512-4b3f-BB6F-B4DD5E061795}"

; Device0 is the Master device on the Primary channel
[HKEY_LOCAL_MACHINE\Drivers\Builtin\IDE1200\Device0]
   "Prefix"="DSK"
   "DeviceId"=dword:0
   "Dll"="ide_1200.dll"
   "IntEnable"=dword:1
   "DMA"=dword:0                  ; enable DMA; 0 = disabled, 1 = enabled, 2 = enabled for hard disks and disabled for CD-ROMs  Important
   "InterruptDriven"=dword:1       ; enable interrupt driven I/O
   "DoubleBufferSize"=dword:10000  ; 128 sector (65536 byte) double buffer
   "DrqDataBlockSize"=dword:200    ; 1 sector (512 byte) DRQ data block
   "WriteCache"=dword:01           ; enable on-disk write cache
   "LookAhead"=dword:01            ; enable on-disk look-ahead
   "TransferMode"=dword:00         ; PIO default mode , disable IORDY
   "Object"="CreateIDE1200"
   "Ioctl"=dword:4
   "InactivityTimeout"=dword:7530    ; 30 second timeout (value is hex milliseconds)
   "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}","{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"

请教高手:是我的fat文件系统的相关注册表值没有设置对吗?
游客

返回顶部