|
installing minimserver on netgear R7000 router flashed with advanced tomato firmware
|
|
05-04-2017, 14:40
Post: #11
|
|||
|
|||
|
RE: installing minimserver on netgear R7000
Have you verified that the /opt/java/jdk1.8.0_121/bin/java file exists? If so, it sounds like your OS isn't a standard version of Linux.
|
|||
|
05-04-2017, 21:30
Post: #12
|
|||
|
|||
|
RE: installing minimserver on netgear R7000 router flashed with advanced tomato firmware
Hello Simon, yes the file is indeed there.. and I do think tomato / advanced tomato is not a standard linux distro.. I used entware (same as optware) to allow some sort of package manegement but unfortunatly java is not a precompiled packge for entware (however optware seems to have openjdk available)
The tomato forum is very inactive and there's not much documentation.. |
|||
|
05-04-2017, 22:07
Post: #13
|
|||
|
|||
RE: installing minimserver on netgear R7000
(05-04-2017 21:30)dafart Wrote: Hello Simon, yes the file is indeed there.. and I do think tomato / advanced tomato is not a standard linux distro.. I used entware (same as optware) to allow some sort of package manegement but unfortunatly java is not a precompiled packge for entware (however optware seems to have openjdk available) You mentioned optware. Another user has done some work on making MinimServer run on optware. See this thread for more information. |
|||
|
06-04-2017, 21:40
Post: #14
|
|||
|
|||
|
RE: installing minimserver on netgear R7000 router flashed with advanced tomato firmware
Yes I read that!
I have entware installs that currently doesn't have openjdk binaries in their package list.. I might make the switch to optware but have to check if that works with tomato firmware.. Thanks for the advice anyway! |
|||
|
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 After that I simply used the command Code: apt-get install default-jre-headlessCode: java -versionOne question I have: Code: dpkg --print-architectureHowever in order to use oracle java 8 I need to have hard float version of debian.. i tried multi-arch Code: dpkg --print-foreign-architecturesWould 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 |
|||
|
09-04-2017, 21:52
Post: #16
|
|||
|
|||
|
RE: installing minimserver on netgear R7000
The speed issue is caused by this:
OpenJDK Zero VM (build 24.121-b00, interpreted mode) This version has no JIT and is about 5x slower than Oracle Java. |
|||
|
10-04-2017, 20:29
(This post was last modified: 10-04-2017 20:29 by dafart.)
Post: #17
|
|||
|
|||
|
RE: installing minimserver on netgear R7000 router flashed with advanced tomato firmware
Hello Simon, thanks for your reply!
I understand the difference in speed between openjdk and oracle java would be significant, Therefor I removed openjdk and currenly use ejdk-8u121-linux-arm-sflt.tar.gz. What I actually wanted to ask is this: from my understanding the cpu in this router should be capable of using hard floating libraries as well... Therefor I could try to find/install a debian chroot folder compiled for hrdfl.. and use a hflt version of oracle java.. Would that also give me an increase in performance? Or is it very unlikely that this router sipports both architectures and should I stop worrying about a possible performance increase and be happy with my current setup? Kind regards, Daf Code: java -version |
|||
|
10-04-2017, 22:37
Post: #18
|
|||
|
|||
|
RE: installing minimserver on netgear R7000
The version you are now using has the JIT enabled and you should be seeing a significant speed increase from the OpenJDK runtime that you were using previously.
If you can install a Debian chroot that is compiled for hard float and also install hard-float Java, this should give you a further speed increase in some transcoding scenarios and I think it would be worth doing. |
|||
|
20-04-2021, 15:06
Post: #19
|
|||
|
|||
RE: installing minimserver on netgear R7000 router flashed with advanced tomato firmware
(10-04-2017 20:29)dafart Wrote: Therefor I could try to find/install a debian chroot folder compiled for hrdfl..Hola dafart, did you find one? After years of searching i'm trying to revive my Xiaomi R2D with entware and the solution of chrooted Debian. So far everything looks identical to your setup and openjdk already was running... ;-) |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



