Is it possible, Tonido server on armv7 wrt router ?

Support for Tonido on the Desktop including Windows/Mac/Linux
fred1
Rookie Tonidoid
Rookie Tonidoid
Posts: 3
Joined: Thu Sep 03, 2015 9:32 pm

Is it possible, Tonido server on armv7 wrt router ?

Postby fred1 » Sat Sep 05, 2015 2:47 am

Hoping this would work, the min mem requirements of 128 ( i think i read this somewhere but i can not find now) for Tonido seems low enough that the hardware might support it somewhat.

My specific hardware
asus ac68u router
asuswrt-merlin firmware 378.55
CPU: Broadcom BCM4708A0 (800 MHz, 2 cores)
Memory 256

Environment
Debian Lenny chroot - via instructions on this pagehttps://www.hqt.ro/how-to-install-debian-wheezy-arm/

Code: Select all

uname -a
Linux RT-AC68U 2.6.36.4brcmarm #1 SMP PREEMPT Thu Jul 16 23:26:07 EDT 2015 armv7l GNU/Linux

This is what i have tried
I followed the Installation section for raspberrypi http://www.tonido.com/support/display/docs/Raspberry+Piinstructions but receive this error

Code: Select all

/usr/local/tonido# nohup: redirecting stderr to stdout
nohup: failed to run command `./tonidoconsole': No such file or directory

I tried the changing armv6 to armv7 in the manifest per this post but no change http://www.tonido.com/forum/viewtopic.php?f=14&t=8644&p=38690&hilit=armv7#p38690

These are the files and the lines I changed
config.xml
<value>http://patch.codelathe.com/tonido/live/pluginlist/armv7l-rpi/pluginlist.xml</value>
manifest.xml
<BaseURL>http://patch.codelathe.com/tonido/live/update/core/armv7l-rpi/</BaseURL>
<Arch>armv7l</Arch>

I also tried this from this page but the output http://www.tonido.com/forum/viewtopic.php?f=14&t=8907

Code: Select all

ldd ./tonidoconsole
   not a dynamic executable

I really don't know if this is even possible, Tonido would be a nice upgrade over the asus file sharing/syncing that is built in but doesn't work in the current asuswrt-merlin build). In getting crashplan working in this environment I had to exchange 3 .so files for ones compiled for v7, not sure if something like that would work for Tonido

I initially posted in another thread but had more information to add and it wasn't exactly on topic in other thread. http://www.tonido.com/forum/viewtopic.php?f=29&t=4993&p=39588&hilit=armv7#p39588

fred1
Rookie Tonidoid
Rookie Tonidoid
Posts: 3
Joined: Thu Sep 03, 2015 9:32 pm

Re: Is it possible, Tonido server on armv7 wrt router ?

Postby fred1 » Sat Sep 05, 2015 1:56 pm

a little bit of success.
ldd wont install on my system but strace does, running file ./tonidoconsole gave me this

Code: Select all

file ./tonidoconsole
./tonidoconsole: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.26, BuildID[sha1]=d1345216bd280095e420b6474c0d1d18a0efc4a4, not stripped

found a page that told me to link that file linux-armhf.so.3 so i typed this

Code: Select all

ln  /lib/ld-linux.so.3 /lib/ld-linux-armhf.so.3

now when i run ./tonido.sh start it doesn't give errors

Code: Select all

./tonido.sh start
Starting Tonido Service:root@RT-AC68U:/usr/local/tonido# nohup: redirecting stderr to stdout

but running strace on tonidoconsole appears that alot is still missing

Code: Select all

strace ./tonidoconsole
execve("./tonidoconsole", ["./tonidoconsole"], [/* 20 vars */]) = 0
brk(0)                                  = 0x17000
uname({sys="Linux", node="RT-AC68U", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400d8000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("./tls/v7l/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("./tls/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("./v7l/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("./libbootstrap.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\220\326\31\0004\0\0\0"..., 512) = 512
lseek(3, 13134196, SEEK_SET)            = 13134196
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1600) = 1600
lseek(3, 6507862, SEEK_SET)             = 6507862
read(3, "A0\0\0\0aeabi\0\1&\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 49) = 49
close(3)                                = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=19870, ...}) = 0
mmap2(NULL, 19870, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4011c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabi/tls/v7l/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabi/tls/v7l", 0xbef3c3d0) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabi/tls/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabi/tls", 0xbef3c3d0) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabi/v7l/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabi/v7l", 0xbef3c3d0) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabi/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabi", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
open("/usr/lib/arm-linux-gnueabi/tls/v7l/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabi/tls/v7l", 0xbef3c3d0) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabi/tls/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabi/tls", 0xbef3c3d0) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabi/v7l/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabi/v7l", 0xbef3c3d0) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabi/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabi", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
open("/lib/tls/v7l/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l", 0xbef3c3d0)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbef3c3d0)          = -1 ENOENT (No such file or directory)
open("/lib/v7l/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l", 0xbef3c3d0)          = -1 ENOENT (No such file or directory)
open("/lib/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/tls/v7l/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l", 0xbef3c3d0)  = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbef3c3d0)      = -1 ENOENT (No such file or directory)
open("/usr/lib/v7l/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l", 0xbef3c3d0)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libbootstrap.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
writev(2, [{"./tonidoconsole", 15}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libbootstrap.so", 15}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10./tonidoconsole: error while loading shared libraries: libbootstrap.so: cannot open shared object file: No such file or directory
) = 130
exit_group(127)                         = ?
+++ exited with 127 +++

I checked that gcc was on the system with this code

Code: Select all

gcc --version
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Return to “Tonido Software”

Who is online

Users browsing this forum: No registered users and 15 guests