Open main menu

DAVE Developer's Wiki β

Changes

Software Manual (Diva)

659 bytes added, 10:06, 28 March 2014
m
Forcing the kernel to use a limited amount of RAM
== Forcing the kernel to use a limited amount of RAM ==
To evaluate the performances of the system with a specific amount of available RAM,the user can pass the ''mem'' parameter to the kernel, by setting the command line arguments in u-boot (for detailed instruction, please refer to the [[Change_Linux_Command_Line_Parameter_from_U-boot]] page). For example, to limit the amount of RAM to 128 MB, create the following variables in u-boot: <pre>setenv mem 128MBsetenv addmem 'setenv bootargs ${bootargs} mem=${mem}'</pre> And add the addmem variable to the boot macro: <pre>net_nfs=run loadk nfsargs addip addcons addmem; bootm ${buf}</pre> For further details, please refer to the linux-am33x/Documentation/kernel-parameters.txt file of the kernel source tree provided with the DIVELK.
= Application notes =