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.

bin file of u boot

Hi all,

In our Dm6467 custom board UBL is booting properly and the UBL is also coping any NAND image into DDR memory properly. Now, I want to Flash one simple LED blinking application code(U-Boot) in NAND memory which will be copied into DDR by UBL and run from there. For this I need NAND Image of my application code.

So, I want to know, the procedure to generate the NAND Image of my application code and what loadAddress and entryOffset should be used by the UBL to copy my application NAND Image into DDR and start execution of application code from DDR.

Thanks.

With regards,
Srikanta 

  • Srikanta,

    Its not so tough to do this. The .out file that is generated from CCS is in COFF/ELF format. So you'll have to strip the executable to a plain binary. This can be done by hex470 tool. The same procedure is done in UBL build. Go through the UBL build process and understand how this is performed in UBL. You can reuse the same logic here also.