All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: buildroot@busybox.net
Subject: [Buildroot] target /etc/inittab
Date: Wed, 20 Mar 2013 00:29:57 +0400	[thread overview]
Message-ID: <5148CAC5.8020101@synopsys.com> (raw)
In-Reply-To: <ADE657CA350FB648AAC2C43247A983F0020980106DF3@AUSP01VMBX24.collaborationhost.net>

On 03/18/2013 09:10 PM, H Hartley Sweeten wrote:
> On Saturday, March 16, 2013 11:51 AM, Thomas Petazzoni wrote:
>> On Fri, 15 Mar 2013 12:34:02 -0500, H Hartley Sweeten wrote:
>>> I'm using buildroot to create a rootfs for an ep93xx board. This
>>> board has 3 serial ports ttyAM0-3. When the rootfs is created I
>>> get this in the /etc/inittab:
>>>
>>> # Set up a couple of getty's
>>> tty1::respawn:/sbin/getty 38400 tty1
>>> tty2::respawn:/sbin/getty 38400 tty2
>>
>> This is strange, we have removed these since
>> 7d9d09db673abbedc1cc865c213b742e0450268d, which appeared in 2011.05 it
>> seems. Those lines are no longer part of the default skeleton.
>>
>>> # Put a getty on the serial port
>>> ttyAM0::respawn:/sbin/getty -L ttyAM0 57600 vt100 # GENERIC_SERIAL
>>> #ttyAM1::respawn:/sbin/getty -L ttyAM1 57600 vt100 # GENERIC_SERIAL
>>> #ttyAM2::respawn:/sbin/getty -L ttyAM2 57600 vt100 # GENERIC_SERIAL
>>
>> These are not coming from Buildroot default skeleton. Maybe you're
>> using a modified Buildroot version and not the upstream version?

I've just tried to rebuild target's rootfs with your .config and only 
see 1 instance of ttyAMx:
===
# Put a getty on the serial port
ttyAM0::respawn:/sbin/getty -L ttyAM0 57600 vt100 # GENERIC_SERIAL
===

So I have no ideas on where another 2 got from in your case.

Also below is configuration I used (got it with "make savedefconfig" 
from your .config):
===
BR2_arm=y
BR2_arm920t=y
BR2_JLEVEL=2
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_GENERIC_HOSTNAME="EP9307"
BR2_TARGET_GENERIC_ISSUE="Welcome to Vision EP9307"
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyAM0"
BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600=y
BR2_PACKAGE_SDL=y
BR2_PACKAGE_SDL_IMAGE=y
BR2_PACKAGE_SDL_IMAGE_PNG=y
BR2_PACKAGE_SDL_NET=y
BR2_PACKAGE_SDL_GFX=y
BR2_PACKAGE_MTD=y
# BR2_PACKAGE_MTD_UBIATTACH is not set
# BR2_PACKAGE_MTD_UBICRC32 is not set
# BR2_PACKAGE_MTD_UBIDETACH is not set
# BR2_PACKAGE_MTD_UBIFORMAT is not set
# BR2_PACKAGE_MTD_UBIMKVOL is not set
# BR2_PACKAGE_MTD_UBINFO is not set
# BR2_PACKAGE_MTD_UBINIZE is not set
# BR2_PACKAGE_MTD_UBIRENAME is not set
# BR2_PACKAGE_MTD_UBIRMVOL is not set
# BR2_PACKAGE_MTD_UBIRSVOL is not set
# BR2_PACKAGE_MTD_UBIUPDATEVOL is not set
BR2_PACKAGE_NCURSES_TARGET_PANEL=y
BR2_PACKAGE_NCURSES_TARGET_FORM=y
BR2_PACKAGE_NCURSES_TARGET_MENU=y
BR2_PACKAGE_ETHTOOL=y
BR2_PACKAGE_PORTMAP=y
BR2_PACKAGE_NANO=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_GZIP=y
# BR2_TARGET_ROOTFS_TAR is not set
===

-Alexey

      reply	other threads:[~2013-03-19 20:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 17:34 [Buildroot] target /etc/inittab H Hartley Sweeten
2013-03-16 18:51 ` Thomas Petazzoni
2013-03-18 17:10   ` H Hartley Sweeten
2013-03-19 20:29     ` Alexey Brodkin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5148CAC5.8020101@synopsys.com \
    --to=alexey.brodkin@synopsys.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.