2380570_en-US

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

2380570_en-US

2380570_en-US

Falcon Mode Enablement - iMX8MP_EVK

Hi,
I need to enable Falcon Mode on iMX8MP_EVK in the Yocto branch 6.12-walnascar. However, as per the AN14641 document, the meta-imx-fastboot layer is available only in the lf-6.6.36-2.1.0-secure branch. How can I port this layer to my walnascar branch and enable Falcon Mode?
Please help here..

Re: Falcon Mode Enablement - iMX8MP_EVK

Please use the following command.

uuu -b emmc_all -.rootfs.wic

For example:

$ uuu -b emmc_all imx-boot-imx95evk-sd.bin-flash_all     core-image-minimal-imx95evk.rootfs.wic

Re: Falcon Mode Enablement - iMX8MP_EVK

Hi Tipingwang,

Thanks for your reply.

I am trying to enable Falcon mode and have followed the steps provided in AN14641, but I am getting stuck during the flashing process.

As per the README, the flashing steps are mentioned as below (for eMMC):

unzstd -[secure-boot]-.rootfs.wic.zst
uuu -b emmc_all -.rootfs.wic
uuu -b emmc

My boot memory is eMMC. I attempted to flash the image using the following command:

sudo ./uuu -d -v -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evk imx-image-core-imx8mpevk.rootfs-20260616051114.wic

However, during execution, the flashing process fails with the following error:

sudo ./uuu -d -v -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evk imx-image-core-imx8mpevk.rootfs-20260616051114.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-5-g124d086
 
Build in config:
Pctl Chip Vid Pid BcdVersion Serial_No
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX8DXL 0x1fc9 0x0147
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDPS: MX865 0x1fc9 0x0146
SDPS: MX8ULP 0x1fc9 0x014a
SDPS: MX8ULP 0x1fc9 0x014b
SDPS: MX93 0x1fc9 0x014e
SDPS: MX91 0x1fc9 0x0159
SDPS: MX95 0x1fc9 0x015d
SDPS: MX95 0x1fc9 0x015c
SDPS: MX943 0x1fc9 0x0027
SDPS: MX952 0x1fc9 0x0028
SDP: MX7D 0x15a2 0x0076
SDP: MX6Q 0x15a2 0x0054
SDP: MX6D 0x15a2 0x0061
SDP: MX6SL 0x15a2 0x0063
SDP: MX6SX 0x15a2 0x0071
SDP: MX6UL 0x15a2 0x007d
SDP: MX6ULL 0x15a2 0x0080
SDP: MX6SLL 0x1fc9 0x0128
SDP: MX7ULP 0x1fc9 0x0126
SDP: MXRT106X 0x1fc9 0x0135
SDP: MX8MM 0x1fc9 0x0134
SDP: MX8MQ 0x1fc9 0x012b
SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]
SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]
SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]
SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FBK: 0x1fc9 0x0153
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
FB: 0x3016 0x0001
FB: 0x1fc9 0x0152
FB: 0x0483 0x0afb
FB: 0x1d6b 0x0104
 
Run built-in script:
 
uuu_version 1.4.149
 
# @_flash.bin            | bootloader, which can extract from wic image
# @_image   [_flash.bin] | wic image burn to emmc.
 
 
# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f imx-boot-imx8mpevk-sd.bin-flash_evk -scanlimited 0x800000
 
# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -scanterm -f imx-boot-imx8mpevk-sd.bin-flash_evk -scanlimited 0x800000
 
# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f imx-boot-imx8mpevk-sd.bin-flash_evk -offset 0x57c00
SDPU: jump -scanlimited 0x800000
# }
 
# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f imx-boot-imx8mpevk-sd.bin-flash_evk -skipspl -scanterm -scanlimited 0x800000
SDPV: jump -scanlimited 0x800000
# }
 
 
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all imx-image-core-imx8mpevk.rootfs-20260616051114.wic
FB: flash -scanterm -scanlimited 0x800000 bootloader
imx-boot-imx8mpevk-sd.bin-flash_evk
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: done
 
 
Wait for Known USB Device Appear...
New USB Device Attached at 1:2-152E1000D9DE520A
1:2-152E1000D9DE520A>Start Cmd:SDPS: boot -scanterm -f imx-boot-imx8mpevk-sd.bin-flash_evk -scanlimited 0x800000
14%1:2-152E1000D9DE520A>Fail HID(W): LIBUSB_ERROR_TIMEOUT (-7)(20.07s)

The detailed uuu logs are attached above for reference.

Could you please guide me on the correct procedure to flash a Falcon-enabled OS into eMMC, or let me know if I am missing any required steps or configurations?

Thanks in advance for your support.

Re: Falcon Mode Enablement - iMX8MP_EVK

Falcon Mode is not incompatible with Secure Boot
BUT
On lf-6.12.20-2.0.0-secure, you cannot enable Secure Boot together with Falcon Mode using the provided Yocto flow


