Skip to contentSkip to conversation

uclinux on MMU platforms - query

DISCUSSION Greg Ungerer 3 participants 5 messages Aug 7, 2002 – Aug 8, 2002

lore
Share & tools
lore
#0 lore raw

Hi Amol,

Quoted 2 lines · Amol Lad

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: www.snapgear.com

#1 lore raw
Quoted 3 lines · Greg Ungerer
Quoted 1 line

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.

#2 lore raw

Hi Alan,

Quoted 9 lines · Alan Cox
Quoted 3 lines · Greg Ungerer
Quoted 1 line

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: www.snapgear.com

#3 lore raw
Quoted 10 lines · Greg Ungerer

Hi Alan,

Quoted 7 lines · Alan Cox
Quoted 3 lines · Greg Ungerer
Quoted 1 line

Can I run uClinux on platforms that has MMU

You could, but why would you want to?

Quoted 6 lines
Quoted 2 lines

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

Signature · 3 lines
 /> 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           </
author
#4 lore raw

Hi David,

Quoted 14 lines · David Weinehall
Quoted 13 lines · Greg Ungerer
Quoted 10 lines · Alan Cox
Quoted 3 lines · Greg Ungerer
Quoted 1 line

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.

Quoted 6 lines
Quoted 3 lines

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: www.SnapGear.com