From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Date: Tue, 16 Aug 2011 15:33:51 +0400 Subject: [U-Boot] [PATCH] FAT: Add FAT write feature In-Reply-To: <1313490166-27223-1-git-send-email-dg77.kim@samsung.com> References: <1313490166-27223-1-git-send-email-dg77.kim@samsung.com> Message-ID: <4E4A559F.9090308@mvista.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Kyungmin Park 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