Post Reply 
installing minimserver on netgear R7000 router flashed with advanced tomato firmware
09-04-2017, 18:00 (This post was last modified: 09-04-2017 18:22 by dafart.)
Post: #15
RE: installing minimserver on netgear R7000 router flashed with advanced tomato firmware
Here's for my own reference and for anyone who also want to run minimserver on their Netgear R7000 (or related) router running advanced tomato firmware.

After having serveral attempts to run it in entware I finally decided to use this guide to create a debian jessie chroot environment and install openjdk from here:

Install advanced tomato from here
Install entware-ng using this guide
Use this guide to create a debian folder to allow chroot acces

After entering the chroot environment I first tried to get ejre-7u75-fcs-b13-linux-arm-vfp-sflt-client_headless-18_dec_2014.tar.gz running but I keep on getting " not found" or "illigal command" errors

Code:
cat /proc/cpuinfo
Processor    : ARMv7 Processor rev 0 (v7l)
processor    : 0
BogoMIPS    : 1998.84

processor    : 1
BogoMIPS    : 1998.84

Features    : swp half thumb fastmult edsp
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x3
CPU part    : 0xc09
CPU revision    : 0

Hardware    : Northstar Prototype
Revision    : 0000
Serial        : 0000000000000000

After that I simply used the command
Code:
apt-get install default-jre-headless
Which installed
Code:
java -version
java version "1.7.0_121"
OpenJDK Runtime Environment (IcedTea 2.6.8) (7u121-2.6.8-2~deb8u1)
OpenJDK Zero VM (build 24.121-b00, interpreted mode)
This allowed me to run minimserver just fine.. not as snappy as compared to the version on my atom based NAS or my xeon based freenas server, but very much usable enough..

One question I have:
Code:
dpkg --print-architecture
gives me "armel"
However in order to use oracle java 8 I need to have hard float version of debian..
i tried multi-arch
Code:
dpkg --print-foreign-architectures
armhf
but that didn't work out at all..

Would I get a noticable performance boost when running java 8 on a hard-float arch?
Can someone point me to a debian armhf image I can use to chroot in? And will this CPU actually support this? (BCM4709A0) ?

If not I will stay happy with my current setup.. but any speed improvement will be worth to give it a try!

Thanks in advance,

Daf
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: installing minimserver on netgear R7000 router flashed with advanced tomato firmware - dafart - 09-04-2017 18:00

Forum Jump:


User(s) browsing this thread: 1 Guest(s)