<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: i.MX8M nano U-Boot image error occurs</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2324117#M244208</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;SPAN&gt;Aldo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your reply.&lt;BR /&gt;The build has completed successfully, but an error occurs with mkimage.&lt;BR /&gt;Please advise on how to resolve this.&lt;BR /&gt;I have attached the command shell script and build log.&lt;BR /&gt;+++++&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Compiling mkimage_imx8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PLAT=imx8mn HDMI=no&lt;BR /&gt;Compiling mkimage_imx8&lt;BR /&gt;cc -O2 -Wall -std=c99 -static ../iMX8M/mkimage_imx8.c -o mkimage_imx8 -lz&lt;BR /&gt;../iMX8M/mkimage_imx8.c: In function 'copy_file.constprop':&lt;BR /&gt;../iMX8M/mkimage_imx8.c:345:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread]&lt;BR /&gt;345 | if (write(ifd, (char *)&amp;amp;zero, 4-tail) != 4-tail) {&lt;BR /&gt;| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;../iMX8M/mkimage_imx8.c:303:13: note: source object 'zero' of size 4&lt;BR /&gt;303 | int zero = 0;&lt;BR /&gt;| ^~~~&lt;BR /&gt;In file included from ../iMX8M/mkimage_imx8.c:24:&lt;BR /&gt;/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'&lt;BR /&gt;378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur&lt;BR /&gt;| ^~~~~&lt;BR /&gt;31096+1 records in&lt;BR /&gt;31097+0 records out&lt;BR /&gt;124388 bytes (124 kB, 121 KiB) copied, 0.0113173 s, 11.0 MB/s&lt;BR /&gt;./../scripts/dtb_check.sh imx8mn-evk.dtb evk.dtb&lt;BR /&gt;Use u-boot DTB: imx8mn-evk.dtb&lt;BR /&gt;./../scripts/pad_image.sh tee.bin&lt;BR /&gt;ERROR: ./../scripts/pad_image.sh: Could not find file tee.bin. Exiting.&lt;BR /&gt;./../scripts/pad_image.sh bl31.bin&lt;BR /&gt;./../scripts/pad_image.sh u-boot-nodtb.bin evk.dtb&lt;BR /&gt;BL32=tee.bin DEK_BLOB_LOAD_ADDR=0x40400000 TEE_LOAD_ADDR=0x56000000 ATF_LOAD_ADDR=0x00960000 ../iMX8M/mkimage_fit_atf.sh evk.dtb &amp;gt; u-boot.its&lt;BR /&gt;bl31.bin size:&lt;BR /&gt;43200&lt;BR /&gt;u-boot-nodtb.bin size:&lt;BR /&gt;1082192&lt;BR /&gt;evk.dtb size:&lt;BR /&gt;51248&lt;BR /&gt;./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb&lt;BR /&gt;sh: 1: dtc: not found&lt;BR /&gt;./mkimage_uboot: Can't open u-boot.itb.tmp: No such file or directory&lt;BR /&gt;Error: Bad parameters for FIT image type&lt;BR /&gt;Usage: ./mkimage_uboot [-T type] -l image&lt;BR /&gt;-l ==&amp;gt; list image header information&lt;BR /&gt;-T ==&amp;gt; parse image file as 'type'&lt;BR /&gt;-q ==&amp;gt; quiet&lt;BR /&gt;./mkimage_uboot [-x] -A arch -O os -T type -C comp -a addr -e ep -n name -d data_file[:data_file...] image&lt;BR /&gt;-A ==&amp;gt; set architecture to 'arch'&lt;BR /&gt;-O ==&amp;gt; set operating system to 'os'&lt;BR /&gt;-T ==&amp;gt; set image type to 'type'&lt;BR /&gt;-C ==&amp;gt; set compression type 'comp'&lt;BR /&gt;-a ==&amp;gt; set load address to 'addr' (hex)&lt;BR /&gt;-e ==&amp;gt; set entry point to 'ep' (hex)&lt;BR /&gt;-n ==&amp;gt; set image name to 'name'&lt;BR /&gt;-R ==&amp;gt; set second image name to 'name'&lt;BR /&gt;-d ==&amp;gt; use image data from 'datafile'&lt;BR /&gt;-x ==&amp;gt; set XIP (execute in place)&lt;BR /&gt;-s ==&amp;gt; create an image with no data&lt;BR /&gt;-v ==&amp;gt; verbose&lt;BR /&gt;./mkimage_uboot [-D dtc_options] [-f fit-image.its|-f auto|-f auto-conf|-F] [-b &amp;lt;dtb&amp;gt; [-b &amp;lt;dtb&amp;gt;]] [-E] [-B size] [-i &amp;lt;ramdisk.cpio.gz&amp;gt;] fit-image&lt;BR /&gt;&amp;lt;dtb&amp;gt; file is used with -f auto, it may occur multiple times.&lt;BR /&gt;-D =&amp;gt; set all options for device tree compiler&lt;BR /&gt;-f =&amp;gt; input filename for FIT source&lt;BR /&gt;-i =&amp;gt; input filename for ramdisk file&lt;BR /&gt;-E =&amp;gt; place data outside of the FIT structure&lt;BR /&gt;-B =&amp;gt; align size in hex for FIT structure and header&lt;BR /&gt;-b =&amp;gt; append the device tree binary to the FIT&lt;BR /&gt;-t =&amp;gt; update the timestamp in the FIT&lt;BR /&gt;Signing / verified boot options: [-k keydir] [-K dtb] [ -c &amp;lt;comment&amp;gt;] [-p addr] [-r] [-N engine]&lt;BR /&gt;-k =&amp;gt; set directory containing private keys&lt;BR /&gt;-K =&amp;gt; write public keys to this .dtb file&lt;BR /&gt;-g =&amp;gt; set key name hint&lt;BR /&gt;-G =&amp;gt; use this signing key (in lieu of -k)&lt;BR /&gt;-c =&amp;gt; add comment in signature node&lt;BR /&gt;-F =&amp;gt; re-sign existing FIT image&lt;BR /&gt;-p =&amp;gt; place external data at a static position&lt;BR /&gt;-r =&amp;gt; mark keys used as 'required' in dtb&lt;BR /&gt;-N =&amp;gt; openssl engine to use for signing&lt;BR /&gt;-o =&amp;gt; algorithm to use for signing&lt;BR /&gt;./mkimage_uboot -V ==&amp;gt; print version information and exit&lt;BR /&gt;Use '-T list' to see a list of available image types&lt;BR /&gt;Long options are available; read the man page for details&lt;BR /&gt;make[1]: *** [soc.mak:158: u-boot.itb] Error 1&lt;BR /&gt;make: *** [Makefile:23: flash_evk_flexspi] Error 2&lt;BR /&gt;+++++&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Shinji.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Feb 2026 05:50:25 GMT</pubDate>
    <dc:creator>shinji_tonoshit</dc:creator>
    <dc:date>2026-02-27T05:50:25Z</dc:date>
    <item>
      <title>i.MX8M nano U-Boot image error occurs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2315915#M243961</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;When running imx-mkimage, an error occurs.&lt;BR /&gt;"Error: Bad parameters for FIT image type"&lt;BR /&gt;The following command was executed.&lt;BR /&gt;I have attached the executed script and logs.&lt;BR /&gt;+++++&lt;BR /&gt;cd imx-mkimage&lt;BR /&gt;cp ../uboot-imx/spl/u-boot-spl.bin iMX8M&lt;BR /&gt;cp ../uboot-imx/u-boot-nodtb.bin iMX8M&lt;BR /&gt;cp ../uboot-imx/arch/arm/dts/imx8mn-evk.dtb iMX8M&lt;BR /&gt;cp ../imx-atf/build/imx8mn/release/bl31.bin iMX8M&lt;BR /&gt;cp ../firmware-imx/firmware-imx-8.20/firmware/ddr/synopsys/lpddr4_pmu_train_* iMX8M&lt;BR /&gt;cp ../uboot-imx/tools/mkimage iMX8M/mkimage_uboot&lt;/P&gt;&lt;P&gt;make SOC=iMX8MN DEV=flexspi flash_evk&lt;BR /&gt;+++++&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Shinji&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 01:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2315915#M243961</guid>
      <dc:creator>shinji_tonoshit</dc:creator>
      <dc:date>2026-02-11T01:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M nano U-Boot image error occurs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2316751#M243994</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;please try by using the following make command instead:&lt;BR /&gt;&lt;SPAN&gt;make SOC=iMX8MN &lt;/SPAN&gt;flash_evk_flexspi&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 01:12:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2316751#M243994</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2026-02-12T01:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M nano U-Boot image error occurs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2318413#M244041</link>
      <description>&lt;P&gt;Dear Aldo,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;BR /&gt;I built using `make SOC=iMX8MN flash_evk_flexspi`, but the issue persists.&lt;BR /&gt;+++++&lt;BR /&gt;Use ‘-T list’ to see a list of available image types&lt;BR /&gt;Long options are available; read the man page for details&lt;BR /&gt;make[1]: *** [soc.mak:163: u-boot.itb] Error 1&lt;BR /&gt;make: *** [Makefile:26: flash_evk_flexspi] Error 2&lt;BR /&gt;+++++&lt;BR /&gt;I have attached the shell script and build log.&lt;BR /&gt;Please advise on a solution.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Shinji.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 06:09:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2318413#M244041</guid>
      <dc:creator>shinji_tonoshit</dc:creator>
      <dc:date>2026-02-16T06:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M nano U-Boot image error occurs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2318819#M244058</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please see below the steps I follow for creating an image, I think the error you are seeing are due to the version mismatch.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;EDIT: fixed the typo&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;### Clone imx-mkimage it is better to download the same version of the sw we are working with ###&lt;BR /&gt;git clone &lt;A href="https://github.com/nxp-imx/imx-mkimage" target="_blank" rel="noopener"&gt;https://github.com/nxp-imx/imx-mkimage&lt;/A&gt; -b lf-6.1.22_2.0.0&lt;/P&gt;
