Which are the files to flash u-boot into internal emmc flash

After the bitbake tdx-reference-minimal-image there are a lot of file referenced to u-boot, but which i need to flash the u-boot image into the internal emmc flash.

Thank you

flavio

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


I’d be glad to help! Could you let me know which hardware you’re using and which OS version you’re running? You can use the tdx-info command to get this information - see more details at tdx-info.

The specific U-Boot file you need and the flashing method depend on your hardware platform (SoM and carrier board combination) and the OS version you’re working with.

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

tdx-info

Software summary

Bootloader: U-Boot

Kernel version: 6.12.49-7.4.0-devel #1 SMP PREEMPT Thu Sep 25 09:13:51 UTC 2025
Kernel command line: irqaffinity=0,1,2 isolcpus=3 nohz_full=3 rcu_nocbs=3 root=PARTUUID=076c4a2a-02 ro rootwait
Distro name: NAME=“TDX Wayland with XWayland Upstream”
Distro version: VERSION_ID=7.4.0-devel-20251214170327-build.0
Distro variant: -
Hostname: colibri-imx8x-07268858

Hardware info

HW model: Toradex Colibri iMX8QXP on Colibri Evaluation Board V3

Toradex version: 0050 V1.0D
Serial number: 07268858
Processor arch: aarch64

Thank you for providing the tdx-info output! Based on your system information, you’re working with a Colibri iMX8QXP running BSP 7.4.0-devel.

U-Boot File for Colibri iMX8X

For your Colibri iMX8QXP, after building with bitbake tdx-reference-minimal-image, you need to look for the boot container file, not just a simple U-Boot binary(1).

The NXP i.MX 8X architecture uses a special boot container that includes multiple components(1):

  • DDR memory timings
  • SCU firmware
  • ARM-trusted firmware (ATF)
  • U-Boot
  • Any potential Cortex-M4 auxiliary firmware

Locating the Correct File

After your Yocto build completes, look in your build directory for files with names like:

  • imx-boot-*
  • Boot container files specific to Colibri iMX8X

The boot container is read by the boot ROM from the boot device, starting at a specific offset (33kB for V1.0A modules booting from SD cards)(1).

Flashing to eMMC

Since you want to flash to the internal eMMC, you’ll typically use the Toradex Easy Installer method or recovery mode flashing procedures. The specific boot container file needs to be written to the correct offset on the eMMC.

For detailed instructions on the complete build process including boot container assembly for i.MX 8X modules, refer to the Build U-Boot for NXP i.MX 8/8X-based SoMs documentation(1).

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

In the folder deploy/images/colibri-imx8x

lrwxrwxrwx 2 flavio flavio 35 Jan 16 15:13 imx-boot → imx-boot-colibri-imx8x-sd.bin-flash
-rw-r–r-- 2 flavio flavio 1192960 Jan 16 15:13 imx-boot-colibri-imx8x-sd.bin-flash
-rw-r–r-- 2 flavio flavio 1193000 Jan 16 15:13 imx-boot.tagged

which i need to use to flash into the internal emmc ?

Hi @flavio!

I saw you opened other threads. Were you able to solve this issue?

Best regards.

Hi @flavio!

Could you please share the solution?

Best regards.