Falcon Mode Boot Issue in IMX8ulp

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

Falcon Mode Boot Issue in IMX8ulp

81 Views
elgin_1950
Contributor II

Hi Team,

I am facing an issue while booting the board in Falcon Mode.

I cloned the meta-imx-fastboot layer into my Yocto source directory.

While building, I encountered some issues related to imx-boot and the device tree because I am using a custom DTS that needs to be loaded onto our board. To address this, I configured the Falcon Mode arguments in my machine.conf as follows:

FALCON_KERNEL_DEVICETREE = "imx8ulp-custom"

After this configuration, I was able to generate the imx8ulp_no_uboot loader as described in the Falcon Mode steps.

I am using fitImage

KERNEL_IMAGETYPE = "fitImage"
KERNEL_CLASSES:append = " kernel-fitimage"
IMAGE_BOOT_FILES = "fitImage"

I then flashed the board using the following commands:

sudo uuu -b emmc_all <default-loader> *.wic
sudo uuu -b emmc <default-loader> <imx8ulp_no_uboot>

After flashing, when I boot the board, it fails to boot and generates the following error:

U-Boot SPL 2025.04-gb9f705c183f0 (Jun 04 2025 - 09:48:20 +0000)
Normal Boot
ELE firmware version 2.0.2-85b63cb9
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
Trying to boot from MMC1
Partition 1 invalid on device 0
spl_register_fat_device: fat register err - -1
Partition 1 invalid on device 0
spl_register_fat_device: fat register err - -1
spl_load_image_fat: error reading image u-boot-atf-container.img, err - -1
Error: -2
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Could you please help me understand the cause of this error and suggest how I can resolve the Falcon Mode boot issue?

Tags (1)
0 Kudos
Reply
1 Reply

21 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @elgin_1950 

If you sync your DTS content and defconfig to the EVK code that Falcon supports by default, will there still be any issues?

Best Regards,
Zhiming

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2414680%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFalcon%20Mode%20Boot%20Issue%20in%20IMX8ulp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2414680%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20class%3D%22%22%3E%3CSPAN%3EHi%20Team%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%3EI%20am%20facing%20an%20issue%20while%20booting%20the%20board%20in%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3EFalcon%20Mode%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%3EI%20cloned%20the%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx-support%2Fmeta-imx-fastboot%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%3CSPAN%3Emeta-imx-fastboot%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%20layer%20into%20my%20Yocto%20source%20directory.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%3EWhile%20building%2C%20I%20encountered%20some%20issues%20related%20to%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3Eimx-boot%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20and%20the%20device%20tree%20because%20I%20am%20using%20a%20custom%20DTS%20that%20needs%20to%20be%20loaded%20onto%20our%20board.%20To%20address%20this%2C%20I%20configured%20the%20Falcon%20Mode%20arguments%20in%20my%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3Emachine.conf%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20as%20follows%3A%3C%2FSPAN%3E%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3E%3CSPAN%3EFALCON_KERNEL_DEVICETREE%20%3D%20%22imx8ulp-custom%22%3C%2FSPAN%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%20class%3D%22%22%3E%3CSPAN%3EAfter%20this%20configuration%2C%20I%20was%20able%20to%20generate%20the%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3Eimx8ulp_no_uboot%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20loader%20as%20described%20in%20the%20Falcon%20Mode%20steps.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20using%20fitImage%3C%2FSPAN%3E%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3E%3CSPAN%3EKERNEL_IMAGETYPE%20%3D%20%22fitImage%22%3CBR%20%2F%3EKERNEL_CLASSES%3Aappend%20%3D%20%22%20kernel-fitimage%22%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3EIMAGE_BOOT_FILES%20%3D%20%22fitImage%22%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%20class%3D%22%22%3E%3CSPAN%3EI%20then%20flashed%20the%20board%20using%20the%20following%20commands%3A%3C%2FSPAN%3E%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3E%3CSPAN%3Esudo%20uuu%20-b%20emmc_all%20%3CDEFAULT-LOADER%3E%20*.wic%3CBR%20%2F%3Esudo%20uuu%20-b%20emmc%20%3CDEFAULT-LOADER%3E%20%3CIMX8ULP_NO_UBOOT%3E%3C%2FIMX8ULP_NO_UBOOT%3E%3C%2FDEFAULT-LOADER%3E%3C%2FDEFAULT-LOADER%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%20class%3D%22%22%3E%3CSPAN%3EAfter%20flashing%2C%20when%20I%20boot%20the%20board%2C%20it%20fails%20to%20boot%20and%20generates%20the%20following%20error%3A%3C%2FSPAN%3E%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3EU-Boot%20SPL%202025.04-gb9f705c183f0%20(Jun%2004%202025%20-%2009%3A48%3A20%20%2B0000)%3CBR%20%2F%3ENormal%20Boot%3CBR%20%2F%3EELE%20firmware%20version%202.0.2-85b63cb9%3CBR%20%2F%3Eupower_apd_inst_isr%3A%20entry%3CBR%20%2F%3Eupower_init%3A%20soc_id%3D48%3CBR%20%2F%3Eupower_init%3A%20version%3A11.11.13%3CBR%20%2F%3Eupower_init%3A%20start%20uPower%20RAM%20service%3CBR%20%2F%3Euser_upwr_rdy_callb%3A%20soc%3Db%3CBR%20%2F%3Euser_upwr_rdy_callb%3A%20RAM%20version%3A12.18%3CBR%20%2F%3ETurning%20on%20switches...%3CBR%20%2F%3ETurn%20on%20switches%20ok%3CBR%20%2F%3ETurning%20on%20memories...%3CBR%20%2F%3ETurn%20on%20memories%20ok%3CBR%20%2F%3EClearing%20DDR%20retention...%3CBR%20%2F%3EClear%20DDR%20retention%20ok%3CBR%20%2F%3ESEC0%3A%20RNG%20instantiated%3CBR%20%2F%3ETrying%20to%20boot%20from%20MMC1%3CBR%20%2F%3EPartition%201%20invalid%20on%20device%200%3CBR%20%2F%3Espl_register_fat_device%3A%20fat%20register%20err%20-%20-1%3CBR%20%2F%3EPartition%201%20invalid%20on%20device%200%3CBR%20%2F%3Espl_register_fat_device%3A%20fat%20register%20err%20-%20-1%3CBR%20%2F%3Espl_load_image_fat%3A%20error%20reading%20image%20u-boot-atf-container.img%2C%20err%20-%20-1%3CBR%20%2F%3EError%3A%20-2%3CBR%20%2F%3ESPL%3A%20failed%20to%20boot%20from%20all%20boot%20devices%3CBR%20%2F%3E%23%23%23%20ERROR%20%23%23%23%20Please%20RESET%20the%20board%20%23%23%23%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%20class%3D%22%22%3E%3CSPAN%3ECould%20you%20please%20help%20me%20understand%20the%20cause%20of%20this%20error%20and%20suggest%20how%20I%20can%20resolve%20the%20Falcon%20Mode%20boot%20issue%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2415080%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Falcon%20Mode%20Boot%20Issue%20in%20IMX8ulp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2415080%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F263973%22%20target%3D%22_blank%22%3E%40elgin_1950%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20sync%20your%20DTS%20content%20and%20defconfig%20to%20the%20EVK%20code%20that%20Falcon%20supports%20by%20default%2C%20will%20there%20still%20be%20any%20issues%3F%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E