&lt;P&gt;### Decompress the GNU toolchain into a path in local disk, in this test would be /opt/ ###&lt;BR /&gt;sudo tar -xvJf arm-gnu-toolchain-12.3.rel1-x86_64-aarch64-none-linux-gnu.tar.xz -C /opt&lt;/P&gt;
&lt;P&gt;### Clone and build Uboot ###&lt;BR /&gt;cd ..&lt;BR /&gt;git clone &lt;A href="https://github.com/nxp-imx/uboot-imx" target="_blank" rel="noopener"&gt;https://github.com/nxp-imx/uboot-imx&lt;/A&gt; -b lf-6.1.22-2.0.0&lt;BR /&gt;cd uboot-imx&lt;BR /&gt;make -j $(nproc --all) clean&lt;BR /&gt;make -j$(nproc --all) ARCH=arm CROSS_COMPILE=/opt/arm-gnu-toolchain-12.3.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- imx8mn_evk_defconfig&lt;BR /&gt;make -j $(nproc --all) ARCH=arm CROSS_COMPILE=/opt/arm-gnu-toolchain-12.3.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-&lt;/P&gt;
&lt;P&gt;wget &lt;A href="https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.20.bin" target="_blank" rel="noopener"&gt;https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.20.bin&lt;/A&gt;&lt;BR /&gt;chmod +x firmware-imx-8.20.bin&lt;BR /&gt;./firmware-imx-8.20.bin --auto-accept&lt;/P&gt;
&lt;P&gt;### Clone and build ATF ###&lt;BR /&gt;git clone &lt;A href="https://github.com/nxp-imx/imx-atf" target="_blank" rel="noopener"&gt;https://github.com/nxp-imx/imx-atf&lt;/A&gt; -b lf-6.1.22-2.0.0&lt;BR /&gt;cd imx-atf&lt;BR /&gt;make -j $(nproc --all) PLAT=imx8mn bl31 CROSS_COMPILE=/opt/arm-gnu-toolchain-12.3.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-&lt;/P&gt;
&lt;P&gt;### Copy the resulting binaries to imx-mkimage ###&lt;BR /&gt;cp ~/uboot-imx/spl/u-boot-spl.bin ~/imx-mkimage/iMX8M&lt;BR /&gt;cp ~/uboot-imx/u-boot-nodtb.bin ~/imx-mkimage/iMX8M&lt;BR /&gt;cp ~/uboot-imx/arch/arm/dts/imx8mn-evk.dtb ~/imx-mkimage/iMX8M&lt;BR /&gt;cp ~/imx-atf/build/imx8mn/release/bl31.bin ~/imx-mkimage/iMX8M&lt;BR /&gt;cp ~/uboot-imx/tools/mkimage ~/imx-mkimage/iMX8M/mkimage_uboot&lt;/P&gt;
&lt;P&gt;### Copy i.MX firmware ###&lt;BR /&gt;cp ./firmware-imx-8.20/firmware/ddr/synopsys/lpddr4_*.bin ~/imx-mkimage/iMX8M&lt;/P&gt;
&lt;P&gt;### Build the flash.bin using mkimage ###&lt;BR /&gt;cd imx-mkimage&lt;BR /&gt;make SOC=iMX8MN flash_evk_flexspi&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 00:55:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2318819#M244058</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2026-02-26T00:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M nano U-Boot image error occurs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2319322#M244073</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Aldo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;BR /&gt;I followed the steps you provided to build, but an error occurs when executing the following command.&lt;BR /&gt;Please advise on how to resolve this.&lt;BR /&gt;1)git clone &lt;A href="https://github.com/nxp-imx/uboot-imx" target="_blank"&gt;https://github.com/nxp-imx/uboot-imx&lt;/A&gt; -b lf-6.1.22_2.0.0&lt;BR /&gt;Cloning into ‘uboot-imx’...&lt;BR /&gt;fatal: Remote branch lf-6.1.22_2.0.0 not found in upstream origin&lt;BR /&gt;2)git clone &lt;A href="https://github.com/nxp-imx/imx-atf" target="_blank"&gt;https://github.com/nxp-imx/imx-atf&lt;/A&gt; -b lf-6.1.22_2.0.0&lt;BR /&gt;Cloning into ‘imx-atf’...&lt;BR /&gt;fatal: Remote branch lf-6.1.22_2.0.0 not found in upstream origin&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Shinji.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2026 06:11:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2319322#M244073</guid>
      <dc:creator>shinji_tonoshit</dc:creator>
      <dc:date>2026-02-18T06:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M nano U-Boot image error occurs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2322772#M244182</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Please accept my apologize this was a typo from my side when writing down the steps I'll edit the previous answer so you may try again.&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 00:53:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2322772#M244182</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2026-02-26T00:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M nano U-Boot image error occurs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2324117#M244208</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;SPAN&gt;Aldo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your reply.&lt;BR /&gt;The build has completed successfully, but an error occurs with mkimage.&lt;BR /&gt;Please advise on how to resolve this.&lt;BR /&gt;I have attached the command shell script and build log.&lt;BR /&gt;+++++&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Compiling mkimage_imx8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PLAT=imx8mn HDMI=no&lt;BR /&gt;Compiling mkimage_imx8&lt;BR /&gt;cc -O2 -Wall -std=c99 -static ../iMX8M/mkimage_imx8.c -o mkimage_imx8 -lz&lt;BR /&gt;../iMX8M/mkimage_imx8.c: In function 'copy_file.constprop':&lt;BR /&gt;../iMX8M/mkimage_imx8.c:345:21: warning: 'write' reading 5 bytes from a region of size 4 [-Wstringop-overread]&lt;BR /&gt;345 | if (write(ifd, (char *)&amp;amp;zero, 4-tail) != 4-tail) {&lt;BR /&gt;| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;../iMX8M/mkimage_imx8.c:303:13: note: source object 'zero' of size 4&lt;BR /&gt;303 | int zero = 0;&lt;BR /&gt;| ^~~~&lt;BR /&gt;In file included from ../iMX8M/mkimage_imx8.c:24:&lt;BR /&gt;/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'&lt;BR /&gt;378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur&lt;BR /&gt;| ^~~~~&lt;BR /&gt;31096+1 records in&lt;BR /&gt;31097+0 records out&lt;BR /&gt;124388 bytes (124 kB, 121 KiB) copied, 0.0113173 s, 11.0 MB/s&lt;BR /&gt;./../scripts/dtb_check.sh imx8mn-evk.dtb evk.dtb&lt;BR /&gt;Use u-boot DTB: imx8mn-evk.dtb&lt;BR /&gt;./../scripts/pad_image.sh tee.bin&lt;BR /&gt;ERROR: ./../scripts/pad_image.sh: Could not find file tee.bin. Exiting.&lt;BR /&gt;./../scripts/pad_image.sh bl31.bin&lt;BR /&gt;./../scripts/pad_image.sh u-boot-nodtb.bin evk.dtb&lt;BR /&gt;BL32=tee.bin DEK_BLOB_LOAD_ADDR=0x40400000 TEE_LOAD_ADDR=0x56000000 ATF_LOAD_ADDR=0x00960000 ../iMX8M/mkimage_fit_atf.sh evk.dtb &amp;gt; u-boot.its&lt;BR /&gt;bl31.bin size:&lt;BR /&gt;43200&lt;BR /&gt;u-boot-nodtb.bin size:&lt;BR /&gt;1082192&lt;BR /&gt;evk.dtb size:&lt;BR /&gt;51248&lt;BR /&gt;./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb&lt;BR /&gt;sh: 1: dtc: not found&lt;BR /&gt;./mkimage_uboot: Can't open u-boot.itb.tmp: No such file or directory&lt;BR /&gt;Error: Bad parameters for FIT image type&lt;BR /&gt;Usage: ./mkimage_uboot [-T type] -l image&lt;BR /&gt;-l ==&amp;gt; list image header information&lt;BR /&gt;-T ==&amp;gt; parse image file as 'type'&lt;BR /&gt;-q ==&amp;gt; quiet&lt;BR /&gt;./mkimage_uboot [-x] -A arch -O os -T type -C comp -a addr -e ep -n name -d data_file[:data_file...] image&lt;BR /&gt;-A ==&amp;gt; set architecture to 'arch'&lt;BR /&gt;-O ==&amp;gt; set operating system to 'os'&lt;BR /&gt;-T ==&amp;gt; set image type to 'type'&lt;BR /&gt;-C ==&amp;gt; set compression type 'comp'&lt;BR /&gt;-a ==&amp;gt; set load address to 'addr' (hex)&lt;BR /&gt;-e ==&amp;gt; set entry point to 'ep' (hex)&lt;BR /&gt;-n ==&amp;gt; set image name to 'name'&lt;BR /&gt;-R ==&amp;gt; set second image name to 'name'&lt;BR /&gt;-d ==&amp;gt; use image data from 'datafile'&lt;BR /&gt;-x ==&amp;gt; set XIP (execute in place)&lt;BR /&gt;-s ==&amp;gt; create an image with no data&lt;BR /&gt;-v ==&amp;gt; verbose&lt;BR /&gt;./mkimage_uboot [-D dtc_options] [-f fit-image.its|-f auto|-f auto-conf|-F] [-b &amp;lt;dtb&amp;gt; [-b &amp;lt;dtb&amp;gt;]] [-E] [-B size] [-i &amp;lt;ramdisk.cpio.gz&amp;gt;] fit-image&lt;BR /&gt;&amp;lt;dtb&amp;gt; file is used with -f auto, it may occur multiple times.&lt;BR /&gt;-D =&amp;gt; set all options for device tree compiler&lt;BR /&gt;-f =&amp;gt; input filename for FIT source&lt;BR /&gt;-i =&amp;gt; input filename for ramdisk file&lt;BR /&gt;-E =&amp;gt; place data outside of the FIT structure&lt;BR /&gt;-B =&amp;gt; align size in hex for FIT structure and header&lt;BR /&gt;-b =&amp;gt; append the device tree binary to the FIT&lt;BR /&gt;-t =&amp;gt; update the timestamp in the FIT&lt;BR /&gt;Signing / verified boot options: [-k keydir] [-K dtb] [ -c &amp;lt;comment&amp;gt;] [-p addr] [-r] [-N engine]&lt;BR /&gt;-k =&amp;gt; set directory containing private keys&lt;BR /&gt;-K =&amp;gt; write public keys to this .dtb file&lt;BR /&gt;-g =&amp;gt; set key name hint&lt;BR /&gt;-G =&amp;gt; use this signing key (in lieu of -k)&lt;BR /&gt;-c =&amp;gt; add comment in signature node&lt;BR /&gt;-F =&amp;gt; re-sign existing FIT image&lt;BR /&gt;-p =&amp;gt; place external data at a static position&lt;BR /&gt;-r =&amp;gt; mark keys used as 'required' in dtb&lt;BR /&gt;-N =&amp;gt; openssl engine to use for signing&lt;BR /&gt;-o =&amp;gt; algorithm to use for signing&lt;BR /&gt;./mkimage_uboot -V ==&amp;gt; print version information and exit&lt;BR /&gt;Use '-T list' to see a list of available image types&lt;BR /&gt;Long options are available; read the man page for details&lt;BR /&gt;make[1]: *** [soc.mak:158: u-boot.itb] Error 1&lt;BR /&gt;make: *** [Makefile:23: flash_evk_flexspi] Error 2&lt;BR /&gt;+++++&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Shinji.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Feb 2026 05:50:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2324117#M244208</guid>
      <dc:creator>shinji_tonoshit</dc:creator>
      <dc:date>2026-02-27T05:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M nano U-Boot image error occurs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2325710#M244263</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I tried on my side and did create the flash.bin correctly, I'm not using your bash script but I do not think this could be the issue but could you try using one by one the commands?&lt;BR /&gt;&lt;BR /&gt;Also, please double check that all the files are correctly copied.&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2026 18:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-nano-U-Boot-image-error-occurs/m-p/2325710#M244263</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2026-03-03T18:43:04Z</dc:date>
    </item>
  </channel>
</rss>

