"luckily, there is enough work to be done! "
-- from http://code.google.com/p/inferno-ds/wiki/DSPortStatus
I'd recommend first to take a look at the ``Inferno DS: Inferno port
to the Nintendo DS'' [1]
and to the information on the wiki, those documents cover the current
status of the DS port
and the future directions for development.
After having an overall idea of the port just build a kernel image and
start using it.
[1] http://inferno-ds.googlecode.com/svn/trunk/doc/infds.pdf
If you get stuck somewhere, don't hesitate to ask.
--
salva
The relevant error is on the first line, where mk complains about not
being able to source ../../mkconfig.
The rest of errors happen as a consequence of the first.
Double check that you've downloaded everything as explained in the INSTALL:
http://code.google.com/p/inferno-ds/source/browse/trunk/INSTALL
Inferno should be in /usr/inferno, and the DS port should be in
/usr/inferno/os/ds.
With this organization the /usr/inferno/mkconfig should be reachable
by mk from /usr/inferno/os/ds.
hope that helps,
good luck
--
salva
so if you are on Windows, use SYSHOST=Nt, ROOT=c:/inferno (or where
you've put it),
OBJTYPE=386; on Linux, use SYSHOST=Linux, ROOT=/usr/inferno (or where
you've put it),
and probably also OBJTYPE=386 (unless you've got a fancy powerpc or
sparc linux system).
the proper way to obtain those fonts should be to install Inferno
from the packages from the downloads page of vitanuova.com.
Another way is to get them from http://swtch.com/plan9port:
$ wget http://swtch.com/plan9port/plan9port.tgz
$ tar xzvf plan9port.tgz plan9/font/lucsans/
$ mv plan9/font/lucsans /usr/inferno/fonts/lucidasans
--
salva
he'd only just done that but discarded it in favour of the googlecode copy,
which can't contain the fonts (because of google rules). that reminds me
that i should provide a command in the googlecode copy that will fetch
the fonts for you. i'll do that when i'm back in york.
if it helps, i wrote a setupfonts for acme-sac:
http://code.google.com/p/acme-sac/source/browse/trunk/dis/setupfonts?r=102
--
salva
you can safely comment the i$CONF.SYM target in mkfile:55,
as the isds.SYM file is only used when debugging with no$gba.
btw i didn't know that strtonum() was gawk extension.
--
salva
even easier: correct mksymtab to not use strtonum().
--
salva
--
salva
The place to look for the dldi code is:
http://dldi.drunkencoders.com/index.php?title=Category:SLOT-1_devices
If the dldi patch for the r4 is working with your m3,
then you can force devdldi.c to use the functions from ior4tf.c.
Take a look devdldi.c:/^dldiinit() and the CONF=dds file.
Besides reading the code, you can also search the group messages:
- http://groups.google.com/group/inferno-ds/search?group=inferno-ds&q=mbr
- http://groups.google.com/group/inferno-ds/search?group=inferno-ds&q=FAT16
- http://groups.google.com/group/inferno-ds/search?group=inferno-ds&q=DLDI
> Also would someone mind clarifying the what the CONF=sds would
> require. Do i still need to copy some of the inferno files over?
>
See conf(10) http://www.vitanuova.com/inferno/man/10/conf.html
Besides the standalone CONF=sds there's also a CONF=dds
intended to be used for accessing the storage provided by a sd card.
--
salva