www.smartbusinesschoices.com

Leading Business and Technology,
News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

Why not Linux on Atmel AVR32UC3?
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux Embedded  
View previous topic :: View next topic  
Author Message
C. J. Clegg
Guest






PostPosted: Sat Sep 06, 2008 5:01 am    Post subject: Why not Linux on Atmel AVR32UC3? Reply with quote

I'm told that the Atmel AVR32UC3A/B (and their associated eval boards,
the EVK1100/1) cannot run Linux because the processor doesn't have an
MMU... hence something like the AVR32-AP7, at a minimum, is needed.

On the other hand, uCLinux is specifically designed to run on
processors without MMUs. So, any reason why uCLinux cannot run on the
AVR32UCA/B?

Has anyone done such a port? I have searched the net and cannot find
one so far.
Back to top
AZ Nomad
Guest






PostPosted: Sat Sep 06, 2008 5:58 am    Post subject: Re: Why not Linux on Atmel AVR32UC3? Reply with quote

On Fri, 05 Sep 2008 20:01:40 -0400, C J Clegg <answer.to.newsgroup@nospam.com> wrote:

Quote:
I'm told that the Atmel AVR32UC3A/B (and their associated eval boards,
the EVK1100/1) cannot run Linux because the processor doesn't have an
MMU... hence something like the AVR32-AP7, at a minimum, is needed.

On the other hand, uCLinux is specifically designed to run on
processors without MMUs. So, any reason why uCLinux cannot run on the
AVR32UCA/B?

Google for embedded linux. Downloaded it and read the fucking docs.
Back to top
C. J. Clegg
Guest






PostPosted: Sat Sep 06, 2008 9:05 am    Post subject: Re: Why not Linux on Atmel AVR32UC3? Reply with quote

On Fri, 05 Sep 2008 19:58:54 -0500, AZ Nomad
<aznomad.3@PremoveOBthisOX.COM> wrote:

Quote:
Google for embedded linux. Downloaded it and read the fucking docs.

Good evening, AZ.

I've been doing that all day. But, thanks for your suggestion.
Back to top
David Brown
Guest






PostPosted: Sun Sep 07, 2008 1:23 pm    Post subject: Re: Why not Linux on Atmel AVR32UC3? Reply with quote

C. J. Clegg wrote:
Quote:
I'm told that the Atmel AVR32UC3A/B (and their associated eval boards,
the EVK1100/1) cannot run Linux because the processor doesn't have an
MMU... hence something like the AVR32-AP7, at a minimum, is needed.

On the other hand, uCLinux is specifically designed to run on
processors without MMUs. So, any reason why uCLinux cannot run on the
AVR32UCA/B?

Has anyone done such a port? I have searched the net and cannot find
one so far.


The AVR32UCA/B are targeted as microcontrollers, not microprocessors.
It's not the lack of the MMU that's the main problem (as you say,
uCLinux can be used to get around that). It's the lack of memory -
these devices have internal flash and ram, and no external databus. You
need at least 2 MB flash and 4 MB ram to make a sensible Linux system,
and these devices have not nearly enough.
Back to top
Michael Schnell
Guest






PostPosted: Mon Sep 08, 2008 1:22 pm    Post subject: Re: Why not Linux on Atmel AVR32UC3? Reply with quote

C. J. Clegg wrote:
Quote:
cannot run Linux because the processor doesn't have an
MMU...

Linux for CPUs without an MMU is called µCLinux (or uCLinux). It is very
widely used on small devices.

-Michael
Back to top
Ulf Samuelsson
Guest






PostPosted: Tue Sep 09, 2008 10:48 pm    Post subject: Re: Why not Linux on Atmel AVR32UC3? Reply with quote

"Michael Schnell" <mschnell_at_lumino_dot_de@gmx.com> skrev i meddelandet
news:48C4E0D3.7040306@gmx.com...
Quote:
C. J. Clegg wrote:
cannot run Linux because the processor doesn't have an
MMU...

Linux for CPUs without an MMU is called µCLinux (or uCLinux). It is very
widely used on small devices.

-Michael

Do you have any data supporting that statement?

Of all embedded ARM Linux projects I have seen (~200),
I can think of *one* using a MMU less ARM.
That was around year 2000.
Rest are using ARM9/11 with MMU.

--
Best Regards,
Ulf Samuelsson
This is intended to be my personal opinion which may,
or may not be shared by my employer Atmel Nordic AB
Back to top
Michael Schnell
Guest






PostPosted: Wed Sep 10, 2008 1:19 pm    Post subject: Re: Why not Linux on Atmel AVR32UC3? Reply with quote

Quote:
Of all embedded ARM Linux projects I have seen (~200),
I can think of *one* using a MMU less ARM.
That was around year 2000.
Rest are using ARM9/11 with MMU.


Regarding ARM you might be right, as the more powerful (thus useful for
Linux projects) do have an MMU. Even though the ARM MMU design is bad
(located "behind" the cache instead of "before" as with the x86 and
other CPUs and thus requesting for cache flush with any task switch) and
thus not using the MMU makes some projects a lot faster, most developers
don't like to do without the additional comfort an MMU grants.

But there are lots of other processor brands but ARM (regarding the
subject we are discussing AVR right now). The Linux tool chain I use
features 23 main CPU architectures (one is ARM which internally is split
in an MMU enabled and a non-MMU branch).

Of course not implementing an MMU makes the hardware faster, too.

I'm working on a project with a NIOS processor. This CPU does not exist
in hardware, but is configured in an FPGA. You can choose if you want it
with or without MMU. (With MMU: more programming comfort and security,
but more FPGA resources, slower hardware and slower OS.) So I plan to
use it without MMU in production but fall back to configure an MMU in a
testing system for debugging when appropriate.

-Michael
Back to top
Display posts from previous:   
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux Embedded  
Page 1 of 1
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum