日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

在SD/MMC卡上实现hive (Implement WinCE HIVEROM system on NAND or SD system )

發(fā)布時(shí)間:2025/4/16 编程问答 18 豆豆
生活随笔 收集整理的這篇文章主要介紹了 在SD/MMC卡上实现hive (Implement WinCE HIVEROM system on NAND or SD system ) 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
本是個(gè)很簡單的topic,但無奈的是很多客戶都沒有實(shí)現(xiàn)。所以只能寫一個(gè)guide給客戶,讓他們依葫蘆畫瓢。 在SD卡上實(shí)現(xiàn)hive以及實(shí)現(xiàn)binfs最精髓的思想是,在boot stage 1依次加載sd bus driver, sd host driver,而sd host driver會根據(jù)總線枚舉的結(jié)果來加載sd或者mmc的client driver.這個(gè)driver就是sd_memory.dll. 另外就是要保證sd memory的驅(qū)動得在boot stage 2之前完成加載,不然就不能取得hive.reg之外的注冊表。
如果有人也感興趣在sd/mmc上實(shí)現(xiàn)binfs,除了做以上的動作之外還需要修改eboot,讓eboot去生成binfs分區(qū),并將ext.bin中binfs分區(qū)部的bin數(shù)據(jù)放到binfs分區(qū)中。這個(gè)我也已經(jīng)實(shí)現(xiàn)了。有空再表吧...
來些英文的…

Implement WinCE HIVE&ROM

system on NAND or SD system

?

?

1.0??????Scope

This document details in how toimplement the WinCE6 HIVE&ROM system. Two types of media are widely used in Au1300 system, the NAND flash and the SD card. The document will describe the steps implementing HIVE&ROM system for both media type.

2.0??????Hardware details

NAND flash is connected with Au1300’s static memory controller. The SD card is connected with SD slot.

3.0??????Creating HIVE&ROM system

Section 3.1 will describe how to implement HIVE&ROM system on NAND flash disk while section 3.2 describes the similar system way to create HVIE&ROM system on SD card.

3.1?HIVE&ROM system on NAND flash

3.1.1????Add catalog components

catalog->CEBASE->File Systems and Data Store->File system->ROM-only File System

catalog->CEBASE->File Systems and Data Store->Registry Storage- >Hive-based Registry

?

?

catalog->CEBASE-> File Systems and Data Store->Storage Manager ->FAT File System

catalog->CEBASE-> File Systems and Data Store->Storage Manager ->Partition Driver

catalog->Third Party->AVN13xx:MIPSII->Storage->NAND


3.1.2????Step2: Registry settings

Update nand fmd driver registry with following content. The nand fmd driver registry is located /Drivers/Nandfmd/nandfmd.reg.

?

; HIVE BOOT SECTION

; This file is to be included in platform.reg if required.

[HKEY_LOCAL_MACHINE\Drivers\Builtin\NAND]

?? "Profile"="NAND"

?? "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"

?? "Order"=dword:0

?? "FriendlyName"="NAND FLASH Driver"

?? "Dll"="NANDFMD.dll"

?? "Prefix"="DSK"

?? "Index"=dword:1

??? "Flags"=dword:1000

?

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\NAND]

??? "DriverPath"="Drivers\\Builtin\\NAND"

??? "LoadFlags"=dword:1

??? "Order"=dword:0

?

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NAND]

?? "Name"="NAND FLASH Storage"

?? "DefaultFileSystem"="FATFS"

? ??????? "PartitionDriver"="mspart.dll"

?? "Folder"="NAND FLASH"

?? "AutoPart"=dword:1

?? "AutoMount"=dword:1

?? "AutoFormat"=dword:1

?

[HKEY_LOCAL_MACHINE\init\BootVars]

?? "SystemHive"="Documents and Settings\\system.hv"

?? "ProfileDir"="Documents and Settings"

?? "Flags"=dword:3

?? "RegistryFlags"=dword:1

?? "NoDefaultUser"=dword:0

?

; END HIVE BOOT SECTION

3.2?HIVE&ROM system on SD card

3.2.1????Add catalog components

catalog->CEBASE->File Systems and Data Store->File system->ROM-only File System

catalog->CEBASE->File Systems and Data Store->Registry Storage- >Hive-based Registry

?

?

catalog->CEBASE-> File Systems and Data Store->Storage Manager ->FAT File System

catalog->CEBASE-> File Systems and Data Store->Storage Manager ->Partition Driver

?

catalog->Third Party->AVN13xx:MIPSII->Storage->Removable->Secure Digital/MMC

