<?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: Problem booting and mounting a jffs2 partition in QorIQ</title>
    <link>https://community.nxp.com/t5/QorIQ/Problem-booting-and-mounting-a-jffs2-partition/m-p/738803#M5962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Test your system if "roodelay=10" is used in your bootargs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Dec 2017 05:03:46 GMT</pubDate>
    <dc:creator>Pavel</dc:creator>
    <dc:date>2017-12-29T05:03:46Z</dc:date>
    <item>
      <title>Problem booting and mounting a jffs2 partition</title>
      <link>https://community.nxp.com/t5/QorIQ/Problem-booting-and-mounting-a-jffs2-partition/m-p/738802#M5961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently working on a ls1043ardb board, trying to flash and boot a jffs2 filesystem mounted on&amp;nbsp;nand. Everything works fine if my filesystem is stored on a scard using ext2 (even if bootloader+kernel resides on nand). But if I try to mount a jffs2 partition on nand I have a kernel panic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My bootcmd and bootarg:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;bootcmd=nboot 82000000 0 180000; bootm&lt;/P&gt;&lt;P&gt;bootargs=root=/dev/mtdblock3 rootfstype=jffs2 rw earlycon=uart8250,0x21c0500 console=ttyS0,115200 rootdelay=1 mem=400M mtdparts=7e800000.flash:0x160000(nand_uboot),0x20000(nand_fman),0x680000(nand_kernel),400m(nand_fs)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Here is the kernel boot log:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;4.172652] VFS: Cannot open root device "mtdblock3" or unknown-block(31,3): error -19&lt;BR /&gt;[ 4.180555] Please append a correct "root=" boot option; here are the available partitions:&lt;BR /&gt;[ 4.188905] 0100 262144 ram0 (driver?)&lt;BR /&gt;[ 4.193521] 0101 262144 ram1 (driver?)&lt;BR /&gt;[ 4.198129] 0102 262144 ram2 (driver?)&lt;BR /&gt;[ 4.202742] 0103 262144 ram3 (driver?)&lt;BR /&gt;[ 4.207351] 0104 262144 ram4 (driver?)&lt;BR /&gt;[ 4.211959] 0105 262144 ram5 (driver?)&lt;BR /&gt;[ 4.216572] 0106 262144 ram6 (driver?)&lt;BR /&gt;[ 4.221180] 0107 262144 ram7 (driver?)&lt;BR /&gt;[ 4.225793] 0108 262144 ram8 (driver?)&lt;BR /&gt;[ 4.230401] 0109 262144 ram9 (driver?)&lt;BR /&gt;[ 4.235014] 010a 262144 ram10 (driver?)&lt;BR /&gt;[ 4.239710] 010b 262144 ram11 (driver?)&lt;BR /&gt;[ 4.244410] 010c 262144 ram12 (driver?)&lt;BR /&gt;[ 4.249104] 010d 262144 ram13 (driver?)&lt;BR /&gt;[ 4.253803] 010e 262144 ram14 (driver?)&lt;BR /&gt;[ 4.258499] 010f 262144 ram15 (driver?)&lt;BR /&gt;[ 4.263201] 1f00 1408 mtdblock0 (driver?)&lt;BR /&gt;[ 4.268243] 1f01 128 mtdblock1 (driver?)&lt;BR /&gt;[ 4.273290] 1f02 6656 mtdblock2 (driver?)&lt;BR /&gt;[ 4.278332] 1f03 409600 mtdblock3 (driver?)&lt;BR /&gt;[ 4.283379] 1f04 16384 mtdblock4 (driver?)&lt;BR /&gt;[ 4.288423] b300 7782400 mmcblk0 driver: mmcblk&lt;BR /&gt;[ 4.293730] b301 7781376 mmcblk0p1 000a89a0-01&lt;BR /&gt;[ 4.299031] VFS: Unable to mount root fs on unknown-block(31,3)&lt;BR /&gt;[ 4.304944] User configuration error - no valid root filesystem found&lt;BR /&gt;[ 4.311373] Kernel panic - not syncing: Invalid configuration from end user prevents continuing&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the instructions available on QorIQ SDK 2.0 Documentation for mounting a jffs2 filesystem on nand (section 8.8.2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An interesting point is: on a scenario where an ext2 partition is mounted on sdcard, there is no jffs2 "type" option when I try to mount a partition on mtdblock3. Probably, there is no driver available for jffs2 (modprobe jffs2 does not work either).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already tried to use different recipes to compile (mfg,core,full) but none of them had the jffs2 driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hints about what could be happening here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 10:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Problem-booting-and-mounting-a-jffs2-partition/m-p/738802#M5961</guid>
      <dc:creator>igorsoaresnunes</dc:creator>
      <dc:date>2017-12-21T10:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem booting and mounting a jffs2 partition</title>
      <link>https://community.nxp.com/t5/QorIQ/Problem-booting-and-mounting-a-jffs2-partition/m-p/738803#M5962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Test your system if "roodelay=10" is used in your bootargs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 05:03:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Problem-booting-and-mounting-a-jffs2-partition/m-p/738803#M5962</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-12-29T05:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem booting and mounting a jffs2 partition</title>
      <link>https://community.nxp.com/t5/QorIQ/Problem-booting-and-mounting-a-jffs2-partition/m-p/738804#M5963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I incremented the rootdelay value to 10, but I still can't mount jffs2 on nand boot. I wonder if this issue is related to the kernel/fs compilation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Igor Nunes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 18:15:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Problem-booting-and-mounting-a-jffs2-partition/m-p/738804#M5963</guid>
      <dc:creator>igorsoaresnunes</dc:creator>
      <dc:date>2018-01-08T18:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem booting and mounting a jffs2 partition</title>
      <link>https://community.nxp.com/t5/QorIQ/Problem-booting-and-mounting-a-jffs2-partition/m-p/738805#M5964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I suspected, the kernel/fs is being compiled without jffs2 support. If I boot the board on a sdcard (using ext2)&amp;nbsp; and "cat" the "config.gz" file to check if any JFFS2 variable was set during menuconfig, no JFFS2 mention can be seen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;root@ls1043ardb:~# cat /proc/config.gz | gunzip &amp;gt; kernel.config&lt;BR /&gt;root@ls1043ardb:~# cat kernel.config | grep -i JFFS2&lt;BR /&gt;root@ls1043ardb:~# &lt;/BLOCKQUOTE&gt;&lt;P&gt;Probably, the same config file&amp;nbsp; (or similar) is being used for a jffs2 image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hint about how can I modify the meta-freescale recipes to add support for jffs2 kernel module? Or edit the menuconfig file (which? and how? ) to generate a jffs2 kernel module to be loaded?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Igor Nunes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 19:04:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Problem-booting-and-mounting-a-jffs2-partition/m-p/738805#M5964</guid>
      <dc:creator>igorsoaresnunes</dc:creator>
      <dc:date>2018-01-09T19:04:41Z</dc:date>
    </item>
  </channel>
</rss>

