<?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: ls1046 unable to boot from eMMC in QorIQ</title>
    <link>https://community.nxp.com/t5/QorIQ/ls1046-unable-to-boot-from-eMMC/m-p/2148635#M12397</link>
    <description>Dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190505"&gt;@gavingao&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Did you remove the SD card when you try to boot from the emmc?&lt;BR /&gt;Did you add the node for the eMMC into the Device Tree?&lt;BR /&gt;BR&lt;BR /&gt;LFGP</description>
    <pubDate>Thu, 07 Aug 2025 18:22:14 GMT</pubDate>
    <dc:creator>LFGP</dc:creator>
    <dc:date>2025-08-07T18:22:14Z</dc:date>
    <item>
      <title>ls1046 unable to boot from eMMC</title>
      <link>https://community.nxp.com/t5/QorIQ/ls1046-unable-to-boot-from-eMMC/m-p/2147711#M12394</link>
      <description>&lt;P&gt;Our PCB unable to boot from eMMC, while SD card boot is fine.&lt;/P&gt;&lt;P&gt;After burn the image to eMMC by flex-installer, and set boot selection to eMMC boot, the board seems trigger reset continuously.&lt;/P&gt;&lt;P&gt;Is there expert here can review the RCW and give some advice.&lt;/P&gt;&lt;P&gt;Here is the RCW for eMMC.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/*
 * LS1046ARDB RCW for SerDes Protocol 0x1133_5559
 *
 * 24G configuration -- 2 RGMII + two XFI + 2 SGMII + 3 PCIe + SATA
 *
 * Frequencies:
 *
 * Sys Clock: 100 MHz
 * DDR_Refclock: 100 MHz
 *
 * Core		-- 1600 MHz (Mul 16)
 * Platform	-- 600 MHz (Mul 6)
 * DDR		-- 2100 MT/s (Mul 21)
 * FMan		-- 700 MHz (CGA2 /2)
 * XFI		-- 156.25 MHz (10.3125G)
 * SGMII	-- 100 MHz (5G)
 * PCIE		-- 100 MHz (5G)
 * eSDHC	-- 1400 MHz (CGA2 /1)
 *
 * Hardware Accelerator Block Cluster Group A Mux Clock:
 *   FMan        - HWA_CGA_M1_CLK_SEL = 6 - Async mode, CGA PLL 2 /2 is clock
 *   eSDHC, QSPI - HWA_CGA_M2_CLK_SEL = 1 - Async mode, CGA PLL 2 /1 is clock
 *
 * Serdes Lanes vs Slot information
 *  Serdes1 Lane 0 (D) - XFI9, AQR107 PHY
 *  Serdes1 Lane 1 (C) - XFI10, SFP cage
 *  Serdes1 Lane 2 (B) - SGMII5, SGMII1 port
 *  Serdes1 Lane 3 (A) - SGMII6, SGMII2 port
 *
 *  Serdes2 Lane 0 (A) - PCIe1 Gen3 x1, Slot 1, mPCIe
 *  Serdes2 Lane 1 (B) - PCIe2 Gen3 x1, Slot 2
 *  Serdes2 Lane 2 (C) - PCIe3 Gen3 x1, Slot 3
 *  Serdes2 Lane 3 (D) - SATA
 *
 * PLL mapping: 2211_2221
 *
 * Serdes 1:
 *  PLL mapping: 2211
 *
 *  SRDS_PLL_REF_CLK_SEL_S1 : 0b'01
 *    SerDes 1, PLL1[160] : 0 - 100MHz for SGMII and PCIe
 *    SerDes 1, PLL2[161] : 1 - 156.25MHz for XFI
 *  SRDS_PLL_PD_S1 : 0b'0
 *    SerDes 1, PLL1 : 0 - not power down
 *    SerDes 1, PLL2 : 0 - not poewr down
 *  HWA_CGA_M1_CLK_SEL[224-226] : 6 - Cluster Group A PLL 2 /2 to FMan
 *
 * Serdes 2:
 *  PLL mapping: 2221
 *  SRDS_PLL_REF_CLK_SEL_S2 : 0b'00
 *    SerDes 2, PLL1[162] : 0 - 100MHz for SATA
 *    SerDes 2, PLL2[163] : 0 - 100MHz for PCIe
 *  SRDS_PLL_PD_S2 : 0b'00
 *    SerDes 2, PLL1 : 0 - not power down
 *    SerDes 2, PLL2 : 0 - not poewr down
 *  SRDS_DIV_PEX_S2 : 0b'01
 *    00 - train up to max rate of 8G
 *    01 - train up to max rate of 5G
 *    10 - train up to max rate of 2.5G
 *
 * DDR clock:
 * DDR_REFCLK_SEL : 1 - DDRCLK pin provides the reference clock to the DDR PLL
 *
 */

