9
0
Fork 0
barebox/arch/blackfin
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/ipe337 Removed duplicate definition for DEVFS_PARTITION_xxx 2012-05-13 21:58:19 +02:00
configs ipe337: fix default env 2010-09-24 09:51:15 +02:00
cpu-bf561 fix underscore count in bss_start/bss_stop 2011-12-07 13:05:25 +01:00
include/asm blackfin: remove contents of page.h to make barebox compilable again 2011-12-07 11:26:20 +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 Only pass -P to cpp when generating ld scripts 2011-10-18 09:18:41 +02:00
mach-bf.dox rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00