Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

BeagleBone Black Image

    Nobody is reading this thread right now.
AW: BeagleBone Black Image

OK, dazu kann ich dir 3 Optionen anbieten:

1.) Update meines BBB Images (wo du schon mal runtergeladen hast)
2.) Kernelfiles die du in deinen BBB einspielen kannst
3.) Anleitung wie man Kernel selber erstellen kann (Ist nicht so schwer wie man glaubt, doch es ist etwas Vorarbeit nötig)

Die Wahl hast nun du .... - oder du hast nur 2 Reader und lässt alles so wie es ist.

LG joerg_999
 
AW: BeagleBone Black Image

Warum hängt kernelupdate immer etwas hinterher? Ich habe in der config dazu den 3.15 Kernel gewählt. Eben ausprobiert, es wird der Kernel 3.15 RC5 erstellt, obwohl RC6 seit dem 21.05.14 veröffentlicht ist.
 
AW: BeagleBone Black Image

Ich hab keine Ahnung warum das so ist. Ich denke dass die Kernel Version im GIT von Hand angepasst wird.
 
AW: BeagleBone Black Image

Ab 3.15-rc6 wird der Kernel in einem anderen GIT weitergepflegt. config_kernelupdater und kernelupdater.sh müssen dafür angepasst werden.

config_kernelupdater
Code:
export FILES=files
export WORK=work_kernelupdater

export KERNEL_GIT=https://github.com/RobertCNelson/bb-kernel.git
export KERNEL_VERSION=origin/am33x-v3.15
kernelupdater.sh
Code:
#!/bin/bash

. ./config_kernelupdater


