<?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: LS1043A eMMC GPT parititioning and boot process</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1043A-eMMC-GPT-parititioning-and-boot-process/m-p/1933989#M14759</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/62134"&gt;@bhargavjayswal&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Apologies for the delayed response,&lt;/P&gt;
&lt;P&gt;I still working on your queries, regarding to your first question yes, its supporting&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Sat, 17 Aug 2024 02:40:37 GMT</pubDate>
    <dc:creator>SebastianG</dc:creator>
    <dc:date>2024-08-17T02:40:37Z</dc:date>
    <item>
      <title>LS1043A eMMC GPT parititioning and boot process</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-eMMC-GPT-parititioning-and-boot-process/m-p/1920519#M14639</link>
      <description>&lt;P&gt;Dear NXP&amp;nbsp; Team,&lt;/P&gt;&lt;P&gt;We&amp;nbsp;currently use the&amp;nbsp;LS1043ARDB for&amp;nbsp;development,&amp;nbsp;where our custom board only&amp;nbsp;has&amp;nbsp;eMMC as&amp;nbsp;the&amp;nbsp;boot device.&lt;/P&gt;&lt;P&gt;From samsung emmc 16GiB (KLMAG1JETD-B041) datasheet, it support hardware partitioning and initially consists of below partition from manufacturer.&lt;/P&gt;&lt;P&gt;Boot Partition 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp;4&amp;nbsp; MiB&lt;BR /&gt;Boot Partition 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; 4&amp;nbsp; MiB&lt;BR /&gt;RPMB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&amp;nbsp; &amp;nbsp; 4&amp;nbsp; MiB&lt;BR /&gt;User Data Area (UDA)&amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; &amp;nbsp; less than 16 GiB&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;According to "qoriq-wks-base.inc" file available in layer-scape SDK, "&lt;STRONG&gt;sd2_sd.pbl"&lt;/STRONG&gt;&amp;nbsp;image locate at block number&amp;nbsp;&lt;STRONG&gt;0x8&lt;/STRONG&gt; (which is 4KiB offset) as below diagram.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;# short-description: Create eMMC/SD card image with a boot partition&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;# The disk layout (in blocks) used is:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;# blocks KiB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0&amp;nbsp; &amp;nbsp; &amp;nbsp; +-----------------------+ 0x0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MBR / GPT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x8&amp;nbsp; &amp;nbsp; &amp;nbsp; +-----------------------+ 0x4&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RCW + PBI + BL2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;# 0x100&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +-----------------------+ 0x80&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PFE firmware&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;# 0x800&amp;nbsp; &amp;nbsp; &amp;nbsp; +-----------------------+ 0x400&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; FIP (BL31+BL32+BL33)&amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;# 0x2800&amp;nbsp; &amp;nbsp; +-----------------------+ 0x1400&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; U-Boot Env variables&amp;nbsp; &amp;nbsp;|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;# 0x3000&amp;nbsp; &amp;nbsp; +-----------------------+ 0x1800&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; Secureboot headers&amp;nbsp; &amp;nbsp;|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;# 0x4000&amp;nbsp; &amp;nbsp; +-----------------------+ 0x2000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DDR PHY FIP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;# 0x4800&amp;nbsp; &amp;nbsp; +-----------------------+ 0x2400&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;DPAA1 FMAN ucode&amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; 0x5000&amp;nbsp; &amp;nbsp;+-----------------------+ 0x2800&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DPAA2-MC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;# 0x6800&amp;nbsp; &amp;nbsp; +-----------------------+ 0x3400&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DPAA2 DPL&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;# 0x7000&amp;nbsp; &amp;nbsp; +-----------------------+ 0x3800&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DPAA2 DPC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;# 0x7800&amp;nbsp; &amp;nbsp; +-----------------------+ 0x3c00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Device tree (UEFI)&amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;# 0x8000&amp;nbsp; &amp;nbsp; +-----------------------+ 0x4000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Kernel&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;# 0x10000&amp;nbsp; &amp;nbsp;+-----------------------+ 0x8000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ramdisk&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333399"&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +-----------------------+&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far&amp;nbsp;as&amp;nbsp;I understand, the table&amp;nbsp;above only&amp;nbsp;works&amp;nbsp;for SD&amp;nbsp;card,&amp;nbsp;not&amp;nbsp;eMMC,&amp;nbsp;and below are my&amp;nbsp;questions about the&amp;nbsp;LS1043A processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query 1:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Does&amp;nbsp;BL1(boot&amp;nbsp;ROM firmware)&amp;nbsp;support booting&amp;nbsp;from eMMC&amp;nbsp;boot partition 1&amp;nbsp;when&lt;STRONG&gt;&amp;nbsp;"bl2_sd.pbl"&lt;/STRONG&gt; (RCW + PBI + BL2)&amp;nbsp;is located in its&amp;nbsp;block&lt;STRONG&gt; 0x8&lt;/STRONG&gt; (offset&amp;nbsp;4KiB) ?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If &lt;STRONG&gt;"bl2_sd.pbl"&lt;/STRONG&gt; boots from eMMC&lt;STRONG&gt;&amp;nbsp;boot partition 1&lt;/STRONG&gt;, does eMMC&amp;nbsp;&lt;STRONG&gt;UDA&lt;/STRONG&gt;&amp;nbsp;(user data area) partition support GPT partitioning?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query 3:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;where GPT partition table is located ? Is it stored at starting block of &lt;STRONG&gt;UDA&lt;/STRONG&gt; partition?&amp;nbsp;In Samsung EMMC case,&amp;nbsp; &lt;STRONG&gt;UDA hardware partition&lt;/STRONG&gt; block start at 24576 (0x6000) and offset is 12 MiB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhargav Jayswal&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 12:43:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-eMMC-GPT-parititioning-and-boot-process/m-p/1920519#M14639</guid>
      <dc:creator>bhargavjayswal</dc:creator>
      <dc:date>2024-07-30T12:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A eMMC GPT parititioning and boot process</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-eMMC-GPT-parititioning-and-boot-process/m-p/1933989#M14759</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/62134"&gt;@bhargavjayswal&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Apologies for the delayed response,&lt;/P&gt;
&lt;P&gt;I still working on your queries, regarding to your first question yes, its supporting&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 02:40:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-eMMC-GPT-parititioning-and-boot-process/m-p/1933989#M14759</guid>
      <dc:creator>SebastianG</dc:creator>
      <dc:date>2024-08-17T02:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A eMMC GPT parititioning and boot process</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-eMMC-GPT-parititioning-and-boot-process/m-p/1937377#M14790</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203367"&gt;@SebastianG&lt;/a&gt;&amp;nbsp;, Thank you for support.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It means that LS1043A ROM code (BL1) looks for&amp;nbsp;&lt;STRONG&gt;sd2_sd.pbl ,&lt;/STRONG&gt;&amp;nbsp;only&amp;nbsp;at eMMC &lt;STRONG&gt;Bootparition1.&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;ROM code does not support to boot from UDA, RMPB or bootpartition2&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As per my knowledge, in kernel EMMC chip detect as below in some of the SOC.&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;bootparititon1&amp;nbsp; &amp;nbsp;:&amp;nbsp; /dev/mmcblk0boot0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;bootpartition2&amp;nbsp;&amp;nbsp;:&amp;nbsp; /dev/mmcblk0boot1 &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;RPMB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; /dev/mmcblk0rmpb&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;UDA &lt;FONT color="#000000"&gt;:&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : /dev/mmcblk0&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Where &lt;STRONG&gt;GPT &lt;/STRONG&gt;partition in UDA detected by driver using GPT table&amp;nbsp;&amp;nbsp;&lt;FONT color="#0000FF"&gt;/dev/mmcblk0p1&lt;/FONT&gt; , &lt;FONT color="#0000FF"&gt;/dev/mmcblk0p2 ...&amp;nbsp; /dev/mmcblk0p128.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;So from your reply and as per my understating, GPT must an should locate at &lt;STRONG&gt;UDA&lt;/STRONG&gt; hardware partition.&amp;nbsp;&lt;SPAN&gt;In &amp;nbsp;samsung emmc 16GiB (KLMAG1JETD-B041) case,&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;UDA hardware partition&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;block start at 24576 (0x6000) and offset is 12 MiB.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So GPT table must an should be locate at block&amp;nbsp;24576 (0x6000) and offset is 12 MiB.&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;Kindly please confirm this.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Also request you to confirm that how much space we need to reserved for GPT table. Is GPT table backup locate at END of UDA then at which offset it get store.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Reagards,&lt;/P&gt;&lt;P&gt;Bhargav J&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 11:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-eMMC-GPT-parititioning-and-boot-process/m-p/1937377#M14790</guid>
      <dc:creator>bhargavjayswal</dc:creator>
      <dc:date>2024-08-21T11:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A eMMC GPT parititioning and boot process</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-eMMC-GPT-parititioning-and-boot-process/m-p/1938473#M14811</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203367" target="_blank"&gt;@SebastianG&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As I am working in details of GPT table, u-boot and kernel&amp;nbsp; states that it always look for GPT at start of dev partition. SECTOR 0 for MBR and SECTOR 1 for GPT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;From EMMC perspective in u-boot driver detect four device and switching between EMMC sub device can be done as below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080"&gt;UDA:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc dev 0 0&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;BOOT PART-1&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc dev 0 1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080"&gt;BOOT PART-2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc dev 0 2&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;RPMB:&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; mmc dev 0 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On u-boot console, when I run "mmc part" after selecting UDA using command "mmc dev 0 0", it prints GPT partition table.&lt;/P&gt;&lt;P&gt;But When I run "mmc part" after&amp;nbsp; "mmc dev 0 1", "mmc dev 0 2" and&amp;nbsp; "mmc dev 0 3",&amp;nbsp; uboot thought error message on console.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So just waiting for confirmation&lt;/STRONG&gt; that my understanding is correct that&amp;nbsp;&lt;SPAN&gt;GPT table store at very First and Second block of UDA hardware partition. For 128 partition we require 17 KiB space at &lt;STRONG&gt;START&lt;/STRONG&gt; of UDA Sector and GPT backup stores at &lt;STRONG&gt;END&lt;/STRONG&gt; of UDA.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It might be common practice is to leave at least 1 MiB of unallocated space before the backup GPT and after main GPT, though the exact amount might vary depending on the system and expected partition changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bhargav J&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 12:48:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-eMMC-GPT-parititioning-and-boot-process/m-p/1938473#M14811</guid>
      <dc:creator>bhargavjayswal</dc:creator>
      <dc:date>2024-08-22T12:48:14Z</dc:date>
    </item>
  </channel>
</rss>

