Oscam compile how to?

Question & Answer
joker@
Posts: 7
Joined: Fri Sep 15, 2017 12:13 am

Oscam compile how to?

Post by joker@ » Mon Oct 02, 2017 2:29 pm

Hi
Just wondering is there anyone who can explain how to do it as I was trying couple time with multiple errors results. No problem to compile oscam binary for linux, arm debian version but for Android Hisilicon.sky compleatly no luck. Those version for debian android cant recognize dvbapi of our box so is almost useless.

Regards

User avatar
Michu7
Posts: 41
Joined: Fri Nov 03, 2017 9:30 pm
Location: Poland

Re: Oscam compile how to?

Post by Michu7 » Tue Nov 21, 2017 7:49 pm

According to this:
I did clone repo form github.com but according to this:
HiOSCAM

His OSCAM

How to compile OSCAM for U5/U4 Quad

download github files and modify oscam.source
Use Ubuntu 14.04 to compile
U5 model : ./make-u5.sh
After compiling it, related OSCAM files will be located "u5.release" folder for U5 or "u5.release" for U4 Quad.
copy all files in u5.release or u4.release folder to /system/oscam folder in box.
reboot box then you can use own your OSCAM.
How I should modify, which file and where?

After make steps according the first link, I have got error like this:
michal@michal-VirtualBox:~/HiOSCAM$ ./make-u5.sh
/home/michal/HiOSCAM/android9-gcc4.8-toolchain/bin:/home/michal/HiOSCAM/arm-histbv310-linux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 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.

RM build/-his
RM tests
make --no-print-directory \
LIB_RT= \
LIB_PTHREAD= \
CROSS=arm-linux-androideabi- \
USE_HISKY=1 \
--jobserver-fds=3,4 -j -- HISKY_FLAGS=-D__ARMEL__\ -I/home/michal/HiOSCAM/u5sdk/include\ -DWITH_HISILICON=1\ -DSDKV600\ -DSDKV660\ -DSDK3798C HISKY_LIB=-L/home/michal/HiOSCAM/u5sdk/lib\ -lhi_msp\ -lhi_common
+-------------------------------------------------------------------------------
| OSCam ver: 1.20.sky rev: 0 target: -his
| Tools:
| CROSS = arm-linux-androideabi-
| CC = arm-linux-androideabi-gcc
| Settings:
| CONF_DIR = /data/oscam
| CC_OPTS = -fPIE
| CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition -Wno-unused-function -Wno-unused-parameter
| CFLAGS = -D__ARMEL__ -I/home/michal/HiOSCAM/u5sdk/include -DWITH_HISILICON=1 -DSDKV600 -DSDKV660 -DSDK3798C
| LDFLAGS = -fPIE -pie -D__ARMEL__ -I/home/michal/HiOSCAM/u5sdk/include -DWITH_HISILICON=1 -DSDKV600 -DSDKV660 -DSDK3798C
| LIBS = -L/home/michal/HiOSCAM/u5sdk/lib -lhi_msp -lhi_common -ldl
| UseFlags = USE_HISKY=1
| Config:
| Addons : WEBIF WEBIF_LIVELOG WEBIF_JQUERY TOUCH HAVE_DVBAPI IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CS_CACHEEX CW_CYCLE_CHECK
| Protocols: XCAS CAMD33 CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SCAM SERIAL CONSTCW PANDORA GHTTP
| Readers : NAGRA IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT
| CardRdrs : INTERNAL
| Compiler :
| Config : build/-his/config.mak
| Binary : Distribution/oscam-1.20.sky.0
+-------------------------------------------------------------------------------
GEN webif/pages.c
GEN Compressed 385720 template bytes into 160827 bytes. 224893 saved bytes (58.30%).
make[2]: arm-linux-androideabi-gcc: Polecenie nie znalezione
make[2]: *** [build/-his/cscrypt/aes.o] Błąd 127
make[1]: *** [all] Błąd 2
make: *** [android-arm-hisky] Błąd 2
SVN_REVISION:0

/home/michal/HiOSCAM/u5.release.........
How to set up environment, tell me please. :-)

DannyPTY
Posts: 91
Joined: Tue Apr 18, 2017 6:54 am

Re: Oscam compile how to?

Post by DannyPTY » Thu Nov 23, 2017 12:31 am

Michu7 wrote:
Tue Nov 21, 2017 7:49 pm
According to this:
I did clone repo form github.com but according to this:
HiOSCAM

His OSCAM

How to compile OSCAM for U5/U4 Quad

download github files and modify oscam.source
Use Ubuntu 14.04 to compile
U5 model : ./make-u5.sh
After compiling it, related OSCAM files will be located "u5.release" folder for U5 or "u5.release" for U4 Quad.
copy all files in u5.release or u4.release folder to /system/oscam folder in box.
reboot box then you can use own your OSCAM.
How I should modify, which file and where?

After make steps according the first link, I have got error like this:
michal@michal-VirtualBox:~/HiOSCAM$ ./make-u5.sh
/home/michal/HiOSCAM/android9-gcc4.8-toolchain/bin:/home/michal/HiOSCAM/arm-histbv310-linux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 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.

