<?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>PowerQUICC Processors中的主题 Re: T2080 MTD Partition</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/T2080-MTD-Partition/m-p/1236365#M3571</link>
    <description>&lt;P&gt;I have received the following output;&lt;/P&gt;&lt;P&gt;=&amp;gt; ubi part fs&lt;BR /&gt;Unknown command 'ubi' - try 'help'&lt;BR /&gt;=&amp;gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Feb 2021 06:37:18 GMT</pubDate>
    <dc:creator>emras</dc:creator>
    <dc:date>2021-02-25T06:37:18Z</dc:date>
    <item>
      <title>T2080 MTD Partition</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/T2080-MTD-Partition/m-p/1235769#M3568</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have done following for mtd partition in uboot,&lt;/P&gt;&lt;P&gt;=&amp;gt; pri mtdids&lt;BR /&gt;mtdids=nor0=fe8000000.nor,nand0=fff800000.flash,spi0=spife110000.1&lt;BR /&gt;=&amp;gt; mtdparts&lt;BR /&gt;incorrect device type in spi0=spife110000.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in LINUX&lt;/P&gt;&lt;P&gt;root@t2080rdb:/# mtdinfo /dev/mtd0&lt;BR /&gt;mtd0&lt;BR /&gt;Name: fe8000000.nor&lt;BR /&gt;Type: nor&lt;BR /&gt;Eraseblock size: 131072 bytes, 128.0 KiB&lt;BR /&gt;Amount of eraseblocks: 1024 (134217728 bytes, 128.0 MiB)&lt;BR /&gt;Minimum input/output unit size: 1 byte&lt;BR /&gt;Sub-page size: 1 byte&lt;BR /&gt;Additional erase regions: 0&lt;BR /&gt;Character device major/minor: 90:0&lt;BR /&gt;Bad blocks are allowed: false&lt;BR /&gt;Device is writable: true&lt;BR /&gt;Eraseblock region 0: offset: 0 size: 0x20000 numblocks: 0x400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in T208xRDB.h&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* Dynamic MTD Partition support with mtdparts&lt;BR /&gt;*/&lt;BR /&gt;#ifndef CONFIG_SYS_NO_FLASH&lt;BR /&gt;#define CONFIG_MTD_DEVICE&lt;BR /&gt;#define CONFIG_MTD_PARTITIONS&lt;BR /&gt;#define CONFIG_CMD_MTDPARTS&lt;BR /&gt;#define CONFIG_FLASH_CFI_MTD&lt;BR /&gt;#define MTDIDS_DEFAULT "nor0=fe8000000.nor,nand0=fff800000.flash," \&lt;BR /&gt;"spi0=spife110000.1"&lt;BR /&gt;#define MTDPARTS_DEFAULT "mtdparts=fe8000000.nor:1m(uboot),10m(kernel)," \&lt;BR /&gt;"128k(dtb),100m(fs),-(user);fff800000.flash:1m(uboot)," \&lt;BR /&gt;"10m(kernel),128k(dtb),100m(fs),-(user);spife110000.1:" \&lt;BR /&gt;"1m(uboot),10m(kernel),128k(dtb),-(user)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=&amp;gt; setenv mtdids nor0=fe8000000.nor&lt;BR /&gt;=&amp;gt; setenv mtdparts mtdparts=fe8000000.nor:1m(uboot),10m(kernel),128k(dtb),100m(fs),-(user)&lt;BR /&gt;=&amp;gt; mtdparts&lt;/P&gt;&lt;P&gt;device nor0 &amp;lt;fe8000000.nor&amp;gt;, # parts = 5&lt;BR /&gt;#: name size offset mask_flags&lt;BR /&gt;0: uboot 0x00100000 0x00000000 0&lt;BR /&gt;1: kernel 0x00a00000 0x00100000 0&lt;BR /&gt;2: dtb 0x00020000 0x00b00000 0&lt;BR /&gt;3: fs 0x06400000 0x00b20000 0&lt;BR /&gt;4: user 0x010e0000 0x06f20000 0&lt;/P&gt;&lt;P&gt;active partition: nor0,0 - (uboot) 0x00100000 @ 0x00000000&lt;/P&gt;&lt;P&gt;defaults:&lt;BR /&gt;mtdids : nor0=fe8000000.nor,nand0=fff800000.flash,spi0=spife110000.1&lt;BR /&gt;mtdparts: mtdparts=fe8000000.nor:1m(uboot),5m(kernel),128k(dtb),96m(fs),-(user);fff800000.flash:1m(uboot),5m(kernel),128k(dtb),96m(fs),-(user);spife110000.1:1m(uboot),5m(kernel),128k(dtb),-(user)&lt;BR /&gt;=&amp;gt;&lt;/P&gt;&lt;P&gt;AS mantioned in&amp;nbsp;&lt;SPAN&gt;Chapter 7.8.2 of NXP SDK 2.0-1703 documentation, I cannot see the following output,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;fe8000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002801 Amd/Fujitsu Extended Query Table at 0x0040 Amd/Fujitsu Extended Query version 1.5. number of CFI chips: 1 5 cmdlinepart partitions found on MTD device fe8000000.nor Creating 5 MTD partitions on "fe8000000.nor": 0x000000000000-0x000000100000 : "uboot" 0x000000100000-0x000000900000 : "kernel" 0x000000900000-0x000000980000 : "dtb" 0x000000980000-0x000001480000 : "jffs2" 0x000001480000-0x000008000000 : "fs"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you support me ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What can I do for MTD partition?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After that my output is like that..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;root@t2080rdb:~# cat /proc/mtd&lt;BR /&gt;dev: size erasesize name&lt;BR /&gt;mtd0: 08000000 00020000 "fe8000000.nor"&lt;BR /&gt;mtd1: 20000000 00020000 "fff800000.flash"&lt;BR /&gt;mtd2: 04000000 00010000 "spi32766.0"&lt;BR /&gt;root@t2080rdb:~#&lt;BR /&gt;root@t2080rdb:~#&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also I have done following things;&lt;/P&gt;&lt;P&gt;setenv bootargs root=/dev/mtdblockx rootfstype=jffs2 rw console=ttyS0,115200&lt;/P&gt;&lt;P&gt;=&amp;gt; tftp 1000000 $nor_jffs2_fs&lt;BR /&gt;=&amp;gt; erase $nor_jffs_start_address $nor_jffs_end_address /* erase address and size is decided by&lt;BR /&gt;your partition setting */&lt;BR /&gt;=&amp;gt; cp.b 1000000 $nor_jffs_start_address $filesize /* flash JFFS2 FS to the jffs2 partition on NOR&lt;BR /&gt;device */&lt;BR /&gt;The nor_jffs_start_address and nor_jffs_end_addresscan get from (board)_Quick_Strat_Guide or&lt;BR /&gt;(board)_user_manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;=&amp;gt; boot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I have tried following ;&lt;/P&gt;&lt;P&gt;setenv bootargs root=/dev/mtdblock3 rootfstype=jffs2 rw console=ttyS0,115200&lt;/P&gt;&lt;P&gt;tftp 1000000 uImage&lt;/P&gt;&lt;P&gt;tftp c00000 dtb&lt;/P&gt;&lt;P&gt;bootm 1000000 - c00000&lt;/P&gt;&lt;P&gt;it does not work for me,&lt;/P&gt;&lt;P&gt;Thank you for your consideration and time.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 13:39:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/T2080-MTD-Partition/m-p/1235769#M3568</guid>
      <dc:creator>emras</dc:creator>
      <dc:date>2021-02-24T13:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: T2080 MTD Partition</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/T2080-MTD-Partition/m-p/1236365#M3571</link>
      <description>&lt;P&gt;I have received the following output;&lt;/P&gt;&lt;P&gt;=&amp;gt; ubi part fs&lt;BR /&gt;Unknown command 'ubi' - try 'help'&lt;BR /&gt;=&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 06:37:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/T2080-MTD-Partition/m-p/1236365#M3571</guid>
      <dc:creator>emras</dc:creator>
      <dc:date>2021-02-25T06:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: T2080 MTD Partition</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/T2080-MTD-Partition/m-p/1236449#M3572</link>
      <description>&lt;P&gt;Please refer to the following process.&lt;/P&gt;
