Skip to contentSkip to conversation

Linux on 16-bit processors

DISCUSSION [email protected] 6 participants 6 messages Mar 18, 2003 – Mar 19, 2003

lore
Share & tools
lore
#0 lore raw

I'm interested on running Linux on some less powerful, cheaper 16 bit systems. I would like to know if there is a slimmed down version of the kernel (any version 2.2+) that can run on 16-bit CPUs. I know that linux "requires" a 32-bit CPU, but I know that it has run on less. I'm interested in any arch - really.
I can't seem to find a slimmed down version of the kernel. Any projects out there? Something with decent performance would be cool too. :o)

I'm not apart of the list, so if you could pleace CC: any replies to this e-mail ([email protected]) that would be great.

I asked before at a local user group (southflorida embedded user group).. and this is what info they got me. I just cut-n-pasted.

<cut>

To: Mick Weiss
From: "[email protected]" <[email protected]>

glad to help. you have interesting research.
Most handhelds these days are 32 bit processors, even pagers. Mostly some ARM variant especially Intel StrongArm.

The main obstacle to running Linux on smaller (cheaper) CPUs seems to be an MMU which Linux and most Unixes expect. For a Linux work alike, some RTOS's will have various POSIX layers corresponding to standard C library, real-time facilities, threads, and shell utilities. So if an application uses POSIX compliant calls, it can move from *ix to one of these operating systems.
Most *Ix work alikes Lynx, and QNX claim POSIX compliance. Likewise embedded RTOSes like Red Hat eCos, rtxc, mentor ati nucleus, vrtx, vxworks etc.
Even Microsoft supports many of these POSIX interfaces as do other non Unix OS's like Digital (now HP) VMS, IBM MVS, IBM VM etc

http://www.embedded.com/story/OEG20010312S0073

Original Message:
-----------------
From: [email protected]
Date: Tue, 18 Mar 2003 14:39:45 +0100 (MET)
To: [email protected]
Subject:

Lineo supports processors in the following specific architectures:

32 bit with memory management
32 bit without memory management
16 bit/ 16 bit DSP
8 bit processor/ 8 bit controller

and uclinux is a whopping $200 (its whopping when your just messing with it on your spare time ;), plus I'm not sure how its licenced (GPL?).

----

after searching I found a few things on RTLinux and linux on handhelds, but -- oh well I'll keep looking (its only for myself, no business reasons, so its not important)

miniRTL (after porting it) may be a good design to work from, I'll just have to see.

Thanks Wil for all the info, It definitly sounds cool. I am looking into it right now.

See you at the next meeting,

- Mick

