Quantcast
Channel: SNBForums
Viewing all articles
Browse latest Browse all 94915

HOWTO: Relocate ARM ELF binaries to run from the router /jffs folder

$
0
0
I discovered this simple trick, if you need a quick and dirty method to run Entware-ng or Optware-ng programs directly off your router /jffs folder. The patchelf program is capable of changing the run path and library path inside the ELF header of an ARM binary executable image. For example, it's lets you change /opt/lib to /jffs/lib inside an ARM executable program or library, so you can file copy the program from /opt to /jffs and it will run from /jffs...

HOWTO: Relocate ARM ELF binaries to run from the router /jffs folder

Viewing all articles
Browse latest Browse all 94915

Trending Articles