Jivin Mike Frysinger lays it down ...
> On Monday 20 October 2008, David McCullough wrote:
> > Jivin Jun Sun lays it down ...
> > > On Tue, Oct 21, 2008 at 08:49:54AM +1000, David McCullough wrote:
> > > > Jivin Jun Sun lays it down ...
> > > > > On Mon, Oct 20, 2008 at 09:39:46AM -0400, Mike Frysinger wrote:
> > > > > > On Monday 20 October 2008, Arthur Wong wrote:
> > > > > > > -  LDFLAGS=
> > > > > > > +  LDFLAGS= -elf2flt
> > > > > >
> > > > > > this is wrong as you've just broken non-FLAT targets ... the
> > > > > > configure script has an option to respect LDFLAGS so use it
> > > > >
> > > > > Probably a dumb question - are there non-FLAT targets in uclinux?
> > > >
> > > > Yes,  lots of targets with MMU's in there.  They almost surely out
> > > > number the ones with flat support by now :-)
> > >
> > > Yes, I do know some targets have MMU, but I thought they just
> > > turn it off and use mmu-less uclinux kernel. Wrong?
> >
> > Wrong,  most (if not all) of the MMU targets use the MMU.
> 
> assuming your MMU implementation isnt god awful and destroys performance, 
> then 
> yes.  otherwise, that MMU is just eating your margin ;).

I think you can show that an MMU always eats some margin,  but the
benefits for most outweigh this.

And almost all MMU targets in the dist do use the MMU :-)

> > > If a target supports MMU and runs ELF, why doesn't it just use regular
> > > linux kernel?
> >
> > Because the uClinux-dist is more about building firmware,  and it
> > doesn't matter whether you are ELF/flat/fdpic or whatever, if you are
> > building firmware the uClinux-dist is designed to do it in an easily
> > reproducible way suitable for use in products.
> 
> actually, isnt that *exactly* what the uClinux distribution is about ?  
> building firmware ?


Yes,  that's what I was actually saying,  remove the "Because" :-)

> > uClinux is just "linux" with some extras, nothing is taken out,  so you
> > are just using a regular linux kernel :-)
> 
> the way i describe it is this:
>  - the "uClinux kernel" or just "uClinux" in the 2.4 days used to mean 
> something special as it was the only way to run Linux on a proc without an 
> MMU.  nowadays it's just another vendor kernel patchset that people can do 
> without (i'm not saying it's a bad thing or people dont want it, just that it 
> isnt required for no-MMU).  anyone can go to kernel.org and get a mainline 
> kernel and run Linux on a no-MMU processor.

Yeah,  in as much a kernel.org gets you to "init" and no further ;-)

The uClinux-dist is still carrying patches need to make a number of !MMU
platforms work (not all I know :-),  and until Gerg manages to get everything
merged,  it's the easiest way to get the lot.

When you are working on things that are not quite mainlined you have to
get a tree from somewhere,  be it another git repo,  a patchset or
something else.

>  - the "uClinux distribution" is all the user space build stuff that helps 
> ease the configuration / build / packaging steps.

Agreed,

Cheers,
Davidm

-- 
David McCullough,  [EMAIL PROTECTED],   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org   http://www.snapgear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to