Changes

Jump to: navigation, search

FAQs (Axel)

1,831 bytes added, 07:52, 14 July 2015
m
no edit summary
* has a proper subnet IP address
For detailed information, please refer to [[Booting_Linux_Kernel#Configuration_net_nfs | Configuration net_nfs]]
 
=== Q: How can I reduce the RAM amount to evaluate the performances of the low-end versions of the Axel SoM? ===
 
'''A''': 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 class="board-terminal">
setenv mem 128MB
setenv addmem 'setenv bootargs ${bootargs} mem=${mem}'
</pre>
 
And add the addmem variable to the boot macro:
 
<pre class="board-terminal">
setenv net_nfs 'run loadk loadfdt nfsargs addip addcons addmem; bootm ${buf} ${dtb_addr}'
</pre>
 
For further details, please refer to the linux-am33x/Documentation/kernel-parameters.txt file of the kernel source tree provided with the XELK.
 
=== Q: How can I limit the number of active CPU cores? ===
 
'''A''': To evaluate the performances of the system with reduced number of CPU cores, the user can pass the ''maxcpus'' 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 set the number of active cores to 2, add the maxcpus parameter to the addmisc environment variable:
 
<pre class="board-terminal">
setenv addmisc 'setenv bootargs ${bootargs} maxcpus=2'
</pre>
 
And add the addmisc variable to the boot macro:
 
<pre class="board-terminal">
setenv net_nfs 'run loadk loadfdt nfsargs addip addcons addmisc; bootm ${buf} ${dtb_addr}'
</pre>
 
For further details, please refer to the linux-am33x/Documentation/kernel-parameters.txt file of the kernel source tree provided with the XELK.

Navigation menu