[Buildroot] [PATCH] system: add "askfirst shell" as an option for busybox init
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Dec 21 21:09:13 UTC 2014
Dear Alexey Brodkin,
On Mon, 15 Dec 2014 11:56:24 +0300, Alexey Brodkin wrote:
> Consider following cases:
> * Buildroot only builds rootfs that could be used on systems with
> different default serial ports (ttyS0, ttyS1, ttyAMA3 etc)
> * Target system has multiple serial ports and in kernel command
> line users/developers may select different serial ports as
> debug consoles
>
> In both cases hard-coded with BR2_TARGET_GENERIC_GETTY tty will
> only work for 1 particular serial port.
>
> This change introduces an option to use whatever existing console.
> For example console selected in kernel's command line will be used.
>
> I'm not sure if the same thing works for SysVinit so marking it
> dependent on Busybox init.
>
> Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
> Cc: Anton Kolesov <akolesov at synopsys.com>
> Cc: Gustavo Zacarias <gustavo at zacarias.com.ar>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
In the light of the discussion that has taken place, we have found a
solution that apparently matches your use case, by using the existing
Buildroot options. Therefore, I've marked your patch as Rejected in
patchwork. If you disagree, do not hesitate to re-send an updated
version with an extended justification.
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list