<?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: issue with uboot include/config.h in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/issue-with-uboot-include-config-h/m-p/840843#M128983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had found solution.&lt;/P&gt;&lt;P&gt;I need to modify device/fsl/FX100/Boardconfig.mk&lt;/P&gt;&lt;P&gt;And change&amp;nbsp;TARGET_BOOTLOADER_CONFIG parameter to&amp;nbsp;imx6q:mx6Qandroid_defconfig imx6dl:mx6DLandroid_defconfig.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it solve my problem!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Aug 2018 17:17:43 GMT</pubDate>
    <dc:creator>wangtsungli</dc:creator>
    <dc:date>2018-08-12T17:17:43Z</dc:date>
    <item>
      <title>issue with uboot include/config.h</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/issue-with-uboot-include-config-h/m-p/840842#M128982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on i.MX6 sabresd Quad and build Android 6.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While I build u-boot I follow below commands.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;make distclean&lt;/LI&gt;&lt;LI&gt;make mx6Qandoid_defconfig&lt;/LI&gt;&lt;LI&gt;make&amp;nbsp;-j8 2&amp;gt;&amp;amp;1 | tee uboot_err.log&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While the build process I get the error here.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;In file included from board/freescale/FM10A/FM10A.c:12:0:&lt;BR /&gt;./arch/arm/include/asm/arch/mx6-pins.h:46:2: error: #error "Please select cpu"&lt;BR /&gt; #error "Please select cpu"&lt;BR /&gt; ^&lt;BR /&gt; AS arch/arm/lib/vectors.o&lt;BR /&gt; CC arch/arm/imx-common/iomux-v3.o&lt;BR /&gt;In file included from board/freescale/FM10A/FM10A.c:38:0:&lt;BR /&gt;./arch/arm/include/asm/arch/mx6-ddr.h:19:2: error: #error "Please select cpu"&lt;BR /&gt; #error "Please select cpu"&lt;BR /&gt; ^&lt;BR /&gt; AS arch/arm/lib/crt0.o&lt;BR /&gt;board/freescale/FM10A/FM10A.c:98:2: error: 'MX6_PAD_CSI0_DAT10__UART1_TX_DATA' undeclared here (not in a function)&lt;BR /&gt; MX6_PAD_CSI0_DAT10__UART1_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;so I trace the code I find out that my include/config.h did not defined some parameter.&lt;/P&gt;&lt;P&gt;Below is my config.h&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/* Automatically generated - do not edit */&lt;BR /&gt;#define CONFIG_BOARDDIR board/freescale/FM10A&lt;BR /&gt;#include &amp;lt;config_defaults.h&amp;gt;&lt;BR /&gt;#include &amp;lt;config_uncmd_spl.h&amp;gt;&lt;BR /&gt;#include &amp;lt;configs/FM10A.h&amp;gt;&lt;BR /&gt;#include &amp;lt;asm/config.h&amp;gt;&lt;BR /&gt;#include &amp;lt;config_fallbacks.h&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What I miss are below define.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define CONFIG_IMX_CONFIG board/freescale/FM10A/mx6q_4x_mt41j128.cfg&lt;BR /&gt;#define CONFIG_MX6Q 1&lt;BR /&gt;#define CONFIG_ANDROID_SUPPORT 1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had check board/freescal/FM10A/MAINTAINER and Kconfig, two files is as below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MAINTAINER&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;MX6SABRESD BOARD&lt;BR /&gt;&lt;SPAN&gt;M: Fabio Estevam &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:fabio.estevam@freescale.com"&gt;fabio.estevam@freescale.com&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;S: Maintained&lt;BR /&gt;F: board/freescale/FM10A/&lt;BR /&gt;F: include/configs/FM10A.h&lt;BR /&gt;F: configs/mx6DLandroid_defconfig&lt;BR /&gt;F: configs/mx6Qandroid_defconfig&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Kconfig&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if TARGET_FM10A&lt;/P&gt;&lt;P&gt;config SYS_BOARD&lt;BR /&gt; default "FM10A"&lt;/P&gt;&lt;P&gt;config SYS_VENDOR&lt;BR /&gt; default "freescale"&lt;/P&gt;&lt;P&gt;config SYS_SOC&lt;BR /&gt; default "mx6"&lt;/P&gt;&lt;P&gt;config SYS_CONFIG_NAME&lt;BR /&gt; default "FM10A"&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Also I had check arch/arm/Kconfig, I did add a new target like below.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;config TARGET_FM10A&lt;BR /&gt; bool "Support FM10A"&lt;BR /&gt; select CPU_V7&lt;BR /&gt; select SUPPORT_SPL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source "board/freescale/FM10A/Kconfig"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I had check /configs/mx6Qandroid_defconfig, below is what I defined.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/FM10A/mx6q_1G.cfg,MX6Q,SYS_USE_SPINOR,ANDROID_SUPPORT"&lt;BR /&gt;CONFIG_ARM=y&lt;BR /&gt;CONFIG_TARGET_FM10A=y&lt;BR /&gt;CONFIG_SYS_MALLOC_F=y&lt;BR /&gt;CONFIG_SYS_MALLOC_F_LEN=0x400&lt;BR /&gt;CONFIG_DM=y&lt;BR /&gt;CONFIG_DM_THERMAL=y&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 08:27:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/issue-with-uboot-include-config-h/m-p/840842#M128982</guid>
      <dc:creator>wangtsungli</dc:creator>
      <dc:date>2018-08-10T08:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: issue with uboot include/config.h</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/issue-with-uboot-include-config-h/m-p/840843#M128983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had found solution.&lt;/P&gt;&lt;P&gt;I need to modify device/fsl/FX100/Boardconfig.mk&lt;/P&gt;&lt;P&gt;And change&amp;nbsp;TARGET_BOOTLOADER_CONFIG parameter to&amp;nbsp;imx6q:mx6Qandroid_defconfig imx6dl:mx6DLandroid_defconfig.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it solve my problem!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Aug 2018 17:17:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/issue-with-uboot-include-config-h/m-p/840843#M128983</guid>
      <dc:creator>wangtsungli</dc:creator>
      <dc:date>2018-08-12T17:17:43Z</dc:date>
    </item>
  </channel>
</rss>

