Does linux support for microprocessor without MMU?
Howdy,
I got an embedded MIPS board recently.
It has the following features:
- CPU implements a five-stage pipeline with performance similar to the MIPS R3000 pipeline.
- MIPS32 compatible instruction set
- R4000 style privileged resource architecture.
- Without MMU.
I am estimating the possibility of porting linux on it.
Can Linux/MIPS 2.2 or 2.4 support for such a board which without MMU ? Because i consider it is the most difficult part in the porting process. Am i right?
KJ
Quoted 9 lines · kjlin was once rumoured to have
Howdy,
I got an embedded MIPS board recently.
It has the following features:
- CPU implements a five-stage pipeline with performance similar to the MIPS R3000 pipeline.
- MIPS32 compatible instruction set
- R4000 style privileged resource architecture.
- Without MMU.
Quoted 4 lines
I am estimating the possibility of porting linux on it.
Can Linux/MIPS 2.2 or 2.4 support for such a board which without MMU ? Because i consider it is the most difficult part in the porting process. Am i right?
the Standard Linux kernels all require an MMU. However, there is a version of the kernel known as "ucLinux" (Microcontroller Linux) which will run on CPUs without MMU.
I don't know if ucLinux has a MIPS target yet.
C.
Signature · 4 lines
--==============================================-- Crossfire | This email was brought to you [email protected] | on 100% Recycled Electrons --==============================================--
Quoted 17 lines · Crossfire
Quoted 9 lines · kjlin was once rumoured to have
Howdy,
I got an embedded MIPS board recently.
It has the following features:
- CPU implements a five-stage pipeline with performance similar to the MIPS R3000 pipeline.
- MIPS32 compatible instruction set
- R4000 style privileged resource architecture.
- Without MMU.Quoted 4 lines
I am estimating the possibility of porting linux on it.
Can Linux/MIPS 2.2 or 2.4 support for such a board which without MMU ? Because i consider it is the most difficult part in the porting process. Am i right?
Quoted 7 lines
the Standard Linux kernels all require an MMU. However, there is a version of the kernel known as "ucLinux" (Microcontroller Linux) which will run on CPUs without MMU.
I don't know if ucLinux has a MIPS target yet.
C.
There isn't (yet) support for MIPS on uClinux.
Signature · 3 lines
Joe (aka [email protected])
Quoted 14 lines · Joe deBlaquiere
Quoted 13 lines · Crossfire
Quoted 11 lines · kjlin was once rumoured to have
I got an embedded MIPS board recently.
It has the following features:
- CPU implements a five-stage pipeline with performance similar to the MIPS R3000 pipeline.
- MIPS32 compatible instruction set
- R4000 style privileged resource architecture.
- Without MMU.I am estimating the possibility of porting linux on it.
Can Linux/MIPS 2.2 or 2.4 support for such a board which without MMU ? Because i consider it is the most difficult part in the porting process. Am i right?
Quoted 7 lines
Quoted 5 lines
the Standard Linux kernels all require an MMU. However, there is a version of the kernel known as "ucLinux" (Microcontroller Linux) which will run on CPUs without MMU.
I don't know if ucLinux has a MIPS target yet.
There isn't (yet) support for MIPS on uClinux.
But it can't be that hard to add support for it...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven ------------- Sony Software Development Center Europe (SDCE) [email protected] ------------------- Sint-Stevens-Woluwestraat 55 Voice +32-2-7248626 Fax +32-2-7262686 ---------------- B-1130 Brussels, Belgium
Quoted 8 lines · Geert Uytterhoeven
Quoted 2 lines · Joe deBlaquiere
There isn't (yet) support for MIPS on uClinux.
But it can't be that hard to add support for it...
Porting the kernel isn't much worse than any other architectural port. Of course that's only a part of the story, since you'll need to port the C library (uClibc/uC-glibc) and you will have to play around with the object file format to make it work with FLAT binaries... If you're serious about doing uClinux you can find a somewhat cryptic article on porting to uClinux at:
http://www.redhat.com/embedded/technologies/resources
Signature · 1 line
Joe
Is the uClibc/uC-glibc platform dependent??
Can we use the "normal linux glibc" instead of uClibc/uC-glibc when running uClinux??
As to object file format, is it real necessary to modify the elf2flt program?
On the other hand, there is an isssue which confuses me.
That is, i had already got a cross-compiler for compiling the "normal linux" kernel used.
Should i need to remake a cross-compiler to compile the uClinux kernel and applications?
Thanks.
----- Original Message -----
From: "Joe deBlaquiere" <[email protected]>
To: "Geert Uytterhoeven" <[email protected]>
Cc: "Crossfire" <[email protected]>; "kjlin" <[email protected]>; <[email protected]>
Sent: Friday, February 23, 2001 1:42 PM
Subject: Re: Does linux support for microprocessor without MMU?
Quoted 21 lines
Quoted 8 lines · Geert Uytterhoeven
Quoted 2 lines · Joe deBlaquiere
There isn't (yet) support for MIPS on uClinux.
But it can't be that hard to add support for it...
Porting the kernel isn't much worse than any other architectural port. Of course that's only a part of the story, since you'll need to port the C library (uClibc/uC-glibc) and you will have to play around with the object file format to make it work with FLAT binaries... If you're serious about doing uClinux you can find a somewhat cryptic article on porting to uClinux at:
http://www.redhat.com/embedded/technologies/resources
--
Joe