About 0001-imx8m-reset-ethernet-phy-in-spl.patch

For i.MX8MP EVK → strongly recommended

Not strictly required if you don't use Ethernet during early boot

Re: Falcon Mode Enablement - iMX8MP_EVK

Hi Yiping Wang,
Thank you for your response.
I have a couple of additional questions for clarification. According to the information provided, the branch lf-6.12.20-2.0.0-secure supports Falcon Mode v2, but Secure Boot is marked as not yet supported.

Since Secure Boot is a requirement for my i.MX8MP platform, will Falcon Mode work correctly if I use this branch, or is Falcon Mode incompatible when Secure Boot is enabled?

For the i.MX8MP EVK, do I need to apply the patch 0001-imx8m-reset-ethernet-phy-in-spl.patch, or is it optional depending on the use case?

Re: Falcon Mode Enablement - iMX8MP_EVK
You probably do not need to port the layer from lf-6.6.36-2.1.0-secure yourself. The public nxp-imx-support/meta-imx-fastboot - GitHub repository already shows a lf-6.12.20-2.0.0-secure branch.
Re: Falcon Mode Enablement - iMX8MP_EVKPlease help here,
And i am using UUU to flash eMMC
Re: Falcon Mode Enablement - iMX8MP_EVK

Screenshot from 2026-06-16 14-28-09.png

As per this image i found in NXP forum it seems that flashing eMMC using the UUU tool may not be supported in this case. Could you please suggest the appropriate method to flash an eMMC device with a Falcon-enabled OS?

In your previous reply, you suggested using the following command:
 -.rootfs.wic>


I tried this approach, but I encountered the same error again:
Fail HID(W): LIBUSB_ERROR_TIMEOUT (-7) (20.07s)
Could you please guide me on the correct flashing procedure or any alternative tools or steps required for flashing eMMC with Falcon mode enabled?


Re: Falcon Mode Enablement - iMX8MP_EVK

I verified the following commands on IMX95FRDM, there is no problem, please refer to my log.

C:\Users\nxa22585>C:\Users\nxa22585\Downloads\i.mx95\uuu.exe -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1

Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion Serial_no
====================================================================
2:4 MX95 SDPS: 0x1FC9 0x015D 0x0002 61F49AAB2DCB4DDF



C:\Users\nxa22585>C:\Users\nxa22585\Downloads\i.mx95\uuu.exe -b emmc_all C:\Users\nxa22585\Downloads\i.mx95\imx-boot-imx95-15x15-lpddr4x-frdm-sd.bin-flash_all C:\Users\nxa22585\Downloads\i.mx95\core-image-minimal-imx8mnevk.rootfs.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1

Success 1 Failure 0


1:2-61F49AAB 8/ 8 [Done ] FB: done
2:4-61F49AAB 3/ 3 [=================100%=================] SDPV: jump -scanlimited 0x800000


C:\Users\nxa22585>


Re: Falcon Mode Enablement - iMX8MP_EVKPlease help here i have stucked in this partRe: Falcon Mode Enablement - iMX8MP_EVK

In previous reply you gave a reference command for IMX95FRDM is that falcon enabled? 

Here you can find what i was done in Yocto - IMX8MP

1) meta-imx-fastboot - lf-6.12.20-2.0.0-secure - Github_Link
2) Added this meta to my source - Github_Link
3) And followed all the instruction gave by  AN14641 document.
4)Bitbake commands that i followed: 
bitbake -c clean linux-imx && bitbake -c clean imx-boot && bitbake -c clean u-boot-imx && bitbake -c clean imx-atf && bitbake -c clean imx-image-core 

bitbake -c compile linux-imx && bitbake -c compile imx-boot && bitbake -c compile u-boot-imx && bitbake -c compile imx-atf && bitbake -c compile imx-image-core


bitbake linux-imx && bitbake imx-boot && bitbake u-boot-imx && bitbake imx-atf && bitbake imx-image-core

5) 
CASE 1: sudo ./uuu -b emmc_all imx-image-core-imx8mpevk.rootfs-20260617095251.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-5-g124d086

Success 0 Failure 0


1:2-152E1000 1/ 1 [=================100%=================] SDPS: boot -scanterm -f /home/smurugan8/YOCTO/LWT/image/imx-image-core-imx8mpevk.rootfs-20260617095251.wic -scanlimited 0x800000



CASE 2: 

sudo ./uuu -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evk imx-image-core-imx8mpevk.rootfs-20260617095251.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-5-g124d086

Success 0 Failure 1


1:2-152E1000 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f imx-boot-imx8mpevk-sd.bin-flash_evk -scanlimited 0x800000


IMPORTANT : I NEED TO FLASH A FALCON ENABLED OS INTO eMMC 

标记 (1)
无评分
版本历史
最后更新:
2 小时之前
更新人: