<?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のトピックRe: EMMC boot Problem with IMX6q</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/EMMC-boot-Problem-with-IMX6q/m-p/1549810#M197293</link>
    <description>Thank you.&lt;BR /&gt;Now i can read and write emmc5.1, but i cannot boot from emmc. Is it mean the imx6 don't support boot from emmc5.1, but support read and write emmc5.1. However, i have another customed board which use imx6ull and emmc5.0, it can boot from emmc successfully.&lt;BR /&gt;I have modify the rev refer to &lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/EMMC-5-0-and-EMMC-5-1-work-on-i-MX6/ta-p/1118941" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/EMMC-5-0-and-EMMC-5-1-work-on-i-MX6/ta-p/1118941&lt;/A&gt;</description>
    <pubDate>Mon, 07 Nov 2022 16:34:15 GMT</pubDate>
    <dc:creator>nx5216</dc:creator>
    <dc:date>2022-11-07T16:34:15Z</dc:date>
    <item>
      <title>EMMC boot Problem with IMX6q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EMMC-boot-Problem-with-IMX6q/m-p/1548560#M197189</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We have designed custom board as a refernce by SABRESD board. we use KLM8G1GEME emmc5.1 instead of&amp;nbsp;MTFC8GLCDM. When we use&amp;nbsp;MFG tool, the buit customized images&amp;nbsp; U boot,U Image and rootfs are burnded successfully into EMMC.here is UART messages:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA&lt;BR /&gt;mxc_vpu 2040000.vpu_fsl: VPU initialized&lt;BR /&gt;mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed&lt;BR /&gt;usbcore: registered new interface driver usbhid&lt;BR /&gt;usbhid: USB HID core driver&lt;BR /&gt;NET: Registered protocol family 10&lt;BR /&gt;sit: IPv6 over IPv4 tunneling driver&lt;BR /&gt;NET: Registered protocol family 17&lt;BR /&gt;Key type dns_resolver registered&lt;BR /&gt;Registering SWP/SWPB emulation handler&lt;BR /&gt;ata1: SATA link down (SStatus 0 SControl 300)&lt;BR /&gt;ahci-imx 2200000.sata: no device found, disabling link.&lt;BR /&gt;ahci-imx 2200000.sata: pass ahci_imx..hotplug=1 to enable hotplug&lt;BR /&gt;backlight supply power not found, using dummy regulator&lt;BR /&gt;backlight supply power not found, using dummy regulator&lt;BR /&gt;input: gpio-keys as /devices/soc0/gpio-keys/input/input0&lt;BR /&gt;mmc3: MAN_BKOPS_EN bit is not set&lt;BR /&gt;backlight supply power not found, using dummy regulator&lt;BR /&gt;snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)&lt;BR /&gt;VGEN3: disabling&lt;BR /&gt;mmc3: new DDR MMC card at address 0001&lt;BR /&gt;mmcblk3: mmc3:0001 8GME4R 7.28 GiB&lt;BR /&gt;mmcblk3boot0: mmc3:0001 8GME4R partition 1 4.00 MiB&lt;BR /&gt;mmcblk3boot1: mmc3:0001 8GME4R partition 2 4.00 MiB&lt;BR /&gt;mmcblk3rpmb: mmc3:0001 8GME4R partition 3 512 KiB&lt;BR /&gt;VGEN2: disabling&lt;BR /&gt;VGEN1: disabling&lt;BR /&gt;SW4: disabling&lt;BR /&gt;mipi_dsi_pwr_on: disabling&lt;BR /&gt;hdmi-5v-supply: disabling&lt;BR /&gt;sensor-supply: disabling&lt;BR /&gt;wm8962-supply: disabling&lt;BR /&gt;usb_otg_vbus: disabling&lt;BR /&gt;backlight supply power not found, using dummy regulator&lt;BR /&gt;ALSA device list:&lt;BR /&gt;No soundcards found.&lt;BR /&gt;Freeing unused kernel memory: 284K (808e9000 - 80930000)&lt;BR /&gt;Starting UTP&lt;BR /&gt;uuc 0.5 [built Sep 16 2016 02:36:28]&lt;BR /&gt;UTP: Waiting for device to appear&lt;BR /&gt;UTP: file/device node /dev/utp already exists&lt;BR /&gt;cpu_id is 0&lt;BR /&gt;g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage&lt;BR /&gt;UTP: received command 'send'&lt;BR /&gt;UTP: sending Success to kernel for command send.&lt;BR /&gt;UTP: received command '$ tar xf $FILE '&lt;BR /&gt;UTP: executing "tar xf $FILE "&lt;BR /&gt;UTP: sending Success to kernel for command $ tar xf $FILE .&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command '$ sh mksdcard.sh /dev/mmcblk3'&lt;BR /&gt;UTP: executing "sh mksdcard.sh /dev/mmcblk3"&lt;BR /&gt;1+0 records in&lt;BR /&gt;1+0 records out&lt;BR /&gt;1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00864567 s, 118 kB/s&lt;BR /&gt;Checking that no-one is using thirandom: sfdisk urandom read with 8 bits of entropy available&lt;BR /&gt;s disk right now ... OK&lt;/P&gt;&lt;P&gt;Di mmcblk3: p1 p2&lt;BR /&gt;sk /dev/mmcblk3: 7.3 GiB, 7818182656 bytes, 15269888 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;&amp;gt;&amp;gt; Created a new DOS disklabel with disk identifier 0x999f01b2.&lt;BR /&gt;Created a new partition 1 of type 'W95 FAT32 (LBA)' and of size 500 MiB.&lt;BR /&gt;/dev/mmcblk3p2: Created a new partition 2 of type 'Linux' and of size 6.7 GiB.&lt;BR /&gt;/dev/mmcblk3p3:&lt;BR /&gt;New situation:&lt;/P&gt;&lt;P&gt;Device Boot Start End Sectors Size Id Type&lt;BR /&gt;/dev/mmcblk3p1 20480 1044479 1024000 500M c W95 FAT32 (LBA)&lt;BR /&gt;/dev/mmcblk3p2 1228800 15269887 14041088 6.7G 83 Linux&lt;/P&gt;&lt;P&gt;The partition table has been altered.&lt;BR /&gt;Calling ioctl() to re-read partition table.&lt;BR /&gt;Syncing disks.&lt;BR /&gt;UTP: sending Success to kernel for command $ sh mksdcard.sh /dev/mmcblk3.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command '$ dd if=/dev/zero of=/dev/mmcblk3 bs=1k seek=768 conv=fsync count=8'&lt;BR /&gt;UTP: executing "dd if=/dev/zero of=/dev/mmcblk3 bs=1k seek=768 conv=fsync count=8"&lt;BR /&gt;8+0 records in&lt;BR /&gt;8+0 records out&lt;BR /&gt;8192 bytes (8.2 kB, 8.0 KiB) copied, 0.010135 s, 808 kB/s&lt;BR /&gt;UTP: sending Success to kernel for command $ dd if=/dev/zero of=/dev/mmcblk3 bs=1k seek=768 conv=fsync count=8.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command '$ echo 0 &amp;gt; /sys/block/mmcblk3boot0/force_ro'&lt;BR /&gt;UTP: executing "echo 0 &amp;gt; /sys/block/mmcblk3boot0/force_ro"&lt;BR /&gt;UTP: sending Success to kernel for command $ echo 0 &amp;gt; /sys/block/mmcblk3boot0/force_ro.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command 'send'&lt;BR /&gt;UTP: sending Success to kernel for command send.&lt;BR /&gt;UTP: received command '$ dd if=$FILE of=/dev/mmcblk3boot0 bs=512 seek=2'&lt;BR /&gt;UTP: executing "dd if=$FILE of=/dev/mmcblk3boot0 bs=512 seek=2"&lt;BR /&gt;838+0 records in&lt;BR /&gt;838+0 records out&lt;BR /&gt;429056 bytes (429 kB, 419 KiB) copied, 0.0544753 s, 7.9 MB/s&lt;BR /&gt;UTP: sending Success to kernel for command $ dd if=$FILE of=/dev/mmcblk3boot0 bs=512 seek=2.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command '$ echo 1 &amp;gt; /sys/block/mmcblk3boot0/force_ro'&lt;BR /&gt;UTP: executing "echo 1 &amp;gt; /sys/block/mmcblk3boot0/force_ro"&lt;BR /&gt;UTP: sending Success to kernel for command $ echo 1 &amp;gt; /sys/block/mmcblk3boot0/force_ro.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command '$ mmc bootpart enable 1 1 /dev/mmcblk3'&lt;BR /&gt;UTP: executing "mmc bootpart enable 1 1 /dev/mmcblk3"&lt;BR /&gt;UTP: sending Success to kernel for command $ mmc bootpart enable 1 1 /dev/mmcblk3.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command '$ while [ ! -e /dev/mmcblk3p1 ]; do sleep 1; echo "waiting..."; done '&lt;BR /&gt;UTP: executing "while [ ! -e /dev/mmcblk3p1 ]; do sleep 1; echo "waiting..."; done "&lt;BR /&gt;UTP: sending Success to kernel for command $ while [ ! -e /dev/mmcblk3p1 ]; do sleep 1; echo "waiting..."; done .&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command '$ mkfs.vfat /dev/mmcblk3p1'&lt;BR /&gt;UTP: executing "mkfs.vfat /dev/mmcblk3p1"&lt;BR /&gt;mkfs.fat 3.0.28 (2015-05-16)&lt;BR /&gt;UTP: sending Success to kernel for command $ mkfs.vfat /dev/mmcblk3p1.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command '$ mkdir -p /mnt/mmcblk3p1'&lt;BR /&gt;UTP: executing "mkdir -p /mnt/mmcblk3p1"&lt;BR /&gt;UTP: sending Success to kernel for command $ mkdir -p /mnt/mmcblk3p1.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command '$ mount -t vfat /dev/mmcblk3p1 /mnt/mmcblk3p1'&lt;BR /&gt;UTP: executing "mount -t vfat /dev/mmcblk3p1 /mnt/mmcblk3p1"&lt;BR /&gt;UTP: sending Success to kernel for command $ mount -t vfat /dev/mmcblk3p1 /mnt/mmcblk3p1.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command 'send'&lt;BR /&gt;UTP: sending Success to kernel for command send.&lt;BR /&gt;UTP: received command '$ cp $FILE /mnt/mmcblk3p1/zImage'&lt;BR /&gt;UTP: executing "cp $FILE /mnt/mmcblk3p1/zImage"&lt;BR /&gt;UTP: sending Success to kernel for command $ cp $FILE /mnt/mmcblk3p1/zImage.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command 'send'&lt;BR /&gt;UTP: sending Success to kernel for command send.&lt;BR /&gt;UTP: received command '$ cp $FILE /mnt/mmcblk3p1/imx6q.dtb'&lt;BR /&gt;UTP: executing "cp $FILE /mnt/mmcblk3p1/imx6q.dtb"&lt;BR /&gt;UTP: sending Success to kernel for command $ cp $FILE /mnt/mmcblk3p1/imx6q.dtb.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command '$ umount /mnt/mmcblk3p1'&lt;BR /&gt;UTP: executing "umount /mnt/mmcblk3p1"&lt;BR /&gt;UTP: sending Success to kernel for command $ umount /mnt/mmcblk3p1.&lt;BR /&gt;utp_poll: pass returned.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, when i choose booting from emmc, it didn't work, it still boot from usb.&amp;nbsp;I have set BT_CFG pins properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we check the mmc info:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nx5216_0-1667523454651.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/199106i35E82E4E64B23CED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nx5216_0-1667523454651.png" alt="nx5216_0-1667523454651.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it didn't have RPMB capacity and others. Does it mean we didn't burn the uboot and kernel into the emmc &lt;SPAN&gt;successfully.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;our bsp version is&amp;nbsp;4.1.15_2.1.0&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 01:05:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EMMC-boot-Problem-with-IMX6q/m-p/1548560#M197189</guid>
      <dc:creator>nx5216</dc:creator>
      <dc:date>2022-11-04T01:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: EMMC boot Problem with IMX6q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EMMC-boot-Problem-with-IMX6q/m-p/1549745#M197285</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The imx6 don't support eMMC 5.1, it support eMMC 4.0 version.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 14:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EMMC-boot-Problem-with-IMX6q/m-p/1549745#M197285</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-11-07T14:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: EMMC boot Problem with IMX6q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EMMC-boot-Problem-with-IMX6q/m-p/1549810#M197293</link>
      <description>Thank you.&lt;BR /&gt;Now i can read and write emmc5.1, but i cannot boot from emmc. Is it mean the imx6 don't support boot from emmc5.1, but support read and write emmc5.1. However, i have another customed board which use imx6ull and emmc5.0, it can boot from emmc successfully.&lt;BR /&gt;I have modify the rev refer to &lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/EMMC-5-0-and-EMMC-5-1-work-on-i-MX6/ta-p/1118941" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/EMMC-5-0-and-EMMC-5-1-work-on-i-MX6/ta-p/1118941&lt;/A&gt;</description>
      <pubDate>Mon, 07 Nov 2022 16:34:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EMMC-boot-Problem-with-IMX6q/m-p/1549810#M197293</guid>
      <dc:creator>nx5216</dc:creator>
      <dc:date>2022-11-07T16:34:15Z</dc:date>
    </item>
  </channel>
</rss>

