QUESTION ON LINUX FOR ARM

Started by saudagar kgaji October 8, 2008
Hi all, i hav some question here....

1. What are the benefits or reasons of running arm processor with linux?
2. Which arm processor from nxp can be used to run linux ?

Thanks.

An Engineer's Guide to the LPC2100 Series

On Wednesday 08 Oct 2008 11:01, saudagar kgaji wrote:
> Hi all, i hav some question here....
>
> 1. What are the benefits or reasons of running arm processor with
> linux?

By linux i also mean uclinux - linux for mmuless devices.
All the benefits that come with using FOSS - availability of source
code, easy migration and upgrade path, cross platform compat, low
costs, massive codebase and documentation, relatively easy access to
the code developers....

> 2. Which arm processor from nxp can be used to run linux ?

nxp lpc2478 is one amongst very many. Google is your friend.

--
Rgds
JTD

I have some experience on UCOSII ,so could I get through UCLINUX easily?
From: jtd
Sent: Wednesday, October 08, 2008 2:06 PM
To: l...
Subject: Re: [lpc2000] QUESTION ON LINUX FOR ARM
On Wednesday 08 Oct 2008 11:01, saudagar kgaji wrote:
> Hi all, i hav some question here....
>
> 1. What are the benefits or reasons of running arm processor with
> linux?

By linux i also mean uclinux - linux for mmuless devices.
All the benefits that come with using FOSS - availability of source
code, easy migration and upgrade path, cross platform compat, low
costs, massive codebase and documentation, relatively easy access to
the code developers....

> 2. Which arm processor from nxp can be used to run linux ?

nxp lpc2478 is one amongst very many. Google is your friend.

--
Rgds
JTD


?? schrieb:
> I have some experience on UCOSII ,so could I get through UCLINUX easily?

No. Completely different world.

Maybe you should ask your self why you want (uC)Linux at all. What do
you expect from it and if you can´t get it with uC/OS II as well (and
less painful).

The lesser you pay in term of money, the more you pay in terms of time
and frustration.

--
42Bastian

Note: SPAM-only account, direct mail to bs42@...
Well, as I thought ,maybe their huge difference just as WINDOWS diff form LINUX.Can I take the uclinux as a simple version of linux which is used in embedd systems?
From: 42Bastian
Sent: Wednesday, October 08, 2008 2:44 PM
To: l...
Subject: Re: [lpc2000] QUESTION ON LINUX FOR ARM
?? schrieb:
> I have some experience on UCOSII ,so could I get through UCLINUX easily?

No. Completely different world.

Maybe you should ask your self why you want (uC)Linux at all. What do
you expect from it and if you can´t get it with uC/OS II as well (and
less painful).

The lesser you pay in term of money, the more you pay in terms of time
and frustration.

--
42Bastian

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




On Wednesday 08 Oct 2008 12:14, 42Bastian wrote:
> ?? schrieb:
> > I have some experience on UCOSII ,so could I get through UCLINUX
> > easily?
>
> No. Completely different world.
>
> Maybe you should ask your self why you want (uC)Linux at all. What
> do you expect from it and if you cant get it with uC/OS II as well
> (and less painful).
>
> The lesser you pay in term of money, the more you pay in terms of
> time and frustration.

Not necessarily true. IMO a closed solution merely pushes the pain
point further down the road, usually at a point where it causes near
death experiences and complete loss of control.
But then to each his own poison ;-).

And as you very correctly point out putdown expectations in black and
white at the beginning.

--
Rgds
JTD

My 5c:

> 1. What are the benefits or reasons of running arm processor with linux?

Depending on the processor and application;
a working/debugged code-base (assuming a port of Linux
exists for your processor and all its peripherals).

> 2. Which arm processor from nxp can be used to run linux ?

The versions which have external memory buses.
The ones without MMUs can run uCLinux, while those
with MMUs can run Linux

> 3. I have some experience on UCOSII ,so could I get through UCLINUX easily?

Depends;
1) If you need to interface to custom hardware and need
to write device drivers, Linux drivers are very different
than uCOS-II drivers.

2) If you just need to write application code, and
you understand multi-threaded programming under Linux
and tasks under uCOS-II, then you'll get by.

Another consideration in the uCOS-II versus Linux debate
is your availability of programmer resources. If you do
not have a real-time requirement, or your real-time requirement
can be met using Linux, with some help from the hardware,
then a Linux-based system can be more easily supported.

For example, I use several hundred DSPs running uCOS-II,
that have been running 24/7 for years. But I'm the only
guy who can work on them (job security?). Whereas the new
boards I'm designing contain PowerPCs running Linux.
Much easier to find competent programmer help with that OS.

Then of course there is the consideration of cost. If you're
trying to be lean-and-mean, then an RTOS will use less
hardware resources than Linux ... but the increase in software
resource cost may be comparable.

If you're prototyping a system, start with the path of
least-resistance, buy a working board with a working
version of both OSes. Then get a minimal version of your
application working and compare the resources, and the
effort.

Cheers,
Dave