<?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>i.MX Processors中的主题 How to switch iMX8M Plus partition</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-switch-iMX8M-Plus-partition/m-p/1638878#M204701</link>
    <description>&lt;P&gt;Dear NXP Tech support,&lt;/P&gt;&lt;P&gt;We are trying to use eMMC of iMX8M Plus to build partitions for firmware updates.&lt;BR /&gt;We are trying to switch partitions as one of the pre-examination.&lt;BR /&gt;Trying to modify u-boot to switch between partitions A), B) and partitions C), D).&lt;BR /&gt;I tried to set u-boot to switch between partitions A), B) and partitions C), D) but it doesn't work.&lt;BR /&gt;Partitions A) and B) always boot.&lt;BR /&gt;Are we creating partitions wrong?&lt;BR /&gt;Or u-boot configuration is wrong?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am currently creating partitions with the following contents.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; device&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boot&amp;nbsp; &amp;nbsp; &amp;nbsp;start&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sectors&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type&lt;BR /&gt;&amp;nbsp; A) /dev/mmcblk2p1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 16384&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;186775&amp;nbsp; &amp;nbsp; &amp;nbsp;170392&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;W95FAT32 (LBA)&lt;BR /&gt;&amp;nbsp; B) /dev/mmcblk2p2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 196608&amp;nbsp; &amp;nbsp; &amp;nbsp; 17027413 16830806&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Linux&lt;BR /&gt;&amp;nbsp; C) /dev/mmcblk2p3&amp;nbsp; *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 17027413&amp;nbsp; 17214188 170392&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; W95FAT32 (LBA)&lt;BR /&gt;&amp;nbsp; D) /dev/mmcblk2p4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 17224021&amp;nbsp; 34054826 16830806&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Linux&lt;/P&gt;&lt;P&gt;After creating partitions with the fdisk command, I copied the files in partitions A) and B) to partitions C) and D).&lt;BR /&gt;Partitions A) and C) have kernel images and DTBs.&lt;BR /&gt;Partitions B) and D) have rootfs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The place where u-boot setting was changed is the following item.&lt;BR /&gt;mmcpart=3&lt;BR /&gt;mmcroot=/dev/mmcvlk2p4 rootwait rw&lt;BR /&gt;devplist=3,1&lt;/P&gt;&lt;P&gt;On another note, I read that iMX8M Plus has a Secondary Image Boot feature.&lt;BR /&gt;Is it possible to switch partitions by switching BOOT_PARTITION_ENABLE field in the Ext_CSD[179]?&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2023 12:04:15 GMT</pubDate>
    <dc:creator>Y_K</dc:creator>
    <dc:date>2023-04-24T12:04:15Z</dc:date>
    <item>
      <title>How to switch iMX8M Plus partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-switch-iMX8M-Plus-partition/m-p/1638878#M204701</link>
      <description>&lt;P&gt;Dear NXP Tech support,&lt;/P&gt;&lt;P&gt;We are trying to use eMMC of iMX8M Plus to build partitions for firmware updates.&lt;BR /&gt;We are trying to switch partitions as one of the pre-examination.&lt;BR /&gt;Trying to modify u-boot to switch between partitions A), B) and partitions C), D).&lt;BR /&gt;I tried to set u-boot to switch between partitions A), B) and partitions C), D) but it doesn't work.&lt;BR /&gt;Partitions A) and B) always boot.&lt;BR /&gt;Are we creating partitions wrong?&lt;BR /&gt;Or u-boot configuration is wrong?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am currently creating partitions with the following contents.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; device&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boot&amp;nbsp; &amp;nbsp; &amp;nbsp;start&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sectors&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type&lt;BR /&gt;&amp;nbsp; A) /dev/mmcblk2p1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 16384&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;186775&amp;nbsp; &amp;nbsp; &amp;nbsp;170392&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;W95FAT32 (LBA)&lt;BR /&gt;&amp;nbsp; B) /dev/mmcblk2p2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 196608&amp;nbsp; &amp;nbsp; &amp;nbsp; 17027413 16830806&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Linux&lt;BR /&gt;&amp;nbsp; C) /dev/mmcblk2p3&amp;nbsp; *&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 17027413&amp;nbsp; 17214188 170392&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; W95FAT32 (LBA)&lt;BR /&gt;&amp;nbsp; D) /dev/mmcblk2p4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 17224021&amp;nbsp; 34054826 16830806&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Linux&lt;/P&gt;&lt;P&gt;After creating partitions with the fdisk command, I copied the files in partitions A) and B) to partitions C) and D).&lt;BR /&gt;Partitions A) and C) have kernel images and DTBs.&lt;BR /&gt;Partitions B) and D) have rootfs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The place where u-boot setting was changed is the following item.&lt;BR /&gt;mmcpart=3&lt;BR /&gt;mmcroot=/dev/mmcvlk2p4 rootwait rw&lt;BR /&gt;devplist=3,1&lt;/P&gt;&lt;P&gt;On another note, I read that iMX8M Plus has a Secondary Image Boot feature.&lt;BR /&gt;Is it possible to switch partitions by switching BOOT_PARTITION_ENABLE field in the Ext_CSD[179]?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 12:04:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-switch-iMX8M-Plus-partition/m-p/1638878#M204701</guid>
      <dc:creator>Y_K</dc:creator>
      <dc:date>2023-04-24T12:04:15Z</dc:date>
    </item>
  </channel>
</rss>

