[U-Boot] [PATCH] FAT: Add FAT write feature
Sergei Shtylyov
sshtylyov at mvista.com
Tue Aug 16 13:33:51 CEST 2011
Hello.
On 16-08-2011 14:22, Donggeun Kim wrote:
> In some cases, saving data in RAM as a file with FAT format is required.
> This patch allows the file to be written in FAT formatted partition.
>
> The usage is similar with reading a file.
> First, fat_register_device function is called before file_fat_write function
> in order to set target partition.
> Then, file_fat_write function is invoked with desired file name,
> start ram address for writing data, and file size.
>
> Signed-off-by: Donggeun Kim<dg77.kim at samsung.com>
> Signed-off-by: Kyungmin Park<kyungmin.park at samsung.com>
I have recently submitted the patch fixing FAt code crash with sector
sizes > 512 bytes [1]. You probably should take it into account.
[1] http://marc.info/?l=u-boot&m=131283284822789
WBR, Sergei
More information about the U-Boot
mailing list