Hi Team,
I had tried successfully booting from eMMC and SD, now I' trying to boot from NOR-FLASH. Please guide me the approach. which commands need to be used to copy the files from SD-card to QSPI and any changes need to be done like offset. Please do the needful.
Thanks
Robbi
In your Yocto build environment, please add the following line in build-wayland-imx9/conf/local.conf
UBOOT_CONFIG = "fspi"
Then buil FSPI NOR flash image with the following command.
$ bitbake imx-boot
You will get imx-boot-imx93-14x14-lpddr4x-evk-fspi.bin-flash_singleboot_flexspi in folder build-wayland-imx9/tmp/deploy/images/imx93-14x14-lpddr4x-evk.
Then deploy this image from SD u-boot with the following command.
=>tftp 0x80000000 imx-boot-imx93-14x14-lpddr4x-evk-fspi.bin-flash_singleboot_flexspi
(If copy from SD card fatload mmc 0:1 0x80000000 imx-boot-imx93-14x14-lpddr4x-evk-fspi.bin-flash_singleboot_flexspi)
=> sf probe 0:0
=> sf erase 0 +$filesize
=> sf write 0x80000000 0 $filesize
Then configure the switch setting to boot from QSPI NOR flash.