<?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: i.MX 8M Mini EVK​ and NAND Flash compatibility</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-EVK-and-NAND-Flash-compatibility/m-p/1277580#M174136</link>
    <description>&lt;P&gt;I'm using Release - Linux 5.10.9_1.0.0 March 2021.&lt;/P&gt;&lt;P&gt;The NAND with part number&amp;nbsp;MT29F64G08CBABBWP-12IT:B is installed in the TSOP48 socket.&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 11:43:13 GMT</pubDate>
    <dc:creator>rausov</dc:creator>
    <dc:date>2021-05-17T11:43:13Z</dc:date>
    <item>
      <title>i.MX 8M Mini EVK​ and NAND Flash compatibility</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-EVK-and-NAND-Flash-compatibility/m-p/1275488#M173916</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've bought a 8MMINID4-EVK and want to test a NAND Flash. The only part number that I found in the schematic is MT29F64G08CBABBWP-12IT:B (SPF-35104_B1.pdf). It's a "NAND Flash MLC 64G 8GX8 TSOP". Using the example_kernel_nand.uuu script with: imx-boot-imx8mmddr4evk-nand.bin-flash_ddr4_evk, Image-imx8mmevk.bin, imx8mm-ddr4-evk.dtb, fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot. I get:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Found New UDC: ci_hdrc.0
ci_hdrc.0 0
ffs.utp0
[    3.827324] file system registered
[    3.840490] Mass Storage Function, version: 2009/09/11
[    3.845818] LUN: removable file: (no medium)
run utp at /dev/usb-utp0/ep0
.
uuu fastboot client 1.0.0 [built [    3.855595] read descriptors
Nov  7 2019 19:25:07]
Start init[    3.861405] read strings
 usb
write string
Start handle command
[    4.809858] imx-drm 32c00000.bus:display-subsystem: [drm] Cannot find any crtc or sizes
uuc /dev/utp
uuc 0.6 [built Nov  7 2019 19:25:07]
UTP: Waiting for /dev/utp to appear
run shell cmd: cat /proc/mtd
run shell cmd: cat /proc/mtd | while read dev size erase name; do mtd=${dev:3}; mtd=${mtd%:}; name=${name%\"}; name=${name#\"}; echo export $name=$mtd &amp;gt;&amp;gt; /tmp/mtd.sh; done;
run shell cmd: chmod 777 /tmp/mtd.sh
[    5.720168] Console: switching to colour frame buffer device 240x67
[    5.775206] imx-drm 32c00000.bus:display-subsystem: [drm] fb0: imx-drmdrmfb frame buffer device
run shell cmd: mount -t debugfs debugfs /sys/kernel/debug
run shell cmd: source /tmp/mtd.sh; flash_erase /dev/mtd${nandboot} 0 0
WOpen:/tmp/boot
run shell cmd: source /tmp/mtd.sh; cd /tmp; if [[ ! `cat /sys/devices/soc0/soc_id` =~ .*MX8(Q|DXL|MN|MP).* ]]; then pad="-x"; fi; kobs-ng init $pad -v --chip_0_device_path=/dev/mtd${nandboot} /tmp/boot
run shell cmd: if [[ `cat /tmp/mtd.sh` = *"nandfit"* ]]; then source /tmp/mtd.sh; flash_erase /dev/mtd${nandfit} 0 0; dd if=/tmp/boot of=/tmp/fit; nandwrite -p /dev/mtd${nandfit} -p /tmp/fit; fi
6973+1 records in
6973+1 records out
3570256 bytes (3.6 MB, 3.4 MiB) copied, 0.030494 s, 117 MB/s
run shell cmd: source /tmp/mtd.sh; flash_erase /dev/mtd${nandkernel} 0 0
WOpen:/tmp/img
run shell cmd: source /tmp/mtd.sh; nandwrite -p /dev/mtd${nandkernel} -p /tmp/img
[    9.002154] random: crng init done
run shell cmd: source /tmp/mtd.sh; flash_erase /dev/mtd${nanddtb} 0 0
WOpen:/tmp/dtb
run shell cmd: source /tmp/mtd.sh; nandwrite -p /dev/mtd${nanddtb} -p /tmp/dtb
run shell cmd: source /tmp/mtd.sh; flash_erase /dev/mtd${nandrootfs} 0 0
run shell cmd: source /tmp/mtd.sh; ubiattach /dev/ubi_ctrl -m ${nandrootfs}
[   19.769106] ubi: refuse attaching mtd5 - MLC NAND is not supported
ubiattach: error!: cannot attach mtd5
           error 22 (Invalid argument)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;As I can understand reading the driver (&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/mtd/ubi/build.c?h=lf-5.10.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/mtd/ubi/build.c?h=lf-5.10.y&lt;/A&gt;) the MLC NAND are not supported by the linux kernel. I was wondering that this part number is in the schematic and I want to ask which NAND flash can I test with the socket of the EVK?&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 08:32:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-EVK-and-NAND-Flash-compatibility/m-p/1275488#M173916</guid>
      <dc:creator>rausov</dc:creator>
      <dc:date>2021-05-12T08:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX 8M Mini EVK​ and NAND Flash compatibility</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-EVK-and-NAND-Flash-compatibility/m-p/1276335#M174000</link>
      <description>&lt;P&gt;Which version of BSP are you using? Have you install the Nand in your board?&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 09:49:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-EVK-and-NAND-Flash-compatibility/m-p/1276335#M174000</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2021-05-13T09:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX 8M Mini EVK​ and NAND Flash compatibility</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-EVK-and-NAND-Flash-compatibility/m-p/1277580#M174136</link>
      <description>&lt;P&gt;I'm using Release - Linux 5.10.9_1.0.0 March 2021.&lt;/P&gt;&lt;P&gt;The NAND with part number&amp;nbsp;MT29F64G08CBABBWP-12IT:B is installed in the TSOP48 socket.&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 11:43:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-EVK-and-NAND-Flash-compatibility/m-p/1277580#M174136</guid>
      <dc:creator>rausov</dc:creator>
      <dc:date>2021-05-17T11:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX 8M Mini EVK​ and NAND Flash compatibility</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-EVK-and-NAND-Flash-compatibility/m-p/1278059#M174184</link>
      <description>&lt;P&gt;I have double confirmed and you also see that the MLC nand is not supported in kernel and only support the SLC, so here you only can use the SLC nand, can not use the MLC nand.&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class="cm"&gt;Both UBI and UBIFS have been designed for SLC NAND and NOR flashes&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 07:58:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-EVK-and-NAND-Flash-compatibility/m-p/1278059#M174184</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2021-05-18T07:58:35Z</dc:date>
    </item>
  </channel>
</rss>

