Page 2 of 2

Re: minisatip can work in DM500?

Posted: Sun Aug 25, 2019 9:44 pm
by cata
You need the cross compiler for dm500. You can get that by compiling the image from https://github.com/jmendeth/dm500-satip

Re: minisatip can work in DM500?

Posted: Mon Sep 02, 2019 8:24 pm
by atari
root@ubuntu1404:/opt/dm500-satip/minisatip# ./configure --host=ppc --enable-enigma --disable-dvbca --disable-dvbcsa --disable-satipc
checking for ppc-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for main in -lrt... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for int16_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for bzero... yes
checking for clock_gettime... yes
checking for dup2... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for munmap... yes
checking for socket... yes
checking for strchr... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
configure: == Checking LINUX DVB ==
checking linux/dvb/frontend.h usability... yes
checking linux/dvb/frontend.h presence... yes
checking for linux/dvb/frontend.h... yes
configure: == Checking OpenSSL ==
checking openssl/aes.h usability... yes
checking openssl/aes.h presence... yes
checking for openssl/aes.h... yes
configure: == Checking Embedded ==
checking for backtrace... yes
configure: == Checking NETCVCLIENT ==
checking netceiver.h usability... no
checking netceiver.h presence... no
checking for netceiver.h... no
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating Makefile

minisatip configuration

Linux DVB: enabled
Common Interface (needs DVBEN50221): disabled
OpenSSL (AES as part of DVBAPI): enabled
Embedded system: disabled
DVBCSA (needs libdvbcsa): disabled
Netceiver support: disabled
SatIP Client: disabled
Static: disabled
dvbapi: enabled
axe: disabled
enigma: enabled

root@ubuntu1404:/opt/dm500-satip/minisatip# ./build.sh
make -C src
make[1]: Entering directory /opt/dm500-satip/minisatip/src' make[1]: Leaving directory /opt/dm500-satip/minisatip/src'
make[1]: Entering directory /opt/dm500-satip/minisatip/src' gcc -fPIC -Os -DVERSION=\"1.0.0-07cb6fc\" -DDISABLE_DVBCSA -DDISABLE_DVBCA -DDISABLE_SATIPCLIENT -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DENIGMA -c minisatip.c -o ../build/minisatip.o gcc -fPIC -Os -DVERSION=\"1.0.0-07cb6fc\" -DDISABLE_DVBCSA -DDISABLE_DVBCA -DDISABLE_SATIPCLIENT -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DENIGMA -c socketworks.c -o ../build/socketworks.o gcc -fPIC -Os -DVERSION=\"1.0.0-07cb6fc\" -DDISABLE_DVBCSA -DDISABLE_DVBCA -DDISABLE_SATIPCLIENT -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DENIGMA -c stream.c -o ../build/stream.o gcc -fPIC -Os -DVERSION=\"1.0.0-07cb6fc\" -DDISABLE_DVBCSA -DDISABLE_DVBCA -DDISABLE_SATIPCLIENT -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DENIGMA -c adapter.c -o ../build/adapter.o gcc -fPIC -Os -DVERSION=\"1.0.0-07cb6fc\" -DDISABLE_DVBCSA -DDISABLE_DVBCA -DDISABLE_SATIPCLIENT -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DENIGMA -c utils.c -o ../build/utils.o gcc -fPIC -Os -DVERSION=\"1.0.0-07cb6fc\" -DDISABLE_DVBCSA -DDISABLE_DVBCA -DDISABLE_SATIPCLIENT -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DENIGMA -c aes.c -o ../build/aes.o gcc -fPIC -Os -DVERSION=\"1.0.0-07cb6fc\" -DDISABLE_DVBCSA -DDISABLE_DVBCA -DDISABLE_SATIPCLIENT -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DENIGMA -c dvbapi.c -o ../build/dvbapi.o gcc -fPIC -Os -DVERSION=\"1.0.0-07cb6fc\" -DDISABLE_DVBCSA -DDISABLE_DVBCA -DDISABLE_SATIPCLIENT -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DENIGMA -c pmt.c -o ../build/pmt.o gcc -fPIC -Os -DVERSION=\"1.0.0-07cb6fc\" -DDISABLE_DVBCSA -DDISABLE_DVBCA -DDISABLE_SATIPCLIENT -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DENIGMA -c tables.c -o ../build/tables.o gcc -fPIC -Os -DVERSION=\"1.0.0-07cb6fc\" -DDISABLE_DVBCSA -DDISABLE_DVBCA -DDISABLE_SATIPCLIENT -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DENIGMA -c dvb.c -o ../build/dvb.o gcc -fPIC -Os -DVERSION=\"1.0.0-07cb6fc\" -DDISABLE_DVBCSA -DDISABLE_DVBCA -DDISABLE_SATIPCLIENT -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DENIGMA -o ../minisatip ../build/minisatip.o ../build/socketworks.o ../build/stream.o ../build/adapter.o ../build/utils.o ../build/aes.o ../build/dvbapi.o ../build/pmt.o ../build/tables.o ../build/dvb.o -lpthread -lrt -lcrypto make[1]: Leaving directory /opt/dm500-satip/minisatip/src'
/opt/dm500-satip/buildroot/output/host/usr/bin/powerpc-buildroot-linux-uclibc-strip: Unable to recognise the format of the input file `minisatip'
root@ubuntu1404:/opt/dm500-satip/minisatip#

build.sh:

#!/bin/sh

CC=powerpc-buildroot-linux-uclibc-gcc \
CFLAGS="-fPIC -Os" EMBEDDED=yes \
ENIGMA=yes DVBCSA=no DVBCA=no SATIPCLIENT=no make &&

/opt/dm500-satip/buildroot/output/host/usr/bin/powerpc-buildroot-linux-uclibc-strip minisatip

Re: minisatip can work in DM500?

Posted: Mon Sep 16, 2019 1:12 am
by cata
You need the cross compiler for ppc that is used for building your image

Re: minisatip can work in DM500?

Posted: Mon Sep 16, 2019 1:13 am
by cata
The one used to build dm500-satip