Forums

ucLinux on LPC2000?

Started by Douglas Gemignani January 31, 2009
Hi list,

I currently develop projects using lpc2378 and a RTOS, everything works
fine, but I was wondering the possibility of using this ucLinux project,
since it allows me to explore new possibilities of SW development.
Yes, I'm aware of the MMU problem and the 512k flash of the lpc2378, but I
was wondering if it is possible to boot a really small linux, grab an IP and
maybe run a simple TCP application.

Does anyone have ideias or experiences to share?
[]s
Douglas

An Engineer's Guide to the LPC2100 Series

On Saturday 31 January 2009 17:46, Douglas Gemignani wrote:
> Hi list,
>
> I currently develop projects using lpc2378 and a RTOS, everything
> works fine, but I was wondering the possibility of using this
> ucLinux project, since it allows me to explore new possibilities of
> SW development. Yes, I'm aware of the MMU problem and the 512k
> flash of the lpc2378, but I was wondering if it is possible to boot
> a really small linux, grab an IP and maybe run a simple TCP
> application.

uclinux will require 8MB ram.

>
> Does anyone have ideias or experiences to share?
> []s
> Douglas
>

--
Rgds
JTD

--- In l..., Douglas Gemignani wrote:
>
> Hi list,
>
> I currently develop projects using lpc2378 and a RTOS, everything
works
> fine, but I was wondering the possibility of using this ucLinux
project,
> since it allows me to explore new possibilities of SW development.
> Yes, I'm aware of the MMU problem and the 512k flash of the lpc2378,
but I
> was wondering if it is possible to boot a really small linux, grab
an IP and
> maybe run a simple TCP application.
>
> Does anyone have ideias or experiences to share?
> []s
> Douglas
>
>

I'd recommend looking at uIP and lwIP to see if they can run your
simple TCP application. If they can then you aren't going to need an
MMU and tons of memory resources. If you need a more robust network
stack for your application AND you don't want to require an MMU then
take a look at eCos.

Here is another related post:
http://tech.groups.yahoo.com/group/lpc2000/message/37938

TC
please any one help me i need technical notes related to porting of Linux to ARM microcontroller
 
please help me

--- On Sun, 1/2/09, tcirobot wrote:

From: tcirobot
Subject: [lpc2000] Re: ucLinux on LPC2000?
To: l...
Date: Sunday, 1 February, 2009, 2:36 AM

--- In lpc2000@yahoogroups .com, Douglas Gemignani wrote:
>
> Hi list,
>
> I currently develop projects using lpc2378 and a RTOS, everything
works
> fine, but I was wondering the possibility of using this ucLinux
project,
> since it allows me to explore new possibilities of SW development.
> Yes, I'm aware of the MMU problem and the 512k flash of the lpc2378,
but I
> was wondering if it is possible to boot a really small linux, grab
an IP and
> maybe run a simple TCP application.
>
> Does anyone have ideias or experiences to share?
> []s
> Douglas
>
>
>
>

I'd recommend looking at uIP and lwIP to see if they can run your
simple TCP application. If they can then you aren't going to need an
MMU and tons of memory resources. If you need a more robust network
stack for your application AND you don't want to require an MMU then
take a look at eCos.

Here is another related post:
http://tech. groups.yahoo. com/group/ lpc2000/message/ 37938

TC



Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/


SIVAKUMAR schrieb:
>
> please any one help me i need technical notes related to porting of Linux to ARM microcontroller

try google: "technical notes related to porting of Linux to ARM"
--
42Bastian

Note: SPAM-only account, direct mail to bs42@...

On Sunday 01 February 2009 22:28, SIVAKUMAR wrote:
> please any one help me i need technical notes related to porting of
> Linux to ARM microcontroller
> please help me

Posting Guidelines
1) Google first
2) Post a brief list of things you have done.
3) Post brief details of your project
4) DONT POST WITHOUT DOING THE ABOVE
5) Post back with results of any suggestions you receive or things you
may have tried.

For the clueless capital letters means shouting. So in this case I am
Shouting DONT POST WITHOUT DOING YOUR HOMEWORK.

