<?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 Re: imx8qxp - eMMC pseudoSLC in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-eMMC-pseudoSLC/m-p/1580910#M199934</link>
    <description>&lt;P&gt;Hi Sergey, indeed the output of mmc extcsd read seems to contradict what U-Boot reports.&amp;nbsp; Can you show us what Linux thinks of the partitions on /dev/mmcblk0 now? I.e. the output of fdisk -l /dev/mmcblk0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2023 14:26:26 GMT</pubDate>
    <dc:creator>laodzu</dc:creator>
    <dc:date>2023-01-11T14:26:26Z</dc:date>
    <item>
      <title>imx8qxp - eMMC pseudoSLC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-eMMC-pseudoSLC/m-p/1580741#M199915</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we are trying to activate pseudoSLC mode on eMMC on custom imx8qxp board. We have tried with different eMMC chips, one from Micron (&amp;nbsp;&lt;SPAN&gt;MTFC8GAMALBH-IT ) and another from ISSI, both can MMC 5.x Standard so it should be supported.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from uboot before partitioning&lt;/STRONG&gt;&lt;BR /&gt;=&amp;gt; mmc info&lt;BR /&gt;Device: FSL_SDHC&lt;BR /&gt;Manufacturer ID: 9d&lt;BR /&gt;OEM: 101&lt;BR /&gt;Name: IS008&lt;BR /&gt;Bus Speed: 200000000&lt;BR /&gt;Mode : HS200 (200MHz)&lt;BR /&gt;Rd Block Len: 512&lt;BR /&gt;MMC version 5.0&lt;BR /&gt;High Capacity: Yes&lt;BR /&gt;Capacity: 7.3 GiB&lt;BR /&gt;Bus Width: 8-bit&lt;BR /&gt;Erase Group Size: 512 KiB&lt;BR /&gt;HC WP Group Size: 8 MiB&lt;BR /&gt;User Capacity: 7.3 GiB WRREL&lt;BR /&gt;Boot Capacity: 4 MiB ENH&lt;BR /&gt;RPMB Capacity: 4 MiB ENH&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc hwpartition user enh 0 7634944 wrrel on check&lt;BR /&gt;Partition configuration:&lt;BR /&gt;User Enhanced Start: 0 Bytes&lt;BR /&gt;User Enhanced Size: 3.6 GiB&lt;BR /&gt;User partition write reliability: on&lt;BR /&gt;No GP1 partition&lt;BR /&gt;No GP2 partition&lt;BR /&gt;No GP3 partition&lt;BR /&gt;No GP4 partition&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc hwpartition user enh 0 7634944 wrrel on complete&lt;BR /&gt;Partition configuration:&lt;BR /&gt;User Enhanced Start: 0 Bytes&lt;BR /&gt;User Enhanced Size: 3.6 GiB&lt;BR /&gt;User partition write reliability: on&lt;BR /&gt;No GP1 partition&lt;BR /&gt;No GP2 partition&lt;BR /&gt;No GP3 partition&lt;BR /&gt;No GP4 partition&lt;BR /&gt;Partitioning successful, power-cycle to make effective&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;after &lt;STRIKE&gt;power-cycle&lt;/STRIKE&gt; (it was only reboot)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc info&lt;BR /&gt;Device: FSL_SDHC&lt;BR /&gt;Manufacturer ID: 9d&lt;BR /&gt;OEM: 101&lt;BR /&gt;Name: IS008&lt;BR /&gt;Bus Speed: 200000000&lt;BR /&gt;Mode : HS200 (200MHz)&lt;BR /&gt;Rd Block Len: 512&lt;BR /&gt;MMC version 5.0&lt;BR /&gt;High Capacity: Yes&lt;BR /&gt;Capacity: 7.3 GiB&lt;BR /&gt;Bus Width: 8-bit&lt;BR /&gt;Erase Group Size: 512 KiB&lt;BR /&gt;HC WP Group Size: 8 MiB&lt;BR /&gt;User Capacity: 7.3 GiB ENH WRREL&lt;BR /&gt;&lt;STRONG&gt;User Enhanced Start: 0 Bytes&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;User Enhanced Size: 3.6 GiB&lt;/STRONG&gt;&lt;BR /&gt;Boot Capacity: 4 MiB ENH&lt;BR /&gt;RPMB Capacity: 4 MiB ENH&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&amp;gt; mmc hwpartition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Partition configuration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No enhanced user data area&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No GP1 partition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No GP2 partition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No GP3 partition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No GP4 partition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Card already partitioned&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason enhanced area is configured but not present???, also capacity and user capacity are still reported as 7.3GiB instead of 3.6 GiB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached complete output of&amp;nbsp;mmc extcsd read /dev/mmcblk0 after partitioning. Data looks correct for me:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Partitioning is supported:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Partitioning Support [PARTITIONING_SUPPORT]: 0x07&lt;BR /&gt;Device support partitioning feature&lt;BR /&gt;Device can have enhanced tech.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Partitioning was done:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Partitioning Setting [PARTITION_SETTING_COMPLETED]: 0x01&lt;BR /&gt;Device partition setting complete&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Enhanced (pSLC) Area 3.6GiB starts at 0:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Enhanced User Data Area Size [ENH_SIZE_MULT]: 0x0001d2&lt;BR /&gt;i.e. 3817472 KiB&lt;BR /&gt;Enhanced User Data Start Address [ENH_START_ADDR]: 0x00000000&lt;BR /&gt;i.e. 0 bytes offset&lt;/P&gt;&lt;P&gt;Any Idea what could be wrong here? I've used steps from this manual (&amp;nbsp;&lt;A href="https://www.embeddedartists.com/wp-content/uploads/2020/04/Working_with_eMMC.pdf" target="_blank" rel="noopener"&gt;https://www.embeddedartists.com/wp-content/uploads/2020/04/Working_with_eMMC.pdf&lt;/A&gt;&amp;nbsp;) and tried both u-boot (described here) and linux procedure (with another chip, since partitioning can be done only once)&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 14:50:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-eMMC-pseudoSLC/m-p/1580741#M199915</guid>
      <dc:creator>sergey_tarassen</dc:creator>
      <dc:date>2023-01-11T14:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: imx8qxp - eMMC pseudoSLC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-eMMC-pseudoSLC/m-p/1580910#M199934</link>
      <description>&lt;P&gt;Hi Sergey, indeed the output of mmc extcsd read seems to contradict what U-Boot reports.&amp;nbsp; Can you show us what Linux thinks of the partitions on /dev/mmcblk0 now? I.e. the output of fdisk -l /dev/mmcblk0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 14:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-eMMC-pseudoSLC/m-p/1580910#M199934</guid>
      <dc:creator>laodzu</dc:creator>
      <dc:date>2023-01-11T14:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: imx8qxp - eMMC pseudoSLC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-eMMC-pseudoSLC/m-p/1580915#M199935</link>
      <description>&lt;P&gt;&lt;SPAN&gt;~# fdisk -l /dev/mmcblk0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Disk /dev/mmcblk0: 3.66 GiB, 3909091328 bytes, 7634944 sectors&lt;BR /&gt;Units: sectors of 1 * 512 = 512 bytes&lt;BR /&gt;Sector size (logical/physical): 512 bytes / 512 bytes&lt;BR /&gt;I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc info&lt;BR /&gt;Device: FSL_SDHC&lt;BR /&gt;Manufacturer ID: 9d&lt;BR /&gt;OEM: 101&lt;BR /&gt;Name: IS008&lt;BR /&gt;Bus Speed: 200000000&lt;BR /&gt;Mode : HS200 (200MHz)&lt;BR /&gt;Rd Block Len: 512&lt;BR /&gt;MMC version 5.0&lt;BR /&gt;High Capacity: Yes&lt;BR /&gt;Capacity: 3.6 GiB&lt;BR /&gt;Bus Width: 8-bit&lt;BR /&gt;Erase Group Size: 512 KiB&lt;BR /&gt;HC WP Group Size: 8 MiB&lt;BR /&gt;User Capacity: 3.6 GiB ENH WRREL&lt;BR /&gt;User Enhanced Start: 0 Bytes&lt;BR /&gt;User Enhanced Size: 3.6 GiB&lt;BR /&gt;Boot Capacity: 4 MiB ENH&lt;BR /&gt;RPMB Capacity: 4 MiB ENH&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hm... Likely the problem was missing power cycle, now everything looks fine in both linux and in u-boot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Home office is well, but sadly no remote for power supply &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 14:42:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-eMMC-pseudoSLC/m-p/1580915#M199935</guid>
      <dc:creator>sergey_tarassen</dc:creator>
      <dc:date>2023-01-11T14:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: imx8qxp - eMMC pseudoSLC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-eMMC-pseudoSLC/m-p/1580933#M199936</link>
      <description>&lt;P&gt;Hi Sergey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for acknowledging that there is no problem.&amp;nbsp; Indeed, the power cycle is essential but as you mentioned that explicitly in the text, I did not question it.&amp;nbsp; So cool, that everything works!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 15:33:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-eMMC-pseudoSLC/m-p/1580933#M199936</guid>
      <dc:creator>laodzu</dc:creator>
      <dc:date>2023-01-11T15:33:22Z</dc:date>
    </item>
  </channel>
</rss>

