Hacking DSTWO Tool for Windows

CuteMiyu

New Member
OP
Newbie
Joined
Aug 5, 2011
Messages
2
Trophies
0
XP
3
Country
Taiwan
spinal_cord said:
Does this mean that the SDK can now be installed in Windows?
You need build mipsel cross compiler for windows by yourself.

When you build dstwo plug at last step, it have a makeplug tool convert your binary file to plug. But this tool have no source code.

I just make a windows edition.
 

Buleste

Old Fart
Member
Joined
Dec 19, 2010
Messages
852
Trophies
0
Age
51
Website
www.redbubble.com
XP
590
Country
If you want to make a MIPS cross compiler I did find these instructions on the web.

6.095 Humanoid Robot Competition
How to make cross compiler for mips CPU on windows

1. Install cygwin http://cygwin.com/
Make sure gcc and make are installed

2. Download all files in http://www.mit.edu/~kene/robo-one/doc/tar
Makefile
binutils-2.16.1.tar.gz
gcc-core-3.4.6.tar.gz
newlib-1.9.0.tar.gz
lib.tgz
ttermp23.zip
locate all files in your home directry.

3. compile cross compiler for mips CPU
binutils ( version 2.16.1 )
$mkdir /usr/loca/src
$ cd /usr/local/src
$ tar xvfz ~/binutils-2.16.1.tar.gz
$ mkdir binutils_robin
$ cd binutils_robin
$ ../binutils-2.16.1/configure --target=mipsel-robin-elf --prefix=/usr/local
$ make
$ make install
gcc ( version 3.4.6 )
$ cd /usr/local/src
$ tar xvfz ~/gcc-core-3.4.6.tar.gz
$ mkdir gcc_robin
$ cd gcc_robin
$ ../gcc-3.4.6/configure --target=mipsel-robin-elf --prefix=/usr/local
--with-newlib --enable-languages=c --disable-threads --disable-shared
$ make
$ make install
newlib ( version 1.9.0)
$ cd /usr/local/src
$ tar xvfz ~/newlib-1.9.0.tar.gz
$ mkdir newlib_robin
$ cd newlib_robin
$ ../newlib-1.9.0/configure --target=mipsel-robin-elf --prefix=/usr/local
$ make
$ make install

4. revise /usr/local/lib/gcc/mipsel-robin-elf/3.4.6/specs
(Use a text editor to edit this file)
-------------------------------------------------
*lib:
-lsemb -lc -lnullmon -lc


*startfile:
crt0%O%s crti%O%s crtbegin%O%s


5. install semb1200a-rom.ld at /usr/local/mipsel-robin-elf/lib/
$cd ~
$cp semb1200a-rom.ld /usr/local/mipsel-robin-elf/lib/.

6. install lib, header files, and so on
$tar xfvz lib.tgz
$ cp –r semb1200a /usr/local/mipsel-robin-elf/include/.
$ cp libsemb.a /usr/local/mipsel-robin-elf/lib/.
$cp crt0.o /usr/local/mipsel-robin-elf/lib

7. install teraTerm?(optional: hyperterminal is also useful)
Just double-click setup.exe in ttermp23.zip, and follow its instruction.

Set up a serial port as follows.
Baud rate 115200
Data 8bit
Parity none
Stop 1bit
Flow control none

8. compile a test program
Download http://www.mit.edu/~kene/robo-one/doc/src/test.tgz
$ tar xfvz test.tgz
$ cd test
$ make
test.bin is a binary file for main board.



Note
• You can also make cross compiler on linux or MacOSX. If you are using either of them, other terminal emulter like minicom is useful.
• The USB Serial Adapter which comes with KHR-2HV kit is not available on Linux MacOS. If you are using either of them, you should have other USB Serial Adapter such as USA-19HS.
http://www.keyspan.com/products/usb/usa19hs/
Don't know if it works but it's worth a try.
 

Mbmax

Homebrew addicted
Member
Joined
Nov 7, 2006
Messages
2,275
Trophies
1
Website
Visit site
XP
412
Country
I like this tool CuteMiyu.
smile.gif


Thank you.
 
  • Like
Reactions: Margen67

Mbmax

Homebrew addicted
Member
Joined
Nov 7, 2006
Messages
2,275
Trophies
1
Website
Visit site
XP
412
Country
Just an advice concerning plugins and the ismart MM. Don't play much with the ismartlinux.plg to make it runnable on dstwo, you might brick your dstwo like i did today.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    oh cool, I saw Space Invaders on that Nintendo Syl :D
  • K3Nv2 @ K3Nv2:
    Watching the fallout series it is pretty decent
    +1
  • AncientBoi @ AncientBoi:
    What Network is it on? I wanna see what you guys are talking about. N What time frame is it on? :unsure:
  • K3Nv2 @ K3Nv2:
    It's Amazon prime
  • AncientBoi @ AncientBoi:
    Cool. I got Prime
  • The Real Jdbye @ The Real Jdbye:
    prime deez nuts
  • AncientBoi @ AncientBoi:
    okies :D put 'em here :O
  • K3Nv2 @ K3Nv2:
    The mutated Axolotl was awesome
  • S @ salazarcosplay:
    I don't have prime, I order once I am orderign $35 worth of stuff
  • K3Nv2 @ K3Nv2:
    I bet you don't pirate game either
  • Sicklyboy @ Sicklyboy:
    I even convinced my dad to watch Fallout lol. He's enjoying it so far
    +1
  • K3Nv2 @ K3Nv2:
    They really wanna get the head
  • SylverReZ @ SylverReZ:
    Also nice. Never really watched Fallout on Prime, but sounds like a good show.
    +1
  • Bunjolio @ Bunjolio:
    legit nobody irl knows I'm trans(it hasn't been long enough yet)
  • SylverReZ @ SylverReZ:
    @Bunjolio, Be really careful out there. There are people who use trans people to their advantage, and its really sad in general. :(
  • Bunjolio @ Bunjolio:
    also scary
  • SylverReZ @ SylverReZ:
    @Bunjolio, Chasers and homophobia.
  • SylverReZ @ SylverReZ:
    They're very common on social media.
  • Bunjolio @ Bunjolio:
    ik about the phobias Im used to it but what's a chaser
  • SylverReZ @ SylverReZ:
    Whoever you disclose your gender identity to, keep it private between your friends.
  • Bunjolio @ Bunjolio:
    irl or online
  • SylverReZ @ SylverReZ:
    Nobody is safe.
    SylverReZ @ SylverReZ: Nobody is safe.