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.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. > > 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.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users