Skip to content

Commit

Permalink
[vuplus] add solo2/duo2 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Blackburn committed Dec 27, 2012
1 parent f99a2a3 commit a4df225
Show file tree
Hide file tree
Showing 13 changed files with 5,929 additions and 4 deletions.
39 changes: 39 additions & 0 deletions conf/machine/vuduo2.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#@TYPE: Machine
#@NAME: Vu+ Duo2
#@DESCRIPTION: Machine configuration for the Vu+ Duo2

UPDATE_DIR = "duo2"

require conf/machine/include/vuplus.inc

IMAGE_CMD_ubi_append = " \
mkdir -p ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}; \
${@base_contains("MACHINE_FEATURES", "bootsplash", "cp ${DEPLOY_DIR_IMAGE}/splash_cfe_auto.bin ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/splash_cfe_auto.bin;" , "", d)} \
cp ${DEPLOY_DIR_IMAGE}/initrd_cfe_auto.bin ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/initrd_cfe_auto.bin; \
mv ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/root_cfe_auto.bin; \
gzip -f -9c ${DEPLOY_DIR_IMAGE}/vmlinux-${MACHINE}.bin > ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/kernel_cfe_auto.bin; \
echo ${DISTRO_NAME}-${DISTRO_VERSION}.${BUILD_VERSION} > ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/imageversion; \
echo "This file forces a reboot after the update." > ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/reboot.update; \
cd ${DEPLOY_DIR_IMAGE}; \
zip ${IMAGE_NAME}_usb.zip ${IMAGEDIR}/*; \
rm -f ${DEPLOY_DIR_IMAGE}/*.ubifs; \
rm -Rf vuplus; \
"
EXTRA_IMAGEDEPENDS = "\
vuplus-initrd-cfe \
vuplus-transtreamproxy"

MACHINE_EXTRA_RDEPENDS = "\
vuplus-initrd-cfe \
enigma2-plugin-systemplugins-firmwareupgrade \
enigma2-plugin-systemplugins-remotecontrolcode \
"

PREFERRED_VERSION_linux-vuplus = "2.6.37"
PREFERRED_VERSION_linux-libc-headers = "2.6.31"

MACHINE_FEATURES += "bwlcd255 fullgraphiclcd ci dvb-c fan blindscan-dvbc blindscan-dvbs transcoding"

CHIPSET = "bcm7425"

MACHINE_KERNEL_PR = "r0"
39 changes: 39 additions & 0 deletions conf/machine/vusolo2.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#@TYPE: Machine
#@NAME: Vu+ Solo2
#@DESCRIPTION: Machine configuration for the Vu+ Solo2

UPDATE_DIR = "solo2"

require conf/machine/include/vuplus.inc

IMAGE_CMD_ubi_append = " \
mkdir -p ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}; \
${@base_contains("MACHINE_FEATURES", "bootsplash", "cp ${DEPLOY_DIR_IMAGE}/splash_cfe_auto.bin ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/splash_cfe_auto.bin;" , "", d)} \
cp ${DEPLOY_DIR_IMAGE}/initrd_cfe_auto.bin ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/initrd_cfe_auto.bin; \
mv ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/root_cfe_auto.bin; \
gzip -f -9c ${DEPLOY_DIR_IMAGE}/vmlinux-${MACHINE}.bin > ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/kernel_cfe_auto.bin; \
echo ${DISTRO_NAME}-${DISTRO_VERSION}.${BUILD_VERSION} > ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/imageversion; \
echo "This file forces a reboot after the update." > ${DEPLOY_DIR_IMAGE}/${IMAGEDIR}/reboot.update; \
cd ${DEPLOY_DIR_IMAGE}; \
zip ${IMAGE_NAME}_usb.zip ${IMAGEDIR}/*; \
rm -f ${DEPLOY_DIR_IMAGE}/*.ubifs; \
rm -Rf vuplus; \
"
EXTRA_IMAGEDEPENDS = "\
vuplus-initrd-cfe \
vuplus-transtreamproxy"