?

3.2.2????Step2: Registry settings

Update SDIO host driver registry with following content. The SDIO driver registry is located /Drivers/SDIO/sdio.reg.

;

;

; Alchemy Au1100 SD Controller registry settings

; HIVE BOOT SECTION

?

?? ; setting for SD bus driver to load driver

[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDHC_Au1100]

?? "Dll"="SDIO.dll"

?? "Order"=dword:1

?? "Prefix"="SDP"

?

?? ; force the host controller to run in the PIO mode instead of

?? ; of DMA mode.

?? "PIOMode"=dword:0

??

?? ; Disable the MMC 8 bit wide data bus for SD0, the eMMC slot, which is slot 1

?? ; for emmc device, dont disable 8 bits bus

?? ; for sd device, only support 4 bits bus

?? "Disable8BitBus"=dword:1

?? "Index"=dword:1

?? "Flags"=dword:1000

?

[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDBusDriver]

?? "Dll"="SDBus.dll"

?? "Order"=dword:0

?? "Index"=dword:1

?? "Prefix"="SDC"

?? "ThreadPriority"=dword:64???? ; default thread priority for dispatch thread

?? "RequestListDepth"=dword:30?? ; pre-allocated requests

?? "Flags"=dword:11000 ; DEVFLAGS_TRUSTEDCALLERONLY

?? "IClass"=multi_sz:"{20FA98A8-B298-4b32-8D72-C716AEE2FA84}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"

?

[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]

?? "Dll"="SDMemory.dll"

??? "Order"=dword:1

?? "Prefix"="DSK"

?? "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

?? ;"IdleTimeout"=dword:7D0????? ; 2000 milliseconds

?? ;"IdlePowerState"=dword:2???? ; 0 == D0, 1 == D1, etc.

?? ;"DisablePowerManagement"=""? ; if value present, then disable (remove value to enable)

?? "Profile"="SDMemory"

?? "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",

???????????????????? "{A32942B7-920C-486b-B0E6-92A702A99B35}"

?

[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\MMC_Class]

?? "Dll"="SDMemory.dll"

?? "Prefix"="DSK"

?? "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

?? ;"IdleTimeout"=dword:7D0????? ; milliseconds

?? ;"IdlePowerState"=dword:2???? ; 0 == D0, 1 == D1, etc.

?? ;"DisablePowerManagement"=""? ; if value present, then disable (remove value to enable)

?? "Profile"="MMC"

?? "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",

???????????????????? "{A32942B7-920C-486b-B0E6-92A702A99B35}"

?

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC]

??? "Name"="MMC Memory Card"

??? "Folder"="MMCCard"

??? "PartitionDriverName"="MSPART"

??? "DefaultFileSystem"="FATFS"

??? "BootPhase"=dword:0

?

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC\FATFS]

? "MountAsBootable"=dword:1

? "MountAsROM"=dword:1

? "MountAsRoot"=dword:1

? "AutoFormat"=dword:1

? "AutoPart" =dword:1

? "AutoMount"=dword:1

? "BootPhase"=dword:0

?

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]

??? "PartitionDriverName"="MSPART"

??? "Name"="SD Memory Card"

??? "Folder"="SDCard"

??? "DefaultFileSystem"="FATFS"

??? "BootPhase"=dword:0

?

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory\FATFS]

;? "MountAsBootable"=dword:1

;? "MountAsROM"=dword:1

;? "MountAsRoot"=dword:1

? "AutoFormat"=dword:1

? "AutoPart" =dword:1

? "AutoMount"=dword:1

? "BootPhase"=dword:0

?

?

[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class\High_Capacity]

?? "Dll"="SDMemory.dll"

?? "Prefix"="DSK"

?? "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

?? ;"IdleTimeout"=dword:7D0????? ; 2000 milliseconds

?? ;"IdlePowerState"=dword:2???? ; 0 == D0, 1 == D1, etc.

?? ;"DisablePowerManagement"=""? ; if value present, then disable (remove value to enable)

?? "Profile"="SDMemory"

?? "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",

???????????????????? "{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"

?

?

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC\BINFS]

??? "MountSystem"=dword:1

??? "MountAsROM"=dword:1

??? "BootPhase"=dword:0

?

; SDHC Memory Storage class driver

[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\MMC_Class\High_Capacity]

?? "Dll"="SDMemory.dll"

?? "Prefix"="DSK"

?? "BlockTransferSize"=dword:100? ; send no more than 256 blocks of data per bus transfer

?? "Index"=dword:1

