In message 3.0.3.32.20020621143133.006d37a8 at hollabaugh.com you wrote:
I can say that a minimum RedHat install uses 29,296 files ? 382.020MB, debian
10,734 files - 67.428MB, my minimal root filesystem 82 files and 4.8MB.
You cannot really call this a minimal root filesystem.
A small (not
In message 45B36A38D959B44CB032DA427A6E10640167CFE3 at
cceexc18.americas.cpqcorp.net you wrote:
Hmm, my minimal rootfs is (so far) 7 Mb, (as reported by du -s).
Or, is this 4Mb you cite compressed? I wonder because my
libc.so is over 5 Mb. (which I got from DENX eldk-1.0)
Have a look at
I am porting linux on a custom board.
I am using the bootrom to load vmlinux onto
RAM, and I am in the middle of getting the console/
serial driver to work.
All the documents I read have refer the console as
/dev/ttyS, and state that to communicate to the
console, I have to set it up with
-
From: Tim Lai [mailto:[EMAIL PROTECTED]
Sent: Friday, June 21, 2002 11:09 AM
To: linuxppc-embedded at lists.linuxppc.org
Subject: Can I run linux without a file system?
I am porting linux on a custom board.
I am using the bootrom to load vmlinux onto
RAM, and I am in the middle of getting
Thanks, Jason.
I am new to linux kernel. I'll have the main
application run from init(), so I wasn't planning
to have a file system.
Yes. You will always have SOME kind of filesystem.
But this begs another
question. How much do you know about Linux, and what
are you really asking?
If /proc
I am interested in both input/output operation
on the console. If I just set CONFIG_SERIAL_CONSOLE,
will I be able read input from the console?
The main application will be started from init(),
and the application will need to read and write
to the console. Are there are method to communicate
to
Tim,
Maybe initrd and linuxrc is enough for your system. Read the file
initrd.txt in the Linux source tree Documentation sub-directory.
[]'s, Scopmailto:scop at vanet.com.br
--
It might look like I'm
Tim Lai wrote:
I am new to linux kernel. I'll have the main
application run from init(), so I wasn't planning
to have a file system.
So, why are you trying to use Linux? If you don't start
up applications outside of the kernel, there aren't very
many features that make it attractive or
In message 20020621150853.2021.qmail at web21104.mail.yahoo.com you wrote:
Does that means I have to have some sort of file
system in linux?
Yes. Things like root directory, working directory, device files, ...
are essential concepts of Unix; you cannot get rid of them that
easily - nor
Tim,
See bellow...
[]'s, Scopmailto:scop at 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
You need at least a RAM file system for / and a bunch of subdirectories
such as /dev, /lib, etc. The common way to do this on a minimalistic
system is to create a file system image in ROM (often compressed) and copy
it to RAM on start up. Given the questions you are asking, I am very
confident
Well, there is memory protection for now.
And when new hardware arrives, we'll have
file system.
--- Dan Malek dan at embeddededge.com wrote:
Tim Lai wrote:
I am new to linux kernel. I'll have the main
application run from init(), so I wasn't planning
to have a file system.
So, why
At 04:12 PM 6/21/2002 -0400, Jerry Van Baren wrote:
You need at least a RAM file system for / and a bunch of subdirectories
such as /dev, /lib, etc. The common way to do this on a minimalistic
system is to create a file system image in ROM (often compressed) and copy
it to RAM on start up.
]
Sent: Friday, June 21, 2002 1:12 PM
To: linuxppc-embedded at lists.linuxppc.org
Subject: Re: Can I run linux without a file system?
You need at least a RAM file system for / and a bunch of subdirectories
such as /dev, /lib, etc. The common way to do this on a minimalistic
system is to create
I can say that a minimum RedHat install uses 29,296
files ? 382.020MB, debian 10,734 files - 67.428MB,
my minimal root filesystem 82 files and 4.8MB.
Do I need to install all these files in the file
system? Can I have /, with no file in it?
** Sent via the linuxppc-embedded mail list.
Tim Lai wrote:
Do I need to install all these files in the file
system? Can I have /, with no file in it?
Respectfully, I think perhaps you should call WindRiver or some other
traditional RTOS vendor.
If you insist on using Linux, I highly recommend you go to Amazon and
order Craig's book
At 01:49 PM 6/21/2002 -0700, Tim Lai wrote:
I can say that a minimum RedHat install uses 29,296
files ? 382.020MB, debian 10,734 files - 67.428MB,
my minimal root filesystem 82 files and 4.8MB.
Do I need to install all these files in the file
system? Can I have /, with no file in it?
OK, you and John Kerl caught me fear-mongering :-). Thank you for the link
and shameless plug, it looks very, very useful. 4.8MB is very respectable
but not what most people think about when they say minimal file
system. Tim wants less than 1MByte, care to take up THAT challenge
:-)? That
Dr. Craig Hollabaugh wrote:
I can say that a minimum RedHat install uses 29,296 files -
382.020MB, debian 10,734 files - 67.428MB, my minimal root
filesystem 82 files and 4.8MB.
Hmm, my minimal rootfs is (so far) 7 Mb, (as reported by du -s).
Or, is this 4Mb you cite compressed? I wonder
: Friday, June 21, 2002 1:42 PM
To: 'Jerry Van Baren'; linuxppc-embedded at lists.linuxppc.org
Subject: RE: Can I run linux without a file system?
It's not *that* bad, is it? ;)
I have to admit I stumbled around for a while before
I got it right, but I do have a shell script for making
a RAM disk image
John == John Kerl Kerl writes:
John * I could bulk-copy (cp -R) from $xroot to the filesystem
John image, *but* you can't cp around the files in /dev. The
John script below is hackish in that I list out all the
John subdirectories in $xroot except /dev and copy them, then
Wolfgang Denk wrote:
In message
45B36A38D959B44CB032DA427A6E10640167CFE3 at cceexc18.americas.cpqcorp.net
you wrote:
Hmm, my minimal rootfs is (so far) 7 Mb,
[...]
Have a look at the SELF Makefile... you should run
$(CROSS_PREFIX)strip --remove-section=.note --remove-section=.comment
everything using the -Os -mstring -mmultiple optimizations.
As for the original question Can I run linux without a file system?,
If you don't need a file system, mabey the question should be do you
realy need linux. It may just be easier to make an executable to sit
on something like PPCBoot. (just
Do I need to install all these files in the file
system? Can I have /, with no file in it?
What do you want to do? Do you want a shell, run a
program, load a device driver? What is it exactly?
I 'll run my application which is build in the kernel.
No shell in the beginning. But I will
use uclibc and busybox. it is pretty straightforward to get a root file
system smaller than 1M with lots of useful stuff, either with or without
shared libraries (shared uclibc is 300K including ld.so on my ppc
system, busybox is 200K including ash,mv,cp,ls,...). The downside is
you have to
25 matches
Mail list logo