bareboxenv: console bootargs
Sascha Hauer
s.hauer at pengutronix.de
Mon Feb 23 00:01:02 PST 2015
Hi Teresa,
On Fri, Feb 20, 2015 at 09:00:20AM +0100, Teresa Gámez wrote:
> Hello,
>
> I have noticed that the console= bootarg parameter in the latest
> enviroment is set in the /env/nv/linux.bootargs.base variable. But it is
> also set over common/console.c in the variable linux.bootargs.console
> which results here in two console= parameter:
>
> commandline: console=ttyO0,115200n8 console=ttyO0,115200
> root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait
>
> Wouldn't it be the right way to set the linux.bootargs.console instead
> of the linux.bootargs.base in the enviroment. If it needs to be
> overwritten at all...
Indeed, linux.bootargs.console would be a better variable for the
console bootargs. The OMAP and i.MX boards don't need this setting
because they set it in common/console.c using the linux_console_name
variable. I just sent a patch to fix that.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list