<?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: ls1046 ubifs ..? in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1046-ubifs/m-p/1444425#M10394</link>
    <description>&lt;P&gt;Please refer to the following procedure to make ubifs.&lt;/P&gt;
&lt;P&gt;root@localhost:~# zcat /proc/config.gz | grep CONFIG_MTD_UBI=y&lt;/P&gt;
&lt;P&gt;CONFIG_MTD_UBI=y&lt;/P&gt;
&lt;P&gt;root@localhost:~# flash_erase&amp;nbsp; /dev/mtd2 0 0&lt;/P&gt;
&lt;P&gt;root@localhost:~# ubiattach /dev/ubi_ctrl -m 2&lt;/P&gt;
&lt;P&gt;UBI device number 0, total 1788 LEBs (454066176 bytes, 433.0 MiB), available 1748 LEBs (443908096 bytes, 423.3 MiB), LEB size 253952 bytes (248.0 KiB)&lt;/P&gt;
&lt;P&gt;root@localhost:~# cat /sys/class/ubi/ubi0/max_vol_count&lt;/P&gt;
&lt;P&gt;128&lt;/P&gt;
&lt;P&gt;root@localhost:~# ubimkvol /dev/ubi0 -N ubi_rootfs -S 128&lt;/P&gt;
&lt;P&gt;Volume ID 0, size 128 LEBs (32505856 bytes, 31.0 MiB), LEB size 253952 bytes (248.0 KiB), dynamic, name "ubi_rootfs", alignment 1&lt;/P&gt;
&lt;P&gt;root@localhost:~# mkdir -p mnt;mount -t ubifs ubi0_0 mnt&lt;/P&gt;
&lt;P&gt;root@localhost:~# umount -l ubi0_0&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2022 06:15:45 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2022-04-15T06:15:45Z</dc:date>
    <item>
      <title>ls1046 ubifs ..?</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1046-ubifs/m-p/1444051#M10388</link>
      <description>&lt;P&gt;&lt;SPAN&gt;nand_rootfs : how ls1046a make ubifs&amp;nbsp; ..?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cat /proc/mtd&lt;BR /&gt;dev: size erasesize name&lt;BR /&gt;mtd0: 01000000 00020000 "nand_dtb"&lt;BR /&gt;mtd1: 03000000 00020000 "nand_kernel"&lt;BR /&gt;mtd2: 0c000000 00020000 "nand_rootfs"&lt;BR /&gt;mtd3: 04000000 00040000 "1550000.spi"&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 09:31:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1046-ubifs/m-p/1444051#M10388</guid>
      <dc:creator>hongyuanz</dc:creator>
      <dc:date>2022-04-14T09:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: ls1046 ubifs ..?</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1046-ubifs/m-p/1444425#M10394</link>
      <description>&lt;P&gt;Please refer to the following procedure to make ubifs.&lt;/P&gt;
