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.

PROCESSOR-SDK-AM62X: USB DFU Image Validation by boot rom code.

Part Number: PROCESSOR-SDK-AM62X

Hi Team,

We are flashing the eMMC using the USB-DFU method following steps mentioned in 

e2e.ti.com/.../faq-sk-am62-how-to-flash-emmc-using-usb-dfu-on-am62x-sk-e2

Could you please let me know what validation is done by boot rom code for all images before flashing the image into eMMC memory. We are using GP device.

Regards,

Kumar Ashutosh

  • Could you please let me know what validation is done by boot rom code for all images before flashing the image into eMMC memory. We are using GP device.

    There's no binary image authentication by ROM on GP.
    I'm attaching a sample log I captured from eMMC flashing using usb-dfu on AM62x HS-SE.
    1/. u-boot flasher usb-dfu binaries are all verified starting from Power-On-Reset (POR); "Authentication passed" in the log.
    2/. It is possible for user to customize user's flasher usb-dfu code to verify eMMC binary via calling the TISCI API before flashing them to eMMC.
    Best,
    -Hong

    U-Boot SPL 2023.04-00001-gf5b119738d15-dirty (Sep 25 2023 - 09:48:04 -0500)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)')
    SPL initial stack usage: 13376 bytes
    Trying to boot from DFU
    ########################################################DOWNLOAD ... OK
    Ctrl+C to exit ...
    alloc space exhausted
    Could not get FIT buffer of 1138012 bytes
    	check CONFIG_SYS_SPL_MALLOC_SIZE
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Loading Environment from nowhere... OK
    init_env from device 10 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
    NOTICE:  BL31: Built : 00:42:57, Jan 13 2023
    
    U-Boot SPL 2023.04-g24098ea90d (Jul 06 2023 - 12:59:40 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.5--v09.00.05 (Kool Koala)')
    SPL initial stack usage: 1856 bytes
    Error (-2): cannot determine file size
    Trying to boot from DFU
    ################################################DOWNLOAD ... OK
    Ctrl+C to exit ...
    Authentication passed
    Authentication passed
    
    
    U-Boot 2023.04-g24098ea90d (Jul 06 2023 - 12:59:40 +0000)
    
    SoC:   AM62X SR1.0 HS-SE
    Model: Texas Instruments AM625 SK
    EEPROM not available at 80, trying to read at 81
    Board: AM62B-SKEVM rev A
    DRAM:  2 GiB
    Core:  71 devices, 31 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial
    Out:   serial
    Err:   serial
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2  1  0 
    => setenv dfu_alt_info ${dfu_alt_info_emmc}
    => dfu 0 mmc 0
    generic_phy_get_bulk : no phys property
    ###############DOWNLOAD ... OK
    Ctrl+C to exit ...
    ########################################################DOWNLOAD ... OK
    Ctrl+C to exit ...
    ################################################DOWNLOAD ... OK
    Ctrl+C to exit ...