<?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: BSP24.0 Yocto u-boot compilation error in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/BSP24-0-Yocto-u-boot-compilation-error/m-p/1082135#M1762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have this issue. The reason seems to be the environment is never cleaned automatically so if you have this error just run:&lt;/P&gt;&lt;PRE&gt;bitbake -c cleansstate u-boot-environment&lt;/PRE&gt;&lt;P&gt;before building the image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be nice if the environment recipe could do this automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2020 06:24:41 GMT</pubDate>
    <dc:creator>f_frank</dc:creator>
    <dc:date>2020-06-19T06:24:41Z</dc:date>
    <item>
      <title>BSP24.0 Yocto u-boot compilation error</title>
      <link>https://community.nxp.com/t5/S32-SDK/BSP24-0-Yocto-u-boot-compilation-error/m-p/1082134#M1761</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 using bsp24.0 and trying to build u-boot with my own patch, this patch is only&amp;nbsp;reconfig some ddr pins due to hardwar pins swapping, when I applied this patch, "bitbake -c compile -f u-boot" is able to pass, but when I did "bitbake fsl-image-base", I got&amp;nbsp;&lt;SPAN&gt;environment file is too large error, see below please. I did cleansstate and clean for both uboot and fsl-image-base before building.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: u-boot-environment-1.0+fslgit-r0 do_compile: Execution of '/home/xhu/workspace/fsl-auto-yocto-bsp/build_s32g274aevb/tmp/work/aarch64-fsl-linux/u-boot-environment/1.0+fslgit-r0/temp/run.do_compile.12603' failed with exit code 1:&lt;BR /&gt;*** / *** 8192 ***&lt;BR /&gt;The environment file is too large for the target environment storage&lt;BR /&gt;WARNING: exit code 1 from a shell command.&lt;/P&gt;&lt;P&gt;ERROR: Logfile of failure stored in: /home/xhu/workspace/fsl-auto-yocto-bsp/build_s32g274aevb/tmp/work/aarch64-fsl-linux/u-boot-environment/1.0+fslgit-r0/temp/log.do_compile.12603&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My patch is pretty simple, did not touch any env related files, ddr only, see below&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;board/freescale/s32-gen1/ddrss_regconf.c | 3 ++&lt;BR /&gt; board/freescale/s32-gen1/ddrss_s32g274a.c | 56 ++++++++++++++++++++++++++++++-&lt;BR /&gt; 2 files changed, 58 insertions(+), 1 deletion(-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the bb file I add my for own patch, the 0001 patch is the default from bsp24.0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;diff --git a/recipes-bsp/u-boot/u-boot-s32_2018.07.bb b/recipes-bsp/u-boot/u-boot-s32_2018.07.bb&lt;BR /&gt;index c024cc6..3c64872 100644&lt;BR /&gt;--- a/recipes-bsp/u-boot/u-boot-s32_2018.07.bb&lt;BR /&gt;+++ b/recipes-bsp/u-boot/u-boot-s32_2018.07.bb&lt;BR /&gt;@@ -7,4 +7,5 @@ SRCREV = "f4d904327e7d7f807bfcbfe5312eea92875c37cc"&lt;BR /&gt; # Support for generating default environment&lt;BR /&gt; SRC_URI += " \&lt;BR /&gt; file://0001-env-Add-Makefile-rule-to-generate-default-environment-2018.patch \&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;file://0003-DRAM-config-for-safety-controller.patch \&lt;/SPAN&gt;&lt;BR /&gt;+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me anything wrong on my approach or how to fix/bypass this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Xiaodong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2020 16:58:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/BSP24-0-Yocto-u-boot-compilation-error/m-p/1082134#M1761</guid>
      <dc:creator>xhu</dc:creator>
      <dc:date>2020-05-27T16:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: BSP24.0 Yocto u-boot compilation error</title>
      <link>https://community.nxp.com/t5/S32-SDK/BSP24-0-Yocto-u-boot-compilation-error/m-p/1082135#M1762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have this issue. The reason seems to be the environment is never cleaned automatically so if you have this error just run:&lt;/P&gt;&lt;PRE&gt;bitbake -c cleansstate u-boot-environment&lt;/PRE&gt;&lt;P&gt;before building the image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be nice if the environment recipe could do this automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2020 06:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/BSP24-0-Yocto-u-boot-compilation-error/m-p/1082135#M1762</guid>
      <dc:creator>f_frank</dc:creator>
      <dc:date>2020-06-19T06:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: BSP24.0 Yocto u-boot compilation error</title>
      <link>https://community.nxp.com/t5/S32-SDK/BSP24-0-Yocto-u-boot-compilation-error/m-p/1082136#M1763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Florian. You saved me a lot of time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Xiaodong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2020 01:11:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/BSP24-0-Yocto-u-boot-compilation-error/m-p/1082136#M1763</guid>
      <dc:creator>xhu</dc:creator>
      <dc:date>2020-07-01T01:11:47Z</dc:date>
    </item>
  </channel>
</rss>

