9
0
Fork 0
barebox/defaultenv-2/base/bin
Sascha Hauer dac65f99e8 console: Set Linux console parameter automatically
Linux specifies the linux,stdout-path property in the /chosen node
in the devicetree. Unfortunately this is ignored in most cases.
For cases in which barebox uses this property for its own use we
translate this into a Linux boot arg with:

- the console name provided by the serial driver
- the the instance from the 'serial' alias
- the baudrate from the actual baudrate.

So with this it's for devicetee enabled boards no longer necessary
to manually assign a console= parameter. Should a user not want
to use the automatically assigned parameter it should do:

global.linux.bootargs.console=

in the environment.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-22 07:53:21 +01:00
..
bootargs-ip defaultenv-2: boot use global.linux.bootargs.dyn for dynamic globalvar 2012-09-14 00:46:00 +08:00
ifup defaultenv-2 ifup: create network up state file for dhcp 2012-06-30 12:45:46 +02:00
init console: Set Linux console parameter automatically 2014-01-22 07:53:21 +01:00
mtdparts-add Add next generation default environment template 2012-05-18 12:26:52 +02:00