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@xxxxxxxxxx
Datum : 11/06/2014 20:48
Aan : vdr@xxxxxxxxxxx
Onderwerp : 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 restartRestarting Linux Video Disk Recorder: vdrSearching for plugins (VDR 1.7.28/1.7.28) (cache miss): xineliboutputWARNING: 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.28not a dynamic executableI 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,CedricMy hardware:olimex A20-OLINUXINO-MICROMy versions:$ uname -aLinux a20-OLinuXino 3.4.67+ #6 SMP PREEMPT Fri Nov 1 17:32:40 EET 2013 armv7l GNU/Linux$ cat /proc/cpuinfoProcessor : ARMv7 Processor rev 4 (v7l)processor : 0BogoMIPS : 2011.05processor : 1BogoMIPS : 2011.05Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivtCPU implementer : 0x41CPU architecture: 7CPU variant : 0x0CPU part : 0xc07CPU revision : 4Hardware : sun7iRevision : 0000Serial : 0000000000000000
_______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr