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

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

2008-09-11 Thread Martijn de Gouw
Hi We are using ATCA equipment and those boards have redundant boot banks and they are managed by IPMI controllers. So while you are you are running Linux, you can change the boot banks for next restart through set boot options IPMI command. The problem arises when we write the U-Boot env

[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

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

2008-09-10 Thread Guennadi Liakhovetski
On Wed, 10 Sep 2008, Mari Ivan-AIM018 wrote: 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

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

2008-09-10 Thread Wolfgang Denk
Dear Ivan, In message [EMAIL PROTECTED] you wrote: 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