<?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>LayerscapeのトピックCross compiled lib for LS1028ARDB</title>
    <link>https://community.nxp.com/t5/Layerscape/Cross-compiled-lib-for-LS1028ARDB/m-p/1043684#M5864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to put a cross complied LLDP binary into the board. I have cross compiled it following the steps below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$ export PATH=/home/user/gcc-linaro-4.9-2016.02-x86_64_aarch64-linux-gnu/bin:$PATH&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;$ export CROSS_COMPILE=aarch64-linux-gnu-&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$ ./autogen.sh&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;$ ./configure --target=aarch64-linux-gnu CPPFLAGS=-Wno-error=unused-value&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;$ make&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After following the above steps when I check the binary file this is what I see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$file lldpd&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;lldpd: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=4ba8bb6ce2e0dffc427a6b43c12d735815cfcffe, with debug_info, not stripped&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this library is ready to be used in the LS1028ARDB board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is, how do I use this library? Shall I just copy this binary in a directory in the board and run it? Or do I need to do some configuration inside the board to run it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me understand this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sameer&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2020 10:08:52 GMT</pubDate>
    <dc:creator>sameer_chouksey</dc:creator>
    <dc:date>2020-06-30T10:08:52Z</dc:date>
    <item>
      <title>Cross compiled lib for LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/Cross-compiled-lib-for-LS1028ARDB/m-p/1043684#M5864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to put a cross complied LLDP binary into the board. I have cross compiled it following the steps below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$ export PATH=/home/user/gcc-linaro-4.9-2016.02-x86_64_aarch64-linux-gnu/bin:$PATH&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;$ export CROSS_COMPILE=aarch64-linux-gnu-&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$ ./autogen.sh&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;$ ./configure --target=aarch64-linux-gnu CPPFLAGS=-Wno-error=unused-value&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;$ make&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After following the above steps when I check the binary file this is what I see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$file lldpd&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;lldpd: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=4ba8bb6ce2e0dffc427a6b43c12d735815cfcffe, with debug_info, not stripped&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this library is ready to be used in the LS1028ARDB board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is, how do I use this library? Shall I just copy this binary in a directory in the board and run it? Or do I need to do some configuration inside the board to run it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me understand this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sameer&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2020 10:08:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Cross-compiled-lib-for-LS1028ARDB/m-p/1043684#M5864</guid>
      <dc:creator>sameer_chouksey</dc:creator>
      <dc:date>2020-06-30T10:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compiled lib for LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/Cross-compiled-lib-for-LS1028ARDB/m-p/1043685#M5865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://community.mellanox.com/s/article/howto-enable-lldp-on-linux-servers-for-link-discovery" title="https://community.mellanox.com/s/article/howto-enable-lldp-on-linux-servers-for-link-discovery"&gt;https://community.mellanox.com/s/article/howto-enable-lldp-on-linux-servers-for-link-discovery&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://vincentbernat.github.io/lldpd/usage.html" title="https://vincentbernat.github.io/lldpd/usage.html"&gt;lldpd » implementation of IEEE 802.1AB | Usage&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2020 08:37:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Cross-compiled-lib-for-LS1028ARDB/m-p/1043685#M5865</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-07-01T08:37:09Z</dc:date>
    </item>
  </channel>
</rss>

