3,260
edits
Changes
m
→Use cases
For example, to limit the amount of RAM to 128 MB, create the following variables in u-boot:
<preclass="board-terminal">DIVA# setenv mem 128MBDIVA# setenv addmem 'setenv bootargs ${bootargs} mem=${mem}'
</pre>
And add the addmem variable to the boot macro:
<preclass="board-terminal">DIVA# setenv net_nfs='run loadk nfsargs addip addcons addmem; bootm ${buf}'
</pre>