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.

[FAQ] TDA4VM: How to flash images to the EMMC Boot 0 partition using tftp?

Part Number: TDA4VM

How can we flash the boot images to the emmc boot 0(raw mode) partition using tftp?

  • Hi 

    To flash the images to the emmc boot 0 partition using tftp ,please follow these steps:

    STEP 1: On Host PC create the TFTP server's base directory

    sudo mkdir /tftpboot
    sudo chmod -R 777 /tftpboot
    sudo chown -R nobody /tftpboot

    STEP 2: Copy all the boot images to the tftp boot partition. For example, in j721e copy the below files:
    tiboot3.bin,
    sysfw.itb,
    tispl.bin,
    u-boot.img

    STEP 3 : Boot upto UBOOT using any boot mode(sd/dfu/tftp) ,halt at UBOOT and run below command:

    =>setenv serverip $(serverip)
    =>dhcp
    =>mmc dev 0 1
    
    =>tftp ${loadaddr} tiboot3.bin
    =>mmc write ${loadaddr} 0x0 0x400
    =>tftp ${loadaddr} tispl.bin
    =>mmc write ${loadaddr} 0x400 0x1000
    =>tftp ${loadaddr} u-boot.img
    =>mmc write ${loadaddr} 0x1400 0x2000
    =>tftp ${loadaddr} sysfw.itb
    =>mmc write ${loadaddr} 0x3600 0x800
    =>mmc partconf 0 1 1 1
    =>mmc bootbus 0 2 0 0
    
    

    STEP 4 : Change the boot switch  to emmc(boot 0) as below:

    SW8[1:8]=1000_0000

    SW9[1:8]=0100_0000

    STEP 5 : Power on the board

    Regards
    Diwakar