RE: [PATCH 0/3] An alternative to SPI NAND

2015-01-20 Thread qiwang
On 01/20/2015 6:36 PM, Ezequiel Garcia wrote: > >On 01/12/2015 12:10 PM, Qi Wang 王起 (qiwang) wrote: >> Hi Ezequiel, >> >> On 01/08/2015 11:27 AM, Ezequiel Garcia wrote: >>> >>> Hi Qi Wang, >>> >>> On 01/07/2015 11:45 PM, Qi Wang 王起 (qiwan

[PATCH 0/3] An alternative to SPI NAND

2015-01-12 Thread qiwang
Hi Ezequiel, On 01/08/2015 11:27 AM, Ezequiel Garcia wrote: > >Hi Qi Wang, > >On 01/07/2015 11:45 PM, Qi Wang 王起 (qiwang) wrote: >> Hi Brian, >> >> On Thu, Jan 08, 2015 at 9:03:24AM +, Brian Norris wrote: >>> >>> On Thu, Jan 08, 2015 at 12:47:2

RE: [PATCH 0/3] An alternative to SPI NAND

2015-01-07 Thread qiwang
Hi Brian, On Thu, Jan 08, 2015 at 9:03:24AM +, Brian Norris wrote: > >On Thu, Jan 08, 2015 at 12:47:24AM +, Peter Pan 潘栋 (peterpandong) >wrote: >> Documentation/devicetree/bindings/mtd/spi-nand.txt | 22 + >> drivers/mtd/Kconfig|2 + >> drivers/mtd/Makef

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-08 Thread qiwang
Hi Artem: Do you have any suggestion for my modification? Other code I think it is ok. Thanks -Original Message- From: Qi Wang 王起 (qiwang) Sent: Monday, January 06, 2014 1:11 PM To: 'dedeki...@gmail.com' Cc: Adrian Hunter; linux-kernel@vger.kernel.org; linux-...@lists.inf

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-05 Thread qiwang
Attached is my patch modified, and I use git format-patch to generate this file. Please check it. Thanks -Original Message- From: Artem Bityutskiy [mailto:dedeki...@gmail.com] Sent: Thursday, January 02, 2014 11:11 PM To: Qi Wang 王起 (qiwang) Cc: Adrian Hunter; linux-kernel

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-05 Thread qiwang
From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at most) error, could impact other operation on NOR flash. So UBIFS can rea

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-05 Thread qiwang
quot; twice. so I suggest to change to below: + ubi_err("cannot invalidate PEB %d, write returned %d", pnum, err); I will send you the patch in another email convenient for you to apply patch. Thanks -- qiwang

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-02 Thread qiwang
you have a wonderful 2014. Thank you -Original Message- From: Artem Bityutskiy [mailto:dedeki...@gmail.com] Sent: Thursday, January 02, 2014 11:23 PM To: Qi Wang 王起 (qiwang) Cc: Adrian Hunter; linux-kernel@vger.kernel.org; linux-...@lists.infradead.org Subject: Re: [PATCH 1/1] MTD: UBI

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-02 Thread qiwang
Weinberger [mailto:rich...@nod.at] Sent: Thursday, January 02, 2014 10:58 PM To: Qi Wang 王起 (qiwang) Cc: Richard Weinberger; dedeki...@gmail.com; linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; Adrian Hunter Subject: Re: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash afte

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-01 Thread qiwang
Hi Richard: I modified the place you mentioned in previous mail, please check it as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout

[PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-01 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at m

RE: [PATCH 1/1] MTD: UBI: try to avoid program data to NOR flash after erasure interrupted

2014-01-01 Thread qiwang
Hi Richard: ok, I can correct my email address and re-send you again. Please check it. Thanks for your great help. -Original Message- From: Richard Weinberger [mailto:richard.weinber...@gmail.com] Sent: Tuesday, December 31, 2013 8:15 PM To: Qi Wang 王起 (qiwang) Cc: dedeki...@gmail.com

RE: [PATCH 1/1] MTD: UBI: try to avoid program data to NOR flash after erasure interrupted

2013-12-22 Thread qiwang
? Thanks -Original Message- From: Artem Bityutskiy [mailto:dedeki...@gmail.com] Sent: Friday, November 01, 2013 4:58 PM To: Qi Wang 王起 (qiwang) Cc: linux-...@lists.infradead.org; Adrian Hunter; linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] MTD: UBI: try to avoid program data to NOR

[PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-12-22 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at

[PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-12-15 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at

RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-12-09 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at m

[PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-12-09 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at m

[PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-12-04 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at m

[PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-12-04 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at m

[PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-12-04 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at

[PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-12-04 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at

[PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-12-02 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at m

[PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-11-24 Thread qiwang
Hi: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at most) e

Re: [PATCH 1/1] MTD: UBI: try to avoid program data to NOR flash after erasure interrupted

2013-11-07 Thread qiwang
Hi: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at most) e

RE: [PATCH 1/1] MTD: UBI: try to avoid program data to NOR flash after erasure interrupted

2013-10-30 Thread qiwang
On Tue, 2013-10-29 at 11:19 +, Artem Bityutskiy wrote: > On Mon, 2013-10-28 at 04:54 +, Qi Wang 王起 (qiwang) wrote: > > On Sa, 2013-10-26 at 05:19 +, Artem Bityutskiy wrote: > > > On Thu, 2013-10-10 at 08:28 +, Qi Wang 王起 (qiwang) wrote: > > > > But I

[PATCH 1/1] MTD: UBI: try to avoid program data to NOR flash after erasure interrupted

2013-10-27 Thread qiwang
On Sa, 2013-10-26 at 05:19 +, Artem Bityutskiy wrote: >On Thu, 2013-10-10 at 08:28 +, Qi Wang 王起 (qiwang) wrote: >> But I want to say the potential risk is if low level driver program data to >> this block, it will get “timeout error”. And the timeout period could be &

[PATCH 1/1] MTD: UBI: try to avoid program data to NOR flash after erasure interrupted

2013-10-27 Thread qiwang
On Sa, 2013-10-26 at 05:19 +, Artem Bityutskiy wrote: >On Thu, 2013-10-10 at 08:28 +, Qi Wang 王起 (qiwang) wrote: >> But I want to say the potential risk is if low level driver program data to >> this block, it will get “timeout error”. And the timeout period could be &