不好意思,有些没说清楚,其实我是修改了一下BOOTLOADR,我将block0img.nb0 和EBOOT.NB0文件合并成一个NB0文件,直接烧写到NANDFLASH的第一个块,启动EBOOT时会打印如下信息:
Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built Jan 22 2010 17:25:20
Microsoft Windows CE Bootloader for the Samsung SMDK2416 Version 2.4 Built Jan 22 2010
InitDisplay
LCD test 007
BP_Init
[FTL:MSG] FIL_Init [OK]
[FTL:MSG] BUF_Init [OK]
[FTL:MSG] VFL_Init [OK]
[FIL:ERR] Decoding_MainECC() : Uncorrectable Error
[FIL:ERR] Read_Sector() : ECC Uncorrectable Error in Page 127 Sector 0
[FIL:ERR] Decoding_MainECC() : Uncorrectable Error
[FIL:ERR] Read_Sector() : ECC Uncorrectable Error in Page 127 Sector 1
[FIL:ERR] Decoding_MainECC() : Uncorrectable Error
[FIL:ERR] Read_Sector() : ECC Uncorrectable Error in Page 127 Sector 2
[FIL:ERR] Decoding_MainECC() : Uncorrectable Error
[FIL:ERR] Read_Sector() : ECC Uncorrectable Error in Page 127 Sector 3
[FIL:ERR] Decoding_MainECC() : Uncorrectable Error
[FIL:ERR] Read_Sector() : ECC Uncorrectable Error in Page 127 Sector 4
[FIL:ERR] Decoding_MainECC() : Uncorrectable Error
[FIL:ERR] Read_Sector() : ECC Uncorrectable Error in Page 127 Sector 5
[FIL:ERR] Decoding_MainECC() : Uncorrectable Error
[FIL:ERR] Read_Sector() : ECC Uncorrectable Error in Page 127 Sector 6
[FIL:ERR] Decoding_MainECC() : Uncorrectable Error
[FIL:ERR] Read_Sector() : ECC Uncorrectable Error in Page 127 Sector 7
[FIL:ERR]--NAND_Read() : Uncorrectable Error in Bank 0, Page 255 [0x0000aaaa] [0x00000000]
BP_ReadLogicalSector : WMR_Init is failed.
wNUM_BLOCKS : 2048(0x800)
TOC_Read
TOC_Read ERROR: INVALID_TOC Signature: 0xFFFFFFFF TOC_Init: dwEntry:1, dwImageType: 0x2, dwImageStart: 0x0, dwImageLength: 0x0, dwLaunchAddr: 0x0
+BootConfigInit
-BootConfigInit
TOC {
dwSignature: 0x434F544E
BootCfg {
ConfigFlags: 0x2020
BootDelay: 0x5
ImageIndex: 1
IP: 0.0.0.0
MAC Address: 00:00:00:00:00:00
Port: 0.0.0.0
SubnetMask: 255.255.255.0
}
ID[0] {
dwVersion: 0x20004
dwSignature: 0x45424F54
String: 'eboot.nb0'
dwImageType: 0x2
dwTtlSectors: 0x400
dwLoadAddress: 0x80038000
dwJumpAddress: 0x80038000
dwStoreOffset: 0x0
sgList[0].dwSector: 0x1800
sgList[0].dwLength: 0x400
}
ID[1] {
dwVersion: 0x1
dwSignature: 0x43465348
String: ''
dwImageType: 0x2
dwTtlSectors: 0x0
dwLoadAddress: 0x0
dwJumpAddress: 0x0
dwStoreOffset: 0x0
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
Press [ENTER] to download image stored on boot media, or [SPACE] to enter boot monitor.
但是这个EBOOT是可以下载NK并接能进入系统,然后就会出现USB连接导致系统变慢。感觉是TOC的问题,但是这个真不懂,请教各位高手了