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

michael trimarchi at gandalf.sssup.it
Wed Sep 10 22:25:46 CEST 2008


Hi,

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 switching leaves the flash in
> corrupted state.
Maybe is a problem of mtd-layer or driver?

Regards Michael


More information about the U-Boot mailing list