<?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>Layerscape中的主题 Re: LS1088ardb eMMC enabling</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1088ardb-eMMC-enabling/m-p/2103144#M15790</link>
    <description>&lt;P&gt;I solved the problem. In the RCW file, it was necessary to activate the function for emmc from the SPI_PCS pin settings.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zeroqruel_0-1747977140470.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/339349iE9B6078C56C20370/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zeroqruel_0-1747977140470.png" alt="zeroqruel_0-1747977140470.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SPI_PCS_BASE=2&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Fri, 23 May 2025 05:12:50 GMT</pubDate>
    <dc:creator>zeroqruel</dc:creator>
    <dc:date>2025-05-23T05:12:50Z</dc:date>
    <item>
      <title>LS1088ardb eMMC enabling</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1088ardb-eMMC-enabling/m-p/2092968#M15703</link>
      <description>&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a custom board with ls1088ardb processor.&amp;nbsp;&amp;nbsp;The only difference from the reference design is that I have 128GB eMMC storage instead of 4GB eMMC.&amp;nbsp;I successfully boot u-boot from SD Card or QSPI. After the kernel is up, I want to use the eMMC volume as storage/database. But the eMMC volume is not loaded while loading the kernel.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;The error I get is: /dev/mmcblk0p1: Can't open blockdev&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Do I need to add/edit anything in dts to use eMMC volume as storage/database in userspace? Or do I need to do anything in rcw files?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My dts is like;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;amp;esdhc {&lt;BR /&gt;status = "okay";&lt;BR /&gt;non-removable;&lt;BR /&gt;compatible = "fsl,ls1088a-esdhc", "fsl,esdhc";&lt;BR /&gt;bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;};&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 17:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1088ardb-eMMC-enabling/m-p/2092968#M15703</guid>
      <dc:creator>zeroqruel</dc:creator>
      <dc:date>2025-05-07T17:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: LS1088ardb eMMC enabling</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1088ardb-eMMC-enabling/m-p/2097476#M15743</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;If you take a look on the LS1088ARDB, there is a mux to select if the&amp;nbsp;SDHC interface is active with the SD card OR the emmc, but you can't use both at the same time due to voltage and pins restrictions.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Oswalag_0-1747245700482.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/337802iB52F37C8C14112E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Oswalag_0-1747245700482.png" alt="Oswalag_0-1747245700482.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please refer to the description in Page 46 of the RM:&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Some special features of the SDHC interface are:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 18:05:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1088ardb-eMMC-enabling/m-p/2097476#M15743</guid>
      <dc:creator>Oswalag</dc:creator>
      <dc:date>2025-05-14T18:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: LS1088ardb eMMC enabling</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1088ardb-eMMC-enabling/m-p/2098193#M15750</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199933"&gt;@Oswalag&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for reply.&amp;nbsp;I set u-boot to open via SD or NOR(QSPI) according to rcw configuration with switch. When u-boot opens via NOR, eMMC mux is activated by CPLD. I have successfully activated eMMC but it is started as 4 buses every time.&amp;nbsp;I get pinstate error while opening u-boot.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MMC:   
esdhc_change_pinstate 0 error                                                           
esdhc_set_timing error -22 

=&amp;gt; mmcinfo                                                                                     
esdhc_change_pinstate 4 error                                                                  
esdhc_set_timing error -22                                                                     
Device: FSL_SDHC                                                                               
Manufacturer ID: 13                                                                            
OEM: 14e                                                                                       
Name: 0IM20                                                                                    
Bus Speed: 52000000                                                                            
Mode : MMC High Speed (52MHz)                                                                  
Rd Block Len: 512                                                                              
MMC version 5.1                                                                                
High Capacity: Yes                                                                             
Capacity: 118.6 GiB                                                                            
Bus Width: 4-bit                                                                               
Erase Group Size: 512 KiB                                                                      
HC WP Group Size: 32 MiB                                                                       
User Capacity: 118.6 GiB WRREL                                                                 
Boot Capacity: 31.5 MiB ENH                                                                    
RPMB Capacity: 4 MiB ENH &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After opening the kernel I get the error "bus width 8 failed".&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dmesg | grep mmc                                                                
[    1.496588] mmc0: SDHCI controller on 2140000.esdhc [2140000.esdhc] using ADMA 64-bit       
[    2.912927] mmc0: switch to bus width 8 failed                                              
[    2.924054] mmc0: new high speed MMC card at address 0001                                   
[    2.925439] mmcblk0: mmc0:0001 0IM20G 119 GiB                                               
[    2.926164] mmcblk0boot0: mmc0:0001 0IM20G partition 1 31.5 MiB                             
[    2.926869] mmcblk0boot1: mmc0:0001 0IM20G partition 2 31.5 MiB                             
[    2.927160] mmcblk0rpmb: mmc0:0001 0IM20G partition 3 4.00 MiB, chardev (508:0)             
[    2.930264]  mmcblk0: p1



