public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: linux kernel without file system
@ 2009-01-14  8:46 Tomasz Chmielewski
  2009-01-14  9:34 ` Philippe De Muyter
  0 siblings, 1 reply; 22+ messages in thread
From: Tomasz Chmielewski @ 2009-01-14  8:46 UTC (permalink / raw)
  To: LKML, phdm

> I need to design a very small embedded system that must only control
> one ethernet port and two serial lines and must fit in a very small flash
> memory.  So I thought about replacing the call to /etc/init by my application
> program and removing all the file-system part of linux.
> 
> Is that doable ?
> 
> Is there a 'standard' way of doing that ?
> 
> The first problem I see is accessing my serial lines.  How could I do that
> without using open("/dev/ttySx"), which requires a file system ?
> 
> Is there a way to access devices that does not require a file-system ?

You could put everything in initramfs (and embed it in the kernel).


-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 22+ messages in thread
* linux kernel without file system
@ 2009-01-14  8:30 Philippe De Muyter
  2009-01-14 10:15 ` Alan Cox
  0 siblings, 1 reply; 22+ messages in thread
From: Philippe De Muyter @ 2009-01-14  8:30 UTC (permalink / raw)
  To: linux-kernel

Hello list,

I need to design a very small embedded system that must only control
one ethernet port and two serial lines and must fit in a very small flash
memory.  So I thought about replacing the call to /etc/init by my application
program and removing all the file-system part of linux.

Is that doable ?

Is there a 'standard' way of doing that ?

The first problem I see is accessing my serial lines.  How could I do that
without using open("/dev/ttySx"), which requires a file system ?

Is there a way to access devices that does not require a file-system ?

Thanks for reading this far

Philippe

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2009-01-17 19:40 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-14  8:46 linux kernel without file system Tomasz Chmielewski
2009-01-14  9:34 ` Philippe De Muyter
2009-01-14  9:52   ` Xavier Bestel
2009-01-14 10:18     ` Philippe De Muyter
2009-01-14 14:27       ` Rogan Dawes
2009-01-14 14:52         ` Philippe De Muyter
2009-01-14 14:57           ` Rogan Dawes
2009-01-14 15:24             ` Philippe De Muyter
2009-01-14 15:31               ` Rogan Dawes
2009-01-15 18:06               ` Arnd Bergmann
2009-01-14 10:34     ` Kay Sievers
2009-01-14 13:49       ` Xavier Bestel
2009-01-17 19:38       ` Enrico Weigelt
2009-01-14 11:59   ` Arnd Bergmann
2009-01-14 12:18     ` Philippe De Muyter
2009-01-14 14:27   ` David Newall
2009-01-14 14:49     ` Philippe De Muyter
2009-01-14 15:14       ` David Newall
2009-01-14 17:02   ` John Stoffel
  -- strict thread matches above, loose matches on Subject: below --
2009-01-14  8:30 Philippe De Muyter
2009-01-14 10:15 ` Alan Cox
2009-01-15 15:34   ` Enrico Weigelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox