<?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>S32Gのトピックlinux kernel loading stucks</title>
    <link>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1703425#M4449</link>
    <description>&lt;P&gt;hi everyone,&lt;/P&gt;&lt;P&gt;I have custom board derived from s32g274a-rdb2 board and working with embedded linux compiled by yocto build env. in custom board i have 2GB LPDDR4 RAM instead of 4GB LPDDR4 in RDB2 board, so i changed DDR RAM initialization code in TF-A source code taken from S32DS DDR tool and also commented out PHYS_SDRAM2 which is second 2GB ram region in 4gb version in u-boot source code. Now ATF and u-boot works fine but while u-boot trying to start kernel it stucks at the point where i guess the DMA initialization. i added starting log below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0xEC_0-1691742466983.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236074i3D27CB7CCD1090DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="0xEC_0-1691742466983.png" alt="0xEC_0-1691742466983.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea about what is wrong with my yocto build?&lt;/P&gt;&lt;P&gt;best,&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2023 08:27:57 GMT</pubDate>
    <dc:creator>0xEC</dc:creator>
    <dc:date>2023-08-11T08:27:57Z</dc:date>
    <item>
      <title>linux kernel loading stucks</title>
      <link>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1703425#M4449</link>
      <description>&lt;P&gt;hi everyone,&lt;/P&gt;&lt;P&gt;I have custom board derived from s32g274a-rdb2 board and working with embedded linux compiled by yocto build env. in custom board i have 2GB LPDDR4 RAM instead of 4GB LPDDR4 in RDB2 board, so i changed DDR RAM initialization code in TF-A source code taken from S32DS DDR tool and also commented out PHYS_SDRAM2 which is second 2GB ram region in 4gb version in u-boot source code. Now ATF and u-boot works fine but while u-boot trying to start kernel it stucks at the point where i guess the DMA initialization. i added starting log below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0xEC_0-1691742466983.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236074i3D27CB7CCD1090DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="0xEC_0-1691742466983.png" alt="0xEC_0-1691742466983.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea about what is wrong with my yocto build?&lt;/P&gt;&lt;P&gt;best,&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 08:27:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1703425#M4449</guid>
      <dc:creator>0xEC</dc:creator>
      <dc:date>2023-08-11T08:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: linux kernel loading stucks</title>
      <link>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1705714#M4473</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202062"&gt;@0xEC&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to us.&lt;/P&gt;
&lt;P&gt;We have received your ticket and this is the duplicate of another ticket raised by you.&lt;/P&gt;
&lt;P&gt;We will work on that and provide an update to you on ticket#577217.&lt;/P&gt;
&lt;P&gt;Hence, Closing this ticket.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mayank S Patel&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 11:16:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1705714#M4473</guid>
      <dc:creator>MayanksPatel</dc:creator>
      <dc:date>2023-08-16T11:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: linux kernel loading stucks</title>
      <link>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1705766#M4474</link>
      <description>hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204248"&gt;@MayanksPatel&lt;/a&gt;,&lt;BR /&gt;Yes i also open ticket from nxp support but not received any reply, by the way i could solve the problem by changing text and data start address of u-boot, thanks we can close this ticket and 557217 also.&lt;BR /&gt;best,</description>
      <pubDate>Wed, 16 Aug 2023 12:25:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1705766#M4474</guid>
      <dc:creator>0xEC</dc:creator>
      <dc:date>2023-08-16T12:25:59Z</dc:date>
    </item>
    <item>
      <title>回复： linux kernel loading stucks</title>
      <link>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1815955#M6046</link>
      <description>&lt;P&gt;Can you share the solution to this issue? I am having similar issues&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 21:39:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1815955#M6046</guid>
      <dc:creator>swhite39</dc:creator>
      <dc:date>2024-02-26T21:39:09Z</dc:date>
    </item>
    <item>
      <title>回复： linux kernel loading stucks</title>
      <link>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1816456#M6056</link>
      <description>&lt;P&gt;hi swhite,&lt;/P&gt;&lt;P&gt;if you change DDR size because i had this issue and reason was changing DDR size from 4GB to 2GB, you should change ram start address in in u-boot source code as follows:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;config SYS_TEXT_BASE&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;hex "Text Base" if CUSTOM_SYS_TEXT_BASE&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;- default 0xffaa0000&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;+ default 0xefaa0000&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;config SYS_LOAD_ADDR&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;hex "Address in memory to use by default"&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;@@ -33,7 +33,7 @@ config CUSTOM_SYS_DATA_BASE&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;config SYS_DATA_BASE&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;hex "Data Base" if CUSTOM_SYS_DATA_BASE&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;- default 0xffa00000&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;+ default 0xefa00000&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;help&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;U-Boot data base address in DDR.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;this changes are performed in Kconfig file you can do it in menuconfig this is official way, also i commented out sram define in s32-cc.h in uboot as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;#define PHYS_SDRAM_1 0x80000000UL&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;#define PHYS_SDRAM_1_SIZE (SZ_2G)&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;-#define PHYS_SDRAM_2 0x880000000UL&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;-#define PHYS_SDRAM_2_SIZE (SZ_2G)&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;+//#define PHYS_SDRAM_2 0x880000000UL&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;+//#define PHYS_SDRAM_2_SIZE (SZ_2G)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;last change that i performed which is in atf source code, in s32_platform_def.h file as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;/* Top of the first 2GB bank of physical memory. */&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;#ifndef S32_PLATFORM_DDR0_END&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;-#define S32_DDR0_END 0xffffffff&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;+#define S32_DDR0_END 0xefffffff&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;#else&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;#define S32_DDR0_END S32_PLATFORM_DDR0_END&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;#endif&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if you have same issue, these changes must solve the problem.&lt;/P&gt;&lt;P&gt;take it easy,&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 09:47:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1816456#M6056</guid>
      <dc:creator>0xEC</dc:creator>
      <dc:date>2024-02-27T09:47:18Z</dc:date>
    </item>
    <item>
      <title>回复： linux kernel loading stucks</title>
      <link>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1816884#M6065</link>
      <description>&lt;P&gt;Thank you so much for responding! Very much appreciated!!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 22:41:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1816884#M6065</guid>
      <dc:creator>swhite39</dc:creator>
      <dc:date>2024-02-27T22:41:32Z</dc:date>
    </item>
    <item>
      <title>回复： linux kernel loading stucks</title>
      <link>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1818640#M6094</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216433"&gt;@swhite39&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry i forgot the mentioned about ddr initialization code that you must generate from S32DS according to your new DDR ram specs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;you must use s32ds DDR Tool and generate ddr_init sources from there and you must change Makefile in TF-A by adding&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;CUSTOM_DDR_DRV&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;variable and set it to path of ddr_init source code that you generate from S32DS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;no need to change anything in linux kernel itself about DDR size or something because before linux kernel is loaded, all DDR related tasks must done by U-boot and TF-A.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 09:51:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/linux-kernel-loading-stucks/m-p/1818640#M6094</guid>
      <dc:creator>0xEC</dc:creator>
      <dc:date>2024-02-29T09:51:53Z</dc:date>
    </item>
  </channel>
</rss>

