CPU:am3517
tool:FLASH1.4
flash1.4 configuration:
memory NANDINFO driver Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x00000000 bberase 0 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 2048 l 1 acv 0x23 f 0x0018)
nand : K9F2G08U0B-PCB0
interface:USB
problem:
MLO had been downloaded to K9F2G08U0B-PCB0 succussfully,but there is no response after reset the boad.
the boot sequence is 0x101100(EMAC USB MMC1 NAND).
when inserted the SD card,it boot up rightly.I can compare the two MLO file between the SD card and the nandflash through the uboot cmp command,it is same.
so why?
FLASH 1.4 print info:
-stdout
-omap 3
-t 60
-p EVM_MDDR_MICRON_2G_EMIF
-2
chip_erase NANDINFOSWECC 40000
Leaving parameter file:temp_script.txt
@temp_script.txt
Looking for device (omap usb)
Please turn on device
Waiting for device (omap usb)
Found device (omap usb)
Awaiting ASIC id
AsicId items 05
AsicId id 01 05 01 34 30 07 58
AsicId secure_mode 13 02 01 00
AsicId public_id 12 15 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
AsicId root_key_hash 14 15 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
AsicId checksum 15 09 01 93 B6 BC 4A 00 00 00 00
Searching 2nd for: EVM_MDDR_MICRON_2G_EMIF 343007 58 GP
Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_2g.2nd
Entering parameter file:omapflash2nd.txt at line: 15
-pheriphalboot_reopen
Reading board configuration file Targets\Configurations\configuration_am35xxevm_micron_2g.txt
Reading definition file .\targets\definitions\definitions_omap3.txt
-board_config Targets\Configurations\configuration_am35xxevm_micron_2g.txt
Leaving parameter file:omapflash2nd.txt
Sending size of second file (0x00006804 bytes)
Transferring second file to target (0x6804 bytes)
Closing boot connection
Found device (omap usb)
Waiting for 2nd
Found 2nd
Looking for a driver for 'NANDINFOSWECC'
chip_driver NANDINFOSWECC Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin gpmc 0x6E000000 cs 0 address 0x00000000 bberase 0 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 2048 l 1 acv 0x23 f 0x0018 swecTxp...
Downloading driver
Downloading 'Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin'
Sending data (41724 bytes) :::::::::::::::..... [32764]
Sending data (41724 bytes) :::::::::::::::::::: [41724]
Sending data (41724 bytes) :::::::::::::::::::: [41724]
Interface 'OMAPFLASH DRIVER v5'
Driver 'NAND ONFI 16/8 BIT'
Driver configuration: gpmc = 0x6E000000
Driver configuration: cs = 0x00000000
Driver configuration: address = 0x00000000
Driver configuration: bberase = 0x00000000
Driver configuration: onfi = 0x00000000
Driver configuration: bpp = 0x00000800
Driver configuration: sbpp = 0x00000040
Driver configuration: ppb = 0x00000040
Driver configuration: bpl = 0x00000800
Driver configuration: l = 0x00000001
Driver configuration: acv = 0x00000023
Driver configuration: f = 0x00000018
Driver configuration: swecc = 0x00000001
NAND SW ECC
NAND BCH Mode = 0
NAND HWECC offset = 1, size = 12
NAND NONEv0 VENDOR 0x00 UNKNOWN
NAND 8 BIT DEVICE 0x00 UNKNOWN
NAND NAND CYCLES 0x23 (3 ROW, 2 COLUMN)
NAND 2048 BYTES/PAGE (SPARE 64)
NAND 64 PAGES/BLOCK (131072 BYTES/BLOCK)
NAND 2048 BLOCKS/UNIT (268435456 BYTES/UNIT)
NAND 256 MB TOTAL SIZE
NAND ONFI DRIVER INIT COMPLETE
Downloading complete
Elapsed time: 0:00.641 (65092 bytes/s)
End loading driver
Erasing
Erasing 262144 bytes starting at 0x00000000
Erase progress ::::::::::.......... [131072]
Erase progress :::::::::::::::::::: [262144]
NAND ERASED 262144 BYTES FROM ADDRESS 0x00000000 (0 BAD BLOCKS)
Elapsed time: 0:00.000
Console program success, exit code: 0
-stdout
-omap 3
-t 60
-p EVM_MDDR_MICRON_2G_EMIF
-2
chip_download NANDINFOSWECC E:\MLO
Leaving parameter file:temp_script.txt
@temp_script.txt
Looking for device (omap usb)
Please turn on device
Waiting for device (omap usb)
Found device (omap usb)
Awaiting ASIC id
AsicId items 05
AsicId id 01 05 01 34 30 07 58
AsicId secure_mode 13 02 01 00
AsicId public_id 12 15 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
AsicId root_key_hash 14 15 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
AsicId checksum 15 09 01 93 B6 BC 4A 00 00 00 00
Searching 2nd for: EVM_MDDR_MICRON_2G_EMIF 343007 58 GP
Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_2g.2nd
Entering parameter file:omapflash2nd.txt at line: 15
-pheriphalboot_reopen
Reading board configuration file Targets\Configurations\configuration_am35xxevm_micron_2g.txt
Reading definition file .\targets\definitions\definitions_omap3.txt
-board_config Targets\Configurations\configuration_am35xxevm_micron_2g.txt
Leaving parameter file:omapflash2nd.txt
Sending size of second file (0x00006804 bytes)
Transferring second file to target (0x6804 bytes)
Closing boot connection
Found device (omap usb)
Waiting for 2nd
Found 2nd
Looking for a driver for 'NANDINFOSWECC'
chip_driver NANDINFOSWECC Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin gpmc 0x6E000000 cs 0 address 0x00000000 bberase 0 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 2048 l 1 acv 0x23 f 0x0018 swecTxp...
Downloading driver
Downloading 'Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin'
Sending data (41724 bytes) :::::::::::::::..... [32764]
Sending data (41724 bytes) :::::::::::::::::::: [41724]
Sending data (41724 bytes) :::::::::::::::::::: [41724]
Interface 'OMAPFLASH DRIVER v5'
Driver 'NAND ONFI 16/8 BIT'
Driver configuration: gpmc = 0x6E000000
Driver configuration: cs = 0x00000000
Driver configuration: address = 0x00000000
Driver configuration: bberase = 0x00000000
Driver configuration: onfi = 0x00000000
Driver configuration: bpp = 0x00000800
Driver configuration: sbpp = 0x00000040
Driver configuration: ppb = 0x00000040
Driver configuration: bpl = 0x00000800
Driver configuration: l = 0x00000001
Driver configuration: acv = 0x00000023
Driver configuration: f = 0x00000018
Driver configuration: swecc = 0x00000001
NAND SW ECC
NAND BCH Mode = 0
NAND HWECC offset = 1, size = 12
NAND NONEv0 VENDOR 0x00 UNKNOWN
NAND 8 BIT DEVICE 0x00 UNKNOWN
NAND NAND CYCLES 0x23 (3 ROW, 2 COLUMN)
NAND 2048 BYTES/PAGE (SPARE 64)
NAND 64 PAGES/BLOCK (131072 BYTES/BLOCK)
NAND 2048 BLOCKS/UNIT (268435456 BYTES/UNIT)
NAND 256 MB TOTAL SIZE
NAND ONFI DRIVER INIT COMPLETE
Downloading complete
Elapsed time: 0:00.610 (68400 bytes/s)
End loading driver
Downloading
Downloading 'E:\MLO'
Sending data (18332 bytes) :::::::::::::::::::: [18332]
Sending data (18332 bytes) :::::::::::::::::::: [18332]
Downloading complete
Elapsed time: 0:00.312 (58756 bytes/s)
Elapsed time: 0:00.000
Console program success, exit code: 0
UBOOT cmp command print info
AM3517_EVM # nand read.i 0x80000000 0 40000
NAND read: device 0 offset 0x0, size 0x40000
262144 bytes read: OK
AM3517_EVM # mmc initmmc1 is available
AM3517_EVM # fatload mmc1 0 0x84000000 MLO
reading MLO
18332 bytes read
AM3517_EVM # cmp 0x80000000 0x84000000 40000
word at 0x8000479c (0xffffffff) != word at 0x8400479c (0x00000000)
Total of 4583 words were the same
AM3517_EVM #