RM build/-his
RM tests
make --no-print-directory \
LIB_RT= \
LIB_PTHREAD= \
CROSS=arm-linux-androideabi- \
USE_HISKY=1 \
--jobserver-fds=3,4 -j -- HISKY_FLAGS=-D__ARMEL__\ -I/home/michal/HiOSCAM/u5sdk/include\ -DWITH_HISILICON=1\ -DSDKV600\ -DSDKV660\ -DSDK3798C HISKY_LIB=-L/home/michal/HiOSCAM/u5sdk/lib\ -lhi_msp\ -lhi_common
+-------------------------------------------------------------------------------
| OSCam ver: 1.20.sky rev: 0 target: -his
| Tools:
| CROSS = arm-linux-androideabi-
| CC = arm-linux-androideabi-gcc
| Settings:
| CONF_DIR = /data/oscam
| CC_OPTS = -fPIE
| CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition -Wno-unused-function -Wno-unused-parameter
| CFLAGS = -D__ARMEL__ -I/home/michal/HiOSCAM/u5sdk/include -DWITH_HISILICON=1 -DSDKV600 -DSDKV660 -DSDK3798C
| LDFLAGS = -fPIE -pie -D__ARMEL__ -I/home/michal/HiOSCAM/u5sdk/include -DWITH_HISILICON=1 -DSDKV600 -DSDKV660 -DSDK3798C
| LIBS = -L/home/michal/HiOSCAM/u5sdk/lib -lhi_msp -lhi_common -ldl
| UseFlags = USE_HISKY=1
| Config:
| Addons : WEBIF WEBIF_LIVELOG WEBIF_JQUERY TOUCH HAVE_DVBAPI IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CS_CACHEEX CW_CYCLE_CHECK
| Protocols: XCAS CAMD33 CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SCAM SERIAL CONSTCW PANDORA GHTTP
| Readers : NAGRA IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT
| CardRdrs : INTERNAL
| Compiler :
| Config : build/-his/config.mak
| Binary : Distribution/oscam-1.20.sky.0
+-------------------------------------------------------------------------------
GEN webif/pages.c
GEN Compressed 385720 template bytes into 160827 bytes. 224893 saved bytes (58.30%).
make[2]: arm-linux-androideabi-gcc: Polecenie nie znalezione
make[2]: *** [build/-his/cscrypt/aes.o] Błąd 127
make[1]: *** [all] Błąd 2
make: *** [android-arm-hisky] Błąd 2
SVN_REVISION:0

/home/michal/HiOSCAM/u5.release.........
How to set up environment, tell me please. :-)


Here is an explanation of how to: https://u5pvr.blogspot.com

Basically is this:
- Install Git.
- Download OSCAM Source .
- Change directory and change directoy and that should be it...

you have to find out the rest... good luck and let us know if you manage to get something going...

scorpion61
Posts: 12
Joined: Wed Oct 18, 2017 4:09 pm

Re: Oscam compile how to?

Post by scorpion61 » Thu Nov 23, 2017 1:12 am

No luck with this.
The oscam.source is an old oscam from 2015.
We can not use oscam patch on it.
If I try with the latest oscam.svn, I can patch it and config the emu, but impossible to compile it with make-u5.sh.

The only thing to do is to wait for the devloppers team a new oscam version for the u5pvr with a working standard toolchain.... :(

User avatar
Michu7
Posts: 41
Joined: Fri Nov 03, 2017 9:30 pm
Location: Poland

Re: Oscam compile how to?

Post by Michu7 » Thu Nov 23, 2017 8:44 pm

So... another useless thing. Nice :evil:

johnny64
Posts: 23
Joined: Wed Jun 21, 2017 1:45 am

Re: Oscam compile how to?

Post by johnny64 » Thu Nov 23, 2017 9:10 pm

Over the web and IP addresses are tampered with oscama-restart work!

joker@
Posts: 7
Joined: Fri Sep 15, 2017 12:13 am

Re: Oscam compile how to?

Post by joker@ » Mon Nov 27, 2017 5:28 am

Lads its waste of time anyway. As result is no different as the original oscam, no changes at all, but you need install to your system whole arm cross compile environment. Gc++ and all files. Good luck i sold my one already, too many things are f**d up with no help at all.

DannyPTY
Posts: 91
Joined: Tue Apr 18, 2017 6:54 am

Re: Oscam compile how to?

Post by DannyPTY » Mon Nov 27, 2017 6:47 am

joker@ wrote:
Mon Nov 27, 2017 5:28 am
Lads its waste of time anyway. As result is no different as the original oscam, no changes at all, but you need install to your system whole arm cross compile environment. Gc++ and all files. Good luck i sold my one already, too many things are f**d up with no help at all.
2 more months and if they still like this then I will move to Dreambox again, which I regret selling my DM800HD which I bought 3 years ago and they are still getting million more support than this "box"

User avatar
Michu7
Posts: 41
Joined: Fri Nov 03, 2017 9:30 pm
Location: Poland

Re: Oscam compile how to?

Post by Michu7 » Mon Nov 27, 2017 7:22 pm

Hope E2 release on u5pvr will rescue this useless box.
Next time I will just gave 230$ for charity, that would be better thing.

User avatar
Adricool
Posts: 134
Joined: Fri Apr 21, 2017 10:08 pm
Location: Portugal
Contact:

Re: Oscam compile how to?

Post by Adricool » Tue Nov 28, 2017 4:01 am

I have reports that the dinobot 4k is working fine using oscam on e2, so probably it will work fine on our box as well.

Post Reply

Return to “User's Q&A”