#include &amp;lt;../ls1046ardb/ls1046a.rcwi&amp;gt;

SYS_PLL_RAT=6
MEM_PLL_RAT=21
CGA_PLL1_RAT=16
CGA_PLL2_RAT=14
SRDS_PRTCL_S1=13107
SRDS_PRTCL_S2=34952
SRDS_PLL_REF_CLK_SEL_S1=0
SRDS_PLL_REF_CLK_SEL_S2=0
DDR_REFCLK_SEL=1
SRDS_REFCLK_SEL_S1=1
SRDS_REFCLK_SEL_S2=1
DDR_FDBK_MULT=2
PBI_src=6
IFC_MODE=64
HWA_CGA_M1_CLK_SEL=6
DRAM_LAT=1
SPI_EXT=0
UART_BASE=5
RTC=0
IRQ_OUT=1
IRQ_BASE=112
IFC_GRP_A_EXT=1
IFC_GRP_F_EXT=1
IFC_GRP_E1_BASE=1
IFC_GRP_D_BASE=1
IFC_GRP_A_BASE=1
EC1=1
EC2=1
EM2=1
EMI2_DMODE=1
EMI2_CMODE=1
USB_DRVVBUS=0
USB_PWRFAULT=0
DVDD_VSEL=2
EVDD_VSEL=0
IIC2_EXT=2
SYSCLK_FREQ=600
HWA_CGA_M2_CLK_SEL=1

.pbi
// Set the BOOTLOCPTR
write 0x570600, 0x00000000
write 0x570604, 0x10000000
.end

#include &amp;lt;../ls1046ardb/cci_barrier_disable.rcw&amp;gt;
#include &amp;lt;../ls1046ardb/usb_phy_freq.rcw&amp;gt;
#include &amp;lt;../ls1046ardb/serdes_sata.rcw&amp;gt;
#include &amp;lt;../ls1046ardb/a009531.rcw&amp;gt;

.pbi
// Alt base register
write 0x570158, 0x00001000
flush
.end

