linux-sysmocom: split to v3.10 and v3.2
* The Linux 3.2.X kernel has some funny issues with GCC 4.8 in the fs/namei.c look up code. It is easier to move to 3.10 than to fully debug the issue. * disable the mISDN loop patch for v3.10 * use the hack to make v3.2 compilable for edison and v3.10 for dora
This commit is contained in:
parent
71b2d700c7
commit
ccd50b5dbe
|
@ -1,6 +1,7 @@
|
|||
TARGET_ARCH = "arm"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom"
|
||||
PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.7+gitAUTOINC+a1a9f198c2'), ('1.1.2','3.2.48+git2+bcc4fa827be7f59486ff305d664b42a142025f9b')])[d.getVar('DISTRO_VERSION', True)]}"
|
||||
PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"
|
||||
|
||||
PREFERRED_VERSION_u-boot = "git"
|
||||
|
|
|
@ -1417,7 +1417,8 @@ CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
|||
# CONFIG_ACCESSIBILITY is not set
|
||||
CONFIG_RTC_LIB=y
|
||||
# CONFIG_RTC_CLASS is not set
|
||||
# CONFIG_DMADEVICES is not set
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_TI_EDMA=y
|
||||
# CONFIG_AUXDISPLAY is not set
|
||||
# CONFIG_UIO is not set
|
||||
|
||||
|
@ -1691,7 +1692,8 @@ CONFIG_STACKTRACE=y
|
|||
# CONFIG_DEBUG_STACK_USAGE is not set
|
||||
# CONFIG_DEBUG_KOBJECT is not set
|
||||
CONFIG_DEBUG_BUGVERBOSE=y
|
||||
# CONFIG_DEBUG_INFO is not set
|
||||
CONFIG_DEBUG_INFO=y
|
||||
# is not set
|
||||
# CONFIG_DEBUG_VM is not set
|
||||
# CONFIG_DEBUG_WRITECOUNT is not set
|
||||
# CONFIG_DEBUG_MEMORY_INIT is not set
|
||||
|
|
|
@ -0,0 +1,56 @@
|
|||
inherit kernel
|
||||
require linux-sysmocom.inc
|
||||
|
||||
LINUX_VERSION ?= "3.2.48"
|
||||
LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}"
|
||||
|
||||
# Overrides for the sysmocom bts v1
|
||||
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 = "bcc4fa827be7f59486ff305d664b42a142025f9b"
|
||||
|
||||
PR = "r31"
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \
|
||||
file://mISDN_loop.patch;patch=1 \
|
||||
file://defconfig"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
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
|
||||
FILES_kernel-image_sysmobts-v1 = ""
|
||||
|
||||
require linux-tools.inc
|
||||
|
||||
do_configure() {
|
||||
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
|
||||
oe_runmake oldconfig
|
||||
}
|
||||
|
||||
# autoload defaults (alphabetically sorted)
|
||||
module_autoload_davinci_mmc = "davinci_mmc"
|
||||
module_autoload_davinci_wdt = "davinci_wdt"
|
||||
module_autoload_dspdl_dm644x = "dspdl_dm644x"
|
||||
module_autoload_fpgadl_par = "fpgadl_par"
|
||||
module_autoload_leds-gpio = "leds-gpio"
|
||||
module_autoload_mmc_block = "mmc_block"
|
||||
module_autoload_msgqueue = "msgqueue"
|
||||
module_autoload_rtfifo = "rtfifo"
|
||||
|
||||
# module configs (alphabetically sorted)
|
||||
module_conf_dspdl_dm644x = "options dspdl_dm644x fw_name=${BTS_FIRMWARE_NAME}.out debug=0"
|
||||
module_conf_fpgadl_par = "options fpgadl_par fw_name=${BTS_FIRMWARE_NAME}.bit"
|
||||
module_conf_msgqueue = "options msgqueue fw_name=${BTS_FIRMWARE_NAME}.out"
|
||||
module_conf_rtfifo = "options rtfifo fw_name=${BTS_FIRMWARE_NAME}.out"
|
||||
|
||||
RDEPENDS_kernel-module-dspdl-dm644x += "sysmobts-firmware"
|
||||
RDEPENDS_kernel-module-fpgadl-par += "sysmobts-firmware"
|
||||
RDEPENDS_kernel-module-msgqueue += "sysmobts-firmware"
|
||||
RDEPENDS_kernel-module-rtfifo += "sysmobts-firmware"
|
|
@ -1,7 +1,7 @@
|
|||
inherit kernel
|
||||
require linux-sysmocom.inc
|
||||
|
||||
LINUX_VERSION ?= "3.2.48"
|
||||
LINUX_VERSION ?= "3.10.7"
|
||||
LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}"
|
||||
|
||||
# Overrides for the sysmocom bts v1
|
||||
|
@ -11,14 +11,18 @@ BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1"
|
|||
BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2"
|
||||
BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2"
|
||||
|
||||
SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b"
|
||||
# at versions changes do not forget to update conf/machine/include/sysmobts.inc too
|
||||
SRCREV = "a1a9f198c27c6e10cd6d5e5d18f2534cc7d6accd"
|
||||
|
||||
PR = "r31"
|
||||
PR = "r31.3"
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \
|
||||
file://mISDN_loop.patch;patch=1 \
|
||||
SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.10 \
|
||||
file://defconfig"
|
||||
|
||||
# tmp disabled.. patch needs to be rebased for 3.10
|
||||
# file://mISDN_loop.patch;patch=1
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050)"
|
||||
|
|
Loading…
Reference in New Issue