From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Wu Date: Mon, 11 Mar 2013 19:18:23 +0800 Subject: [U-Boot] [PATCH] at91sam9x5: mmc: save environment as a file in FAT partition. In-Reply-To: <513CACE5.7060301@googlemail.com> References: <1358843773-22945-1-git-send-email-josh.wu@atmel.com> <50FFAE07.1060003@atmel.com> <51274A1E.3040509@atmel.com> <513CACE5.7060301@googlemail.com> Message-ID: <513DBD7F.2030500@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 3/10/2013 11:55 PM, Andreas Bie?mann wrote: Hi, Andreas > Dear Josh Wu, > > On 22.02.2013 11:36, Josh Wu wrote: >> Hi, Bo Shen >> >> Sorry for the late reply. I am taken over by other stuff. check my >> comments below. >> >> On 1/23/2013 5:31 PM, Bo Shen wrote: >>> Hi Josh, >>> >>> On 01/22/2013 04:36 PM, Josh Wu wrote: >>>> This patch will save U-Boot environment as a file: uboot.env, in FAT >>>> partition >>>> instead of saving it in raw sector of SD card. >>>> Since saving environment in raw sector has risk of corrupting the SD >>>> card and >>>> only can use very small size. >>>> Save as a FAT file has no above limitation. >>>> >>>> Signed-off-by: Josh Wu >>>> --- >>>> this patch is based on v2013.01. >>>> >>>> include/configs/at91sam9x5ek.h | 12 +++++++----- >>>> 1 file changed, 7 insertions(+), 5 deletions(-) >>> >>> When I test this on at91sam9g35ek board, execute "saveenv", it will >>> report following information, any information for this? >> >> I also tested some sd card, and I meet this issue you met too. >> In such situation, the command "mmc part" will report a unknow >> partition error. >> I suspect the issue is caused by either mmc driver or FAT partition part >> of code. >> And I will continue digging this issue. Thanks for report the errors. > > Have you an updated version of this patch? Sorry, I didn't follow up this issue yet. So no update so far. I will continue work on it when I have time. Best Regards, Josh Wu > > Best regards > > Andreas Bie?mann