# This uEnv.txt file can contain additional environment settings that you
# want to set in U-Boot at boot time.  This can be simple variables such
# as the serverip or custom variables.  The format of this file is:
#    variable=value
# NOTE: This file will be evaluated after the bootcmd is run and the
#       bootcmd must be set to load this file if it exists (this is the
#       default on all newer U-Boot images.  This also means that some
#       variables such as bootdelay cannot be changed by this file since
#       it is not evaluated until the bootcmd is run.

load_addr=0x80080000

flash_ospi=sf probe; fatload mmc ${mmcdev} 0x80080000 sbl/sbl_ospi_hlos.release.hs_fs.tiimage; sf update 0x80080000 0x0 $filesize; fatload mmc ${mmcdev} 0x80080000 sbl/nor_spi_patterns.bin; sf update 0x80080000 0x3FC0000 $filesize; fatload mmc ${mmcdev} 0x80080000 sbl/qnx.appimage.hs_fs; sf update 0x80080000 0xC0000 $filesize
uenvcmd=run flash_ospi;echo 'OSPI flashed...please restart board in spi boot mode';sleep 1000
