mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Richard B. Johnson" <root@chaos.analogic.com>
To: "Víctor Romero" <victor.romero@gesline.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: console=tty2
Date: Sat, 5 Jul 2003 16:49:12 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.53.0307051644370.12508@chaos> (raw)
In-Reply-To: <200307041504.24844.victor.romero@gesline.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1884 bytes --]

On Fri, 4 Jul 2003, [iso-8859-1] Víctor Romero wrote:

>
>
> 	Dear kernel hackers,
>
> 	In a little appliance (i386) I'm working on I have a linux(2.4.20 vanilla)
> booting with a pretty nice logo in fb mode, but I dont want to see text in
> the boot process just the logo, so I tryed on boot : linux console=tty2, but
> still see everything, If i put to ttyS0 works but I have a modem there,so its
> not a good idea, anyway tty2 should work, but it doesnt, any idea?


This is the tail end of the script I wrote to make a bootable RAM
disk for an embedded system. I assure you that ttyS0, ttyS1m and null
work fine. You must make sure that you have actually created the
devices in /dev


#
#  Compress the RAM Disk image into a file on the mounted file-system.
#  Remove the original RAM Disk image, then copy the required boot
#  files to the mounted file-system also.
#
umount	${RAMDISK}
dd if=${RAMDISK_IMAGE} bs=1k count=${DISKSIZE} | gzip -9 >/mnt/initrd-${VER}
rm -f ${RAMDISK_IMAGE}
rmdir   ${RAMDISK}
#
cp ${SYS} /mnt/vmlinuz-${VER}
cp /boot/boot.b /mnt/boot.b
cp message /mnt/message
#
#  Now execute lilo to install the boot-loader onto the mounted file-
#  system. Lilo allows its configuration to be taken from standard input.
#
/sbin/lilo -C - <<EOF
#
#  Lilo boot-configuration script.
#
#message = /mnt/message
boot    = ${RAMDEV}
disk	= ${RAMDEV}
	bios = 0x00
	sectors = 18
	heads = 2
	cylinders = 80
map     = /mnt/map
backup  = /dev/null
compact
vga = normal	# force sane state
 install = /mnt/boot.b
 image   = /mnt/vmlinuz-${VER}
 initrd  = /mnt/initrd-${VER}
 root    = /dev/ram0
 label   = Platinum
# append  = "console=ttyS1,9600"
# append  = "console=ttyS0,9600"
 append  = "console=null"
EOF

Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.


      parent reply	other threads:[~2003-07-05 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-04 13:04 console=tty2 Víctor Romero
2003-07-04 16:23 ` console=tty2 Víctor Romero
2003-07-05 20:49 ` Richard B. Johnson [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=Pine.LNX.4.53.0307051644370.12508@chaos \
    --to=root@chaos.analogic.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=victor.romero@gesline.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®