Merge commit '83edf1dce4ab2a5ae143d0a687c9512d2d1767ff' into edison

This commit is contained in:
Holger Hans Peter Freyther 2013-10-06 17:08:30 +02:00
commit 74b543bbb1
16 changed files with 2042 additions and 20 deletions

View File

@ -0,0 +1,16 @@
#@TYPE: Machine
#@NAME: sysmoBTS 2050
#@DESCRIPTION: sysmocom GmbH sysmoBTS 2050 family
require sysmobts-v2.conf
MACHINEOVERRIDES = "${MACHINE}:sysmobts-v2"
# we are disabling the serial console for now, as it may interfere with
# the MSP430 service processor communication until proper filtering/splitting
# of the serial stream is implemented in the kernel
SERIAL_CONSOLE = ""
# we don't want a different UBIfs volume name, as this is compiled into u-boot,
# and thus would require a different u-boot image in turn.
UBI_VOLNAME="sysmobts-v2-rootfs"

View File

@ -4,10 +4,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
DEPENDS = "virtual/kernel"
ALLOW_EMPTY_${PN} = "1"
PR = "r18"
PR = "r20"
CALIB = ""
CALIB_sysmobts-v2 = "sysmobts-calib"
CALIB_sysmobts-v2 = "sysmobts-calib sysmobts-util"
UTIL = ""
UTIL_sysmobts-2050 = "sbts2050-util"
# TODO: re-add femtobts-calib after it went through the API migration
RDEPENDS_${PN} = "\
@ -16,5 +19,6 @@ RDEPENDS_${PN} = "\
osmo-pcu \
lmsensors-scripts \
${CALIB} \
${UTIL} \
"
PACKAGE_ARCH = "${MACHINE_ARCH}"

File diff suppressed because it is too large Load Diff

View File

@ -9,10 +9,11 @@ BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1"
# Overrides for the sysmocom bts v2
BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2"
BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2"
SRCREV = "996c4d772886fa81ffa5d2d971ef88e6da41e115"
PR = "r30"
PR = "r31"
PV = "${LINUX_VERSION}+git${SRCPV}"
SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \
@ -20,7 +21,7 @@ SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \
file://defconfig"
S = "${WORKDIR}/git"
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2)"
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050)"
EXTRA_OEMAKE += "KALLSYMS_EXTRA_PASS=1"
# we do not want to have the kernel image inside the kernel

View File

@ -0,0 +1,41 @@
#ping = 172.31.14.1
#ping = 172.26.1.255
#interface = eth0
#file = /var/log/messages
#change = 1407
# Uncomment to enable test. Setting one of these values to '0' disables it.
# These values will hopefully never reboot your machine during normal use
# (if your machine is really hung, the loadavg will go much higher than 25)
#max-load-1 = 24
#max-load-5 = 18
#max-load-15 = 12
# Note that this is the number of pages!
# To get the real size, check how large the pagesize is on your machine.
#min-memory = 1
#repair-binary = /usr/sbin/repair
#repair-timeout =
#test-binary =
#test-timeout =
watchdog-device = /dev/watchdog
# Defaults compiled into the binary
#temperature-device =
#max-temperature = 120
# Defaults compiled into the binary
#admin = root
#interval = 1
#logtick = 1
#log-dir = /var/log/watchdog
# This greatly decreases the chance that watchdog won't be scheduled before
# your machine is really loaded
realtime = yes
priority = 1
# Check if syslogd is still running by enabling the following line
#pidfile

View File

