[Buildroot] [PATCH] system: add "askfirst shell" as an option for busybox init
Alexey.Brodkin at synopsys.com
Tue Dec 23 09:40:27 UTC 2014
On Wed, 2014-12-17 at 17:28 +0100, Thomas Petazzoni wrote:
> Dear Alexey Brodkin,
> On Wed, 17 Dec 2014 16:18:44 +0000, Alexey Brodkin wrote:
> > > > Then the question is why this is not a default in Buildroot?
> > > > IMHO most of the time kernel's bootcmd has console set so explicit setup
> > > > of tty in Buildroot might be required in some corner cases only.
> > >
> > > I agree, maybe we should make this the default. What happens on
> > > PC-style platforms? Is console= typically set to tty1 ?
> > Well from dmesg output of my Fedora 21 I see this:
> > --->---
> > [ 0.000000] console [tty0] enabled
> > --->---
> > Is this what you're looking for?
> I don't know if running a getty on tty0 actually works. tty0 is
> actually a "fake" device that points to the current virtual console. To
> be tested, maybe with the Qemu/x86 emulation.
I've just tried Qemu/x86 and with following config it worked like a
# BR2_TARGET_ROOTFS_TAR is not set
So then I think it's time for a patch that by default selects:
More information about the buildroot