Re: [U-Boot] [fw_printenv should open device as O_SYNC]

2008-09-11 Thread Mari Ivan-AIM018
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2008 5:57 PM To: Mari Ivan-AIM018 Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [fw_printenv should open device as O_SYNC] Dear Ivan, In message [EMAIL PROTECTED] you wrote: We have hit

[U-Boot] [fw_printenv should open device as O_SYNC]

2008-09-10 Thread Mari Ivan-AIM018
Hi all, We have hit the following issue in a board with 2 flash banks. First I set some env variable in U-boot, using fw_setenv, then immediately I switch the banks. But as the buffers have not yet been flushed to the mtd driver, the bank switching leaves the flash in corrupted state. I ve