I am confused by a problem(our CPU board is based on beaglebone and add a nandflash to it, BSP from TI and run W7EC):
1, some board (about 10units) in our products boot from Nandflash(the boot pin are configured: SYSBOOT[4:0]: 10011b ,boot order: NAND->NANDI2C->MMC0->UART0 ),the OS can not start up successfully. I can see CCCCC(it mean that it can not find SD card) in the Hypertrm.
2, I think may be the boot configure pin is wrong, but I check their voltage, they are right, and the board are products, they are impossible wrong because they booted from nandflash successfully some days ago.
3,So I insert a SD card with eboot and NK into the board. I see that:
(1) waiting about 10seconds;
(2) the screen display a picture from eboot in SD card, but it not load NK from SD card;
(3) then it show a picture from eboot in NANDfalsh, and load NK from nandflash;
4, it means that only when I insert a SD card with eboot and NK into the board, the board can boot from nandflash successfully, or it will only show CCCCCC in Hypertrm.
5, So I compared the information from Hypertrm
(1) the board which can boot from nandflash normally, the Hypertrm will show that:
Texas Instruments Windows CE EBOOT for AM33x, Built Feb 16 2013 at 14:50:51
EBOOT Version 0.0.1, BSP BSP_WINCE_ARM_A8 02.30.00.01
TI AM33X
ecc type:3
System ready!
Preparing for download...
INFO: Predownload....
Checking bootloader blocks are marked as reserved (Num = 18)
BOOT_CFG_SIGNATURE is different, read 0, expect 1111705159
WARN: Boot config wasn't found, using defaults
INFO: SW3 boot setting: 0x13
IsValidMBR: MBR sector = 0x480 (valid MBR)
OpenPartition: Partition Exists=0x1 for part 0x20.
8c30a0c8 fa43 -> c8 a0 30 8c 43 fa
8c30a0c8 fb43 -> c8 a0 30 8c 43 fb
OALFlashStoreOpen: 2048 blocks, 64 sectors/block
OALFlashStoreOpen: 2048 bytes/sector, 18 reserved blocks
Load NK image from flash memory
……
(2) The board which boot from nandflash with the help of eboot in SD card, the Hypertrm will show that:
TI AM33X
ecc type:3
System ready!
Preparing for download...
INFO: Predownload....
Checking bootloader blocks are marked as reserved (Num = 18)
BOOT_CFG_SIGNATURE is different, read -1, expect 1111705159
WARN: Boot config wasn't found, using defaults
INFO: SW3 boot setting: 0x13
IsValidMBR: MBR sector = 0x480 (valid MBR)
OpenPartition: Partition Exists=0x1 for part 0x20.
cb296abc 560d -> bc 6a 29 cb d 56
cb296abc 570d -> bc 6a 29 cb d 57
Hit space to enter configuration menu [40] 5...
Hit space to enter configuration menu [1040] 4...
Hit space to enter configuration menu [2040] 3...
Hit space to enter configuration menu [3040] 2...
Hit space to enter configuration menu [4040] 1...
Init HW: controller RST
SDCARD: requested speed 1000000, actual speed 1000000
SDCARD: requested speed 25000000, actual speed 19200000
OALFlashStoreOpen: 2048 blocks, 64 sectors/block
OALFlashStoreOpen: 2048 bytes/sector, 18 reserved blocks
Load NK image from flash memory
……
6,We can see that:
(1) the problem board need to boot from SD then boot from Nandflash, Why?
(2) The problem board debug information show that
BOOT_CFG_SIGNATURE is different, read -1, expect 1111705159
(3) The normal board debug information show that:
BOOT_CFG_SIGNATURE is different, read 0, expect 1111705159
(4)What’s its mean and why?