9
0
Fork 0
barebox/arch/nios2
Sascha Hauer ee4cab9e58 booting: more flexible Linux bootargs generation
We currently use the environment variable 'bootargs' to get the
Linux bootargs. This patch allows for a more flexible bootargs
generation using global variables. With it the Linux bootargs
are concatenated from multiple variables. This allows to replace
parts of the bootargs string without having to reconstruct it
completely.
With this bootargs can be constructed like:

global linux.bootargs.base="console=ttyS0,115200"
global linux.bootargs.ip="ip=dhcp"
global linux.mtdparts="physmap-flash.0:512K(nor0.barebox),-(root)"

This will then automatically be combined into a kernel bootargs
string during boot.

If the 'linux.bootargs.' variables are all empty the old standard
'bootargs' way will be used.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-05-14 09:16:31 +02:00
..
boards/generic Removed duplicate definition for DEVFS_PARTITION_xxx 2012-05-13 21:58:19 +02:00
configs Add Nios2 arch support to barebox 2011-03-30 23:22:35 +02:00
cpu introduce barebox_bare_init_size to known the bare_init size and check it 2012-01-23 09:43:28 +01:00
include/asm Merge branch 'master' into next 2011-11-29 20:45:23 +01:00
lib booting: more flexible Linux bootargs generation 2012-05-14 09:16:31 +02:00
Kconfig move digest to crypto/ 2011-10-12 08:52:48 +02:00
Makefile Disable emitting mul instructions by gcc 2011-06-16 09:49:58 +02:00