<?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>topic imx91: mmc write offset to user partition in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx91-mmc-write-offset-to-user-partition/m-p/2187254#M241452</link>
    <description>&lt;P&gt;Hi there,&lt;BR /&gt;I'm trying to find the correct offset to write flash.bin into the user partition&lt;BR /&gt;via mmc. My lst file, the write command is in the second to last line:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uuu_version 1.2.39

SDPS: boot -f ./flash.bin

SDPV: delay 1000
SDPV: write -f ./flash.bin -skipspl
SDPV: jump

FB: ucmd env set fastboot_buffer 0x80000000
FB: ucmd mmc erase 0x0 0x2000
FB: download -f ./flash.bin
FB: ucmd setexpr filesize $filesize + 0x1ff
FB: ucmd setexpr sectors $filesize / 0x200
FB: ucmd mmc write 0x80000000 64 $sectors
FB: Done&lt;/LI-CODE&gt;&lt;P&gt;There is a emmc memory map in IMX91RM (9.8.2.4), which states that there are several unused areas.&lt;BR /&gt;I tried several offsets, e.g. 0x8000 == 32 kB resolving with block size 512 kB to 64.&lt;BR /&gt;Is this the right way?&lt;/P&gt;&lt;P&gt;I know about uuu's -b emmc, but I want to write the binary to the user partition&lt;BR /&gt;as the environment needs to be able to be changed from userland later.&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Oct 2025 07:15:55 GMT</pubDate>
    <dc:creator>stoejs</dc:creator>
    <dc:date>2025-10-16T07:15:55Z</dc:date>
    <item>
      <title>imx91: mmc write offset to user partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx91-mmc-write-offset-to-user-partition/m-p/2187254#M241452</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;I'm trying to find the correct offset to write flash.bin into the user partition&lt;BR /&gt;via mmc. My lst file, the write command is in the second to last line:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uuu_version 1.2.39

SDPS: boot -f ./flash.bin

SDPV: delay 1000
SDPV: write -f ./flash.bin -skipspl
SDPV: jump

FB: ucmd env set fastboot_buffer 0x80000000
FB: ucmd mmc erase 0x0 0x2000
FB: download -f ./flash.bin
FB: ucmd setexpr filesize $filesize + 0x1ff
FB: ucmd setexpr sectors $filesize / 0x200
FB: ucmd mmc write 0x80000000 64 $sectors
FB: Done&lt;/LI-CODE&gt;&lt;P&gt;There is a emmc memory map in IMX91RM (9.8.2.4), which states that there are several unused areas.&lt;BR /&gt;I tried several offsets, e.g. 0x8000 == 32 kB resolving with block size 512 kB to 64.&lt;BR /&gt;Is this the right way?&lt;/P&gt;&lt;P&gt;I know about uuu's -b emmc, but I want to write the binary to the user partition&lt;BR /&gt;as the environment needs to be able to be changed from userland later.&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 07:15:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx91-mmc-write-offset-to-user-partition/m-p/2187254#M241452</guid>
      <dc:creator>stoejs</dc:creator>
      <dc:date>2025-10-16T07:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: imx91: mmc write offset to user partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx91-mmc-write-offset-to-user-partition/m-p/2188542#M241488</link>
      <description>&lt;P&gt;You can refer to the following link for a demo on the user partition of the iMX secondary boot, which shows how to write the image to different offsets.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/iMX-secondary-boot-collection/ta-p/1916915" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/iMX-secondary-boot-collection/ta-p/1916915&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 23:55:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx91-mmc-write-offset-to-user-partition/m-p/2188542#M241488</guid>
      <dc:creator>kawateb265</dc:creator>
      <dc:date>2025-10-17T23:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: imx91: mmc write offset to user partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx91-mmc-write-offset-to-user-partition/m-p/2188964#M241505</link>
      <description>Thank you. 0x40 is the offset I was looking for.</description>
      <pubDate>Mon, 20 Oct 2025 06:52:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx91-mmc-write-offset-to-user-partition/m-p/2188964#M241505</guid>
      <dc:creator>stoejs</dc:creator>
      <dc:date>2025-10-20T06:52:42Z</dc:date>
    </item>
  </channel>
</rss>

