<?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>i.MX ProcessorsのトピックRe: Compiling u-boot-imx after driver update results in fail</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-u-boot-imx-after-driver-update-results-in-fail/m-p/1911494#M226343</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products,&lt;/P&gt;
&lt;P&gt;I found &lt;A href="https://stackoverflow.com/questions/47047209/how-to-change-the-config-of-u-boot-in-yocto" target="_self"&gt;this record&lt;/A&gt; of u-boot modifications in yocto which (in the addendum) seems to correctly override the defconfig, could you try it?&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2024 15:48:37 GMT</pubDate>
    <dc:creator>JosephAtNXP</dc:creator>
    <dc:date>2024-07-18T15:48:37Z</dc:date>
    <item>
      <title>Compiling u-boot-imx after driver update results in fail</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-u-boot-imx-after-driver-update-results-in-fail/m-p/1910728#M226288</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried updating the&amp;nbsp;mx6ul_14x14_evk_config/.config file by applying a .bbappend on it and it worked, my driver is going from:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# CONFIG_DRIVER_TI_CPSW is not set
to
CONFIG_DRIVER_TI_CPSW=y&lt;/LI-CODE&gt;&lt;P&gt;But when I do "bitbake u-boot-imx" I have the following compiling error:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.config:1752:warning: override: reassigning to symbol DRIVER_TI_CPSW&lt;/LI-CODE&gt;&lt;P&gt;And a bunch of other errors regarding drivers in the log file. I don't know why updating a driver might corrupt the compile process of the u-boot!&lt;/P&gt;&lt;P&gt;See full log file as attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 17:58:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-u-boot-imx-after-driver-update-results-in-fail/m-p/1910728#M226288</guid>
      <dc:creator>Clemtos</dc:creator>
      <dc:date>2024-07-17T17:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling u-boot-imx after driver update results in fail</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-u-boot-imx-after-driver-update-results-in-fail/m-p/1911494#M226343</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products,&lt;/P&gt;
&lt;P&gt;I found &lt;A href="https://stackoverflow.com/questions/47047209/how-to-change-the-config-of-u-boot-in-yocto" target="_self"&gt;this record&lt;/A&gt; of u-boot modifications in yocto which (in the addendum) seems to correctly override the defconfig, could you try it?&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 15:48:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-u-boot-imx-after-driver-update-results-in-fail/m-p/1911494#M226343</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2024-07-18T15:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling u-boot-imx after driver update results in fail</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-u-boot-imx-after-driver-update-results-in-fail/m-p/1911509#M226346</link>
      <description>&lt;P&gt;Hi Joseph,&lt;/P&gt;&lt;P&gt;Unfortunately I already did what this SO is doing by applying a patch&amp;nbsp; but it was not working.&lt;/P&gt;&lt;P&gt;I created a .bbappend file with the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FILESEXTRAPATHS:preprend := "${THISDIR}/files:"
SRC_URI:append = " file://u-boot-custom.cfg"

do_configure:append() {
    cat ${WORKDIR}/u-boot-custom.cfg &amp;gt;&amp;gt; ${B}/mx6ul_14x14_evk_config/.config
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I was running &lt;STRONG&gt;&lt;EM&gt;bitbake u-boot-imx&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;I had a compile error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fatal error: asm/arch/cpu.h: No such file or directory
   25 | #include &amp;lt;asm/arch/cpu.h&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I manually modified the file to remove the asm/arch in the include to be able to successfully compile. I don't know if my modifications were correct but it compiled the u-boot-imx.&lt;/P&gt;&lt;P&gt;After this I generated a .wic image with the new u-boot and flashed it on my SD Card but I encounter a boot problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;U-Boot 2022.04-lf_v2022.04+g1c881f4da83 (Jun 07 2022 - 05:16:02 +0000)

CPU:   i.MX6ULL rev1.1 900 MHz (running at 396 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 38C
Reset cause: POR
Model: Freescale i.MX6 UltraLite 14x14 EVK Board
Board: MX6UL 14x14 EVK
DRAM:  512 MiB
Core:  63 devices, 18 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

[*]-Video Link 0 (480 x 272)
        [0] lcdif@21c8000, video
In:    serial
Out:   serial
Err:   serial
data abort
pc : [&amp;lt;9eea1f16&amp;gt;]          lr : [&amp;lt;9eec0b39&amp;gt;]
reloc pc : [&amp;lt;87824f16&amp;gt;]    lr : [&amp;lt;87843b39&amp;gt;]
sp : 9de738a0  ip : 9de7388c     fp : 87800020
r10: 00000017  r9 : 9de7aec0     r8 : 00000100
r7 : 021bc400  r6 : 9eecdb46     r5 : 00000000  r4 : 9de7d9d0
r3 : ffffffff  r2 : 02140000     r1 : 00006cc8  r0 : ffffffff
Flags: NzCv  IRQs off  FIQs off  Mode SVC_32 (T)
Code: 1e03 9300 da0e 6822 (6853) b125
Resetting CPU ...

resetting ...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any clue ? Thanks a lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 16:02:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-u-boot-imx-after-driver-update-results-in-fail/m-p/1911509#M226346</guid>
      <dc:creator>Clemtos</dc:creator>
      <dc:date>2024-07-18T16:02:50Z</dc:date>
    </item>
  </channel>
</rss>

