[U-Boot] [mips][cfi] Unable to write into flash under qemu

Alon Bar-Lev alon.barlev at gmail.com
Tue Jul 5 19:57:33 CEST 2016


On 5 July 2016 at 20:34, Daniel Schwierzeck
<daniel.schwierzeck at gmail.com> wrote:
>
>
> Am 05.07.2016 um 19:17 schrieb Alon Bar-Lev:
>> On 5 July 2016 at 20:05, Daniel Schwierzeck
>> <daniel.schwierzeck at gmail.com> wrote:
>>>
>>
>>
>> Can you please try to copy from sector in flash to another as I've shown?
>> It seems to happen especially in this case.
>> Maybe it is just impossible...
>>
>> <snip>
>>
>
> I think it's a bug in flash_write_cfibuffer(). It looks like the flash status value is written to the destination address. It works if you disable CONFIG_SYS_FLASH_USE_BUFFER_WRITE in include/configs/malta.h.
>

Thank you so much for your help.
I can confirm this is working, however, it takes about forever to complete.
For now I will copy to ram and back to flash.

Regards,
Alon


More information about the U-Boot mailing list