imx8ulp falcon image cannot burn

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8ulp falcon image cannot burn

Jump to solution
2,116 Views
tangchao90
Contributor III

my branch is scarthgap-6.6.36-2.1.0

https://github.com/nxp-imx/meta-imx/tree/scarthgap-6.6.36-2.1.0

https://github.com/nxp-imx-support/meta-imx-fastboot/tree/lf-6.6.36-2.1.0

my board is 

https://www.nxp.com/design/design-center/development-boards-and-designs/MCIMX8ULP-EVK?tid=vanimx8ulp...

According to the manual,MACHINE ??= 'imx8ulp-lpddr4-evk'  but the image can't burn,below is  the burn log. when i use branch imx_6.1.55_2.2.0, it can burn and start success,but i want to start quickly in falcon mode 

U-Boot SPL 2024.04+gde16f4f1722+p0 (Sep 02 2024 - 10:44:35 +0000)
Normal Boot
ELE firmware version 1.2.0-4b189593
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.18
Turning on switches...
Turn on switches ok
Turning on memories...
Turn on memories ok
Clearing DDR retention...
Clear DDR retention ok
SEC0: RNG instantiated
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Labels (1)
0 Kudos
Reply
1 Solution
1,960 Views
tangchao90
Contributor III

my steps is below

1.  repo init -u https://github.com/nxp-imx/imx-manifest.git -b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml

2. repo sync

3. enter the source directory and

 git clone -b lf-6.6.36-2.1.0 https://github.com/nxp-imx-support/meta-imx-fastboot

4. DISTRO=fsl-imx-wayland MACHINE=imx8ulpevk source imx-setup-release.sh -b build

5. cd build and 

bitbake-layers add-layer ../sources/meta-imx-fastboot

6. bitbake imx-image-full

but my imx-boot-imx8ulpevk-sd.bin-flash_singleboot_m33  file size is 1224KB

i download from  https://www.nxp.com/webapp/Download?colCode=L6.6.36_2.1.0_MX8ULP&appType=license imx-boot-imx8ulpevk-sd.bin-flash_singleboot_m33 file size is 1806KB

so my steps is not ok?

 

View solution in original post

0 Kudos
Reply
7 Replies
2,088 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @tangchao90 

I hope you are doing well.

 

Could you please clarify if you are following the AN14093?

Are you using other method?

 

Please, if possible share steps to reproduce the issue.

 

Best regards,

Salas.

0 Kudos
Reply
1,996 Views
tangchao90
Contributor III

my step is below:

1.  repo init -u https://github.com/nxp-imx/imx-manifest.git -b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml

2. repo sync

3. enter the source directory and

 git clone -b lf-6.6.36-2.1.0 https://github.com/nxp-imx-support/meta-imx-fastboot

4. DISTRO=fsl-imx-wayland MACHINE=imx8ulp-lpddr4-evk source imx-setup-release.sh -b build

5. cd build and 

bitbake-layers add-layer ../sources/meta-imx-fastboot

6. bitbake imx-image-multimedia

after building , i can get image and burnin evk board

.\uuu.exe -b emmc_all .\imx-boot-imx8ulp-lpddr4-evk-sd.bin-flash_singleboot_m33 .\imx-image-multimedia-imx8ulp-lpddr4-evk.rootfs-20250124060345.wic

0 Kudos
Reply
2,063 Views
elena_popa
NXP Employee
NXP Employee

Hi @tangchao90 

Are you using UUU to flash the image? If so, please use the commands marked as a solutions in this ticket: https://community.nxp.com/t5/i-MX-Processors/How-to-load-Falcon-mode-image-to-emmc-on-imx8mplus-dev-... 

Thanks,

Elena

0 Kudos
Reply
1,998 Views
tangchao90
Contributor III

yes,  I use emmc flash and the command

.\uuu.exe -b emmc_all .\imx-boot-imx8ulp-lpddr4-evk-sd.bin-flash_singleboot_m33 .\imx-image-multimedia-imx8ulp-lpddr4-evk.rootfs-20250124060345.wic

uuu version is uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.182-0-ga561ed7

0 Kudos
Reply
1,974 Views
elena_popa
NXP Employee
NXP Employee

Hi @tangchao90 

The commands sequence should be:

.\uuu.exe -b emmc_all <default_bootloader> .\imx-image-multimedia-imx8ulp-lpddr4-evk.rootfs-20250124060345.wic

.\uuu.exe -b emmc <default_bootloader> <falcon_mode_bootloader>

The first uuu command writes the wic image using the default bootloader.

The second uuu command writes the bootloader with falcon mode enabled (<falcon_mode_bootloader>) using the default bootloader.

For easiness, you can take the default bootloader from here: https://www.nxp.com/webapp/Download?colCode=L6.6.36_2.1.0_MX8ULP&appType=license

 

Thanks,

Elena

0 Kudos
Reply
1,955 Views
tangchao90
Contributor III

oh , i understand you!  the <default_bootloader> is build without meta-imx-fastboot!

thank you

now my imx8ulp starts up with falcon image

0 Kudos
Reply
1,961 Views
tangchao90
Contributor III

my steps is below

1.  repo init -u https://github.com/nxp-imx/imx-manifest.git -b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml

2. repo sync

3. enter the source directory and

 git clone -b lf-6.6.36-2.1.0 https://github.com/nxp-imx-support/meta-imx-fastboot

4. DISTRO=fsl-imx-wayland MACHINE=imx8ulpevk source imx-setup-release.sh -b build

5. cd build and 

bitbake-layers add-layer ../sources/meta-imx-fastboot

6. bitbake imx-image-full

but my imx-boot-imx8ulpevk-sd.bin-flash_singleboot_m33  file size is 1224KB

i download from  https://www.nxp.com/webapp/Download?colCode=L6.6.36_2.1.0_MX8ULP&appType=license imx-boot-imx8ulpevk-sd.bin-flash_singleboot_m33 file size is 1806KB

so my steps is not ok?

 

0 Kudos
Reply