Re: serial.c

From: George Anzinger (george@pioneer.net)
Date: Fri May 12 2000 - 17:06:16 EST


Rich Bryant wrote:
>
> > >
> > > I realize that, but I don't have any type of disk drive.... My boot medium
> > > isn't large enough to hold the file system and kernel. I have plenty of
> > > ram after that, but it also has to be used as RAMDISK.
> >
> > Nevertheless it _is_ possible to strip the system down to run in less
> > than 4MB RAM (_including_ a ramdisk ROOT-FS). The kernels I have
> > generated for my embedded Systems are typically around 650 KB
> > (uncompressed & stripped). I doubt that stripping down the code
> > in serial.c would reduce that by any significant amount.
>
> The idea was to reduce serial.c and the other 2 or so drivers that I
> need. I then would remove the filesystem as we know it and just use
> something incredebly simplistic. It is getting too far off topic as what I
> was thinking of makes the system something other than linux since I
> wouldn't even be able to run regular programs. It is really a mute point
> as far as dicussions here are concerned.
>
> The amount of RAM that I run in isn't the issue at all, but rather the
> type of boot medium that I have. This board doesn't have a floppy
> drive, only ROM. The ROM isn't big enough to hold the sytem so the amount
> of RAM really means nothing at all. Flash might be an answer, but I will
> have to talk to the guy designing the board. I just don't see Linux as
> viable in this type of system since I need to have a megabyte of
> static storage somewhere bit it disk, rom, flash or network to simply boot
> it. Correct me if I am wrong.

Network seems like the simplest and the most powerful. Then you can NFS
mount the root device, don't even need a ram disk. All you need is a
simple monitor in the rom. Embedded Planet does it this way.

George

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:22 EST