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.

Serial flashing with DM8148

Hello,

We are working on a multimedia device which contain mainly two processors.

1.AM35xx : Host Card
2.DM646x : Video Application Card

Currently for flashing x-loader and u-boot in NAND on AM35xx side we are using SD Card interface.

And for flashing UBL and U-boot in NAND on DM646x side we are using sfh_DM646x.exe serial flashing utility.

SD Card interface is only given with AM35xx Card so we have to use serial flashing on DM646x side.

Now for more powerful video application we are migrating on DM8148 processor for Video Application Card.

So we need some Serial interface based NAND flashing (UBL , U-boot) utility for DM8148 because SD Card interface is only given with AM35xx card.

Can you please guide us on such a utility or way to flash UBL and U-boot in NAND flash on DM8148 via serial interface.

  • Hello,

    Well, you can just use UART boot. Pass the u-boot image via UART and load it, then pass other various images and flash the NAND using that same u-boot. You can use simple u-boot script. Please, refer to:

    <EZSDK_HOME>/board-support/docs/TI81XX_PSP_U-Boot.pdf

    Let me know if something else is required. Thank you.

    BR

    Vladimir

  • Hi Vladimir,

    Thank you for replying,

    I read "U-Boot UART support" from "TI81XX_PSP_U-Boot.pdf".

    As mention in document, for flashing u-boot to NAND we have to follow belows steps :
        
        1.Loading 1st stage over UART
        2.Loading 2nd stage over UART
        3.Flashing images to NAND

    But for a production perspective, we can't do this. We want some solution to flash u-boot in to the NAND directly by single step or single script.

    For example as I told you in DM646x we are using "sfh_DM646x.exe" which directly flash UBL and U-Boot to NAND.

    We need same type of flashing solution for DM814x.

  • Brijesh,

    Do you have Ethernet interface in your card? If so, you can try Ethernet boot. If you want to flash it to NAND, then you can create a small bootloader from the first stage boot, which will run from internal OCMC RAM and has an ethernet driver and a NAND driver. The main function of the program should be reading from ethernet and flashing to NAND. The same thing can be done for serial also. 

  • Dear Renjith,

    Yes, We have Ethernet Interface in our card.

    Do ti offer boot-loader for Ethernet as you talking about ?

  • Yes, BOOTROM supports EMAC boot. 

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_EMAC_Boot