<div dir="ltr">FreeBSD doesn't have a flash filesystem that I know of, so at one point I looked into porting CHFS over:<div><br></div><div><a href="http://chewiefs.sed.hu/">http://chewiefs.sed.hu/</a><br></div><div><br></div><div>I'm not sure if it still lacks NOR support. FreeBSD, however, doesn't have flash drivers to support a file system yet. The support it currently has isn't viable as the error correction code is too rudimentary.</div><div><br></div><div>Russ</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 24, 2017 at 9:01 AM, Russell Haley <span dir="ltr"><<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Oct 23, 2017 at 11:42 AM, Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Mon, Oct 23, 2017 at 10:37 AM, Russell Haley <span dir="ltr"><<a href="mailto:russ.haley@gmail.com" target="_blank">russ.haley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="en-US" style="background-color:rgb(255,255,255);line-height:initial">                                                                                      <div style="width:100%;font-size:initial;font-family:Calibri,"Slate Pro",sans-serif,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">Hi,</div><div style="width:100%;font-size:initial;font-family:Calibri,"Slate Pro",sans-serif,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><br></div><div style="width:100%;font-size:initial;font-family:Calibri,"Slate Pro",sans-serif,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">Just wanted to ask about licensing. ‎Jffs2 is expressly GPL code. My understanding means that the entirety of your work now becomes GPL licensed because everything is statically linked together in RTEMS. Is this understanding incorrect?</div></div></blockquote><div><br></div></span><div>It is GPLv2 with a linking exception like the GCC language run-times used to use. See </div><div><br></div><div><a href="https://github.com/atgreen/RTEMS/blob/master/LICENSE.JFFS2" target="_blank">https://github.com/atgreen/RTE<wbr>MS/blob/master/LICENSE.JFFS2</a><br></div><div><br></div><div>and read the last two paragraphs.</div><span class="m_5821428281623637690HOEnZb"><font color="#888888"><div><br></div><div>--joel</div></font></span><div><div class="m_5821428281623637690h5"><div> </div></div></div></div></div></div></blockquote></span><div>Thanks Joel!</div><div><br></div><div>Russ </div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="m_5821428281623637690h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="en-US" style="background-color:rgb(255,255,255);line-height:initial"><div style="width:100%;font-size:initial;font-family:Calibri,"Slate Pro",sans-serif,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><br></div><div style="width:100%;font-size:initial;font-family:Calibri,"Slate Pro",sans-serif,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">Thanks,</div><div style="width:100%;font-size:initial;font-family:Calibri,"Slate Pro",sans-serif,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">Russ</div>                                                                                                                                     <div style="width:100%;font-size:initial;font-family:Calibri,"Slate Pro",sans-serif,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><br style="display:initial"></div>                                                                                                                                                                                                   <div style="font-size:initial;font-family:Calibri,"Slate Pro",sans-serif,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">Sent from my BlackBerry 10 sma<wbr>rtphone on the Virgin Mobile n<wbr>etwork.</div>                                                                                                                                                                                  <table width="100%" style="background-color:white"> <tbody><tr><td colspan="2" style="font-size:initial;text-align:initial;background-color:rgb(255,255,255)">                           <div style="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0in 0in;font-family:Tahoma,"BB Alpha Sans","Slate Pro";font-size:10pt">  <div><b>From: </b>jameszxj</div><div><b>Sent: </b>Monday, October 23, 2017 12:13 AM</div><div><b>To: </b><a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a></div><div><div class="m_5821428281623637690m_-1296702282569363564gmail-h5"><div><b>Subject: </b>Re:  Filesystem in RTEMS</div></div></div></div></td></tr></tbody></table><div><div class="m_5821428281623637690m_-1296702282569363564gmail-h5"><div style="border-style:solid none none;border-top-color:rgb(186,188,209);border-top-width:1pt;font-size:initial;text-align:initial;background-color:rgb(255,255,255)"></div><br><div id="m_5821428281623637690m_-1296702282569363564gmail-m_7929286635960272940_originalContent">I have encountered a problem like this. <br>I set wrong block size.<br><br>Maybe you can try to change the block size.<br><div><div><br>I use jffs2 on xilinx zc7020 board, QSPI<br></div><div style="font-size:12px;font-family:"Arial Narrow";padding:2px 0px">------------------ Original --<wbr>----------------</div><div style="font-size:12px;background:rgb(239,239,239);padding:8px"><div><b>From: </b> "Sebastian Huber";<<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedd<wbr>ed-brains.de</a>>;</div><div><b>Date: </b> Mon, Oct 23, 2017 01:07 PM</div><div><b>To: </b> "<a href="mailto:xuelin.tian@qkmtech.com" target="_blank">xuelin.tian@qkmtech.com</a>"<<a href="mailto:xuelin.tian@qkmtech.com" target="_blank">xue<wbr>lin.tian@qkmtech.com</a>>;</div><div><b>Cc: </b> "<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a>"<<a href="mailto:users@rtems.org" target="_blank">users@rtems<wbr>.org</a>>; </div><div><b>Subject: </b> Re: Filesystem in RTEMS</div></div><div><br></div>On 22/10/17 12:00, <a href="mailto:xuelin.tian@qkmtech.com" target="_blank">xuelin.tian@qkmtech.com</a> wrote:<br>> I have mounted JFFS2 successfully, according to the return value.<br>> Yes, it takes some time to do the mounting work.<br>><br>> But, when I downloaded a file like "test.txt" into flash via FTP and <br>> restarted the system, error came up.<br><br>Unmount the file system before you restart the system.<br><br>><br>> <5>JFFS2: jffs2_scan_erasebloc<wbr>k(): Magic bitmask 0x1985 not <wbr>found at 0x01FC0028: 0xE5DF in<wbr>stead<br>> <5>JFFS2: jffs2_scan_erasebloc<wbr>k(): Magic bitmask 0x1985 not <wbr>found at 0x01FC002C: 0xE5DF in<wbr>stead<br>> <5>JFFS2: Further such events <wbr>for this erase block will not <wbr>be printed<br>> <5>JFFS2: jffs2_scan_erasebloc<wbr>k(): Magic bitmask 0x1985 not <wbr>found at 0x01FD0000: 0x000C in<wbr>stead<br>> <5>JFFS2: jffs2_scan_erasebloc<wbr>k(): Magic bitmask 0x1985 not <wbr>found at 0x01FD0004: 0xB0B1 in<wbr>stead<br>> <5>JFFS2: jffs2_scan_erasebloc<wbr>k(): Magic bitmask 0x1985 not <wbr>found at 0x01FD0008: 0x0054 in<wbr>stead<br>> <5>JFFS2: Cowardly refusing to<wbr> erase blocks on filesystem wi<wbr>th no valid JFFS2 nodes<br>> <5>JFFS2: empty_blocks 0, bad_<wbr>blocks 0, c->nr_blocks 510<br>> mount failed.<br>><br>> Everything worked well, after erasing the whole flash. But errors came <br>> up without erasing it.<br><br>Make sure your flash driver works correctly. It must support bytewise <br>programming.<br><br>-- <br>Sebastian Huber, embedded brains GmbH<br><br>Address : <a href="https://maps.google.com/?q=Dornierstr.+4&entry=gmail&source=g" target="_blank">Dornierstr. 4</a>, D-82178 Puchheim, Germany<br>Phone   : +49 89 189 47 41-16<br>Fax     : +49 89 189 47 41-09<br>E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brain<wbr>s.de</a><br>PGP     : Public key available on request.<br><br>Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br><br>______________________________<wbr>_________________<br>users mailing list<br><a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br><a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/users</a></div><br></div></div></div></div>
<br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/users</a><br></blockquote></div></div></div><br></div></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>