<?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: Error While building for M4_image.bin</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004816#M148926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the OV5640 camera in M4 Core.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Configure the camera&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;EM style="background-color: #ffffff; color: #51626f; "&gt;source/vendor/nxp/mcu-sdk-auto/SDK_MEK-MIMX8QM/boards/mekmimx8qm/demo_apps/rear_view_camera/ cm4_core1/isi_config.h&lt;/EM&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;STRONG&gt;- #define CAMERA_DEVICE CAMERA_DEVICE_MAX9286&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;STRONG&gt;+ #define CAMERA_DEVICE CAMERA_DEVICE_OV5640&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Resolve build error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;After I changed I got the build error,&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;/home/sek/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: ddr_release/rear_view_camera.elf section `.ncache' will not fit in region `m_data2'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;/home/sek/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: region `m_data2' overflowed by 3874816 bytes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fixed by,&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;STRONG style="background-color: #f6f6f6; color: #51626f; "&gt;- m_data2 (RW) : ORIGIN = 0x89000000, LENGTH = 0x01800000&lt;/STRONG&gt;&lt;BR style="color: #51626f;" /&gt;&lt;STRONG style="background-color: #f6f6f6; color: #51626f; "&gt;+ m_data2 (RW) : ORIGIN = 0x89000000, LENGTH = 0x01BB2000&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I got kernel crash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;STRONG&gt;[&amp;nbsp; &amp;nbsp;39.354186] kernel BUG at /home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/vendor/nxp-opensource/kernel_imx/include/linux/dma-mapping.h:408!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following questions regarding my implementation,&lt;/P&gt;&lt;P&gt;1. Is it everything OK ?&lt;/P&gt;&lt;P&gt;2. Do I needs to do some more configuration ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;VinothS,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Feb 2020 05:20:25 GMT</pubDate>
    <dc:creator>vinothkumars</dc:creator>
    <dc:date>2020-02-05T05:20:25Z</dc:date>
    <item>
      <title>Error While building for M4_image.bin</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004812#M148922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will you please give some fix for this build error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;ddr_release/rear_view_camera.elf section `.ncache' will not fit in region `m_data2'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG style="color: #3d3d3d; "&gt;&lt;STRONG&gt;region `m_data2' overflowed by 3874816 bytes&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sek@IVm:~/Documents/VINOTH/IndiEV-IMX8-A9/source$ &lt;STRONG&gt;make bootloader -j4&lt;/STRONG&gt;&lt;BR /&gt;============================================&lt;BR /&gt;PLATFORM_VERSION_CODENAME=REL&lt;BR /&gt;PLATFORM_VERSION=9&lt;BR /&gt;TARGET_PRODUCT=mek_8q_car&lt;BR /&gt;TARGET_BUILD_VARIANT=userdebug&lt;BR /&gt;TARGET_BUILD_TYPE=release&lt;BR /&gt;TARGET_ARCH=arm64&lt;BR /&gt;TARGET_ARCH_VARIANT=armv8-a&lt;BR /&gt;TARGET_CPU_VARIANT=cortex-a53&lt;BR /&gt;TARGET_2ND_ARCH=arm&lt;BR /&gt;TARGET_2ND_ARCH_VARIANT=armv7-a-neon&lt;BR /&gt;TARGET_2ND_CPU_VARIANT=cortex-a9&lt;BR /&gt;HOST_ARCH=x86_64&lt;BR /&gt;HOST_2ND_ARCH=x86&lt;BR /&gt;HOST_OS=linux&lt;BR /&gt;HOST_OS_EXTRA=Linux-4.15.0-74-generic-x86_64-Ubuntu-16.04.6-LTS&lt;BR /&gt;HOST_CROSS_OS=windows&lt;BR /&gt;HOST_CROSS_ARCH=x86&lt;BR /&gt;HOST_CROSS_2ND_ARCH=x86_64&lt;BR /&gt;HOST_BUILD_TYPE=release&lt;BR /&gt;BUILD_ID=2.1.1-auto-ga-rc1&lt;BR /&gt;OUT_DIR=out&lt;BR /&gt;============================================&lt;BR /&gt;ninja: no work to do.&lt;BR /&gt;ninja: no work to do.&lt;BR /&gt;No need to regenerate ninja file&lt;BR /&gt;No need to regenerate ninja file&lt;BR /&gt;[ 33% 1/3] Building M4 image for UBoot ...&lt;BR /&gt;FAILED: UBOOT_M4_BIN&lt;BR /&gt;/bin/bash -c "cmake_version=\$(cmake --version | head -n 1 | tr \" \" \"\\n\" | tail -n 1); req_version=\"3.13.0\"; if [ \"\$(echo \"\$cmake_version \$req_version\" | tr \" \" \"\\n\" | sort -V | head -n 1)\" != \"\$req_version\" ]; then echo \"please upgrade cmake version to 3.13.0 or newer\"; exit 1; fi; mkdir -p out/target/product/mek_8q/obj/MCU_OBJ/MIMX8QM; cmake -DCMAKE_TOOLCHAIN_FILE=\"../../../../../../tools/cmake_toolchain_files/armgcc.cmake\" -G \"Unix Makefiles\" -DCMAKE_BUILD_TYPE=ddr_release -S vendor/nxp/mcu-sdk-auto/SDK_MEK-MIMX8QM/boards/mekmimx8qm/demo_apps/rear_view_camera/cm4_core1/armgcc -B out/target/product/mek_8q/obj/MCU_OBJ/MIMX8QM 1&amp;gt;/dev/null || exit 1; make -j2 SHELL=/bin/bash -C out/target/product/mek_8q/obj/MCU_OBJ/MIMX8QM 1&amp;gt;/dev/null || exit 1; mkdir -p out/target/product/mek_8q/obj/MCU_OBJ/MIMX8QX; cmake -DCMAKE_TOOLCHAIN_FILE=\"../../../../../tools/cmake_toolchain_files/armgcc.cmake\" -G \"Unix Makefiles\" -DCMAKE_BUILD_TYPE=ddr_release -S vendor/nxp/mcu-sdk-auto/SDK_MEK-MIMX8QX/boards/mekmimx8qx/demo_apps/rear_view_camera/armgcc -B out/target/product/mek_8q/obj/MCU_OBJ/MIMX8QX 1&amp;gt;/dev/null || exit 1; make -j2 SHELL=/bin/bash -C out/target/product/mek_8q/obj/MCU_OBJ/MIMX8QX 1&amp;gt;/dev/null || exit 1"&lt;BR /&gt;CMake Deprecation Warning at /home/emb-vinosek/cmake-3.13.2/Modules/CMakeForceCompiler.cmake:69 (message):&lt;BR /&gt; The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set&lt;BR /&gt; CMAKE_C_COMPILER and allow CMake to identify the compiler.&lt;BR /&gt;Call Stack (most recent call first):&lt;BR /&gt; /home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/vendor/nxp/mcu-sdk-auto/SDK_MEK-MIMX8QM/tools/cmake_toolchain_files/armgcc.cmake:33 (CMAKE_FORCE_C_COMPILER)&lt;BR /&gt; /home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/out/target/product/mek_8q/obj/MCU_OBJ/MIMX8QM/CMakeFiles/3.13.2/CMakeSystem.cmake:6 (include)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CMake Deprecation Warning at /home/emb-vinosek/cmake-3.13.2/Modules/CMakeForceCompiler.cmake:83 (message):&lt;BR /&gt; The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set&lt;BR /&gt; CMAKE_CXX_COMPILER and allow CMake to identify the compiler.&lt;BR /&gt;Call Stack (most recent call first):&lt;BR /&gt; /home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/vendor/nxp/mcu-sdk-auto/SDK_MEK-MIMX8QM/tools/cmake_toolchain_files/armgcc.cmake:34 (CMAKE_FORCE_CXX_COMPILER)&lt;BR /&gt; /home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/out/target/product/mek_8q/obj/MCU_OBJ/MIMX8QM/CMakeFiles/3.13.2/CMakeSystem.cmake:6 (include)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;/home/emb-vinosek/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: ddr_release/rear_view_camera.elf section `.ncache' will not fit in region `m_data2'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;/home/emb-vinosek/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: region `m_data2' overflowed by 3874816 bytes&lt;/STRONG&gt;&lt;BR /&gt;collect2: error: ld returned 1 exit status&lt;BR /&gt;make[2]: *** [ddr_release/rear_view_camera.elf] Error 1&lt;BR /&gt;make[1]: *** [CMakeFiles/rear_view_camera.elf.dir/all] Error 2&lt;BR /&gt;make: *** [all] Error 2&lt;BR /&gt;ninja: build stopped: subcommand failed.&lt;BR /&gt;15:09:52 ninja failed with: exit status 1&lt;/P&gt;&lt;P&gt;#### failed to build some targets (18 seconds) ####&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;VinothS,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2020 14:31:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004812#M148922</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2020-01-27T14:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error While building for M4_image.bin</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004813#M148923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi VinothS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for iar "ncache" examples one can look at SDK_EVK-MIMX8M Mini, in&lt;/P&gt;&lt;P&gt;board.c, function BOARD_InitMemory()&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 00:21:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004813#M148923</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-01-28T00:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error While building for M4_image.bin</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004814#M148924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Igorpadykov for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fixed this build error by increasing the m_data2 lenght in the file MIMX8QM6xxxFF_cm4_core1_ddr_ram.ld&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;- m_data2 (RW) : ORIGIN = 0x89000000, LENGTH = 0x01800000&lt;BR /&gt;+ m_data2 (RW) : ORIGIN = 0x89000000, LENGTH = 0x01BB2000&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed this thread&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/1051954?commentID=1051954#comment-1051954" title="https://community.nxp.com/message/1051954?commentID=1051954#comment-1051954"&gt;https://community.nxp.com/message/1051954?commentID=1051954#comment-1051954&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it right way, What I am doing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VinothS,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 03:45:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004814#M148924</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2020-01-28T03:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error While building for M4_image.bin</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004815#M148925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per nxp release node (android_p9.0.0_2.1.1-auto-ga_doc/Android_Release_Notes),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;camera&amp;nbsp;MAX9826 is tested with imx8qm-mek.&amp;nbsp;But, provided camera is ov5640 (&lt;A class="link-titled" href="https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/i.mx-8-series-accessory-boards:i.MX8-ACCESSORY-BOARDS" title="https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/i.mx-8-series-accessory-boards:i.MX8-ACCESSORY-BOARDS"&gt;i.MX 8 Series Accessory Boards | NXP&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I configured for ov5640.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source/vendor/nxp/mcu-sdk-auto/SDK_MEK-MIMX8QM/boards/mekmimx8qm/demo_apps/rear_view_camera/ cm4_core1/isi_config.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;- #define CAMERA_DEVICE CAMERA_DEVICE_MAX9286&lt;/P&gt;&lt;P&gt;+ #define CAMERA_DEVICE CAMERA_DEVICE_OV5640&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I changed the camera device only I got the build error. eventhough I fix this error by increasing m_data2 length, got kernel crash when using M4 console to start RVC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;VinothS,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 11:53:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004815#M148925</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2020-01-28T11:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error While building for M4_image.bin</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004816#M148926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the OV5640 camera in M4 Core.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Configure the camera&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;EM style="background-color: #ffffff; color: #51626f; "&gt;source/vendor/nxp/mcu-sdk-auto/SDK_MEK-MIMX8QM/boards/mekmimx8qm/demo_apps/rear_view_camera/ cm4_core1/isi_config.h&lt;/EM&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;STRONG&gt;- #define CAMERA_DEVICE CAMERA_DEVICE_MAX9286&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;STRONG&gt;+ #define CAMERA_DEVICE CAMERA_DEVICE_OV5640&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Resolve build error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;After I changed I got the build error,&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;/home/sek/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: ddr_release/rear_view_camera.elf section `.ncache' will not fit in region `m_data2'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;/home/sek/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: region `m_data2' overflowed by 3874816 bytes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fixed by,&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;STRONG style="background-color: #f6f6f6; color: #51626f; "&gt;- m_data2 (RW) : ORIGIN = 0x89000000, LENGTH = 0x01800000&lt;/STRONG&gt;&lt;BR style="color: #51626f;" /&gt;&lt;STRONG style="background-color: #f6f6f6; color: #51626f; "&gt;+ m_data2 (RW) : ORIGIN = 0x89000000, LENGTH = 0x01BB2000&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I got kernel crash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;STRONG&gt;[&amp;nbsp; &amp;nbsp;39.354186] kernel BUG at /home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/vendor/nxp-opensource/kernel_imx/include/linux/dma-mapping.h:408!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following questions regarding my implementation,&lt;/P&gt;&lt;P&gt;1. Is it everything OK ?&lt;/P&gt;&lt;P&gt;2. Do I needs to do some more configuration ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;VinothS,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 05:20:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004816#M148926</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2020-02-05T05:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error While building for M4_image.bin</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004817#M148927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you increase&amp;nbsp;&lt;STRONG style="color: #51626f; background-color: #f6f6f6; border: 0px; font-weight: bold;"&gt;m_data2,&lt;/STRONG&gt;&amp;nbsp;I think you should check the reserved-memory in Android device tree if there is any duplicate region.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2020 01:58:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004817#M148927</guid>
      <dc:creator>jinchen1227</dc:creator>
      <dc:date>2020-03-18T01:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error While building for M4_image.bin</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004818#M148928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chen King,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for&amp;nbsp; your reply and I fixed this issue and this is my patch,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;-&amp;nbsp; m_data2 (RW) : ORIGIN = 0x89002800, LENGTH = 0x017FD800&lt;/P&gt;&lt;P&gt;+ m_data2 (RW) : ORIGIN = 0x89000000, LENGTH = 0x07000000&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Vinoth S,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2020 07:08:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-While-building-for-M4-image-bin/m-p/1004818#M148928</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2020-03-18T07:08:46Z</dc:date>
    </item>
  </channel>
</rss>

