<html><head></head><body 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 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 smartphone on the Virgin Mobile network.</div> <table width="100%" style="background-color:white;border-spacing:0px;"> <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>rtems-users@rtems.org</div><div><b>Subject: </b>Re: Filesystem in RTEMS</div></div></td></tr></tbody></table><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="_originalContent" style="">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 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "Sebastian Huber";<sebastian.huber@embedded-brains.de>;</div><div><b>Date: </b> Mon, Oct 23, 2017 01:07 PM</div><div><b>To: </b> "xuelin.tian@qkmtech.com"<xuelin.tian@qkmtech.com>;<wbr></div><div><b>Cc: </b> "users@rtems.org"<users@rtems.org>; <wbr></div><div><b>Subject: </b> Re: Filesystem in RTEMS</div></div><div><br></div>On 22/10/17 12:00, xuelin.tian@qkmtech.com 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_eraseblock(): Magic bitmask 0x1985 not found at 0x01FC0028: 0xE5DF instead<br>> <5>JFFS2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01FC002C: 0xE5DF instead<br>> <5>JFFS2: Further such events for this erase block will not be printed<br>> <5>JFFS2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01FD0000: 0x000C instead<br>> <5>JFFS2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01FD0004: 0xB0B1 instead<br>> <5>JFFS2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01FD0008: 0x0054 instead<br>> <5>JFFS2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes<br>> <5>JFFS2: empty_blocks 0, bad_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 : Dornierstr. 4, D-82178 Puchheim, Germany<br>Phone : +49 89 189 47 41-16<br>Fax : +49 89 189 47 41-09<br>E-Mail : sebastian.huber@embedded-brains.de<br>PGP : Public key available on request.<br><br>Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br><br>_______________________________________________<br>users mailing list<br>users@rtems.org<br>http://lists.rtems.org/mailman/listinfo/users</div><br><!--end of _originalContent --></div></body></html>