• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • Last Modified:

Software for MIPS Linux kernel

I received an embedded storage device, which I had to do a little modification with the firmware (squashfs) to support ssh logins/default configuration of the system and similar changes. The device is running a linux kernel 2.6.18 mips on RM7000 cpu. It needs specially compiled applications for this platform. For starters I need rsync to run on this system. Any idea where I can get already compiled applications for this system?
0
dozla
Asked:
dozla
  • 2
  • 2
1 Solution
 
ai_ja_naiCommented:
I've got an idea.
Download and install qemu (http://bellard.org/qemu/download.html)
Download and install on qemu a Debian MIPS (http://cdimage.debian.org/debian-cd/4.0_r5/mips/iso-cd/debian-40r5-mips-netinst.iso)
Compile rsync source code on it with GCC (http://www.samba.org/ftp/rsync/)
run strace on the just compiled rsync to take note of the libraries you need
Copy the libraries on the MIPS system with your compiled rsync and live happy :)
0
 
dozlaAuthor Commented:
ai_ja_nai, I accepted your answer as a possible solution. What I was looking for was more like a database of already compiled applications with dependency packages for certain applications on a mips (actually its mipsel) platform that I could use on this embedded device. For the time being I am using cross compiled rsync on my system with mipsel-gcc (v4.2) compiler.

I acquired the needed libraries and packages, to do a cross compile of my applications for mipsel platform, from a debian repository http://people.debian.org/~ths/toolchain/current-sid.

I'll still be looking for a good enough database of already compiled applications for this platform that are usually useful on a storage backup device.
0
 
ai_ja_naiCommented:
A database like that would be impossible to build and useless :/
Imagine a db for every compiled package of the earth, multiplied for every architecture, everyone with all its own libraries compiled for every platform... it would need tons of terabytes! Much better to have a db of source code of packages and let nature follow his course
0
 
dozlaAuthor Commented:
Actully I just stumbled upon debian's main repository of applications for mipsel platform:
http://packages.debian.org/etch/mipsel/

useless? impossible? I'd say not really, sometimes we need these packages in short time constraints without hunting down the dependencies, compile methods and configurations.

and those terabytes are out there to serve good purpose :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now