Hello @Axent
I hope you are doing very well.
Could you please clarify the device you are using?
Also, please refer to the chapter 5 Programming Images of the Android User's Guide.
There is described how to flash it with:
$ sudo ./imx-sdcard-partition.sh -f <soc_name> -D
<directory_containing_the_images> /dev/sdX
# <soc_name> can be as imx8mm, imx8mn, imx8mp, imx8mq, imx8qm, imx8qxp, imx95.
Or same as you with the fastboot_imx_flashall:
sudo ./fastboot_imx_flashall.sh -f imx8mm -a -e -u trusty-dual -D /imx_android/evk_8mm/
Best regards,
Salas.