2002-08-06 16:00:24

by Amol Lad

[permalink] [raw]
Subject: uclinux on MMU platforms - query

Hi,
Can I run uClinux on platforms that has MMU

--
Amol


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com


2002-08-07 05:41:53

by Greg Ungerer

[permalink] [raw]
Subject: Re: uclinux on MMU platforms - query


Hi Amol,

Amol Lad <[email protected]> writes:
> Hi,
> Can I run uClinux on platforms that has MMU

You could, but why would you want to?

If your processor has VM then wou will be better of
using it. Without VM you suffer more problems from
free memory fragmentation, no dynamically growing
stacks, ne memory protection between kernel and
processes, etc.

There are currently no patches for processors with
VM to run with the CONFIG_NO_MMU support of uClinux.
(There would be a little bit of work to do if you
wanted to).

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer -- Chief Software Wizard EMAIL: [email protected]
SnapGear Pty Ltd PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.snapgear.com

2002-08-07 10:07:25

by Alan

[permalink] [raw]
Subject: Re: uclinux on MMU platforms - query

On Wed, 2002-08-07 at 06:46, Greg Ungerer wrote:
> > Can I run uClinux on platforms that has MMU
>
> You could, but why would you want to?

Being able to run true ucLinux on i386 makes debugging and verification
of software so much less painful sometimes.

2002-08-08 00:30:50

by Greg Ungerer

[permalink] [raw]
Subject: Re: uclinux on MMU platforms - query

Hi Alan,

Alan Cox wrote:
> On Wed, 2002-08-07 at 06:46, Greg Ungerer wrote:
>
>> > Can I run uClinux on platforms that has MMU
>>
>>You could, but why would you want to?
>
>
> Being able to run true ucLinux on i386 makes debugging and verification
> of software so much less painful sometimes.

For some things yes. But it is a real pain trying to track
down memory corruption and stack overflow problems in
applications. They have a tendency to take your the whole system...

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer -- Chief Software Wizard EMAIL: [email protected]
SnapGear Pty Ltd PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.snapgear.com

2002-08-08 11:39:17

by David Weinehall

[permalink] [raw]
Subject: Re: uclinux on MMU platforms - query

On Thu, Aug 08, 2002 at 10:33:40AM +1000, Greg Ungerer wrote:
> Hi Alan,
>
> Alan Cox wrote:
> >On Wed, 2002-08-07 at 06:46, Greg Ungerer wrote:
> >
> >>> Can I run uClinux on platforms that has MMU
> >>
> >>You could, but why would you want to?
> >
> >
> >Being able to run true ucLinux on i386 makes debugging and verification
> >of software so much less painful sometimes.
>
> For some things yes. But it is a real pain trying to track
> down memory corruption and stack overflow problems in
> applications. They have a tendency to take your the whole system...

Wouldn't an ucLinux-version of uml be a good idea? :-)


Regards: David Weinehall
--
/> David Weinehall <[email protected]> /> Northern lights wander <\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </

2002-08-08 13:16:08

by Greg Ungerer

[permalink] [raw]
Subject: Re: uclinux on MMU platforms - query

Hi David,

David Weinehall wrote:
> On Thu, Aug 08, 2002 at 10:33:40AM +1000, Greg Ungerer wrote:
>>Alan Cox wrote:
>>
>>>On Wed, 2002-08-07 at 06:46, Greg Ungerer wrote:
>>>
>>>
>>>>> Can I run uClinux on platforms that has MMU
>>>>
>>>>You could, but why would you want to?
>>>
>>>
>>>Being able to run true ucLinux on i386 makes debugging and verification
>>>of software so much less painful sometimes.
>>
>>For some things yes. But it is a real pain trying to track
>>down memory corruption and stack overflow problems in
>>applications. They have a tendency to take your the whole system...
>
>
> Wouldn't an ucLinux-version of uml be a good idea? :-)

Yeah :-)

We sort of have better than that now. There are quite a few
emulators that run under standard Linux that will quite happliy
run uClinux. There is xcopilot (m68328), coldfire (5206),
ARMulator (ARM), tsim (SPARC leon) and or1ksim (OPENcores OR1000).
I am sure there is more!

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer -- Chief Software Wizard EMAIL: [email protected]
Snapgear Pty Ltd PHONE: +61 7 3279 1822
825 Stanley St, FAX: +61 7 3279 1820
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com