9
0
Fork 0
barebox/defaultenv-2/base
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
..
bin console: Set Linux console parameter automatically 2014-01-22 07:53:21 +01:00
boot defaultenv-2: net: use oftree when existing 2013-04-18 08:15:53 +02:00
data defenv-2: remove some helper scripts 2012-11-01 16:50:19 +01:00
init defaultenv-2: fix base/init/ps1: don't reload /env/config 2013-02-21 15:03:06 +01:00
network defaultenv-2: eth0 add default global.dhcp.vendor_id 2012-10-02 08:57:07 +02:00
config defaultenv-2: add boot sequence 2013-03-05 11:51:35 +01:00