OpenWrt Forum Archive

Topic: DG834 Custom Firmware

The content of this topic has been archived on 31 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have downloaded the firmware development environment from Netgear for building my own firmware for the above device.  Before I flash and risk destroying the router I was wondering if it was possible to use an emulator to test the firmware image?  Can anyone make and recommendations as I'm a little unsure about how to go about this.  I have searched google for MIPS emulators, but not known much about MIPS hardware I am a little unsure.  Can anyone give any pointers?

Thanks,
Mike.

I have downloaded the firmware development environment from Netgear for building my own firmware for the above device.  Before I flash and risk destroying the router I was wondering if it was possible to use an emulator to test the firmware image?  Can anyone make and recommendations as I'm a little unsure about how to go about this.  I have searched google for MIPS emulators, but not known much about MIPS hardware I am a little unsure.  Can anyone give any pointers?

Thanks,
Mike.

Not sure if it'll work, but you might try vmips: http://vmips.sf.net/

I personally like mips64emul.  It's good since it already runs other NetGear hardware and the Linksys WRT54G (after I requested the feature tongue).

It's the best MIPS emulator that I know of.  It makes SPIM look like crap.

http://gavare.se/mips64emul/

I personally like mips64emul.  It's good since it already runs other NetGear hardware and the Linksys WRT54G (after I requested the feature tongue).

It's the best MIPS emulator that I know of.  It makes SPIM look like crap.

http://gavare.se/mips64emul/


Looking into it now smile

I personally like mips64emul.  It's good since it already runs other NetGear hardware and the Linksys WRT54G (after I requested the feature tongue).

It's the best MIPS emulator that I know of.  It makes SPIM look like crap.

http://gavare.se/mips64emul/


Looking into it now smile

Why I suddenly became logged out, I have no idea. I'm currently waiting for the kernel to uncompress, which the developer says might take some time. It looks promising though smile

Ok? It's still using 100% cpu after 8 minutes. Does it usually use that long time?

(The system in question is a gentoo-linux box, AMD XP2000+ with 1280mb ram)

Edit: Nope, missed the offset. All the emulator was doing was "nop". Oh well. Trying again.

The discussion might have continued from here.