How the HIGHMEM value is set ?

cancel
Showing results for 
Search instead for 
Did you mean: 

How the HIGHMEM value is set ?

419 Views
gauravsuryavans
Contributor II

I need to mapped all (reduce size of highmem) the memory with kernel. but my default boot log is as below.

"Memory: 1222984K/1446656K available (10240K kernel code, 2287K rwdata, 3232K rodata, 2048K init, 497K bss, 190904K reserved, 32768K cma-reserved, 805632K highmem)"

How/where highmem value is define ?

What is default value ?

 Total DRAM : 2GB

Response is appreciated.

Regards,

Pankaj

3 Replies

229 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Pankaj

one can check linux documentation:

Documentation - linux-imx - i.MX Linux kernel 

memory.txt\arm\Documentation - linux-imx - i.MX Linux kernel 

highmem.txt\vm\Documentation - linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

229 Views
gauravsuryavans
Contributor II

Hi Igor,

Thanks for your quick response.

I have changed my CONFIG_VMSPLIT  option to 2G/2G.(from 3G/1G).

Now Highmem Value is changed, So my question is how it is calculated ?

and now i am getting following Error in log :

[    5.795087] ueventd: Coldboot took 0.106 seconds
[    5.804560] init: wait for '/dev/.coldboot_done' took 50ms
[    5.810509] init: Command 'wait_for_coldboot_done' action=wait_for_coldboot_done (<Builtin Action>:0) took 56ms and succeeded
[    5.821890] init: processing action (MixHwrngIntoLinuxRng) from (<Builtin Action>:0)
[    5.829839] init: /dev/hw_random not found
[    5.833966] init: processing action (SetMmapRndBits) from (<Builtin Action>:0)
[    5.841483] init: Unable to set minimum option value 16 in /proc/sys/vm/mmap_rnd_bits
[    5.849472] init: Unable to set adequate mmap entropy value!
[    5.855134] init: Reboot start, reason: reboot, rebootTarget: bootloader
[    5.862072] init: Shutdown timeout: 0 ms
[    5.868356] init: starting service 'blank_screen'...

Any Idea about above error ?

Regards,

Pankaj

0 Kudos

229 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Pankaj

as this is general linux question it may be posted on kernel mail list

Majordomo Lists at VGER.KERNEL.ORG 

Best regards
igor

0 Kudos