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,274
Trophies
0
Website
Visit site
XP
401
Country
I like this tool CuteMiyu.
smile.gif


Thank you.
 
  • Like
Reactions: Margen67

Mbmax

Homebrew addicted
Member
Joined
Nov 7, 2006
Messages
2,274
Trophies
0
Website
Visit site
XP
401
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
  • ZeroT21 @ ZeroT21:
    it wasn't a question, it was fact
  • BigOnYa @ BigOnYa:
    He said he had 3 different doctors apt this week, so he prob there. Something about gerbal extraction, I don't know.
    +1
  • ZeroT21 @ ZeroT21:
    bored, guess i'll spread more democracy
  • LeoTCK @ LeoTCK:
    @K3Nv2 one more time you say such bs to @BakerMan and I'll smack you across the whole planet
  • K3Nv2 @ K3Nv2:
    Make sure you smack my booty daddy
    +1
  • LeoTCK @ LeoTCK:
    telling him that my partner is luke...does he look like someone with such big ne
    eds?
  • LeoTCK @ LeoTCK:
    do you really think I could stand living with someone like luke?
  • LeoTCK @ LeoTCK:
    I suppose luke has "special needs" but he's not my partner, did you just say that to piss me off again?
  • LeoTCK @ LeoTCK:
    besides I had bigger worries today
  • LeoTCK @ LeoTCK:
    but what do you know about that, you won't believe me anyways
  • K3Nv2 @ K3Nv2:
    @BigOnYa can answer that
  • BigOnYa @ BigOnYa:
    BigOnYa already left the chat
  • K3Nv2 @ K3Nv2:
    Biginya
  • BigOnYa @ BigOnYa:
    Auto correct got me, I'm on my tablet, i need to turn that shit off
  • K3Nv2 @ K3Nv2:
    With other tabs open you perv
  • BigOnYa @ BigOnYa:
    I'm actually in my shed, bout to cut 2-3 acres of grass, my back yard.
  • K3Nv2 @ K3Nv2:
    I use to have a guy for that thanks richard
  • BigOnYa @ BigOnYa:
    I use my tablet to stream to a bluetooth speaker when in shed. iHeartRadio, FlyNation
  • K3Nv2 @ K3Nv2:
    While the victims are being buried
  • K3Nv2 @ K3Nv2:
    Grave shovel
  • BigOnYa @ BigOnYa:
    Nuh those goto the edge of the property (maybe just on the other side of)
  • K3Nv2 @ K3Nv2:
    On the neighbors side
    +1
  • BigOnYa @ BigOnYa:
    Yup, by the weird smelly green bushy looking plants.
    K3Nv2 @ K3Nv2: https://www.the-sun.com/news/10907833/self-checkout-complaints-new-target-dollar-general-policies...