<?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: U-boot porting for custom board based on imx8M nano processor</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-porting-for-custom-board-based-on-imx8M-nano-processor/m-p/1692956#M209711</link>
    <description>&lt;P&gt;thanks &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/147542"&gt;@khang_letruong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this issue made me crazy for several hours. Not really clear why u-boot compiles without that dtsi.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2023 09:51:04 GMT</pubDate>
    <dc:creator>_angelo_</dc:creator>
    <dc:date>2023-07-26T09:51:04Z</dc:date>
    <item>
      <title>U-boot porting for custom board based on imx8M nano processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-porting-for-custom-board-based-on-imx8M-nano-processor/m-p/1479072#M191847</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;We have designed a custom board by referring to imx8M nano evk board. We have cloned the yocto source for honister branch and have made modifications in u-boot for taking our custom board files, custom dts and config files.&amp;nbsp; Our custom evk is named as imx8mn-evk2 . During the porting of u-boot following&amp;nbsp; changes have been made.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Copied&amp;nbsp;board/freescale/imx8mn_evk/ as&amp;nbsp;board/freescale/imx8mn_evk2/&lt;/P&gt;&lt;P&gt;2. Copied&amp;nbsp;include/configs/imx8mn_evk.h as&amp;nbsp;include/configs/imx8mn_evk2.h&lt;/P&gt;&lt;P&gt;3. Added the following code in arch/arm/mach-imx/imx8m/Kconfig file to source the custom board files.&lt;/P&gt;&lt;P&gt;diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig&lt;BR /&gt;index 245b085499..38a58df451 100644&lt;BR /&gt;--- a/arch/arm/mach-imx/imx8m/Kconfig&lt;BR /&gt;+++ b/arch/arm/mach-imx/imx8m/Kconfig&lt;BR /&gt;@@ -135,6 +135,16 @@ config TARGET_IMX8MN_EVK&lt;BR /&gt;select MISC&lt;BR /&gt;select SPL_CRYPTO_SUPPORT if SPL&lt;BR /&gt;&lt;BR /&gt;+config TARGET_IMX8MN_EVK2&lt;BR /&gt;+ bool "imx8mn LPDDR4 EVK2 board"&lt;BR /&gt;+ select IMX8MN&lt;BR /&gt;+ select SUPPORT_SPL&lt;BR /&gt;+ select IMX8M_LPDDR4&lt;BR /&gt;+ select FSL_CAAM&lt;BR /&gt;+ select FSL_BLOB&lt;BR /&gt;+ select MISC&lt;BR /&gt;+ select SPL_CRYPTO_SUPPORT if SPL&lt;BR /&gt;+&lt;BR /&gt;config TARGET_IMX8MN_DDR4_EVK&lt;BR /&gt;bool "imx8mn DDR4 EVK board"&lt;BR /&gt;select IMX8MN&lt;BR /&gt;@@ -267,6 +277,7 @@ source "board/freescale/imx8mm_ab2/Kconfig"&lt;BR /&gt;source "board/freescale/imx8mm_evk/Kconfig"&lt;BR /&gt;source "board/freescale/imx8mm_val/Kconfig"&lt;BR /&gt;source "board/freescale/imx8mn_evk/Kconfig"&lt;BR /&gt;+source "board/freescale/imx8mn_evk2/Kconfig"&lt;BR /&gt;source "board/freescale/imx8mp_evk/Kconfig"&lt;/P&gt;&lt;P&gt;4. Modified the board/freescale/imx8mm_evk2/Kconfig file to source the include files&lt;/P&gt;&lt;P&gt;if TARGET_IMX8MN_EVK2 || TARGET_IMX8MN_DDR4_EVK || TARGET_IMX8MN_DDR3_EVK&lt;/P&gt;&lt;P&gt;config SYS_BOARD&lt;BR /&gt;default "imx8mn_evk2"&lt;/P&gt;&lt;P&gt;config SYS_VENDOR&lt;BR /&gt;default "freescale"&lt;/P&gt;&lt;P&gt;config SYS_CONFIG_NAME&lt;BR /&gt;default "imx8mn_evk2"&lt;/P&gt;&lt;P&gt;config IMX8MN_LOW_DRIVE_MODE&lt;BR /&gt;bool "Enable the low drive mode of iMX8MN on EVK board"&lt;BR /&gt;default n&lt;/P&gt;&lt;P&gt;source "board/freescale/common/Kconfig"&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;5. Copied&amp;nbsp;arch/arm/dts/imx8mn-evk.dts as&amp;nbsp;arch/arm/dts/imx8mn-evk2.dts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;configs/imx8mn_evk_defconfig as&amp;nbsp;configs/imx8mn_evk2_defconfig&lt;/P&gt;&lt;P&gt;6. Modified the Makefile in arch/arm/dts/Makefile to compile the&amp;nbsp;&amp;nbsp;imx8mn-evk2.dts file.&lt;/P&gt;&lt;P&gt;7. The&amp;nbsp;imx8mn_evk2_defconfig is modified to take custom board files and dts files.&lt;/P&gt;&lt;P&gt;CONFIG_DEFAULT_FDT_FILE="imx8mn-evk2.dtb"&lt;/P&gt;&lt;P&gt;CONFIG_DEFAULT_DEVICE_TREE="imx8mn-evk2"&lt;/P&gt;&lt;P&gt;CONFIG_TARGET_IMX8MN_EVK2=y&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the u-boot source is built using the&amp;nbsp;&amp;nbsp;imx8mn_evk2_defconfig config file, the&amp;nbsp;imx8mn-evk2.dtb is getting&amp;nbsp; compiled and the source is generated. But when programmed to the board the board hanges. Please find the following logs .&lt;/P&gt;&lt;P&gt;U-Boot SPL 2021.04-lf_v2021.04+gf7b43f8b4c (Jun 21 2022 - 12:35:48 +0530)&lt;BR /&gt;Failed to find clock node. Check device tree&lt;BR /&gt;### ERROR ### Please RESET the board ###&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Little digging into the issue, when we use the imx8mn-evk.dts file instead of&amp;nbsp; custom imx8mn-evk2.dts file, the baord is booting fine. The custom&amp;nbsp;imx8mn-evk2.dts is the exact copy of&amp;nbsp;imx8mn-evk.dts file. Not sure why the following problem is confronted. Please require your help in solving the following issue&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Bhavani S&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 12:03:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-porting-for-custom-board-based-on-imx8M-nano-processor/m-p/1479072#M191847</guid>
      <dc:creator>BHAVANI_S</dc:creator>
      <dc:date>2022-06-23T12:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot porting for custom board based on imx8M nano processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-porting-for-custom-board-based-on-imx8M-nano-processor/m-p/1479188#M191854</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202703"&gt;@BHAVANI_S&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Looks like your forgot to create &lt;EM&gt;arch/arm/dts/imx8mn-evk2-u-boot.dtsi&lt;/EM&gt; which is a copy of &lt;EM&gt;arch/arm/dts/imx8mn-evk-u-boot.dtsi&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khang&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 15:10:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-porting-for-custom-board-based-on-imx8M-nano-processor/m-p/1479188#M191854</guid>
      <dc:creator>khang_letruong</dc:creator>
      <dc:date>2022-06-23T15:10:27Z</dc:date>
    </item>
    <item>
      <title>回复： U-boot porting for custom board based on imx8M nano processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-porting-for-custom-board-based-on-imx8M-nano-processor/m-p/1664282#M207184</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202703"&gt;@BHAVANI_S&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/147542"&gt;@khang_letruong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you solve this problem?&lt;/P&gt;&lt;P&gt;I met the same problem as you mentioned.&lt;/P&gt;&lt;P&gt;I've add one more imx8mn-evk-u-boot.dtsi during my device tree. But it still have the Error message "HID(W):LIBUSB_ERROR_TIMEOUT" during uuu flash to the board.&lt;/P&gt;&lt;P&gt;and the uart log shows "&lt;/P&gt;&lt;P&gt;U-Boot SPL 2021.04-lf_v2021.04+g604de4b4aa (Apr 05 2011 - 23:00:00 +0000)&lt;BR /&gt;Failed to find clock node. Check device tree&lt;BR /&gt;### ERROR ### Please RESET the board ### "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you provide the suggestion if you get more information or ideas? thanks a lot.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 11:19:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-porting-for-custom-board-based-on-imx8M-nano-processor/m-p/1664282#M207184</guid>
      <dc:creator>GaryLiu</dc:creator>
      <dc:date>2023-06-06T11:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot porting for custom board based on imx8M nano processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-porting-for-custom-board-based-on-imx8M-nano-processor/m-p/1692956#M209711</link>
      <description>&lt;P&gt;thanks &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/147542"&gt;@khang_letruong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this issue made me crazy for several hours. Not really clear why u-boot compiles without that dtsi.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 09:51:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-porting-for-custom-board-based-on-imx8M-nano-processor/m-p/1692956#M209711</guid>
      <dc:creator>_angelo_</dc:creator>
      <dc:date>2023-07-26T09:51:04Z</dc:date>
    </item>
  </channel>
</rss>

