lkml.org 
[lkml]   [2002]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] Embedded X86 systems Was: [PATCH][RFC] AMD Elan patch
From
Date
Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

> > There is the basic Cx5530 chipset, which could have support in the
> > Linux kernel (IDE, graphics and sound).
>
> It already does. Has done for ages. The non SB emulation mode of the audio
> is not supported but that I don't think matters.
>
> > for all chips, some are specific for a variant, such as the video
> > input port and graphics overlay/genlock.
>
> X11
>
> In general if we want to support lots of weird crap then the ARM folks have
> a very nice model and a lot of weird crap to have developed their ideas
> against. Personal preference
>
> Type of system (PC, Embedded)
>
> then for PC leave as is, for embedded
>
> Board type (blah, blah , blah)
> Firmware (PC BIOS, LinuxBIOS, RedBoot)

A couple of thoughts on this.

With LinuxBIOS it is one of my design goals that you not need to know
the board type. Plus I frequently run kernels that allow me to boot
with either LinuxBIOS or a PC BIOS, as that makes reverse engineering
easier.

Further in cases where we actually control the firmware (LinuxBIOS,
RedBoot?) it makes sense to have the firmware pass us configuration
values for places where it deviates from the norm. This doesn't incur
any extra firmware overhead as firmware is already board specific, and
with flash chips it is easy enough to update. The linux kernel then
would just need to handle a new configuration option.

For the truly weird, horrible or expedient cases we probably want to
have the choice be
Type of system (PC, Dedicated).
I believe dedicated describes the category better. Embedded refers to
computers in small hidden places. Where dedicated just means a
computer setup that doesn't need to handle the general case. That
plus I have trouble seeing a SGI workstation, or a 512 node cluster
running LinuxBIOS as an embedded system :)

Having Board type under dedicated/embedded sounds quite reasonable.
And for weird things like LinuxBIOS it probably makes sense to at
least develop their support under something like dedicated. And only
if it becomes more general purpose move it out of there.

I'm thinking this through carefully as I'm getting close to doing
figuring out what I need to do to get LinuxBIOS support into the
kernel. The structure is finally starting to look good enough that
this is reasonable.

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

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.164 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site