iMX95 - Falcon mode flashing fail

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

iMX95 - Falcon mode flashing fail

Jump to solution
1,546 Views
sicScar1
Contributor III

Hi there, 

I'm trying to test Falcon mode (AN14093) on my i. MX95 EVK (which is actually a Verdin from Toradex). 

I'm trying to implement the Falcon mode starting from the meta-imx-fastboot layer, branch lf-6.6.52_2.2.0. Besides the fact that I need to make some porting for my specific board (but the imx9 core SPL functionalities, I hope, are the same), I have some doubts regarding the part when the README says: 
```
unzstd <image_name>-<machine_name>.rootfs.wic.zst
uuu -b emmc_all <default_bootloader> <image_name>-<machine_name>.rootfs.wic
uuu -b emmc <default_bootloader> <falcon_mode_bootloader>
```
But actually, when I compile the image (imx-core-image), in the deploy folder, I see the standard `imx-boot-........-sd.bin-flash_all`  file, and a bunch of u-boot binaries (spl and not). Which one should be the <default_bootloader> and which one the  <falcon_mode_bootloader>? 

Honestly is not clear to me... 

Thanks for the support

Best regards

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
1,445 Views
elena_popa
NXP Employee
NXP Employee

Hi @sicScar1 

The <default_bootloader> is the bootloader built without the falcon patches. To generate the default bootloader, remove the meta-imx-fastboot layer from BBLAYERS. 

The <falcon_mode_bootloader> is the bootloader that includes the falcon patches. To generate the falcon mode bootloader, add the meta-imx-fastboot layer to BBLAYERS.

If the meta-imx-fastboot layer is present, only the <falcon_mode_bootloader> is generated. If the meta-imx-fastboot layer is removed, only the <default_bootloader> is generated. 

Indeed, there should be no major difference between the patches for EVK and Verdin.

Regards,

Elena

View solution in original post

4 Replies
1,517 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @sicScar1,

The image may not work as expected because the provided patches are specifically prepared for the NXP EVK board.

For Toradex EVKs, I recommend reaching out to Toradex Support to obtain the appropriate patches for their boards, if available.

Best regards,
Chavira

0 Kudos
Reply
1,496 Views
sicScar1
Contributor III

Hi Chavira, 

