5.07.2008

bootpart related codes

bootpart 在 PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\BOOTPART 下
有完整的source code : bootpart.cpp, util.cpp

bootpart.h 定義了 disk partition 的相關constant : partition id, mbr entry structure,... etc.
在 PUBLIC\COMMON\OAK\INC

bootpart 的nandflash 操作要借助 fmd.h 的function。
fmd.h 在 PUBLIC\COMMON\OAK\DRIVERS\BLOCK\MSFLASHFMD\INC
發現在 PUBLIC\COMMON\OAK\DRIVERS\BLOCK\MSFLASHFMD 有很多source code,其中

folder : ECC 還提供 256 bytes 1 bit 的 Hamming Code ECC Compute/Correct .
folder : RAM (好像)提供一個RAM模擬 nandflash 動作。
folder : TEST 提供一個利用 FMD_XXX作測試的AP,作read/write/erase, getinfo 等測試。

沒有留言: