<?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のトピックHow to configure vmalloc size?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-vmalloc-size/m-p/543312#M85557</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'm trying to get Manufacturing tool up and running on a bespoke iMX6 Solo board with 256 MB of DRAM.&lt;/P&gt;&lt;P&gt;I've started with the fsl-image-mfgtool-initramfs target on imx6dlsabresd as the base. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MACHINE=imx6dlsabresd source fsl-setup-release.sh -b mfgToolTest&lt;/P&gt;&lt;P&gt;bitbake fsl-image-mfgtool-initramfs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've modified U-Boot to boot with 256 MB and I've tested this configuration with the DDR stress tester, so I asume that the DRAM is correctly configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've modified the device tree to reflect the board's hardware and Linux boots and the UTP client is started (as far as I can tell) though at this point the manufacturing tool says 'no device connected'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have reduced CMA size to 96 MB and I've configured the CONFIG_VMSPLIT_3G kernel config. I've got this in my device tree:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; memory {&lt;/P&gt;&lt;P&gt;&amp;nbsp; reg = &amp;lt;0x10000000 0x10000000&amp;gt;;&lt;/P&gt;&lt;P&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I've tried the vmalloc=size boot argument...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that when Linux boots, in the virtual memory layout I see that vmalloc is greater than 256 MB (744MB). Which can't be right as it should be less than 256 MB. lowmem is 256 MB and it prints "Memory: 143232K/262144K available" which looks correct, so why is vmalloc so big? How can I fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been banging my head against this all morning, any help or pointers would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cma: CMA: reserved 96 MiB at 1a000000&lt;/P&gt;&lt;P&gt;Memory policy: Data cache writeback&lt;/P&gt;&lt;P&gt;CPU: All CPU(s) started in SVC mode.&lt;/P&gt;&lt;P&gt;PERCPU: Embedded 8 pages/cpu @c9db0000 s8896 r8192 d15680 u32768&lt;/P&gt;&lt;P&gt;Built 1 zonelists in Zone order, mobility grouping on.&amp;nbsp; Total pages: 65024&lt;/P&gt;&lt;P&gt;Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc vmalloc=128MB g_mass&lt;/P&gt;&lt;P&gt;_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mas&lt;/P&gt;&lt;P&gt;s_storage.idProduct=0x37FF g_mass_storage.iSerialNumber= enable_wait_mode=off&lt;/P&gt;&lt;P&gt;PID hash table entries: 1024 (order: 0, 4096 bytes)&lt;/P&gt;&lt;P&gt;Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)&lt;/P&gt;&lt;P&gt;Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)&lt;/P&gt;&lt;P&gt;Memory: 143232K/262144K available (6601K kernel code, 334K rwdata, 5888K rodata,&lt;/P&gt;&lt;P&gt;300K init, 415K bss, 118912K reserved, 0K highmem)&lt;/P&gt;&lt;P&gt;Virtual kernel memory layout:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vector&amp;nbsp; : 0xffff0000 - 0xffff1000&amp;nbsp;&amp;nbsp; (&amp;nbsp;&amp;nbsp; 4 kB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fixmap&amp;nbsp; : 0xfff00000 - 0xfffe0000&amp;nbsp;&amp;nbsp; ( 896 kB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vmalloc : 0xd0800000 - 0xff000000&amp;nbsp;&amp;nbsp; ( 744 MB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lowmem&amp;nbsp; : 0xc0000000 - 0xd0000000&amp;nbsp;&amp;nbsp; ( 256 MB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pkmap&amp;nbsp;&amp;nbsp; : 0xbfe00000 - 0xc0000000&amp;nbsp;&amp;nbsp; (&amp;nbsp;&amp;nbsp; 2 MB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; modules : 0xbf000000 - 0xbfe00000&amp;nbsp;&amp;nbsp; (&amp;nbsp; 14 MB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .text : 0xc0008000 - 0xc0c3a8e8&amp;nbsp;&amp;nbsp; (12491 kB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .init : 0xc0c3b000 - 0xc0c862c0&amp;nbsp;&amp;nbsp; ( 301 kB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .data : 0xc0c88000 - 0xc0cdbac0&amp;nbsp;&amp;nbsp; ( 335 kB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .bss : 0xc0cdbacc - 0xc0d437f0&amp;nbsp;&amp;nbsp; ( 416 kB)&lt;/P&gt;&lt;P&gt;SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;blah blah blah...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting UTP&lt;/P&gt;&lt;P&gt;ln: /etc/mtab: File exists&lt;/P&gt;&lt;P&gt;disable turn off display&lt;/P&gt;&lt;P&gt;Starting the hotplug events dispatcher udevd&lt;/P&gt;&lt;P&gt;Synthesizing initial hotplug evenudevd (72): /proc/72/oom_adj is deprecated, ple&lt;/P&gt;&lt;P&gt;ase use /proc/72/oom_score_adj instead.&lt;/P&gt;&lt;P&gt;ts&lt;/P&gt;&lt;P&gt;uuc 0.4 [built Aug 16 2013 01:24:08]&lt;/P&gt;&lt;P&gt;UTP: Waiting for device to appear&lt;/P&gt;&lt;P&gt;UTP: file/device node /dev/utp already exists&lt;/P&gt;&lt;P&gt;cpu_id is 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jul 2016 11:24:12 GMT</pubDate>
    <dc:creator>matthewmckay-da</dc:creator>
    <dc:date>2016-07-27T11:24:12Z</dc:date>
    <item>
      <title>How to configure vmalloc size?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-vmalloc-size/m-p/543312#M85557</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'm trying to get Manufacturing tool up and running on a bespoke iMX6 Solo board with 256 MB of DRAM.&lt;/P&gt;&lt;P&gt;I've started with the fsl-image-mfgtool-initramfs target on imx6dlsabresd as the base. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MACHINE=imx6dlsabresd source fsl-setup-release.sh -b mfgToolTest&lt;/P&gt;&lt;P&gt;bitbake fsl-image-mfgtool-initramfs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've modified U-Boot to boot with 256 MB and I've tested this configuration with the DDR stress tester, so I asume that the DRAM is correctly configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've modified the device tree to reflect the board's hardware and Linux boots and the UTP client is started (as far as I can tell) though at this point the manufacturing tool says 'no device connected'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have reduced CMA size to 96 MB and I've configured the CONFIG_VMSPLIT_3G kernel config. I've got this in my device tree:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; memory {&lt;/P&gt;&lt;P&gt;&amp;nbsp; reg = &amp;lt;0x10000000 0x10000000&amp;gt;;&lt;/P&gt;&lt;P&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I've tried the vmalloc=size boot argument...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that when Linux boots, in the virtual memory layout I see that vmalloc is greater than 256 MB (744MB). Which can't be right as it should be less than 256 MB. lowmem is 256 MB and it prints "Memory: 143232K/262144K available" which looks correct, so why is vmalloc so big? How can I fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been banging my head against this all morning, any help or pointers would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cma: CMA: reserved 96 MiB at 1a000000&lt;/P&gt;&lt;P&gt;Memory policy: Data cache writeback&lt;/P&gt;&lt;P&gt;CPU: All CPU(s) started in SVC mode.&lt;/P&gt;&lt;P&gt;PERCPU: Embedded 8 pages/cpu @c9db0000 s8896 r8192 d15680 u32768&lt;/P&gt;&lt;P&gt;Built 1 zonelists in Zone order, mobility grouping on.&amp;nbsp; Total pages: 65024&lt;/P&gt;&lt;P&gt;Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc vmalloc=128MB g_mass&lt;/P&gt;&lt;P&gt;_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mas&lt;/P&gt;&lt;P&gt;s_storage.idProduct=0x37FF g_mass_storage.iSerialNumber= enable_wait_mode=off&lt;/P&gt;&lt;P&gt;PID hash table entries: 1024 (order: 0, 4096 bytes)&lt;/P&gt;&lt;P&gt;Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)&lt;/P&gt;&lt;P&gt;Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)&lt;/P&gt;&lt;P&gt;Memory: 143232K/262144K available (6601K kernel code, 334K rwdata, 5888K rodata,&lt;/P&gt;&lt;P&gt;300K init, 415K bss, 118912K reserved, 0K highmem)&lt;/P&gt;&lt;P&gt;Virtual kernel memory layout:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vector&amp;nbsp; : 0xffff0000 - 0xffff1000&amp;nbsp;&amp;nbsp; (&amp;nbsp;&amp;nbsp; 4 kB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fixmap&amp;nbsp; : 0xfff00000 - 0xfffe0000&amp;nbsp;&amp;nbsp; ( 896 kB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vmalloc : 0xd0800000 - 0xff000000&amp;nbsp;&amp;nbsp; ( 744 MB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lowmem&amp;nbsp; : 0xc0000000 - 0xd0000000&amp;nbsp;&amp;nbsp; ( 256 MB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pkmap&amp;nbsp;&amp;nbsp; : 0xbfe00000 - 0xc0000000&amp;nbsp;&amp;nbsp; (&amp;nbsp;&amp;nbsp; 2 MB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; modules : 0xbf000000 - 0xbfe00000&amp;nbsp;&amp;nbsp; (&amp;nbsp; 14 MB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .text : 0xc0008000 - 0xc0c3a8e8&amp;nbsp;&amp;nbsp; (12491 kB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .init : 0xc0c3b000 - 0xc0c862c0&amp;nbsp;&amp;nbsp; ( 301 kB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .data : 0xc0c88000 - 0xc0cdbac0&amp;nbsp;&amp;nbsp; ( 335 kB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .bss : 0xc0cdbacc - 0xc0d437f0&amp;nbsp;&amp;nbsp; ( 416 kB)&lt;/P&gt;&lt;P&gt;SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;blah blah blah...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting UTP&lt;/P&gt;&lt;P&gt;ln: /etc/mtab: File exists&lt;/P&gt;&lt;P&gt;disable turn off display&lt;/P&gt;&lt;P&gt;Starting the hotplug events dispatcher udevd&lt;/P&gt;&lt;P&gt;Synthesizing initial hotplug evenudevd (72): /proc/72/oom_adj is deprecated, ple&lt;/P&gt;&lt;P&gt;ase use /proc/72/oom_score_adj instead.&lt;/P&gt;&lt;P&gt;ts&lt;/P&gt;&lt;P&gt;uuc 0.4 [built Aug 16 2013 01:24:08]&lt;/P&gt;&lt;P&gt;UTP: Waiting for device to appear&lt;/P&gt;&lt;P&gt;UTP: file/device node /dev/utp already exists&lt;/P&gt;&lt;P&gt;cpu_id is 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 11:24:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-vmalloc-size/m-p/543312#M85557</guid>
      <dc:creator>matthewmckay-da</dc:creator>
      <dc:date>2016-07-27T11:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure vmalloc size?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-vmalloc-size/m-p/543313#M85558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please make sure that swap is not turned on:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# grep -i swap /proc/meminfo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 01:09:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-vmalloc-size/m-p/543313#M85558</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2016-07-28T01:09:32Z</dc:date>
    </item>
  </channel>
</rss>