.pbi
// flush PBI data
write 0x6100c0, 0x000fffff
.end&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the following is SD card boot RCW&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/*
 * LS1046ARDB RCW for SerDes Protocol 0x1133_5559
 *
 * 24G configuration -- 2 RGMII + two XFI + 2 SGMII + 3 PCIe + SATA
 *
 * Frequencies:
 *
 * Sys Clock: 100 MHz
 * DDR_Refclock: 100 MHz
 *
 * Core		-- 1600 MHz (Mul 16)
 * Platform	-- 600 MHz (Mul 6)
 * DDR		-- 2100 MT/s (Mul 21)
 * FMan		-- 700 MHz (CGA2 /2)
 * XFI		-- 156.25 MHz (10.3125G)
 * SGMII	-- 100 MHz (5G)
 * PCIE		-- 100 MHz (5G)
 * eSDHC	-- 1400 MHz (CGA2 /1)
 *
 * Hardware Accelerator Block Cluster Group A Mux Clock:
 *   FMan        - HWA_CGA_M1_CLK_SEL = 6 - Async mode, CGA PLL 2 /2 is clock
 *   eSDHC, QSPI - HWA_CGA_M2_CLK_SEL = 1 - Async mode, CGA PLL 2 /1 is clock
 *
 * Serdes Lanes vs Slot information
 *  Serdes1 Lane 0 (D) - XFI9, AQR107 PHY
 *  Serdes1 Lane 1 (C) - XFI10, SFP cage
 *  Serdes1 Lane 2 (B) - SGMII5, SGMII1 port
 *  Serdes1 Lane 3 (A) - SGMII6, SGMII2 port
 *
 *  Serdes2 Lane 0 (A) - PCIe1 Gen3 x1, Slot 1, mPCIe
 *  Serdes2 Lane 1 (B) - PCIe2 Gen3 x1, Slot 2
 *  Serdes2 Lane 2 (C) - PCIe3 Gen3 x1, Slot 3
 *  Serdes2 Lane 3 (D) - SATA
 *
 * PLL mapping: 2211_2221
 *
 * Serdes 1:
 *  PLL mapping: 2211
 *
 *  SRDS_PLL_REF_CLK_SEL_S1 : 0b'01
 *    SerDes 1, PLL1[160] : 0 - 100MHz for SGMII and PCIe
 *    SerDes 1, PLL2[161] : 1 - 156.25MHz for XFI
 *  SRDS_PLL_PD_S1 : 0b'0
 *    SerDes 1, PLL1 : 0 - not power down
 *    SerDes 1, PLL2 : 0 - not poewr down
 *  HWA_CGA_M1_CLK_SEL[224-226] : 6 - Cluster Group A PLL 2 /2 to FMan
 *
 * Serdes 2:
 *  PLL mapping: 2221
 *  SRDS_PLL_REF_CLK_SEL_S2 : 0b'00
 *    SerDes 2, PLL1[162] : 0 - 100MHz for SATA
 *    SerDes 2, PLL2[163] : 0 - 100MHz for PCIe
 *  SRDS_PLL_PD_S2 : 0b'00
 *    SerDes 2, PLL1 : 0 - not power down
 *    SerDes 2, PLL2 : 0 - not poewr down
 *  SRDS_DIV_PEX_S2 : 0b'01
 *    00 - train up to max rate of 8G
 *    01 - train up to max rate of 5G
 *    10 - train up to max rate of 2.5G
 *
 * DDR clock:
 * DDR_REFCLK_SEL : 1 - DDRCLK pin provides the reference clock to the DDR PLL
 *
 */

#include &amp;lt;../ls1046ardb/ls1046a.rcwi&amp;gt;

SYS_PLL_RAT=6
MEM_PLL_RAT=21
CGA_PLL1_RAT=16
CGA_PLL2_RAT=14
SRDS_PRTCL_S1=13107
SRDS_PRTCL_S2=34952
SRDS_PLL_REF_CLK_SEL_S1=0
SRDS_PLL_REF_CLK_SEL_S2=0
DDR_REFCLK_SEL=1
SRDS_REFCLK_SEL_S1=1
SRDS_REFCLK_SEL_S2=1
DDR_FDBK_MULT=2
PBI_src=6
IFC_MODE=64
HWA_CGA_M1_CLK_SEL=6
DRAM_LAT=1
SPI_EXT=0
UART_BASE=5
RTC=0
IRQ_OUT=1
IRQ_BASE=112
IFC_GRP_A_EXT=1
IFC_GRP_F_EXT=1
IFC_GRP_E1_BASE=1
IFC_GRP_D_BASE=1
IFC_GRP_A_BASE=1
EC1=1
EC2=1
EM2=1
EMI2_DMODE=1
EMI2_CMODE=1
USB_DRVVBUS=0
USB_PWRFAULT=0
DVDD_VSEL=2
EVDD_VSEL=2
IIC2_EXT=1
SYSCLK_FREQ=600
HWA_CGA_M2_CLK_SEL=1