Yes, of course, it doesn't work out of the box because the board is a different one. 
I saw the modifications made in meta-imx-fastboot patches, and I'm suspecting not much difference from the imx95evk (same ram, same cpu...).
Anyway, I'm using NXP BSP, not the one from Toradex, so the artifacts produced for the built images are the officially released from the Yocto project NXP's downstream (in particular, I'm referring to Scarthgap 6.6.52_2.2.0). 
So, please, could you answer my question, which I repeat:
Which one should be the <default_bootloader> and which one the  <falcon_mode_bootloader>? 

Thanks for the support

Best regards

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

Hi @sicScar1 

The <default_bootloader> is the bootloader built without the falcon patches. To generate the default bootloader, remove the meta-imx-fastboot layer from BBLAYERS. 

The <falcon_mode_bootloader> is the bootloader that includes the falcon patches. To generate the falcon mode bootloader, add the meta-imx-fastboot layer to BBLAYERS.

If the meta-imx-fastboot layer is present, only the <falcon_mode_bootloader> is generated. If the meta-imx-fastboot layer is removed, only the <default_bootloader> is generated. 

Indeed, there should be no major difference between the patches for EVK and Verdin.

Regards,

Elena

1,390 Views
sicScar1
Contributor III

Hi @elena_popa , 

Thanks for the answer. Ok, I was supposing, and that's the confirmation! I suggest NXP specify that in the README, so it's clearer. 

PS: I didn't have much success with the patches. I asked Toradex.

Thanks for the support

Best regards

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2181115%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EiMX95%20-%20Falcon%20mode%20flashing%20fail%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2181115%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20there%2C%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20test%20Falcon%20mode%20(%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com.cn%2Fdocs%2Fen%2Fapplication-note%2FAN14093.pdf%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAN14093%3C%2FA%3E)%20on%20my%20i.%20MX95%20EVK%20(which%20is%20actually%20a%20Verdin%20from%20Toradex).%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20implement%20the%20Falcon%20mode%20starting%20from%20the%20meta-imx-fastboot%20layer%2C%20branch%20lf-6.6.52_2.2.0.%26nbsp%3BBesides%20the%20fact%20that%20I%20need%20to%20make%20some%20porting%20for%20my%20specific%20board%20(but%20the%20imx9%20core%20SPL%20functionalities%2C%20I%20hope%2C%20are%20the%20same)%2C%20I%20have%20some%20doubts%20regarding%20the%20part%20when%20the%20README%20says%3A%26nbsp%3B%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3Eunzstd%20%3CIMAGE_NAME%3E-%3CMACHINE_NAME%3E.rootfs.wic.zst%3CBR%20%2F%3Euuu%20-b%20emmc_all%20%3CDEFAULT_BOOTLOADER%3E%20%3CIMAGE_NAME%3E-%3CMACHINE_NAME%3E.rootfs.wic%3CBR%20%2F%3Euuu%20-b%20emmc%20%3CDEFAULT_BOOTLOADER%3E%20%3CFALCON_MODE_BOOTLOADER%3E%3CBR%20%2F%3E%60%60%60%3CBR%20%2F%3EBut%20actually%2C%20when%20I%20compile%20the%20image%20(imx-core-image)%2C%20in%20the%20deploy%20folder%2C%20I%20see%20the%20standard%20%60imx-boot-........-sd.bin-flash_all%60%26nbsp%3B%20file%2C%20and%20a%20bunch%20of%20u-boot%20binaries%20(spl%20and%20not).%20Which%20one%20should%20be%20the%26nbsp%3B%3CDEFAULT_BOOTLOADER%3E%20and%20which%20one%20the%26nbsp%3B%20%3CFALCON_MODE_BOOTLOADER%3E%3F%26nbsp%3B%3C%2FFALCON_MODE_BOOTLOADER%3E%3C%2FDEFAULT_BOOTLOADER%3E%3C%2FFALCON_MODE_BOOTLOADER%3E%3C%2FDEFAULT_BOOTLOADER%3E%3C%2FMACHINE_NAME%3E%3C%2FIMAGE_NAME%3E%3C%2FDEFAULT_BOOTLOADER%3E%3C%2FMACHINE_NAME%3E%3C%2FIMAGE_NAME%3E%3C%2FP%3E%3CP%3EHonestly%20is%20not%20clear%20to%20me...%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20support%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2181115%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EYocto%20Project%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184627%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX95%20-%20Falcon%20mode%20flashing%20fail%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184627%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%2F203745%22%20target%3D%22_blank%22%3E%40elena_popa%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20answer.%20Ok%2C%20I%20was%20supposing%2C%20and%20that's%20the%20confirmation!%20I%20suggest%20NXP%20specify%20that%20in%20the%20README%2C%20so%20it's%20clearer.%26nbsp%3B%3C%2FP%3E%3CP%3EPS%3A%20I%20didn't%20have%20much%20success%20with%20the%20patches.%20I%20asked%20Toradex.%3C%2FP%3E%3CP%3EThanks%20for%20the%20support%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2183794%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX95%20-%20Falcon%20mode%20flashing%20fail%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2183794%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%2F245494%22%20target%3D%22_blank%22%3E%40sicScar1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20%3CDEFAULT_BOOTLOADER%3E%20is%20the%20bootloader%20built%20without%20the%20falcon%20patches.%20To%20generate%20the%20default%20bootloader%2C%20remove%20the%20meta-imx-fastboot%20layer%20from%20BBLAYERS.%26nbsp%3B%3C%2FDEFAULT_BOOTLOADER%3E%3C%2FP%3E%0A%3CP%3EThe%20%3CFALCON_MODE_BOOTLOADER%3E%20is%20the%20bootloader%20that%20includes%20the%20falcon%20patches.%20To%20generate%20the%20falcon%20mode%20bootloader%2C%20add%20the%20meta-imx-fastboot%20layer%20to%20BBLAYERS.%3C%2FFALCON_MODE_BOOTLOADER%3E%3C%2FP%3E%0A%3CP%3EIf%20the%20meta-imx-fastboot%20layer%20is%20present%2C%20only%20the%20%3CFALCON_MODE_BOOTLOADER%3E%20is%20generated.%20If%20the%20meta-imx-fastboot%20layer%20is%20removed%2C%20only%20the%20%3CDEFAULT_BOOTLOADER%3E%20is%20generated.%26nbsp%3B%3C%2FDEFAULT_BOOTLOADER%3E%3C%2FFALCON_MODE_BOOTLOADER%3E%3C%2FP%3E%0A%3CP%3EIndeed%2C%20there%20should%20be%20no%20major%20difference%20between%20the%20patches%20for%20EVK%20and%20Verdin.%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EElena%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2181670%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX95%20-%20Falcon%20mode%20flashing%20fail%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2181670%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Chavira%2C%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20of%20course%2C%20it%20doesn't%20work%20out%20of%20the%20box%20because%20the%20board%20is%20a%20different%20one.%26nbsp%3B%3CBR%20%2F%3EI%20saw%20the%20modifications%20made%20in%20meta-imx-fastboot%20patches%2C%20and%20I'm%20suspecting%20not%20much%20difference%20from%20the%20imx95evk%20(same%20ram%2C%20same%20cpu...).%3CBR%20%2F%3EAnyway%2C%20I'm%20using%20NXP%20BSP%2C%20not%20the%20one%20from%20Toradex%2C%20so%20the%20artifacts%20produced%20for%20the%20built%20images%20are%20the%20officially%20released%20from%20the%20Yocto%20project%20NXP's%20downstream%20(in%20particular%2C%20I'm%20referring%20to%20Scarthgap%206.6.52_2.2.0).%26nbsp%3B%3CBR%20%2F%3ESo%2C%20please%2C%20could%20you%20answer%20my%20question%2C%20which%20I%20repeat%3A%3CBR%20%2F%3E%3CSPAN%3EWhich%20one%20should%20be%20the%26nbsp%3B%3CDEFAULT_BOOTLOADER%3E%20and%20which%20one%20the%26nbsp%3B%20%3CFALCON_MODE_BOOTLOADER%3E%3F%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FFALCON_MODE_BOOTLOADER%3E%3C%2FDEFAULT_BOOTLOADER%3E%3C%2FSPAN%3EThanks%20for%20the%20support%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2181567%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX95%20-%20Falcon%20mode%20flashing%20fail%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2181567%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%2F245494%22%20target%3D%22_blank%22%3E%40sicScar1%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThe%20image%20may%20not%20work%20as%20expected%20because%20the%20provided%20patches%20are%20specifically%20prepared%20for%20the%20NXP%20EVK%20board.%3C%2FP%3E%0A%3CP%3EFor%20Toradex%20EVKs%2C%20I%20recommend%20reaching%20out%20to%20%3CSTRONG%3EToradex%20Support%3C%2FSTRONG%3E%20to%20obtain%20the%20appropriate%20patches%20for%20their%20boards%2C%20if%20available.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EChavira%3C%2FP%3E%3C%2FLINGO-BODY%3E