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.

SK-AM69: Booting from OSPI

Part Number: SK-AM69

I followed the steps in the SDK developer's guide for copying the bootloader to OSPI memory:

=> sf probe
=> tftp ${loadaddr} tiboot3.bin
=> sf update $loadaddr 0x0 $filesize
=> tftp ${loadaddr} tispl.bin
=> sf update $loadaddr 0x80000 $filesize
=> tftp ${loadaddr} u-boot.img
=> sf update $loadaddr 0x280000 $filesize

Then I move SW2.3 to the ON position, and power up.  I see the following on the serial terminal:

U-Boot SPL 2023.04-g756ba776d4 (Jul 13 2023 - 05:36:12 +0000)
EEPROM not available at 0x50, trying to read at 0x51
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.0.6--v09.00.06 (Kool Koala)')
SPL initial stack usage: 13424 bytes
Trying to boot from SPI
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Apparently it successfully loads tiboot3.bin, but fails to load tispl.bin.  What am I doing wrong?  Thank you.

  • Hello David,

    I will be trying this on my end and will get back to you with the findings early next week.

    Thank you for your patience.

    - Fabiana

  • I figured it out.  I needed to enable raw image support in u-boot.  I modified configs/j784s4_evm_a72_defconfig and configs/j784s4_evm_a72_defconfig.  I changed the following two options:

    CONFIG_TI_SECURE_DEVICE=n

    CONFIG_SPL_RAW_IMAGE_SUPPORT=y

    Then I rebuilt u-boot.

    TI, going through your user's guide is like reading through a manual where every other page is missing.

    Thanks,

    David