samples/fileio - ram disk testing failure in case of restoring disk image from NAND to SRAM.

Hoefle Marco Marco.Hoefle at nanotronic.ch
Tue Oct 21 08:14:26 UTC 2014


Hello Thomas,

How do you create the FATFS image? I have also an issue with FAT image linked into the application.

In my case getcwd() is not working correctly after being deeper than 3 subfolders.

But the rest seems to work ok.

I filed this bug

https://www.rtems.org/bugzilla/show_bug.cgi?id=2190

with a test case.

 

For us only Fat12 or FAT16 work, FAT32 didn't work with the image generation process described in the bug report.

Best regards,

Marco 

 

 

________________________________

From: users [mailto:users-bounces at rtems.org] On Behalf Of Thomas Kim
Sent: Dienstag, 21. Oktober 2014 03:36
To: Sebastian Huber
Cc: rtems-users at rtems.org
Subject: Re: samples/fileio - ram disk testing failure in case of restoring disk image from NAND to SRAM.

 

Dear Sebastian,

 

NAND flash is only used for storing FAT32 disk image. 

After this disk image of flash is copied on SRAM by bootloader, RTEMS DOS file system is mounted for disk clone image on SRAM.

 

Best Regards,

Thomas

 

2014-10-20 21:07 GMT+09:00 Sebastian Huber <sebastian.huber at embedded-brains.de>:

On 20/10/14 11:07, Thomas Kim wrote:


NAND Flash 64MB area have MS-DOS FAT32 Disk image.


FAT32 is unsuitable for NAND flash devises unless you use a flash translation layer.

-- 
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/20141021/ac5edb8c/attachment.html>


More information about the users mailing list