This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM368 ubl 和uboot启动,启动不了。



///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

// Defines which NAND blocks the RBL will search in for a UBL image
#define DEVICE_NAND_RBL_SEARCH_START_BLOCK (1)
#define DEVICE_NAND_RBL_SEARCH_END_BLOCK (24)

// Defines which NAND blocks are valid for writing the APP data
#define DEVICE_NAND_UBL_SEARCH_START_BLOCK (25)
#define DEVICE_NAND_UBL_SEARCH_END_BLOCK (50)

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

headerPtr = (Uint32 *) gNandTx;
headerPtr[0] = nandBoot->magicNum; //Magic Number
headerPtr[1] = nandBoot->entryPoint; //Entry Point
headerPtr[2] = nandBoot->numPage; //Number of Pages
headerPtr[3] = blockNum; //Starting Block Number
headerPtr[4] = 1; //Starting Page Number - always start data in page 1 (this header goes in page 0)

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

从上面代码来看不是要 把ubl 写到0x20800 ,uboot 写到 0x320800里面吗?nand write 0x80700000 0x20800  0x4000,  nand write 0x80700000 0x320800 0x4000 

可以为什么起不来呢??求解啊,帮下忙啊。。。