@ -1,11 +1,12 @@
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}"
PRINC = "8"
PRINC = "9"
inherit update-rc.d
SRC_URI_append_sysmobts-v1 = " file://watchdog.conf file://init"
SRC_URI_append_sysmobts-v2 = " file://watchdog.conf file://init"
SRC_URI_append_sysmobts-2050 = " file://watchdog.conf file://init"
do_install_append() {

View File

@ -3,7 +3,7 @@ HOMEPAGE = "http://www.airs.com/ian/uucp.html"
SECTION = "console/utils"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
PR = "r3.4"
PR = "r3.5"
inherit autotools
@ -17,15 +17,16 @@ do_configure() {
EXTRA_OECONF = "--with-newconfigdir=/etc/uucp"
do_install_append() {
install -d ${D}/var/spool/uucp
}
pkg_postinst_${PN} () {
if [ "x$D" != "x" ] ; then
exit 1
fi
# Create the UUCP directory if it does not exist
if [ ! -e /var/spool/uucp ] ; then
mkdir -m 0770 /var/spool/uucp
fi
chown uucp:uucp /var/spool/uucp
chmod 770 /var/spool/uucp
}

View File

@ -0,0 +1,29 @@
DESCRIPTION = "802.1q vlan support program"
RRECOMMENDS_${PN} = "kernel-module-8021q"
LICENSE = "GPLv2+"
PR = "r4"
LIC_FILES_CHKSUM = "file://README;md5=ae5a24f54a98660ad86aad6c42052e48"
S = "${WORKDIR}/vlan/"
SRC_URI = "http://www.candelatech.com/~greear/vlan/vlan.${PV}.tar.gz"
inherit base
CCFLAGS = "-g -D_GNU_SOURCE -Wall -I${STAGING_INCDIR}"
LDLIBS = ""
do_compile() {
${CC} ${CCFLAGS} -c vconfig.c
${CC} ${CCFLAGS} ${LDFLAGS} -o vconfig vconfig.o ${LDLIBS}
}
do_install() {
install -d "${D}/${sbindir}"
install -m 755 "${S}/vconfig" "${D}/${sbindir}"
}
SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394"
SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca"

View File

@ -3,11 +3,11 @@ SECTION = "kernel"
LICENSE = "CLOSED"
SRC_URI = "git://git.sysmocom.de/sysmo-bts/layer1-api.git;protocol=git;branch=master"
SRCREV = "6eb9bcf22ca5163594d4d0d8ec7dd580d411d1ea"
SRCREV_sysmobts-v2 = "6eb9bcf22ca5163594d4d0d8ec7dd580d411d1ea"
SRCREV = "bcf372be4214e3108c236ba87f487e1a1e8c69f9"
SRCREV_sysmobts-v2 = "bcf372be4214e3108c236ba87f487e1a1e8c69f9"
SRCREV_sysmobts-v1 = "4dde9443e2aa11868e46a67529cb5ac45462699c"
PV = "${SRCREV}+git${SRCPV}"
PR = "r3"
PR = "r4"
S = "${WORKDIR}/git"
# The API is only a header, nothing to compile

View File

@ -1,6 +1,7 @@
COMPATIBLE_MACHINE = "sysmobts-v2"
COMPATIBLE_MACHINE = "(sysmobts-v2|sysmobts-2050)"
PACKAGE_ARCH = "sysmobts-v2"
FIRMWARE-VERSION = "superfemto_v${PV}"
PR = "r7.${INC_PR}"
PR = "r8.${INC_PR}"
require ${PN}.inc

View File

@ -0,0 +1,15 @@
COMPATIBLE_MACHINE = "(sysmobts-v2|sysmobts-2050)"
PACKAGE_ARCH = "sysmobts-v2"
FIRMWARE-VERSION = "superfemto_v${PV}"
PR = "r8.${INC_PR}"
require ${PN}.inc
do_install() {
install -d ${D}/lib/firmware/
install -m 0666 ${S}/Image/Dsp/superfemto.out ${D}/lib/firmware/sysmobts-v2.out
install -m 0666 ${S}/Image/Fpga/superfemto.bit ${D}/lib/firmware/sysmobts-v2.bit
}
FILES_${PN} = "/lib/firmware/sysmobts-v2*"

View File

@ -0,0 +1,15 @@
COMPATIBLE_MACHINE = "(sysmobts-v2|sysmobts-2050)"
PACKAGE_ARCH = "sysmobts-v2"
FIRMWARE-VERSION = "superfemto_v${PV}"
PR = "r8.${INC_PR}"
require ${PN}.inc
do_install() {
install -d ${D}/lib/firmware/
install -m 0666 ${S}/Image/Dsp/superfemto.out ${D}/lib/firmware/sysmobts-v2.out
install -m 0666 ${S}/Image/Fpga/superfemto.bit ${D}/lib/firmware/sysmobts-v2.bit
}
FILES_${PN} = "/lib/firmware/sysmobts-v2*"

View File

@ -4,8 +4,8 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/0.3.0-next;name=osmobts;destsuffix=git \
git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc"
SRCREV_osmobts = "5eab81d02ae80af9f87d75389707a8ff76414076"
SRCREV_openbsc = "f659992616a910a48d48766986460f6ccd23e971"
SRCREV_osmobts = "6d76c1c701dcfc9e0984750cec7ff04cdaa3c154"
SRCREV_openbsc = "caa98d51b64e16bbe6d4933d9052b617432e5e22"
PV = "0.3.0+git${SRCPV}"
PR = "r1.${META_TELEPHONY_OSMO_INC}"
S = "${WORKDIR}/git"
@ -51,7 +51,8 @@ INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME_${PN} = "sysmobts"
INITSCRIPT_PARAMS_${PN} = "defaults 30 30"
PACKAGES =+ "osmo-bts-remote sysmobts-calib"
PACKAGES =+ "osmo-bts-remote sysmobts-calib sysmobts-util"
FILES_osmo-bts-remote = " ${bindir}/sysmobts-remote "
FILES_sysmobts-calib = " ${bindir}/sysmobts-calib "
FILES_sysmobts-util = " ${bindir}/sysmobts-util "

View File

@ -0,0 +1,15 @@
DESCRIPTION = "sysmocom sysmoBTS 2050 board management utility"
SECTION = "kernel"
LICENSE = "CLOSED"
SRC_URI = "file://sbts2050-util-${FIRMWARE-VERSION}.tar.bz2"
S = "${WORKDIR}/sbts2050-util-${FIRMWARE-VERSION}"
INC_PR = "1"
do_compile() {
:
}
COMPATIBLE_MACHINE = "sysmobts-2050"
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@ -0,0 +1,12 @@
FIRMWARE-VERSION = "${PV}"
PR = "r2.${INC_PR}"
require ${PN}.inc
do_install() {
install -d ${D}/usr/bin
install -m 0755 ${S}/sbts2050-util ${D}/usr/bin/sbts2050-util
}
FILES_${PN} = "/usr/bin/sbts2050-util"

View File

@ -3,14 +3,15 @@ SRCREV = "40d74c99ac9d741857d1298617b186b1d4e148de"
PV = "v2011.12+git${SRCPV}"
S = "${WORKDIR}/git"
PRINC = "9"
PRINC = "11"
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"
UBOOT_MACHINE_sysmobts-v1 = "davinci_sysmobts_v1_config"
UBOOT_MACHINE_sysmobts-v2 = "davinci_sysmobts_v2_config"
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2)"
UBOOT_MACHINE_sysmobts-2050 = "davinci_sysmobts_v2_config"
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050)"
UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}"
UBOOT_SYMLINK = "u-boot-${MACHINE}"