Sivakumar your question is of an extremely generic nature and there
are innumerable notes about porting to other architectures on the
net. It shows that you have not done your homework (LAZY).

Specifically there are a number of ARM processors and architectures
and ports to very many. You must indicate what ARM device alongwith
the first 3 mentioned above.

Until you do atleast this much, you are just wasting everbody's
bandwidth and disk space.

--
Rgds
JTD

Hi,

Up to my knowledge, you cannot port the linux into LPC2377/2378. Since your
micro controller does not have a MMU or MPU.
Because, in linux conversion of virtual memory into physical memory is done
by MMU hardware, not by linux software code. So you may not port linux....

Instead of linux, you may try some other RTOS like uclinux, etc...

All, If i am wrong please revert to me about your suggestions.

Regards
Balaji Mohan

On Mon, Feb 2, 2009 at 12:14 PM, jtd wrote:

> On Sunday 01 February 2009 22:28, SIVAKUMAR wrote:
> > please any one help me i need technical notes related to porting of
> > Linux to ARM microcontroller
> > please help me
>
> Posting Guidelines
> 1) Google first
> 2) Post a brief list of things you have done.
> 3) Post brief details of your project
> 4) DONT POST WITHOUT DOING THE ABOVE
> 5) Post back with results of any suggestions you receive or things you
> may have tried.
>
> For the clueless capital letters means shouting. So in this case I am
> Shouting DONT POST WITHOUT DOING YOUR HOMEWORK.
>
> Sivakumar your question is of an extremely generic nature and there
> are innumerable notes about porting to other architectures on the
> net. It shows that you have not done your homework (LAZY).
>
> Specifically there are a number of ARM processors and architectures
> and ports to very many. You must indicate what ARM device alongwith
> the first 3 mentioned above.
>
> Until you do atleast this much, you are just wasting everbody's
> bandwidth and disk space.
>
> --
> Rgds
> JTD
>
>

Balaji Mohan wrote:
> Instead of linux, you may try some other RTOS like uclinux, etc...
Have we really reached the abysmal state where linux is thought of as an
RTOS?

Robert

--
http://www.aeolusdevelopment.com/

From the Divided by a Common Language File (Edited to protect the guilty)
ME - "I'd like to get Price and delivery for connector Part # XXXXX"
Dist./Rep - "$X.XX Lead time 37 days"
ME - "Anything we can do about lead time? 37 days seems a bit high."
Dist./Rep - "that is the lead time given because our stock is live....
we currently have stock."

Hi,

I knew that LINUX is not a RTOS, its a OS.

But what I mean is instead of using LINUX in LPC2738, better to try some
others...

Hi, If I am wrong please correct me.
On Tue, Feb 3, 2009 at 3:51 AM, Robert Adsett <
s...@aeolusdevelopment.com> wrote:

> Balaji Mohan wrote:
> > Instead of linux, you may try some other RTOS like uclinux, etc...
>
> Have we really reached the abysmal state where linux is thought of as an
> RTOS?
>
> Robert
>
> --
> http://www.aeolusdevelopment.com/
>
> From the Divided by a Common Language File (Edited to protect the guilty)
> ME - "I'd like to get Price and delivery for connector Part # XXXXX"
> Dist./Rep - "$X.XX Lead time 37 days"
> ME - "Anything we can do about lead time? 37 days seems a bit high."
> Dist./Rep - "that is the lead time given because our stock is live....
> we currently have stock."
>
>

On Tuesday 03 February 2009 09:30, Balaji Mohan wrote:
> Hi,
>
> I knew that LINUX is not a RTOS, its a OS.

Neither is uclinux. Uclinux is a linux for mmuless cpus.
There are several patched versions of linux which also provide you
with a range of realtime capabilities.
www.realtimelinux.org
http://www.linuxdevices.com/news/NS8429001216.html

> But what I mean is instead of using LINUX in LPC2738, better to try
> some others...

And what exactly is the reasoning behind this line of thought.

--
Rgds
JTD