--joel
>>
>>
> Thanks Joel!
>
> Russ
>
>>
>>> Thanks,
>>> Russ
>>>
>>> Sent from my BlackBerry 10 smartphone on the Virgin Mobile network.
>>> *From: *jameszxj
>>> *Sent: *Monday, October 23
ob/master/LICENSE.JFFS2
>
> and read the last two paragraphs.
>
> --joel
>
>
Thanks Joel!
Russ
>
>> Thanks,
>> Russ
>>
>> Sent from my BlackBerry 10 smartphone on the Virgin Mobile network.
>> *From: *jameszxj
>> *Sent: *Monday, October 23, 2017 12:
rtphone on the Virgin Mobile network.
> *From: *jameszxj
> *Sent: *Monday, October 23, 2017 12:13 AM
> *To: *rtems-us...@rtems.org
> *Subject: *Re: Filesystem in RTEMS
>
> I have encountered a problem like this.
> I set wrong block size.
>
> Maybe you can try to chan
Hi,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 thi
7-10-23 17:44
To: xuelin.t...@qkmtech.com; Chris Johns
CC: users@rtems.org
Subject: Re: Filesystem in RTEMS
On 23/10/17 11:40, Sebastian Huber wrote:
>
>
> On 23/10/17 11:33, xuelin.t...@qkmtech.com wrote:
>> static int flash_write(
>> rtems_jffs2_flash_control *super,
>>
Wow, that is so cool.
I may not have enough time to do the porting :-)
Best wishes,
xuelin.t...@qkmtech.com
From: jameszxj
Date: 2017-10-23 17:26
To: xuelin.t...@qkmtech.com
CC: rtems-us...@rtems.org
Subject: Re: Re: Filesystem in RTEMS
-- Original --
From
On 23/10/17 11:40, Sebastian Huber wrote:
On 23/10/17 11:33, xuelin.t...@qkmtech.com wrote:
static int flash_write(
rtems_jffs2_flash_control *super,
uint32_t offset,
unsigned char *buffer,
size_t length) {
flash_control *self = get_flash_control(super);
XQspiPs *flash
On 23/10/17 11:33, xuelin.t...@qkmtech.com wrote:
static int flash_write(
rtems_jffs2_flash_control *super,
uint32_t offset,
unsigned char *buffer,
size_t length) {
flash_control *self = get_flash_control(super);
XQspiPs *flash_handle = self->flash_instance;
uint32_
rtems.org
Subject: Re: Filesystem in RTEMS
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.
-- Original --
From: "xuelin.t...@qkmtech.com";;
Date: Mon, Oct 23, 2017 03:30 PM
To: "jameszxj";"users@rtems.org";
Subject: Re: Re: Filesystem in RTEMS
> I use JFFS2 on Xilinx Zedboard, QSPI.
> The flash I use has
sure about
this.
What is your device driver in your case? Using QSPI handlers from Xilinx BSP
directly?
Best wishes,
xuelin.t...@qkmtech.com
From: jameszxj
Date: 2017-10-23 15:13
To: rtems-us...@rtems.org
Subject: Re: Filesystem in RTEMS
I have encountered a problem like this.
I set wrong
kmtech.com";
Cc: "users@rtems.org";
Subject: Re: Filesystem in RTEMS
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 f
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
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
...@qkmtech.com; Sebastian Huber
CC: users@rtems.org
Subject: Re: Filesystem in RTEMS
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 fla
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
with no valid JFFS2
nodes
<5>JFFS2: empty_blocks 0, bad_blocks 0, c->nr_blocks 510
mount failed.
Everything worked well, after erasing the whole flash. But errors came up
without erasing it.
Best wishes,
xuelin.t...@qkmtech.com
From: xuelin.tian
Date: 2017-10-21 22:07
To: Sebastian H
om: "Sebastian Huber";
Date: Sat, Oct 21, 2017 06:52 PM
To: "xuelin tian";
Cc: "users";
Subject: Re: Filesystem in RTEMS
- Am 21. Okt 2017 um 2:17 schrieb xuelin tian xuelin.t...@qkmtech.com:
> I followed the example (testsuites/fstests/jffs2_s
- Am 21. Okt 2017 um 2:17 schrieb xuelin tian xuelin.t...@qkmtech.com:
> I followed the example (testsuites/fstests/jffs2_support/fs_support.c), and
> some
> error came up, like
> "undefined reference to rtems_jffs2_initialize",
> "undefined reference to rtems_jffs2_compressor_zlib_compress",
On 21/10/2017 14:58, xuelin.t...@qkmtech.com wrote:
>>> I also add this library -
>>> "additional_flags +=
> ['-L/opt/rtems-4.11.1-release/4.11-bsp/arm-rtems4.11/xilinx_zynq_zedboard/lib
> -ljffs2']"
>
>>Link order?
>
> Yeah, I google it, and it says that this kind of error is related to linking
return...
I can not debug the mount process, since it is a system call.
Best wishes,
xuelin.t...@qkmtech.com
From: Chris Johns
Date: 2017-10-21 11:40
To: xuelin.t...@qkmtech.com; Sebastian Huber; users@rtems.org
Subject: Re: Filesystem in RTEMS
On 21/10/2017 13:13, xuelin.t...@qkmtech.c
On 21/10/2017 13:13, xuelin.t...@qkmtech.com wrote:
> All these three functions should be defined in libjffs2.a, right?
Yeap ...
$ arm-rtems4.12-nm \
/opt/rtems/4.12/arm-rtems4.12/xilinx_zynq_zc706/lib/libjffs2.a | \
grep rtems_jffs2_compressor_zlib_compress
T rtems_jffs2_compresso
com
From: xuelin.t...@qkmtech.com
Date: 2017-10-21 09:34
To: Chris Johns; Sebastian Huber; users@rtems.org
Subject: Re: Re: Filesystem in RTEMS
Yeah, my code is mostly like yours.
I have a handle of flash device, which can access flash hardware directly via
QSPI. So, this means, my flash can wor
r.c.38.o:(.data+0x5c): undefined
reference to `rtems_jffs2_compressor_zlib_decompress'
collect2: error: ld returned 1 exit status
Best wishes,
xuelin.t...@qkmtech.com
From: Chris Johns
Date: 2017-10-21 08:56
To: xuelin.t...@qkmtech.com; Sebastian Huber; users@rtems.org
Subject: Re: Files
On 21/10/2017 11:17, xuelin.t...@qkmtech.com wrote:
> I followed the example (testsuites/fstests/jffs2_support/fs_support.c), and
> some
> error came up, like
> "undefined reference to rtems_jffs2_initialize",
> "undefined reference to rtems_jffs2_compressor_zlib_compress", and
> "undefined refe
n this whoe process?
Best wishes,
xuelin.t...@qkmtech.com
From: Sebastian Huber
Date: 2017-10-19 19:56
To: xuelin.t...@qkmtech.com; users@rtems.org
Subject: Re: Filesystem in RTEMS
On 19/10/17 13:49, xuelin.t...@qkmtech.com wrote:
> Does RTEMS have the FTL(Flash Translation Layer) as Linux,
Thanks for your explaination : )
Best wishes,
xuelin.t...@qkmtech.com
From: Chris Johns
Date: 2017-10-20 05:15
To: xuelin.t...@qkmtech.com; Sebastian Huber; users@rtems.org
Subject: Re: Filesystem in RTEMS
On 19/10/2017 19:30, xuelin.t...@qkmtech.com wrote:
> So, what is the RFS
On 19/10/2017 19:30, xuelin.t...@qkmtech.com wrote:
> So, what is the RFS for, basically?
It is a general purpose file system for block devices. It is in use on NASA's
MMS project.
I often use it as a RAM disk file system to hold web pages and files uploaded
and downloaded via the web server. I c
Oh, I see.
I just need to treat my flash as an array, not a block device.
Thanks a lot.
Best wishes,
xuelin.t...@qkmtech.com
From: Sebastian Huber
Date: 2017-10-19 19:56
To: xuelin.t...@qkmtech.com; users@rtems.org
Subject: Re: Filesystem in RTEMS
On 19/10/17 13:49, xuelin.t...@qkmtech.com
On 19/10/17 13:49, xuelin.t...@qkmtech.com wrote:
Does RTEMS have the FTL(Flash Translation Layer) as Linux, that can
map flash device into block device?
No.
How can I define the blocks used in JFFS2, according to NOR flash?
See testsuites/fstests/jffs2_support/fs_support.c for an example.
)
}
};
Best wishes,
xuelin.t...@qkmtech.com
From: Sebastian Huber
Date: 2017-10-19 16:14
To: xuelin.t...@qkmtech.com; users@rtems.org
Subject: Re: Filesystem in RTEMS
On 19/10/17 10:09, xuelin.t...@qkmtech.com wrote:
> Dear all,
> I got a little confused about the file system in rtems.
>
> T
So, what is the RFS for, basically?
Best wishes,
xuelin.t...@qkmtech.com
From: Sebastian Huber
Date: 2017-10-19 16:14
To: xuelin.t...@qkmtech.com; users@rtems.org
Subject: Re: Filesystem in RTEMS
On 19/10/17 10:09, xuelin.t...@qkmtech.com wrote:
> Dear all,
> I got a little confused abo
On 19/10/17 10:09, xuelin.t...@qkmtech.com wrote:
Dear all,
I got a little confused about the file system in rtems.
The root file system is IMFS in rtems, obviously. And what is the
devfs and rfs? They can be both configured for peripheral devices, I
think. So, what is the difference between t
Dear all,
I got a little confused about the file system in rtems.
The root file system is IMFS in rtems, obviously. And what is the devfs and
rfs? They can be both configured for peripheral devices, I think. So, what is
the difference between them? For example, if I want to mount a flash to IMFS
34 matches
Mail list logo