sysmocom-bsc: switch to kernelprovider to linux-sysmocom for dora

* use seperate defconfig, because of option changed from 2.6.39 to 3.10
* use python magic to switch between linux and linux-sysmocom
* add sysmocom-bsc to compatible machines for linux-sysmocom
* add new confiugration parameters for syslinux
This commit is contained in:
Henning Heinold 2014-03-04 17:40:33 +01:00 committed by Henning
parent 98cf4f54f5
commit b2a5a3a316
4 changed files with 2877 additions and 4 deletions

View File

@ -8,7 +8,7 @@ PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite"
PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite"
PREFERRED_PROVIDER_virtual/kernel = "linux"
PREFERRED_PROVIDER_virtual/kernel = "${@ dict([('1.5','linux-sysmocom'),('1.5.1', 'linux-sysmocom'), ('1.1.2','linux')])[d.getVar('DISTRO_VERSION', True)]}"
require conf/machine/include/tune-geode.inc

View File

@ -6,8 +6,15 @@ LICENSE = "MIT"
inherit boot-directdisk
SYSLINUX_ROOT = "root=/dev/sda2"
SYSLINUX_PROMPT = "0"
SYSLINUX_TIMEOUT = "2"
SYSLINUX_SERIAL = "0 38400"
SYSLINUX_SERIAL_TTY = "console=ttyS0,38400"
SYSLINUX_LABELS = "boot"
APPEND = " console=ttyS0,38400 "
LABELS_append = " ${SYSLINUX_LABELS} "
ROOTFS = "${DEPLOY_DIR_IMAGE}/sysmocom-bsc-ip-image-${MACHINE}.ext3"
do_bootdirectdisk[depends] += "sysmocom-bsc-ip-image:do_rootfs"

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.10 \
S = "${WORKDIR}/git"
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050)"
COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050|sysmocom-bsc)"
EXTRA_OEMAKE += "KALLSYMS_EXTRA_PASS=1"
# we do not want to have the kernel image inside the kernel