sysmobts: Upgrade firmware headers, firmware and the osmo-bts code

This upgrades the firmware from 3.6 to 3.10. This is a significant
firmware upgrade and it changed ABIs too. Try hard to fix the
dependencies as much as possible. This requires the DSP headers
files to be of version 3.10 as well but we can not have versioned
DEPENDS.
This commit is contained in:
Holger Hans Peter Freyther 2014-06-16 19:27:42 +02:00
parent ea7e222c7b
commit ff29b31d6e
3 changed files with 22 additions and 5 deletions

View File

@ -3,8 +3,8 @@ SECTION = "kernel"
LICENSE = "CLOSED"
SRC_URI = "git://git.sysmocom.de/sysmo-bts/layer1-api.git;protocol=git;branch=master"
SRCREV = "bbf213491fdee73af793e73ec2e3cd0f5b57fb7b"
SRCREV_sysmobts-v2 = "bbf213491fdee73af793e73ec2e3cd0f5b57fb7b"
SRCREV = "73a3a2f9cfbf597d8c6ed92c5fc2eb6f142e30d8"
SRCREV_sysmobts-v2 = "73a3a2f9cfbf597d8c6ed92c5fc2eb6f142e30d8"
SRCREV_sysmobts-v1 = "4dde9443e2aa11868e46a67529cb5ac45462699c"
PV = "${SRCREV}+git${SRCPV}"
PR = "r4"

View File

@ -0,0 +1,16 @@
COMPATIBLE_MACHINE = "(sysmobts-v2|sysmobts-2050)"
PACKAGE_ARCH = "sysmobts-v2"
FIRMWARE-VERSION = "superfemto_v${PV}"
PR = "r9.${INC_PR}"
RRCONFLICTS_${PN} = "osmo-bts (< 0.4.2)"
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

@ -6,13 +6,14 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/featu
git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc"
SRCREV_osmobts = "a7f9b58e44fa7119e7113269765302a0b8a619d5"
SRCREV_openbsc = "421365eeaa104a9781214f9e12c55023c1099bf8"
PV = "0.4.1+git${SRCPV}"
PR = "r8.${META_TELEPHONY_OSMO_INC}"
PV = "0.4.2+git${SRCPV}"
PR = "r9.${META_TELEPHONY_OSMO_INC}"
S = "${WORKDIR}/git"
SRCREV_FORMAT = "openbsc-rosmobts"
DEPENDS = "libosmocore libosmo-abis femtobts-api"
RDEPENDS_${PN} += "coreutils"
RDEPENDS_${PN} += "coreutils sysmobts-firmware (>= 3.10)"
RCONFLICTS_${PN} = "sysmobts-firmware (< 3.10)"
EXTRA_OECONF += "--enable-sysmocom-bts"