So you are running Linux on tablet instead android ? What version of Linux ? I just installed arch Linux arm on Seagate goflex with 3tb hard drive. I used vdr4arch git and it compiled fine including sc
processor       :
model name      : Feroceon 88FR131 rev 1 (v5l)
Features        : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant     : 0x2
CPU part        : 0x131
CPU revision    : 1
Hardware        : Seagate GoFlex Home
Revision        : 0000
Serial          : 0000000000000000
[root@alarm ~]#


On Thu, Jun 12, 2014 at 12:28 PM, cedric.dewijs@telfort.nl <cedric.dewijs@telfort.nl> wrote:
Hi All,

I have got the sc plugin now running on my Allwinner A20. It's now recording 7 TV shows at the same time :-)
It turns out the sc directory still had some old object files from my last compile on the DNS323 NAS. As those do not have the same CPU, this creates a file that does not run.

For reference, here are the steps I have taken:
1) Get the source and the debian patch:
$ hg clone http://85.17.209.13:6100/sc
$ wget http://vdrbox.lautre.net/fichiers/VDR/debianize-sc/sc-debian-package-03062$
$ cd sc
patch -p1 < ../sc-debian-package-03062011.diff
2) Apply the patches I've send in the previous mail:
patch -p1 < ../sc-patches/sc-dvbcsa-camc.patch
patch -p1 < ../sc-patches/sc-dvbcsa-camh.patch
patch -p1 < ../sc-patches/sc-dvbcsa-devicec.patch
patch -p1 < ../sc-patches/sc-dvbcsa-makefile.patch
3) back-up the patched makefile:
$ cp Makefile ../
4) start the compile process. This step will fail.
dpkg-buildpackage -us -uc -b
5) restore the Makefile from the backup:
cp ../Makefile .
6) start the compile process again. This time the compile will succeed.
dpkg-buildpackage -us -uc -b
7) in the parent directory the 2 dep files are present
cd ..
8) as root, install the 2 .deb files:
# dpkg -i vdr-plugin-sc_*.deb libvdr-sc-cardclient_*.deb
For more information, see the debian wiki, under VDR:
https://wiki.debian.org/VDR#Install_vdr-plugin-sc_and_libvdr-sc-cardclient_from_source

Kind regards,
Cedric 


----Origineel Bericht----
Van : cedric.dewijs@telfort.nl
Datum : 11/06/2014 20:48
Aan : vdr@linuxtv.org
Onderwerp : [vdr] allwinner A20: vdr-plugin-sc does compile, but binary incompatible


Hi All,

I have an allwinner A20 device. I'm trying to use it as my new VDR server. VDR runs OK, I can watch and record free to air dvb-t streams. Now I would like to watch the encrypted TV shows.
Therefore I am trying to build vdr-plugin-sc and libvdr-sc-cardclient from source.

The allwinnerA20 is an ARM processor. this processor does not have the SSE instructions FFdeCSA needs. Therefore I have patched the source, so it doesn't use FFdeCSA, but instead uses dvbcsa. The resulting code compiles without errors. I have done all the compiling on the A20 device itself.

When I try to start VDR with the plugins, I see the following error:
# invoke-rc.d vdr restart
Restarting Linux Video Disk Recorder: vdr
Searching for plugins (VDR 1.7.28/1.7.28) (cache miss): xineliboutput
WARNING: The following plugins have been left out due to really binary incompatibility: sc.
ldd confirms there's something wrong with the .so in question:
# ldd /usr/lib/vdr/plugins/libvdr-sc.so.1.7.28
not a dynamic executable

I have attached the patches I've made to the source, and the output on the terminal while compiling. Could you please take a look at it?
kind regards,
Cedric


My hardware:
olimex A20-OLINUXINO-MICRO

My versions:
$ uname -a
Linux a20-OLinuXino 3.4.67+ #6 SMP PREEMPT Fri Nov 1 17:32:40 EET 2013 armv7l GNU/Linux
$ cat /proc/cpuinfo 
Processor : ARMv7 Processor rev 4 (v7l)
processor : 0
BogoMIPS : 2011.05

processor : 1
BogoMIPS : 2011.05

Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 4

Hardware : sun7i
Revision : 0000
Serial : 0000000000000000




_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr