[PATCH] mtd: fix the wrong check condition

Brian Norris computersforpeace at gmail.com
Sat Feb 18 00:43:44 EST 2012


On Fri, Feb 17, 2012 at 12:50 AM, Florian Fainelli <ffainelli at freebox.fr> wrote:
> Le 02/17/12 04:07, Huang Shijie a écrit :
>> Sorry. I did not check the log carefully.
>>
>> the Hynix nand does _not_ pass the CRC check, but it passed the "ONFI"
>> string check.
>
> This is exactly what I saw too with a different Hynix chip, it replied ONFI,
> but the CRC check failed.

So your root detection issue is actually that this Hynix chip is
neither ONFI-compliant nor does it have a good ID decoding scheme,
hence the need for the ID table patch (separate; I'll review it soon).

>>
>> The log "ONFI flash detected" made me misunderstood.
>
> Yes I agree, the log is there too soon, thanks for your patch.

I agree as well. I'll ACK the other patch.

Thanks,
Brian



More information about the linux-mtd mailing list