nboot+eboot求救!
如题,请教各位,我的EBOOT用USB下载NK,在QQ2440V3的板子上,可是当用DNW下载的时候会卡住,我将信息打印出来发现OEMReadData (DWORD cbData, LPBYTE pbData)中的参数传过来的时候会异常,感觉好像内存混乱数据被冲掉了一样,可是我用的都是官方下下来的代码啊!研究好久还是不行,而BLCOMMOM.C这个函数好像PB是通过LIB形式连接的,所以我改了没反应。没法看到打印信息,所以只能打印传过来的数据如下:
pbData is 8C02FFA0
cbData is 7
downPtIndex is 32000040
readPtIndex is 32000007
OEMMultiBINNotify: Download BIN file information:
-----------------------------------------------------
[0]: Base Address=0x0 Length=0x0
-----------------------------------------------------
OEMVerifyMemory: StartAddr: 0x0, Length:0x0
*** Downloading BIN image type ***
USB_read_loop..
pbData_in is
cbData_in is FFFFFFF9
USB_read_image_here
pbData_in1 is
pbData_in2 is $濆8熷?
pbData_in3 is 8C0445D0
pbData is 8C0445D0
cbData is 8C02601C
downPtIndex is 32000040
readPtIndex is BE026023
请教各位有什么办法或者谁遇见过类似问题吗!!我的在这就被卡了,,
其中我的BOOT.BIB和config.bin如下:
;
; Ethernet Boot Loader Source Module
;******************************************************************************
; 16 MB area used to cache nk.bin while programming boot media.
; TBD: we may need to adjust to 01400000 (20 MB) to cache PPC 2003.
FLSCACHE 8D000000 01000000 RESERVED
;;;;;;;;;;;;;;;;;; add by lyc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; configur the percentage of RAM allocated for the file system ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF IMGTINYFSRAM !
FSRAMPERCENT=0x10101010
ENDIF
IF IMGTRUSTROMONLY
IF IMGNOTALLKMODE
ROMFLAGS=12
ENDIF
IF IMGNOTALLKMODE !
ROMFLAGS=10
ENDIF
ENDIF
IF IMGTRUSTROMONLY !
IF IMGNOTALLKMODE
ROMFLAGS=2
ENDIF
IF IMGNOTALLKMODE !
ROMFLAGS=0
ENDIF
ENDIF
ROMSTART=8C200000 ; change by linyichun
ROMWIDTH=32
ROMSIZE=01D00000