MACHINE_EXTRA_RDEPENDS = "\
vuplus-initrd-cfe \
enigma2-plugin-systemplugins-fpgaupgrade \
enigma2-plugin-systemplugins-remotecontrolcode \
"

PREFERRED_VERSION_linux-vuplus = "3.3.6"
PREFERRED_VERSION_linux-libc-headers = "3.3"

MACHINE_FEATURES += "textlcd ci fan blindscan-dvbs transcoding"

CHIPSET = "bcm7346"

MACHINE_KERNEL_PR = "r0"
6 changes: 6 additions & 0 deletions recipes-bsp/vuplus/vuplus-blindscan-utils-vuduo2.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
DOWNLOADMACHINE = "vuduo2"

require recipes-bsp/vuplus/vuplus-blindscan-utils.inc

SRC_URI[md5sum] = "2c09f9bc696c3cc0fefb718ddfb71ab1"
SRC_URI[sha256sum] = "47f7f3bbd8b35fd6ab03968c066e6b1c7945195f5f659925681ece4b30cd4e70"
6 changes: 6 additions & 0 deletions recipes-bsp/vuplus/vuplus-blindscan-utils-vusolo2.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
DOWNLOADMACHINE = "vusolo2"

require recipes-bsp/vuplus/vuplus-blindscan-utils.inc

SRC_URI[md5sum] = "2c09f9bc696c3cc0fefb718ddfb71ab1"
SRC_URI[sha256sum] = "47f7f3bbd8b35fd6ab03968c066e6b1c7945195f5f659925681ece4b30cd4e70"
6 changes: 3 additions & 3 deletions recipes-bsp/vuplus/vuplus-dvb-modules-vusolo2.bb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
SRCDATE = "20121109"
SRCDATE = "20121220"

require vuplus-dvb-modules.inc

DOWNLOADMACHINE = "${MACHINE}"

SRC_URI[md5sum] = "8eeba3ee93d9ef55e452a87ca59efc0e"
SRC_URI[sha256sum] = "0885c737333a6c588abcdd9ce1535eba809a22fcd32864411718408d0bb2bb80"
SRC_URI[md5sum] = "0905b572b36ee68ffdf30e11bca0b1de"
SRC_URI[sha256sum] = "db9bfabc804ad288f0e253be2e4547a76846a1a8b05ec635c3567aa18cbb1827"
1 change: 0 additions & 1 deletion recipes-bsp/vuplus/vuplus-dvb-modules.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ PR = "r6"

VUPLUS_KERNEL_GCC = "4.4.3"
SRC_URI = "http://archive.vuplus.com/download/drivers/vuplus-dvb-modules-${DOWNLOADMACHINE}-${KV}-${VUPLUS_KERNEL_GCC}-${SRCDATE}.tar.gz"
SRC_URI_solo2 = "http://archive.vuplus.com/download/drivers/beta/private/vuplus-dvb-modules-${DOWNLOADMACHINE}-${KV}-${VUPLUS_KERNEL_GCC}-${SRCDATE}.tar.gz"
SRC_URI_duo2 = "http://archive.vuplus.com/download/drivers/beta/private/vuplus-dvb-modules-${DOWNLOADMACHINE}-${KV}-${VUPLUS_KERNEL_GCC}-${SRCDATE}.tar.gz"

S = "${WORKDIR}"
Expand Down
19 changes: 19 additions & 0 deletions recipes-bsp/vuplus/vuplus-transtreamproxy.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
DESCRIPTION = "streamproxy manages streaming data to a Mobile device using enigma2"
LICENSE = "CLOSED"

SRCDATE = "20101014"
PV = "1.0cvs${SRCDATE}"

SRC_URI = "cvs://anonymous@cvs.schwerkraft.elitedvb.net/cvsroot/streamproxy;module=enigma2-streamproxy;method=pserver \
file://transcoding.patch \
"

inherit autotools

S = "${WORKDIR}/enigma2-streamproxy"

do_install() {
install -d ${D}/usr/bin
install -m 0755 ${S}/src/streamproxy ${D}/usr/bin/transtreamproxy
}

0 comments on commit a4df225

Please sign in to comment.