<?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>P-SeriesのトピックChanging user/kernel virtual memory split to 2GB/2GB</title>
    <link>https://community.nxp.com/t5/P-Series/Changing-user-kernel-virtual-memory-split-to-2GB-2GB/m-p/939064#M4676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the P4080DS SoC with 32bit&amp;nbsp;4.18 Linux kernel + RT Patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While using the Real Time Patch I can't work with HIGHMEM regions (CONFIG_HIGHMEM is disabled by default)&lt;/P&gt;&lt;P&gt;so I've changed the virtual memory address space&amp;nbsp;user/kernel split from 3gb/1gb to 2gb/2gb in order to be able to work with more than 1GB RAM Size. (changed the CONFIG_PAGE_OFFSET , CONFIG_TASK_SIZE and others to 0x80000000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that following the&amp;nbsp;relocation of the KERNELBASE from 0xC0000000 to 0x80000000&amp;nbsp;the kernel tries to read the spin table (using SMP)&amp;nbsp;but can't and gets sig 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before the change everyting worked fine&amp;nbsp;and the&amp;nbsp;kernel searched for&amp;nbsp;spin table in addresses starting with 0xa...&lt;/P&gt;&lt;P&gt;Now it search&amp;nbsp;in addresses starting with 0x6 (because of the kernel relocation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the source code so the kernel continue reading addresses starting with 0xa.. and it worked but now&amp;nbsp;is says that the first cpu isn't spinning and: RAMDISK: Couldn't find valid RAM disk image starting at 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone knows what are the proper changes I have to make in order everything will work fine with the split and kernel relocation changes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2019 06:08:59 GMT</pubDate>
    <dc:creator>yoav_rubin2</dc:creator>
    <dc:date>2019-09-18T06:08:59Z</dc:date>
    <item>
      <title>Changing user/kernel virtual memory split to 2GB/2GB</title>
      <link>https://community.nxp.com/t5/P-Series/Changing-user-kernel-virtual-memory-split-to-2GB-2GB/m-p/939064#M4676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the P4080DS SoC with 32bit&amp;nbsp;4.18 Linux kernel + RT Patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While using the Real Time Patch I can't work with HIGHMEM regions (CONFIG_HIGHMEM is disabled by default)&lt;/P&gt;&lt;P&gt;so I've changed the virtual memory address space&amp;nbsp;user/kernel split from 3gb/1gb to 2gb/2gb in order to be able to work with more than 1GB RAM Size. (changed the CONFIG_PAGE_OFFSET , CONFIG_TASK_SIZE and others to 0x80000000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that following the&amp;nbsp;relocation of the KERNELBASE from 0xC0000000 to 0x80000000&amp;nbsp;the kernel tries to read the spin table (using SMP)&amp;nbsp;but can't and gets sig 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before the change everyting worked fine&amp;nbsp;and the&amp;nbsp;kernel searched for&amp;nbsp;spin table in addresses starting with 0xa...&lt;/P&gt;&lt;P&gt;Now it search&amp;nbsp;in addresses starting with 0x6 (because of the kernel relocation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the source code so the kernel continue reading addresses starting with 0xa.. and it worked but now&amp;nbsp;is says that the first cpu isn't spinning and: RAMDISK: Couldn't find valid RAM disk image starting at 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone knows what are the proper changes I have to make in order everything will work fine with the split and kernel relocation changes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 06:08:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Changing-user-kernel-virtual-memory-split-to-2GB-2GB/m-p/939064#M4676</guid>
      <dc:creator>yoav_rubin2</dc:creator>
      <dc:date>2019-09-18T06:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Changing user/kernel virtual memory split to 2GB/2GB</title>
      <link>https://community.nxp.com/t5/P-Series/Changing-user-kernel-virtual-memory-split-to-2GB-2GB/m-p/939065#M4677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please modify CONFIG_KERNEL_START and CONFIG_PHYSICAL_START&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 09:59:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Changing-user-kernel-virtual-memory-split-to-2GB-2GB/m-p/939065#M4677</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2019-09-19T09:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changing user/kernel virtual memory split to 2GB/2GB</title>
      <link>https://community.nxp.com/t5/P-Series/Changing-user-kernel-virtual-memory-split-to-2GB-2GB/m-p/939066#M4678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;problem solved after changing the user/kernel virtual address space split&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 08:46:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Changing-user-kernel-virtual-memory-split-to-2GB-2GB/m-p/939066#M4678</guid>
      <dc:creator>yoav_rubin2</dc:creator>
      <dc:date>2019-10-04T08:46:47Z</dc:date>
    </item>
  </channel>
</rss>

