Re: [PATCH 2/3] Add next generation default environment template

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sascha Hauer wrote:
> [...]
> diff --git a/defaultenv-2/base/init/bootargs-base
> b/defaultenv-2/base/init/bootargs-base new file mode 100644
> index 0000000..8e588ad
> --- /dev/null
> +++ b/defaultenv-2/base/init/bootargs-base
> @@ -0,0 +1,8 @@
> +#!/bin/sh
> +
> +if [ "$1" = menu ]; then
> +       init-menu-add-entry "$0" "Base bootargs"
> +       exit
> +fi
> +
> +global.linux.bootargs.base="console=ttyS0,115200"
> [...]

Seems if you want to change the console setting here, you always have to save 
the change and restart the system to take affect of the new value when 
the 'boot' command is running. Old behaviour was an immediate change without 
saving and restarting. This was a nice behaviour when one just wants to try a 
different parameter without destroying the old environment.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux