<?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: Make error while adding support for custom board in u-boot. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Make-error-while-adding-support-for-custom-board-in-u-boot/m-p/1080637#M158563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had incorrectly changed soc field in board/vendor/Kconfig.&lt;/P&gt;&lt;P&gt;Setting it solved the issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2020 11:37:29 GMT</pubDate>
    <dc:creator>sujay1</dc:creator>
    <dc:date>2020-08-14T11:37:29Z</dc:date>
    <item>
      <title>Make error while adding support for custom board in u-boot.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Make-error-while-adding-support-for-custom-board-in-u-boot/m-p/1080635#M158561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a custom board based on ls1021atwr and I've added a layer in u-boot (u-boot 2016) board file as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u-boot/git/board/my_vendor/board_name/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied the .c file, Makefile and kconfig and placed in this folder.&lt;/P&gt;&lt;P&gt;I then followed all steps mentioned in the answer to this thread:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/380164#comment-590485" title="https://community.nxp.com/thread/380164#comment-590485"&gt;https://community.nxp.com/thread/380164#comment-590485&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but while building with&amp;nbsp;bitbake -C compile virtual/bootloader I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;| make[1]: *** No rule to make target `board/vendor/board_name/board_name.o', needed by `&lt;SPAN&gt;board/vendor/board_name&lt;/SPAN&gt;/built-in.o'. Stop.&lt;BR /&gt;| make: *** [&lt;SPAN&gt;board/vendor/board_name&lt;/SPAN&gt;] Error 2&lt;BR /&gt;| make: *** Waiting for unfinished jobs....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me what I'm missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 12:20:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Make-error-while-adding-support-for-custom-board-in-u-boot/m-p/1080635#M158561</guid>
      <dc:creator>sujay1</dc:creator>
      <dc:date>2020-08-11T12:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Make error while adding support for custom board in u-boot.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Make-error-while-adding-support-for-custom-board-in-u-boot/m-p/1080636#M158562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. In Yocto environment please create&amp;nbsp;meta-freescale/conf/machine/&amp;lt;customboard&amp;gt;.conf.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;$ source setup-env -m&amp;nbsp;&amp;lt;customboard&amp;gt;&lt;/P&gt;&lt;P&gt;3. $ bitbake u-boot -c cleansstate&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; $ bitbake u-boot -c patch&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Go to folder&amp;nbsp;build_&amp;lt;customboard&amp;gt;/tmp/work/&amp;lt;customboard&amp;gt;-fsl-linux/u-boot-qoriq/2018.09+fslgit-r0/git/.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4 . Please create folder&amp;nbsp;board/freescale/&amp;lt;customboard&amp;gt; for your target board, please put Makefile, Kconfig and .c file in this folder.&lt;/P&gt;&lt;P&gt;5. Please create header file&amp;nbsp;include/configs/&amp;lt;customerboard&amp;gt;.h based on&amp;nbsp;ls1021atwr.h.&lt;/P&gt;&lt;P&gt;6. Please add configs/&amp;lt;customboard&amp;gt;_nor_defconfig based on&amp;nbsp;ls1021atwr_nor_defconfig.&lt;/P&gt;&lt;P&gt;7. Go to folder&amp;nbsp;&lt;SPAN&gt;build_&amp;lt;customboard&amp;gt;, execute "bitbake u-boot -c compile", if failed go to step 4 to continue to modify u-boot source code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;8. $bitbake u-boot&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 07:37:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Make-error-while-adding-support-for-custom-board-in-u-boot/m-p/1080636#M158562</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-08-14T07:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Make error while adding support for custom board in u-boot.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Make-error-while-adding-support-for-custom-board-in-u-boot/m-p/1080637#M158563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had incorrectly changed soc field in board/vendor/Kconfig.&lt;/P&gt;&lt;P&gt;Setting it solved the issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 11:37:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Make-error-while-adding-support-for-custom-board-in-u-boot/m-p/1080637#M158563</guid>
      <dc:creator>sujay1</dc:creator>
      <dc:date>2020-08-14T11:37:29Z</dc:date>
    </item>
  </channel>
</rss>

