I am building binary of sample code to flash it in IMX8ULP_EVK and following below document
https://www.nxp.com/document/guide/getting-started-with-the-i-mx-8ulp-evk:GS-I.MX-8ULP-EVK?section=m...
In that it is written like
I download latest linux release and unzip it there I am unable to find any image from above.
These image are essential for me to generate flash.bin, But I am not able to find above binaries from any resources, Can anyone help me on this?
#imx8ulp
#embedded
Thanks @Joan
Actually I want to flash sample hello world code in m33, So we build m33 binary in vscode where we have mcuxpresso integration, then for bl31 I build imx-atf and for uboot I build uboot-imx and taken upower and container from
https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-upower-1.3.0.bin and https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-sentinel-0.10.bin
then in the imx-mkimage I generated flash.bin
when I flash it with uuu -b spl flash.bin, I am not able to flash it in the device at 75% it is falling.
Is the path correct which I am following?
Hey @joanxie
I followed PDF which is provided by you but in this PDF you mentioned that we can find following bin files from linux package but unfortunately i'm not able to find those images from linux package.
Get imx-mkimage, s400 firmware(mx8ulpa2-ahab-container.img), OPTEE(tee.bin),
upower firmware(upower.bin), uboot-spl(u-boot-spl.bin), uboot(u-boot .bin), and TFA(bl31.bin) from the Linux release package.
I installed linux release package from : https://www.nxp.com/design/design-center/software/embedded-software/i-mx- software/embedded-linux-fo...
Linux release package details :-
In that folder structure I am not able to found any of the above images, So I taken images from different sources like for u-boot I build u-boot-imx for bl31 I build imx-atf and for container and power image followed
https ://community.nxp.com/t5/i-MX-Processors/i-MX8ULP-CPU-Rev-A2-Boot-failed/mp/1713409/highlight/t...
Than I generated flash.bin by following command.
command - " make SOC=iMX8ULP REV=A2 flash_singleboot_m33 "
After generating Flash.bin i upload flash.bin file using uuu by following command but there after 75% of flashing giving timeout error.
command - " uuu -b spl flash.bin "
After getting timeout error when i check A35 console i'm getting following log.
log of a35 console -
U-Boot SPL 2022.04 (Apr 19 2024 - 17:59:50 +0530)
Normal Boot
ELE firmware version 0.0.10-af252062
upower_apd_inst_isr: entry
upower_init: soc_id=48
upower_init: version:11.11.13
upower_init: start uPower RAM service
user_upwr_rdy_callb: soc=b
user_upwr_rdy_callb: RAM version:12.17
Turning on switches...
Turn on switches ok
Turning on memories...
Turn on memories ok
Clearing DDR retention...
Clear DDR retention ok
SEC0: RNG instantiated
Trying to boot from BOOTROM
Boot Stage: USB boot
Can't found uboot image in 640K range
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
log on terminal
desktop-1@desktop1:~/flash_file_gen/imx-mkimage$ sudo uuu -b spl iMX8ULP/flash.bin
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172
Success 0 Failure 1
1:6 1/ 1 [HID(W):LIBUSB_ERROR_TIMEOUT ] SDPS: boot -f iMX8ULP/flash.bin
Can you please send me one zip where all above images are there so I will add my m33.bin file and build flash.bin with that.
we are using MCIMX8ULP-EVK9 - https://www.nxp.com/part/MCIMX8ULP-EVK9#/
Thanks,
Dhruvin
I don't have this zip files, pls try to the download command like uuu -b emmc flash.bin? if still failed, let me try it on my board later
Hello @joanxie
I tried with above command still unable to upload,
You can try at your end, Please let me know each step and commands you are following, So I can compare on my end,
Can you tell me approx time for you to do this at your side?
Thanks
Dhruvin
I will take my local holiday, pls check if you download correct firmware version if you use 6.6.3
https://github.com/nxp-imx/meta-imx/blob/nanbield-6.6.3-1.0.0/SCR-6.6.3-1.0.0.txt
firmware-upower-1.3.1.bin
what " latest linux release " do you download? do you mean the prebuilt images? if yes, these images are already built, you don't need imx-mkimage to build them again, if you want to get these standalone images, you need download and build them separately by toolchain, you can refer to this document