linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ricardo Scop <scop@vanet.com.br>
To: Tim Lai <laitingwai@yahoo.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re[2]: Can I run linux without a file system?
Date: Fri, 21 Jun 2002 16:59:03 -0300	[thread overview]
Message-ID: <19707.020621@vanet.com.br> (raw)
In-Reply-To: <20020621194234.37274.qmail@web21103.mail.yahoo.com>


Tim,

See bellow...

[]'s, Scop                            mailto:scop@vanet.com.br

------------------------------------------------------------------
It might look like I'm doing nothing, but at the cellular level I'm
really quite busy.

Friday, June 21, 2002, 4:42:34 PM, you wrote:


TL> I am interested in both input/output operation
TL> on the console. If I just set CONFIG_SERIAL_CONSOLE,
TL> will I be able read input from the console?
TL> The main application will be started from init(),
TL> and the application will need to read and write
TL> to the console. Are there are method to communicate
TL> to the serial port other than open("/dev/ttyS0")?
Not AFAIK. The VFS (Virtual File System) is at the very heart of Linux
and _is_ the abstraction used to deal with I/O devices. You don't need
to try avoiding it. A simple initrd will do the job and can be as
light as you make it.

>>
>> You don't need a filesystem to get output on the
>> serial console
>> you just need to enable the console with
>> CONFIG_SERIAL_CONSOLE=y
>> in your kernel configuration (atleast for mpc860
>> that all)
>> but you will have a hard time producing much more
>> than a blinking
>> cursor if you boot a Linux kernel and have no
>> application that
>> it then can run on the root-filesystem - what would
>> be the point
>> of such a setup - 1MB kernel code for a blinking
>> cursor on a
>> serial port seems expensive.
you get the network protocol stacks, too...

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-06-21 19:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200206211835.g5LIZDL01282@hofr.at>
2002-06-21 19:42 ` Can I run linux without a file system? Tim Lai
2002-06-21 19:59   ` Ricardo Scop [this message]
2002-06-21 20:12   ` Jerry Van Baren
2002-06-21 20:28     ` Tim Lai
2002-06-21 20:31     ` Dr. Craig Hollabaugh
2002-06-21 20:49       ` Tim Lai
2002-06-21 20:49         ` John W. Linville
2002-06-21 20:54         ` Dr. Craig Hollabaugh
2002-06-22  3:06           ` Tim Lai
2002-06-21 20:58       ` Jerry Van Baren
2002-06-22  4:52         ` David Blythe
2002-06-21 21:06       ` Wolfgang Denk
2002-06-21 19:35 Can I run Linux " Tim Lai
2002-06-21 19:46 ` Re[2]: " Ricardo Scop

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=19707.020621@vanet.com.br \
    --to=scop@vanet.com.br \
    --cc=laitingwai@yahoo.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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;
as well as URLs for NNTP newsgroup(s).