<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: U-Boot timeout on sata load but no error detected in T-Series</title>
    <link>https://community.nxp.com/t5/T-Series/U-Boot-timeout-on-sata-load-but-no-error-detected/m-p/848965#M2838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 12pt;"&gt;Hello &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="304376" data-username="dirkweber" href="https://community.nxp.com/people/dirkweber"&gt;Dirk Weber&lt;/A&gt; ,&lt;/P&gt;&lt;P style="margin-bottom: 12pt;"&gt;Previously other customers reported similar issue like this.&lt;/P&gt;&lt;P style="margin-bottom: 12pt;"&gt;In U-Boot file /fs/fat/fat.c, function get_contents() line 365, we think that this original fat.c code can not support under 4096 byte. It's needed to modify the line 359~363 and 390 as support under 4096 byte.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2018 10:10:44 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2018-08-10T10:10:44Z</dc:date>
    <item>
      <title>U-Boot timeout on sata load but no error detected</title>
      <link>https://community.nxp.com/t5/T-Series/U-Boot-timeout-on-sata-load-but-no-error-detected/m-p/848964#M2837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing a strange problem when loading a small file (less thaqn 512 bytes) from a SATA disk using U-Boot:&lt;/P&gt;&lt;P&gt;The transfer times out but the load will succeed eventually. The same problem happens when loading files of any size that have the last block non-contiguous.&lt;/P&gt;&lt;P&gt;When stepping through the U-Boot sources that behavior is easy to explain:&lt;/P&gt;&lt;P&gt;The FAT FS will first load any number of blocks of a cluster (including no blocks!) and than load the last 512 bytes for the remaining data. The fsl_sata.c does not care about sata_read() with blkcnt==0 and will therefor timeout (the disk will not send a complete when there is no data to transfer).&lt;/P&gt;&lt;P&gt;While this problem is easy to fix I wonder why this issue I haven't been reported anywhere yet...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...or is there any mistake on my side??&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 07:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/U-Boot-timeout-on-sata-load-but-no-error-detected/m-p/848964#M2837</guid>
      <dc:creator>dirkweber</dc:creator>
      <dc:date>2018-07-25T07:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot timeout on sata load but no error detected</title>
      <link>https://community.nxp.com/t5/T-Series/U-Boot-timeout-on-sata-load-but-no-error-detected/m-p/848965#M2838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 12pt;"&gt;Hello &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="304376" data-username="dirkweber" href="https://community.nxp.com/people/dirkweber"&gt;Dirk Weber&lt;/A&gt; ,&lt;/P&gt;&lt;P style="margin-bottom: 12pt;"&gt;Previously other customers reported similar issue like this.&lt;/P&gt;&lt;P style="margin-bottom: 12pt;"&gt;In U-Boot file /fs/fat/fat.c, function get_contents() line 365, we think that this original fat.c code can not support under 4096 byte. It's needed to modify the line 359~363 and 390 as support under 4096 byte.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 10:10:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/U-Boot-timeout-on-sata-load-but-no-error-detected/m-p/848965#M2838</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2018-08-10T10:10:44Z</dc:date>
    </item>
  </channel>
</rss>

