Built 1 zonelists in Zone order, mobility grouping on. When booting a Linux kernel, U-Boot, among the other things, take care of passing a string called command line as kernel parameter. Memory policy: ECC disabled, Data cache writeback FB: Reserving 37748736 bytes SDRAM for VRAM CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache CPU: ARMv7 Processor revision 2 (ARMv7), cr=10c53c7f Image Type: ARM Linux Kernel Image (uncompressed) # Booting kernel from Legacy Image at 81000000. Will reduce framebuffer memory allocation from 46MiB to 36MiB. please note that this macro uses mem, vram and notify_mem variable substitution to setup its parameter.appends memory parameters with addmem macro.appends console configuration with addcons macro.appends network configuration when running addip macro (see for a more detailed explanation of all this parameters).initializes bootargs when running nfsargs macro.When using net_nfs configuration, which loads the kernel binary image from TFTP and uses NFS as root file system, U-Boot: Net_nfs=run loadk nfsargs addip addcons addmem bootm $ NAON#printenv net_nfs nfsargs addip addcons addmem mem vram Here is a dump of the interesting sections of the environment: Runtime Kernel command line creation Īs noted above, commonly the command line is created by U-Boot environment variable substitution and string concatenation.Īs an example we'll show how to change Naon the frame buffer size by using the default environment variables setup. This is more flexible and allow the user to change only a single part of the command line without take care of the whole string. NAON#setenv bootargs 'root=/dev/mmcblk0p1 rw console=ttyO0,115200n8 earlyprintk mem=176M vram=46M notifyk.vpssm3_sva=0xBF900000'Įrasing SPI flash.Writing to SPI flash.doneīut a most commonly used approach is to use different environment variables that append a dedicated section of command line. This variable can be defined statically in U-Boot environment as follow: U-Boot uses its bootargs environment variable as parameter. When booting a Linux kernel, U-Boot, among the other things, take care of passing a string called command line as kernel parameter.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |