|
下载eboot后,格式化flash时出错:
ERROR: InitPartitionMgr: failed to initialize partition manager.
定位到:
- BOOL InitPartitionMgr(void)
- {
- PCI_REG_INFO RegInfo; // No PCI here, just need registry structure...
- memset(&RegInfo, 0, sizeof(PCI_REG_INFO));
- RegInfo.MemBase.Num = 1;
- RegInfo.MemLen.Num = 1;
- RegInfo.MemBase.Reg[0] = FLASH_BIN_START; // Flash base address.
- RegInfo.MemLen.Reg[0] = BOOT_FLASH_SIZE - (FLASH_BIN_START - FLASH_START); // Total flash length.
- if (!BP_Init((LPBYTE)BLOCK_SAVE_START, BLOCK_SAVE_LENGTH, NULL, &RegInfo, NULL))
- {
- EdbgOutputDebugString("ERROR: InitPartitionMgr: failed to initialize partition manager.\r\n");
- return(FALSE);
- }
- return(TRUE);
- }
复制代码
会出什么地方出了问题?
|
|