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

Alexander Graf agraf at suse.de
Thu Jun 28 09:49:12 UTC 2018


On 06/28/2018 10:53 AM, 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

This should be fixed in 2018.07. Please try to run with latest git.


Alex



More information about the U-Boot mailing list