From: Anton Gerasimov Date: Fri, 29 Jun 2018 15:41:41 +0200 Subject: [U-Boot] Writes to FAT broken by bcm2835 sdhost driver In-Reply-To: <604dc81a-a4c3-7f16-9902-076734872975@suse.de> References: <144e37b3-ffca-58c8-6b6b-335d577417d7@here.com> <604dc81a-a4c3-7f16-9902-076734872975@suse.de> Message-ID: <78865596-7411-2b4f-2792-9d879e2c98dd@here.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de Thank you, I should have checked the master instead of relying on what's in poky. Unrelated: now I can't load FIT image, but I don't have enough data do tell what the reason is yet. Thanks, Anton On 06/28/2018 11:49 AM, Alexander Graf wrote: > 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 > -- ATS Advanced Telematic Systems was acquired by HERE Technologies Anton Gerasimov Software Engineer HERE Technologies Kantstrasse 162, 10623 Berlin, Germany