<?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 how to use float operation in uboot codes in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-float-operation-in-uboot-codes/m-p/1071182#M157330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am porting some of functions those are using float operation, after build, there are some of link error.&lt;/P&gt;&lt;P&gt;My kernel version is 4.14.98 and u-boot version is kernel's package.&lt;/P&gt;&lt;P&gt;link error is below:&lt;/P&gt;&lt;P&gt;"undefined reference to '__aeabi_fmul'"&lt;/P&gt;&lt;P&gt;Should I modify compile and link option? if so, where can i modify and some of points.&lt;/P&gt;&lt;P&gt;Please share me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2020 01:11:44 GMT</pubDate>
    <dc:creator>yibhan</dc:creator>
    <dc:date>2020-07-07T01:11:44Z</dc:date>
    <item>
      <title>how to use float operation in uboot codes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-float-operation-in-uboot-codes/m-p/1071182#M157330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am porting some of functions those are using float operation, after build, there are some of link error.&lt;/P&gt;&lt;P&gt;My kernel version is 4.14.98 and u-boot version is kernel's package.&lt;/P&gt;&lt;P&gt;link error is below:&lt;/P&gt;&lt;P&gt;"undefined reference to '__aeabi_fmul'"&lt;/P&gt;&lt;P&gt;Should I modify compile and link option? if so, where can i modify and some of points.&lt;/P&gt;&lt;P&gt;Please share me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 01:11:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-use-float-operation-in-uboot-codes/m-p/1071182#M157330</guid>
      <dc:creator>yibhan</dc:creator>
      <dc:date>2020-07-07T01:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to use float operation in uboot codes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-float-operation-in-uboot-codes/m-p/1071183#M157331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My psudo codes is below:&lt;/P&gt;&lt;P&gt;float pdiff = (float) (int temp);&lt;/P&gt;&lt;P&gt;float ratio = (float) (int temp1(/ (int temp2);&lt;/P&gt;&lt;P&gt;int tmpval = (int) ( int temp3 + pdiff * ratio);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 01:15:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-use-float-operation-in-uboot-codes/m-p/1071183#M157331</guid>
      <dc:creator>yibhan</dc:creator>
      <dc:date>2020-07-07T01:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to use float operation in uboot codes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-float-operation-in-uboot-codes/m-p/1071184#M157332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/yibhan@eosystem.com"&gt;yibhan@eosystem.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; U-boot is not intended to support floating point; it should provide minimal&lt;/P&gt;&lt;P&gt;options just to boot a Linux system. You may look at Chapter 3 (Porting U-Boot)&lt;/P&gt;&lt;P&gt;of ''i.MX_Porting_Guide.pdf" in NXP Linux documentation and try to modify&lt;/P&gt;&lt;P&gt;building options in make file, but, again, floating point support has been never&lt;/P&gt;&lt;P&gt;tested and guaranteed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 05:31:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-use-float-operation-in-uboot-codes/m-p/1071184#M157332</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-07-07T05:31:11Z</dc:date>
    </item>
  </channel>
</rss>

