[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 370
  • 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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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