<?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: How to partition QSPI memory on iMX6UL-EVK ? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974360#M145023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; According to section 4.6.5 (QuadSPI flash memory map) of "i.MX_Linux_User's_Guide.pdf" in documentation&lt;/P&gt;&lt;P&gt;package of L4.14.98_2.0.0:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QuadSPI flash memory can be configured using the Linux kernel command line.&lt;BR /&gt;U-Boot is loaded at the beginning of the QuadSPI memory so that the device can boot from it. The default configuration is&lt;BR /&gt;that on boot up, U-Boot loads the kernel, DTB, and root file system from the SD/MMC card into DDRAM. The end user can&lt;BR /&gt;change the default settings according to their requirements. More partitions can be added through the kernel command line.&lt;BR /&gt;The following is an example of what might be added to the Linux boot command line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mtdparts=21e4000.qspi:1m(uboot),8m(kernel),1m(dtb),-(user)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Aug 2019 16:48:25 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2019-08-27T16:48:25Z</dc:date>
    <item>
      <title>How to partition QSPI memory on iMX6UL-EVK ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974359#M145022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; My name is Toan. Currently, I am using iMX6UL-EVK with imx-yocto-L4.14.98_2.0.0_ga distro and mfgtools to flash. I'm trying to flash U-boot, kernel, zImage and device tree into QSPI. But as I know that, each of 4 parts need a individual partition. But I can see only /dev/mtd0 with size 32Mb. And I wanna devide it to 4 partitions is mtd0, mtd1, mtd2 and mtd3 to flash on it. I trying search but i can not find out something.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Someone can guide me step in step ?&lt;BR /&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Toan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2019 09:20:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974359#M145022</guid>
      <dc:creator>toanjunifer</dc:creator>
      <dc:date>2019-08-27T09:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to partition QSPI memory on iMX6UL-EVK ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974360#M145023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; According to section 4.6.5 (QuadSPI flash memory map) of "i.MX_Linux_User's_Guide.pdf" in documentation&lt;/P&gt;&lt;P&gt;package of L4.14.98_2.0.0:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QuadSPI flash memory can be configured using the Linux kernel command line.&lt;BR /&gt;U-Boot is loaded at the beginning of the QuadSPI memory so that the device can boot from it. The default configuration is&lt;BR /&gt;that on boot up, U-Boot loads the kernel, DTB, and root file system from the SD/MMC card into DDRAM. The end user can&lt;BR /&gt;change the default settings according to their requirements. More partitions can be added through the kernel command line.&lt;BR /&gt;The following is an example of what might be added to the Linux boot command line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mtdparts=21e4000.qspi:1m(uboot),8m(kernel),1m(dtb),-(user)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2019 16:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974360#M145023</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-08-27T16:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to partition QSPI memory on iMX6UL-EVK ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974361#M145024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @YuriMuhin,&lt;/P&gt;&lt;P&gt;Thank you for quick reply. I try to type this command with small modify to compatible with my device. When boot device i stop at autoboot and type command:&amp;nbsp;&lt;/P&gt;&lt;P&gt;$&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;mtdparts=21e0000.qspi:1m(uboot),14m(kernel),1m(dtb),-(user)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It's show no error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Sep 16 2016 - 18:36:22 -0500)&lt;/P&gt;&lt;P&gt;CPU: Freescale i.MX6UL rev1.1 528 MHz (running at 396 MHz)&lt;BR /&gt;CPU: Industrial temperature grade (-40C to 105C) at 33C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Board: MX6UL 14x14 EVK&lt;BR /&gt;I2C: ready&lt;BR /&gt;DRAM: 512 MiB&lt;BR /&gt;MMC: FSL_SDHC: 0, FSL_SDHC: 1&lt;BR /&gt;SF: Detected N25Q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB&lt;BR /&gt;*** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P&gt;Display: TFT43AB (480x272)&lt;BR /&gt;Video: 480x272x24&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;Net: FEC1&lt;BR /&gt;Normal Boot&lt;BR /&gt;Hit any key to stop autoboot: 0&lt;BR /&gt;=&amp;gt; mtdparts=21e0000.qspi:1m(uboot),14m(kernel),1m(dtb),-(user)&lt;BR /&gt;=&amp;gt; saveenv&lt;BR /&gt;Saving Environment to SPI Flash...&lt;BR /&gt;SF: Detected N25Q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB&lt;BR /&gt;Erasing SPI flash...Writing to SPI flash...done&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But when I check with:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$ cat /proc/mtd&lt;/P&gt;&lt;P&gt;I get:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;root@imx6ulevk:~# cat /proc/mtd&lt;BR /&gt;dev: size erasesize name&lt;BR /&gt;mtd0: 02000000 00010000 "21e0000.qspi"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I seem no effect or I did wrong way ?&lt;/P&gt;&lt;P&gt;Thank you so much,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Toan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 02:03:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974361#M145024</guid>
      <dc:creator>toanjunifer</dc:creator>
      <dc:date>2019-08-28T02:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to partition QSPI memory on iMX6UL-EVK ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974362#M145025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Check environment regarding Linux boot command line, using U-boot command printenv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 03:59:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974362#M145025</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-08-28T03:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to partition QSPI memory on iMX6UL-EVK ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974363#M145026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After run printenv, I got this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;baudrate=115200&lt;BR /&gt;board_name=EVK&lt;BR /&gt;board_rev=14X14&lt;BR /&gt;boot_fdt=try&lt;BR /&gt;bootcmd=run findfdt;mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi&lt;BR /&gt;bootcmd_mfg=run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};&lt;BR /&gt;bootdelay=3&lt;BR /&gt;bootscript=echo Running bootscript from mmc ...; source&lt;BR /&gt;console=ttymxc0&lt;BR /&gt;ethact=FEC1&lt;BR /&gt;ethaddr=00:04:9f:04:d3:8d&lt;BR /&gt;ethprime=FEC&lt;BR /&gt;fdt_addr=0x83000000&lt;BR /&gt;fdt_file=undefined&lt;BR /&gt;fdt_high=0xffffffff&lt;BR /&gt;findfdt=if test $fdt_file = undefined; then if test $board_name = EVK &amp;amp;&amp;amp; test $board_rev = 9X9; then setenv fdt_file imx6ul-9x9-evk.dtb; fi; if test $board_name = EVK &amp;amp;&amp;amp; test $board_rev = 14X14; then setenv fdt_file imx6ul-14x14-evk.dtb; fi; if test $fdt_file = undefined; then echo WARNING: Could not determine dtb to use; fi; fi;&lt;BR /&gt;image=zImage&lt;BR /&gt;initrd_addr=0x83800000&lt;BR /&gt;initrd_high=0xffffffff&lt;BR /&gt;ip_dyn=yes&lt;BR /&gt;loadaddr=0x80800000&lt;BR /&gt;loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};&lt;BR /&gt;loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}&lt;BR /&gt;loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}&lt;BR /&gt;mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.file=/fat g_mass_storage.ro=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber="" clk_ignore_unused&lt;BR /&gt;mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot}&lt;BR /&gt;mmcautodetect=yes&lt;BR /&gt;mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;&lt;BR /&gt;mmcdev=1&lt;BR /&gt;mmcpart=1&lt;BR /&gt;mmcroot=/dev/mmcblk1p2 rootwait rw&lt;BR /&gt;netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp&lt;BR /&gt;netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;&lt;BR /&gt;panel=TFT43AB&lt;BR /&gt;script=boot.scr&lt;/P&gt;&lt;P&gt;Environment size: 2457/8188 byte&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No mtdparts found ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 05:04:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974363#M145026</guid>
      <dc:creator>toanjunifer</dc:creator>
      <dc:date>2019-08-28T05:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to partition QSPI memory on iMX6UL-EVK ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974364#M145027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;setenv bootargs 'console=${console},${baudrate} root=${mmcroot} mtdparts=21e4000.qspi:1m(uboot),8m(kernel),1m(dtb),-(user)'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.denx.de/wiki/view/DULG/UBootCmdGroupFlash#Section_5.9.3.5" title="http://www.denx.de/wiki/view/DULG/UBootCmdGroupFlash#Section_5.9.3.5"&gt;UBootCmdGroupFlash &amp;lt; DULG &amp;lt; DENX&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2019 07:54:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-partition-QSPI-memory-on-iMX6UL-EVK/m-p/974364#M145027</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-09-02T07:54:10Z</dc:date>
    </item>
  </channel>
</rss>

