阅读:1919回复:0
2440+wince5.0从64M RAM,64 NAND改成128RAM,1GB NAND
我把手上的一个BSP照着另一个可以正常在128RAM,1GBNAND上跑的BSP改的,但它那个使用了专门的loader
我现在想使用当前这个BSP的stepldr和eboot这种方式的loader 现有的stepldr和eboot原来是对64M ram和64 NAND的 我现在把stepldr的nand flash驱动改了,但ram部份我没改,它也能跑,可以读1G的nand,可以把eboot正确加载进ram并运行 现在eboot虽然跑起来了,但是按u下nk时它下了一格(DNW下载时的进度条)就卡住了。。。 然后我打开调试信息,发现在64M的ram的时候,每下一格,isrusbd都会发生一次 但128M时,下NK时isrusbd不会发生,于是一直循环,过段时间还会报数据填满的信息出来 下面是在64M正确下载NK时的信息: Download BIN file information: //从这里开始下 ----------------------------------------------------- [0]: Base Address=0x80200000 Length=0x1175f58 ----------------------------------------------------- _OEMMultiBINNotify. +OEMVerifyMemory. +OEMReadData.pData=0x3002d790 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x32019840 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA2000013 +OEMReadData.pData=0x3002d78c INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x3201FFC0 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA2000017 +OEMReadData.pData=0x3002d784 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320258C0 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA200001B +OEMReadData.pData=0x80200000 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x3202BEE1 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA200001F +OEMShowProgress. +OEMReadData.pData=0x3002d790 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320327FD INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA2000023 +OEMReadData.pData=0x3002d78c INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x32038000 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA2000027 +OEMReadData.pData=0x3002d784 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x3203E040 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA200002B +OEMReadData.pData=0x80200040 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x32044000 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA2000033 +OEMShowProgress. +OEMReadData.pData=0x3002d790 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x32049F53 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA2000037 +OEMReadData.pData=0x3002d78c INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x32050440 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA200003B +OEMReadData.pData=0x3002d784 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x32056CE7 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA200003F +OEMReadData.pData=0x80200048 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x3205DA00 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA2000043 +OEMShowProgress. +OEMReadData.pData=0x3002d790 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x32064E40 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA2000047 +OEMReadData.pData=0x3002d78c INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x3206C000 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA200004B +OEMReadData.pData=0x3002d784 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x32072880 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA200004F +OEMReadData.pData=0x80201000 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320795C0 INFO : UbootReadData : downPtIndex = 0xA2000040 INFO : UbootReadData : readPtIndex + cbData = 0xA206713B INFO : IsrUsbd : Interrupt occurred INFO : s2440INT->SRCPND = 0x100000 INFO : s2440INT->INTMSK = 0xFFEFFFFF INFO : s2440INT->INTPND = 0x100000 INFO : s2440PWR->CLKCON = 0xE7FFB0 INFO : pUSBCtrlAddr = 0xB1200140 INFO : pUSBCtrlAddr->EIER.ep0_int_en = 0x1 INFO : pUSBCtrlAddr->EIER.ep1_int_en = 0x1 INFO : pUSBCtrlAddr->EIER.ep2_int_en = 0x1 INFO : pUSBCtrlAddr->EIER.ep3_int_en = 0x1 INFO : pUSBCtrlAddr->EIER.ep4_int_en = 0x1 INFO : pUSBCtrlAddr->EIR.ep0_int = 0x0 INFO : pUSBCtrlAddr->EIR.ep1_int = 0x0 INFO : pUSBCtrlAddr->EIR.ep2_int = 0x0 INFO : pUSBCtrlAddr->EIR.ep3_int = 0x0 INFO : pUSBCtrlAddr->EIR.ep4_int = 0x0 +OEMShowProgress. +OEMReadData.pData=0x3002d790 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320901FC INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA206713F +OEMReadData.pData=0x3002d78c INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x32095DC0 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA2067143 +OEMReadData.pData=0x3002d784 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x3209B5C0 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA2067147 +OEMReadData.pData=0x80269000 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320A0D80 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20691E7 +OEMShowProgress. +OEMReadData.pData=0x3002d790 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320A8000 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20691EB +OEMReadData.pData=0x3002d78c INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320ADB00 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20691EF +OEMReadData.pData=0x3002d784 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320B4867 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20691F3 +OEMReadData.pData=0x8026c000 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320BBD00 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20E1737 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320C1719 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20E1737 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320C78C0 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20E1737 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320CDA80 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20E1737 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320D4000 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20E1737 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320D9DFA INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20E1737 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320DF740 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20E1737 +OEMShowProgress. +OEMReadData.pData=0x3002d790 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320EC000 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20E173B +OEMReadData.pData=0x3002d78c INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320F0B40 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20E173F +OEMReadData.pData=0x3002d784 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320F4000 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA20E1743 +OEMReadData.pData=0x802e4544 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320F9480 INFO : UbootReadData : downPtIndex = 0xA2080040 INFO : UbootReadData : readPtIndex + cbData = 0xA211E4EF INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x320FF600 INFO : UbootReadData : downPtIndex = 0xA2080040 INFOINFO : IsrUsbd : Interrupt occurred INFO : s2440INT->SRCPND = 0x100000 INFO : s2440INT->INTMSK = 0xFFEFFFFF INFO : s2440INT->INTPND = 0x100000 INFO : s2440PWR->CLKCON = 0xE7FFB0 INFO : pUSBCtrlAddr = 0xB1200140 INFO : pUSBCtrlAddr->EIER.ep0_int_en = 0x1 INFO : pUSBCtrlAddr->EIER.ep1_int_en = 0x1 INFO : pUSBCtrlAddr->EIER.ep2_int_en = 0x1 INFO : pUSBCtrlAddr->EIER.ep3_int_en = 0x1 INFO : pUSBCtrlAddr->EIER.ep4_int_en = 0x1 INFO : pUSBCtrlAddr->EIR.ep0_int = 0x0 INFO : pUSBCtrlAddr->EIR.ep1_int = 0x0 INFO : pUSBCtrlAddr->EIR.ep2_int = 0x0 INFO : pUSBCtrlAddr->EIR.ep3_int = 0x0 INFO : pUSBCtrlAddr->EIR.ep4_int = 0x0 : UbootReadData : readPtIndex + cbData = 0xA211E4EF INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x32110980 INFO : UbootReadData : downPtIndex = 0xA2100040 INFO : UbootReadData : readPtIndex + cbData = 0xA211E4EF INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x32117140 INFO : UbootReadData : downPtIndex = 0xA2100040 INFO : UbootReadData : readPtIndex + cbData = 0xA211E4EF INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x3211C89A INFO : UbootReadData : downPtIndex = 0xA2100040 INFO : UbootReadData : readPtIndex + cbData = 0xA211E4EF +OEMShowProgress. +OEMReadData.pData=0x3002d790 INFO : UbootReadData : s2440PWR->CLKCON = 0xE7FFB0 INFO : UbootReadData : s2440INT->INTMSK = 0xFFEFFFFF INFO : UbootReadData : v_pDMAregs->DCDST3 = 0x32125999 INFO : UbootReadData : downPtIndex = 0xA2100040 INFO : UbootReadData : readPtIndex + cbData = 0xA211E4F3 +OEMReadData.pData=0x3002d78c 可以看到,每隔一段时间就有INFOINFO : IsrUsbd : Interrupt occurred发生 请问这是怎么一回事啊,谢谢 我把64M改成128M做了下面的改动 这个是128M时的 g_oalAddressTable DCD 0x80000000, 0x30000000, 128 ; 32 MB DRAM BANK 6 DCD 0x88000000, 0x10000000, 1 ; nGCS2: PCMCIA/PCCARD DCD 0x88010000, 0x18000000, 1 ; 32 MB SROM(SRAM/ROM) BANK 3 DCD 0x88020000, 0x20000000, 30 ; 32 MB SROM(SRAM/ROM) BANK 4 DCD 0x8A000000, 0x28000000, 32 ; 32 MB SROM(SRAM/ROM) BANK 5 DCD 0x8C000000, 0x08000000, 32 ; 32 MB SROM(SRAM/ROM) BANK 1 DCD 0x90800000, 0x48000000, 1 ; Memory control register DCD 0x90900000, 0x49000000, 1 ; USB Host register DCD 0x90A00000, 0x4A000000, 1 ; Interrupt Control register DCD 0x90B00000, 0x4B000000, 1 ; DMA control register DCD 0x90C00000, 0x4C000000, 1 ; Clock & Power register DCD 0x90D00000, 0x4D000000, 1 ; LCD control register DCD 0x90E00000, 0x4E000000, 1 ; NAND flash control register DCD 0x90F00000, 0x4F000000, 1 ; Camera control register DCD 0x91000000, 0x50000000, 1 ; UART control register DCD 0x91100000, 0x51000000, 1 ; PWM timer register DCD 0x91200000, 0x52000000, 1 ; USB device register DCD 0x91300000, 0x53000000, 1 ; Watchdog Timer register DCD 0x91400000, 0x54000000, 1 ; IIC control register DCD 0x91500000, 0x55000000, 1 ; IIS control register DCD 0x91600000, 0x56000000, 1 ; I/O Port register DCD 0x91700000, 0x57000000, 1 ; RTC control register DCD 0x91800000, 0x58000000, 1 ; A/D convert register DCD 0x91900000, 0x59000000, 1 ; SPI register DCD 0x91A00000, 0x5A000000, 1 ; SD Interface register DCD 0x92000000, 0x00000000, 32 ; 32 MB SROM(SRAM/ROM) BANK 0 DCD 0x00000000, 0x00000000, 0 ; end of table 这个是64M时的 DCD 0x80000000, 0x30000000, 64 ; 32 MB DRAM BANK 6 DCD 0x84000000, 0x10000000, 32 ; nGCS2: PCMCIA/PCCARD DCD 0x86000000, 0x18000000, 32 ; 32 MB SROM(SRAM/ROM) BANK 3 DCD 0x88000000, 0x20000000, 32 ; 32 MB SROM(SRAM/ROM) BANK 4 DCD 0x8A000000, 0x28000000, 32 ; 32 MB SROM(SRAM/ROM) BANK 5 DCD 0x8C000000, 0x08000000, 32 ; 32 MB SROM(SRAM/ROM) BANK 1 DCD 0x90800000, 0x48000000, 1 ; Memory control register DCD 0x90900000, 0x49000000, 1 ; USB Host register DCD 0x90A00000, 0x4A000000, 1 ; Interrupt Control register DCD 0x90B00000, 0x4B000000, 1 ; DMA control register DCD 0x90C00000, 0x4C000000, 1 ; Clock & Power register DCD 0x90D00000, 0x4D000000, 1 ; LCD control register DCD 0x90E00000, 0x4E000000, 1 ; NAND flash control register DCD 0x90F00000, 0x4F000000, 1 ; Camera control register DCD 0x91000000, 0x50000000, 1 ; UART control register DCD 0x91100000, 0x51000000, 1 ; PWM timer register DCD 0x91200000, 0x52000000, 1 ; USB device register DCD 0x91300000, 0x53000000, 1 ; Watchdog Timer register DCD 0x91400000, 0x54000000, 1 ; IIC control register DCD 0x91500000, 0x55000000, 1 ; IIS control register DCD 0x91600000, 0x56000000, 1 ; I/O Port register DCD 0x91700000, 0x57000000, 1 ; RTC control register DCD 0x91800000, 0x58000000, 1 ; A/D convert register DCD 0x91900000, 0x59000000, 1 ; SPI register DCD 0x91A00000, 0x5A000000, 1 ; SD Interface register DCD 0x92000000, 0x00000000, 32 ; 32 MB SROM(SRAM/ROM) BANK 0 DCD 0x00000000, 0x00000000, 0 ; end of table 我还要改什么地方么?! |
|