bareboxenv: console bootargs
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...
I suspect that other boards, then the am335x ones, are also affected.
Regards
Teresa
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Hi Teresa,
Quoted 7 lines · Teresa Gámez
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.cin the variable linux.bootargs.console which results here in two console= parameter:
Quoted 6 lines
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
Signature · 9 lines
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 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox