This layer creates custom images with Falcon Mode enabled in U-Boot. Full description of this method can be found in AN14093.
It supports the i.MX8M Family (i.MX8M Nano, i.MX8M Mini, i.MX8M Plus) and the i.MX9 Family (i.MX93 and i.MX95).
Follow the below instructions for building the image.
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.23-2.0.0.xml
repo sync
Clone the meta-imx-fastboot Meta-layer into your sources directory
DISTRO=fsl-imx-wayland MACHINE=<machine_name> source sources/meta-imx-fastboot/tools/imx-setup-fastboot.sh -b <build_dir>
Where <machine_name>
is:
- imx8mnevk-fastboot for i.MX8M Nano
- imx8mmevk-fastboot for i.MX8M Mini
- imx8mpevk-fastboot for i.MX8M Plus
- imx93evk-fastboot for i.MX93
- imx95-19x19-lpddr5-evk-fastboot for i.MX95
bitbake imx-image-fastboot
To boot in Falcon Mode, the kernel device tree must be fixed up in U-Boot.
Boot the board using the image built at the previous step, and stop it in U-Boot.
Run the following command:
u-boot => run prepare_fdt
This command creates the <board>-falcon.dtb
, which is saved automatically in the FAT partition of the SD card. You only need to run this command once.
This device tree will be used by SPL to boot in Falcon Mode.
u-boot => qb save
Any subsequent time you boot the board, it will automatically start in Falcon Mode. You can fall back to U-Boot by keeping any key pressed during power on.