/sys/kernel/debug/mmc0# cat ios                                                                                         
clock:          52000000 Hz                                                                                                         
actual clock:   50000000 Hz                                                                                                         
vdd:            21 (3.3 ~ 3.4 V)                                                                                                    
bus mode:       2 (push-pull)                                                                                                       
chip select:    0 (don't care)                                                                                                      
power mode:     2 (on)                                                                                                              
bus width:      2 (4 bits)                                                                                                          
timing spec:    1 (mmc high-speed)                                                                                                  
signal voltage: 0 (3.30 V)                                                                                                          
driver type:    0 (driver type B) &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My definitions for emmc in dts and dtsi files are as follows;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dts;
&amp;amp;esdhc {
	status = "okay";
	compatible = "fsl,ls1088a-esdhc", "fsl,esdhc";
	non-removable;
	bus-width = &amp;lt;8&amp;gt;;
};

dtsi; (changed bus width to 8)
		esdhc: esdhc@2140000 {
			compatible = "fsl,ls1088a-esdhc", "fsl,esdhc";
			reg = &amp;lt;0x0 0x2140000 0x0 0x10000&amp;gt;;
			interrupts = &amp;lt;0 28 0x4&amp;gt;; /* Level high type */
			clock-frequency = &amp;lt;0&amp;gt;;
			voltage-ranges = &amp;lt;1800 1800 3300 3300&amp;gt;;
			sdhci,auto-cmd12;
			little-endian;
			bus-width = &amp;lt;8&amp;gt;;
			status = "okay";
		};&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I want to run emmc as 8 bus width. I have seen parameters like pinctrl-names, pinctrl-0, vmmc-supply, mmc-hs200-1_8v but I always got a compilation error in a few dts attempts. Especially when I defined "mmc-hs200-1_8v", I saw that emmc was not loaded in the kernel at all and I got an error. Are there any parameters that I definitely need to add among these parameters? Can you give an example? What is the reason why emmc does not work with 8 bus width?&amp;nbsp;Are there any parts that you see as missing or incorrect?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp;I added the picture of the processor's SD, eMMC and CPLD connections.&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 13:55:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1088ardb-eMMC-enabling/m-p/2098193#M15750</guid>
      <dc:creator>zeroqruel</dc:creator>
      <dc:date>2025-05-15T13:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: LS1088ardb eMMC enabling</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1088ardb-eMMC-enabling/m-p/2100651#M15772</link>
      <description>&lt;P&gt;I have been waiting for an answer for a long time.&amp;nbsp;Can you support me? It's urgent.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199933"&gt;@Oswalag&lt;/a&gt;&amp;nbsp; or&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 11:43:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1088ardb-eMMC-enabling/m-p/2100651#M15772</guid>
      <dc:creator>zeroqruel</dc:creator>
      <dc:date>2025-05-20T11:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: LS1088ardb eMMC enabling</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1088ardb-eMMC-enabling/m-p/2103144#M15790</link>
      <description>&lt;P&gt;I solved the problem. In the RCW file, it was necessary to activate the function for emmc from the SPI_PCS pin settings.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zeroqruel_0-1747977140470.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/339349iE9B6078C56C20370/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zeroqruel_0-1747977140470.png" alt="zeroqruel_0-1747977140470.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SPI_PCS_BASE=2&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 May 2025 05:12:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1088ardb-eMMC-enabling/m-p/2103144#M15790</guid>
      <dc:creator>zeroqruel</dc:creator>
      <dc:date>2025-05-23T05:12:50Z</dc:date>
    </item>
  </channel>
</rss>

