<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">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><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">https://github.com/atgreen/RTEMS/blob/master/LICENSE.JFFS2</a><br></div><div><br></div><div>and read the last two paragraphs.</div><div><br></div><div>--joel</div><div> </div><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 <wbr>smartphone on the Virgin <wbr>Mobile network.</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="gmail-h5"><div><b>Subject: </b>Re:  Filesystem in RTEMS</div></div></div></div></td></tr></tbody></table><div><div class="gmail-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="gmail-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@<wbr>embedded-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@<wbr>rtems.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_<wbr>eraseblock(): Magic bitmask <wbr>0x1985 not found at <wbr>0x01FC0028: 0xE5DF instead<br>> <5>JFFS2: jffs2_scan_<wbr>eraseblock(): Magic bitmask <wbr>0x1985 not found at <wbr>0x01FC002C: 0xE5DF instead<br>> <5>JFFS2: Further such events <wbr>for this erase block will not <wbr>be printed<br>> <5>JFFS2: jffs2_scan_<wbr>eraseblock(): Magic bitmask <wbr>0x1985 not found at <wbr>0x01FD0000: 0x000C instead<br>> <5>JFFS2: jffs2_scan_<wbr>eraseblock(): Magic bitmask <wbr>0x1985 not found at <wbr>0x01FD0004: 0xB0B1 instead<br>> <5>JFFS2: jffs2_scan_<wbr>eraseblock(): Magic bitmask <wbr>0x1985 not found at <wbr>0x01FD0008: 0x0054 instead<br>> <5>JFFS2: Cowardly refusing <wbr>to erase blocks on filesystem <wbr>with 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">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-<wbr>brains.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/<wbr>mailman/listinfo/users</a></div><br></div></div></div></div>
<br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/users</a><br></blockquote></div><br></div></div>