[U-Boot] Writes to FAT broken by bcm2835 sdhost driver

Alexander Graf agraf at suse.de
Thu Jun 28 18:23:35 UTC 2018



On 28.06.18 10:53, Anton Gerasimov wrote:
> [resending, forgot to subscribe from this address]
> 
> Hi,
> 
> For some reasons I need to save environment on RaspberryPi 3 and it
> worked well for me in older versions of u-boot, but stopped working in
> newer ones. Using bisect I figured out that the commits responsible for
> that were c8a73a26d6dd9b7d489e66529fe1412425d8f2d1 and
> caf2233b281c03e3e359061a3dfa537d8a25c273, introducing sdhost and pinctrl
> drivers respectively.
> 
> Versions before these two work well wrt. writing to FAT/saving the
> environment.
> 
> After these patches when compiled with rpi_3_32b_defconfig, reading
> works well, but fatwrite gives
> 
>   wait_transfer_complete - still waiting after 10001 retries
> 
> and saveenv
> 
>   fsm 1, hsts 00000001

I think my previous reply must've gone missing, so let me send it again :).

This is a known issue with 2018.05. Can you please try 2018.07 (just use
the latest git master) instead and see if the problem disappears for you?


Thanks!

Alex


More information about the U-Boot mailing list