Flashing u-boot manually on verdin am62

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


  1. Difference between gp and hs-fs versions:

    The tiboot3-am62x-gp-verdin.bin and tiboot3-am62x-hs-fs-verdin.bin files represent different configurations of the bootloader for the Verdin AM62 module. The gp version typically stands for “General Purpose,” which is used for standard, non-secure boot processes. The hs-fs version stands for “High Security - Field Secure,” which is used for secure boot processes. If your application does not require secure boot features, the gp version is the correct one to use.

  2. Using dd to flash U-Boot:

    Yes, you can use the dd command to flash U-Boot, but you need to be careful with the offsets specified in the dd_options. Each file needs to be written to a specific location on the storage device. The dd_options in the image.json file specify the seek parameter, which determines the offset in blocks where the file should be written.

    For example, to write the tiboot3-am62x-gp-verdin.bin file, you would use:

    dd if=tiboot3-am62x-gp-verdin.bin of=/dev/mmcblk0boot0 bs=1M seek=0
    

    Similarly, for tispl.bin and u-boot.img, you would use:

    dd if=tispl.bin of=/dev/mmcblk0boot0 bs=1M seek=1024
    dd if=u-boot.img of=/dev/mmcblk0boot0 bs=1M seek=5120
    

    Ensure that you replace /dev/mmcblk0boot0 with the correct device path for your module.

  3. Recovery:

    If you incorrectly install something and the board does not boot, you can use the Toradex Easy Installer in recovery mode to restore the module. This involves booting the module into recovery mode and using a host PC to re-flash the module with a known good image. Always ensure you have a backup of your working images and configurations before attempting manual updates.

Please, also check if these links can help you solve your problem:

https://docs.u-boot.org/en/v2024.04/board/ti/j721s2_evm.html

Cannot update uboot.