lkml.org 
[lkml]   [2009]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux kernel without file system
> 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


\
 
 \ /
  Last update: 2009-01-14 09:49    [W:0.432 / U:2.008 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site