<?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: Generating flash.bin and flash_fw.bin for NXP iMX93 evk</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1882399#M224624</link>
    <description>&lt;P&gt;You can uset this directly.Don't need compile it.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2024 05:55:39 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2024-06-06T05:55:39Z</dc:date>
    <item>
      <title>Generating flash.bin and flash_fw.bin for NXP iMX93 evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1881232#M224568</link>
      <description>&lt;P&gt;Hello, I am trying to generate flash.bin and flash_fw.bin files through which i intend to flash SPI Nand and then boot the board up with it. However I seem to have been stuck in doing the same.&lt;/P&gt;&lt;P&gt;I have cloned the imx-mkimage repo. I'll also be attaching the logs for your reference. Any help would be appreciated.&lt;/P&gt;&lt;P&gt;farhan@farhan-To-be-filled-by-O-E-M:~/Downloads/imx-mkimage-lf-6.6.3_1.0.0$ ls&lt;BR /&gt;iMX8DXL iMX8M iMX8QM iMX8QX iMX8ULP iMX91 iMX93 iMX95 LICENSE Makefile README Readme.imx95 SCR-imx-mkimage.txt scripts src&lt;BR /&gt;farhan@farhan-To-be-filled-by-O-E-M:~/Downloads/imx-mkimage-lf-6.6.3_1.0.0$ ls iMX93&lt;BR /&gt;scripts signature.dts soc.mak&lt;BR /&gt;farhan@farhan-To-be-filled-by-O-E-M:~/Downloads/imx-mkimage-lf-6.6.3_1.0.0$ grep spinand iMX93/soc.mak&lt;BR /&gt;u-boot-atf-container-spinand.img: bl31.bin u-boot-hash.bin&lt;BR /&gt;-out u-boot-atf-container-spinand.img; \&lt;BR /&gt;-out u-boot-atf-container-spinand.img; \&lt;BR /&gt;-out u-boot-atf-container-spinand.img; \&lt;BR /&gt;flash_singleboot_spinand: $(MKIMG) $(AHAB_IMG) $(SPL_A55_IMG) u-boot-atf-container-spinand.img flash_fw.bin&lt;BR /&gt;$(call append_container,u-boot-atf-container-spinand.img,4)&lt;BR /&gt;flash_singleboot_spinand_fw: flash_fw.bin&lt;BR /&gt;farhan@farhan-To-be-filled-by-O-E-M:~/Downloads/imx-mkimage-lf-6.6.3_1.0.0$ make SOC=iMX93 REV=A1 flash_singleboot_spinand&lt;BR /&gt;Compiling mkimage_imx8&lt;BR /&gt;In file included from src/mkimage_imx8.c:29:&lt;BR /&gt;src/mkimage_imx8.c: In function ‘main’:&lt;BR /&gt;src/build_info.h:1:24: error: invalid suffix "x" on integer constant&lt;BR /&gt;1 | #define MKIMAGE_COMMIT 0x&lt;BR /&gt;| ^~&lt;BR /&gt;src/mkimage_imx8.c:978:59: note: in expansion of macro ‘MKIMAGE_COMMIT’&lt;BR /&gt;978 | fprintf(stdout, "%08x\n", MKIMAGE_COMMIT);&lt;BR /&gt;| ^~~~~~~~~~~~~~&lt;BR /&gt;make[1]: *** [Makefile:52: /home/farhan/Downloads/imx-mkimage-lf-6.6.3_1.0.0/mkimage_imx8] Error 1&lt;BR /&gt;make: *** [Makefile:25: flash_singleboot_spinand] Error 2&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 06:25:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1881232#M224568</guid>
      <dc:creator>AdityaShetty</dc:creator>
      <dc:date>2024-06-05T06:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Generating flash.bin and flash_fw.bin for NXP iMX93 evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1882399#M224624</link>
      <description>&lt;P&gt;You can uset this directly.Don't need compile it.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 05:55:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1882399#M224624</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-06-06T05:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generating flash.bin and flash_fw.bin for NXP iMX93 evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1882407#M224627</link>
      <description>Hello Liu, Thanks for this, but i did work my way around this but i seem to be stuck with the flashing of the files onto the Nand. I was hoping you could assist me with it&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jun 2024 05:58:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1882407#M224627</guid>
      <dc:creator>AdityaShetty</dc:creator>
      <dc:date>2024-06-06T05:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Generating flash.bin and flash_fw.bin for NXP iMX93 evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1882410#M224628</link>
      <description>So, i've generated the flash.bin and flash_fw.bin which i'm trying to put into the NAND. I referred to the UUU document and tried running the following command: sudo uuu -v -b spi_nand flash_fw.bin u-boot.bin&lt;BR /&gt;&lt;BR /&gt;I will also be attaching the logs for your reference.&lt;BR /&gt;&lt;BR /&gt;farhan@farhan-To-be-filled-by-O-E-M:~/Downloads/imx-mkimage-lf-6.6.3_1.0.0/iMX93$ sudo uuu -v -b spi_nand flash_fw.bin u-boot.bin&lt;BR /&gt;uuu (Universal Update Utility) for nxp imx chips -- lib1.5.125&lt;BR /&gt;&lt;BR /&gt;Build in config:&lt;BR /&gt;Pctl Chip Vid Pid BcdVersion&lt;BR /&gt;==================================================&lt;BR /&gt;SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]&lt;BR /&gt;SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]&lt;BR /&gt;SDPS: MX8DXL 0x1fc9 0x0147&lt;BR /&gt;SDPS: MX28 0x15a2 0x004f&lt;BR /&gt;SDPS: MX815 0x1fc9 0x013e&lt;BR /&gt;SDPS: MX865 0x1fc9 0x0146&lt;BR /&gt;SDPS: MX8ULP 0x1fc9 0x014a&lt;BR /&gt;SDPS: MX8ULP 0x1fc9 0x014b&lt;BR /&gt;SDPS: MX93 0x1fc9 0x014e&lt;BR /&gt;SDP: MX7D 0x15a2 0x0076&lt;BR /&gt;SDP: MX6Q 0x15a2 0x0054&lt;BR /&gt;SDP: MX6D 0x15a2 0x0061&lt;BR /&gt;SDP: MX6SL 0x15a2 0x0063&lt;BR /&gt;SDP: MX6SX 0x15a2 0x0071&lt;BR /&gt;SDP: MX6UL 0x15a2 0x007d&lt;BR /&gt;SDP: MX6ULL 0x15a2 0x0080&lt;BR /&gt;SDP: MX6SLL 0x1fc9 0x0128&lt;BR /&gt;SDP: MX7ULP 0x1fc9 0x0126&lt;BR /&gt;SDP: MXRT106X 0x1fc9 0x0135&lt;BR /&gt;SDP: MX8MM 0x1fc9 0x0134&lt;BR /&gt;SDP: MX8MQ 0x1fc9 0x012b&lt;BR /&gt;SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]&lt;BR /&gt;SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]&lt;BR /&gt;SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998]&lt;BR /&gt;SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]&lt;BR /&gt;SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]&lt;BR /&gt;SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]&lt;BR /&gt;FBK: 0x066f 0x9afe&lt;BR /&gt;FBK: 0x066f 0x9bff&lt;BR /&gt;FBK: 0x1fc9 0x0153&lt;BR /&gt;FB: 0x0525 0xa4a5&lt;BR /&gt;FB: 0x18d1 0x0d02&lt;BR /&gt;FB: 0x3016 0x0001&lt;BR /&gt;FB: 0x1fc9 0x0152&lt;BR /&gt;FB: 0x0483 0x0afb&lt;BR /&gt;&lt;BR /&gt;Run built-in script:&lt;BR /&gt;&lt;BR /&gt;uuu_version 1.2.39&lt;BR /&gt;&lt;BR /&gt;# @_flexspi.bin | bootloader&lt;BR /&gt;# @_image [_flexspi.bin] | image burn to fspinand, default is the same as bootloader&lt;BR /&gt;&lt;BR /&gt;# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ&lt;BR /&gt;SDP: boot -f flash_fw.bin&lt;BR /&gt;&lt;BR /&gt;# This command will be run when ROM support stream mode&lt;BR /&gt;# i.MX8QXP, i.MX8QM, skip QSPI header&lt;BR /&gt;SDPS: boot -f flash_fw.bin -skipfhdr&lt;BR /&gt;&lt;BR /&gt;# These commands will be run when use SPL and will be skipped if no spl&lt;BR /&gt;# SDPU will be deprecated. please use SDPV instead of SDPU&lt;BR /&gt;# {&lt;BR /&gt;SDPU: delay 1000&lt;BR /&gt;SDPU: write -f flash_fw.bin -offset 0x10000 -skipfhdr&lt;BR /&gt;SDPU: jump&lt;BR /&gt;# }&lt;BR /&gt;&lt;BR /&gt;# These commands will be run when use SPL and will be skipped if no spl&lt;BR /&gt;# if (SPL support SDPV)&lt;BR /&gt;# {&lt;BR /&gt;SDPV: delay 1000&lt;BR /&gt;SDPV: write -f flash_fw.bin -skipspl -skipfhdr&lt;BR /&gt;SDPV: jump&lt;BR /&gt;# }&lt;BR /&gt;&lt;BR /&gt;FB: ucmd setenv fastboot_buffer ${loadaddr}&lt;BR /&gt;FB: download -f u-boot.bin&lt;BR /&gt;&lt;BR /&gt;FB: ucmd if test ! -n "$fastboot_bytes"; then setenv fastboot_bytes $filesize; else true; fi&lt;BR /&gt;&lt;BR /&gt;FB[-t 60000]: ucmd fspinand init spi-nand0 ${fastboot_buffer} ${fastboot_bytes}&lt;BR /&gt;&lt;BR /&gt;FB: done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Wait for Known USB Device Appear...&lt;BR /&gt;New USB Device Attached at 3:2&lt;BR /&gt;3:2&amp;gt;Start Cmd:FB: ucmd setenv fastboot_buffer ${loadaddr}&lt;BR /&gt;3:2&amp;gt;Okay (0.004s)&lt;BR /&gt;3:2&amp;gt;Start Cmd:FB: download -f u-boot.bin&lt;BR /&gt;3:2&amp;gt;Okay (0.056s)&lt;BR /&gt;3:2&amp;gt;Start Cmd:FB: ucmd if test ! -n "$fastboot_bytes"; then setenv fastboot_bytes $filesize; else true; fi&lt;BR /&gt;3:2&amp;gt;Okay (0.004s)&lt;BR /&gt;3:2&amp;gt;Start Cmd:FB[-t 60000]: ucmd fspinand init spi-nand0 ${fastboot_buffer} ${fastboot_bytes}&lt;BR /&gt;3:2&amp;gt;Fail (0.004s)&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jun 2024 06:02:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1882410#M224628</guid>
      <dc:creator>AdityaShetty</dc:creator>
      <dc:date>2024-06-06T06:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Generating flash.bin and flash_fw.bin for NXP iMX93 evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1884700#M224755</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234569"&gt;@AdityaShetty&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try below command&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;uuu -b spi_nand&amp;nbsp; xxx.bin&amp;nbsp;imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 05:07:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1884700#M224755</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-06-11T05:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Generating flash.bin and flash_fw.bin for NXP iMX93 evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1885007#M224782</link>
      <description>Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/151788"&gt;@Zhiming_Liu&lt;/a&gt;&lt;BR /&gt;I did try the above mentioned command but i'm still getting the same error. Attaching the logs for your reference.&lt;BR /&gt;farhan@farhan-To-be-filled-by-O-E-M:~/Downloads/imx-mkimage-lf-6.6.3_1.0.0/iMX93$ uuu -v -b spi_nand flash_fw.bin imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot&lt;BR /&gt;uuu (Universal Update Utility) for nxp imx chips -- lib1.5.125&lt;BR /&gt;&lt;BR /&gt;Build in config:&lt;BR /&gt;Pctl Chip Vid Pid BcdVersion&lt;BR /&gt;==================================================&lt;BR /&gt;SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]&lt;BR /&gt;SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]&lt;BR /&gt;SDPS: MX8DXL 0x1fc9 0x0147&lt;BR /&gt;SDPS: MX28 0x15a2 0x004f&lt;BR /&gt;SDPS: MX815 0x1fc9 0x013e&lt;BR /&gt;SDPS: MX865 0x1fc9 0x0146&lt;BR /&gt;SDPS: MX8ULP 0x1fc9 0x014a&lt;BR /&gt;SDPS: MX8ULP 0x1fc9 0x014b&lt;BR /&gt;SDPS: MX93 0x1fc9 0x014e&lt;BR /&gt;SDP: MX7D 0x15a2 0x0076&lt;BR /&gt;SDP: MX6Q 0x15a2 0x0054&lt;BR /&gt;SDP: MX6D 0x15a2 0x0061&lt;BR /&gt;SDP: MX6SL 0x15a2 0x0063&lt;BR /&gt;SDP: MX6SX 0x15a2 0x0071&lt;BR /&gt;SDP: MX6UL 0x15a2 0x007d&lt;BR /&gt;SDP: MX6ULL 0x15a2 0x0080&lt;BR /&gt;SDP: MX6SLL 0x1fc9 0x0128&lt;BR /&gt;SDP: MX7ULP 0x1fc9 0x0126&lt;BR /&gt;SDP: MXRT106X 0x1fc9 0x0135&lt;BR /&gt;SDP: MX8MM 0x1fc9 0x0134&lt;BR /&gt;SDP: MX8MQ 0x1fc9 0x012b&lt;BR /&gt;SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]&lt;BR /&gt;SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]&lt;BR /&gt;SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998]&lt;BR /&gt;SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]&lt;BR /&gt;SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]&lt;BR /&gt;SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]&lt;BR /&gt;FBK: 0x066f 0x9afe&lt;BR /&gt;FBK: 0x066f 0x9bff&lt;BR /&gt;FBK: 0x1fc9 0x0153&lt;BR /&gt;FB: 0x0525 0xa4a5&lt;BR /&gt;FB: 0x18d1 0x0d02&lt;BR /&gt;FB: 0x3016 0x0001&lt;BR /&gt;FB: 0x1fc9 0x0152&lt;BR /&gt;FB: 0x0483 0x0afb&lt;BR /&gt;&lt;BR /&gt;Run built-in script:&lt;BR /&gt;&lt;BR /&gt;uuu_version 1.2.39&lt;BR /&gt;&lt;BR /&gt;# @_flexspi.bin | bootloader&lt;BR /&gt;# @_image [_flexspi.bin] | image burn to fspinand, default is the same as bootloader&lt;BR /&gt;&lt;BR /&gt;# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ&lt;BR /&gt;SDP: boot -f flash_fw.bin&lt;BR /&gt;&lt;BR /&gt;# This command will be run when ROM support stream mode&lt;BR /&gt;# i.MX8QXP, i.MX8QM, skip QSPI header&lt;BR /&gt;SDPS: boot -f flash_fw.bin -skipfhdr&lt;BR /&gt;&lt;BR /&gt;# These commands will be run when use SPL and will be skipped if no spl&lt;BR /&gt;# SDPU will be deprecated. please use SDPV instead of SDPU&lt;BR /&gt;# {&lt;BR /&gt;SDPU: delay 1000&lt;BR /&gt;SDPU: write -f flash_fw.bin -offset 0x10000 -skipfhdr&lt;BR /&gt;SDPU: jump&lt;BR /&gt;# }&lt;BR /&gt;&lt;BR /&gt;# These commands will be run when use SPL and will be skipped if no spl&lt;BR /&gt;# if (SPL support SDPV)&lt;BR /&gt;# {&lt;BR /&gt;SDPV: delay 1000&lt;BR /&gt;SDPV: write -f flash_fw.bin -skipspl -skipfhdr&lt;BR /&gt;SDPV: jump&lt;BR /&gt;# }&lt;BR /&gt;&lt;BR /&gt;FB: ucmd setenv fastboot_buffer ${loadaddr}&lt;BR /&gt;FB: download -f imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot&lt;BR /&gt;&lt;BR /&gt;FB: ucmd if test ! -n "$fastboot_bytes"; then setenv fastboot_bytes $filesize; else true; fi&lt;BR /&gt;&lt;BR /&gt;FB[-t 60000]: ucmd fspinand init spi-nand0 ${fastboot_buffer} ${fastboot_bytes}&lt;BR /&gt;&lt;BR /&gt;FB: done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Wait for Known USB Device Appear...&lt;BR /&gt;New USB Device Attached at 3:2&lt;BR /&gt;3:2&amp;gt;Start Cmd:FB: ucmd setenv fastboot_buffer ${loadaddr}&lt;BR /&gt;3:2&amp;gt;Okay (0.004s)&lt;BR /&gt;3:2&amp;gt;Start Cmd:FB: download -f imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot&lt;BR /&gt;3:2&amp;gt;Okay (0.097s)&lt;BR /&gt;3:2&amp;gt;Start Cmd:FB: ucmd if test ! -n "$fastboot_bytes"; then setenv fastboot_bytes $filesize; else true; fi&lt;BR /&gt;3:2&amp;gt;Okay (0.005s)&lt;BR /&gt;3:2&amp;gt;Start Cmd:FB[-t 60000]: ucmd fspinand init spi-nand0 ${fastboot_buffer} ${fastboot_bytes}&lt;BR /&gt;3:2&amp;gt;Fail (0.003s)&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jun 2024 09:13:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generating-flash-bin-and-flash-fw-bin-for-NXP-iMX93-evk/m-p/1885007#M224782</guid>
      <dc:creator>AdityaShetty</dc:creator>
      <dc:date>2024-06-11T09:13:01Z</dc:date>
    </item>
  </channel>
</rss>