?? "BootPhase"=dword:0

?? ;"BlockTransferSize"=dword:40? ; send no more than 64 blocks of data per bus transfer

?? "SDClockRateOverride"=dword:2625A0???????? ; 52000000 Hz

?? ;"SingleBlockWrites"=dword:1? ; alternatively force the driver to use single block access

?? ;"IdleTimeout"=dword:7D0????? ; 2000 milliseconds

?? ;"IdlePowerState"=dword:2???? ; 0 == D0, 1 == D1, etc.

?? ;"DisablePowerManagement"="" ?; if value present, then disable (remove value to enable)

?? "Profile"="MMC"

?? "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",

???????????????????? "{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"

?

[HKEY_LOCAL_MACHINE\System\StorageManager\BinFS]

?? ?"BootPhase"=dword:0

??? "Order"=dword:0

??? "FriendlyName"="BIN Filesystem"

??? "Dll"="binfs.dll"

??? "Paging"=dword:1

?

[HKEY_LOCAL_MACHINE\init\BootVars]

?? "SystemHive"="\\Hive\\system.hv"

?? "ProfileDir"="Documents and Settings"

?? "Flags"=dword:3

?? "RegistryFlags"=dword:1

?? "NoDefaultUser"=dword:0

?

; END HIVE BOOT SECTION

總結(jié)

以上是生活随笔為你收集整理的在SD/MMC卡上实现hive (Implement WinCE HIVEROM system on NAND or SD system )的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 日本黄色录象 | 国产精品二区三区 | 国产激情无套内精对白视频 | 亚洲av无码久久精品色欲 | 激情综合网五月婷婷 | 大尺度舌吻呻吟声 | 久久久久久久人妻无码中文字幕爆 | 亚洲精品成 | 亚洲欧洲综合在线 | 成人h动漫精品一区 | 日本不卡一区 | 四川黄色一级片 | 日本一区二区在线免费观看 | 羞羞动漫免费观看 | 琪琪伦伦影院理论片 | 性色视频网站 | 操操久久 | 调教亲女小嫩苞h文小说 | 91偷拍富婆spa盗摄在线 | 亚洲福利在线播放 | 99久久精品免费看国产 | 午夜影院免费视频 | 国产91免费观看 | 在线观看成人免费视频 | 四虎影视免费在线观看 | 国产一区二区av | 一色av| 欧美久久网 | 丰满饥渴老女人hd | 免费插插视频 | 亚洲日本在线播放 | 亚洲成人麻豆 | 一区二区免费在线视频 | 99热日本| 被黑人各种姿势猛c哭h文1 | 91大片免费看 | 伊人久久久久久久久久久久 | 中文字幕欧美人妻精品 | 天天操天天玩 | 99热欧美 | 亚洲精品高清在线 | 欧美亚洲国产日韩 | 久久久免费毛片 | 亚色综合 | 天堂在线中文8 | 日韩精品中文字幕在线 | 久久久久成人精品免费播放动漫 | 精品美女视频 | 激情视频网站 | 综合精品视频 | 欧美人妖乱大交 | 亚洲欧美日韩国产一区二区三区 | 色一五月 | 国产精品视频你懂的 | 国产麻豆剧传媒精品国产 | 久爱视频在线观看 | 一级黄色片片 | 天天干在线观看 | 在线欧美色 | 日本一级做a爱片 | 久久精品三级视频 | 欧美激情喷水 | 香蕉网址 | 强制高潮抽搐哭叫求饶h | 欧美人与动物xxx | 国内视频自拍 | 偷偷久久 | 国产成人无码精品久久久性色 | 久久色视频 | av中文在线| 久久99精品久久久水蜜桃 | 日日噜噜噜噜久久久精品毛片 | 国产精品99久久久 | 大肉大捧一进一出好爽视频动漫 | 亚洲1页| 久草97 | 神马久久av | 亚洲伦理精品 | 免费在线观看网址入口 | 国产6区| 超级变态重口av番号 | 亚洲第一av网 | 蜜桃av噜噜一区二区三区麻豆 | 国产永久av | 欧美日韩在线第一页 | 国产成人免费 | 日本少妇高潮 | 少妇一级淫片免费播放 | 中文字幕精品一区久久久久 | 欧美日韩不卡一区 | 成年网站在线观看 | 国产午夜精品视频 | 国产在线观看免费网站 | 天天干天天搞天天射 | 91香蕉国产在线观看软件 | 打屁股黄文| av在线片| 欧美网 | 欧美精品在线免费观看 |