&lt;P&gt;=&amp;gt;setenv bootargs "root=/dev/ram rw console=ttyS0,115200 mtdparts=fe8000000.nor:1m(uboot),10m(kernel),128k(dtb),100m(fs),-(user)"&lt;/P&gt;
&lt;P&gt;=&amp;gt;tftp 0x10000000 nxa22585/t2080/uImage&lt;/P&gt;
&lt;P&gt;=&amp;gt;tftp 0x20000000 nxa22585/t2080/fsl-image-core-t2080rdb.ext2.gz.u-boot&lt;/P&gt;
&lt;P&gt;=&amp;gt;tftp 0xe00000 nxa22585/t2080/uImage-t2080rdb.dtb&lt;/P&gt;
&lt;P&gt;=&amp;gt; bootm 0x10000000 0x20000000 0xe00000&lt;/P&gt;
&lt;P&gt;root@t2080rdb:~# cat /proc/mtd&lt;BR /&gt;dev: size erasesize name&lt;BR /&gt;mtd0: 00100000 00020000 "uboot"&lt;BR /&gt;mtd1: 00a00000 00020000 "kernel"&lt;BR /&gt;mtd2: 00020000 00020000 "dtb"&lt;BR /&gt;mtd3: 06400000 00020000 "fs"&lt;BR /&gt;mtd4: 010e0000 00020000 "user"&lt;BR /&gt;mtd5: 20000000 00020000 "fff800000.flash"&lt;BR /&gt;mtd6: 04000000 00010000 "spi32766.0"&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 08:28:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/T2080-MTD-Partition/m-p/1236449#M3572</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-02-25T08:28:33Z</dc:date>
    </item>
  </channel>
</rss>

