[PATCH v2] MTD/GPMI bugfix : reset the BCH module when it is not MX23

Huang Shijie shijie8 at gmail.com
Mon Jan 2 21:30:10 EST 2012


On Sun, Jan 1, 2012 at 5:33 PM, Wolfram Sang <w.sang at pengutronix.de> wrote:
> Hi,
>
>> This happens because we do NOT follow the right init procedure. The IC
>> guy told me.
>> If the BCH was not initialized correctly, it can not guarantees the
>> data is right.
>> This is why the mx28 failed.
> ...
>> For mx23, it should not reset the BCH, this is the right init
>> procedure for mx23.
>
> Okay, this was the information I was looking for. So, the MX23 cannot be reset
> due to bug #2847. But it also does not NEED to be reset, which is unlike the
> MX28 which needs the reset. Correct? Before that, it was only clear that MX23
yes. i think so.

> cannot be reset. It was not clear (at least to me) if it still could then run
> into the same problems as the MX28 after 10000+x boot cycles. That would be a
> really bad situation: being in need of the reset which we can't do due to 2847.
I will do the MX23 test, when i am free. It really costs lot of time :(

The bug only occurs in the software reboot. If you do hardware
reboot(power from off to on).
it does not exit. I am wonder if it's really has the same scenario in
the real life.
Who will soft reboot for 10000 continously?



>
>> But I did not ever boot 10000 times on mx23. I am not sure if it can
>> fail or not.
>
> Hmm, can't your IC guy tell you? I was hoping he knows if the same problem which
Our IC guy did not do such tough test as our customers did.

> happens on the MX28 can also happen on the MX23? I don't want to make your life
> unnecessarily hard, but I'd really like to know if I need to warn customers
> when using MX23 and NAND (and if so, we have to update the comment in the code).
>
>> > bug 2847, we have a serious problem, because NAND won't work until the next
>> > power-cycle? I am curious if my assumptions are true and we have a serious
>> > problem on the MX23.
>> You can test it if you have time. :)
>
> Testing is guessing in this case, the problem could arise after <n+1> cycles if
> I tested <n>. Actually knowing the situation would be more helpful, I'd think.
> If this is not possible to find out, we'd need to add this as a comment, too,
> so people experiencing problems have a pointer which can save them *a lot of*
yes, i agree. add it in next version.


Best Regards
Huang Shijie
> time.
>
> Kind regards,
>
>   Wolfram
>
> --
> Pengutronix e.K.                           | Wolfram Sang                |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list