<?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のトピックproblem in accessing rfs from /dev/mtdblock4</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/problem-in-accessing-rfs-from-dev-mtdblock4/m-p/203407#M11446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to mount my file system jffs2 from Nor flash (WEIM Bus) in linux 3.7-rc4.&lt;/P&gt;&lt;P&gt;I am able to access NOR flash from uboot and write the images at partitions mentioned in below log. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following command is used to build a jffs2 image.&lt;/P&gt;&lt;P&gt;mkfs.jffs2 -e 128 -l -n -r rootfs -v -o test.jffs2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File system fails to&amp;nbsp; boot after kernel has come up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the below error log.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.&lt;/P&gt;&lt;P&gt;fuse init (API version 7.20)&lt;/P&gt;&lt;P&gt;msgmni has been set to 3525&lt;/P&gt;&lt;P&gt;io scheduler noop registered&lt;/P&gt;&lt;P&gt;io scheduler deadline registered&lt;/P&gt;&lt;P&gt;io scheduler cfq registered (default)&lt;/P&gt;&lt;P&gt;imx-sdma 20ec000.sdma: initialized&lt;/P&gt;&lt;P&gt;Serial: IMX driver&lt;/P&gt;&lt;P&gt;21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX&lt;/P&gt;&lt;P&gt;console [ttymxc3] enabled&lt;/P&gt;&lt;P&gt;brd: module loaded&lt;/P&gt;&lt;P&gt;loop: module loaded&lt;/P&gt;&lt;P&gt;8000000.nor_flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002801&lt;/P&gt;&lt;P&gt;NOR chip too large to fit in mapping. Attempting to cope...&lt;/P&gt;&lt;P&gt;Amd/Fujitsu Extended Query Table at 0x0040&lt;/P&gt;&lt;P&gt;&amp;nbsp; Amd/Fujitsu Extended Query version 1.5.&lt;/P&gt;&lt;P&gt;number of CFI chips: 1&lt;/P&gt;&lt;P&gt;Reducing visibility of 131072KiB chip to 64512KiB&lt;/P&gt;&lt;P&gt;7 ofpart partitions found on MTD device 8000000.nor_flash&lt;/P&gt;&lt;P&gt;Creating 7 MTD partitions on "8000000.nor_flash":&lt;/P&gt;&lt;P&gt;0x000000000000-0x000000080000 : "bootloader"&lt;/P&gt;&lt;P&gt;0x000000080000-0x0000000a0000 : "environment"&lt;/P&gt;&lt;P&gt;0x0000000a0000-0x0000000c0000 : "redundant-environment"&lt;/P&gt;&lt;P&gt;0x0000000c0000-0x0000004c0000 : "kernel"&lt;/P&gt;&lt;P&gt;0x0000004c0000-0x000002cc0000 : "filesystem"&lt;/P&gt;&lt;P&gt;0x000002cc0000-0x000002ce0000 : "devicetree"&lt;/P&gt;&lt;P&gt;0x000002ce0000-0x0000036e0000 : "user_space"&lt;/P&gt;&lt;P&gt;mousedev: PS/2 mouse device common for all mice&lt;/P&gt;&lt;P&gt;i2c /dev entries driver&lt;/P&gt;&lt;P&gt;TCP: cubic registered&lt;/P&gt;&lt;P&gt;NET: Registered protocol family 17&lt;/P&gt;&lt;P&gt;NET: Registered protocol family 33&lt;/P&gt;&lt;P&gt;Key type rxrpc registered&lt;/P&gt;&lt;P&gt;Key type rxrpc_s registered&lt;/P&gt;&lt;P&gt;Key type dns_resolver registered&lt;/P&gt;&lt;P&gt;VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4&lt;/P&gt;&lt;P&gt;drivers/rtc/hctosys.c: unable to open rtc device (rtc0)&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Node at 0x00000000 {0x1985, 0xe001, 0x0000002b) has invalid CRC 0x7d266ce6 (calculated 0x7d266ee6)&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x002b instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x6ce6 instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x0001 instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x0002 instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x5192 instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x0403 instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x10a3 instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x81ff instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000028: 0x6962 instead&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 15:54:19 GMT</pubDate>
    <dc:creator>parthahazra</dc:creator>
    <dc:date>2012-12-11T15:54:19Z</dc:date>
    <item>
      <title>problem in accessing rfs from /dev/mtdblock4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-in-accessing-rfs-from-dev-mtdblock4/m-p/203407#M11446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to mount my file system jffs2 from Nor flash (WEIM Bus) in linux 3.7-rc4.&lt;/P&gt;&lt;P&gt;I am able to access NOR flash from uboot and write the images at partitions mentioned in below log. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following command is used to build a jffs2 image.&lt;/P&gt;&lt;P&gt;mkfs.jffs2 -e 128 -l -n -r rootfs -v -o test.jffs2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File system fails to&amp;nbsp; boot after kernel has come up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the below error log.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.&lt;/P&gt;&lt;P&gt;fuse init (API version 7.20)&lt;/P&gt;&lt;P&gt;msgmni has been set to 3525&lt;/P&gt;&lt;P&gt;io scheduler noop registered&lt;/P&gt;&lt;P&gt;io scheduler deadline registered&lt;/P&gt;&lt;P&gt;io scheduler cfq registered (default)&lt;/P&gt;&lt;P&gt;imx-sdma 20ec000.sdma: initialized&lt;/P&gt;&lt;P&gt;Serial: IMX driver&lt;/P&gt;&lt;P&gt;21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX&lt;/P&gt;&lt;P&gt;console [ttymxc3] enabled&lt;/P&gt;&lt;P&gt;brd: module loaded&lt;/P&gt;&lt;P&gt;loop: module loaded&lt;/P&gt;&lt;P&gt;8000000.nor_flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002801&lt;/P&gt;&lt;P&gt;NOR chip too large to fit in mapping. Attempting to cope...&lt;/P&gt;&lt;P&gt;Amd/Fujitsu Extended Query Table at 0x0040&lt;/P&gt;&lt;P&gt;&amp;nbsp; Amd/Fujitsu Extended Query version 1.5.&lt;/P&gt;&lt;P&gt;number of CFI chips: 1&lt;/P&gt;&lt;P&gt;Reducing visibility of 131072KiB chip to 64512KiB&lt;/P&gt;&lt;P&gt;7 ofpart partitions found on MTD device 8000000.nor_flash&lt;/P&gt;&lt;P&gt;Creating 7 MTD partitions on "8000000.nor_flash":&lt;/P&gt;&lt;P&gt;0x000000000000-0x000000080000 : "bootloader"&lt;/P&gt;&lt;P&gt;0x000000080000-0x0000000a0000 : "environment"&lt;/P&gt;&lt;P&gt;0x0000000a0000-0x0000000c0000 : "redundant-environment"&lt;/P&gt;&lt;P&gt;0x0000000c0000-0x0000004c0000 : "kernel"&lt;/P&gt;&lt;P&gt;0x0000004c0000-0x000002cc0000 : "filesystem"&lt;/P&gt;&lt;P&gt;0x000002cc0000-0x000002ce0000 : "devicetree"&lt;/P&gt;&lt;P&gt;0x000002ce0000-0x0000036e0000 : "user_space"&lt;/P&gt;&lt;P&gt;mousedev: PS/2 mouse device common for all mice&lt;/P&gt;&lt;P&gt;i2c /dev entries driver&lt;/P&gt;&lt;P&gt;TCP: cubic registered&lt;/P&gt;&lt;P&gt;NET: Registered protocol family 17&lt;/P&gt;&lt;P&gt;NET: Registered protocol family 33&lt;/P&gt;&lt;P&gt;Key type rxrpc registered&lt;/P&gt;&lt;P&gt;Key type rxrpc_s registered&lt;/P&gt;&lt;P&gt;Key type dns_resolver registered&lt;/P&gt;&lt;P&gt;VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4&lt;/P&gt;&lt;P&gt;drivers/rtc/hctosys.c: unable to open rtc device (rtc0)&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Node at 0x00000000 {0x1985, 0xe001, 0x0000002b) has invalid CRC 0x7d266ce6 (calculated 0x7d266ee6)&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x002b instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x6ce6 instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x0001 instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x0002 instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x5192 instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x0403 instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x10a3 instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x81ff instead&lt;/P&gt;&lt;P&gt;jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000028: 0x6962 instead&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 15:54:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-in-accessing-rfs-from-dev-mtdblock4/m-p/203407#M11446</guid>
      <dc:creator>parthahazra</dc:creator>
      <dc:date>2012-12-11T15:54:19Z</dc:date>
    </item>
  </channel>
</rss>

