test@test-VirtualBox:/media/test/4226de84-8e42-4aa7-847f-edf7455b6857/home/julie/imx-yocto-bsp/build/tmp/work/imx8mq_evk-poky-linux/imx-boot/1.0-r0/git$ sudo apt-get install device-tree-compiler [sudo] password for test: Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libfwupdplugin1 Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: libfdt1 The following NEW packages will be installed: device-tree-compiler libfdt1 0 upgraded, 2 newly installed, 0 to remove and 18 not upgraded. Need to get 265 kB of archives. After this operation, 559 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libfdt1 amd64 1.5.1-1 [18,8 kB] Get:2 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 device-tree-compiler amd64 1.5.1-1 [247 kB] Fetched 265 kB in 0s (859 kB/s) Selecting previously unselected package libfdt1:amd64. (Reading database ... 184851 files and directories currently installed.) Preparing to unpack .../libfdt1_1.5.1-1_amd64.deb ... Unpacking libfdt1:amd64 (1.5.1-1) ... Selecting previously unselected package device-tree-compiler. Preparing to unpack .../device-tree-compiler_1.5.1-1_amd64.deb ... Unpacking device-tree-compiler (1.5.1-1) ... Setting up libfdt1:amd64 (1.5.1-1) ... Setting up device-tree-compiler (1.5.1-1) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for libc-bin (2.31-0ubuntu9.7) ... test@test-VirtualBox:/media/test/4226de84-8e42-4aa7-847f-edf7455b6857/home/julie/imx-yocto-bsp/build/tmp/work/imx8mq_evk-poky-linux/imx-boot/1.0-r0/git$ make SOC=iMX8MQ flash_hdmi_spl_uboot ./../scripts/pad_image.sh tee.bin ./../scripts/pad_image.sh bl31.bin ./../scripts/pad_image.sh u-boot-nodtb.bin evk.dtb DEK_BLOB_LOAD_ADDR=0x40400000 TEE_LOAD_ADDR=0xfe000000 ATF_LOAD_ADDR=0x00910000 ./mkimage_fit_atf.sh evk.dtb > u-boot.its bl31.bin size: 37088 Building with TEE support, make sure your bl31 is compiled with spd. If you do not want tee, please delete tee.bin tee.bin size: 524448 u-boot-nodtb.bin size: 984416 evk.dtb size: 47072 ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb FIT description: Configuration to load ATF before U-Boot Created: Thu May 12 10:41:37 2022 Image 0 (uboot-1) Description: U-Boot (64-bit) Created: Thu May 12 10:41:37 2022 Type: Standalone Program Compression: uncompressed Data Size: 984416 Bytes = 961.34 KiB = 0.94 MiB Architecture: AArch64 Load Address: 0x40200000 Entry Point: unavailable Image 1 (fdt-1) Description: evk Created: Thu May 12 10:41:37 2022 Type: Flat Device Tree Compression: uncompressed Data Size: 47072 Bytes = 45.97 KiB = 0.04 MiB Architecture: Unknown Architecture Image 2 (atf-1) Description: ARM Trusted Firmware Created: Thu May 12 10:41:37 2022 Type: Firmware Compression: uncompressed Data Size: 37088 Bytes = 36.22 KiB = 0.04 MiB Architecture: AArch64 OS: Unknown OS Load Address: 0x00910000 Image 3 (tee-1) Description: TEE firmware Created: Thu May 12 10:41:37 2022 Type: Firmware Compression: uncompressed Data Size: 524448 Bytes = 512.16 KiB = 0.50 MiB Architecture: AArch64 OS: Unknown OS Load Address: 0xfe000000 Default Configuration: 'config-1' Configuration 0 (config-1) Description: evk Kernel: unavailable Firmware: uboot-1 FDT: fdt-1 Loadables: atf-1 tee-1 ./mkimage_imx8 -fit -signed_hdmi signed_hdmi_imx8m.bin -loader u-boot-spl-ddr.bin 0x7E1000 -second_loader u-boot.itb 0x40200000 0x60000 -out flash.bin Platform: i.MX8M (mScale) Using FIT image SIGNED HDMI FW: signed_hdmi_imx8m.bin LOADER IMAGE: u-boot-spl-ddr.bin start addr: 0x007e1000 SECOND LOADER IMAGE: u-boot.itb start addr: 0x40200000 offset: 0x00060000 Output: flash.bin ========= IVT HEADER [PLUGIN] ========= header.tag: 0x0 header.length: 0x0 header.version: 0x0 entry: 0x0 reserved1: 0x0 dcd_ptr: 0x0 boot_data_ptr: 0x0 self: 0x0 csf: 0x0 reserved2: 0x0 boot_data.start: 0x0 boot_data.size: 0x0 boot_data.plugin: 0x0 ========= IVT HEADER [LOADER IMAGE] ========= header.tag: 0xd1 header.length: 0x2000 header.version: 0x41 entry: 0x7e1000 reserved1: 0x0 dcd_ptr: 0x0 boot_data_ptr: 0x7e0fe0 self: 0x7e0fc0 csf: 0x814bc0 reserved2: 0x0 boot_data.start: 0x7e0bc0 boot_data.size: 0x36060 boot_data.plugin: 0x0 ========= OFFSET dump ========= SIGNED HDMI FW: header_hdmi_off 0x0 Loader IMAGE: header_image_off 0x1a000 dcd_off 0x0 image_off 0x1a040 csf_off 0x4dc00 spl hab block: 0x7e0fc0 0x1a000 0x33c00 Second Loader IMAGE: sld_header_off 0x57c00 sld_csf_off 0x58c20 sld hab block: 0x401fcdc0 0x57c00 0x1020