Debian has support for mips and mipsel (what is the difference?)
I have unpack varios deb packets by 7z archiver in Windows.
But no Debian binaries can run in my DLINK G604T with router tech firmawre.
What Debian version is better to choose and what arch (mips or mipsel)?
how to use Debian mips packages?
Re: how to use Debian mips packages?
Unlikely to be able to use Debian mips (our AR7 is little endian mipsel), due to bespoke old montavista kernel and cut-down uclibc and other libraries. Better chance with optware packages, but again lack of /opt and standard libs is an issue.
See the RouterTech repository for custom builds of some packages
viewforum.php?f=28
There is some portability of binaries between Ti AR7 mipsel and Broadcom mipsel - I've got some Tomato binaries to run on RouterTech and vice-versa.
See http://multics.minidns.net/blog/article ... utilities/ for various Tomato packages - NB the static compiles have no library dependency and are huge.
See the RouterTech repository for custom builds of some packages
viewforum.php?f=28
There is some portability of binaries between Ti AR7 mipsel and Broadcom mipsel - I've got some Tomato binaries to run on RouterTech and vice-versa.
See http://multics.minidns.net/blog/article ... utilities/ for various Tomato packages - NB the static compiles have no library dependency and are huge.
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: how to use Debian mips packages?
You need mipsel. I doubt that Debian binaries will work, as it is not sufficient to support the cpu - you also need library support (in our case, uClibc rather than GNU libc). Your best bet is to build whatever you want to run yourself, using an appropriate cross-compiler and toolchain.
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Re: how to use Debian mips packages?
Thank you !
I have try Tomato utiliies but got the same error as for debian binaries:
/var/ppp # ./pppdump
./pppdump: line 1: syntax error: unexpected "("
/var/ppp #
looks like ELF format is not recognized. but first bytes in binaries looks similar.
I have try Tomato utiliies but got the same error as for debian binaries:
/var/ppp # ./pppdump
./pppdump: line 1: syntax error: unexpected "("
/var/ppp #
looks like ELF format is not recognized. but first bytes in binaries looks similar.
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: how to use Debian mips packages?
That is not the problem. The problem has already been well explained at least twice, and it would do no good to rehash it.xoid wrote:looks like ELF format is not recognized.
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Re: how to use Debian mips packages?
A syntax error usually means the binary file format not understood and the shell script interpreter has had a go - usually because wrong architecture - or test mode, not binary mode transfer. Does anything work? - ppp related probably not good starting point because pppd fairly heavily patched (mainky restricted options and size reduction) - doesn't use dynamic plugins etc.