Signature · 17 lines
(o> Web developer / designer
( )     UNIX Systems Admin
---   ~ www.mickweiss.com ~

</cut>

Thanks in advance for any help,

- Mick

(o> Web developer / designer
( )     UNIX Systems Admin
---   ~ www.mickweiss.com ~

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
#1 lore raw

try elks:

http://elks.sourceforge.net/

the economics aren't really there as far as I can tell given the cost of embeded 386 and 486 class cpu's to say nothing of tiny powerpc and arm cpu's.

joelja

Quoted 72 lines · On Wed, 19 Mar 2003 [email protected] wrote:

I'm interested on running Linux on some less powerful, cheaper 16 bit systems. I would like to know if there is a slimmed down version of the kernel (any version 2.2+) that can run on 16-bit CPUs. I know that linux "requires" a 32-bit CPU, but I know that it has run on less. I'm interested in any arch - really.
I can't seem to find a slimmed down version of the kernel. Any projects out there? Something with decent performance would be cool too. :o)

I'm not apart of the list, so if you could pleace CC: any replies to this e-mail ([email protected]) that would be great.

I asked before at a local user group (southflorida embedded user group).. and this is what info they got me. I just cut-n-pasted.

<cut>

To: Mick Weiss
From: "[email protected]" <[email protected]>

glad to help. you have interesting research.
Most handhelds these days are 32 bit processors, even pagers. Mostly some ARM variant especially Intel StrongArm.

The main obstacle to running Linux on smaller (cheaper) CPUs seems to be an MMU which Linux and most Unixes expect. For a Linux work alike, some RTOS's will have various POSIX layers corresponding to standard C library, real-time facilities, threads, and shell utilities. So if an application uses POSIX compliant calls, it can move from *ix to one of these operating systems.
Most *Ix work alikes Lynx, and QNX claim POSIX compliance. Likewise embedded RTOSes like Red Hat eCos, rtxc, mentor ati nucleus, vrtx, vxworks etc.
Even Microsoft supports many of these POSIX interfaces as do other non Unix OS's like Digital (now HP) VMS, IBM MVS, IBM VM etc

http://www.embedded.com/story/OEG20010312S0073

Original Message:
-----------------
From: [email protected]
Date: Tue, 18 Mar 2003 14:39:45 +0100 (MET)
To: [email protected]
Subject:

Lineo supports processors in the following specific architectures:

32 bit with memory management
32 bit without memory management
16 bit/ 16 bit DSP
8 bit processor/ 8 bit controller

and uclinux is a whopping $200 (its whopping when your just messing with it on your spare time ;), plus I'm not sure how its licenced (GPL?).

----

after searching I found a few things on RTLinux and linux on handhelds, but -- oh well I'll keep looking (its only for myself, no business reasons, so its not important)

miniRTL (after porting it) may be a good design to work from, I'll just have to see.

Thanks Wil for all the info, It definitly sounds cool. I am looking into it right now.

See you at the next meeting,

- Mick

Signature · 7 lines
-------------------------------------------------------------------------- 
Joel Jaeggli	      Academic User Services   [email protected]    
--    PGP Key Fingerprint: 1DE9 8FCA 51FB 4195 B42A 9C32 A30D 121E      --
  In Dr. Johnson's famous dictionary patriotism is defined as the last
  resort of the scoundrel.  With all due respect to an enlightened but
  inferior lexicographer I beg to submit that it is the first.
	   	            -- Ambrose Bierce, "The Devil's Dictionary"
#2 lore raw
In reply to [email protected]
Quoted 5 lines · On 03.19, [email protected] wrote:

I'm interested on running Linux on some less powerful, cheaper 16 bit systems. I would like to know if there is a slimmed down version of the kernel (any version 2.2+) that can run on 16-bit CPUs. I know that linux "requires" a 32-bit CPU, but I know that it has run on less. I'm interested in any arch - really.

http://www.uclinux.org/

It doesn't need an mmu, boots on a Palm. ;) Look in 'uClinux Ports'

Or http://www.linux.org/projects/ports.html, look for m68k ports, don't know if any of them work on cpus below 68020.

Signature · 4 lines
J.A. Magallon <[email protected]>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.21-pre5-jam0 (gcc 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk))
#3 lore raw
Quoted 7 lines · J.A. Magallon
Quoted 5 lines · On 03.19, [email protected] wrote:

I'm interested on running Linux on some less powerful, cheaper 16 bit systems. I would like to know if there is a slimmed down version of the kernel (any version 2.2+) that can run on 16-bit CPUs. I know that linux "requires" a 32-bit CPU, but I know that it has run on less. I'm interested in any arch - really.

Quoted 6 lines

http://www.uclinux.org/

It doesn't need an mmu, boots on a Palm. ;) Look in 'uClinux Ports'

Or http://www.linux.org/projects/ports.html, look for m68k ports, don't know if any of them work on cpus below 68020.

It works on an Amiga 500 (plain 68000).

Xav

#4 lore raw
In reply to [email protected]
Quoted 3 lines · On Tue, 2003-03-18 at 23:46, [email protected] wrote:

I'm interested on running Linux on some less powerful, cheaper 16 bit systems. I would like to know if there is a slimmed down version of the kernel (any version 2.2+) that can run on 16-bit CPUs. I know that linux "requires" a

The kernel side is fairly easy if you have a couple of megs of ram. The ucLinux tree supports mmuless systems and a fair variety of processors. User space is more of an issue. The standard Linux userspace is designed for systems with disks and paging, the uclinux stuff is smaller and the ELKS userspace is tinier still.

And uclinux is free not $200. Maybe the writer is confused with the ucSimm development board ?

BTW are "real" 16bit processors actually cheaper any more ? 16bit keeps costs down but several 683xx processors seem to use 16bit external data bus as do some ARM.

Alan

#5 lore raw
Followup to:  <[email protected]>
By author:    Alan Cox <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 5 lines

BTW are "real" 16bit processors actually cheaper any more ? 16bit keeps costs down but several 683xx processors seem to use 16bit external data bus as do some ARM.

80186 seems to be going strong, still; and EZ80 is available as a synthesizable core (basically a Z80 with a 24-bit addressing mode and a very primitime MMU.)

-hpa

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64