if [ $# -ne 3 ]; then
    echo ' Usage: '${0}' ip user pass'
    exit 1
fi


SSH_IP=${1}
SSH_USER=${2}
SSH_PASS=${3}


if [ -d ${WORK} ]; then
    rm -rf ${WORK}
fi


mkdir ${WORK} && cd ${WORK}
git clone ${KERNEL_GIT}
cd bb-kernel/
git checkout ${KERNEL_VERSION} -b tmp
./build_kernel.sh
cd ../..


sshpass -p ${SSH_PASS} scp ${WORK}/bb-kernel/deploy/* ${SSH_USER}@${SSH_IP}:/tmp
sshpass -p ${SSH_PASS} ssh ${SSH_USER}@${SSH_IP} 'cp /tmp/*.zImage /boot/uboot/zImage'
sshpass -p ${SSH_PASS} ssh ${SSH_USER}@${SSH_IP} 'tar xfov /tmp/*-dtbs.tar.gz -C /boot/uboot/dtbs/'
sshpass -p ${SSH_PASS} ssh ${SSH_USER}@${SSH_IP} 'tar xfv /tmp/*-firmware.tar.gz -C /lib/firmware/'
sshpass -p ${SSH_PASS} ssh ${SSH_USER}@${SSH_IP} 'tar xfv /tmp/*-modules.tar.gz -C /'
sshpass -p ${SSH_PASS} ssh ${SSH_USER}@${SSH_IP} 'rm -rf /lib/modules/`uname -r`'
sshpass -p ${SSH_PASS} ssh ${SSH_USER}@${SSH_IP} 'reboot'


exit 0
 
Zuletzt bearbeitet:
@Supamicha: Pls, will you make a last version "Snapshot Image" as before ?
 
AW: Re: BeagleBone Black Image

Neues Snapshot Image im ersten Beitrag ...

Viel Spass damit !

Gruss
micha
 
Zuletzt bearbeitet:
Re: AW: Re: BeagleBone Black Image

@supamicha, are you sure that you change the snapshot image in the same url (as before) ?

It has the same date of april 25th and the same volume.
The snapshot image (25th) you change also the url and date.
 
Zuletzt bearbeitet:
It's Okay now, I'll could download now with the new date 2014-06-13. Thanks :emoticon-0148-yes::emoticon-0157-sun::emoticon-0157-sun::emoticon-0157-sun::good:
 
@supamicha, I'll try to bring the extra patch " " to the oscam-binary in the BBB installed with your snapshot image.
The new oscam emu you can read here;

I start with the experiment/test first with a new directory /usr/local/src/OscamEmu
Try to build with this protocol;

Building OSCam-emu from source
==========================
- cd /usr/local/src/

- Get the lastest oscam sources from SVN:
svn checkout OscamEmu

- save the oscam-emu.patch file into; /usr/local/src/OscamEmu

- Go to oscam-svn directory.
cd OscamEmu

- Patch the source with the EMU patch:
patch -p0 < ../oscam-emu.patch ###From here I could not patch ! What goes wrong ??? ###

- Run `./config.sh -g` to choose the features you want. (make sure to include at least all readers, constcw and emu support besides the wanted protocols)

- Run `make` to compile OSCam.
==========================

If this will be work, the next step will be the integration in your command "oscambuild" :emoticon-0115-inlov
 
AW: Re: BeagleBone Black Image

You need to install 'git' and 'patch' :
Code:
apt-get install git patch
Then try this :
Code:
#!/bin/bash

############################
#                          #
#                          #
#    OScam Build Script    #
#    with SoftCAM patch    #
#                          #
#    Version 2014-08-03    #
#                          #
#                          #
############################


#CONF_DISABLE='all'
#CONF_ENABLE='WEBIF WEBIF_LIVELOG WEBIF_JQUERY WITH_LB WITH_DEBUG MODULE_CAMD35_TCP READER_NAGRA READER_IRDETO READER_CRYPTOWORKS READER_CONAX READER_VIACCESS READER_VIDEOGUARD CLOCKFIX WITH_EMU'
#MAKEOPT='USE_LIBUSB=1'


CONF_ENABLE=''
CONF_DISABLE=''
MAKEOPT='USE_LIBUSB=1 USE_PCSC=1'


TRUNK=http://streamboard.tv/svn/oscam/trunk
EMUGIT=https://github.com/oscam-emu/oscam-emu
EMUFILE=oscam-emu/oscam-emu.patch


BINDIR=/usr/local/bin
CONFDIR=/usr/local/etc


TMPDIR=$(mktemp -d -t oscam-XXXXXXXXXX) || { echo ''; echo ' error creating workdir'; echo ' Stop !'; echo ''; exit 1; }


if [ -z ${1} ]; then
	svn co ${TRUNK} ${TMPDIR}
else
	svn co ${TRUNK} ${TMPDIR} -r ${1}
fi


cd ${TMPDIR}


git clone ${EMUGIT}


patch -p0 < ${EMUFILE}


./config.sh --restore
if [ 'x${CONF_DISABLE}' != 'x' ]; then
	./config.sh --disable ${CONF_DISABLE}
fi
if [ 'x${CONF_ENABLE}' != 'x' ]; then
	./config.sh --enable ${CONF_ENABLE}
fi


VERSION=`./config.sh --oscam-version`
REVISION=`./config.sh --oscam-revision`
OSCAM='oscam_'${VERSION}'-r'${REVISION}
OSCAMFILE=${BINDIR}'/'${OSCAM}


if [ -f ${OSCAMFILE} ]; then
	rm ${OSCAMFILE}
fi


if [ -f ${OSCAMFILE}'.debug' ]; then
	rm ${OSCAMFILE}'.debug'
fi


make ${MAKEOPT} OSCAM_BIN=${OSCAMFILE} CONF_DIR=${CONFDIR}


if [ -f ${OSCAMFILE}'.debug' ]; then
        rm ${OSCAMFILE}'.debug'
fi


rm -rf ${TMPDIR}


if [ -f ${OSCAMFILE} ]; then
	ln -sf ${OSCAM} ${BINDIR}'/oscam'
else
	echo ''
	echo ' error creating '${OSCAM}
	echo ' stop !'
	echo ''
	exit 1
fi


echo ''
echo ' active file '${OSCAM}
echo ''


exit 0
 
Zuletzt bearbeitet:
Re: AW: Re: BeagleBone Black Image

Your new "oscambuild" with Emu works like we wishes, thanks :emoticon-0167-beer::emoticon-0155-flowe:emoticon-0155-flowe:emoticon-0155-flowe :good::good::good:
 
@supamicha, Pls look to the latest lines of your buildscript with Patch latest trunkbuild;

CONF build/arm-linux-gnueabihf-libusb-pcsc/config.c
LINK /usr/local/bin/oscam_1.20-unstable_svn-r9816.debug
/usr/bin/ld: cannot find SoftCam.Key: No such file or directory
collect2: error: ld returned 1 exit status
Makefile:351: recipe for target '/usr/local/bin/oscam_1.20-unstable_svn-r9816.debug' failed
make[1]: *** [/usr/local/bin/oscam_1.20-unstable_svn-r9816.debug] Error 1
Makefile recipe for target 'all' failed
make: *** [all] Error 2
error creating oscam_1.20-unstable_svn-r9816
stop !


The SoftCam.Key is normally located in the map: /usr/local/etc
 
AW: Re: BeagleBone Black Image

The Patch will link a static SoftCam.Key in OScam.

Please try this :
Code:
[COLOR=#333333]#!/bin/bash[/COLOR]
############################
#                          #
#                          #
#    OScam Build Script    #
#    with SoftCAM patch    #
#                          #
#    Version 2014-08-07    #
#                          #
#                          #
############################


#CONF_DISABLE='all'
#CONF_ENABLE='WEBIF WEBIF_LIVELOG WEBIF_JQUERY WITH_LB WITH_DEBUG MODULE_CAMD35_TCP READER_NAGRA READER_IRDETO READER_CRYPTOWORKS READER_CONAX READER_VIACCESS READER_VIDEOGUARD CLOCKFIX WITH_EMU'
#MAKEOPT='USE_LIBUSB=1'


CONF_ENABLE=''
CONF_DISABLE=''
MAKEOPT='USE_LIBUSB=1 USE_PCSC=1'


TRUNK=http://streamboard.tv/svn/oscam/trunk
EMUGIT=https://github.com/oscam-emu/oscam-emu
EMUFILE=oscam-emu/oscam-emu.patch


BINDIR=/usr/local/bin
CONFDIR=/usr/local/etc


TMPDIR=$(mktemp -d -t oscam-XXXXXXXXXX) || { echo ''; echo ' error creating workdir'; echo ' Stop !'; echo ''; exit 1; }


if [ -z ${1} ]; then
    svn co ${TRUNK} ${TMPDIR}
else
    svn co ${TRUNK} ${TMPDIR} -r ${1}
fi


cd ${TMPDIR}


git clone ${EMUGIT}


patch -p0 < ${EMUFILE}
touch SoftCam.Key


./config.sh --restore
if [ 'x${CONF_DISABLE}' != 'x' ]; then
    ./config.sh --disable ${CONF_DISABLE}
fi
if [ 'x${CONF_ENABLE}' != 'x' ]; then
    ./config.sh --enable ${CONF_ENABLE}
fi


VERSION=`./config.sh --oscam-version`
REVISION=`./config.sh --oscam-revision`
OSCAM='oscam_'${VERSION}'-r'${REVISION}
OSCAMFILE=${BINDIR}'/'${OSCAM}


if [ -f ${OSCAMFILE} ]; then
    rm ${OSCAMFILE}
fi


if [ -f ${OSCAMFILE}'.debug' ]; then
    rm ${OSCAMFILE}'.debug'
fi


make ${MAKEOPT} OSCAM_BIN=${OSCAMFILE} CONF_DIR=${CONFDIR}


if [ -f ${OSCAMFILE}'.debug' ]; then
        rm ${OSCAMFILE}'.debug'
fi


rm -rf ${TMPDIR}


if [ -f ${OSCAMFILE} ]; then
    ln -sf ${OSCAM} ${BINDIR}'/oscam'
else
    echo ''
    echo ' error creating '${OSCAM}
    echo ' stop !'
    echo ''
    exit 1
fi


echo ''
echo ' active file '${OSCAM}
echo ''


exit 0
 
AW: BeagleBone Black Image

Ich habe mal die Vorgehensweise zur Aktualisierung von OSEmu für meinen Beaglebone Black in einem Script zusammengefasst. Vorlage sind die Scripte von Link ist nicht mehr aktiv.. Ich hoffe das ist kein Problem?
 
Zurück
Oben