Filesystem in RTEMS
xuelin.tian at qkmtech.com
xuelin.tian at qkmtech.com
Thu Oct 19 11:49:19 UTC 2017
Does RTEMS have the FTL(Flash Translation Layer) as Linux, that can map flash device into block device?
How can I define the blocks used in JFFS2, according to NOR flash?
I define the segments in my flash, but have no idea how this is related to the blocks defined in the JFFS2.
const rtems_fdisk_segment_desc myflash_segments[2] = {
{
.count = 32,
.segment = 0,
.offset = 0x00000000,
.size = RTEMS_FDISK_KBYTES(4)
},
{
.count = 510,
.segment = 32,
.offset = 0x00020000,
.size = RTEMS_FDISK_KBYTES(64)
}
};
Best wishes,
xuelin.tian at qkmtech.com
From: Sebastian Huber
Date: 2017-10-19 16:14
To: xuelin.tian at qkmtech.com; users at rtems.org
Subject: Re: Filesystem in RTEMS
On 19/10/17 10:09, xuelin.tian at 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 them?
devfs and RFS should not be used for device files. I would like to
remove devfs in the future.
> For example, if I want to mount a flash to IMFS, which is the best
> choice for it?(JFFS2 may be too complicated...)
JFFS2 is the right file system for NOR flashes.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20171019/cf1a3c40/attachment-0002.html>
More information about the users
mailing list