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

2016-07-18 Thread Daniel Schwierzeck
Hi Stefan, 2016-07-18 10:38 GMT+02:00 Stefan Roese : > > Daniel, could you please send a proper patch (non-inlined) for this so > that I can push it to upstream? Or did I miss this patch? > done http://patchwork.ozlabs.org/patch/649511/ -- - Daniel _

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

2016-07-18 Thread Stefan Roese
Hi Alon, Hi Daniel, On 10.07.2016 22:50, Alon Bar-Lev wrote: On 5 July 2016 at 19:10, Daniel Schwierzeck wrote: Hi Alon, +cc Paul, Stefan Am 05.07.2016 um 14:04 schrieb Alon Bar-Lev: Hi, Found the debug setting. When I try to erase flash under qemu I get the following error, the erase ac

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

2016-07-10 Thread Alon Bar-Lev
On 5 July 2016 at 19:10, Daniel Schwierzeck wrote: > > Hi Alon, > > +cc Paul, Stefan > > Am 05.07.2016 um 14:04 schrieb Alon Bar-Lev: > > Hi, > > > > Found the debug setting. > > > > When I try to erase flash under qemu I get the following error, the > > erase actually succeeds in the backed file,

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

2016-07-05 Thread Alon Bar-Lev
On 5 July 2016 at 20:34, Daniel Schwierzeck wrote: > > > Am 05.07.2016 um 19:17 schrieb Alon Bar-Lev: >> On 5 July 2016 at 20:05, Daniel Schwierzeck >> 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. >> M

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

2016-07-05 Thread Daniel Schwierzeck
Am 05.07.2016 um 19:17 schrieb Alon Bar-Lev: > On 5 July 2016 at 20:05, Daniel Schwierzeck > wrote: >> >> >> Am 05.07.2016 um 18:50 schrieb Alon Bar-Lev: >>> Thank you so much! >>> Erase does not complain any more. >> >> please do not top-quote on a mailing list. >> > > Sorry. > >>> >>> Howeve

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

2016-07-05 Thread Alon Bar-Lev
On 5 July 2016 at 20:05, Daniel Schwierzeck wrote: > > > Am 05.07.2016 um 18:50 schrieb Alon Bar-Lev: >> Thank you so much! >> Erase does not complain any more. > > please do not top-quote on a mailing list. > Sorry. >> >> However, write is not working. >> >> Result is always something like: >>

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

2016-07-05 Thread Daniel Schwierzeck
Am 05.07.2016 um 18:50 schrieb Alon Bar-Lev: > Thank you so much! > Erase does not complain any more. please do not top-quote on a mailing list. > > However, write is not working. > > Result is always something like: > be04: 00800080 00800080 00800080 00800080 hm, I c

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

2016-07-05 Thread Alon Bar-Lev
Thank you so much! Erase does not complain any more. However, write is not working. Result is always something like: be04: 00800080 00800080 00800080 00800080 I enabled the debug info of both u-boot and qemu. I hope it helps. I am using master of qemu and u-boot, I get si

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

2016-07-05 Thread Daniel Schwierzeck
Hi Alon, +cc Paul, Stefan Am 05.07.2016 um 14:04 schrieb Alon Bar-Lev: > Hi, > > Found the debug setting. > > When I try to erase flash under qemu I get the following error, the > erase actually succeeds in the backed file, I see sector as 0xff. > > Can anyone check if problem is within u-boot

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

2016-07-05 Thread Alon Bar-Lev
Hi, Found the debug setting. When I try to erase flash under qemu I get the following error, the erase actually succeeds in the backed file, I see sector as 0xff. Can anyone check if problem is within u-boot or qemu? Thanks! --- malta # erase BE23 BE23 fwc addr be23 cmd 50 00

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

2016-07-04 Thread Alon Bar-Lev
Hello, I am using malta board within qemu. I tried recent releases and master of both. Two years ago in qemu-1.5 and qemu-1.6 I could use erase and cp.b in order to erase and write to the flash. Now when I try to erase flash I get an error suggesting the erase failed, however, I do see 0xff all ov