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.

AM623: secure boot

Part Number: AM623
Other Parts Discussed in Thread: SK-AM62

Hi, TI expert! 

I found the following error during the startup of am62x.

May I ask why this error occurred and how can this error be resolved?

Regards,

Li

  • Hello Li,
    I'm attaching a working log I captured with SDK 8.6 for flashing and booting u-boot from (x)SPI-NOR on SK-AM62 board.
    Best,
    -Hong

    U-Boot SPL 2021.01-g2ee8efd654 (Feb 24 2023 - 05:59:23 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    SPL initial stack usage: 13424 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
    NOTICE:  BL31: Built : 05:06:58, Feb 24 2023
    
    U-Boot SPL 2021.01-g2ee8efd654 (Feb 24 2023 - 05:29:33 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2021.01-g2ee8efd654 (Feb 24 2023 - 05:29:33 +0000)
    
    SoC:   AM62X SR1.0 HS-FS
    Model: Texas Instruments AM625 SK
    EEPROM not available at 0x50, trying to read at 0x51
    Board: AM62-SKEVM rev E1
    DRAM:  2 GiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
    Loading Environment from MMC... *** Warning - bad CRC, using default environment
    
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2  0 
    => md.l 0x43000030 1
    43000030: 00000243                               C...
    => mmc rescan
    => mmc list
    mmc@fa10000: 0 (eMMC)
    mmc@fa00000: 1
    mmc@fa20000: 2
    => ls mmc 1
                .Trash-1000/
                am62_otp_kw_9.0.7_pre/
         1490   uEnv.txt
          318   wificfg
                System Volume Information/
            1   .psdk_setup
                am62_otp_kw_9.0.7/
                am62_8.6/
       283878   tiboot3-am62x-hs-fs-evm.bin
       332430   tiboot3-am62x-gp-evm.bin
       335019   tiboot3-am62x-hs-evm.bin
           11   tifs.bin
         4096   tifs_log.bin
                am62_9.0.0.7/
       897880   u-boot.img
       961988   tispl.bin
       335019   tiboot3.bin
    
    11 file(s), 6 dir(s)
    
    => sf probe
    SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
    => load mmc 1 ${loadaddr} tiboot3.bin
    335019 bytes read in 7 ms (45.6 MiB/s)
    => sf update $loadaddr 0x0 $filesize
    device 0 offset 0x0, size 0x51cab
       
    Updating, 79% 177068 B/s
    335019 bytes written, 0 bytes skipped in 2.748s, speed 124703 B/s
    => load mmc 1 ${loadaddr} tispl.bin
    961988 bytes read in 30 ms (30.6 MiB/s)
    => sf update $loadaddr 0x80000 $filesize
    device 0 offset 0x80000, size 0xeadc4
       
    Updating, 28% 181866 B/s   
    Updating, 82% 270964 B/s
    699844 bytes written, 262144 bytes skipped in 4.334s, speed 227080 B/s
    => load mmc 1 ${loadaddr} u-boot.img
    897880 bytes read in 14 ms (61.2 MiB/s)
    => sf update $loadaddr 0x280000 $filesize
    device 0 offset 0x280000, size 0xdb358
       
    Updating, 30% 181866 B/s   
    Updating, 59% 180703 B/s   
    Updating, 88% 180967 B/s
    897880 bytes written, 0 bytes skipped in 5.734s, speed 160263 B/s
    => md.l 0x43000030 1
    43000030: 00000243                               C...
    => mw.l 0x43000030 0x00000073
    => md.l 0x43000030 1
    43000030: 00000073                               s...
    => reset
    resetting ...
    
    U-Boot SPL 2021.01-g2ee8efd654 (Feb 24 2023 - 05:59:23 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    SPL initial stack usage: 13424 bytes
    Trying to boot from SPI
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
    NOTICE:  BL31: Built : 05:06:58, Feb 24 2023
    
    U-Boot SPL 2021.01-g2ee8efd654 (Feb 24 2023 - 05:29:33 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    Trying to boot from SPI
    Authentication passed
    Authentication passed
    
    
    U-Boot 2021.01-g2ee8efd654 (Feb 24 2023 - 05:29:33 +0000)
    
    SoC:   AM62X SR1.0 HS-FS
    Model: Texas Instruments AM625 SK
    EEPROM not available at 0x50, trying to read at 0x51
    Board: AM62-SKEVM rev E1
    DRAM:  2 GiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
    Loading Environment from MMC... *** Warning - bad CRC, using default environment
    
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0
    =>