AM335x NAND write hungs

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jan 25 04:21:25 EST 2021


On 25.01.21 09:56, Alexander Shiyan wrote:
> Works as expected.
> Can you commit this change into master?

I'd prefer Sascha did that (after confirming that's
the correct fix).

> Thanks!
> 
> пн, 25 янв. 2021 г. в 11:37, Ahmad Fatoum <a.fatoum at pengutronix.de>:
>>
>> Hello,
>>
>> On 25.01.21 09:20, Alexander Shiyan wrote:
>>> Hello.
>>>
>>> I recently upgraded my barebox from 2020.11 to 2021.01 for a custom board
>>> based on TI AM335x processor.
>>> The update revealed the inoperability of writing to NAND. When trying to write,
>>> the bootloader hangs forever.
>>> Reverting the commit "mtd: nand: omap_gpmc: Fix wrong length check" helps
>>> to solve the problem.
>>
>> What happens when changing the condition to len > 0?
>>
>>> Does anyone have similar problems?
>>>
>>> Thanks!
>>>
>>> _______________________________________________
>>> barebox mailing list
>>> barebox at lists.infradead.org
>>> http://lists.infradead.org/mailman/listinfo/barebox
>>>
>>
>> --
>> Pengutronix e.K.                           |                             |
>> Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
>> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
>> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list