<?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 U-boot build error for custom board based on LS1043A in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/U-boot-build-error-for-custom-board-based-on-LS1043A/m-p/897700#M4192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to compile u-boot for a custom board based on LS1043A. I create board_sdcard_defconfig, I create a board directory with board specific files (board.c, ddr.c and also pbi.cfg and rcw.cfg etc), configs/board.h &amp;amp;&amp;nbsp;&lt;SPAN&gt;configs/board_common.h&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have enabled CONFIG_SPL in the defconfig.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I compile u-boot with make&amp;nbsp;&lt;SPAN&gt;board_sdcard_defconfig it gives me error as:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;make[1]: *** No rule to make target `checkarmreloc', needed by `all'. Stop.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;make: *** [spl/u-boot-spl] Error 2&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;(please see attached u-boot compile error.img and log as well).&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I compile u-boot for QSPI boot with board_qspi_defconfig, it compiles with no error and outputs u-boot-dtb.bin. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the cause of this compilation error and how can I solve this u-boot&amp;nbsp;build issue. If you could outline what steps should I follow&amp;nbsp;to build/compile u-boot for a custom board. I have access to NXP RDB, the source files of which I use as reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 May 2019 03:34:37 GMT</pubDate>
    <dc:creator>kedar_lahurikar</dc:creator>
    <dc:date>2019-05-01T03:34:37Z</dc:date>
    <item>
      <title>U-boot build error for custom board based on LS1043A</title>
      <link>https://community.nxp.com/t5/Layerscape/U-boot-build-error-for-custom-board-based-on-LS1043A/m-p/897700#M4192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to compile u-boot for a custom board based on LS1043A. I create board_sdcard_defconfig, I create a board directory with board specific files (board.c, ddr.c and also pbi.cfg and rcw.cfg etc), configs/board.h &amp;amp;&amp;nbsp;&lt;SPAN&gt;configs/board_common.h&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have enabled CONFIG_SPL in the defconfig.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I compile u-boot with make&amp;nbsp;&lt;SPAN&gt;board_sdcard_defconfig it gives me error as:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;make[1]: *** No rule to make target `checkarmreloc', needed by `all'. Stop.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;make: *** [spl/u-boot-spl] Error 2&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;(please see attached u-boot compile error.img and log as well).&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I compile u-boot for QSPI boot with board_qspi_defconfig, it compiles with no error and outputs u-boot-dtb.bin. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the cause of this compilation error and how can I solve this u-boot&amp;nbsp;build issue. If you could outline what steps should I follow&amp;nbsp;to build/compile u-boot for a custom board. I have access to NXP RDB, the source files of which I use as reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2019 03:34:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/U-boot-build-error-for-custom-board-based-on-LS1043A/m-p/897700#M4192</guid>
      <dc:creator>kedar_lahurikar</dc:creator>
      <dc:date>2019-05-01T03:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot build error for custom board based on LS1043A</title>
      <link>https://community.nxp.com/t5/Layerscape/U-boot-build-error-for-custom-board-based-on-LS1043A/m-p/897701#M4193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Usually the following command sequence is used for u-boot building if SDK based on Yocto is used:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;bitbake -c cleansstate u-boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;bitbake -c patch u-boot // source of the u-boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;bitbake -c compile -f u-boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;bitbake u-boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;The following commands are used for u-boot building if LSDK is used:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;flex-builder -c uboot -m ls1043ardb -b nor // for NOR boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;flex-builder -c uboot -m ls1043ardb -b sd // for SD boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;flex-builder -c uboot -m ls1043ardb -b nand // for NAND boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;flex-builder -c uboot -m ls1043ardb -b qspi // for QSPI boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Do you use these SDK from NXP?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 10:16:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/U-boot-build-error-for-custom-board-based-on-LS1043A/m-p/897701#M4193</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2019-05-06T10:16:18Z</dc:date>
    </item>
  </channel>
</rss>

