<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<pre> > does this MIPS have MMU-less chip</pre>I doubt it, but maybe.<br>I think even routers are "big" systems with MMUs.<br><br> - Jay<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Fri, 4 Nov 2011 16:28:29 +0000<br>> From: dabenavidesd@yahoo.es<br>> To: m3devel@elegosoft.com; mika@async.caltech.edu<br>> Subject: Re: [M3devel] adding new target?<br>> <br>> Hi all:<br>> Does this MIPS have MMU-less chip, meaning, there are embedded linuses that run it:<br>> http://books.google.com/books?id=kk8G2gK4Tw8C&lpg=PA48&ots=c_1Nl4KtOw&dq=%22MMu-less%22%20mips&pg=PA49#v=onepage&q&f=false<br>> <br>> This is a must in terms of addresanility, besides others like the endianess<br>> or sort for DS3100, etc re-configurable (weel not in hot but at driver level, like in SPARC:<br>> <br>> http://www.fortunecity.com/skyscraper/motorola/22/resume.htm<br>> ).<br>> <br>> At the bottom of this and newer SMp there are issues as in Intel, that might be need to be put in consideration for gcc or so:<br>> http://www.youtube.com/watch?v=WUfvvFD5tAA.<br>> <br>> I don't know maybe that gcc for gnu/m3 was not a bad idea at all (fsf isn't helping that as well too much):<br>> http://users.crocker.com/~hudson/hudson.html<br>> <br>> Thanks in advance<br>> <br>> --- El vie, 4/11/11, Mika Nystrom <mika@async.caltech.edu> escribió:<br>> <br>> > De: Mika Nystrom <mika@async.caltech.edu><br>> > Asunto: [M3devel] adding new target?<br>> > Para: m3devel@elegosoft.com<br>> > Fecha: viernes, 4 de noviembre, 2011 02:30<br>> > Hi Jay,<br>> > <br>> > I know you have mentioned before that it's now "easy" to<br>> > add a new target.<br>> > I would like to add a target that is already mostly there,<br>> > I think.<br>> > The one I want is mipsel-linux. This is to run on an<br>> > Asus RT-N16 router<br>> > running OpenWRT or DD-WRT. These devices have 500 MHz<br>> > MIPS processors<br>> > and 128 MB of DRAM.<br>> > <br>> > First before you read this email, are there any<br>> > instructions for what<br>> > I'm trying to do anywhere, beyond your emails? I am<br>> > using boot1.py<br>> > as you suggested.<br>> > <br>> > What I did was the following (guesses all along):<br>> > <br>> > made a cm3.cfg which I called MIPSEL_LINUX and put in <br>> > m3-sys/cminstall/src/config-no-install:<br>> > <br>> > ::::<br>> > readonly TARGET = "MIPSEL_LINUX" % code generation target<br>> > readonly GNU_PLATFORM = "mipsel-linux" % "cpu-os" string<br>> > for GNU<br>> > <br>> > SYSTEM_CC = "gcc -gstabs+ -fPIC" % C compiler<br>> > SYSTEM_ASM = "as" % Assembler<br>> > <br>> > m3back_m32 = "" % -m32 not allowed<br>> > <br>> > include("MIPSEL.common")<br>> > include("Linux.common")<br>> > ::::<br>> > <br>> > where MIPSEL.common contains:<br>> > <br>> > ::::<br>> > <br>> > readonly TARGET_ARCH = "MIPS"<br>> > readonly TARGET_ENDIAN = "LITTLE" % {<br>> > "BIG" OR "LITTLE" }<br>> > readonly WORD_SIZE = "32BITS" % {<br>> > "32BITS" or "64BITS" }<br>> > <br>> > ::::<br>> > <br>> > Now I don't really know which of these strings are just<br>> > arbitrary<br>> > strings that I'm defining here and which of them have to<br>> > match<br>> > other things (and if so, what they have to match).<br>> > <br>> > In any case I'm doing something wrong because I do (on a<br>> > FreeBSD4<br>> > machine)...<br>> > <br>> > ./boot1.py MIPSEL_LINUX<br>> > <br>> > which runs for a bit and eventually degenerates to<br>> > <br>> > gmake[1]: Nothing to be done for `all'.<br>> > gmake[1]: Leaving directory<br>> > `/big/home2/mika/2/cm3-cvs/cm3/m3-sys/m3cc/FreeBSD4-I386_FREEBSD/libdecnumber'<br>> > cd ../FreeBSD4-I386_FREEBSD && cd libcpp &&<br>> > gmake CFLAGS="-g<br>> > -O2" MAKE=gmake AUTOCONF=: AUTOMAKE=:<br>> > LEX='touch lex.yy.c' MAKEINFO=: libcpp.a | tee -a<br>> > <br>> > /big/home2/mika/2/cm3-cvs/cm3/m3-sys/m3cc/src/../FreeBSD4-I386_FREEBSD/_m3.log<br>> > cd ../FreeBSD4-I386_FREEBSD && cd libcpp &&<br>> > gmake CFLAGS="-g<br>> > -O2" MAKE=gmake AUTOCONF=: AUTOMAKE=:<br>> > LEX='touch lex.yy.c' MAKEINFO=: libcpp.a | tee -a<br>> > <br>> > /big/home2/mika/2/cm3-cvs/cm3/m3-sys/m3cc/src/../FreeBSD4-I386_FREEBSD/_m3.log<br>> > gmake: `libcpp.a' is up to date.<br>> > cd ../FreeBSD4-I386_FREEBSD && cd gcc &&<br>> > gmake CFLAGS="-g<br>> > -O2" MAKE=gmake AUTOCONF=: AUTOMAKE=:<br>> > LEX='touch lex.yy.c' MAKEINFO=: s-modes insn-config.h<br>> > m3cg | tee -a<br>> > /big/home2/mika/2/cm3-cvs/cm3/m3-sys/m3cc/src/../FreeBSD4-I386_FREEBSD/_m3.log<br>> > cd ../FreeBSD4-I386_FREEBSD && cd gcc &&<br>> > gmake CFLAGS="-g<br>> > -O2" MAKE=gmake AUTOCONF=: AUTOMAKE=:<br>> > LEX='touch lex.yy.c' MAKEINFO=: s-modes insn-config.h<br>> > m3cg | tee -a<br>> > /big/home2/mika/2/cm3-cvs/cm3/m3-sys/m3cc/src/../FreeBSD4-I386_FREEBSD/_m3.log<br>> > gmake: `s-modes' is up to date.<br>> > gmake: `insn-config.h' is up to date.<br>> > gmake: Nothing to be done for `m3cg'.<br>> > --- building in FreeBSD4 ---<br>> > <br>> > new source -> compiling RTHooks.i3<br>> > ../src/runtime/common/RTHooks.i3:15: fatal error: ***<br>> > illegal type: 0x6f, at m3cg_lineno 5<br>> > compilation terminated.<br>> > m3_backend => 1<br>> > m3cc (aka cm3cg) failed compiling: RTHooks.ic<br>> > new source -> compiling RT0.i3<br>> > ../src/runtime/common/RT0.i3:19: fatal error: ***<br>> > illegal type: 0x6f, at m3cg_lineno 5<br>> > compilation terminated.<br>> > m3_backend => 1<br>> > m3cc (aka cm3cg) failed compiling: RT0.ic<br>> > new source -> compiling RuntimeError.i3<br>> > ../src/runtime/common/RuntimeError.i3:10: fatal<br>> > error: *** illegal type: 0x6f, at m3cg_lineno 5<br>> > compilation terminated.<br>> > m3_backend => 1<br>> > ...<br>> > <br>> > Mika<br>> > <br>> > <br></div> </div></body>
</html>