.pbi
// Set the BOOTLOCPTR
write 0x570600, 0x00000000
write 0x570604, 0x10000000
.end

#include &amp;lt;../ls1046ardb/cci_barrier_disable.rcw&amp;gt;
#include &amp;lt;../ls1046ardb/usb_phy_freq.rcw&amp;gt;
#include &amp;lt;../ls1046ardb/serdes_sata.rcw&amp;gt;
#include &amp;lt;../ls1046ardb/a009531.rcw&amp;gt;

.pbi
// Alt base register
write 0x570158, 0x00001000
flush
.end

.pbi
// flush PBI data
write 0x6100c0, 0x000fffff
.end&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 14:31:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/ls1046-unable-to-boot-from-eMMC/m-p/2147711#M12394</guid>
      <dc:creator>gavingao</dc:creator>
      <dc:date>2025-08-06T14:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: ls1046 unable to boot from eMMC</title>
      <link>https://community.nxp.com/t5/QorIQ/ls1046-unable-to-boot-from-eMMC/m-p/2147714#M12395</link>
      <description>&lt;P&gt;Here is the schematic of eMMC and SD card part.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gavingao_0-1754490919321.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/351205iBD970B9A8D145E75/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gavingao_0-1754490919321.png" alt="gavingao_0-1754490919321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 14:35:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/ls1046-unable-to-boot-from-eMMC/m-p/2147714#M12395</guid>
      <dc:creator>gavingao</dc:creator>
      <dc:date>2025-08-06T14:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: ls1046 unable to boot from eMMC</title>
      <link>https://community.nxp.com/t5/QorIQ/ls1046-unable-to-boot-from-eMMC/m-p/2148635#M12397</link>
      <description>Dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190505"&gt;@gavingao&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Did you remove the SD card when you try to boot from the emmc?&lt;BR /&gt;Did you add the node for the eMMC into the Device Tree?&lt;BR /&gt;BR&lt;BR /&gt;LFGP</description>
      <pubDate>Thu, 07 Aug 2025 18:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/ls1046-unable-to-boot-from-eMMC/m-p/2148635#M12397</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2025-08-07T18:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: ls1046 unable to boot from eMMC</title>
      <link>https://community.nxp.com/t5/QorIQ/ls1046-unable-to-boot-from-eMMC/m-p/2148794#M12398</link>
      <description>&lt;P&gt;Surely we removed the sd card.&lt;/P&gt;&lt;P&gt;I think the problem should be also irrelevant to the dts, because the boot didn’t pass the BL1 at all.&lt;/P&gt;&lt;P&gt;Is there any diagram describe the boot rom code logic?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 02:13:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/ls1046-unable-to-boot-from-eMMC/m-p/2148794#M12398</guid>
      <dc:creator>gavingao</dc:creator>
      <dc:date>2025-08-08T02:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: ls1046 unable to boot from eMMC</title>
      <link>https://community.nxp.com/t5/QorIQ/ls1046-unable-to-boot-from-eMMC/m-p/2149621#M12399</link>
      <description>&lt;P&gt;We finally identified the problem. The RCW in composite firmware image of eMMC&amp;nbsp; was empty somehow. after fixed this trouble. We can boot from eMMC&amp;nbsp; now.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gavingao_0-1754880505365.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/351678iCF5156BE1CB0EDD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gavingao_0-1754880505365.jpeg" alt="gavingao_0-1754880505365.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 02:50:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/ls1046-unable-to-boot-from-eMMC/m-p/2149621#M12399</guid>
      <dc:creator>gavingao</dc:creator>
      <dc:date>2025-08-11T02:50:08Z</dc:date>
    </item>
  </channel>
</rss>

