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.

Boot Image creation for NAND Flash

Hi

Problem now iam facing is the boot image creation for the NAND flash

I done below steps and tried to check booting

1. Written a code for blinking a LED in the hawk board i verified using the JTAG,

2.From the .out file of this project  created the ais file using the ais file generator.. Some of the settings for PLL0,PLL1,DDR are used as per hawk board forum

3. I tried to use NAND Flash writer to flash the ais file in the NAND Flash

While using the "NAND Flash Writer" there were 3 options

1.DSPAIS

      Which writes in first block of NAND flash

if (dspais)

 {
  gNandBoot.magicNum    = UBL_MAGIC_SAFE;
  gNandBoot.block       = DEVICE_NAND_RBL_SEARCH_START_BLOCK;
  gNandBoot.entryPoint  = 0x0100;      
  gNandBoot.ldAddress   = 0;           
 }

2. ARMUBL

Which writes in 2nd block

else if (armubl == 1)

{
  gNandBoot.magicNum    = UBL_MAGIC_BIN_IMG;
  gNandBoot.block       = DEVICE_NAND_ARM_UBL_SEARCH_START_BLOCK;
  gNandBoot.entryPoint  = 0x80000000;      
  gNandBoot.ldAddress   = 0x80000000;  
 }

 

U-Boot

Which also writes in 2nd block

else if (uboot == 1) {
  gNandBoot.magicNum    = UBL_MAGIC_DMA;
  gNandBoot.block       = (armboot ?
    DEVICE_ARMBOOT_NAND_UBOOT_SEARCH_START_BLOCK :
    DEVICE_DSPBOOT_NAND_UBOOT_SEARCH_START_BLOCK);
  gNandBoot.entryPoint  = 0xc1080000;     
  gNandBoot.ldAddress   = 0xc1080000;
 }

I didnt understand the parameters like

 gNandBoot.entryPoint  

  gNandBoot.ldAddress  

What they signify?

Kindly advice me for the steps for correct boot image creation

 

Regards

Vijayabharathi C