Re: Filesystem in RTEMS

2017-10-22 Thread Sebastian Huber
On 22/10/17 12:00, xuelin.t...@qkmtech.com wrote: I have mounted JFFS2 successfully, according to the return value. Yes, it takes some time to do the mounting work. But, when I downloaded a file like "test.txt" into flash via FTP and restarted the system, error came up. Unmount the file syste

Re: Filesystem in RTEMS

2017-10-22 Thread Chris Johns
On 23/10/2017 12:53, xuelin.t...@qkmtech.com wrote: > Yes, Everything is going well, if I erase the flash before use. > > But, I need to store some files into flash, and reuse them when I restart my > system. I can not erase the flash every time. Oh I see what you are saying. I am using the JFF

QEMU and mvme3100

2017-10-22 Thread Michael Davidsaver
For awhile now I've had a side project to add emulation of the mvme3100 board to QEMU with RTEMS as the guest. I think I have it basically working* and would be interesting to know if anyone else has a use for it. One of my goals is running the EPICS unittest suite (which passes). It might be us

Re: Re: Filesystem in RTEMS

2017-10-22 Thread xuelin.t...@qkmtech.com
Yes, Everything is going well, if I erase the flash before use. But, I need to store some files into flash, and reuse them when I restart my system. I can not erase the flash every time. Best wishes, xuelin.t...@qkmtech.com From: Chris Johns Date: 2017-10-23 07:01 To: xuelin.t...@qkmtech.c

Re: Installing cexp-2.2.3 for RTEMS 4.12

2017-10-22 Thread Till Straumann
I have updated cexp so it should build for rtems-4.12. git://github.com/till-s/cexpsh Also supports ARM now. - T. On 10/05/2017 04:06 PM, Akiv wrote: Hi All, I have built RTEMS 4.12 for the pc686 BSP. I am now trying to install cexp 2.2.3. My goal is to run pc-rtems according to this guide:

Re: Filesystem in RTEMS

2017-10-22 Thread Chris Johns
On 22/10/2017 21:00, xuelin.t...@qkmtech.com wrote: > Everything worked well, after erasing the whole flash. But errors came up > without erasing it. You need to erase the flash before use. JFFS2 cannot tell the flash was unused and available for use so it has to assume it has become corrupted an

Re: Re: Filesystem in RTEMS

2017-10-22 Thread xuelin.t...@qkmtech.com
I have mounted JFFS2 successfully, according to the return value. Yes, it takes some time to do the mounting work. But, when I downloaded a file like "test.txt" into flash via FTP and restarted the system, error came up. <5>JFFS2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01