&lt;P&gt;root@localhost:~# zcat /proc/config.gz | grep CONFIG_MTD_UBI=y&lt;/P&gt;
&lt;P&gt;CONFIG_MTD_UBI=y&lt;/P&gt;
&lt;P&gt;root@localhost:~# flash_erase&amp;nbsp; /dev/mtd2 0 0&lt;/P&gt;
&lt;P&gt;root@localhost:~# ubiattach /dev/ubi_ctrl -m 2&lt;/P&gt;
&lt;P&gt;UBI device number 0, total 1788 LEBs (454066176 bytes, 433.0 MiB), available 1748 LEBs (443908096 bytes, 423.3 MiB), LEB size 253952 bytes (248.0 KiB)&lt;/P&gt;
&lt;P&gt;root@localhost:~# cat /sys/class/ubi/ubi0/max_vol_count&lt;/P&gt;
&lt;P&gt;128&lt;/P&gt;
&lt;P&gt;root@localhost:~# ubimkvol /dev/ubi0 -N ubi_rootfs -S 128&lt;/P&gt;
&lt;P&gt;Volume ID 0, size 128 LEBs (32505856 bytes, 31.0 MiB), LEB size 253952 bytes (248.0 KiB), dynamic, name "ubi_rootfs", alignment 1&lt;/P&gt;
&lt;P&gt;root@localhost:~# mkdir -p mnt;mount -t ubifs ubi0_0 mnt&lt;/P&gt;
&lt;P&gt;root@localhost:~# umount -l ubi0_0&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 06:15:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1046-ubifs/m-p/1444425#M10394</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-04-15T06:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: ls1046 ubifs ..?</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1046-ubifs/m-p/1444449#M10395</link>
      <description>&lt;P&gt;root@localhost:~# zcat /proc/config.gz | grep CONFIG_MTD_UBI=y&lt;BR /&gt;CONFIG_MTD_UBI=y&lt;BR /&gt;root@localhost:~# flash_erase /dev/mtd2 0 0&lt;BR /&gt;Erasing 128 Kibyte @ bf60000 -- 99 % complete flash_erase: Skipping bad block at 0bf80000&lt;BR /&gt;flash_erase: Skipping bad block at 0bfa0000&lt;BR /&gt;flash_erase: Skipping bad block at 0bfc0000&lt;BR /&gt;flash_erase: Skipping bad block at 0bfe0000&lt;BR /&gt;Erasing 128 Kibyte @ bfe0000 -- 100 % complete&lt;BR /&gt;root@localhost:~# ubiattach /dev/ubi_ctrl -m 2&lt;BR /&gt;UBI device number 0, total 1532 LEBs (194527232 bytes, 185.5 MiB), available 1492 LEBs (189448192 bytes, 180.6 MiB), LEB size 126976 bytes (124.0 KiB)&lt;BR /&gt;root@localhost:~# cat /sys/class/ubi/ubi0/max_vol_count&lt;BR /&gt;128&lt;BR /&gt;root@localhost:~#&lt;BR /&gt;root@localhost:~#&lt;BR /&gt;root@localhost:~#&lt;BR /&gt;root@localhost:~#&lt;BR /&gt;root@localhost:~#&lt;BR /&gt;root@localhost:~#&lt;BR /&gt;root@localhost:~# ubimkvol /dev/ubi0 -N ubi_rootfs -S 128&lt;BR /&gt;Volume ID 0, size 128 LEBs (16252928 bytes, 15.5 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "ubi_rootfs", alignment 1&lt;BR /&gt;root@localhost:~# mkdir -p mnt;mount -t ubifs ubi0_0 mnt&lt;BR /&gt;[ 3108.109353] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 4096 bytes from PEB 516:4096, read 4096 bytes&lt;BR /&gt;[ 3108.120214] UBIFS error (ubi0:0 pid 978): ubifs_check_node: bad CRC: calculated 0x8503ef89, read 0x112892cd&lt;BR /&gt;[ 3108.129985] UBIFS error (ubi0:0 pid 978): ubifs_check_node: bad node at LEB 0:0&lt;BR /&gt;[ 3108.137310] magic 0x6101831&lt;BR /&gt;[ 3108.140981] crc 0x112892cd&lt;BR /&gt;[ 3108.144739] node_type 6 (superblock node)&lt;BR /&gt;[ 3108.149276] group_type 0 (no node group)&lt;BR /&gt;[ 3108.153638] sqnum 2&lt;BR /&gt;[ 3108.156608] len 4096&lt;BR /&gt;[ 3108.159842] key_hash 0 (R5)&lt;BR /&gt;[ 3108.163248] key_fmt 0 (simple)&lt;BR /&gt;[ 3108.167001] flags 0x8&lt;BR /&gt;[ 3108.170136] big_lpt 0&lt;BR /&gt;[ 3108.173108] space_fixup 0&lt;BR /&gt;[ 3108.176078] min_io_size 2048&lt;BR /&gt;[ 3108.179311] leb_size 126976&lt;BR /&gt;[ 3108.182717] leb_cnt 128&lt;BR /&gt;[ 3108.185852] max_leb_cnt 128&lt;BR /&gt;[ 3108.188998] max_bud_bytes 380928&lt;BR /&gt;[ 3108.192404] log_lebs 3&lt;BR /&gt;[ 3108.195378] lpt_lebs 2&lt;BR /&gt;[ 3108.198340] orph_lebs 2&lt;BR /&gt;[ 3108.201312] jhead_cnt 1&lt;BR /&gt;[ 3108.204283] fanout 8&lt;BR /&gt;[ 3108.207254] lsave_cnt 256&lt;BR /&gt;[ 3108.210389] default_compr 1&lt;BR /&gt;[ 3108.213361] rp_size 749158&lt;BR /&gt;[ 3108.216766] rp_uid 0&lt;BR /&gt;[ 3108.219736] rp_gid 0&lt;BR /&gt;[ 3108.222713] fmt_version 5&lt;BR /&gt;[ 3108.225673] time_gran 1000000000&lt;BR /&gt;[ 3108.229429] UUID 671F0FA3-D259-4766-9B58-A97394DE129C&lt;BR /&gt;[ 3108.235537] UBIFS error (ubi0:0 pid 978): ubifs_read_node: expected node type 6&lt;BR /&gt;mount: /root/mnt: mount(2) system call failed: Structure needs cleaning.&lt;BR /&gt;root@localhost:~#&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 07:11:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1046-ubifs/m-p/1444449#M10395</guid>
      <dc:creator>hongyuanz</dc:creator>
      <dc:date>2022-04-15T07:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: ls1046 ubifs ..?</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1046-ubifs/m-p/1451189#M10486</link>
      <description>&lt;P&gt;I verified the above procedure, there is no problem on LS1046ARDB.&lt;/P&gt;
&lt;P&gt;Please check configuration/hardware problem on your target board.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 08:53:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1046-ubifs/m-p/1451189#M10486</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-04-29T08:53:37Z</dc:date>
    </item>
  </channel>
</rss>

