Home

Alternate method: cpuTransparency emulation

Running Openwrt-Kamikaze/DD-wrt in Qemu
 

In order to run the mips's tree from openwrt-kamikaze/dd-wrt ,it's quite easy to untrx the firmware to obtain the rootfs . The only big trick is to get qemu-mipsel-static ,and put it into the rootfs/usr/lib/qemu-binfmt so as to artificially create an "interpreter switch" for mips.

To experiment , start qemu -cdrom livecd.iso ( any 'puppy' ,'ubuntu' is ok )

From inside a rxvt , use wget to download the 2 files

dd-wrt24-mipsfs.tar.bz2

or

kamikaze-8.09.1-rootfs.tar.bz2

and

qemu-binfmt.tar.bz2

Extract the 2 files into / (tree_root)

1 Register misc_binfmt by running /etc/init.d/qemu-binfmt.sh

2a cd rootfs-dd-wrt24 && chroot . /bin/sh

or

2b chroot kamikaze-8.09.01 /bin/sh

Now you are now jailed into the kamikaze/dd-wrt mips linux ; run any usual linux command to see

The emulate-embedded.img.bz2 can also be downloaded from
 "files concerning WRT Qemu"
or

emulate-embedded.img.bz2

run qemu emulate-embedded.img

once booted ,just type kamikaze.sh or dd-wrt.sh to obtain a, emulated mips for openwrt or dd-wrt !

Have fun

screenshot-dd-wrt

screenshot-kamikaze-8.09