falcon boot mode for imx8mp

cancel
Showing results for 
Search instead for 
Did you mean: 

falcon boot mode for imx8mp

908 Views
KrisJ
Contributor II

Hi All,

I am trying to implement falcon boot mode on imx8mp evk, i came across few links regarding the falcon boot mode implementation, like README and some community posts. i made a patch for the yocto build but the boot freezes after spl. After spending some time on reading the documents i couldn't find the proper solution and the falcon boot only recognises the uImage, however imx8 aarch64 uses Image.gz. i couldn't find much of a info about this. Is there any link that can help me to add the falcon boot mode for the imx8mp evk?

any help on this topic will help.

Thanks,

Kris.

 

0 Kudos
4 Replies

849 Views
KrisJ
Contributor II

Any one have suggestions on this topic?

Thanks,

Kris.

0 Kudos

887 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Kris

 

what uboot used in the case. One can try nxp uboot releases from source.codeaurora.org/external/imx/uboot-imx repository and follow documentation:

https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/README.falcon?h=lf_v2021.04

https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/cpu/armv8/fsl-layerscape/doc/READ...

 

Best regards
igor

0 Kudos

835 Views
KrisJ
Contributor II

Hi Igorpadykov

Can you suggest any Changes on this topic?

Thanks,

Kris.

Tags (1)
0 Kudos

873 Views
KrisJ
Contributor II

I followed the README.falcon and also these links:

https://bootlin.com/pub/conferences/2021/lee/opdenacker-understanding-u-boot-falcon-mode/opdenacker-...

https://source.denx.de/u-boot/custodians/u-boot-imx/-/commit/d96796ca23b2ebcb7ce58c250e5a44152a652a4...

i made a patch to the u-boot-imx by following this: https://variwiki.com/index.php?title=Yocto_Customizing_U-Boot&release=RELEASE_HARDKNOTT_V1.2_DART-MX...

after the bitbake and sd card creation, the imx8 stops after the spl and doesn't print any messages

U-Boot SPL 2020.04-lf_v2020.04_var01+g7ffdddacd2 (Jun 06 2021 - 16:01:28 +0000)
Normal Boot
Trying to boot from BOOTROM
image offset 0x8000, pagesize 0x200, ivt offset 0x0

with out the patch of falcon mode, imx8 boot perfectly, so i guess the falcon mode changes are affecting the boot

attaching the patch file so that you can point out the mistakes in it.

Thanks,

Kris.

Tags (1)
0 Kudos