From dd6f9356b18c132f46345875ccd2e1be972d0476 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 27 Apr 2012 23:44:27 +0800 Subject: [PATCH 001/908] meta-sysmocom-bsp: Create bsp for the sysmocom hardware This layer will power our hardware. This includes the sysmoBSC, sysmoBTS v1 and the sysmoBTS v2. --- classes/femtobts_api.bbclass | 4 + conf/layer.conf | 10 + conf/machine/include/dm6446.inc | 2 + conf/machine/include/sysmobts.inc | 39 + conf/machine/include/tune-geode.inc | 13 + conf/machine/sysmobts-v1.conf | 14 + conf/machine/sysmobts-v2.conf | 14 + conf/machine/sysmocom-bsc.conf | 36 + recipes-apps/busybox/busybox_1.18.5.bbappend | 19 + recipes-apps/busybox/files/busybox-ifplugd.sh | 39 + recipes-apps/busybox/files/defconfig | 924 ++++++ recipes-apps/busybox/files/ifplugd.sh | 12 + recipes-apps/images/sysmocom-bsc-image.bb | 8 + .../images/sysmocom-core-image-minimal.bb | 10 + recipes-apps/images/sysmocom-core-image.bb | 1 + recipes-apps/images/sysmocom-image.inc | 18 + recipes-apps/images/sysmocom-nitb-image.bb | 8 + .../files/sysmocom-bsc/udhcpd.conf | 5 + .../sysmocom-udhcpd-config/files/udhcpd.conf | 0 .../sysmocom-udhcpd-config_1.bb | 13 + recipes-apps/tasks/task-core-boot.bbappend | 3 + recipes-apps/tasks/task-sysmocom-bts.bb | 15 + recipes-apps/tasks/task-sysmocom-debug.bb | 19 + recipes-apps/tasks/task-sysmocom-e1.bb | 12 + recipes-apps/tasks/task-sysmocom-tools.bb | 15 + recipes-apps/tasks/task-sysmocom.bb | 18 + .../base-files/base-files_3.0.14.bbappend | 4 + .../base-files/files/sysmobts-v1/issue | 11 + .../base-files/files/sysmobts-v1/issue.net | 11 + .../base-files/files/sysmobts-v2/issue | 11 + .../base-files/files/sysmobts-v2/issue.net | 11 + recipes-bsp/linux/files/mISDN_loop.patch | 1148 +++++++ recipes-bsp/linux/files/sysmobts-v1/defconfig | 1624 ++++++++++ recipes-bsp/linux/files/sysmobts-v2/defconfig | 1831 +++++++++++ .../linux/files/sysmocom-bsc/defconfig | 2850 +++++++++++++++++ recipes-bsp/linux/linux-sysmocom.inc | 14 + recipes-bsp/linux/linux-sysmocom_git.bb | 53 + recipes-bsp/linux/linux-tools.inc | 29 + recipes-bsp/linux/linux_2.6.39.bb | 20 + .../netbase-4.45/sysmobts-v1/interfaces | 16 + .../netbase-4.45/sysmobts-v2/interfaces | 16 + .../netbase-4.45/sysmocom-bsc/interfaces | 22 + recipes-bsp/netbase/netbase_4.45.bbappend | 7 + .../lm_sensors/lmsensors-apps_3.2.0.bb | 49 + .../0001-minimal-IEEE802.15.4-allowed.patch | 22 + .../tcpdump/tcpdump-4.1.1/configure.patch | 29 + .../tcpdump/tcpdump-4.1.1/ipv6-cross.patch | 41 + .../tcpdump_configure_no_-O2.patch | 42 + recipes-extra/tcpdump/tcpdump_4.1.1.bb | 41 + .../modutils/modutils-initscripts.bbappend | 3 + recipes-fixes/opkg/opkg_svn.bbappend | 10 + recipes-fixes/udev/udev-164/init | 59 + recipes-fixes/udev/udev_164.bbappend | 13 + recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb | 28 + .../femtobts-api/femtobts-api_git.bb | 26 + .../femtobts-calib/femtobts-calib_git.bb | 24 + .../firmware/sysmobts-firmware_git.bb | 25 + recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 44 + recipes-sysmobts/ubl/ubl_git.bb | 39 + .../uboot/u-boot_2011.03.bbappend | 28 + 60 files changed, 9472 insertions(+) create mode 100644 classes/femtobts_api.bbclass create mode 100644 conf/layer.conf create mode 100644 conf/machine/include/dm6446.inc create mode 100644 conf/machine/include/sysmobts.inc create mode 100644 conf/machine/include/tune-geode.inc create mode 100644 conf/machine/sysmobts-v1.conf create mode 100644 conf/machine/sysmobts-v2.conf create mode 100644 conf/machine/sysmocom-bsc.conf create mode 100644 recipes-apps/busybox/busybox_1.18.5.bbappend create mode 100644 recipes-apps/busybox/files/busybox-ifplugd.sh create mode 100644 recipes-apps/busybox/files/defconfig create mode 100644 recipes-apps/busybox/files/ifplugd.sh create mode 100644 recipes-apps/images/sysmocom-bsc-image.bb create mode 100644 recipes-apps/images/sysmocom-core-image-minimal.bb create mode 100644 recipes-apps/images/sysmocom-core-image.bb create mode 100644 recipes-apps/images/sysmocom-image.inc create mode 100644 recipes-apps/images/sysmocom-nitb-image.bb create mode 100644 recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf create mode 100644 recipes-apps/sysmocom-udhcpd-config/files/udhcpd.conf create mode 100644 recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb create mode 100644 recipes-apps/tasks/task-core-boot.bbappend create mode 100644 recipes-apps/tasks/task-sysmocom-bts.bb create mode 100644 recipes-apps/tasks/task-sysmocom-debug.bb create mode 100644 recipes-apps/tasks/task-sysmocom-e1.bb create mode 100644 recipes-apps/tasks/task-sysmocom-tools.bb create mode 100644 recipes-apps/tasks/task-sysmocom.bb create mode 100644 recipes-bsp/base-files/base-files_3.0.14.bbappend create mode 100644 recipes-bsp/base-files/files/sysmobts-v1/issue create mode 100644 recipes-bsp/base-files/files/sysmobts-v1/issue.net create mode 100644 recipes-bsp/base-files/files/sysmobts-v2/issue create mode 100644 recipes-bsp/base-files/files/sysmobts-v2/issue.net create mode 100644 recipes-bsp/linux/files/mISDN_loop.patch create mode 100644 recipes-bsp/linux/files/sysmobts-v1/defconfig create mode 100644 recipes-bsp/linux/files/sysmobts-v2/defconfig create mode 100644 recipes-bsp/linux/files/sysmocom-bsc/defconfig create mode 100644 recipes-bsp/linux/linux-sysmocom.inc create mode 100644 recipes-bsp/linux/linux-sysmocom_git.bb create mode 100644 recipes-bsp/linux/linux-tools.inc create mode 100644 recipes-bsp/linux/linux_2.6.39.bb create mode 100644 recipes-bsp/netbase/netbase-4.45/sysmobts-v1/interfaces create mode 100644 recipes-bsp/netbase/netbase-4.45/sysmobts-v2/interfaces create mode 100644 recipes-bsp/netbase/netbase-4.45/sysmocom-bsc/interfaces create mode 100644 recipes-bsp/netbase/netbase_4.45.bbappend create mode 100644 recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb create mode 100644 recipes-extra/tcpdump/tcpdump-4.1.1/0001-minimal-IEEE802.15.4-allowed.patch create mode 100644 recipes-extra/tcpdump/tcpdump-4.1.1/configure.patch create mode 100644 recipes-extra/tcpdump/tcpdump-4.1.1/ipv6-cross.patch create mode 100644 recipes-extra/tcpdump/tcpdump-4.1.1/tcpdump_configure_no_-O2.patch create mode 100644 recipes-extra/tcpdump/tcpdump_4.1.1.bb create mode 100644 recipes-fixes/modutils/modutils-initscripts.bbappend create mode 100644 recipes-fixes/opkg/opkg_svn.bbappend create mode 100644 recipes-fixes/udev/udev-164/init create mode 100644 recipes-fixes/udev/udev_164.bbappend create mode 100644 recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb create mode 100644 recipes-sysmobts/femtobts-api/femtobts-api_git.bb create mode 100644 recipes-sysmobts/femtobts-calib/femtobts-calib_git.bb create mode 100644 recipes-sysmobts/firmware/sysmobts-firmware_git.bb create mode 100644 recipes-sysmobts/osmo-bts/osmo-bts_git.bb create mode 100644 recipes-sysmobts/ubl/ubl_git.bb create mode 100644 recipes-sysmobts/uboot/u-boot_2011.03.bbappend diff --git a/classes/femtobts_api.bbclass b/classes/femtobts_api.bbclass new file mode 100644 index 0000000000..8991d1f564 --- /dev/null +++ b/classes/femtobts_api.bbclass @@ -0,0 +1,4 @@ +# This will set BTS_HW_VERSION depending on the machine +PACKAGE_ARCH = "${MACHINE_ARCH}" +BTS_HW_VERSION_sysmobts-v1 = "-DHW_SYSMOBTS_V1" +BTS_HW_VERSION_sysmobts-v2 = "-DHW_SYSMOBTS_V2" diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 0000000000..7fcac9b049 --- /dev/null +++ b/conf/layer.conf @@ -0,0 +1,10 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH := "${BBPATH}:${LAYERDIR}" + +# We have a packages directory, add to BBFILES +BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "sysmocom-bsp" +BBFILE_PATTERN_sysmocom-bsp := "^${LAYERDIR}/" +BBFILE_PRIORITY_sysmocom-bsp = "1" + diff --git a/conf/machine/include/dm6446.inc b/conf/machine/include/dm6446.inc new file mode 100644 index 0000000000..827b3752c0 --- /dev/null +++ b/conf/machine/include/dm6446.inc @@ -0,0 +1,2 @@ +SOC_FAMILY = "dm6446" + diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc new file mode 100644 index 0000000000..d6d6d53267 --- /dev/null +++ b/conf/machine/include/sysmobts.inc @@ -0,0 +1,39 @@ +TARGET_ARCH = "arm" + +PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" + +PREFERRED_VERSION_u-boot = "git" + +KERNEL_IMAGETYPE = "uImage" + +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +SERIAL_CONSOLE ?= "115200 ttyS0" +EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n" + +#ROOT_FLASH_SIZE = "29" + +MACHINE_FEATURES = "kernel26 serial" + +MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ + busybox-ifplugd \ + kernel-module-davinci-wdt \ + kernel-module-dspdl \ + kernel-module-dspdl-dm644x \ + kernel-module-fpgadl \ + kernel-module-fpgadl-par \ + kernel-module-leds-gpio \ + kernel-module-msgqueue \ + kernel-module-nls-ascii \ + kernel-module-nls-utf8 \ + kernel-module-rtfifo " + +IMAGE_FSTYPES ?= "tar.bz2 cpio.gz ubifs ubi" + +MACHINE_EXTRA_RDEPENDS = "task-sysmocom-bts sysmobts-firmware" +#MACHINE_EXTRA_RRECOMMENDS = "dsplink-module" + +require conf/machine/include/tune-arm926ejs.inc +require conf/machine/include/dm6446.inc diff --git a/conf/machine/include/tune-geode.inc b/conf/machine/include/tune-geode.inc new file mode 100644 index 0000000000..f5c397969b --- /dev/null +++ b/conf/machine/include/tune-geode.inc @@ -0,0 +1,13 @@ +DEFAULTTUNE ?= "geode" +TUNE_PKGARCH ?= "${@bb.utils.contains('TUNE_FEATURES', 'm32', 'geode', '', d)}" + +require conf/machine/include/tune-i586.inc + +# Extra tune features +TUNEVALID[geode] = "Enable geode specific processor optimizations" +TUNE_CCARGS += "${@bb.utils.contains('TUNE_FEATURES', 'geode', '-march=geode -mtune=geode', '', d)}" + +# Extra tune selections +TUNE_FEATURES_tune-geode ?= "${TUNE_FEATURES_tune-x86} geode" +BASE_LIB_tune-geode ?= "lib" +PACKAGE_EXTRA_ARCHS_tune-geode = "${PACKAGE_EXTRA_ARCHS_tune-x86} i386 i486 i586 geode" diff --git a/conf/machine/sysmobts-v1.conf b/conf/machine/sysmobts-v1.conf new file mode 100644 index 0000000000..17be46b1e4 --- /dev/null +++ b/conf/machine/sysmobts-v1.conf @@ -0,0 +1,14 @@ +#@TYPE: Machine +#@NAME: sysmocom - systems for mobile communications GmbH GSM BTS +#@DESCRIPTION: sysmocom - systems for mobile communications GmbH GSM BTS + +# Make sure we build these too +EXTRA_IMAGEDEPENDS = "dvnixload-native ubl u-boot" +EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 --no-cleanmarkers --pad=0x2000000 -n" + +# ubifs config +MKUBIFS_ARGS = "-m 2048 -e 129024 -c 400" +UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512" + +require conf/machine/include/sysmobts.inc + diff --git a/conf/machine/sysmobts-v2.conf b/conf/machine/sysmobts-v2.conf new file mode 100644 index 0000000000..cf4484248a --- /dev/null +++ b/conf/machine/sysmobts-v2.conf @@ -0,0 +1,14 @@ +#@TYPE: Machine +#@NAME: sysmocom - systems for mobile communications GmbH GSM Superfemto +#@DESCRIPTION: sysmocom - systems for mobile communications GmbH GSM Superfemto + +# Make sure we build these too +EXTRA_IMAGEDEPENDS = "dvnixload-native ubl u-boot" +EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 --no-cleanmarkers --pad=0x2000000 -n" + +# ubifs config +MKUBIFS_ARGS = "-m 512 -e 15KiB -c 3983" +UBINIZE_ARGS = "-m 512 -p 16384 -s 512" + + +require conf/machine/include/sysmobts.inc diff --git a/conf/machine/sysmocom-bsc.conf b/conf/machine/sysmocom-bsc.conf new file mode 100644 index 0000000000..0fbf9213ea --- /dev/null +++ b/conf/machine/sysmocom-bsc.conf @@ -0,0 +1,36 @@ +#@TYPE: Machine +#@NAME: common_pc +#@DESCRIPTION: Machine configuration for running a common x86 + +TARGET_ARCH = "i586" + +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" + +require conf/machine/include/tune-geode.inc + +MACHINE_FEATURES += "kernel26 x86 usbhost pci acpi" + +KERNEL_IMAGETYPE = "bzImage" + +IMAGE_FSTYPES ?= "tar.gz ext3" + +SERIAL_CONSOLE = "38400 ttyS0" + +# We bypass swrast but we need it to be present for X to load correctly +XSERVER ?= "xserver-xf86-dri-lite \ + mesa-dri-driver-swrast \ + xf86-input-vmmouse \ + xf86-input-keyboard \ + xf86-input-evdev \ + xf86-video-vmware" + +GLIBC_ADDONS = "nptl" +GLIBC_EXTRA_OECONF = "--with-tls" + +#MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d" +MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ + busybox-ifplugd " diff --git a/recipes-apps/busybox/busybox_1.18.5.bbappend b/recipes-apps/busybox/busybox_1.18.5.bbappend new file mode 100644 index 0000000000..9b1f78a42c --- /dev/null +++ b/recipes-apps/busybox/busybox_1.18.5.bbappend @@ -0,0 +1,19 @@ +SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" +PRINC = "6" + +SRC_URI += "file://busybox-ifplugd.sh \ + file://ifplugd.sh" + +PACKAGES =+ "${PN}-ifplugd" + +FILES_${PN}-ifplugd = "${sysconfdir}/ifplugd.sh ${sysconfdir}/init.d/busybox-ifplugd.sh" + +INITSCRIPT_PACKAGES += "${PN}-ifplugd" +INITSCRIPT_NAME = "busybox-ifplugd.sh" + + +do_install_append() { + install -m 0755 ${WORKDIR}/ifplugd.sh ${D}${sysconfdir}/ + install -m 0755 ${WORKDIR}/busybox-ifplugd.sh ${D}${sysconfdir}/init.d/ +} diff --git a/recipes-apps/busybox/files/busybox-ifplugd.sh b/recipes-apps/busybox/files/busybox-ifplugd.sh new file mode 100644 index 0000000000..c66847f1ba --- /dev/null +++ b/recipes-apps/busybox/files/busybox-ifplugd.sh @@ -0,0 +1,39 @@ +#!/bin/sh +DAEMON=/usr/bin/ifplugd +NAME=ifplugd +DESC="Busybox ifplugd Server" +ARGS=" -i eth0 -M -I -r /etc/ifplugd.sh" + +test -f $DAEMON || exit 1 + +set -e + +case "$1" in + start) + echo -n "starting $DESC: $NAME... " + /sbin/start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS + echo "done." + ;; + stop) + echo -n "stopping $DESC: $NAME... " + /sbin/start-stop-daemon -K -n $NAME + echo "done." + ;; + restart) + echo "restarting $DESC: $NAME... " + $0 stop + $0 start + echo "done." + ;; + reload) + echo -n "reloading $DESC: $NAME... " + killall -HUP $(basename ${DAEMON}) + echo "done." + ;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 + ;; +esac + +exit 0 diff --git a/recipes-apps/busybox/files/defconfig b/recipes-apps/busybox/files/defconfig new file mode 100644 index 0000000000..96cd6385b9 --- /dev/null +++ b/recipes-apps/busybox/files/defconfig @@ -0,0 +1,924 @@ +# +# Automatically generated make config: don't edit +# Busybox version: 1.16.2 +# Tue Oct 26 15:07:52 2010 +# +CONFIG_HAVE_DOT_CONFIG=y + +# +# Busybox Settings +# + +# +# General Configuration +# +# CONFIG_DESKTOP is not set +# CONFIG_EXTRA_COMPAT is not set +# CONFIG_INCLUDE_SUSv2 is not set +# CONFIG_USE_PORTABLE_CODE is not set +CONFIG_FEATURE_BUFFERS_USE_MALLOC=y +# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set +# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set +CONFIG_SHOW_USAGE=y +# CONFIG_FEATURE_VERBOSE_USAGE is not set +CONFIG_FEATURE_COMPRESS_USAGE=y +# CONFIG_FEATURE_INSTALLER is not set +CONFIG_LOCALE_SUPPORT=y +# CONFIG_FEATURE_ASSUME_UNICODE is not set +# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set +CONFIG_LONG_OPTS=y +CONFIG_FEATURE_DEVPTS=y +# CONFIG_FEATURE_CLEAN_UP is not set +CONFIG_FEATURE_PIDFILE=y +CONFIG_FEATURE_SUID=y +CONFIG_FEATURE_SUID_CONFIG=y +CONFIG_FEATURE_SUID_CONFIG_QUIET=y +# CONFIG_SELINUX is not set +# CONFIG_FEATURE_PREFER_APPLETS is not set +CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" +CONFIG_FEATURE_SYSLOG=y +CONFIG_FEATURE_HAVE_RPC=y + +# +# Build Options +# +# CONFIG_STATIC is not set +# CONFIG_PIE is not set +# CONFIG_NOMMU is not set +# CONFIG_BUILD_LIBBUSYBOX is not set +# CONFIG_FEATURE_INDIVIDUAL is not set +# CONFIG_FEATURE_SHARED_BUSYBOX is not set +CONFIG_LFS=y +CONFIG_CROSS_COMPILER_PREFIX="" +CONFIG_EXTRA_CFLAGS="" + +# +# Debugging Options +# +# CONFIG_DEBUG is not set +# CONFIG_DEBUG_PESSIMIZE is not set +# CONFIG_WERROR is not set +CONFIG_NO_DEBUG_LIB=y +# CONFIG_DMALLOC is not set +# CONFIG_EFENCE is not set + +# +# Installation Options +# +# CONFIG_INSTALL_NO_USR is not set +CONFIG_INSTALL_APPLET_SYMLINKS=y +# CONFIG_INSTALL_APPLET_HARDLINKS is not set +# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set +# CONFIG_INSTALL_APPLET_DONT is not set +# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set +# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set +# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set +CONFIG_PREFIX="./_install" + +# +# Busybox Library Tuning +# +CONFIG_PASSWORD_MINLEN=6 +CONFIG_MD5_SIZE_VS_SPEED=2 +CONFIG_FEATURE_FAST_TOP=y +# CONFIG_FEATURE_ETC_NETWORKS is not set +CONFIG_FEATURE_EDITING=y +CONFIG_FEATURE_EDITING_MAX_LEN=1024 +# CONFIG_FEATURE_EDITING_VI is not set +CONFIG_FEATURE_EDITING_HISTORY=15 +CONFIG_FEATURE_EDITING_SAVEHISTORY=y +CONFIG_FEATURE_TAB_COMPLETION=y +CONFIG_FEATURE_USERNAME_COMPLETION=y +CONFIG_FEATURE_EDITING_FANCY_PROMPT=y +# CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set +CONFIG_FEATURE_NON_POSIX_CP=y +# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set +CONFIG_FEATURE_COPYBUF_KB=4 +CONFIG_MONOTONIC_SYSCALL=y +CONFIG_IOCTL_HEX2STR_ERROR=y +CONFIG_FEATURE_HWIB=y + +# +# Applets +# + +# +# Archival Utilities +# +CONFIG_FEATURE_SEAMLESS_LZMA=y +CONFIG_FEATURE_SEAMLESS_BZ2=y +CONFIG_FEATURE_SEAMLESS_GZ=y +CONFIG_FEATURE_SEAMLESS_Z=y +CONFIG_AR=y +# CONFIG_FEATURE_AR_LONG_FILENAMES is not set +CONFIG_BUNZIP2=y +# CONFIG_BZIP2 is not set +CONFIG_CPIO=y +# CONFIG_FEATURE_CPIO_O is not set +# CONFIG_FEATURE_CPIO_P is not set +# CONFIG_DPKG is not set +# CONFIG_DPKG_DEB is not set +# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set +CONFIG_GUNZIP=y +CONFIG_GZIP=y +# CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set +# CONFIG_LZOP is not set +# CONFIG_LZOP_COMPR_HIGH is not set +# CONFIG_RPM2CPIO is not set +# CONFIG_RPM is not set +CONFIG_TAR=y +CONFIG_FEATURE_TAR_CREATE=y +CONFIG_FEATURE_TAR_AUTODETECT=y +CONFIG_FEATURE_TAR_FROM=y +CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY=y +# CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set +CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y +# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set +# CONFIG_FEATURE_TAR_UNAME_GNAME is not set +# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set +# CONFIG_UNCOMPRESS is not set +# CONFIG_UNLZMA is not set +# CONFIG_FEATURE_LZMA_FAST is not set +CONFIG_UNZIP=y + +# +# Coreutils +# +CONFIG_BASENAME=y +# CONFIG_CAL is not set +CONFIG_CAT=y +# CONFIG_CATV is not set +CONFIG_CHGRP=y +CONFIG_CHMOD=y +CONFIG_CHOWN=y +# CONFIG_FEATURE_CHOWN_LONG_OPTIONS is not set +CONFIG_CHROOT=y +# CONFIG_CKSUM is not set +# CONFIG_COMM is not set +CONFIG_CP=y +# CONFIG_FEATURE_CP_LONG_OPTIONS is not set +CONFIG_CUT=y +CONFIG_DATE=y +# CONFIG_FEATURE_DATE_ISOFMT is not set +CONFIG_FEATURE_DATE_COMPAT=y +CONFIG_DD=y +CONFIG_FEATURE_DD_SIGNAL_HANDLING=y +# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set +# CONFIG_FEATURE_DD_IBS_OBS is not set +CONFIG_DF=y +# CONFIG_FEATURE_DF_FANCY is not set +CONFIG_DIRNAME=y +# CONFIG_DOS2UNIX is not set +# CONFIG_UNIX2DOS is not set +CONFIG_DU=y +CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y +CONFIG_ECHO=y +CONFIG_FEATURE_FANCY_ECHO=y +CONFIG_ENV=y +CONFIG_FEATURE_ENV_LONG_OPTIONS=y +# CONFIG_EXPAND is not set +# CONFIG_FEATURE_EXPAND_LONG_OPTIONS is not set +CONFIG_EXPR=y +# CONFIG_EXPR_MATH_SUPPORT_64 is not set +CONFIG_FALSE=y +# CONFIG_FOLD is not set +# CONFIG_FSYNC is not set +CONFIG_HEAD=y +# CONFIG_FEATURE_FANCY_HEAD is not set +# CONFIG_HOSTID is not set +CONFIG_ID=y +# CONFIG_INSTALL is not set +# CONFIG_FEATURE_INSTALL_LONG_OPTIONS is not set +# CONFIG_LENGTH is not set +CONFIG_LN=y +CONFIG_LOGNAME=y +CONFIG_LS=y +CONFIG_FEATURE_LS_FILETYPES=y +CONFIG_FEATURE_LS_FOLLOWLINKS=y +CONFIG_FEATURE_LS_RECURSIVE=y +CONFIG_FEATURE_LS_SORTFILES=y +CONFIG_FEATURE_LS_TIMESTAMPS=y +CONFIG_FEATURE_LS_USERNAME=y +CONFIG_FEATURE_LS_COLOR=y +# CONFIG_FEATURE_LS_COLOR_IS_DEFAULT is not set +CONFIG_MD5SUM=y +CONFIG_MKDIR=y +CONFIG_FEATURE_MKDIR_LONG_OPTIONS=y +CONFIG_MKFIFO=y +CONFIG_MKNOD=y +CONFIG_MV=y +# CONFIG_FEATURE_MV_LONG_OPTIONS is not set +# CONFIG_NICE is not set +CONFIG_NOHUP=y +CONFIG_OD=y +# CONFIG_PRINTENV is not set +CONFIG_PRINTF=y +CONFIG_PWD=y +CONFIG_READLINK=y +CONFIG_FEATURE_READLINK_FOLLOW=y +CONFIG_REALPATH=y +CONFIG_RM=y +CONFIG_RMDIR=y +# CONFIG_FEATURE_RMDIR_LONG_OPTIONS is not set +CONFIG_SEQ=y +# CONFIG_SHA1SUM is not set +# CONFIG_SHA256SUM is not set +# CONFIG_SHA512SUM is not set +CONFIG_SLEEP=y +CONFIG_FEATURE_FANCY_SLEEP=y +# CONFIG_FEATURE_FLOAT_SLEEP is not set +CONFIG_SORT=y +CONFIG_FEATURE_SORT_BIG=y +# CONFIG_SPLIT is not set +# CONFIG_FEATURE_SPLIT_FANCY is not set +# CONFIG_STAT is not set +# CONFIG_FEATURE_STAT_FORMAT is not set +CONFIG_STTY=y +# CONFIG_SUM is not set +CONFIG_SYNC=y +# CONFIG_TAC is not set +CONFIG_TAIL=y +CONFIG_FEATURE_FANCY_TAIL=y +CONFIG_TEE=y +# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set +CONFIG_TEST=y +# CONFIG_FEATURE_TEST_64 is not set +CONFIG_TOUCH=y +CONFIG_TR=y +CONFIG_FEATURE_TR_CLASSES=y +# CONFIG_FEATURE_TR_EQUIV is not set +CONFIG_TRUE=y +CONFIG_TTY=y +CONFIG_UNAME=y +# CONFIG_UNEXPAND is not set +# CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS is not set +CONFIG_UNIQ=y +CONFIG_USLEEP=y +# CONFIG_UUDECODE is not set +# CONFIG_UUENCODE is not set +CONFIG_WC=y +# CONFIG_FEATURE_WC_LARGE is not set +CONFIG_WHO=y +CONFIG_WHOAMI=y +CONFIG_YES=y + +# +# Common options for cp and mv +# +# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set + +# +# Common options for ls, more and telnet +# +CONFIG_FEATURE_AUTOWIDTH=y + +# +# Common options for df, du, ls +# +CONFIG_FEATURE_HUMAN_READABLE=y + +# +# Common options for md5sum, sha1sum, sha256sum, sha512sum +# +CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y + +# +# Console Utilities +# +CONFIG_CHVT=y +CONFIG_CLEAR=y +CONFIG_DEALLOCVT=y +CONFIG_DUMPKMAP=y +# CONFIG_KBD_MODE is not set +CONFIG_LOADFONT=y +CONFIG_LOADKMAP=y +CONFIG_OPENVT=y +CONFIG_RESET=y +# CONFIG_RESIZE is not set +# CONFIG_FEATURE_RESIZE_PRINT is not set +CONFIG_SETCONSOLE=y +# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set +# CONFIG_SETFONT is not set +# CONFIG_FEATURE_SETFONT_TEXTUAL_MAP is not set +CONFIG_DEFAULT_SETFONT_DIR="" +# CONFIG_SETKEYCODES is not set +# CONFIG_SETLOGCONS is not set +# CONFIG_SHOWKEY is not set + +# +# Debian Utilities +# +CONFIG_MKTEMP=y +# CONFIG_PIPE_PROGRESS is not set +CONFIG_RUN_PARTS=y +CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y +# CONFIG_FEATURE_RUN_PARTS_FANCY is not set +CONFIG_START_STOP_DAEMON=y +CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y +CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y +CONFIG_WHICH=y + +# +# Editors +# +CONFIG_AWK=y +# CONFIG_FEATURE_AWK_LIBM is not set +CONFIG_CMP=y +CONFIG_DIFF=y +# CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set +CONFIG_FEATURE_DIFF_DIR=y +# CONFIG_ED is not set +CONFIG_PATCH=y +CONFIG_SED=y +CONFIG_VI=y +CONFIG_FEATURE_VI_MAX_LEN=1024 +CONFIG_FEATURE_VI_8BIT=y +CONFIG_FEATURE_VI_COLON=y +CONFIG_FEATURE_VI_YANKMARK=y +CONFIG_FEATURE_VI_SEARCH=y +CONFIG_FEATURE_VI_USE_SIGNALS=y +# CONFIG_FEATURE_VI_DOT_CMD is not set +# CONFIG_FEATURE_VI_READONLY is not set +# CONFIG_FEATURE_VI_SETOPTS is not set +# CONFIG_FEATURE_VI_SET is not set +CONFIG_FEATURE_VI_WIN_RESIZE=y +CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y +CONFIG_FEATURE_ALLOW_EXEC=y + +# +# Finding Utilities +# +CONFIG_FIND=y +CONFIG_FEATURE_FIND_PRINT0=y +CONFIG_FEATURE_FIND_MTIME=y +CONFIG_FEATURE_FIND_MMIN=y +CONFIG_FEATURE_FIND_PERM=y +CONFIG_FEATURE_FIND_TYPE=y +CONFIG_FEATURE_FIND_XDEV=y +CONFIG_FEATURE_FIND_MAXDEPTH=y +CONFIG_FEATURE_FIND_NEWER=y +# CONFIG_FEATURE_FIND_INUM is not set +CONFIG_FEATURE_FIND_EXEC=y +CONFIG_FEATURE_FIND_USER=y +CONFIG_FEATURE_FIND_GROUP=y +CONFIG_FEATURE_FIND_NOT=y +CONFIG_FEATURE_FIND_DEPTH=y +CONFIG_FEATURE_FIND_PAREN=y +CONFIG_FEATURE_FIND_SIZE=y +CONFIG_FEATURE_FIND_PRUNE=y +# CONFIG_FEATURE_FIND_DELETE is not set +CONFIG_FEATURE_FIND_PATH=y +CONFIG_FEATURE_FIND_REGEX=y +# CONFIG_FEATURE_FIND_CONTEXT is not set +# CONFIG_FEATURE_FIND_LINKS is not set +CONFIG_GREP=y +CONFIG_FEATURE_GREP_EGREP_ALIAS=y +CONFIG_FEATURE_GREP_FGREP_ALIAS=y +CONFIG_FEATURE_GREP_CONTEXT=y +CONFIG_XARGS=y +# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set +# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set +# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set +# CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set + +# +# Init Utilities +# +# CONFIG_INIT is not set +# CONFIG_FEATURE_USE_INITTAB is not set +# CONFIG_FEATURE_KILL_REMOVED is not set +CONFIG_FEATURE_KILL_DELAY=0 +# CONFIG_FEATURE_INIT_SCTTY is not set +# CONFIG_FEATURE_INIT_SYSLOG is not set +# CONFIG_FEATURE_EXTRA_QUIET is not set +# CONFIG_FEATURE_INIT_COREDUMPS is not set +# CONFIG_FEATURE_INITRD is not set +CONFIG_HALT=y +# CONFIG_FEATURE_CALL_TELINIT is not set +CONFIG_TELINIT_PATH="" +# CONFIG_MESG is not set + +# +# Login/Password Management Utilities +# +# CONFIG_FEATURE_SHADOWPASSWDS is not set +# CONFIG_USE_BB_PWD_GRP is not set +# CONFIG_USE_BB_SHADOW is not set +CONFIG_USE_BB_CRYPT=y +# CONFIG_USE_BB_CRYPT_SHA is not set +# CONFIG_ADDGROUP is not set +# CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS is not set +# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set +# CONFIG_DELGROUP is not set +# CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set +# CONFIG_FEATURE_CHECK_NAMES is not set +# CONFIG_ADDUSER is not set +# CONFIG_FEATURE_ADDUSER_LONG_OPTIONS is not set +CONFIG_FIRST_SYSTEM_ID=0 +CONFIG_LAST_SYSTEM_ID=0 +# CONFIG_DELUSER is not set +# CONFIG_GETTY is not set +CONFIG_FEATURE_UTMP=y +# CONFIG_FEATURE_WTMP is not set +# CONFIG_LOGIN is not set +# CONFIG_PAM is not set +# CONFIG_LOGIN_SCRIPTS is not set +# CONFIG_FEATURE_NOLOGIN is not set +# CONFIG_FEATURE_SECURETTY is not set +# CONFIG_PASSWD is not set +# CONFIG_FEATURE_PASSWD_WEAK_CHECK is not set +# CONFIG_CRYPTPW is not set +# CONFIG_CHPASSWD is not set +# CONFIG_SU is not set +# CONFIG_FEATURE_SU_SYSLOG is not set +# CONFIG_FEATURE_SU_CHECKS_SHELLS is not set +# CONFIG_SULOGIN is not set +# CONFIG_VLOCK is not set + +# +# Linux Ext2 FS Progs +# +CONFIG_CHATTR=y +CONFIG_FSCK=y +# CONFIG_LSATTR is not set + +# +# Linux Module Utilities +# +# CONFIG_MODPROBE_SMALL is not set +# CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE is not set +# CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set +CONFIG_INSMOD=y +CONFIG_RMMOD=y +CONFIG_LSMOD=y +# CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set +CONFIG_MODPROBE=y +CONFIG_FEATURE_MODPROBE_BLACKLIST=y +# CONFIG_DEPMOD is not set + +# +# Options common to multiple modutils +# +# CONFIG_FEATURE_2_4_MODULES is not set +# CONFIG_FEATURE_INSMOD_TRY_MMAP is not set +# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set +# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set +# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set +CONFIG_FEATURE_CHECK_TAINTED_MODULE=y +CONFIG_FEATURE_MODUTILS_ALIAS=y +CONFIG_FEATURE_MODUTILS_SYMBOLS=y +CONFIG_DEFAULT_MODULES_DIR="/lib/modules" +CONFIG_DEFAULT_DEPMOD_FILE="modules.dep" + +# +# Linux System Utilities +# +# CONFIG_ACPID is not set +# CONFIG_FEATURE_ACPID_COMPAT is not set +# CONFIG_BLKID is not set +CONFIG_DMESG=y +CONFIG_FEATURE_DMESG_PRETTY=y +CONFIG_FBSET=y +CONFIG_FEATURE_FBSET_FANCY=y +CONFIG_FEATURE_FBSET_READMODE=y +# CONFIG_FDFLUSH is not set +# CONFIG_FDFORMAT is not set +CONFIG_FDISK=y +CONFIG_FDISK_SUPPORT_LARGE_DISKS=y +CONFIG_FEATURE_FDISK_WRITABLE=y +# CONFIG_FEATURE_AIX_LABEL is not set +# CONFIG_FEATURE_SGI_LABEL is not set +# CONFIG_FEATURE_SUN_LABEL is not set +# CONFIG_FEATURE_OSF_LABEL is not set +# CONFIG_FEATURE_FDISK_ADVANCED is not set +# CONFIG_FINDFS is not set +# CONFIG_FREERAMDISK is not set +CONFIG_FSCK_MINIX=y +# CONFIG_MKFS_EXT2 is not set +CONFIG_MKFS_MINIX=y + +# +# Minix filesystem support +# +CONFIG_FEATURE_MINIX2=y +# CONFIG_MKFS_REISER is not set +# CONFIG_MKFS_VFAT is not set +# CONFIG_GETOPT is not set +# CONFIG_FEATURE_GETOPT_LONG is not set +CONFIG_HEXDUMP=y +# CONFIG_FEATURE_HEXDUMP_REVERSE is not set +# CONFIG_HD is not set +CONFIG_HWCLOCK=y +CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS=y +CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y +# CONFIG_IPCRM is not set +# CONFIG_IPCS is not set +CONFIG_LOSETUP=y +# CONFIG_LSPCI is not set +# CONFIG_LSUSB is not set +# CONFIG_MDEV is not set +# CONFIG_FEATURE_MDEV_CONF is not set +# CONFIG_FEATURE_MDEV_RENAME is not set +# CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set +# CONFIG_FEATURE_MDEV_EXEC is not set +# CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set +CONFIG_MKSWAP=y +# CONFIG_FEATURE_MKSWAP_UUID is not set +CONFIG_MORE=y +CONFIG_FEATURE_USE_TERMIOS=y +# CONFIG_VOLUMEID is not set +# CONFIG_FEATURE_VOLUMEID_EXT is not set +# CONFIG_FEATURE_VOLUMEID_BTRFS is not set +# CONFIG_FEATURE_VOLUMEID_REISERFS is not set +# CONFIG_FEATURE_VOLUMEID_FAT is not set +# CONFIG_FEATURE_VOLUMEID_HFS is not set +# CONFIG_FEATURE_VOLUMEID_JFS is not set +# CONFIG_FEATURE_VOLUMEID_XFS is not set +# CONFIG_FEATURE_VOLUMEID_NTFS is not set +# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set +# CONFIG_FEATURE_VOLUMEID_UDF is not set +# CONFIG_FEATURE_VOLUMEID_LUKS is not set +# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set +# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set +# CONFIG_FEATURE_VOLUMEID_ROMFS is not set +# CONFIG_FEATURE_VOLUMEID_SYSV is not set +# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set +# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set +CONFIG_MOUNT=y +# CONFIG_FEATURE_MOUNT_FAKE is not set +# CONFIG_FEATURE_MOUNT_VERBOSE is not set +# CONFIG_FEATURE_MOUNT_HELPERS is not set +# CONFIG_FEATURE_MOUNT_LABEL is not set +CONFIG_FEATURE_MOUNT_NFS=y +# CONFIG_FEATURE_MOUNT_CIFS is not set +CONFIG_FEATURE_MOUNT_FLAGS=y +CONFIG_FEATURE_MOUNT_FSTAB=y +CONFIG_PIVOT_ROOT=y +CONFIG_RDATE=y +# CONFIG_RDEV is not set +# CONFIG_READPROFILE is not set +# CONFIG_RTCWAKE is not set +# CONFIG_SCRIPT is not set +# CONFIG_SCRIPTREPLAY is not set +# CONFIG_SETARCH is not set +CONFIG_SWAPONOFF=y +# CONFIG_FEATURE_SWAPON_PRI is not set +CONFIG_SWITCH_ROOT=y +CONFIG_UMOUNT=y +CONFIG_FEATURE_UMOUNT_ALL=y + +# +# Common options for mount/umount +# +CONFIG_FEATURE_MOUNT_LOOP=y +# CONFIG_FEATURE_MTAB_SUPPORT is not set + +# +# Miscellaneous Utilities +# +# CONFIG_ADJTIMEX is not set +# CONFIG_BBCONFIG is not set +# CONFIG_BEEP is not set +CONFIG_FEATURE_BEEP_FREQ=0 +CONFIG_FEATURE_BEEP_LENGTH_MS=0 +# CONFIG_CHAT is not set +# CONFIG_FEATURE_CHAT_NOFAIL is not set +# CONFIG_FEATURE_CHAT_TTY_HIFI is not set +# CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set +# CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set +# CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set +# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set +# CONFIG_FEATURE_CHAT_CLR_ABORT is not set +# CONFIG_CHRT is not set +# CONFIG_CROND is not set +# CONFIG_FEATURE_CROND_D is not set +# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set +CONFIG_FEATURE_CROND_DIR="" +# CONFIG_CRONTAB is not set +CONFIG_DC=y +# CONFIG_FEATURE_DC_LIBM is not set +# CONFIG_DEVFSD is not set +# CONFIG_DEVFSD_MODLOAD is not set +# CONFIG_DEVFSD_FG_NP is not set +# CONFIG_DEVFSD_VERBOSE is not set +# CONFIG_FEATURE_DEVFS is not set +# CONFIG_DEVMEM is not set +# CONFIG_EJECT is not set +# CONFIG_FEATURE_EJECT_SCSI is not set +# CONFIG_FBSPLASH is not set +# CONFIG_FLASHCP is not set +# CONFIG_FLASH_LOCK is not set +# CONFIG_FLASH_UNLOCK is not set +# CONFIG_FLASH_ERASEALL is not set +# CONFIG_IONICE is not set +# CONFIG_INOTIFYD is not set +# CONFIG_LAST is not set +# CONFIG_FEATURE_LAST_SMALL is not set +# CONFIG_FEATURE_LAST_FANCY is not set +CONFIG_LESS=y +CONFIG_FEATURE_LESS_MAXLINES=9999999 +CONFIG_FEATURE_LESS_BRACKETS=y +CONFIG_FEATURE_LESS_FLAGS=y +# CONFIG_FEATURE_LESS_MARKS is not set +# CONFIG_FEATURE_LESS_REGEXP is not set +# CONFIG_FEATURE_LESS_WINCH is not set +# CONFIG_FEATURE_LESS_DASHCMD is not set +# CONFIG_FEATURE_LESS_LINENUMS is not set +# CONFIG_HDPARM is not set +# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set +# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set +# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set +# CONFIG_MAKEDEVS is not set +# CONFIG_FEATURE_MAKEDEVS_LEAF is not set +# CONFIG_FEATURE_MAKEDEVS_TABLE is not set +# CONFIG_MAN is not set +CONFIG_MICROCOM=y +# CONFIG_MOUNTPOINT is not set +# CONFIG_MT is not set +# CONFIG_RAIDAUTORUN is not set +# CONFIG_READAHEAD is not set +# CONFIG_RUNLEVEL is not set +# CONFIG_RX is not set +# CONFIG_SETSID is not set +CONFIG_STRINGS=y +# CONFIG_TASKSET is not set +# CONFIG_FEATURE_TASKSET_FANCY is not set +CONFIG_TIME=y +# CONFIG_TIMEOUT is not set +# CONFIG_TTYSIZE is not set +# CONFIG_VOLNAME is not set +# CONFIG_WALL is not set +# CONFIG_WATCHDOG is not set + +# +# Networking Utilities +# +CONFIG_FEATURE_IPV6=y +# CONFIG_FEATURE_UNIX_LOCAL is not set +CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y +# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set +# CONFIG_ARP is not set +# CONFIG_ARPING is not set +# CONFIG_BRCTL is not set +# CONFIG_FEATURE_BRCTL_FANCY is not set +# CONFIG_FEATURE_BRCTL_SHOW is not set +# CONFIG_DNSD is not set +# CONFIG_ETHER_WAKE is not set +# CONFIG_FAKEIDENTD is not set +# CONFIG_FTPD is not set +# CONFIG_FEATURE_FTP_WRITE is not set +# CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set +# CONFIG_FTPGET is not set +# CONFIG_FTPPUT is not set +# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set +CONFIG_HOSTNAME=y +# CONFIG_HTTPD is not set +# CONFIG_FEATURE_HTTPD_RANGES is not set +# CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set +# CONFIG_FEATURE_HTTPD_SETUID is not set +# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set +# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set +# CONFIG_FEATURE_HTTPD_CGI is not set +# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set +# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set +# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set +# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set +# CONFIG_FEATURE_HTTPD_PROXY is not set +CONFIG_IFCONFIG=y +CONFIG_FEATURE_IFCONFIG_STATUS=y +# CONFIG_FEATURE_IFCONFIG_SLIP is not set +# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set +CONFIG_FEATURE_IFCONFIG_HW=y +# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set +# CONFIG_IFENSLAVE is not set +CONFIG_IFPLUGD=y +CONFIG_IFUPDOWN=y +CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate" +# CONFIG_FEATURE_IFUPDOWN_IP is not set +# CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN is not set +CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN=y +CONFIG_FEATURE_IFUPDOWN_IPV4=y +CONFIG_FEATURE_IFUPDOWN_IPV6=y +CONFIG_FEATURE_IFUPDOWN_MAPPING=y +# CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP is not set +# CONFIG_INETD is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set +# CONFIG_FEATURE_INETD_RPC is not set +CONFIG_IP=y +CONFIG_FEATURE_IP_ADDRESS=y +CONFIG_FEATURE_IP_LINK=y +CONFIG_FEATURE_IP_ROUTE=y +CONFIG_FEATURE_IP_TUNNEL=y +# CONFIG_FEATURE_IP_RULE is not set +# CONFIG_FEATURE_IP_SHORT_FORMS is not set +# CONFIG_FEATURE_IP_RARE_PROTOCOLS is not set +# CONFIG_IPADDR is not set +# CONFIG_IPLINK is not set +# CONFIG_IPROUTE is not set +# CONFIG_IPTUNNEL is not set +# CONFIG_IPRULE is not set +# CONFIG_IPCALC is not set +# CONFIG_FEATURE_IPCALC_FANCY is not set +# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set +# CONFIG_NAMEIF is not set +# CONFIG_FEATURE_NAMEIF_EXTENDED is not set +CONFIG_NC=y +# CONFIG_NC_SERVER is not set +# CONFIG_NC_EXTRA is not set +CONFIG_NETSTAT=y +# CONFIG_FEATURE_NETSTAT_WIDE is not set +# CONFIG_FEATURE_NETSTAT_PRG is not set +CONFIG_NSLOOKUP=y +# CONFIG_NTPD is not set +# CONFIG_FEATURE_NTPD_SERVER is not set +CONFIG_PING=y +CONFIG_PING6=y +CONFIG_FEATURE_FANCY_PING=y +# CONFIG_PSCAN is not set +CONFIG_ROUTE=y +# CONFIG_SLATTACH is not set +CONFIG_TELNET=y +# CONFIG_FEATURE_TELNET_TTYPE is not set +CONFIG_FEATURE_TELNET_AUTOLOGIN=y +# CONFIG_TELNETD is not set +# CONFIG_FEATURE_TELNETD_STANDALONE is not set +# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set +CONFIG_TFTP=y +# CONFIG_TFTPD is not set +CONFIG_FEATURE_TFTP_GET=y +CONFIG_FEATURE_TFTP_PUT=y +# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set +# CONFIG_FEATURE_TFTP_PROGRESS_BAR is not set +# CONFIG_TFTP_DEBUG is not set +CONFIG_TRACEROUTE=y +# CONFIG_TRACEROUTE6 is not set +# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set +# CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set +# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set +CONFIG_UDHCPD=y +# CONFIG_DHCPRELAY is not set +CONFIG_DUMPLEASES=y +# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set +CONFIG_DHCPD_LEASES_FILE="/var/lib/misc/udhcpd.leases" +CONFIG_UDHCPC=y +CONFIG_FEATURE_UDHCPC_ARPING=y +# CONFIG_FEATURE_UDHCP_PORT is not set +CONFIG_UDHCP_DEBUG=0 +# CONFIG_FEATURE_UDHCP_RFC3397 is not set +CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" +CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +# CONFIG_VCONFIG is not set +CONFIG_WGET=y +CONFIG_FEATURE_WGET_STATUSBAR=y +CONFIG_FEATURE_WGET_AUTHENTICATION=y +CONFIG_FEATURE_WGET_LONG_OPTIONS=y +# CONFIG_ZCIP is not set +# CONFIG_TCPSVD is not set +# CONFIG_TUNCTL is not set +# CONFIG_FEATURE_TUNCTL_UG is not set +# CONFIG_UDPSVD is not set + +# +# Print Utilities +# +# CONFIG_LPD is not set +# CONFIG_LPR is not set +# CONFIG_LPQ is not set + +# +# Mail Utilities +# +# CONFIG_MAKEMIME is not set +CONFIG_FEATURE_MIME_CHARSET="" +# CONFIG_POPMAILDIR is not set +# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set +# CONFIG_REFORMIME is not set +# CONFIG_FEATURE_REFORMIME_COMPAT is not set +# CONFIG_SENDMAIL is not set + +# +# Process Utilities +# +CONFIG_FREE=y +CONFIG_FUSER=y +CONFIG_KILL=y +CONFIG_KILLALL=y +# CONFIG_KILLALL5 is not set +# CONFIG_NMETER is not set +# CONFIG_PGREP is not set +CONFIG_PIDOF=y +# CONFIG_FEATURE_PIDOF_SINGLE is not set +# CONFIG_FEATURE_PIDOF_OMIT is not set +# CONFIG_PKILL is not set +CONFIG_PS=y +CONFIG_FEATURE_PS_WIDE=y +# CONFIG_FEATURE_PS_TIME is not set +# CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS is not set +# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set +CONFIG_RENICE=y +CONFIG_BB_SYSCTL=y +CONFIG_TOP=y +CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y +CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y +# CONFIG_FEATURE_TOP_SMP_CPU is not set +# CONFIG_FEATURE_TOP_DECIMALS is not set +# CONFIG_FEATURE_TOP_SMP_PROCESS is not set +# CONFIG_FEATURE_TOPMEM is not set +# CONFIG_FEATURE_SHOW_THREADS is not set +CONFIG_UPTIME=y +CONFIG_WATCH=y + +# +# Runit Utilities +# +# CONFIG_RUNSV is not set +# CONFIG_RUNSVDIR is not set +# CONFIG_FEATURE_RUNSVDIR_LOG is not set +# CONFIG_SV is not set +CONFIG_SV_DEFAULT_SERVICE_DIR="" +# CONFIG_SVLOGD is not set +# CONFIG_CHPST is not set +# CONFIG_SETUIDGID is not set +# CONFIG_ENVUIDGID is not set +# CONFIG_ENVDIR is not set +# CONFIG_SOFTLIMIT is not set +# CONFIG_CHCON is not set +# CONFIG_FEATURE_CHCON_LONG_OPTIONS is not set +# CONFIG_GETENFORCE is not set +# CONFIG_GETSEBOOL is not set +# CONFIG_LOAD_POLICY is not set +# CONFIG_MATCHPATHCON is not set +# CONFIG_RESTORECON is not set +# CONFIG_RUNCON is not set +# CONFIG_FEATURE_RUNCON_LONG_OPTIONS is not set +# CONFIG_SELINUXENABLED is not set +# CONFIG_SETENFORCE is not set +# CONFIG_SETFILES is not set +# CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set +# CONFIG_SETSEBOOL is not set +# CONFIG_SESTATUS is not set + +# +# Shells +# +CONFIG_FEATURE_SH_IS_ASH=y +# CONFIG_FEATURE_SH_IS_HUSH is not set +# CONFIG_FEATURE_SH_IS_NONE is not set +CONFIG_ASH=y +CONFIG_ASH_BASH_COMPAT=y +CONFIG_ASH_JOB_CONTROL=y +CONFIG_ASH_ALIAS=y +CONFIG_ASH_GETOPTS=y +CONFIG_ASH_BUILTIN_ECHO=y +CONFIG_ASH_BUILTIN_PRINTF=y +CONFIG_ASH_BUILTIN_TEST=y +# CONFIG_ASH_CMDCMD is not set +# CONFIG_ASH_MAIL is not set +CONFIG_ASH_OPTIMIZE_FOR_SIZE=y +# CONFIG_ASH_RANDOM_SUPPORT is not set +CONFIG_ASH_EXPAND_PRMT=y +# CONFIG_HUSH is not set +# CONFIG_HUSH_BASH_COMPAT is not set +# CONFIG_HUSH_HELP is not set +# CONFIG_HUSH_INTERACTIVE is not set +# CONFIG_HUSH_JOB is not set +# CONFIG_HUSH_TICK is not set +# CONFIG_HUSH_IF is not set +# CONFIG_HUSH_LOOPS is not set +# CONFIG_HUSH_CASE is not set +# CONFIG_HUSH_FUNCTIONS is not set +# CONFIG_HUSH_LOCAL is not set +# CONFIG_HUSH_EXPORT_N is not set +# CONFIG_HUSH_RANDOM_SUPPORT is not set +# CONFIG_LASH is not set +# CONFIG_MSH is not set +CONFIG_SH_MATH_SUPPORT=y +# CONFIG_SH_MATH_SUPPORT_64 is not set +CONFIG_FEATURE_SH_EXTRA_QUIET=y +# CONFIG_FEATURE_SH_STANDALONE is not set +# CONFIG_FEATURE_SH_NOFORK is not set +# CONFIG_CTTYHACK is not set + +# +# System Logging Utilities +# +CONFIG_SYSLOGD=y +CONFIG_FEATURE_ROTATE_LOGFILE=y +CONFIG_FEATURE_REMOTE_LOG=y +# CONFIG_FEATURE_SYSLOGD_DUP is not set +CONFIG_FEATURE_IPC_SYSLOG=y +CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16 +CONFIG_LOGREAD=y +CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y +CONFIG_KLOGD=y +CONFIG_LOGGER=y diff --git a/recipes-apps/busybox/files/ifplugd.sh b/recipes-apps/busybox/files/ifplugd.sh new file mode 100644 index 0000000000..8c72081f84 --- /dev/null +++ b/recipes-apps/busybox/files/ifplugd.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +case $2 in +up) + echo "UP" + /sbin/ifup $1 + ;; +down) + echo "DOWN" + /sbin/ifdown $1 + ;; +esac diff --git a/recipes-apps/images/sysmocom-bsc-image.bb b/recipes-apps/images/sysmocom-bsc-image.bb new file mode 100644 index 0000000000..63d4dffa8a --- /dev/null +++ b/recipes-apps/images/sysmocom-bsc-image.bb @@ -0,0 +1,8 @@ +require sysmocom-image.inc + +# This variant of the image will run osmo-bts and osmo-bsc +activate_bsc() { + echo "NO_START=0" > ${IMAGE_ROOTFS}/etc/default/osmo-bsc +} + +IMAGE_PREPROCESS_COMMAND += "activate_bsc; " diff --git a/recipes-apps/images/sysmocom-core-image-minimal.bb b/recipes-apps/images/sysmocom-core-image-minimal.bb new file mode 100644 index 0000000000..1561912284 --- /dev/null +++ b/recipes-apps/images/sysmocom-core-image-minimal.bb @@ -0,0 +1,10 @@ +IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} task-osmocom task-sysmocom" +IMAGE_LINGUAS = " " +LICENSE = "MIT" + +inherit core-image + +IMAGE_ROOTFS_SIZE = "8192" + +# remove not needed ipkg informations +ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; " diff --git a/recipes-apps/images/sysmocom-core-image.bb b/recipes-apps/images/sysmocom-core-image.bb new file mode 100644 index 0000000000..13276e71db --- /dev/null +++ b/recipes-apps/images/sysmocom-core-image.bb @@ -0,0 +1 @@ +require sysmocom-image.inc diff --git a/recipes-apps/images/sysmocom-image.inc b/recipes-apps/images/sysmocom-image.inc new file mode 100644 index 0000000000..92419cbcfd --- /dev/null +++ b/recipes-apps/images/sysmocom-image.inc @@ -0,0 +1,18 @@ +IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools ${MACHINE_EXTRA_RDEPENDS}" +IMAGE_LINGUAS = " " +LICENSE = "MIT" + +inherit core-image + +IMAGE_ROOTFS_SIZE = "32768" + + +link_uimage() { + echo "Linking the current uImage to /boot/uImage" + OLD_PWD=$PWD + cd ${IMAGE_ROOTFS}/boot + ln -s uImage-* uImage || true + cd $OLD_PWD +} + +IMAGE_PREPROCESS_COMMAND += "link_uimage; " diff --git a/recipes-apps/images/sysmocom-nitb-image.bb b/recipes-apps/images/sysmocom-nitb-image.bb new file mode 100644 index 0000000000..fe797d6245 --- /dev/null +++ b/recipes-apps/images/sysmocom-nitb-image.bb @@ -0,0 +1,8 @@ +require sysmocom-image.inc + +# This variant of the image will run osmo-bts and osmo-nitb +activate_nitb() { + echo "NO_START=0" > ${IMAGE_ROOTFS}/etc/default/osmo-nitb +} + +IMAGE_PREPROCESS_COMMAND += "activate_nitb; " diff --git a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf new file mode 100644 index 0000000000..798f1ae67f --- /dev/null +++ b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf @@ -0,0 +1,5 @@ +start 10.23.24.123 +end 10.23.24.254 + +interface eth1 + diff --git a/recipes-apps/sysmocom-udhcpd-config/files/udhcpd.conf b/recipes-apps/sysmocom-udhcpd-config/files/udhcpd.conf new file mode 100644 index 0000000000..e69de29bb2 diff --git a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb new file mode 100644 index 0000000000..edf0f19a61 --- /dev/null +++ b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "Task for sysmocom external tools" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +SRC_URI = "file://udhcpd.conf" + +CONFFILES_${PN} = "${sysconfdir}/udhcpd.conf" + +do_install() { + install -d ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/udhcpd.conf ${D}${sysconfdir}/ +} diff --git a/recipes-apps/tasks/task-core-boot.bbappend b/recipes-apps/tasks/task-core-boot.bbappend new file mode 100644 index 0000000000..0481377a06 --- /dev/null +++ b/recipes-apps/tasks/task-core-boot.bbappend @@ -0,0 +1,3 @@ +PRINC = "5" + +RDEPENDS_task-core-boot += "" diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb new file mode 100644 index 0000000000..d3a8dac295 --- /dev/null +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Task for sysmoBTS" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +DEPENDS = "virtual/kernel" +ALLOW_EMPTY = "1" +PR = "r9" + +# TODO: re-add femtobts-calib after it went through the API migration +RDEPENDS_task-sysmocom-bts = "\ + femtobts-example \ + osmo-bts \ + lmsensors-scripts \ + " + diff --git a/recipes-apps/tasks/task-sysmocom-debug.bb b/recipes-apps/tasks/task-sysmocom-debug.bb new file mode 100644 index 0000000000..a5d3291074 --- /dev/null +++ b/recipes-apps/tasks/task-sysmocom-debug.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Task for sysmocom development/debugging" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +DEPENDS = "virtual/kernel" +ALLOW_EMPTY = "1" +PR = "r2" + +RDEPENDS_task-sysmocom-debug = "\ + dropbear \ + mtd-utils \ + strace \ + tcpdump \ + gdb \ + gdbserver \ + oprofile \ + net-tools \ + " + diff --git a/recipes-apps/tasks/task-sysmocom-e1.bb b/recipes-apps/tasks/task-sysmocom-e1.bb new file mode 100644 index 0000000000..f71beb9cc7 --- /dev/null +++ b/recipes-apps/tasks/task-sysmocom-e1.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Task for E1 based sysmocom" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +ALLOW_EMPTY = "1" +PR = "r1" + +RDEPENDS_task-sysmocom-e1 = "\ + dahdi-linux \ + dahdi-firmware \ + dahdi-tools \ + " diff --git a/recipes-apps/tasks/task-sysmocom-tools.bb b/recipes-apps/tasks/task-sysmocom-tools.bb new file mode 100644 index 0000000000..0f170e5758 --- /dev/null +++ b/recipes-apps/tasks/task-sysmocom-tools.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Task for sysmocom external tools" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +ALLOW_EMPTY = "1" +PR = "r5" + +RDEPENDS_task-sysmocom-tools = "\ + lmsensors-scripts \ + dropbear \ + mtd-utils \ + screen \ + watchdog \ + ethtool \ + " diff --git a/recipes-apps/tasks/task-sysmocom.bb b/recipes-apps/tasks/task-sysmocom.bb new file mode 100644 index 0000000000..c417847fa5 --- /dev/null +++ b/recipes-apps/tasks/task-sysmocom.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Task for sysmocom" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +DEPENDS = "virtual/kernel" +ALLOW_EMPTY = "1" +PR = "r7" + +RDEPENDS_task-sysmocom = "\ + task-sysmocom-tools \ + osmo-bsc \ + osmo-bsc-mgcp \ + osmo-bsc-nat \ + osmo-gbproxy \ + osmo-nitb \ + ipaccess-utils \ + " + diff --git a/recipes-bsp/base-files/base-files_3.0.14.bbappend b/recipes-bsp/base-files/base-files_3.0.14.bbappend new file mode 100644 index 0000000000..53c41f4601 --- /dev/null +++ b/recipes-bsp/base-files/base-files_3.0.14.bbappend @@ -0,0 +1,4 @@ +THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:" + +PRINC="2" diff --git a/recipes-bsp/base-files/files/sysmobts-v1/issue b/recipes-bsp/base-files/files/sysmobts-v1/issue new file mode 100644 index 0000000000..95d09b73fa --- /dev/null +++ b/recipes-bsp/base-files/files/sysmobts-v1/issue @@ -0,0 +1,11 @@ +Welcome to + ____ _______ _____ + | _ \\__ __/ ____| + ___ _ _ ___ _ __ ___ ___ | |_) | | | | (___ + / __| | | / __| '_ ` _ \\ / _ \\| _ < | | \\___ \\ + \\__ \\ |_| \\__ \\ | | | | | (_) | |_) | | | ____) | + |___/\\__, |___/_| |_| |_|\\___/|____/ |_| |_____/ + __/ | + |___/ by sysmocom GmbH + + diff --git a/recipes-bsp/base-files/files/sysmobts-v1/issue.net b/recipes-bsp/base-files/files/sysmobts-v1/issue.net new file mode 100644 index 0000000000..95d09b73fa --- /dev/null +++ b/recipes-bsp/base-files/files/sysmobts-v1/issue.net @@ -0,0 +1,11 @@ +Welcome to + ____ _______ _____ + | _ \\__ __/ ____| + ___ _ _ ___ _ __ ___ ___ | |_) | | | | (___ + / __| | | / __| '_ ` _ \\ / _ \\| _ < | | \\___ \\ + \\__ \\ |_| \\__ \\ | | | | | (_) | |_) | | | ____) | + |___/\\__, |___/_| |_| |_|\\___/|____/ |_| |_____/ + __/ | + |___/ by sysmocom GmbH + + diff --git a/recipes-bsp/base-files/files/sysmobts-v2/issue b/recipes-bsp/base-files/files/sysmobts-v2/issue new file mode 100644 index 0000000000..95d09b73fa --- /dev/null +++ b/recipes-bsp/base-files/files/sysmobts-v2/issue @@ -0,0 +1,11 @@ +Welcome to + ____ _______ _____ + | _ \\__ __/ ____| + ___ _ _ ___ _ __ ___ ___ | |_) | | | | (___ + / __| | | / __| '_ ` _ \\ / _ \\| _ < | | \\___ \\ + \\__ \\ |_| \\__ \\ | | | | | (_) | |_) | | | ____) | + |___/\\__, |___/_| |_| |_|\\___/|____/ |_| |_____/ + __/ | + |___/ by sysmocom GmbH + + diff --git a/recipes-bsp/base-files/files/sysmobts-v2/issue.net b/recipes-bsp/base-files/files/sysmobts-v2/issue.net new file mode 100644 index 0000000000..95d09b73fa --- /dev/null +++ b/recipes-bsp/base-files/files/sysmobts-v2/issue.net @@ -0,0 +1,11 @@ +Welcome to + ____ _______ _____ + | _ \\__ __/ ____| + ___ _ _ ___ _ __ ___ ___ | |_) | | | | (___ + / __| | | / __| '_ ` _ \\ / _ \\| _ < | | \\___ \\ + \\__ \\ |_| \\__ \\ | | | | | (_) | |_) | | | ____) | + |___/\\__, |___/_| |_| |_|\\___/|____/ |_| |_____/ + __/ | + |___/ by sysmocom GmbH + + diff --git a/recipes-bsp/linux/files/mISDN_loop.patch b/recipes-bsp/linux/files/mISDN_loop.patch new file mode 100644 index 0000000000..55525583cb --- /dev/null +++ b/recipes-bsp/linux/files/mISDN_loop.patch @@ -0,0 +1,1148 @@ +Index: linux-2.6.39/drivers/isdn/hardware/mISDN/Kconfig +=================================================================== +--- linux-2.6.39.orig/drivers/isdn/hardware/mISDN/Kconfig 2011-10-13 01:29:11.635639545 +0800 ++++ linux-2.6.39/drivers/isdn/hardware/mISDN/Kconfig 2011-10-13 01:29:29.579638931 +0800 +@@ -91,3 +91,8 @@ + tristate + depends on MISDN + ++config MISDN_L1LOOP ++ tristate "Support for virtual ISDN loop devices" ++ help ++ Enable support for mISDN_l1loop to use virtual ISDN devices connected ++ to virtual bus system +Index: linux-2.6.39/drivers/isdn/hardware/mISDN/Makefile +=================================================================== +--- linux-2.6.39.orig/drivers/isdn/hardware/mISDN/Makefile 2011-10-13 01:29:11.587639549 +0800 ++++ linux-2.6.39/drivers/isdn/hardware/mISDN/Makefile 2011-10-13 01:29:29.579638931 +0800 +@@ -11,6 +11,10 @@ + obj-$(CONFIG_MISDN_INFINEON) += mISDNinfineon.o + obj-$(CONFIG_MISDN_W6692) += w6692.o + obj-$(CONFIG_MISDN_NETJET) += netjet.o ++obj-$(CONFIG_MISDN_L1LOOP) += mISDN_l1loop.o + # chip modules + obj-$(CONFIG_MISDN_IPAC) += mISDNipac.o + obj-$(CONFIG_MISDN_ISAR) += mISDNisar.o ++ ++# rename ++mISDN_l1loop-objs := l1loop.o +Index: linux-2.6.39/drivers/isdn/hardware/mISDN/l1loop.c +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ linux-2.6.39/drivers/isdn/hardware/mISDN/l1loop.c 2011-10-13 01:29:45.607638544 +0800 +@@ -0,0 +1,1046 @@ ++/* l1loop.c ++ * virtual mISDN layer1 driver ++ * ++ * Copyright 2008 by Martin Bachem (info@bachem-it.com) ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License as published by ++ * the Free Software Foundation; either version 2, or (at your option) ++ * any later version. ++ * ++ * This program is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ * GNU General Public License for more details. ++ * ++ * You should have received a copy of the GNU General Public License ++ * along with this program; if not, write to the Free Software ++ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ++ * ++ * ++ * module params: ++ * ++ * - interfaces=, n=[1..64] default 2 ++ * - vline=, n=[0,1,2] default 1 ++ * 0 : NONE (no virtual line at all, all interfaces behave like ++ * ISDN TAs without any bus connection) ++ * 1 : VBUS (all interfaces are connected to one virtual ++ * ISDN bus. the first interface opened as NT interface ++ * will configure all others as TE interface) ++ * 2 : VLOOP (each interface is virtually equipped with a cross ++ * connector, so all data is looped internally) ++ * 3 : VLINK (an even number of interfaces must be given. ++ * every pair of these interfaces is interlinked) ++ * - nchannel=, n=[2..126] default 2 ++ * number of bchannels each interface will consist of ++ * if vline==VLINK, multiple nchannel values may be given to ++ * define the number of channels for each pair of interfaces. ++ * - pri=, n=[0,1] default 0 ++ * 0: register all interfaces as BRI ++ * 1: register all interfaces as PRI ++ * - debug=, default=0, with n=0xHHHHGGGG ++ * H - l1 driver flags described in hfcs_usb.h ++ * G - common mISDN debug flags described at mISDNhw.h ++ * ++ */ ++ ++#include ++#include ++#include ++#include "l1loop.h" ++ ++const char *l1loop_rev = "Revision: 0.1.5 (socket), 2008-11-04"; ++ ++ ++static int l1loop_cnt; ++static LIST_HEAD(l1loop_list); ++static DEFINE_RWLOCK(l1loop_lock); ++struct l1loop *hw; ++struct port *vbusnt; /* NT of virtual S0/E1 bus when using vline=1 */ ++ ++/* module params */ ++static unsigned int interfaces = 2; ++static unsigned int vline = 1; ++static unsigned int nchannel[32] = {2}; ++static unsigned int pri; ++static unsigned int debug; ++ ++MODULE_AUTHOR("Martin Bachem"); ++MODULE_LICENSE("GPL"); ++module_param(interfaces, uint, S_IRUGO | S_IWUSR); ++module_param(vline, uint, S_IRUGO | S_IWUSR); ++module_param_array(nchannel, uint, NULL, S_IRUGO | S_IWUSR); ++module_param(pri, uint, S_IRUGO | S_IWUSR); ++module_param(debug, uint, S_IRUGO | S_IWUSR); ++ ++/* ++ * send full D/B channel status information ++ * as MPH_INFORMATION_IND ++ */ ++static void l1loop_ph_info(struct port *p) ++{ ++ struct ph_info *phi; ++ struct dchannel *dch = &p->dch; ++ int i; ++ ++ phi = kzalloc(sizeof(struct ph_info) + ++ dch->dev.nrbchan * sizeof(struct ph_info_ch), ++ GFP_ATOMIC); ++ ++ phi->dch.ch.protocol = p->protocol; ++ phi->dch.ch.Flags = dch->Flags; ++ phi->dch.state = dch->state; ++ phi->dch.num_bch = dch->dev.nrbchan; ++ for (i = 0; i < dch->dev.nrbchan; i++) { ++ phi->bch[i].protocol = p->bch[i].ch.protocol; ++ phi->bch[i].Flags = p->bch[i].Flags; ++ } ++ _queue_data(&dch->dev.D, ++ MPH_INFORMATION_IND, MISDN_ID_ANY, ++ sizeof(struct ph_info_dch) + ++ dch->dev.nrbchan * sizeof(struct ph_info_ch), ++ phi, GFP_ATOMIC); ++} ++ ++/* ++ * disable/enable BChannel for desired protocoll ++ */ ++static int ++l1loop_setup_bch(struct bchannel *bch, int protocol) ++{ ++ struct port *p = bch->hw; ++ ++ if (debug) ++ printk(KERN_DEBUG "%s: %s: protocol %x-->%x B%d\n", ++ p->name, __func__, bch->state, protocol, ++ bch->nr); ++ ++ switch (protocol) { ++ case (-1): /* used for init */ ++ bch->state = -1; ++ /* fall trough */ ++ case (ISDN_P_NONE): ++ if (bch->state == ISDN_P_NONE) ++ return 0; /* already in idle state */ ++ bch->state = ISDN_P_NONE; ++ clear_bit(FLG_HDLC, &bch->Flags); ++ clear_bit(FLG_TRANSPARENT, &bch->Flags); ++ break; ++ case (ISDN_P_B_RAW): ++ bch->state = protocol; ++ set_bit(FLG_TRANSPARENT, &bch->Flags); ++ break; ++ case (ISDN_P_B_HDLC): ++ bch->state = protocol; ++ set_bit(FLG_HDLC, &bch->Flags); ++ break; ++ default: ++ if (debug & DEBUG_HW) ++ printk(KERN_DEBUG "%s: %s: prot not known %x\n", ++ p->name, __func__, protocol); ++ return -ENOPROTOOPT; ++ } ++ l1loop_ph_info(p); ++ return 0; ++} ++ ++static void ++deactivate_bchannel(struct bchannel *bch) ++{ ++ struct port *p = bch->hw; ++ ++ if (bch->debug) ++ printk(KERN_DEBUG "%s: %s: bch->nr(%i)\n", ++ p->name, __func__, bch->nr); ++ ++ spin_lock(&p->lock); ++ if (test_and_clear_bit(FLG_TX_NEXT, &bch->Flags)) { ++ dev_kfree_skb(bch->next_skb); ++ bch->next_skb = NULL; ++ } ++ if (bch->tx_skb) { ++ dev_kfree_skb(bch->tx_skb); ++ bch->tx_skb = NULL; ++ } ++ bch->tx_idx = 0; ++ if (bch->rx_skb) { ++ dev_kfree_skb(bch->rx_skb); ++ bch->rx_skb = NULL; ++ } ++ clear_bit(FLG_ACTIVE, &bch->Flags); ++ clear_bit(FLG_TX_BUSY, &bch->Flags); ++ spin_unlock(&p->lock); ++ ++ l1loop_setup_bch(bch, ISDN_P_NONE); ++} ++ ++/* ++ * bch layer1 loop (vline=2): immediatly loop back every B-channel data ++ */ ++static void bch_vline_loop(struct bchannel *bch, struct sk_buff *skb) ++{ ++ struct port *p = bch->hw; ++ ++ bch->rx_skb = skb_copy(skb, GFP_KERNEL); ++ if (bch->rx_skb) ++ recv_Bchannel(bch, MISDN_ID_ANY); ++ else ++ if (debug & DEBUG_HW) ++ printk(KERN_ERR "%s: %s: mI_alloc_skb failed \n", ++ p->name, __func__); ++ dev_kfree_skb(skb); ++ get_next_bframe(bch); ++} ++ ++/* ++ * bch layer1 bus (vline=1): copy frame to each party with bch(x) FLAG_ACTIVE ++ */ ++static void bch_vbus(struct bchannel *bch, struct sk_buff *skb) ++{ ++ struct port *me = bch->hw; ++ struct port *party; ++ struct bchannel *target = NULL; ++ int i, b; ++ ++ b = bch->nr - 1 - (bch->nr > 16); ++ for (i = 0; i < interfaces; i++) { ++ party = hw->ports + i; ++ target = &party->bch[b]; ++ if ((me != party) && test_bit(FLG_ACTIVE, &target->Flags)) { ++ /* immediately queue data to bch's RX queue */ ++ target->rx_skb = skb_copy(skb, GFP_KERNEL); ++ if (target->rx_skb) ++ recv_Bchannel(target, MISDN_ID_ANY); ++ } ++ } ++ ++ dev_kfree_skb(skb); ++ get_next_bframe(bch); ++} ++ ++/* ++ * bch layer1 link (vline=3): copy frame to ohter party, if bch(x) FLAG_ACTIVE ++ */ ++static void bch_vlink(struct bchannel *bch, struct sk_buff *skb) ++{ ++ struct port *me = bch->hw; ++ struct port *party = &hw->ports[me->instance ^ 1]; ++ struct bchannel *target = NULL; ++ int b; ++ ++ b = bch->nr - 1 - (bch->nr > 16); ++ target = &party->bch[b]; ++ if (test_bit(FLG_ACTIVE, &target->Flags)) { ++ /* immediately queue data to bch's RX queue */ ++ target->rx_skb = skb_copy(skb, GFP_KERNEL); ++ if (target->rx_skb) ++ recv_Bchannel(target, MISDN_ID_ANY); ++ } ++ ++ dev_kfree_skb(skb); ++ get_next_bframe(bch); ++} ++ ++/* ++ * layer2 -> layer1 callback B-channel ++ */ ++static int ++l1loop_l2l1B(struct mISDNchannel *ch, struct sk_buff *skb) { ++ struct bchannel *bch = container_of(ch, struct bchannel, ch); ++ struct port *p = bch->hw; ++ int ret = -EINVAL; ++ struct mISDNhead *hh = mISDN_HEAD_P(skb); ++ ++ switch (hh->prim) { ++ case PH_DATA_REQ: ++ spin_lock(&p->lock); ++ ret = bchannel_senddata(bch, skb); ++ spin_unlock(&p->lock); ++ if (ret > 0) { ++ ret = 0; ++ queue_ch_frame(ch, PH_DATA_CNF, hh->id, NULL); ++ switch (vline) { ++ case VLINE_BUS: ++ bch_vbus(bch, skb); ++ break; ++ case VLINE_LOOP: ++ bch_vline_loop(bch, skb); ++ break; ++ case VLINE_LINK: ++ bch_vlink(bch, skb); ++ break; ++ case VLINE_NONE: ++ default: ++ break; ++ } ++ } ++ return ret; ++ case PH_ACTIVATE_REQ: ++ if (!test_and_set_bit(FLG_ACTIVE, &bch->Flags)) ++ ret = l1loop_setup_bch(bch, ch->protocol); ++ else ++ ret = 0; ++ if (!ret) ++ _queue_data(ch, PH_ACTIVATE_IND, MISDN_ID_ANY, ++ 0, NULL, GFP_KERNEL); ++ break; ++ case PH_DEACTIVATE_REQ: ++ deactivate_bchannel(bch); ++ _queue_data(ch, PH_DEACTIVATE_IND, MISDN_ID_ANY, ++ 0, NULL, GFP_KERNEL); ++ ret = 0; ++ break; ++ } ++ if (!ret) ++ dev_kfree_skb(skb); ++ return ret; ++} ++ ++/* ++ * 'physical' S0/E1 bus state change handler ++ */ ++static void ++ph_state(struct dchannel *dch) ++{ ++ struct port *p = dch->hw; ++ char *ptext; ++ ++ if (p->protocol <= ISDN_P_MAX) ++ ptext = ISDN_P_TEXT[p->protocol]; ++ else ++ ptext = ISDN_P_TEXT[ISDN_P_MAX+1]; ++ ++ if (debug & DEBUG_HW) ++ printk(KERN_DEBUG "%s: %s: %s %s (%i)\n", ++ p->name, __func__, ptext, ++ (dch->state) ? "ACTIVE" : "INACTIVE", ++ test_bit(FLG_ACTIVE, &dch->Flags)); ++ ++ switch (dch->state) { ++ case VBUS_INACTIVE: ++ clear_bit(FLG_L2_ACTIVATED, &dch->Flags); ++ clear_bit(FLG_ACTIVE, &dch->Flags); ++ _queue_data(&dch->dev.D, PH_DEACTIVATE_IND, ++ MISDN_ID_ANY, 0, NULL, GFP_KERNEL); ++ break; ++ case VBUS_ACTIVE: ++ if (!(test_and_set_bit(FLG_ACTIVE, &dch->Flags))) ++ _queue_data(&dch->dev.D, PH_ACTIVATE_IND, ++ MISDN_ID_ANY, 0, NULL, GFP_KERNEL); ++ else ++ _queue_data(&dch->dev.D, PH_ACTIVATE_CNF, ++ MISDN_ID_ANY, 0, NULL, GFP_KERNEL); ++ break; ++ default: ++ break; ++ } ++ l1loop_ph_info(p); ++} ++ ++/* ++ * every activation (NT and TE) causes every listening party to activate ++ */ ++static void ++vbus_activate(struct port *p) ++{ ++ int i; ++ ++ if (vbusnt) { ++ for (i = 0; i < interfaces; i++) { ++ p = hw->ports + i; ++ p->dch.state = VBUS_ACTIVE; ++ if (test_bit(FLG_OPEN, &p->dch.Flags)) ++ ph_state(&p->dch); ++ } ++ } else { ++ /* no interfaces opened as NT yet */ ++ p->dch.state = VBUS_INACTIVE; ++ ph_state(&p->dch); ++ } ++} ++ ++/* ++ * set every party member to state VBUS_ACTIVE ++ */ ++static void ++vbus_deactivate(struct port *p) ++{ ++ struct dchannel *dch; ++ int i; ++ ++ for (i = 0; i < interfaces; i++) { ++ p = hw->ports + i; ++ dch = &p->dch; ++ dch->state = VBUS_INACTIVE; ++ if (test_bit(FLG_OPEN, &p->dch.Flags)) ++ ph_state(dch); ++ } ++} ++ ++/* ++ * every activation (NT and TE) causes the ohter listening party to activate ++ */ ++static void ++vlink_activate(struct port *p) ++{ ++ struct port *party = &hw->ports[p->instance ^ 1]; ++ ++ if (test_bit(FLG_OPEN, &party->dch.Flags)) { ++ party->dch.state = VBUS_ACTIVE; ++ ph_state(&party->dch); ++ } else { ++ p->dch.state = VBUS_INACTIVE; ++ ph_state(&p->dch); ++ } ++} ++ ++/* ++ * set every party member to state VLINK_ACTIVE ++ */ ++static void ++vlink_deactivate(struct port *p) ++{ ++ struct port *party = &hw->ports[p->instance ^ 1]; ++ ++ p->dch.state = VBUS_INACTIVE; ++ ph_state(&p->dch); ++ if (test_bit(FLG_OPEN, &party->dch.Flags)) { ++ party->dch.state = VBUS_INACTIVE; ++ ph_state(&party->dch); ++ } ++} ++ ++/* ++ * apply 'physical' bus commands: ++ * L1_ACTIVATE_TE, L1_ACTIVATE_NT, L1_DEACTIVATE_NT ++ */ ++static void ++ph_command(struct port *p, u_char command) ++{ ++ if (debug & DEBUG_HW) ++ printk(KERN_DEBUG "%s: %s: %x\n", ++ p->name, __func__, command); ++ switch (command) { ++ case L1_ACTIVATE_TE: ++ switch (vline) { ++ case VLINE_BUS: ++ vbus_activate(p); ++ break; ++ case VLINE_LOOP: ++ p->dch.state = VBUS_ACTIVE; ++ schedule_event(&p->dch, FLG_PHCHANGE); ++ break; ++ case VLINE_LINK: ++ vlink_activate(p); ++ break; ++ case VLINE_NONE: ++ default: ++ p->dch.state = VBUS_INACTIVE; ++ schedule_event(&p->dch, FLG_PHCHANGE); ++ break; ++ } ++ break; ++ case L1_ACTIVATE_NT: ++ switch (vline) { ++ case VLINE_BUS: ++ vbus_activate(p); ++ break; ++ case VLINE_LOOP: ++ p->dch.state = VBUS_ACTIVE; ++ schedule_event(&p->dch, FLG_PHCHANGE); ++ break; ++ case VLINE_LINK: ++ vlink_activate(p); ++ break; ++ case VLINE_NONE: ++ default: ++ p->dch.state = VBUS_INACTIVE; ++ schedule_event(&p->dch, FLG_PHCHANGE); ++ break; ++ } ++ break; ++ case L1_DEACTIVATE_NT: ++ switch (vline) { ++ case VLINE_BUS: ++ vbus_deactivate(p); ++ break; ++ case VLINE_LOOP: ++ p->dch.state = VBUS_INACTIVE; ++ schedule_event(&p->dch, FLG_PHCHANGE); ++ case VLINE_LINK: ++ vlink_deactivate(p); ++ break; ++ case VLINE_NONE: ++ default: ++ break; ++ } ++ break; ++ } ++} ++ ++/* ++ * dch layer1 loop (vline=2): immediatly loop back every D-channel data ++ */ ++static void dch_vline_loop(struct dchannel *dch, struct sk_buff *skb) ++{ ++ struct port *p = dch->hw; ++ ++ dch->rx_skb = skb_copy(skb, GFP_KERNEL); ++ if (dch->rx_skb) ++ recv_Dchannel(dch); ++ else ++ if (debug & DEBUG_HW) ++ printk(KERN_ERR "%s: %s: mI_alloc_skb failed \n", ++ p->name, __func__); ++ dev_kfree_skb(skb); ++ get_next_dframe(dch); ++} ++ ++/* ++ * dch layer1 link (vline=3): connect each pair of D-channel data ++ */ ++static void dch_vline_link(struct dchannel *dch, struct sk_buff *skb) ++{ ++ struct port *me = dch->hw; ++ struct port *party = &hw->ports[me->instance ^ 1]; ++ struct dchannel *party_dch = &party->dch; ++ ++ if (test_bit(FLG_ACTIVE, &party_dch->Flags)) { ++ party_dch->rx_skb = skb_copy(skb, GFP_KERNEL); ++ if (party_dch->rx_skb) ++ recv_Dchannel(party_dch); ++ } ++ dev_kfree_skb(skb); ++ get_next_dframe(dch); ++} ++ ++/* ++ * dch layer1 bus (vline=1) on S0 bus ++ */ ++static void dch_vbus_S0(struct dchannel *dch, struct sk_buff *skb) ++{ ++ struct port *me = dch->hw; ++ struct port *party; ++ struct dchannel *party_dch; ++ int i; ++ ++ if (vbusnt) { ++ if (me != vbusnt) { ++ /* TE -> NT */ ++ vbusnt->dch.rx_skb = skb_copy(skb, GFP_KERNEL); ++ if (vbusnt->dch.rx_skb) ++ recv_Dchannel(&vbusnt->dch); ++ /* virtual E-channel ECHO */ ++ for (i = 0; i < interfaces; i++) { ++ party = hw->ports + i; ++ if ((party != vbusnt) && test_bit(FLG_ACTIVE, ++ &party->dch.Flags)) { ++ party_dch = &party->dch; ++ party_dch->rx_skb = skb_copy(skb, ++ GFP_KERNEL); ++ if (party_dch->rx_skb) ++ recv_Echannel(party_dch, ++ party_dch); ++ } ++ } ++ } else { ++ /* NT -> all TEs */ ++ for (i = 0; i < interfaces; i++) { ++ party = hw->ports + i; ++ if ((me != party) && test_bit(FLG_ACTIVE, ++ &party->dch.Flags)) { ++ party_dch = &party->dch; ++ party_dch->rx_skb = skb_copy(skb, ++ GFP_KERNEL); ++ if (party_dch->rx_skb) ++ recv_Dchannel(party_dch); ++ } ++ } ++ } ++ } ++ dev_kfree_skb(skb); ++ get_next_dframe(dch); ++} ++ ++/* ++ * dch layer1 bus (vline=1) on E1 bus ++ */ ++static void dch_vbus_E1(struct dchannel *dch, struct sk_buff *skb) ++{ ++ struct port *me = dch->hw; ++ struct port *party; ++ struct dchannel *party_dch; ++ int i; ++ ++ /* NT->TE / TE->NT */ ++ for (i = 0; i < interfaces; i++) { ++ party = hw->ports + i; ++ if ((me != party) && test_bit(FLG_ACTIVE, &party->dch.Flags)) { ++ party_dch = &party->dch; ++ party_dch->rx_skb = skb_copy(skb, GFP_KERNEL); ++ if (party_dch->rx_skb) ++ recv_Dchannel(party_dch); ++ } ++ } ++ dev_kfree_skb(skb); ++ get_next_dframe(dch); ++} ++ ++/* ++ * layer2 -> layer1 callback D-channel ++ */ ++static int ++l1loop_l2l1D(struct mISDNchannel *ch, struct sk_buff *skb) { ++ struct mISDNdevice *dev = container_of(ch, struct mISDNdevice, D); ++ struct dchannel *dch = container_of(dev, struct dchannel, dev); ++ struct mISDNhead *hh = mISDN_HEAD_P(skb); ++ struct port *p = dch->hw; ++ int ret = -EINVAL; ++ char *ptext; ++ ++ if (p->protocol <= ISDN_P_MAX) ++ ptext = ISDN_P_TEXT[p->protocol]; ++ else ++ ptext = ISDN_P_TEXT[ISDN_P_MAX+1]; ++ ++ switch (hh->prim) { ++ case PH_DATA_REQ: ++ spin_lock(&p->lock); ++ ret = dchannel_senddata(dch, skb); ++ spin_unlock(&p->lock); ++ if (ret > 0) { ++ ret = 0; ++ queue_ch_frame(ch, PH_DATA_CNF, hh->id, NULL); ++ switch (vline) { ++ case VLINE_BUS: ++ if (IS_ISDN_P_S0(p->protocol)) ++ dch_vbus_S0(dch, skb); ++ else ++ dch_vbus_E1(dch, skb); ++ break; ++ case VLINE_LOOP: ++ dch_vline_loop(dch, skb); ++ break; ++ case VLINE_LINK: ++ dch_vline_link(dch, skb); ++ case VLINE_NONE: ++ default: ++ break; ++ } ++ } ++ return ret; ++ case PH_ACTIVATE_REQ: ++ if (debug & DEBUG_HW) ++ printk(KERN_DEBUG "%s: %s: PH_ACTIVATE_REQ %s\n", ++ p->name, __func__, ptext); ++ ret = 0; ++ if (IS_ISDN_P_NT(p->protocol)) { ++ if (test_bit(FLG_ACTIVE, &dch->Flags)) ++ _queue_data(&dch->dev.D, PH_ACTIVATE_CNF, ++ MISDN_ID_ANY, 0, NULL, GFP_KERNEL); ++ else { ++ ph_command(p, L1_ACTIVATE_NT); ++ test_and_set_bit(FLG_L2_ACTIVATED, ++ &dch->Flags); ++ } ++ } else { ++ if (test_bit(FLG_ACTIVE, &dch->Flags)) ++ _queue_data(&dch->dev.D, PH_ACTIVATE_CNF, ++ MISDN_ID_ANY, 0, NULL, GFP_KERNEL); ++ else ++ ph_command(p, L1_ACTIVATE_TE); ++ } ++ break; ++ case PH_DEACTIVATE_REQ: ++ if (debug & DEBUG_HW) ++ printk(KERN_DEBUG "%s: %s: PH_DEACTIVATE_REQ %s\n", ++ p->name, __func__, ptext); ++ test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); ++ ++ if (IS_ISDN_P_NT(p->protocol)) ++ ph_command(p, L1_DEACTIVATE_NT); ++ ++ spin_lock(&p->lock); ++ skb_queue_purge(&dch->squeue); ++ if (dch->tx_skb) { ++ dev_kfree_skb(dch->tx_skb); ++ dch->tx_skb = NULL; ++ } ++ dch->tx_idx = 0; ++ if (dch->rx_skb) { ++ dev_kfree_skb(dch->rx_skb); ++ dch->rx_skb = NULL; ++ } ++ spin_unlock(&p->lock); ++ ret = 0; ++ break; ++ case MPH_INFORMATION_REQ: ++ l1loop_ph_info(p); ++ ret = 0; ++ break; ++ } ++ return ret; ++} ++ ++/* ++ * layer 1 B-channel 'hardware' access ++ */ ++static int ++channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) ++{ ++ int ret = 0; ++ ++ switch (cq->op) { ++ case MISDN_CTRL_GETOP: ++ cq->op = MISDN_CTRL_FILL_EMPTY; ++ break; ++ case MISDN_CTRL_FILL_EMPTY: ++ test_and_set_bit(FLG_FILLEMPTY, &bch->Flags); ++ if (debug & DEBUG_HW_OPEN) ++ printk(KERN_DEBUG ++ "%s: FILL_EMPTY request (nr=%d off=%d)\n", ++ __func__, bch->nr, !!cq->p1); ++ break; ++ default: ++ printk(KERN_WARNING "%s: unknown Op %x\n", ++ __func__, cq->op); ++ ret = -EINVAL; ++ break; ++ } ++ return ret; ++} ++ ++/* ++ * layer1 B-channel 'hardware' access ++ */ ++static int ++l1loop_bctrl(struct mISDNchannel *ch, u_int cmd, void *arg) ++{ ++ struct bchannel *bch = container_of(ch, struct bchannel, ch); ++ int ret = -EINVAL; ++ ++ if (bch->debug & DEBUG_HW) ++ printk(KERN_DEBUG "%s: cmd:%x %p\n", __func__, cmd, arg); ++ ++ switch (cmd) { ++ case CLOSE_CHANNEL: ++ test_and_clear_bit(FLG_OPEN, &bch->Flags); ++ if (test_bit(FLG_ACTIVE, &bch->Flags)) ++ deactivate_bchannel(bch); ++ ch->protocol = ISDN_P_NONE; ++ ch->peer = NULL; ++ module_put(THIS_MODULE); ++ ret = 0; ++ break; ++ case CONTROL_CHANNEL: ++ ret = channel_bctrl(bch, arg); ++ break; ++ default: ++ ret = -EINVAL; ++ printk(KERN_WARNING "%s: unknown prim(%x)\n", ++ __func__, cmd); ++ } ++ return ret; ++} ++ ++/* ++ * open interface due to user process: ++ * intially register NT interface when using vline=VLINE_BUS (default) ++ */ ++static int ++open_dchannel(struct port *p, struct mISDNchannel *ch, struct channel_req *rq) ++{ ++ if (debug & DEBUG_HW_OPEN) ++ printk(KERN_DEBUG "%s: %s: dev(%d) open from %p\n", ++ p->name, __func__, p->dch.dev.id, ++ __builtin_return_address(0)); ++ if (rq->protocol == ISDN_P_NONE) ++ return -EINVAL; ++ ++ if (!p->initdone) { ++ if ((vline == VLINE_BUS) && (IS_ISDN_P_NT(rq->protocol)) ++ && vbusnt) ++ return -EPROTONOSUPPORT; ++ ++ /* set VBUS NT interface */ ++ if ((vline == VLINE_BUS) && (IS_ISDN_P_NT(rq->protocol))) ++ vbusnt = p; ++ ++ p->initdone = 1; ++ p->protocol = rq->protocol; ++ ch->protocol = rq->protocol; ++ ++ } else { ++ if (rq->protocol != ch->protocol) ++ return -EPROTONOSUPPORT; ++ } ++ ++ set_bit(FLG_OPEN, &p->dch.Flags); ++ if (vbusnt) { ++ if (p != vbusnt) ++ p->dch.state = vbusnt->dch.state; ++ } else { ++ if (debug & DEBUG_HW_OPEN) ++ printk(KERN_DEBUG "%s: %s: dev(%d) no NT found\n", ++ p->name, __func__, p->dch.dev.id); ++ p->dch.state = VBUS_INACTIVE; ++ } ++ ph_state(&p->dch); ++ ++ rq->ch = ch; ++ if (!try_module_get(THIS_MODULE)) ++ printk(KERN_WARNING "%s: %s: cannot get module\n", ++ p->name, __func__); ++ return 0; ++} ++ ++static int ++open_bchannel(struct port *p, struct dchannel *dch, struct channel_req *rq) ++{ ++ struct bchannel *bch; ++ ++ if (!test_channelmap(rq->adr.channel, dch->dev.channelmap)) ++ return -EINVAL; ++ if (rq->protocol == ISDN_P_NONE) ++ return -EINVAL; ++ ++ if (debug & DEBUG_HW) ++ printk(KERN_DEBUG "%s: %s B%i\n", ++ p->name, __func__, rq->adr.channel); ++ ++ bch = &p->bch[rq->adr.channel - 1 - (rq->adr.channel > 16)]; ++ if (test_and_set_bit(FLG_OPEN, &bch->Flags)) ++ return -EBUSY; /* b-channel can be only open once */ ++ test_and_clear_bit(FLG_FILLEMPTY, &bch->Flags); ++ bch->ch.protocol = rq->protocol; ++ rq->ch = &bch->ch; ++ ++ if (!try_module_get(THIS_MODULE)) ++ printk(KERN_WARNING "%s: %s:cannot get module\n", ++ p->name, __func__); ++ return 0; ++} ++ ++static int ++channel_ctrl(struct port *p, struct mISDN_ctrl_req *cq) ++{ ++ int ret = 0; ++ ++ if (debug) ++ printk(KERN_DEBUG "%s: %s op(0x%x) channel(0x%x)\n", ++ p->name, __func__, (cq->op), (cq->channel)); ++ ++ switch (cq->op) { ++ case MISDN_CTRL_GETOP: ++ cq->op = MISDN_CTRL_LOOP | MISDN_CTRL_CONNECT | ++ MISDN_CTRL_DISCONNECT; ++ break; ++ default: ++ printk(KERN_WARNING "%s: %s: unknown Op %x\n", ++ p->name, __func__, cq->op); ++ ret = -EINVAL; ++ break; ++ } ++ return ret; ++} ++ ++static int ++l1loop_dctrl(struct mISDNchannel *ch, u_int cmd, void *arg) { ++ struct mISDNdevice *dev = container_of(ch, struct mISDNdevice, D); ++ struct dchannel *dch = container_of(dev, struct dchannel, dev); ++ struct port *p = dch->hw; ++ struct channel_req *rq; ++ int err = 0; ++ ++ if (dch->debug & DEBUG_HW) ++ printk(KERN_DEBUG "%s: %s: cmd:%x %p\n", ++ p->name, __func__, cmd, arg); ++ switch (cmd) { ++ case OPEN_CHANNEL: ++ rq = arg; ++ if ((rq->protocol == ISDN_P_TE_S0) || ++ (rq->protocol == ISDN_P_NT_S0) || ++ (rq->protocol == ISDN_P_TE_E1) || ++ (rq->protocol == ISDN_P_NT_E1)) ++ err = open_dchannel(p, ch, rq); ++ else ++ err = open_bchannel(p, dch, rq); ++ break; ++ case CLOSE_CHANNEL: ++ if (debug & DEBUG_HW_OPEN) ++ printk(KERN_DEBUG "%s: %s: dev(%d) close from %p\n", ++ p->name, __func__, p->dch.dev.id, ++ __builtin_return_address(0)); ++ module_put(THIS_MODULE); ++ break; ++ case CONTROL_CHANNEL: ++ err = channel_ctrl(p, arg); ++ break; ++ default: ++ if (dch->debug & DEBUG_HW) ++ printk(KERN_DEBUG "%s: %s: unknown command %x\n", ++ p->name, __func__, cmd); ++ return -EINVAL; ++ } ++ return err; ++} ++ ++static int ++setup_instance(struct l1loop *hw) { ++ struct port *p; ++ u_long flags; ++ int err = 0, i, b, n; ++ ++ if (debug) ++ printk(KERN_DEBUG "%s: %s\n", DRIVER_NAME, __func__); ++ ++ for (i = 0; i < interfaces; i++) { ++ p = hw->ports + i; ++ n = nchannel[0]; ++ if (vline == VLINE_LINK && nchannel[i >> 1]) ++ n = nchannel[i >> 1]; ++ p->bch = kzalloc(sizeof(struct bchannel)*n, GFP_KERNEL); ++ if (!p->bch) { ++ printk(KERN_ERR "%s: %s: no kmem for bchannels\n", ++ DRIVER_NAME, __func__); ++ return -ENOMEM; ++ } ++ ++ spin_lock_init(&p->lock); ++ p->instance = i; ++ mISDN_initdchannel(&p->dch, MAX_DFRAME_LEN_L1, ph_state); ++ p->dch.debug = debug & 0xFFFF; ++ p->dch.hw = p; ++ if (!pri) ++ p->dch.dev.Dprotocols = (1 << ISDN_P_TE_S0) | ++ (1 << ISDN_P_NT_S0); ++ else ++ p->dch.dev.Dprotocols = (1 << ISDN_P_TE_E1) | ++ (1 << ISDN_P_NT_E1); ++ p->dch.dev.Bprotocols = (1 << (ISDN_P_B_RAW & ISDN_P_B_MASK)) | ++ (1 << (ISDN_P_B_HDLC & ISDN_P_B_MASK)); ++ p->dch.dev.D.send = l1loop_l2l1D; ++ p->dch.dev.D.ctrl = l1loop_dctrl; ++ p->dch.dev.nrbchan = n; ++ p->nrbchan = n; ++ for (b = 0; b < n; b++) { ++ p->bch[b].nr = b + 1 + (b >= 15); ++ set_channelmap(p->bch[b].nr, p->dch.dev.channelmap); ++ p->bch[b].debug = debug; ++ mISDN_initbchannel(&p->bch[b], MAX_DATA_MEM); ++ p->bch[b].hw = p; ++ p->bch[b].ch.send = l1loop_l2l1B; ++ p->bch[b].ch.ctrl = l1loop_bctrl; ++ p->bch[b].ch.nr = p->bch[b].nr; ++ list_add(&p->bch[b].ch.list, &p->dch.dev.bchannels); ++ } ++ ++ snprintf(p->name, MISDN_MAX_IDLEN - 1, "%s.%d", DRIVER_NAME, ++ l1loop_cnt + 1); ++ printk(KERN_INFO "%s: registered as '%s'\n", ++ DRIVER_NAME, p->name); ++ ++ /* TODO: parent device? */ ++ err = mISDN_register_device(&p->dch.dev, NULL, p->name); ++ if (err) { ++ for (b = 0; b < n; b++) ++ mISDN_freebchannel(&p->bch[b]); ++ mISDN_freedchannel(&p->dch); ++ } else { ++ l1loop_cnt++; ++ write_lock_irqsave(&l1loop_lock, flags); ++ list_add_tail(&hw->list, &l1loop_list); ++ write_unlock_irqrestore(&l1loop_lock, flags); ++ } ++ } ++ ++ return err; ++} ++ ++static int ++release_instance(struct l1loop *hw) { ++ struct port *p; ++ int i, b; ++ ++ if (debug) ++ printk(KERN_DEBUG "%s: %s\n", DRIVER_NAME, __func__); ++ ++ for (i = 0; i < interfaces; i++) { ++ p = hw->ports + i; ++ for (b = 0; b < p->nrbchan; b++) ++ l1loop_setup_bch(&p->bch[b], ISDN_P_NONE); ++ ++ mISDN_unregister_device(&p->dch.dev); ++ for (b = 0; b < p->nrbchan; b++) ++ mISDN_freebchannel(&p->bch[b]); ++ mISDN_freedchannel(&p->dch); ++ } ++ ++ if (hw) { ++ if (hw->ports) { ++ kfree(hw->ports->bch); ++ kfree(hw->ports); ++ } ++ kfree(hw); ++ } ++ return 0; ++} ++ ++static int __init ++l1loop_init(void) ++{ ++ int i; ++ ++ if (vline == 3 && (interfaces & 1)) { ++ printk(KERN_ERR "%s: %s: an even number of interfaces are " ++ "expected\n", DRIVER_NAME, __func__); ++ return -EINVAL; ++ } ++ if (interfaces > 64) ++ interfaces = 64; ++ if (vline == 3) { ++ for (i = 0; i < (interfaces >> 1); i++) { ++ if (nchannel[i] > 126) ++ nchannel[i] = 126; ++ } ++ } else { ++ if (nchannel[0] > 126) ++ nchannel[0] = 126; ++ } ++ if (pri && (vline == VLINE_BUS) && (interfaces > 2)) ++ interfaces = 2; ++ if (vline > MAX_VLINE_OPTION) ++ return -ENODEV; ++ ++ printk(KERN_INFO DRIVER_NAME " driver Rev. %s " ++ "debug(0x%x) interfaces(%i) nchannel[0](%i) vline(%s)\n", ++ l1loop_rev, debug, interfaces, nchannel[0], VLINE_MODES[vline]); ++ ++ hw = kzalloc(sizeof(struct l1loop), GFP_KERNEL); ++ if (!hw) { ++ printk(KERN_ERR "%s: %s: no kmem for hw\n", ++ DRIVER_NAME, __func__); ++ return -ENOMEM; ++ } ++ hw->ports = kzalloc(sizeof(struct port)*interfaces, GFP_KERNEL); ++ if (!hw->ports) { ++ printk(KERN_ERR "%s: %s: no kmem for interfaces\n", ++ DRIVER_NAME, __func__); ++ kfree(hw); ++ return -ENOMEM; ++ } ++ ++ return setup_instance(hw); ++} ++ ++static void __exit ++l1loop_cleanup(void) ++{ ++ if (debug) ++ printk(KERN_DEBUG DRIVER_NAME ": %s\n", __func__); ++ ++ release_instance(hw); ++} ++ ++module_init(l1loop_init); ++module_exit(l1loop_cleanup); +Index: linux-2.6.39/drivers/isdn/hardware/mISDN/l1loop.h +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ linux-2.6.39/drivers/isdn/hardware/mISDN/l1loop.h 2011-10-13 01:29:45.607638544 +0800 +@@ -0,0 +1,64 @@ ++/* ++ * hwskel.h ++ */ ++ ++#ifndef __L1LOOP_H__ ++#define __L1LOOP_H__ ++ ++ ++#define DRIVER_NAME "mISDN_l1loop" ++ ++/* layer1 ph commands */ ++#define L1_ACTIVATE_TE 1 ++#define L1_ACTIVATE_NT 2 ++#define L1_DEACTIVATE_NT 3 ++ ++/* virtual ISDN line modes */ ++#define VLINE_NONE 0 ++#define VLINE_BUS 1 ++#define VLINE_LOOP 2 ++#define VLINE_LINK 3 ++#define MAX_VLINE_OPTION 3 ++ ++const char *VLINE_MODES[] = { ++ "none", ++ "bus", ++ "loop", ++ "link" ++}; ++ ++#define ISDN_P_MAX ISDN_P_NT_E1 ++char *ISDN_P_TEXT[] = { ++ "ISDN_P_NONE", ++ "ISDN_P_TE_S0", ++ "ISDN_P_NT_S0", ++ "ISDN_P_TE_E1", ++ "ISDN_P_NT_E1", ++ "" ++}; ++ ++/* virtual bus states */ ++#define VBUS_ACTIVE 1 ++#define VBUS_INACTIVE 0 ++ ++ ++struct hwskel; ++ ++struct port { ++ spinlock_t lock; /* port lock */ ++ int instance; ++ char name[MISDN_MAX_IDLEN]; ++ struct dchannel dch; ++ struct bchannel *bch; ++ int nrbchan; ++ __u8 protocol; ++ __u8 initdone; ++ struct hwskel *hw; ++}; ++ ++struct l1loop { ++ struct list_head list; ++ struct port *ports; ++}; ++ ++#endif /* __L1LOOP_H__ */ diff --git a/recipes-bsp/linux/files/sysmobts-v1/defconfig b/recipes-bsp/linux/files/sysmobts-v1/defconfig new file mode 100644 index 0000000000..029352ca85 --- /dev/null +++ b/recipes-bsp/linux/files/sysmobts-v1/defconfig @@ -0,0 +1,1624 @@ +# +# Automatically generated make config: don't edit +# Linux kernel version: 2.6.33 +# Fri Nov 4 20:41:17 2011 +# +CONFIG_ARM=y +CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_GENERIC_GPIO=y +CONFIG_GENERIC_TIME=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_HARDIRQS=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_HARDIRQS_SW_RESEND=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_RWSEM_GENERIC_SPINLOCK=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_ZONE_DMA=y +CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y +CONFIG_VECTORS_BASE=0xffff0000 +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" +CONFIG_CONSTRUCTORS=y + +# +# General setup +# +CONFIG_EXPERIMENTAL=y +CONFIG_BROKEN_ON_SMP=y +CONFIG_LOCK_KERNEL=y +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_LOCALVERSION="" +CONFIG_LOCALVERSION_AUTO=y +CONFIG_HAVE_KERNEL_GZIP=y +CONFIG_HAVE_KERNEL_LZO=y +CONFIG_KERNEL_GZIP=y +# CONFIG_KERNEL_BZIP2 is not set +# CONFIG_KERNEL_LZMA is not set +# CONFIG_KERNEL_LZO is not set +# CONFIG_SWAP is not set +CONFIG_SYSVIPC=y +CONFIG_SYSVIPC_SYSCTL=y +CONFIG_POSIX_MQUEUE=y +CONFIG_POSIX_MQUEUE_SYSCTL=y +# CONFIG_BSD_PROCESS_ACCT is not set +# CONFIG_TASKSTATS is not set +# CONFIG_AUDIT is not set + +# +# RCU Subsystem +# +CONFIG_TREE_RCU=y +# CONFIG_TREE_PREEMPT_RCU is not set +# CONFIG_TINY_RCU is not set +# CONFIG_RCU_TRACE is not set +CONFIG_RCU_FANOUT=32 +# CONFIG_RCU_FANOUT_EXACT is not set +# CONFIG_TREE_RCU_TRACE is not set +CONFIG_IKCONFIG=m +CONFIG_IKCONFIG_PROC=y +CONFIG_LOG_BUF_SHIFT=14 +CONFIG_GROUP_SCHED=y +CONFIG_FAIR_GROUP_SCHED=y +# CONFIG_RT_GROUP_SCHED is not set +CONFIG_USER_SCHED=y +# CONFIG_CGROUP_SCHED is not set +# CONFIG_CGROUPS is not set +# CONFIG_SYSFS_DEPRECATED_V2 is not set +# CONFIG_RELAY is not set +# CONFIG_NAMESPACES is not set +# CONFIG_BLK_DEV_INITRD is not set +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +CONFIG_SYSCTL=y +CONFIG_ANON_INODES=y +CONFIG_EMBEDDED=y +CONFIG_UID16=y +CONFIG_SYSCTL_SYSCALL=y +CONFIG_KALLSYMS=y +CONFIG_KALLSYMS_ALL=y +# CONFIG_KALLSYMS_EXTRA_PASS is not set +CONFIG_HOTPLUG=y +CONFIG_PRINTK=y +CONFIG_BUG=y +CONFIG_ELF_CORE=y +CONFIG_BASE_FULL=y +CONFIG_FUTEX=y +CONFIG_EPOLL=y +CONFIG_SIGNALFD=y +CONFIG_TIMERFD=y +CONFIG_EVENTFD=y +CONFIG_SHMEM=y +CONFIG_AIO=y + +# +# Kernel Performance Events And Counters +# +CONFIG_VM_EVENT_COUNTERS=y +CONFIG_SLUB_DEBUG=y +CONFIG_COMPAT_BRK=y +# CONFIG_SLAB is not set +CONFIG_SLUB=y +# CONFIG_SLOB is not set +CONFIG_PROFILING=y +CONFIG_TRACEPOINTS=y +CONFIG_OPROFILE=m +CONFIG_HAVE_OPROFILE=y +# CONFIG_KPROBES is not set +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_CLK=y + +# +# GCOV-based kernel profiling +# +# CONFIG_GCOV_KERNEL is not set +CONFIG_SLOW_WORK=y +# CONFIG_SLOW_WORK_DEBUG is not set +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +CONFIG_SLABINFO=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +# CONFIG_MODULE_FORCE_LOAD is not set +CONFIG_MODULE_UNLOAD=y +CONFIG_MODULE_FORCE_UNLOAD=y +CONFIG_MODVERSIONS=y +# CONFIG_MODULE_SRCVERSION_ALL is not set +CONFIG_BLOCK=y +CONFIG_LBDAF=y +# CONFIG_BLK_DEV_BSG is not set +# CONFIG_BLK_DEV_INTEGRITY is not set + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +# CONFIG_IOSCHED_DEADLINE is not set +# CONFIG_IOSCHED_CFQ is not set +# CONFIG_DEFAULT_DEADLINE is not set +# CONFIG_DEFAULT_CFQ is not set +CONFIG_DEFAULT_NOOP=y +CONFIG_DEFAULT_IOSCHED="noop" +# CONFIG_INLINE_SPIN_TRYLOCK is not set +# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK is not set +# CONFIG_INLINE_SPIN_LOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK_IRQ is not set +# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set +# CONFIG_INLINE_SPIN_UNLOCK is not set +# CONFIG_INLINE_SPIN_UNLOCK_BH is not set +# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set +# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_READ_TRYLOCK is not set +# CONFIG_INLINE_READ_LOCK is not set +# CONFIG_INLINE_READ_LOCK_BH is not set +# CONFIG_INLINE_READ_LOCK_IRQ is not set +# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set +# CONFIG_INLINE_READ_UNLOCK is not set +# CONFIG_INLINE_READ_UNLOCK_BH is not set +# CONFIG_INLINE_READ_UNLOCK_IRQ is not set +# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_WRITE_TRYLOCK is not set +# CONFIG_INLINE_WRITE_LOCK is not set +# CONFIG_INLINE_WRITE_LOCK_BH is not set +# CONFIG_INLINE_WRITE_LOCK_IRQ is not set +# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set +# CONFIG_INLINE_WRITE_UNLOCK is not set +# CONFIG_INLINE_WRITE_UNLOCK_BH is not set +# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set +# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set +# CONFIG_MUTEX_SPIN_ON_OWNER is not set +# CONFIG_FREEZER is not set + +# +# System Type +# +CONFIG_MMU=y +# CONFIG_ARCH_AAEC2000 is not set +# CONFIG_ARCH_INTEGRATOR is not set +# CONFIG_ARCH_REALVIEW is not set +# CONFIG_ARCH_VERSATILE is not set +# CONFIG_ARCH_AT91 is not set +# CONFIG_ARCH_CLPS711X is not set +# CONFIG_ARCH_GEMINI is not set +# CONFIG_ARCH_EBSA110 is not set +# CONFIG_ARCH_EP93XX is not set +# CONFIG_ARCH_FOOTBRIDGE is not set +# CONFIG_ARCH_MXC is not set +# CONFIG_ARCH_STMP3XXX is not set +# CONFIG_ARCH_NETX is not set +# CONFIG_ARCH_H720X is not set +# CONFIG_ARCH_NOMADIK is not set +# CONFIG_ARCH_IOP13XX is not set +# CONFIG_ARCH_IOP32X is not set +# CONFIG_ARCH_IOP33X is not set +# CONFIG_ARCH_IXP23XX is not set +# CONFIG_ARCH_IXP2000 is not set +# CONFIG_ARCH_IXP4XX is not set +# CONFIG_ARCH_L7200 is not set +# CONFIG_ARCH_DOVE is not set +# CONFIG_ARCH_KIRKWOOD is not set +# CONFIG_ARCH_LOKI is not set +# CONFIG_ARCH_MV78XX0 is not set +# CONFIG_ARCH_ORION5X is not set +# CONFIG_ARCH_MMP is not set +# CONFIG_ARCH_KS8695 is not set +# CONFIG_ARCH_NS9XXX is not set +# CONFIG_ARCH_W90X900 is not set +# CONFIG_ARCH_PNX4008 is not set +# CONFIG_ARCH_PXA is not set +# CONFIG_ARCH_MSM is not set +# CONFIG_ARCH_RPC is not set +# CONFIG_ARCH_SA1100 is not set +# CONFIG_ARCH_S3C2410 is not set +# CONFIG_ARCH_S3C64XX is not set +# CONFIG_ARCH_S5PC1XX is not set +# CONFIG_ARCH_SHARK is not set +# CONFIG_ARCH_LH7A40X is not set +# CONFIG_ARCH_U300 is not set +CONFIG_ARCH_DAVINCI=y +# CONFIG_ARCH_OMAP is not set +# CONFIG_ARCH_BCMRING is not set +# CONFIG_ARCH_U8500 is not set +CONFIG_AINTC=y +CONFIG_ARCH_DAVINCI_DMx=y + +# +# TI DaVinci Implementations +# + +# +# DaVinci Core Type +# +CONFIG_ARCH_DAVINCI_DM644x=y +# CONFIG_ARCH_DAVINCI_DM355 is not set +# CONFIG_ARCH_DAVINCI_DM646x is not set +# CONFIG_ARCH_DAVINCI_DA830 is not set +# CONFIG_ARCH_DAVINCI_DA850 is not set +# CONFIG_ARCH_DAVINCI_DM365 is not set + +# +# DaVinci Board Type +# +# CONFIG_MACH_DAVINCI_EVM is not set +# CONFIG_MACH_SFFSDR is not set +CONFIG_MACH_SYSMOBTS_V1=y +# CONFIG_MACH_NEUROS_OSD2 is not set +# CONFIG_DAVINCI_MUX is not set +# CONFIG_DAVINCI_RESET_CLOCKS is not set + +# +# Processor Type +# +CONFIG_CPU_ARM926T=y +CONFIG_CPU_32v5=y +CONFIG_CPU_ABRT_EV5TJ=y +CONFIG_CPU_PABRT_LEGACY=y +CONFIG_CPU_CACHE_VIVT=y +CONFIG_CPU_COPY_V4WB=y +CONFIG_CPU_TLB_V4WBI=y +CONFIG_CPU_CP15=y +CONFIG_CPU_CP15_MMU=y + +# +# Processor Features +# +CONFIG_ARM_THUMB=y +# CONFIG_CPU_ICACHE_DISABLE is not set +# CONFIG_CPU_DCACHE_DISABLE is not set +# CONFIG_CPU_DCACHE_WRITETHROUGH is not set +# CONFIG_CPU_CACHE_ROUND_ROBIN is not set +CONFIG_ARM_L1_CACHE_SHIFT=5 +CONFIG_COMMON_CLKDEV=y + +# +# Bus support +# +# CONFIG_PCI_SYSCALL is not set +# CONFIG_ARCH_SUPPORTS_MSI is not set +# CONFIG_PCCARD is not set + +# +# Kernel Features +# +CONFIG_TICK_ONESHOT=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +CONFIG_VMSPLIT_3G=y +# CONFIG_VMSPLIT_2G is not set +# CONFIG_VMSPLIT_1G is not set +CONFIG_PAGE_OFFSET=0xC0000000 +# CONFIG_PREEMPT_NONE is not set +# CONFIG_PREEMPT_VOLUNTARY is not set +CONFIG_PREEMPT=y +CONFIG_HZ=100 +CONFIG_AEABI=y +CONFIG_OABI_COMPAT=y +CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y +# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set +# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set +# CONFIG_HIGHMEM is not set +CONFIG_SELECT_MEMORY_MODEL=y +CONFIG_FLATMEM_MANUAL=y +# CONFIG_DISCONTIGMEM_MANUAL is not set +# CONFIG_SPARSEMEM_MANUAL is not set +CONFIG_FLATMEM=y +CONFIG_FLAT_NODE_MEM_MAP=y +CONFIG_PAGEFLAGS_EXTENDED=y +CONFIG_SPLIT_PTLOCK_CPUS=999999 +# CONFIG_PHYS_ADDR_T_64BIT is not set +CONFIG_ZONE_DMA_FLAG=1 +CONFIG_BOUNCE=y +CONFIG_VIRT_TO_BUS=y +# CONFIG_KSM is not set +CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +CONFIG_LEDS=y +CONFIG_LEDS_CPU=y +CONFIG_ALIGNMENT_TRAP=y +# CONFIG_UACCESS_WITH_MEMCPY is not set + +# +# Boot options +# +CONFIG_ZBOOT_ROM_TEXT=0x0 +CONFIG_ZBOOT_ROM_BSS=0x0 +CONFIG_CMDLINE="" +# CONFIG_XIP_KERNEL is not set +CONFIG_KEXEC=y +CONFIG_ATAGS_PROC=y + +# +# CPU Power Management +# +# CONFIG_CPU_IDLE is not set + +# +# Floating point emulation +# + +# +# At least one emulation must be selected +# +# CONFIG_FPE_NWFPE is not set +CONFIG_FPE_FASTFPE=y +# CONFIG_VFP is not set + +# +# Userspace binary formats +# +CONFIG_BINFMT_ELF=y +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set +CONFIG_HAVE_AOUT=y +# CONFIG_BINFMT_AOUT is not set +# CONFIG_BINFMT_MISC is not set + +# +# Power management options +# +# CONFIG_PM is not set +CONFIG_ARCH_SUSPEND_POSSIBLE=y +CONFIG_NET=y + +# +# Networking options +# +CONFIG_PACKET=y +# CONFIG_PACKET_MMAP is not set +CONFIG_UNIX=y +CONFIG_XFRM=y +CONFIG_XFRM_USER=y +# CONFIG_XFRM_SUB_POLICY is not set +# CONFIG_XFRM_MIGRATE is not set +# CONFIG_XFRM_STATISTICS is not set +CONFIG_NET_KEY=m +# CONFIG_NET_KEY_MIGRATE is not set +CONFIG_INET=y +# CONFIG_IP_MULTICAST is not set +# CONFIG_IP_ADVANCED_ROUTER is not set +CONFIG_IP_FIB_HASH=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +# CONFIG_IP_PNP_BOOTP is not set +# CONFIG_IP_PNP_RARP is not set +# CONFIG_NET_IPIP is not set +# CONFIG_NET_IPGRE is not set +# CONFIG_ARPD is not set +# CONFIG_SYN_COOKIES is not set +CONFIG_INET_AH=y +CONFIG_INET_ESP=y +# CONFIG_INET_IPCOMP is not set +# CONFIG_INET_XFRM_TUNNEL is not set +CONFIG_INET_TUNNEL=y +CONFIG_INET_XFRM_MODE_TRANSPORT=y +CONFIG_INET_XFRM_MODE_TUNNEL=y +CONFIG_INET_XFRM_MODE_BEET=y +# CONFIG_INET_LRO is not set +CONFIG_INET_DIAG=y +CONFIG_INET_TCP_DIAG=y +# CONFIG_TCP_CONG_ADVANCED is not set +CONFIG_TCP_CONG_CUBIC=y +CONFIG_DEFAULT_TCP_CONG="cubic" +# CONFIG_TCP_MD5SIG is not set +CONFIG_IPV6=y +# CONFIG_IPV6_PRIVACY is not set +# CONFIG_IPV6_ROUTER_PREF is not set +# CONFIG_IPV6_OPTIMISTIC_DAD is not set +# CONFIG_INET6_AH is not set +# CONFIG_INET6_ESP is not set +# CONFIG_INET6_IPCOMP is not set +# CONFIG_IPV6_MIP6 is not set +# CONFIG_INET6_XFRM_TUNNEL is not set +# CONFIG_INET6_TUNNEL is not set +CONFIG_INET6_XFRM_MODE_TRANSPORT=y +CONFIG_INET6_XFRM_MODE_TUNNEL=y +CONFIG_INET6_XFRM_MODE_BEET=y +# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set +CONFIG_IPV6_SIT=y +# CONFIG_IPV6_SIT_6RD is not set +CONFIG_IPV6_NDISC_NODETYPE=y +# CONFIG_IPV6_TUNNEL is not set +# CONFIG_IPV6_MULTIPLE_TABLES is not set +# CONFIG_IPV6_MROUTE is not set +# CONFIG_NETWORK_SECMARK is not set +CONFIG_NETFILTER=y +# CONFIG_NETFILTER_DEBUG is not set +CONFIG_NETFILTER_ADVANCED=y + +# +# Core Netfilter Configuration +# +CONFIG_NETFILTER_NETLINK=m +# CONFIG_NETFILTER_NETLINK_QUEUE is not set +CONFIG_NETFILTER_NETLINK_LOG=m +CONFIG_NF_CONNTRACK=m +# CONFIG_NF_CT_ACCT is not set +# CONFIG_NF_CONNTRACK_MARK is not set +# CONFIG_NF_CONNTRACK_EVENTS is not set +CONFIG_NF_CT_PROTO_DCCP=m +CONFIG_NF_CT_PROTO_SCTP=m +CONFIG_NF_CT_PROTO_UDPLITE=m +# CONFIG_NF_CONNTRACK_AMANDA is not set +CONFIG_NF_CONNTRACK_FTP=m +# CONFIG_NF_CONNTRACK_H323 is not set +# CONFIG_NF_CONNTRACK_IRC is not set +# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set +# CONFIG_NF_CONNTRACK_PPTP is not set +# CONFIG_NF_CONNTRACK_SANE is not set +CONFIG_NF_CONNTRACK_SIP=m +# CONFIG_NF_CONNTRACK_TFTP is not set +CONFIG_NF_CT_NETLINK=m +# CONFIG_NETFILTER_TPROXY is not set +CONFIG_NETFILTER_XTABLES=m +# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set +# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set +# CONFIG_NETFILTER_XT_TARGET_DSCP is not set +CONFIG_NETFILTER_XT_TARGET_HL=m +# CONFIG_NETFILTER_XT_TARGET_LED is not set +# CONFIG_NETFILTER_XT_TARGET_MARK is not set +CONFIG_NETFILTER_XT_TARGET_NFLOG=m +# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set +# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set +CONFIG_NETFILTER_XT_TARGET_TCPMSS=m +# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set +# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set +# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set +# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set +# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set +# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set +# CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set +CONFIG_NETFILTER_XT_MATCH_DCCP=m +CONFIG_NETFILTER_XT_MATCH_DSCP=m +CONFIG_NETFILTER_XT_MATCH_ESP=m +# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set +# CONFIG_NETFILTER_XT_MATCH_HELPER is not set +CONFIG_NETFILTER_XT_MATCH_HL=m +# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set +# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set +CONFIG_NETFILTER_XT_MATCH_LIMIT=m +CONFIG_NETFILTER_XT_MATCH_MAC=m +CONFIG_NETFILTER_XT_MATCH_MARK=m +CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m +CONFIG_NETFILTER_XT_MATCH_OWNER=m +CONFIG_NETFILTER_XT_MATCH_POLICY=m +CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m +CONFIG_NETFILTER_XT_MATCH_QUOTA=m +# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set +CONFIG_NETFILTER_XT_MATCH_REALM=m +# CONFIG_NETFILTER_XT_MATCH_RECENT is not set +CONFIG_NETFILTER_XT_MATCH_SCTP=m +# CONFIG_NETFILTER_XT_MATCH_STATE is not set +# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set +# CONFIG_NETFILTER_XT_MATCH_STRING is not set +CONFIG_NETFILTER_XT_MATCH_TCPMSS=m +# CONFIG_NETFILTER_XT_MATCH_TIME is not set +# CONFIG_NETFILTER_XT_MATCH_U32 is not set +# CONFIG_NETFILTER_XT_MATCH_OSF is not set +# CONFIG_IP_VS is not set + +# +# IP: Netfilter Configuration +# +CONFIG_NF_DEFRAG_IPV4=m +CONFIG_NF_CONNTRACK_IPV4=m +CONFIG_NF_CONNTRACK_PROC_COMPAT=y +# CONFIG_IP_NF_QUEUE is not set +CONFIG_IP_NF_IPTABLES=m +CONFIG_IP_NF_MATCH_ADDRTYPE=m +CONFIG_IP_NF_MATCH_AH=m +CONFIG_IP_NF_MATCH_ECN=m +CONFIG_IP_NF_MATCH_TTL=m +CONFIG_IP_NF_FILTER=m +CONFIG_IP_NF_TARGET_REJECT=m +CONFIG_IP_NF_TARGET_LOG=m +# CONFIG_IP_NF_TARGET_ULOG is not set +CONFIG_NF_NAT=m +CONFIG_NF_NAT_NEEDED=y +CONFIG_IP_NF_TARGET_MASQUERADE=m +CONFIG_IP_NF_TARGET_NETMAP=m +CONFIG_IP_NF_TARGET_REDIRECT=m +CONFIG_NF_NAT_SNMP_BASIC=m +CONFIG_NF_NAT_PROTO_DCCP=m +CONFIG_NF_NAT_PROTO_UDPLITE=m +CONFIG_NF_NAT_PROTO_SCTP=m +CONFIG_NF_NAT_FTP=m +# CONFIG_NF_NAT_IRC is not set +# CONFIG_NF_NAT_TFTP is not set +# CONFIG_NF_NAT_AMANDA is not set +# CONFIG_NF_NAT_PPTP is not set +# CONFIG_NF_NAT_H323 is not set +CONFIG_NF_NAT_SIP=m +CONFIG_IP_NF_MANGLE=m +# CONFIG_IP_NF_TARGET_CLUSTERIP is not set +CONFIG_IP_NF_TARGET_ECN=m +CONFIG_IP_NF_TARGET_TTL=m +# CONFIG_IP_NF_RAW is not set +# CONFIG_IP_NF_ARPTABLES is not set + +# +# IPv6: Netfilter Configuration +# +# CONFIG_NF_CONNTRACK_IPV6 is not set +CONFIG_IP6_NF_QUEUE=m +CONFIG_IP6_NF_IPTABLES=m +CONFIG_IP6_NF_MATCH_AH=m +CONFIG_IP6_NF_MATCH_EUI64=m +CONFIG_IP6_NF_MATCH_FRAG=m +CONFIG_IP6_NF_MATCH_OPTS=m +CONFIG_IP6_NF_MATCH_HL=m +CONFIG_IP6_NF_MATCH_IPV6HEADER=m +CONFIG_IP6_NF_MATCH_MH=m +CONFIG_IP6_NF_MATCH_RT=m +CONFIG_IP6_NF_TARGET_HL=m +CONFIG_IP6_NF_TARGET_LOG=m +CONFIG_IP6_NF_FILTER=m +CONFIG_IP6_NF_TARGET_REJECT=m +CONFIG_IP6_NF_MANGLE=m +# CONFIG_IP6_NF_RAW is not set +CONFIG_IP_DCCP=m +CONFIG_INET_DCCP_DIAG=m + +# +# DCCP CCIDs Configuration (EXPERIMENTAL) +# +# CONFIG_IP_DCCP_CCID2_DEBUG is not set +CONFIG_IP_DCCP_CCID3=y +# CONFIG_IP_DCCP_CCID3_DEBUG is not set +CONFIG_IP_DCCP_CCID3_RTO=100 +CONFIG_IP_DCCP_TFRC_LIB=y + +# +# DCCP Kernel Hacking +# +# CONFIG_IP_DCCP_DEBUG is not set +CONFIG_IP_SCTP=y +# CONFIG_SCTP_DBG_MSG is not set +# CONFIG_SCTP_DBG_OBJCNT is not set +# CONFIG_SCTP_HMAC_NONE is not set +# CONFIG_SCTP_HMAC_SHA1 is not set +CONFIG_SCTP_HMAC_MD5=y +# CONFIG_RDS is not set +# CONFIG_TIPC is not set +# CONFIG_ATM is not set +# CONFIG_BRIDGE is not set +# CONFIG_NET_DSA is not set +CONFIG_VLAN_8021Q=m +# CONFIG_VLAN_8021Q_GVRP is not set +# CONFIG_DECNET is not set +# CONFIG_LLC2 is not set +# CONFIG_IPX is not set +# CONFIG_ATALK is not set +# CONFIG_X25 is not set +# CONFIG_LAPB is not set +# CONFIG_ECONET is not set +# CONFIG_WAN_ROUTER is not set +# CONFIG_PHONET is not set +# CONFIG_IEEE802154 is not set +CONFIG_NET_SCHED=y + +# +# Queueing/Scheduling +# +CONFIG_NET_SCH_CBQ=m +CONFIG_NET_SCH_HTB=m +# CONFIG_NET_SCH_HFSC is not set +CONFIG_NET_SCH_PRIO=m +# CONFIG_NET_SCH_MULTIQ is not set +# CONFIG_NET_SCH_RED is not set +# CONFIG_NET_SCH_SFQ is not set +# CONFIG_NET_SCH_TEQL is not set +CONFIG_NET_SCH_TBF=m +# CONFIG_NET_SCH_GRED is not set +# CONFIG_NET_SCH_DSMARK is not set +# CONFIG_NET_SCH_NETEM is not set +# CONFIG_NET_SCH_DRR is not set + +# +# Classification +# +CONFIG_NET_CLS=y +CONFIG_NET_CLS_BASIC=m +CONFIG_NET_CLS_TCINDEX=m +# CONFIG_NET_CLS_ROUTE4 is not set +CONFIG_NET_CLS_ROUTE=y +CONFIG_NET_CLS_FW=m +CONFIG_NET_CLS_U32=m +# CONFIG_CLS_U32_PERF is not set +# CONFIG_CLS_U32_MARK is not set +# CONFIG_NET_CLS_RSVP is not set +# CONFIG_NET_CLS_RSVP6 is not set +# CONFIG_NET_CLS_FLOW is not set +# CONFIG_NET_EMATCH is not set +# CONFIG_NET_CLS_ACT is not set +# CONFIG_NET_CLS_IND is not set +CONFIG_NET_SCH_FIFO=y +# CONFIG_DCB is not set + +# +# Network testing +# +# CONFIG_NET_PKTGEN is not set +# CONFIG_NET_DROP_MONITOR is not set +# CONFIG_HAMRADIO is not set +# CONFIG_CAN is not set +# CONFIG_IRDA is not set +# CONFIG_BT is not set +# CONFIG_AF_RXRPC is not set +# CONFIG_WIRELESS is not set +# CONFIG_WIMAX is not set +# CONFIG_RFKILL is not set +# CONFIG_NET_9P is not set + +# +# Device Drivers +# + +# +# Generic Driver Options +# +CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" +# CONFIG_DEVTMPFS is not set +# CONFIG_STANDALONE is not set +# CONFIG_PREVENT_FIRMWARE_BUILD is not set +CONFIG_FW_LOADER=y +CONFIG_FIRMWARE_IN_KERNEL=y +CONFIG_EXTRA_FIRMWARE="" +# CONFIG_DEBUG_DRIVER is not set +# CONFIG_DEBUG_DEVRES is not set +# CONFIG_SYS_HYPERVISOR is not set +# CONFIG_CONNECTOR is not set +CONFIG_MTD=y +# CONFIG_MTD_DEBUG is not set +# CONFIG_MTD_TESTS is not set +# CONFIG_MTD_CONCAT is not set +CONFIG_MTD_PARTITIONS=y +# CONFIG_MTD_REDBOOT_PARTS is not set +# CONFIG_MTD_CMDLINE_PARTS is not set +# CONFIG_MTD_AFS_PARTS is not set +# CONFIG_MTD_AR7_PARTS is not set + +# +# User Modules And Translation Layers +# +CONFIG_MTD_CHAR=y +CONFIG_MTD_BLKDEVS=y +CONFIG_MTD_BLOCK=y +# CONFIG_FTL is not set +# CONFIG_NFTL is not set +# CONFIG_INFTL is not set +# CONFIG_RFD_FTL is not set +# CONFIG_SSFDC is not set +# CONFIG_MTD_OOPS is not set + +# +# RAM/ROM/Flash chip drivers +# +# CONFIG_MTD_CFI is not set +# CONFIG_MTD_JEDECPROBE is not set +CONFIG_MTD_MAP_BANK_WIDTH_1=y +CONFIG_MTD_MAP_BANK_WIDTH_2=y +CONFIG_MTD_MAP_BANK_WIDTH_4=y +# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set +CONFIG_MTD_CFI_I1=y +CONFIG_MTD_CFI_I2=y +# CONFIG_MTD_CFI_I4 is not set +# CONFIG_MTD_CFI_I8 is not set +# CONFIG_MTD_RAM is not set +# CONFIG_MTD_ROM is not set +# CONFIG_MTD_ABSENT is not set + +# +# Mapping drivers for chip access +# +# CONFIG_MTD_COMPLEX_MAPPINGS is not set +# CONFIG_MTD_PLATRAM is not set + +# +# Self-contained MTD device drivers +# +# CONFIG_MTD_SLRAM is not set +# CONFIG_MTD_PHRAM is not set +# CONFIG_MTD_MTDRAM is not set +# CONFIG_MTD_BLOCK2MTD is not set + +# +# Disk-On-Chip Device Drivers +# +# CONFIG_MTD_DOC2000 is not set +# CONFIG_MTD_DOC2001 is not set +# CONFIG_MTD_DOC2001PLUS is not set +CONFIG_MTD_NAND=y +# CONFIG_MTD_NAND_VERIFY_WRITE is not set +# CONFIG_MTD_NAND_ECC_SMC is not set +# CONFIG_MTD_NAND_MUSEUM_IDS is not set +# CONFIG_MTD_NAND_GPIO is not set +CONFIG_MTD_NAND_IDS=y +# CONFIG_MTD_NAND_DISKONCHIP is not set +# CONFIG_MTD_NAND_NANDSIM is not set +# CONFIG_MTD_NAND_PLATFORM is not set +CONFIG_MTD_NAND_DAVINCI=y +# CONFIG_MTD_ONENAND is not set + +# +# LPDDR flash memory drivers +# +# CONFIG_MTD_LPDDR is not set + +# +# UBI - Unsorted block images +# +# CONFIG_MTD_UBI is not set +# CONFIG_PARPORT is not set +CONFIG_BLK_DEV=y +# CONFIG_BLK_DEV_COW_COMMON is not set +CONFIG_BLK_DEV_LOOP=y +# CONFIG_BLK_DEV_CRYPTOLOOP is not set + +# +# DRBD disabled because PROC_FS, INET or CONNECTOR not selected +# +# CONFIG_BLK_DEV_NBD is not set +# CONFIG_BLK_DEV_RAM is not set +# CONFIG_CDROM_PKTCDVD is not set +# CONFIG_ATA_OVER_ETH is not set +# CONFIG_MG_DISK is not set +CONFIG_MISC_DEVICES=y +# CONFIG_AD525X_DPOT is not set +# CONFIG_ICS932S401 is not set +# CONFIG_ENCLOSURE_SERVICES is not set +# CONFIG_ISL29003 is not set +CONFIG_FPGADL=m +CONFIG_FPGADL_PAR=m +CONFIG_DSPDL=m +CONFIG_DSPDL_DM644X=m +# CONFIG_SYSMOBTS_FACTORY_RESET is not set +# CONFIG_DS1682 is not set +# CONFIG_C2PORT is not set + +# +# EEPROM support +# +CONFIG_EEPROM_AT24=y +# CONFIG_EEPROM_LEGACY is not set +# CONFIG_EEPROM_MAX6875 is not set +# CONFIG_EEPROM_93CX6 is not set +CONFIG_HAVE_IDE=y +# CONFIG_IDE is not set + +# +# SCSI device support +# +# CONFIG_RAID_ATTRS is not set +# CONFIG_SCSI is not set +# CONFIG_SCSI_DMA is not set +# CONFIG_SCSI_NETLINK is not set +# CONFIG_ATA is not set +# CONFIG_MD is not set +CONFIG_NETDEVICES=y +# CONFIG_DUMMY is not set +# CONFIG_BONDING is not set +# CONFIG_MACVLAN is not set +# CONFIG_EQUALIZER is not set +CONFIG_TUN=m +# CONFIG_VETH is not set +CONFIG_PHYLIB=y + +# +# MII PHY device drivers +# +# CONFIG_MARVELL_PHY is not set +# CONFIG_DAVICOM_PHY is not set +# CONFIG_QSEMI_PHY is not set +# CONFIG_LXT_PHY is not set +# CONFIG_CICADA_PHY is not set +# CONFIG_VITESSE_PHY is not set +# CONFIG_SMSC_PHY is not set +# CONFIG_BROADCOM_PHY is not set +# CONFIG_ICPLUS_PHY is not set +CONFIG_REALTEK_PHY=y +# CONFIG_NATIONAL_PHY is not set +# CONFIG_STE10XP is not set +# CONFIG_LSI_ET1011C_PHY is not set +# CONFIG_FIXED_PHY is not set +# CONFIG_MDIO_BITBANG is not set +CONFIG_NET_ETHERNET=y +# CONFIG_MII is not set +# CONFIG_AX88796 is not set +# CONFIG_SMC91X is not set +CONFIG_TI_DAVINCI_EMAC=y +# CONFIG_DM9000 is not set +# CONFIG_ETHOC is not set +# CONFIG_SMC911X is not set +# CONFIG_SMSC911X is not set +# CONFIG_DNET is not set +# CONFIG_IBM_NEW_EMAC_ZMII is not set +# CONFIG_IBM_NEW_EMAC_RGMII is not set +# CONFIG_IBM_NEW_EMAC_TAH is not set +# CONFIG_IBM_NEW_EMAC_EMAC4 is not set +# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set +# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set +# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set +# CONFIG_B44 is not set +# CONFIG_KS8842 is not set +# CONFIG_KS8851_MLL is not set +# CONFIG_NETDEV_1000 is not set +# CONFIG_NETDEV_10000 is not set +# CONFIG_WLAN is not set + +# +# Enable WiMAX (Networking options) to see the WiMAX drivers +# +# CONFIG_WAN is not set +# CONFIG_PPP is not set +# CONFIG_SLIP is not set +CONFIG_NETCONSOLE=y +# CONFIG_NETCONSOLE_DYNAMIC is not set +CONFIG_NETPOLL=y +CONFIG_NETPOLL_TRAP=y +CONFIG_NET_POLL_CONTROLLER=y +CONFIG_ISDN=y +# CONFIG_ISDN_I4L is not set +# CONFIG_ISDN_CAPI is not set +# CONFIG_ISDN_DRV_GIGASET is not set +# CONFIG_HYSDN is not set +CONFIG_MISDN=m +CONFIG_MISDN_DSP=m +# CONFIG_MISDN_L1OIP is not set + +# +# mISDN hardware drivers +# +# CONFIG_MISDN_HFCPCI is not set +# CONFIG_MISDN_HFCMULTI is not set +# CONFIG_MISDN_HFCUSB is not set +# CONFIG_MISDN_AVMFRITZ is not set +# CONFIG_MISDN_SPEEDFAX is not set +# CONFIG_MISDN_INFINEON is not set +# CONFIG_MISDN_W6692 is not set +# CONFIG_MISDN_NETJET is not set +CONFIG_MISDN_L1LOOP=m +# CONFIG_PHONE is not set + +# +# Input device support +# +CONFIG_INPUT=y +# CONFIG_INPUT_FF_MEMLESS is not set +# CONFIG_INPUT_POLLDEV is not set +# CONFIG_INPUT_SPARSEKMAP is not set + +# +# Userland interfaces +# +# CONFIG_INPUT_MOUSEDEV is not set +# CONFIG_INPUT_JOYDEV is not set +CONFIG_INPUT_EVDEV=y +CONFIG_INPUT_EVBUG=y + +# +# Input Device Drivers +# +# CONFIG_INPUT_KEYBOARD is not set +# CONFIG_INPUT_MOUSE is not set +# CONFIG_INPUT_JOYSTICK is not set +# CONFIG_INPUT_TABLET is not set +# CONFIG_INPUT_TOUCHSCREEN is not set +# CONFIG_INPUT_MISC is not set + +# +# Hardware I/O ports +# +CONFIG_SERIO=y +CONFIG_SERIO_SERPORT=y +CONFIG_SERIO_LIBPS2=y +# CONFIG_SERIO_RAW is not set +# CONFIG_SERIO_ALTERA_PS2 is not set +# CONFIG_GAMEPORT is not set + +# +# Character devices +# +CONFIG_VT=y +CONFIG_CONSOLE_TRANSLATIONS=y +CONFIG_VT_CONSOLE=y +CONFIG_HW_CONSOLE=y +# CONFIG_VT_HW_CONSOLE_BINDING is not set +CONFIG_DEVKMEM=y +# CONFIG_SERIAL_NONSTANDARD is not set + +# +# Serial drivers +# +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_NR_UARTS=3 +CONFIG_SERIAL_8250_RUNTIME_UARTS=3 +# CONFIG_SERIAL_8250_EXTENDED is not set + +# +# Non-8250 serial port support +# +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +CONFIG_UNIX98_PTYS=y +# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set +CONFIG_LEGACY_PTYS=y +CONFIG_LEGACY_PTY_COUNT=256 +# CONFIG_IPMI_HANDLER is not set +# CONFIG_HW_RANDOM is not set +# CONFIG_R3964 is not set +# CONFIG_RAW_DRIVER is not set +# CONFIG_TCG_TPM is not set +CONFIG_I2C=y +CONFIG_I2C_BOARDINFO=y +CONFIG_I2C_COMPAT=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_HELPER_AUTO=y + +# +# I2C Hardware Bus support +# + +# +# I2C system bus drivers (mostly embedded / system-on-chip) +# +CONFIG_I2C_DAVINCI=y +# CONFIG_I2C_DESIGNWARE is not set +# CONFIG_I2C_GPIO is not set +# CONFIG_I2C_OCORES is not set +# CONFIG_I2C_SIMTEC is not set + +# +# External I2C/SMBus adapter drivers +# +# CONFIG_I2C_PARPORT_LIGHT is not set +# CONFIG_I2C_TAOS_EVM is not set + +# +# Other I2C/SMBus bus drivers +# +# CONFIG_I2C_PCA_PLATFORM is not set +# CONFIG_I2C_STUB is not set + +# +# Miscellaneous I2C Chip support +# +# CONFIG_SENSORS_TSL2550 is not set +# CONFIG_I2C_DEBUG_CORE is not set +# CONFIG_I2C_DEBUG_ALGO is not set +# CONFIG_I2C_DEBUG_BUS is not set +# CONFIG_I2C_DEBUG_CHIP is not set +# CONFIG_SPI is not set + +# +# PPS support +# +# CONFIG_PPS is not set +CONFIG_ARCH_REQUIRE_GPIOLIB=y +CONFIG_GPIOLIB=y +# CONFIG_DEBUG_GPIO is not set +CONFIG_GPIO_SYSFS=y + +# +# Memory mapped GPIO expanders: +# + +# +# I2C GPIO expanders: +# +# CONFIG_GPIO_MAX732X is not set +# CONFIG_GPIO_PCA953X is not set +# CONFIG_GPIO_PCF857X is not set +# CONFIG_GPIO_ADP5588 is not set + +# +# PCI GPIO expanders: +# + +# +# SPI GPIO expanders: +# + +# +# AC97 GPIO expanders: +# +# CONFIG_W1 is not set +# CONFIG_POWER_SUPPLY is not set +CONFIG_HWMON=y +# CONFIG_HWMON_VID is not set +# CONFIG_HWMON_DEBUG_CHIP is not set + +# +# Native drivers +# +# CONFIG_SENSORS_AD7414 is not set +# CONFIG_SENSORS_AD7418 is not set +# CONFIG_SENSORS_ADM1021 is not set +# CONFIG_SENSORS_ADM1025 is not set +# CONFIG_SENSORS_ADM1026 is not set +# CONFIG_SENSORS_ADM1029 is not set +# CONFIG_SENSORS_ADM1031 is not set +# CONFIG_SENSORS_ADM9240 is not set +# CONFIG_SENSORS_ADT7462 is not set +# CONFIG_SENSORS_ADT7470 is not set +# CONFIG_SENSORS_ADT7473 is not set +# CONFIG_SENSORS_ADT7475 is not set +# CONFIG_SENSORS_ATXP1 is not set +# CONFIG_SENSORS_DS1621 is not set +# CONFIG_SENSORS_F71805F is not set +# CONFIG_SENSORS_F71882FG is not set +# CONFIG_SENSORS_F75375S is not set +# CONFIG_SENSORS_G760A is not set +# CONFIG_SENSORS_GL518SM is not set +# CONFIG_SENSORS_GL520SM is not set +# CONFIG_SENSORS_IT87 is not set +# CONFIG_SENSORS_LM63 is not set +# CONFIG_SENSORS_LM73 is not set +CONFIG_SENSORS_LM75=y +# CONFIG_SENSORS_LM77 is not set +# CONFIG_SENSORS_LM78 is not set +# CONFIG_SENSORS_LM80 is not set +# CONFIG_SENSORS_LM83 is not set +# CONFIG_SENSORS_LM85 is not set +# CONFIG_SENSORS_LM87 is not set +# CONFIG_SENSORS_LM90 is not set +# CONFIG_SENSORS_LM92 is not set +# CONFIG_SENSORS_LM93 is not set +CONFIG_SENSORS_LTC1695=y +# CONFIG_SENSORS_LTC4215 is not set +# CONFIG_SENSORS_LTC4245 is not set +# CONFIG_SENSORS_LM95241 is not set +# CONFIG_SENSORS_MAX1619 is not set +# CONFIG_SENSORS_MAX6650 is not set +# CONFIG_SENSORS_PC87360 is not set +# CONFIG_SENSORS_PC87427 is not set +# CONFIG_SENSORS_PCF8591 is not set +# CONFIG_SENSORS_SHT15 is not set +# CONFIG_SENSORS_DME1737 is not set +# CONFIG_SENSORS_SMSC47M1 is not set +# CONFIG_SENSORS_SMSC47M192 is not set +# CONFIG_SENSORS_SMSC47B397 is not set +# CONFIG_SENSORS_ADS7828 is not set +# CONFIG_SENSORS_AMC6821 is not set +# CONFIG_SENSORS_THMC50 is not set +CONFIG_SENSORS_TMP401=y +# CONFIG_SENSORS_TMP421 is not set +# CONFIG_SENSORS_VT1211 is not set +# CONFIG_SENSORS_W83781D is not set +# CONFIG_SENSORS_W83791D is not set +# CONFIG_SENSORS_W83792D is not set +# CONFIG_SENSORS_W83793 is not set +# CONFIG_SENSORS_W83L785TS is not set +# CONFIG_SENSORS_W83L786NG is not set +# CONFIG_SENSORS_W83627HF is not set +# CONFIG_SENSORS_W83627EHF is not set +# CONFIG_SENSORS_LIS3_I2C is not set +CONFIG_THERMAL=y +CONFIG_THERMAL_HWMON=y +CONFIG_WATCHDOG=y +# CONFIG_WATCHDOG_NOWAYOUT is not set + +# +# Watchdog Device Drivers +# +# CONFIG_SOFT_WATCHDOG is not set +CONFIG_DAVINCI_WATCHDOG=m +CONFIG_SSB_POSSIBLE=y + +# +# Sonics Silicon Backplane +# +# CONFIG_SSB is not set + +# +# Multifunction device drivers +# +# CONFIG_MFD_CORE is not set +# CONFIG_MFD_SM501 is not set +# CONFIG_MFD_ASIC3 is not set +# CONFIG_HTC_EGPIO is not set +# CONFIG_HTC_PASIC3 is not set +# CONFIG_TPS65010 is not set +# CONFIG_TWL4030_CORE is not set +# CONFIG_MFD_TMIO is not set +# CONFIG_MFD_T7L66XB is not set +# CONFIG_MFD_TC6387XB is not set +# CONFIG_MFD_TC6393XB is not set +# CONFIG_PMIC_DA903X is not set +# CONFIG_PMIC_ADP5520 is not set +# CONFIG_MFD_WM8400 is not set +# CONFIG_MFD_WM831X is not set +# CONFIG_MFD_WM8350_I2C is not set +# CONFIG_MFD_PCF50633 is not set +# CONFIG_AB3100_CORE is not set +# CONFIG_MFD_88PM8607 is not set +# CONFIG_REGULATOR is not set +# CONFIG_MEDIA_SUPPORT is not set + +# +# Graphics support +# +# CONFIG_VGASTATE is not set +# CONFIG_VIDEO_OUTPUT_CONTROL is not set +# CONFIG_FB is not set +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set + +# +# Display device support +# +# CONFIG_DISPLAY_SUPPORT is not set + +# +# Console display driver support +# +# CONFIG_VGA_CONSOLE is not set +CONFIG_DUMMY_CONSOLE=y +# CONFIG_SOUND is not set +# CONFIG_HID_SUPPORT is not set +# CONFIG_USB_SUPPORT is not set +# CONFIG_MMC is not set +# CONFIG_MEMSTICK is not set +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y + +# +# LED drivers +# +# CONFIG_LEDS_PCA9532 is not set +CONFIG_LEDS_GPIO=m +CONFIG_LEDS_GPIO_PLATFORM=y +# CONFIG_LEDS_LP3944 is not set +# CONFIG_LEDS_PCA955X is not set +# CONFIG_LEDS_BD2802 is not set +# CONFIG_LEDS_LT3593 is not set + +# +# LED Triggers +# +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set +CONFIG_LEDS_TRIGGER_GPIO=y +CONFIG_LEDS_TRIGGER_DEFAULT_ON=y + +# +# iptables trigger is under Netfilter config (LED target) +# +# CONFIG_ACCESSIBILITY is not set +CONFIG_RTC_LIB=y +# CONFIG_RTC_CLASS is not set +# CONFIG_DMADEVICES is not set +# CONFIG_AUXDISPLAY is not set +# CONFIG_UIO is not set + +# +# TI VLYNQ +# +CONFIG_STAGING=y +# CONFIG_STAGING_EXCLUDE_BUILD is not set +# CONFIG_ECHO is not set + +# +# Qualcomm MSM Camera And Video +# + +# +# Camera Sensor Selection +# +# CONFIG_INPUT_GPIO is not set +# CONFIG_POHMELFS is not set +# CONFIG_PLAN9AUTH is not set + +# +# RAR Register Driver +# +# CONFIG_RAR_REGISTER is not set +# CONFIG_IIO is not set +# CONFIG_BATMAN_ADV is not set +# CONFIG_STRIP is not set +CONFIG_SYSMOBTS_RTFIFO=m +CONFIG_SYSMOBTS_MSGQUEUE=m + +# +# File systems +# +# CONFIG_EXT2_FS is not set +# CONFIG_EXT3_FS is not set +# CONFIG_EXT4_FS is not set +# CONFIG_REISERFS_FS is not set +# CONFIG_JFS_FS is not set +# CONFIG_FS_POSIX_ACL is not set +# CONFIG_XFS_FS is not set +# CONFIG_GFS2_FS is not set +# CONFIG_OCFS2_FS is not set +# CONFIG_BTRFS_FS is not set +# CONFIG_NILFS2_FS is not set +CONFIG_FILE_LOCKING=y +CONFIG_FSNOTIFY=y +CONFIG_DNOTIFY=y +CONFIG_INOTIFY=y +CONFIG_INOTIFY_USER=y +# CONFIG_QUOTA is not set +# CONFIG_AUTOFS_FS is not set +CONFIG_AUTOFS4_FS=y +# CONFIG_FUSE_FS is not set + +# +# Caches +# +# CONFIG_FSCACHE is not set + +# +# CD-ROM/DVD Filesystems +# +# CONFIG_ISO9660_FS is not set +# CONFIG_UDF_FS is not set + +# +# DOS/FAT/NT Filesystems +# +# CONFIG_MSDOS_FS is not set +# CONFIG_VFAT_FS is not set +# CONFIG_NTFS_FS is not set + +# +# Pseudo filesystems +# +CONFIG_PROC_FS=y +CONFIG_PROC_SYSCTL=y +CONFIG_PROC_PAGE_MONITOR=y +CONFIG_SYSFS=y +CONFIG_TMPFS=y +# CONFIG_TMPFS_POSIX_ACL is not set +# CONFIG_HUGETLB_PAGE is not set +# CONFIG_CONFIGFS_FS is not set +CONFIG_MISC_FILESYSTEMS=y +# CONFIG_ADFS_FS is not set +# CONFIG_AFFS_FS is not set +# CONFIG_HFS_FS is not set +# CONFIG_HFSPLUS_FS is not set +# CONFIG_BEFS_FS is not set +# CONFIG_BFS_FS is not set +# CONFIG_EFS_FS is not set +CONFIG_JFFS2_FS=y +CONFIG_JFFS2_FS_DEBUG=0 +CONFIG_JFFS2_FS_WRITEBUFFER=y +# CONFIG_JFFS2_FS_WBUF_VERIFY is not set +# CONFIG_JFFS2_SUMMARY is not set +# CONFIG_JFFS2_FS_XATTR is not set +# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set +CONFIG_JFFS2_ZLIB=y +# CONFIG_JFFS2_LZO is not set +CONFIG_JFFS2_RTIME=y +# CONFIG_JFFS2_RUBIN is not set +CONFIG_CRAMFS=y +# CONFIG_SQUASHFS is not set +# CONFIG_VXFS_FS is not set +# CONFIG_MINIX_FS is not set +# CONFIG_OMFS_FS is not set +# CONFIG_HPFS_FS is not set +# CONFIG_QNX4FS_FS is not set +# CONFIG_ROMFS_FS is not set +# CONFIG_SYSV_FS is not set +# CONFIG_UFS_FS is not set +CONFIG_NETWORK_FILESYSTEMS=y +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +# CONFIG_NFS_V3_ACL is not set +# CONFIG_NFS_V4 is not set +CONFIG_ROOT_NFS=y +CONFIG_NFSD=y +CONFIG_NFSD_V3=y +# CONFIG_NFSD_V3_ACL is not set +# CONFIG_NFSD_V4 is not set +CONFIG_LOCKD=y +CONFIG_LOCKD_V4=y +CONFIG_EXPORTFS=y +CONFIG_NFS_COMMON=y +CONFIG_SUNRPC=y +# CONFIG_RPCSEC_GSS_KRB5 is not set +# CONFIG_RPCSEC_GSS_SPKM3 is not set +# CONFIG_SMB_FS is not set +CONFIG_CIFS=y +# CONFIG_CIFS_STATS is not set +# CONFIG_CIFS_WEAK_PW_HASH is not set +# CONFIG_CIFS_XATTR is not set +# CONFIG_CIFS_DEBUG2 is not set +# CONFIG_CIFS_EXPERIMENTAL is not set +# CONFIG_NCP_FS is not set +# CONFIG_CODA_FS is not set +# CONFIG_AFS_FS is not set + +# +# Partition Types +# +CONFIG_PARTITION_ADVANCED=y +# CONFIG_ACORN_PARTITION is not set +# CONFIG_OSF_PARTITION is not set +# CONFIG_AMIGA_PARTITION is not set +# CONFIG_ATARI_PARTITION is not set +# CONFIG_MAC_PARTITION is not set +CONFIG_MSDOS_PARTITION=y +# CONFIG_BSD_DISKLABEL is not set +# CONFIG_MINIX_SUBPARTITION is not set +# CONFIG_SOLARIS_X86_PARTITION is not set +# CONFIG_UNIXWARE_DISKLABEL is not set +# CONFIG_LDM_PARTITION is not set +# CONFIG_SGI_PARTITION is not set +# CONFIG_ULTRIX_PARTITION is not set +# CONFIG_SUN_PARTITION is not set +# CONFIG_KARMA_PARTITION is not set +# CONFIG_EFI_PARTITION is not set +# CONFIG_SYSV68_PARTITION is not set +CONFIG_NLS=y +CONFIG_NLS_DEFAULT="iso8859-1" +CONFIG_NLS_CODEPAGE_437=y +# CONFIG_NLS_CODEPAGE_737 is not set +# CONFIG_NLS_CODEPAGE_775 is not set +# CONFIG_NLS_CODEPAGE_850 is not set +# CONFIG_NLS_CODEPAGE_852 is not set +# CONFIG_NLS_CODEPAGE_855 is not set +# CONFIG_NLS_CODEPAGE_857 is not set +# CONFIG_NLS_CODEPAGE_860 is not set +# CONFIG_NLS_CODEPAGE_861 is not set +# CONFIG_NLS_CODEPAGE_862 is not set +# CONFIG_NLS_CODEPAGE_863 is not set +# CONFIG_NLS_CODEPAGE_864 is not set +# CONFIG_NLS_CODEPAGE_865 is not set +# CONFIG_NLS_CODEPAGE_866 is not set +# CONFIG_NLS_CODEPAGE_869 is not set +# CONFIG_NLS_CODEPAGE_936 is not set +# CONFIG_NLS_CODEPAGE_950 is not set +# CONFIG_NLS_CODEPAGE_932 is not set +# CONFIG_NLS_CODEPAGE_949 is not set +# CONFIG_NLS_CODEPAGE_874 is not set +# CONFIG_NLS_ISO8859_8 is not set +# CONFIG_NLS_CODEPAGE_1250 is not set +# CONFIG_NLS_CODEPAGE_1251 is not set +CONFIG_NLS_ASCII=m +CONFIG_NLS_ISO8859_1=y +# CONFIG_NLS_ISO8859_2 is not set +# CONFIG_NLS_ISO8859_3 is not set +# CONFIG_NLS_ISO8859_4 is not set +# CONFIG_NLS_ISO8859_5 is not set +# CONFIG_NLS_ISO8859_6 is not set +# CONFIG_NLS_ISO8859_7 is not set +# CONFIG_NLS_ISO8859_9 is not set +# CONFIG_NLS_ISO8859_13 is not set +# CONFIG_NLS_ISO8859_14 is not set +# CONFIG_NLS_ISO8859_15 is not set +# CONFIG_NLS_KOI8_R is not set +# CONFIG_NLS_KOI8_U is not set +CONFIG_NLS_UTF8=m +# CONFIG_DLM is not set + +# +# Kernel hacking +# +# CONFIG_PRINTK_TIME is not set +CONFIG_ENABLE_WARN_DEPRECATED=y +CONFIG_ENABLE_MUST_CHECK=y +CONFIG_FRAME_WARN=1024 +CONFIG_MAGIC_SYSRQ=y +# CONFIG_STRIP_ASM_SYMS is not set +# CONFIG_UNUSED_SYMBOLS is not set +CONFIG_DEBUG_FS=y +# CONFIG_HEADERS_CHECK is not set +CONFIG_DEBUG_KERNEL=y +# CONFIG_DEBUG_SHIRQ is not set +CONFIG_DETECT_SOFTLOCKUP=y +# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set +CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 +CONFIG_DETECT_HUNG_TASK=y +# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set +CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 +CONFIG_SCHED_DEBUG=y +CONFIG_SCHEDSTATS=y +CONFIG_TIMER_STATS=y +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_SLUB_DEBUG_ON is not set +# CONFIG_SLUB_STATS is not set +# CONFIG_DEBUG_KMEMLEAK is not set +CONFIG_DEBUG_PREEMPT=y +CONFIG_DEBUG_RT_MUTEXES=y +CONFIG_DEBUG_PI_LIST=y +# CONFIG_RT_MUTEX_TESTER is not set +# CONFIG_DEBUG_SPINLOCK is not set +CONFIG_DEBUG_MUTEXES=y +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_SPINLOCK_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +CONFIG_STACKTRACE=y +# CONFIG_DEBUG_KOBJECT is not set +CONFIG_DEBUG_BUGVERBOSE=y +# CONFIG_DEBUG_INFO is not set +# CONFIG_DEBUG_VM is not set +# CONFIG_DEBUG_WRITECOUNT is not set +# CONFIG_DEBUG_MEMORY_INIT is not set +# CONFIG_DEBUG_LIST is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set +CONFIG_FRAME_POINTER=y +# CONFIG_BOOT_PRINTK_DELAY is not set +# CONFIG_RCU_TORTURE_TEST is not set +CONFIG_RCU_CPU_STALL_DETECTOR=y +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +# CONFIG_FAULT_INJECTION is not set +CONFIG_LATENCYTOP=y +# CONFIG_SYSCTL_SYSCALL_CHECK is not set +# CONFIG_PAGE_POISONING is not set +CONFIG_NOP_TRACER=y +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_RING_BUFFER=y +CONFIG_EVENT_TRACING=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_RING_BUFFER_ALLOW_SWAP=y +CONFIG_TRACING=y +CONFIG_TRACING_SUPPORT=y +CONFIG_FTRACE=y +# CONFIG_FUNCTION_TRACER is not set +# CONFIG_IRQSOFF_TRACER is not set +# CONFIG_PREEMPT_TRACER is not set +# CONFIG_SCHED_TRACER is not set +# CONFIG_ENABLE_DEFAULT_TRACERS is not set +# CONFIG_BOOT_TRACER is not set +CONFIG_BRANCH_PROFILE_NONE=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set +# CONFIG_PROFILE_ALL_BRANCHES is not set +# CONFIG_STACK_TRACER is not set +# CONFIG_KMEMTRACE is not set +# CONFIG_WORKQUEUE_TRACER is not set +# CONFIG_BLK_DEV_IO_TRACE is not set +# CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_DYNAMIC_DEBUG is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +# CONFIG_KGDB is not set +# CONFIG_ARM_UNWIND is not set +CONFIG_DEBUG_USER=y +CONFIG_DEBUG_ERRORS=y +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_LL is not set +# CONFIG_OC_ETM is not set + +# +# Security options +# +# CONFIG_KEYS is not set +# CONFIG_SECURITY is not set +# CONFIG_SECURITYFS is not set +# CONFIG_DEFAULT_SECURITY_SELINUX is not set +# CONFIG_DEFAULT_SECURITY_SMACK is not set +# CONFIG_DEFAULT_SECURITY_TOMOYO is not set +CONFIG_DEFAULT_SECURITY_DAC=y +CONFIG_DEFAULT_SECURITY="" +CONFIG_CRYPTO=y + +# +# Crypto core or helper +# +CONFIG_CRYPTO_ALGAPI=y +CONFIG_CRYPTO_ALGAPI2=y +CONFIG_CRYPTO_AEAD=y +CONFIG_CRYPTO_AEAD2=y +CONFIG_CRYPTO_BLKCIPHER=y +CONFIG_CRYPTO_BLKCIPHER2=y +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_HASH2=y +CONFIG_CRYPTO_RNG2=y +CONFIG_CRYPTO_PCOMP=y +CONFIG_CRYPTO_MANAGER=y +CONFIG_CRYPTO_MANAGER2=y +# CONFIG_CRYPTO_GF128MUL is not set +CONFIG_CRYPTO_NULL=y +CONFIG_CRYPTO_WORKQUEUE=y +# CONFIG_CRYPTO_CRYPTD is not set +CONFIG_CRYPTO_AUTHENC=y +# CONFIG_CRYPTO_TEST is not set + +# +# Authenticated Encryption with Associated Data +# +# CONFIG_CRYPTO_CCM is not set +# CONFIG_CRYPTO_GCM is not set +# CONFIG_CRYPTO_SEQIV is not set + +# +# Block modes +# +CONFIG_CRYPTO_CBC=y +# CONFIG_CRYPTO_CTR is not set +# CONFIG_CRYPTO_CTS is not set +# CONFIG_CRYPTO_ECB is not set +# CONFIG_CRYPTO_LRW is not set +# CONFIG_CRYPTO_PCBC is not set +# CONFIG_CRYPTO_XTS is not set + +# +# Hash modes +# +CONFIG_CRYPTO_HMAC=y +# CONFIG_CRYPTO_XCBC is not set +# CONFIG_CRYPTO_VMAC is not set + +# +# Digest +# +CONFIG_CRYPTO_CRC32C=y +# CONFIG_CRYPTO_GHASH is not set +# CONFIG_CRYPTO_MD4 is not set +CONFIG_CRYPTO_MD5=y +# CONFIG_CRYPTO_MICHAEL_MIC is not set +# CONFIG_CRYPTO_RMD128 is not set +CONFIG_CRYPTO_RMD160=m +CONFIG_CRYPTO_RMD256=m +# CONFIG_CRYPTO_RMD320 is not set +CONFIG_CRYPTO_SHA1=y +CONFIG_CRYPTO_SHA256=m +# CONFIG_CRYPTO_SHA512 is not set +# CONFIG_CRYPTO_TGR192 is not set +# CONFIG_CRYPTO_WP512 is not set + +# +# Ciphers +# +CONFIG_CRYPTO_AES=y +# CONFIG_CRYPTO_ANUBIS is not set +# CONFIG_CRYPTO_ARC4 is not set +# CONFIG_CRYPTO_BLOWFISH is not set +# CONFIG_CRYPTO_CAMELLIA is not set +# CONFIG_CRYPTO_CAST5 is not set +# CONFIG_CRYPTO_CAST6 is not set +CONFIG_CRYPTO_DES=y +# CONFIG_CRYPTO_FCRYPT is not set +# CONFIG_CRYPTO_KHAZAD is not set +# CONFIG_CRYPTO_SALSA20 is not set +# CONFIG_CRYPTO_SEED is not set +# CONFIG_CRYPTO_SERPENT is not set +# CONFIG_CRYPTO_TEA is not set +# CONFIG_CRYPTO_TWOFISH is not set + +# +# Compression +# +# CONFIG_CRYPTO_DEFLATE is not set +# CONFIG_CRYPTO_ZLIB is not set +# CONFIG_CRYPTO_LZO is not set + +# +# Random Number Generation +# +# CONFIG_CRYPTO_ANSI_CPRNG is not set +# CONFIG_CRYPTO_HW is not set +CONFIG_BINARY_PRINTF=y + +# +# Library routines +# +CONFIG_BITREVERSE=y +CONFIG_GENERIC_FIND_LAST_BIT=y +CONFIG_CRC_CCITT=y +# CONFIG_CRC16 is not set +CONFIG_CRC_T10DIF=y +# CONFIG_CRC_ITU_T is not set +CONFIG_CRC32=y +# CONFIG_CRC7 is not set +CONFIG_LIBCRC32C=y +CONFIG_ZLIB_INFLATE=y +CONFIG_ZLIB_DEFLATE=y +CONFIG_GENERIC_ALLOCATOR=y +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT=y +CONFIG_HAS_DMA=y +CONFIG_NLATTR=y diff --git a/recipes-bsp/linux/files/sysmobts-v2/defconfig b/recipes-bsp/linux/files/sysmobts-v2/defconfig new file mode 100644 index 0000000000..93fa160f68 --- /dev/null +++ b/recipes-bsp/linux/files/sysmobts-v2/defconfig @@ -0,0 +1,1831 @@ +# +# Automatically generated file; DO NOT EDIT. +# Linux/arm 3.2.14 Kernel Configuration +# +CONFIG_ARM=y +CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_GENERIC_GPIO=y +# CONFIG_ARCH_USES_GETTIMEOFFSET is not set +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_KTIME_SCALAR=y +CONFIG_HAVE_PROC_CPU=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_HARDIRQS_SW_RESEND=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_RWSEM_GENERIC_SPINLOCK=y +CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_ZONE_DMA=y +CONFIG_NEED_DMA_MAP_STATE=y +CONFIG_VECTORS_BASE=0xffff0000 +CONFIG_ARM_PATCH_PHYS_VIRT=y +CONFIG_GENERIC_BUG=y +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" +CONFIG_HAVE_IRQ_WORK=y +CONFIG_IRQ_WORK=y + +# +# General setup +# +CONFIG_EXPERIMENTAL=y +CONFIG_BROKEN_ON_SMP=y +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_CROSS_COMPILE="" +CONFIG_LOCALVERSION="" +CONFIG_LOCALVERSION_AUTO=y +CONFIG_HAVE_KERNEL_GZIP=y +CONFIG_HAVE_KERNEL_LZMA=y +CONFIG_HAVE_KERNEL_LZO=y +CONFIG_KERNEL_GZIP=y +# CONFIG_KERNEL_LZMA is not set +# CONFIG_KERNEL_LZO is not set +CONFIG_DEFAULT_HOSTNAME="(none)" +# CONFIG_SWAP is not set +CONFIG_SYSVIPC=y +CONFIG_SYSVIPC_SYSCTL=y +CONFIG_POSIX_MQUEUE=y +CONFIG_POSIX_MQUEUE_SYSCTL=y +# CONFIG_BSD_PROCESS_ACCT is not set +# CONFIG_FHANDLE is not set +# CONFIG_TASKSTATS is not set +# CONFIG_AUDIT is not set +CONFIG_HAVE_GENERIC_HARDIRQS=y + +# +# IRQ subsystem +# +CONFIG_GENERIC_HARDIRQS=y +CONFIG_HAVE_SPARSE_IRQ=y +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_GENERIC_IRQ_CHIP=y +# CONFIG_SPARSE_IRQ is not set + +# +# RCU Subsystem +# +CONFIG_TINY_PREEMPT_RCU=y +CONFIG_PREEMPT_RCU=y +# CONFIG_RCU_TRACE is not set +# CONFIG_TREE_RCU_TRACE is not set +# CONFIG_RCU_BOOST is not set +CONFIG_IKCONFIG=m +CONFIG_IKCONFIG_PROC=y +CONFIG_LOG_BUF_SHIFT=14 +# CONFIG_CGROUPS is not set +# CONFIG_NAMESPACES is not set +# CONFIG_SCHED_AUTOGROUP is not set +# CONFIG_SYSFS_DEPRECATED is not set +# CONFIG_RELAY is not set +# CONFIG_BLK_DEV_INITRD is not set +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +CONFIG_SYSCTL=y +CONFIG_ANON_INODES=y +CONFIG_EXPERT=y +CONFIG_UID16=y +CONFIG_SYSCTL_SYSCALL=y +CONFIG_KALLSYMS=y +CONFIG_KALLSYMS_ALL=y +CONFIG_HOTPLUG=y +CONFIG_PRINTK=y +CONFIG_BUG=y +CONFIG_ELF_CORE=y +CONFIG_BASE_FULL=y +CONFIG_FUTEX=y +CONFIG_EPOLL=y +CONFIG_SIGNALFD=y +CONFIG_TIMERFD=y +CONFIG_EVENTFD=y +CONFIG_SHMEM=y +CONFIG_AIO=y +CONFIG_EMBEDDED=y +CONFIG_HAVE_PERF_EVENTS=y +CONFIG_PERF_USE_VMALLOC=y + +# +# Kernel Performance Events And Counters +# +CONFIG_PERF_EVENTS=y +# CONFIG_PERF_COUNTERS is not set +# CONFIG_DEBUG_PERF_USE_VMALLOC is not set +CONFIG_VM_EVENT_COUNTERS=y +CONFIG_SLUB_DEBUG=y +CONFIG_COMPAT_BRK=y +# CONFIG_SLAB is not set +CONFIG_SLUB=y +# CONFIG_SLOB is not set +CONFIG_PROFILING=y +CONFIG_OPROFILE=m +CONFIG_HAVE_OPROFILE=y +# CONFIG_KPROBES is not set +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_CLK=y +CONFIG_HAVE_DMA_API_DEBUG=y + +# +# GCOV-based kernel profiling +# +# CONFIG_GCOV_KERNEL is not set +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +CONFIG_SLABINFO=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +# CONFIG_MODULE_FORCE_LOAD is not set +CONFIG_MODULE_UNLOAD=y +CONFIG_MODULE_FORCE_UNLOAD=y +CONFIG_MODVERSIONS=y +# CONFIG_MODULE_SRCVERSION_ALL is not set +CONFIG_BLOCK=y +CONFIG_LBDAF=y +# CONFIG_BLK_DEV_BSG is not set +# CONFIG_BLK_DEV_BSGLIB is not set +# CONFIG_BLK_DEV_INTEGRITY is not set + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +# CONFIG_IOSCHED_DEADLINE is not set +# CONFIG_IOSCHED_CFQ is not set +CONFIG_DEFAULT_NOOP=y +CONFIG_DEFAULT_IOSCHED="noop" +# CONFIG_INLINE_SPIN_TRYLOCK is not set +# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK is not set +# CONFIG_INLINE_SPIN_LOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK_IRQ is not set +# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set +# CONFIG_INLINE_SPIN_UNLOCK is not set +# CONFIG_INLINE_SPIN_UNLOCK_BH is not set +# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set +# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_READ_TRYLOCK is not set +# CONFIG_INLINE_READ_LOCK is not set +# CONFIG_INLINE_READ_LOCK_BH is not set +# CONFIG_INLINE_READ_LOCK_IRQ is not set +# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set +# CONFIG_INLINE_READ_UNLOCK is not set +# CONFIG_INLINE_READ_UNLOCK_BH is not set +# CONFIG_INLINE_READ_UNLOCK_IRQ is not set +# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_WRITE_TRYLOCK is not set +# CONFIG_INLINE_WRITE_LOCK is not set +# CONFIG_INLINE_WRITE_LOCK_BH is not set +# CONFIG_INLINE_WRITE_LOCK_IRQ is not set +# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set +# CONFIG_INLINE_WRITE_UNLOCK is not set +# CONFIG_INLINE_WRITE_UNLOCK_BH is not set +# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set +# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set +# CONFIG_MUTEX_SPIN_ON_OWNER is not set +CONFIG_FREEZER=y + +# +# System Type +# +CONFIG_MMU=y +# CONFIG_ARCH_INTEGRATOR is not set +# CONFIG_ARCH_REALVIEW is not set +# CONFIG_ARCH_VERSATILE is not set +# CONFIG_ARCH_VEXPRESS is not set +# CONFIG_ARCH_AT91 is not set +# CONFIG_ARCH_BCMRING is not set +# CONFIG_ARCH_HIGHBANK is not set +# CONFIG_ARCH_CLPS711X is not set +# CONFIG_ARCH_CNS3XXX is not set +# CONFIG_ARCH_GEMINI is not set +# CONFIG_ARCH_PRIMA2 is not set +# CONFIG_ARCH_EBSA110 is not set +# CONFIG_ARCH_EP93XX is not set +# CONFIG_ARCH_FOOTBRIDGE is not set +# CONFIG_ARCH_MXC is not set +# CONFIG_ARCH_MXS is not set +# CONFIG_ARCH_NETX is not set +# CONFIG_ARCH_H720X is not set +# CONFIG_ARCH_IOP13XX is not set +# CONFIG_ARCH_IOP32X is not set +# CONFIG_ARCH_IOP33X is not set +# CONFIG_ARCH_IXP23XX is not set +# CONFIG_ARCH_IXP2000 is not set +# CONFIG_ARCH_IXP4XX is not set +# CONFIG_ARCH_DOVE is not set +# CONFIG_ARCH_KIRKWOOD is not set +# CONFIG_ARCH_LPC32XX is not set +# CONFIG_ARCH_MV78XX0 is not set +# CONFIG_ARCH_ORION5X is not set +# CONFIG_ARCH_MMP is not set +# CONFIG_ARCH_KS8695 is not set +# CONFIG_ARCH_W90X900 is not set +# CONFIG_ARCH_TEGRA is not set +# CONFIG_ARCH_PICOXCELL is not set +# CONFIG_ARCH_PNX4008 is not set +# CONFIG_ARCH_PXA is not set +# CONFIG_ARCH_MSM is not set +# CONFIG_ARCH_SHMOBILE is not set +# CONFIG_ARCH_RPC is not set +# CONFIG_ARCH_SA1100 is not set +# CONFIG_ARCH_S3C2410 is not set +# CONFIG_ARCH_S3C64XX is not set +# CONFIG_ARCH_S5P64X0 is not set +# CONFIG_ARCH_S5PC100 is not set +# CONFIG_ARCH_S5PV210 is not set +# CONFIG_ARCH_EXYNOS is not set +# CONFIG_ARCH_SHARK is not set +# CONFIG_ARCH_TCC_926 is not set +# CONFIG_ARCH_U300 is not set +# CONFIG_ARCH_U8500 is not set +# CONFIG_ARCH_NOMADIK is not set +CONFIG_ARCH_DAVINCI=y +# CONFIG_ARCH_OMAP is not set +# CONFIG_PLAT_SPEAR is not set +# CONFIG_ARCH_VT8500 is not set +# CONFIG_ARCH_ZYNQ is not set +CONFIG_AINTC=y +CONFIG_ARCH_DAVINCI_DMx=y + +# +# TI DaVinci Implementations +# + +# +# DaVinci Core Type +# +CONFIG_ARCH_DAVINCI_DM644x=y +# CONFIG_ARCH_DAVINCI_DM355 is not set +# CONFIG_ARCH_DAVINCI_DM646x is not set +# CONFIG_ARCH_DAVINCI_DA830 is not set +# CONFIG_ARCH_DAVINCI_DA850 is not set +# CONFIG_ARCH_DAVINCI_DM365 is not set +# CONFIG_ARCH_DAVINCI_TNETV107X is not set + +# +# DaVinci Board Type +# +# CONFIG_MACH_DAVINCI_EVM is not set +# CONFIG_MACH_SFFSDR is not set +# CONFIG_MACH_SYSMOBTS_V1 is not set +CONFIG_MACH_SYSMOBTS_V2=y +# CONFIG_MACH_NEUROS_OSD2 is not set +# CONFIG_GPIO_PCA953X is not set +# CONFIG_KEYBOARD_GPIO_POLLED is not set +# CONFIG_DAVINCI_MUX is not set +# CONFIG_DAVINCI_RESET_CLOCKS is not set + +# +# System MMU +# + +# +# Processor Type +# +CONFIG_CPU_ARM926T=y +CONFIG_CPU_32v5=y +CONFIG_CPU_ABRT_EV5TJ=y +CONFIG_CPU_PABRT_LEGACY=y +CONFIG_CPU_CACHE_VIVT=y +CONFIG_CPU_COPY_V4WB=y +CONFIG_CPU_TLB_V4WBI=y +CONFIG_CPU_CP15=y +CONFIG_CPU_CP15_MMU=y +CONFIG_CPU_USE_DOMAINS=y + +# +# Processor Features +# +CONFIG_ARM_THUMB=y +# CONFIG_CPU_ICACHE_DISABLE is not set +# CONFIG_CPU_DCACHE_DISABLE is not set +# CONFIG_CPU_DCACHE_WRITETHROUGH is not set +# CONFIG_CPU_CACHE_ROUND_ROBIN is not set +CONFIG_ARM_L1_CACHE_SHIFT=5 + +# +# Bus support +# +# CONFIG_PCI_SYSCALL is not set +# CONFIG_ARCH_SUPPORTS_MSI is not set +# CONFIG_PCCARD is not set + +# +# Kernel Features +# +CONFIG_TICK_ONESHOT=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +CONFIG_VMSPLIT_3G=y +# CONFIG_VMSPLIT_2G is not set +# CONFIG_VMSPLIT_1G is not set +CONFIG_PAGE_OFFSET=0xC0000000 +# CONFIG_PREEMPT_NONE is not set +# CONFIG_PREEMPT_VOLUNTARY is not set +CONFIG_PREEMPT=y +CONFIG_PREEMPT_COUNT=y +CONFIG_HZ=100 +CONFIG_AEABI=y +CONFIG_OABI_COMPAT=y +CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y +# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set +# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set +CONFIG_HAVE_ARCH_PFN_VALID=y +# CONFIG_HIGHMEM is not set +CONFIG_SELECT_MEMORY_MODEL=y +CONFIG_FLATMEM_MANUAL=y +CONFIG_FLATMEM=y +CONFIG_FLAT_NODE_MEM_MAP=y +CONFIG_HAVE_MEMBLOCK=y +CONFIG_PAGEFLAGS_EXTENDED=y +CONFIG_SPLIT_PTLOCK_CPUS=999999 +# CONFIG_COMPACTION is not set +# CONFIG_PHYS_ADDR_T_64BIT is not set +CONFIG_ZONE_DMA_FLAG=1 +CONFIG_BOUNCE=y +CONFIG_VIRT_TO_BUS=y +# CONFIG_KSM is not set +CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +CONFIG_NEED_PER_CPU_KM=y +# CONFIG_CLEANCACHE is not set +CONFIG_FORCE_MAX_ZONEORDER=11 +CONFIG_LEDS=y +CONFIG_LEDS_CPU=y +CONFIG_ALIGNMENT_TRAP=y +# CONFIG_UACCESS_WITH_MEMCPY is not set +# CONFIG_SECCOMP is not set +# CONFIG_CC_STACKPROTECTOR is not set +# CONFIG_DEPRECATED_PARAM_STRUCT is not set + +# +# Boot options +# +# CONFIG_USE_OF is not set +CONFIG_ZBOOT_ROM_TEXT=0x0 +CONFIG_ZBOOT_ROM_BSS=0x0 +CONFIG_CMDLINE="" +# CONFIG_XIP_KERNEL is not set +CONFIG_KEXEC=y +CONFIG_ATAGS_PROC=y +# CONFIG_CRASH_DUMP is not set +# CONFIG_AUTO_ZRELADDR is not set + +# +# CPU Power Management +# +# CONFIG_CPU_IDLE is not set + +# +# Floating point emulation +# + +# +# At least one emulation must be selected +# +# CONFIG_FPE_NWFPE is not set +CONFIG_FPE_FASTFPE=y +# CONFIG_VFP is not set + +# +# Userspace binary formats +# +CONFIG_BINFMT_ELF=y +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set +CONFIG_HAVE_AOUT=y +# CONFIG_BINFMT_AOUT is not set +# CONFIG_BINFMT_MISC is not set + +# +# Power management options +# +CONFIG_SUSPEND=y +CONFIG_SUSPEND_FREEZER=y +CONFIG_PM_SLEEP=y +# CONFIG_PM_RUNTIME is not set +CONFIG_PM=y +# CONFIG_PM_DEBUG is not set +# CONFIG_APM_EMULATION is not set +CONFIG_PM_CLK=y +CONFIG_CPU_PM=y +CONFIG_ARCH_SUSPEND_POSSIBLE=y +CONFIG_ARM_CPU_SUSPEND=y +CONFIG_NET=y + +# +# Networking options +# +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_XFRM=y +CONFIG_XFRM_USER=y +# CONFIG_XFRM_SUB_POLICY is not set +# CONFIG_XFRM_MIGRATE is not set +# CONFIG_XFRM_STATISTICS is not set +CONFIG_NET_KEY=m +# CONFIG_NET_KEY_MIGRATE is not set +CONFIG_INET=y +# CONFIG_IP_MULTICAST is not set +# CONFIG_IP_ADVANCED_ROUTER is not set +CONFIG_IP_ROUTE_CLASSID=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +# CONFIG_IP_PNP_BOOTP is not set +# CONFIG_IP_PNP_RARP is not set +# CONFIG_NET_IPIP is not set +# CONFIG_NET_IPGRE_DEMUX is not set +# CONFIG_ARPD is not set +# CONFIG_SYN_COOKIES is not set +CONFIG_INET_AH=y +CONFIG_INET_ESP=y +# CONFIG_INET_IPCOMP is not set +# CONFIG_INET_XFRM_TUNNEL is not set +CONFIG_INET_TUNNEL=y +CONFIG_INET_XFRM_MODE_TRANSPORT=y +CONFIG_INET_XFRM_MODE_TUNNEL=y +CONFIG_INET_XFRM_MODE_BEET=y +# CONFIG_INET_LRO is not set +CONFIG_INET_DIAG=y +CONFIG_INET_TCP_DIAG=y +# CONFIG_TCP_CONG_ADVANCED is not set +CONFIG_TCP_CONG_CUBIC=y +CONFIG_DEFAULT_TCP_CONG="cubic" +# CONFIG_TCP_MD5SIG is not set +CONFIG_IPV6=y +# CONFIG_IPV6_PRIVACY is not set +# CONFIG_IPV6_ROUTER_PREF is not set +# CONFIG_IPV6_OPTIMISTIC_DAD is not set +# CONFIG_INET6_AH is not set +# CONFIG_INET6_ESP is not set +# CONFIG_INET6_IPCOMP is not set +# CONFIG_IPV6_MIP6 is not set +# CONFIG_INET6_XFRM_TUNNEL is not set +# CONFIG_INET6_TUNNEL is not set +CONFIG_INET6_XFRM_MODE_TRANSPORT=y +CONFIG_INET6_XFRM_MODE_TUNNEL=y +CONFIG_INET6_XFRM_MODE_BEET=y +# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set +CONFIG_IPV6_SIT=y +# CONFIG_IPV6_SIT_6RD is not set +CONFIG_IPV6_NDISC_NODETYPE=y +# CONFIG_IPV6_TUNNEL is not set +# CONFIG_IPV6_MULTIPLE_TABLES is not set +# CONFIG_IPV6_MROUTE is not set +# CONFIG_NETWORK_SECMARK is not set +# CONFIG_NETWORK_PHY_TIMESTAMPING is not set +CONFIG_NETFILTER=y +# CONFIG_NETFILTER_DEBUG is not set +CONFIG_NETFILTER_ADVANCED=y + +# +# Core Netfilter Configuration +# +CONFIG_NETFILTER_NETLINK=m +# CONFIG_NETFILTER_NETLINK_QUEUE is not set +CONFIG_NETFILTER_NETLINK_LOG=m +CONFIG_NF_CONNTRACK=m +# CONFIG_NF_CONNTRACK_MARK is not set +# CONFIG_NF_CONNTRACK_EVENTS is not set +# CONFIG_NF_CONNTRACK_TIMESTAMP is not set +CONFIG_NF_CT_PROTO_DCCP=m +CONFIG_NF_CT_PROTO_SCTP=m +CONFIG_NF_CT_PROTO_UDPLITE=m +# CONFIG_NF_CONNTRACK_AMANDA is not set +CONFIG_NF_CONNTRACK_FTP=m +# CONFIG_NF_CONNTRACK_H323 is not set +# CONFIG_NF_CONNTRACK_IRC is not set +# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set +# CONFIG_NF_CONNTRACK_SNMP is not set +# CONFIG_NF_CONNTRACK_PPTP is not set +# CONFIG_NF_CONNTRACK_SANE is not set +CONFIG_NF_CONNTRACK_SIP=m +# CONFIG_NF_CONNTRACK_TFTP is not set +CONFIG_NF_CT_NETLINK=m +# CONFIG_NETFILTER_TPROXY is not set +CONFIG_NETFILTER_XTABLES=m + +# +# Xtables combined modules +# +CONFIG_NETFILTER_XT_MARK=m +# CONFIG_NETFILTER_XT_CONNMARK is not set + +# +# Xtables targets +# +# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set +# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set +# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set +# CONFIG_NETFILTER_XT_TARGET_DSCP is not set +CONFIG_NETFILTER_XT_TARGET_HL=m +# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set +# CONFIG_NETFILTER_XT_TARGET_LED is not set +# CONFIG_NETFILTER_XT_TARGET_MARK is not set +CONFIG_NETFILTER_XT_TARGET_NFLOG=m +# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set +# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set +# CONFIG_NETFILTER_XT_TARGET_TEE is not set +CONFIG_NETFILTER_XT_TARGET_TCPMSS=m +# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set + +# +# Xtables matches +# +# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set +# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set +# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set +# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set +# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set +# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set +# CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set +# CONFIG_NETFILTER_XT_MATCH_CPU is not set +CONFIG_NETFILTER_XT_MATCH_DCCP=m +# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set +CONFIG_NETFILTER_XT_MATCH_DSCP=m +CONFIG_NETFILTER_XT_MATCH_ESP=m +# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set +# CONFIG_NETFILTER_XT_MATCH_HELPER is not set +CONFIG_NETFILTER_XT_MATCH_HL=m +# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set +# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set +CONFIG_NETFILTER_XT_MATCH_LIMIT=m +CONFIG_NETFILTER_XT_MATCH_MAC=m +CONFIG_NETFILTER_XT_MATCH_MARK=m +CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m +# CONFIG_NETFILTER_XT_MATCH_OSF is not set +CONFIG_NETFILTER_XT_MATCH_OWNER=m +CONFIG_NETFILTER_XT_MATCH_POLICY=m +CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m +CONFIG_NETFILTER_XT_MATCH_QUOTA=m +# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set +CONFIG_NETFILTER_XT_MATCH_REALM=m +# CONFIG_NETFILTER_XT_MATCH_RECENT is not set +CONFIG_NETFILTER_XT_MATCH_SCTP=m +# CONFIG_NETFILTER_XT_MATCH_STATE is not set +# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set +# CONFIG_NETFILTER_XT_MATCH_STRING is not set +CONFIG_NETFILTER_XT_MATCH_TCPMSS=m +# CONFIG_NETFILTER_XT_MATCH_TIME is not set +# CONFIG_NETFILTER_XT_MATCH_U32 is not set +# CONFIG_IP_SET is not set +# CONFIG_IP_VS is not set + +# +# IP: Netfilter Configuration +# +CONFIG_NF_DEFRAG_IPV4=m +CONFIG_NF_CONNTRACK_IPV4=m +CONFIG_NF_CONNTRACK_PROC_COMPAT=y +# CONFIG_IP_NF_QUEUE is not set +CONFIG_IP_NF_IPTABLES=m +CONFIG_IP_NF_MATCH_AH=m +CONFIG_IP_NF_MATCH_ECN=m +CONFIG_IP_NF_MATCH_TTL=m +CONFIG_IP_NF_FILTER=m +CONFIG_IP_NF_TARGET_REJECT=m +CONFIG_IP_NF_TARGET_LOG=m +# CONFIG_IP_NF_TARGET_ULOG is not set +CONFIG_NF_NAT=m +CONFIG_NF_NAT_NEEDED=y +CONFIG_IP_NF_TARGET_MASQUERADE=m +CONFIG_IP_NF_TARGET_NETMAP=m +CONFIG_IP_NF_TARGET_REDIRECT=m +CONFIG_NF_NAT_PROTO_DCCP=m +CONFIG_NF_NAT_PROTO_UDPLITE=m +CONFIG_NF_NAT_PROTO_SCTP=m +CONFIG_NF_NAT_FTP=m +# CONFIG_NF_NAT_IRC is not set +# CONFIG_NF_NAT_TFTP is not set +# CONFIG_NF_NAT_AMANDA is not set +# CONFIG_NF_NAT_PPTP is not set +# CONFIG_NF_NAT_H323 is not set +CONFIG_NF_NAT_SIP=m +CONFIG_IP_NF_MANGLE=m +# CONFIG_IP_NF_TARGET_CLUSTERIP is not set +CONFIG_IP_NF_TARGET_ECN=m +CONFIG_IP_NF_TARGET_TTL=m +# CONFIG_IP_NF_RAW is not set +# CONFIG_IP_NF_ARPTABLES is not set + +# +# IPv6: Netfilter Configuration +# +# CONFIG_NF_DEFRAG_IPV6 is not set +# CONFIG_NF_CONNTRACK_IPV6 is not set +CONFIG_IP6_NF_QUEUE=m +CONFIG_IP6_NF_IPTABLES=m +CONFIG_IP6_NF_MATCH_AH=m +CONFIG_IP6_NF_MATCH_EUI64=m +CONFIG_IP6_NF_MATCH_FRAG=m +CONFIG_IP6_NF_MATCH_OPTS=m +CONFIG_IP6_NF_MATCH_HL=m +CONFIG_IP6_NF_MATCH_IPV6HEADER=m +CONFIG_IP6_NF_MATCH_MH=m +CONFIG_IP6_NF_MATCH_RT=m +CONFIG_IP6_NF_TARGET_HL=m +CONFIG_IP6_NF_TARGET_LOG=m +CONFIG_IP6_NF_FILTER=m +CONFIG_IP6_NF_TARGET_REJECT=m +CONFIG_IP6_NF_MANGLE=m +# CONFIG_IP6_NF_RAW is not set +CONFIG_IP_DCCP=m +CONFIG_INET_DCCP_DIAG=m + +# +# DCCP CCIDs Configuration (EXPERIMENTAL) +# +# CONFIG_IP_DCCP_CCID2_DEBUG is not set +CONFIG_IP_DCCP_CCID3=y +# CONFIG_IP_DCCP_CCID3_DEBUG is not set +CONFIG_IP_DCCP_TFRC_LIB=y + +# +# DCCP Kernel Hacking +# +# CONFIG_IP_DCCP_DEBUG is not set +CONFIG_IP_SCTP=y +# CONFIG_SCTP_DBG_MSG is not set +# CONFIG_SCTP_DBG_OBJCNT is not set +# CONFIG_SCTP_HMAC_NONE is not set +# CONFIG_SCTP_HMAC_SHA1 is not set +CONFIG_SCTP_HMAC_MD5=y +# CONFIG_RDS is not set +# CONFIG_TIPC is not set +# CONFIG_ATM is not set +# CONFIG_L2TP is not set +# CONFIG_BRIDGE is not set +# CONFIG_NET_DSA is not set +CONFIG_VLAN_8021Q=m +# CONFIG_VLAN_8021Q_GVRP is not set +# CONFIG_DECNET is not set +# CONFIG_LLC2 is not set +# CONFIG_IPX is not set +# CONFIG_ATALK is not set +# CONFIG_X25 is not set +# CONFIG_LAPB is not set +# CONFIG_ECONET is not set +# CONFIG_WAN_ROUTER is not set +# CONFIG_PHONET is not set +# CONFIG_IEEE802154 is not set +CONFIG_NET_SCHED=y + +# +# Queueing/Scheduling +# +CONFIG_NET_SCH_CBQ=m +CONFIG_NET_SCH_HTB=m +# CONFIG_NET_SCH_HFSC is not set +CONFIG_NET_SCH_PRIO=m +# CONFIG_NET_SCH_MULTIQ is not set +# CONFIG_NET_SCH_RED is not set +# CONFIG_NET_SCH_SFB is not set +# CONFIG_NET_SCH_SFQ is not set +# CONFIG_NET_SCH_TEQL is not set +CONFIG_NET_SCH_TBF=m +# CONFIG_NET_SCH_GRED is not set +# CONFIG_NET_SCH_DSMARK is not set +# CONFIG_NET_SCH_NETEM is not set +# CONFIG_NET_SCH_DRR is not set +# CONFIG_NET_SCH_MQPRIO is not set +# CONFIG_NET_SCH_CHOKE is not set +# CONFIG_NET_SCH_QFQ is not set + +# +# Classification +# +CONFIG_NET_CLS=y +CONFIG_NET_CLS_BASIC=m +CONFIG_NET_CLS_TCINDEX=m +# CONFIG_NET_CLS_ROUTE4 is not set +CONFIG_NET_CLS_FW=m +CONFIG_NET_CLS_U32=m +# CONFIG_CLS_U32_PERF is not set +# CONFIG_CLS_U32_MARK is not set +# CONFIG_NET_CLS_RSVP is not set +# CONFIG_NET_CLS_RSVP6 is not set +# CONFIG_NET_CLS_FLOW is not set +# CONFIG_NET_EMATCH is not set +# CONFIG_NET_CLS_ACT is not set +# CONFIG_NET_CLS_IND is not set +CONFIG_NET_SCH_FIFO=y +# CONFIG_DCB is not set +# CONFIG_BATMAN_ADV is not set + +# +# Network testing +# +# CONFIG_NET_PKTGEN is not set +# CONFIG_HAMRADIO is not set +# CONFIG_CAN is not set +# CONFIG_IRDA is not set +# CONFIG_BT is not set +# CONFIG_AF_RXRPC is not set +# CONFIG_WIRELESS is not set +# CONFIG_WIMAX is not set +# CONFIG_RFKILL is not set +# CONFIG_NET_9P is not set +# CONFIG_CAIF is not set +# CONFIG_CEPH_LIB is not set +# CONFIG_NFC is not set + +# +# Device Drivers +# + +# +# Generic Driver Options +# +CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" +# CONFIG_DEVTMPFS is not set +# CONFIG_STANDALONE is not set +# CONFIG_PREVENT_FIRMWARE_BUILD is not set +CONFIG_FW_LOADER=y +CONFIG_FIRMWARE_IN_KERNEL=y +CONFIG_EXTRA_FIRMWARE="" +# CONFIG_DEBUG_DRIVER is not set +# CONFIG_DEBUG_DEVRES is not set +# CONFIG_SYS_HYPERVISOR is not set +# CONFIG_CONNECTOR is not set +CONFIG_MTD=y +# CONFIG_MTD_TESTS is not set +# CONFIG_MTD_REDBOOT_PARTS is not set +# CONFIG_MTD_CMDLINE_PARTS is not set +# CONFIG_MTD_AFS_PARTS is not set +# CONFIG_MTD_AR7_PARTS is not set + +# +# User Modules And Translation Layers +# +CONFIG_MTD_CHAR=y +CONFIG_MTD_BLKDEVS=y +CONFIG_MTD_BLOCK=y +# CONFIG_FTL is not set +# CONFIG_NFTL is not set +# CONFIG_INFTL is not set +# CONFIG_RFD_FTL is not set +# CONFIG_SSFDC is not set +# CONFIG_SM_FTL is not set +# CONFIG_MTD_OOPS is not set + +# +# RAM/ROM/Flash chip drivers +# +# CONFIG_MTD_CFI is not set +# CONFIG_MTD_JEDECPROBE is not set +CONFIG_MTD_MAP_BANK_WIDTH_1=y +CONFIG_MTD_MAP_BANK_WIDTH_2=y +CONFIG_MTD_MAP_BANK_WIDTH_4=y +# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set +CONFIG_MTD_CFI_I1=y +CONFIG_MTD_CFI_I2=y +# CONFIG_MTD_CFI_I4 is not set +# CONFIG_MTD_CFI_I8 is not set +# CONFIG_MTD_RAM is not set +# CONFIG_MTD_ROM is not set +# CONFIG_MTD_ABSENT is not set + +# +# Mapping drivers for chip access +# +# CONFIG_MTD_COMPLEX_MAPPINGS is not set +# CONFIG_MTD_PLATRAM is not set + +# +# Self-contained MTD device drivers +# +# CONFIG_MTD_SLRAM is not set +# CONFIG_MTD_PHRAM is not set +# CONFIG_MTD_MTDRAM is not set +# CONFIG_MTD_BLOCK2MTD is not set + +# +# Disk-On-Chip Device Drivers +# +# CONFIG_MTD_DOC2000 is not set +# CONFIG_MTD_DOC2001 is not set +# CONFIG_MTD_DOC2001PLUS is not set +# CONFIG_MTD_DOCG3 is not set +CONFIG_MTD_NAND_ECC=y +# CONFIG_MTD_NAND_ECC_SMC is not set +CONFIG_MTD_NAND=y +# CONFIG_MTD_NAND_VERIFY_WRITE is not set +# CONFIG_MTD_NAND_ECC_BCH is not set +# CONFIG_MTD_SM_COMMON is not set +# CONFIG_MTD_NAND_MUSEUM_IDS is not set +# CONFIG_MTD_NAND_GPIO is not set +CONFIG_MTD_NAND_IDS=y +# CONFIG_MTD_NAND_DISKONCHIP is not set +# CONFIG_MTD_NAND_NANDSIM is not set +# CONFIG_MTD_NAND_PLATFORM is not set +CONFIG_MTD_NAND_DAVINCI=y +# CONFIG_MTD_ONENAND is not set + +# +# LPDDR flash memory drivers +# +# CONFIG_MTD_LPDDR is not set +CONFIG_MTD_UBI=y +CONFIG_MTD_UBI_WL_THRESHOLD=4096 +CONFIG_MTD_UBI_BEB_RESERVE=1 +# CONFIG_MTD_UBI_GLUEBI is not set +# CONFIG_MTD_UBI_DEBUG is not set +# CONFIG_PARPORT is not set +CONFIG_BLK_DEV=y +# CONFIG_BLK_DEV_COW_COMMON is not set +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 +# CONFIG_BLK_DEV_CRYPTOLOOP is not set + +# +# DRBD disabled because PROC_FS, INET or CONNECTOR not selected +# +# CONFIG_BLK_DEV_NBD is not set +# CONFIG_BLK_DEV_RAM is not set +# CONFIG_CDROM_PKTCDVD is not set +# CONFIG_ATA_OVER_ETH is not set +# CONFIG_MG_DISK is not set +# CONFIG_BLK_DEV_RBD is not set +# CONFIG_SENSORS_LIS3LV02D is not set +CONFIG_MISC_DEVICES=y +# CONFIG_AD525X_DPOT is not set +# CONFIG_ATMEL_PWM is not set +# CONFIG_ICS932S401 is not set +# CONFIG_ENCLOSURE_SERVICES is not set +# CONFIG_APDS9802ALS is not set +# CONFIG_ISL29003 is not set +# CONFIG_ISL29020 is not set +# CONFIG_SENSORS_TSL2550 is not set +# CONFIG_SENSORS_BH1780 is not set +# CONFIG_SENSORS_BH1770 is not set +# CONFIG_SENSORS_APDS990X is not set +# CONFIG_HMC6352 is not set +# CONFIG_DS1682 is not set +# CONFIG_BMP085 is not set +# CONFIG_USB_SWITCH_FSA9480 is not set +CONFIG_FPGADL=m +CONFIG_FPGADL_PAR=m +CONFIG_DSPDL=m +CONFIG_DSPDL_DM644X=m +CONFIG_SYSMOBTS_FACTORY_RESET=m +# CONFIG_C2PORT is not set + +# +# EEPROM support +# +CONFIG_EEPROM_AT24=y +# CONFIG_EEPROM_LEGACY is not set +# CONFIG_EEPROM_MAX6875 is not set +# CONFIG_EEPROM_93CX6 is not set + +# +# Texas Instruments shared transport line discipline +# +# CONFIG_TI_ST is not set +# CONFIG_SENSORS_LIS3_I2C is not set + +# +# Altera FPGA firmware download module +# +# CONFIG_ALTERA_STAPL is not set +CONFIG_HAVE_IDE=y +# CONFIG_IDE is not set + +# +# SCSI device support +# +CONFIG_SCSI_MOD=y +# CONFIG_RAID_ATTRS is not set +# CONFIG_SCSI is not set +# CONFIG_SCSI_DMA is not set +# CONFIG_SCSI_NETLINK is not set +# CONFIG_ATA is not set +# CONFIG_MD is not set +CONFIG_NETDEVICES=y +CONFIG_NET_CORE=y +# CONFIG_BONDING is not set +# CONFIG_DUMMY is not set +# CONFIG_EQUALIZER is not set +# CONFIG_MII is not set +# CONFIG_MACVLAN is not set +CONFIG_NETCONSOLE=y +CONFIG_NETPOLL=y +CONFIG_NETPOLL_TRAP=y +CONFIG_NET_POLL_CONTROLLER=y +CONFIG_TUN=m +# CONFIG_VETH is not set + +# +# CAIF transport drivers +# +CONFIG_ETHERNET=y +CONFIG_NET_VENDOR_BROADCOM=y +# CONFIG_B44 is not set +CONFIG_NET_VENDOR_CHELSIO=y +# CONFIG_DM9000 is not set +# CONFIG_DNET is not set +CONFIG_NET_VENDOR_FARADAY=y +# CONFIG_FTMAC100 is not set +# CONFIG_FTGMAC100 is not set +CONFIG_NET_VENDOR_INTEL=y +CONFIG_NET_VENDOR_I825XX=y +CONFIG_NET_VENDOR_MARVELL=y +CONFIG_NET_VENDOR_MICREL=y +# CONFIG_KS8851_MLL is not set +CONFIG_NET_VENDOR_NATSEMI=y +CONFIG_NET_VENDOR_8390=y +# CONFIG_AX88796 is not set +# CONFIG_ETHOC is not set +CONFIG_NET_VENDOR_SEEQ=y +# CONFIG_SEEQ8005 is not set +CONFIG_NET_VENDOR_SMSC=y +# CONFIG_SMC91X is not set +# CONFIG_SMC911X is not set +# CONFIG_SMSC911X is not set +CONFIG_NET_VENDOR_STMICRO=y +# CONFIG_STMMAC_ETH is not set +CONFIG_NET_VENDOR_TI=y +CONFIG_TI_DAVINCI_EMAC=y +CONFIG_TI_DAVINCI_MDIO=y +CONFIG_TI_DAVINCI_CPDMA=y +CONFIG_PHYLIB=y + +# +# MII PHY device drivers +# +# CONFIG_MARVELL_PHY is not set +# CONFIG_DAVICOM_PHY is not set +# CONFIG_QSEMI_PHY is not set +# CONFIG_LXT_PHY is not set +# CONFIG_CICADA_PHY is not set +# CONFIG_VITESSE_PHY is not set +# CONFIG_SMSC_PHY is not set +# CONFIG_BROADCOM_PHY is not set +# CONFIG_ICPLUS_PHY is not set +CONFIG_REALTEK_PHY=y +# CONFIG_NATIONAL_PHY is not set +# CONFIG_STE10XP is not set +# CONFIG_LSI_ET1011C_PHY is not set +# CONFIG_MICREL_PHY is not set +# CONFIG_FIXED_PHY is not set +# CONFIG_MDIO_BITBANG is not set +# CONFIG_PPP is not set +# CONFIG_SLIP is not set +# CONFIG_WLAN is not set + +# +# Enable WiMAX (Networking options) to see the WiMAX drivers +# +# CONFIG_WAN is not set +CONFIG_ISDN=y +# CONFIG_ISDN_I4L is not set +# CONFIG_ISDN_CAPI is not set +# CONFIG_ISDN_DRV_GIGASET is not set +CONFIG_MISDN=m +CONFIG_MISDN_DSP=m +# CONFIG_MISDN_L1OIP is not set + +# +# mISDN hardware drivers +# +CONFIG_MISDN_L1LOOP=m +# CONFIG_PHONE is not set + +# +# Input device support +# +CONFIG_INPUT=y +# CONFIG_INPUT_FF_MEMLESS is not set +# CONFIG_INPUT_POLLDEV is not set +# CONFIG_INPUT_SPARSEKMAP is not set + +# +# Userland interfaces +# +# CONFIG_INPUT_MOUSEDEV is not set +# CONFIG_INPUT_JOYDEV is not set +CONFIG_INPUT_EVDEV=y +CONFIG_INPUT_EVBUG=y + +# +# Input Device Drivers +# +# CONFIG_INPUT_KEYBOARD is not set +# CONFIG_INPUT_MOUSE is not set +# CONFIG_INPUT_JOYSTICK is not set +# CONFIG_INPUT_TABLET is not set +# CONFIG_INPUT_TOUCHSCREEN is not set +# CONFIG_INPUT_MISC is not set + +# +# Hardware I/O ports +# +CONFIG_SERIO=y +CONFIG_SERIO_SERPORT=y +CONFIG_SERIO_LIBPS2=y +# CONFIG_SERIO_RAW is not set +# CONFIG_SERIO_ALTERA_PS2 is not set +# CONFIG_SERIO_PS2MULT is not set +# CONFIG_GAMEPORT is not set + +# +# Character devices +# +CONFIG_VT=y +CONFIG_CONSOLE_TRANSLATIONS=y +CONFIG_VT_CONSOLE=y +CONFIG_VT_CONSOLE_SLEEP=y +CONFIG_HW_CONSOLE=y +# CONFIG_VT_HW_CONSOLE_BINDING is not set +CONFIG_UNIX98_PTYS=y +# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set +CONFIG_LEGACY_PTYS=y +CONFIG_LEGACY_PTY_COUNT=256 +# CONFIG_SERIAL_NONSTANDARD is not set +# CONFIG_N_GSM is not set +# CONFIG_TRACE_SINK is not set +CONFIG_DEVKMEM=y + +# +# Serial drivers +# +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_NR_UARTS=3 +CONFIG_SERIAL_8250_RUNTIME_UARTS=3 +# CONFIG_SERIAL_8250_EXTENDED is not set + +# +# Non-8250 serial port support +# +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +# CONFIG_SERIAL_TIMBERDALE is not set +# CONFIG_SERIAL_ALTERA_JTAGUART is not set +# CONFIG_SERIAL_ALTERA_UART is not set +# CONFIG_SERIAL_XILINX_PS_UART is not set +# CONFIG_TTY_PRINTK is not set +# CONFIG_HVC_DCC is not set +# CONFIG_IPMI_HANDLER is not set +# CONFIG_HW_RANDOM is not set +# CONFIG_R3964 is not set +# CONFIG_RAW_DRIVER is not set +# CONFIG_TCG_TPM is not set +# CONFIG_RAMOOPS is not set +CONFIG_I2C=y +CONFIG_I2C_BOARDINFO=y +CONFIG_I2C_COMPAT=y +CONFIG_I2C_CHARDEV=y +# CONFIG_I2C_MUX is not set +CONFIG_I2C_HELPER_AUTO=y + +# +# I2C Hardware Bus support +# + +# +# I2C system bus drivers (mostly embedded / system-on-chip) +# +CONFIG_I2C_DAVINCI=y +# CONFIG_I2C_DESIGNWARE_PLATFORM is not set +# CONFIG_I2C_GPIO is not set +# CONFIG_I2C_OCORES is not set +# CONFIG_I2C_PCA_PLATFORM is not set +# CONFIG_I2C_PXA_PCI is not set +# CONFIG_I2C_SIMTEC is not set +# CONFIG_I2C_XILINX is not set + +# +# External I2C/SMBus adapter drivers +# +# CONFIG_I2C_PARPORT_LIGHT is not set +# CONFIG_I2C_TAOS_EVM is not set + +# +# Other I2C/SMBus bus drivers +# +# CONFIG_I2C_STUB is not set +# CONFIG_I2C_DEBUG_CORE is not set +# CONFIG_I2C_DEBUG_ALGO is not set +# CONFIG_I2C_DEBUG_BUS is not set +# CONFIG_SPI is not set + +# +# PPS support +# +# CONFIG_PPS is not set + +# +# PPS generators support +# + +# +# PTP clock support +# + +# +# Enable Device Drivers -> PPS to see the PTP clock options. +# +CONFIG_ARCH_REQUIRE_GPIOLIB=y +CONFIG_GPIOLIB=y +# CONFIG_DEBUG_GPIO is not set +CONFIG_GPIO_SYSFS=y + +# +# Memory mapped GPIO drivers: +# +# CONFIG_GPIO_GENERIC_PLATFORM is not set +# CONFIG_GPIO_IT8761E is not set + +# +# I2C GPIO expanders: +# +# CONFIG_GPIO_MAX7300 is not set +# CONFIG_GPIO_MAX732X is not set +# CONFIG_GPIO_PCF857X is not set +# CONFIG_GPIO_SX150X is not set +# CONFIG_GPIO_ADP5588 is not set + +# +# PCI GPIO expanders: +# + +# +# SPI GPIO expanders: +# +# CONFIG_GPIO_MCP23S08 is not set + +# +# AC97 GPIO expanders: +# + +# +# MODULbus GPIO expanders: +# +# CONFIG_W1 is not set +# CONFIG_POWER_SUPPLY is not set +CONFIG_HWMON=y +# CONFIG_HWMON_VID is not set +# CONFIG_HWMON_DEBUG_CHIP is not set + +# +# Native drivers +# +# CONFIG_SENSORS_AD7414 is not set +# CONFIG_SENSORS_AD7418 is not set +# CONFIG_SENSORS_ADM1021 is not set +# CONFIG_SENSORS_ADM1025 is not set +# CONFIG_SENSORS_ADM1026 is not set +# CONFIG_SENSORS_ADM1029 is not set +# CONFIG_SENSORS_ADM1031 is not set +# CONFIG_SENSORS_ADM9240 is not set +# CONFIG_SENSORS_ADT7411 is not set +# CONFIG_SENSORS_ADT7462 is not set +# CONFIG_SENSORS_ADT7470 is not set +# CONFIG_SENSORS_ADT7475 is not set +# CONFIG_SENSORS_ASC7621 is not set +# CONFIG_SENSORS_ATXP1 is not set +# CONFIG_SENSORS_DS620 is not set +# CONFIG_SENSORS_DS1621 is not set +# CONFIG_SENSORS_F71805F is not set +# CONFIG_SENSORS_F71882FG is not set +# CONFIG_SENSORS_F75375S is not set +# CONFIG_SENSORS_G760A is not set +# CONFIG_SENSORS_GL518SM is not set +# CONFIG_SENSORS_GL520SM is not set +# CONFIG_SENSORS_GPIO_FAN is not set +# CONFIG_SENSORS_IT87 is not set +# CONFIG_SENSORS_JC42 is not set +# CONFIG_SENSORS_LINEAGE is not set +# CONFIG_SENSORS_LM63 is not set +# CONFIG_SENSORS_LM73 is not set +CONFIG_SENSORS_LM75=y +# CONFIG_SENSORS_LM77 is not set +# CONFIG_SENSORS_LM78 is not set +# CONFIG_SENSORS_LM80 is not set +# CONFIG_SENSORS_LM83 is not set +# CONFIG_SENSORS_LM85 is not set +# CONFIG_SENSORS_LM87 is not set +# CONFIG_SENSORS_LM90 is not set +# CONFIG_SENSORS_LM92 is not set +# CONFIG_SENSORS_LM93 is not set +CONFIG_SENSORS_LTC1695=y +# CONFIG_SENSORS_LTC4151 is not set +# CONFIG_SENSORS_LTC4215 is not set +# CONFIG_SENSORS_LTC4245 is not set +# CONFIG_SENSORS_LTC4261 is not set +# CONFIG_SENSORS_LM95241 is not set +# CONFIG_SENSORS_LM95245 is not set +# CONFIG_SENSORS_MAX16065 is not set +# CONFIG_SENSORS_MAX1619 is not set +# CONFIG_SENSORS_MAX1668 is not set +# CONFIG_SENSORS_MAX6639 is not set +# CONFIG_SENSORS_MAX6642 is not set +# CONFIG_SENSORS_MAX6650 is not set +# CONFIG_SENSORS_NTC_THERMISTOR is not set +# CONFIG_SENSORS_PC87360 is not set +# CONFIG_SENSORS_PC87427 is not set +# CONFIG_SENSORS_PCF8591 is not set +# CONFIG_PMBUS is not set +# CONFIG_SENSORS_SHT15 is not set +# CONFIG_SENSORS_SHT21 is not set +# CONFIG_SENSORS_SMM665 is not set +# CONFIG_SENSORS_DME1737 is not set +# CONFIG_SENSORS_EMC1403 is not set +# CONFIG_SENSORS_EMC2103 is not set +# CONFIG_SENSORS_EMC6W201 is not set +# CONFIG_SENSORS_SMSC47M1 is not set +# CONFIG_SENSORS_SMSC47M192 is not set +# CONFIG_SENSORS_SMSC47B397 is not set +# CONFIG_SENSORS_SCH56XX_COMMON is not set +# CONFIG_SENSORS_SCH5627 is not set +# CONFIG_SENSORS_SCH5636 is not set +# CONFIG_SENSORS_ADS1015 is not set +# CONFIG_SENSORS_ADS7828 is not set +# CONFIG_SENSORS_AMC6821 is not set +# CONFIG_SENSORS_THMC50 is not set +# CONFIG_SENSORS_TMP102 is not set +CONFIG_SENSORS_TMP401=y +# CONFIG_SENSORS_TMP421 is not set +# CONFIG_SENSORS_VT1211 is not set +# CONFIG_SENSORS_W83781D is not set +# CONFIG_SENSORS_W83791D is not set +# CONFIG_SENSORS_W83792D is not set +# CONFIG_SENSORS_W83793 is not set +# CONFIG_SENSORS_W83795 is not set +# CONFIG_SENSORS_W83L785TS is not set +# CONFIG_SENSORS_W83L786NG is not set +# CONFIG_SENSORS_W83627HF is not set +# CONFIG_SENSORS_W83627EHF is not set +CONFIG_THERMAL=y +CONFIG_THERMAL_HWMON=y +CONFIG_WATCHDOG=y +# CONFIG_WATCHDOG_CORE is not set +# CONFIG_WATCHDOG_NOWAYOUT is not set + +# +# Watchdog Device Drivers +# +# CONFIG_SOFT_WATCHDOG is not set +# CONFIG_DW_WATCHDOG is not set +CONFIG_DAVINCI_WATCHDOG=m +# CONFIG_MAX63XX_WATCHDOG is not set +CONFIG_SSB_POSSIBLE=y + +# +# Sonics Silicon Backplane +# +# CONFIG_SSB is not set +CONFIG_BCMA_POSSIBLE=y + +# +# Broadcom specific AMBA +# +# CONFIG_BCMA is not set + +# +# Multifunction device drivers +# +# CONFIG_MFD_CORE is not set +# CONFIG_MFD_88PM860X is not set +# CONFIG_MFD_SM501 is not set +# CONFIG_MFD_ASIC3 is not set +# CONFIG_HTC_EGPIO is not set +# CONFIG_HTC_PASIC3 is not set +# CONFIG_HTC_I2CPLD is not set +# CONFIG_TPS6105X is not set +# CONFIG_TPS65010 is not set +# CONFIG_TPS6507X is not set +# CONFIG_MFD_TPS6586X is not set +# CONFIG_MFD_TPS65910 is not set +# CONFIG_MFD_TPS65912_I2C is not set +# CONFIG_TWL4030_CORE is not set +# CONFIG_MFD_STMPE is not set +# CONFIG_MFD_TC3589X is not set +# CONFIG_MFD_TMIO is not set +# CONFIG_MFD_T7L66XB is not set +# CONFIG_MFD_TC6387XB is not set +# CONFIG_MFD_TC6393XB is not set +# CONFIG_PMIC_DA903X is not set +# CONFIG_PMIC_ADP5520 is not set +# CONFIG_MFD_MAX8925 is not set +# CONFIG_MFD_MAX8997 is not set +# CONFIG_MFD_MAX8998 is not set +# CONFIG_MFD_WM8400 is not set +# CONFIG_MFD_WM831X_I2C is not set +# CONFIG_MFD_WM8350_I2C is not set +# CONFIG_MFD_WM8994 is not set +# CONFIG_MFD_PCF50633 is not set +# CONFIG_ABX500_CORE is not set +# CONFIG_MFD_WL1273_CORE is not set +# CONFIG_MFD_AAT2870_CORE is not set +# CONFIG_REGULATOR is not set +# CONFIG_MEDIA_SUPPORT is not set + +# +# Graphics support +# +# CONFIG_DRM is not set +# CONFIG_VGASTATE is not set +# CONFIG_VIDEO_OUTPUT_CONTROL is not set +# CONFIG_FB is not set +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set + +# +# Display device support +# +# CONFIG_DISPLAY_SUPPORT is not set + +# +# Console display driver support +# +CONFIG_DUMMY_CONSOLE=y +# CONFIG_SOUND is not set +# CONFIG_HID_SUPPORT is not set +# CONFIG_USB_SUPPORT is not set +# CONFIG_MMC is not set +# CONFIG_MEMSTICK is not set +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y + +# +# LED drivers +# +# CONFIG_LEDS_LM3530 is not set +# CONFIG_LEDS_PCA9532 is not set +CONFIG_LEDS_GPIO=m +# CONFIG_LEDS_LP3944 is not set +# CONFIG_LEDS_LP5521 is not set +# CONFIG_LEDS_LP5523 is not set +# CONFIG_LEDS_PCA955X is not set +# CONFIG_LEDS_BD2802 is not set +# CONFIG_LEDS_LT3593 is not set +# CONFIG_LEDS_RENESAS_TPU is not set +CONFIG_LEDS_TRIGGERS=y + +# +# LED Triggers +# +CONFIG_LEDS_TRIGGER_TIMER=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set +CONFIG_LEDS_TRIGGER_GPIO=y +CONFIG_LEDS_TRIGGER_DEFAULT_ON=y + +# +# iptables trigger is under Netfilter config (LED target) +# +# CONFIG_ACCESSIBILITY is not set +CONFIG_RTC_LIB=y +# CONFIG_RTC_CLASS is not set +# CONFIG_DMADEVICES is not set +# CONFIG_AUXDISPLAY is not set +# CONFIG_UIO is not set + +# +# Virtio drivers +# +# CONFIG_VIRTIO_BALLOON is not set +# CONFIG_VIRTIO_MMIO is not set +CONFIG_STAGING=y +# CONFIG_ECHO is not set +# CONFIG_POHMELFS is not set +# CONFIG_IIO is not set +# CONFIG_XVMALLOC is not set +# CONFIG_ZRAM is not set +# CONFIG_FT1000 is not set + +# +# Speakup console speech +# +# CONFIG_SPEAKUP is not set +# CONFIG_TOUCHSCREEN_CLEARPAD_TM1217 is not set +# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set +# CONFIG_STAGING_MEDIA is not set +CONFIG_SYSMOBTS_RTFIFO=m +CONFIG_SYSMOBTS_MSGQUEUE=m +CONFIG_CLKDEV_LOOKUP=y + +# +# Hardware Spinlock drivers +# +CONFIG_IOMMU_SUPPORT=y +# CONFIG_VIRT_DRIVERS is not set +# CONFIG_PM_DEVFREQ is not set + +# +# File systems +# +# CONFIG_EXT2_FS is not set +# CONFIG_EXT3_FS is not set +# CONFIG_EXT4_FS is not set +# CONFIG_REISERFS_FS is not set +# CONFIG_JFS_FS is not set +# CONFIG_XFS_FS is not set +# CONFIG_GFS2_FS is not set +# CONFIG_BTRFS_FS is not set +# CONFIG_NILFS2_FS is not set +# CONFIG_FS_POSIX_ACL is not set +CONFIG_EXPORTFS=y +CONFIG_FILE_LOCKING=y +CONFIG_FSNOTIFY=y +CONFIG_DNOTIFY=y +CONFIG_INOTIFY_USER=y +# CONFIG_FANOTIFY is not set +# CONFIG_QUOTA is not set +# CONFIG_QUOTACTL is not set +CONFIG_AUTOFS4_FS=y +# CONFIG_FUSE_FS is not set + +# +# Caches +# +# CONFIG_FSCACHE is not set + +# +# CD-ROM/DVD Filesystems +# +# CONFIG_ISO9660_FS is not set +# CONFIG_UDF_FS is not set + +# +# DOS/FAT/NT Filesystems +# +# CONFIG_MSDOS_FS is not set +# CONFIG_VFAT_FS is not set +# CONFIG_NTFS_FS is not set + +# +# Pseudo filesystems +# +CONFIG_PROC_FS=y +CONFIG_PROC_SYSCTL=y +CONFIG_PROC_PAGE_MONITOR=y +CONFIG_SYSFS=y +CONFIG_TMPFS=y +# CONFIG_TMPFS_POSIX_ACL is not set +# CONFIG_TMPFS_XATTR is not set +# CONFIG_HUGETLB_PAGE is not set +# CONFIG_CONFIGFS_FS is not set +CONFIG_MISC_FILESYSTEMS=y +# CONFIG_ADFS_FS is not set +# CONFIG_AFFS_FS is not set +# CONFIG_HFS_FS is not set +# CONFIG_HFSPLUS_FS is not set +# CONFIG_BEFS_FS is not set +# CONFIG_BFS_FS is not set +# CONFIG_EFS_FS is not set +CONFIG_JFFS2_FS=y +CONFIG_JFFS2_FS_DEBUG=0 +CONFIG_JFFS2_FS_WRITEBUFFER=y +# CONFIG_JFFS2_FS_WBUF_VERIFY is not set +# CONFIG_JFFS2_SUMMARY is not set +# CONFIG_JFFS2_FS_XATTR is not set +# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set +CONFIG_JFFS2_ZLIB=y +# CONFIG_JFFS2_LZO is not set +CONFIG_JFFS2_RTIME=y +# CONFIG_JFFS2_RUBIN is not set +CONFIG_UBIFS_FS=y +# CONFIG_UBIFS_FS_XATTR is not set +# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set +CONFIG_UBIFS_FS_LZO=y +CONFIG_UBIFS_FS_ZLIB=y +# CONFIG_UBIFS_FS_DEBUG is not set +# CONFIG_LOGFS is not set +CONFIG_CRAMFS=y +# CONFIG_SQUASHFS is not set +# CONFIG_VXFS_FS is not set +# CONFIG_MINIX_FS is not set +# CONFIG_OMFS_FS is not set +# CONFIG_HPFS_FS is not set +# CONFIG_QNX4FS_FS is not set +# CONFIG_ROMFS_FS is not set +# CONFIG_PSTORE is not set +# CONFIG_SYSV_FS is not set +# CONFIG_UFS_FS is not set +CONFIG_NETWORK_FILESYSTEMS=y +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +# CONFIG_NFS_V3_ACL is not set +# CONFIG_NFS_V4 is not set +CONFIG_ROOT_NFS=y +CONFIG_NFSD=y +CONFIG_NFSD_V3=y +# CONFIG_NFSD_V3_ACL is not set +# CONFIG_NFSD_V4 is not set +CONFIG_LOCKD=y +CONFIG_LOCKD_V4=y +CONFIG_NFS_COMMON=y +CONFIG_SUNRPC=y +# CONFIG_CEPH_FS is not set +CONFIG_CIFS=y +# CONFIG_CIFS_STATS is not set +# CONFIG_CIFS_WEAK_PW_HASH is not set +# CONFIG_CIFS_XATTR is not set +# CONFIG_CIFS_DEBUG2 is not set +# CONFIG_NCP_FS is not set +# CONFIG_CODA_FS is not set +# CONFIG_AFS_FS is not set + +# +# Partition Types +# +CONFIG_PARTITION_ADVANCED=y +# CONFIG_ACORN_PARTITION is not set +# CONFIG_OSF_PARTITION is not set +# CONFIG_AMIGA_PARTITION is not set +# CONFIG_ATARI_PARTITION is not set +# CONFIG_MAC_PARTITION is not set +CONFIG_MSDOS_PARTITION=y +# CONFIG_BSD_DISKLABEL is not set +# CONFIG_MINIX_SUBPARTITION is not set +# CONFIG_SOLARIS_X86_PARTITION is not set +# CONFIG_UNIXWARE_DISKLABEL is not set +# CONFIG_LDM_PARTITION is not set +# CONFIG_SGI_PARTITION is not set +# CONFIG_ULTRIX_PARTITION is not set +# CONFIG_SUN_PARTITION is not set +# CONFIG_KARMA_PARTITION is not set +# CONFIG_EFI_PARTITION is not set +# CONFIG_SYSV68_PARTITION is not set +CONFIG_NLS=y +CONFIG_NLS_DEFAULT="iso8859-1" +CONFIG_NLS_CODEPAGE_437=y +# CONFIG_NLS_CODEPAGE_737 is not set +# CONFIG_NLS_CODEPAGE_775 is not set +# CONFIG_NLS_CODEPAGE_850 is not set +# CONFIG_NLS_CODEPAGE_852 is not set +# CONFIG_NLS_CODEPAGE_855 is not set +# CONFIG_NLS_CODEPAGE_857 is not set +# CONFIG_NLS_CODEPAGE_860 is not set +# CONFIG_NLS_CODEPAGE_861 is not set +# CONFIG_NLS_CODEPAGE_862 is not set +# CONFIG_NLS_CODEPAGE_863 is not set +# CONFIG_NLS_CODEPAGE_864 is not set +# CONFIG_NLS_CODEPAGE_865 is not set +# CONFIG_NLS_CODEPAGE_866 is not set +# CONFIG_NLS_CODEPAGE_869 is not set +# CONFIG_NLS_CODEPAGE_936 is not set +# CONFIG_NLS_CODEPAGE_950 is not set +# CONFIG_NLS_CODEPAGE_932 is not set +# CONFIG_NLS_CODEPAGE_949 is not set +# CONFIG_NLS_CODEPAGE_874 is not set +# CONFIG_NLS_ISO8859_8 is not set +# CONFIG_NLS_CODEPAGE_1250 is not set +# CONFIG_NLS_CODEPAGE_1251 is not set +CONFIG_NLS_ASCII=m +CONFIG_NLS_ISO8859_1=y +# CONFIG_NLS_ISO8859_2 is not set +# CONFIG_NLS_ISO8859_3 is not set +# CONFIG_NLS_ISO8859_4 is not set +# CONFIG_NLS_ISO8859_5 is not set +# CONFIG_NLS_ISO8859_6 is not set +# CONFIG_NLS_ISO8859_7 is not set +# CONFIG_NLS_ISO8859_9 is not set +# CONFIG_NLS_ISO8859_13 is not set +# CONFIG_NLS_ISO8859_14 is not set +# CONFIG_NLS_ISO8859_15 is not set +# CONFIG_NLS_KOI8_R is not set +# CONFIG_NLS_KOI8_U is not set +CONFIG_NLS_UTF8=m + +# +# Kernel hacking +# +# CONFIG_PRINTK_TIME is not set +CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 +CONFIG_ENABLE_WARN_DEPRECATED=y +CONFIG_ENABLE_MUST_CHECK=y +CONFIG_FRAME_WARN=1024 +CONFIG_MAGIC_SYSRQ=y +# CONFIG_STRIP_ASM_SYMS is not set +# CONFIG_UNUSED_SYMBOLS is not set +CONFIG_DEBUG_FS=y +# CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set +CONFIG_DEBUG_KERNEL=y +# CONFIG_DEBUG_SHIRQ is not set +# CONFIG_LOCKUP_DETECTOR is not set +# CONFIG_HARDLOCKUP_DETECTOR is not set +CONFIG_DETECT_HUNG_TASK=y +CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 +# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set +CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 +CONFIG_SCHED_DEBUG=y +CONFIG_SCHEDSTATS=y +CONFIG_TIMER_STATS=y +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_SLUB_DEBUG_ON is not set +# CONFIG_SLUB_STATS is not set +# CONFIG_DEBUG_KMEMLEAK is not set +CONFIG_DEBUG_PREEMPT=y +CONFIG_DEBUG_RT_MUTEXES=y +CONFIG_DEBUG_PI_LIST=y +# CONFIG_RT_MUTEX_TESTER is not set +# CONFIG_DEBUG_SPINLOCK is not set +CONFIG_DEBUG_MUTEXES=y +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_SPARSE_RCU_POINTER is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +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_VM is not set +# CONFIG_DEBUG_WRITECOUNT is not set +# CONFIG_DEBUG_MEMORY_INIT is not set +# CONFIG_DEBUG_LIST is not set +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set +CONFIG_FRAME_POINTER=y +# CONFIG_BOOT_PRINTK_DELAY is not set +# CONFIG_RCU_TORTURE_TEST is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +# CONFIG_LKDTM is not set +# CONFIG_FAULT_INJECTION is not set +CONFIG_LATENCYTOP=y +# CONFIG_SYSCTL_SYSCALL_CHECK is not set +# CONFIG_DEBUG_PAGEALLOC is not set +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_RING_BUFFER=y +CONFIG_RING_BUFFER_ALLOW_SWAP=y +CONFIG_TRACING_SUPPORT=y +CONFIG_FTRACE=y +# CONFIG_FUNCTION_TRACER is not set +# CONFIG_IRQSOFF_TRACER is not set +# CONFIG_PREEMPT_TRACER is not set +# CONFIG_SCHED_TRACER is not set +# CONFIG_ENABLE_DEFAULT_TRACERS is not set +CONFIG_BRANCH_PROFILE_NONE=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set +# CONFIG_PROFILE_ALL_BRANCHES is not set +# CONFIG_STACK_TRACER is not set +# CONFIG_BLK_DEV_IO_TRACE is not set +# CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_DYNAMIC_DEBUG is not set +# CONFIG_DMA_API_DEBUG is not set +# CONFIG_ATOMIC64_SELFTEST is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +# CONFIG_KGDB is not set +# CONFIG_TEST_KSTRTOX is not set +# CONFIG_STRICT_DEVMEM is not set +# CONFIG_ARM_UNWIND is not set +CONFIG_DEBUG_USER=y +# CONFIG_DEBUG_LL is not set + +# +# Security options +# +# CONFIG_KEYS is not set +# CONFIG_SECURITY_DMESG_RESTRICT is not set +# CONFIG_SECURITY is not set +# CONFIG_SECURITYFS is not set +CONFIG_DEFAULT_SECURITY_DAC=y +CONFIG_DEFAULT_SECURITY="" +CONFIG_CRYPTO=y + +# +# Crypto core or helper +# +CONFIG_CRYPTO_ALGAPI=y +CONFIG_CRYPTO_ALGAPI2=y +CONFIG_CRYPTO_AEAD=y +CONFIG_CRYPTO_AEAD2=y +CONFIG_CRYPTO_BLKCIPHER=y +CONFIG_CRYPTO_BLKCIPHER2=y +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_HASH2=y +CONFIG_CRYPTO_RNG2=y +CONFIG_CRYPTO_PCOMP2=y +CONFIG_CRYPTO_MANAGER=y +CONFIG_CRYPTO_MANAGER2=y +# CONFIG_CRYPTO_USER is not set +CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y +# CONFIG_CRYPTO_GF128MUL is not set +CONFIG_CRYPTO_NULL=y +CONFIG_CRYPTO_WORKQUEUE=y +# CONFIG_CRYPTO_CRYPTD is not set +CONFIG_CRYPTO_AUTHENC=y +# CONFIG_CRYPTO_TEST is not set + +# +# Authenticated Encryption with Associated Data +# +# CONFIG_CRYPTO_CCM is not set +# CONFIG_CRYPTO_GCM is not set +# CONFIG_CRYPTO_SEQIV is not set + +# +# Block modes +# +CONFIG_CRYPTO_CBC=y +# CONFIG_CRYPTO_CTR is not set +# CONFIG_CRYPTO_CTS is not set +CONFIG_CRYPTO_ECB=y +# CONFIG_CRYPTO_LRW is not set +# CONFIG_CRYPTO_PCBC is not set +# CONFIG_CRYPTO_XTS is not set + +# +# Hash modes +# +CONFIG_CRYPTO_HMAC=y +# CONFIG_CRYPTO_XCBC is not set +# CONFIG_CRYPTO_VMAC is not set + +# +# Digest +# +CONFIG_CRYPTO_CRC32C=y +# CONFIG_CRYPTO_GHASH is not set +CONFIG_CRYPTO_MD4=y +CONFIG_CRYPTO_MD5=y +# CONFIG_CRYPTO_MICHAEL_MIC is not set +# CONFIG_CRYPTO_RMD128 is not set +CONFIG_CRYPTO_RMD160=m +CONFIG_CRYPTO_RMD256=m +# CONFIG_CRYPTO_RMD320 is not set +CONFIG_CRYPTO_SHA1=y +CONFIG_CRYPTO_SHA256=m +# CONFIG_CRYPTO_SHA512 is not set +# CONFIG_CRYPTO_TGR192 is not set +# CONFIG_CRYPTO_WP512 is not set + +# +# Ciphers +# +CONFIG_CRYPTO_AES=y +# CONFIG_CRYPTO_ANUBIS is not set +CONFIG_CRYPTO_ARC4=y +# CONFIG_CRYPTO_BLOWFISH is not set +# CONFIG_CRYPTO_CAMELLIA is not set +# CONFIG_CRYPTO_CAST5 is not set +# CONFIG_CRYPTO_CAST6 is not set +CONFIG_CRYPTO_DES=y +# CONFIG_CRYPTO_FCRYPT is not set +# CONFIG_CRYPTO_KHAZAD is not set +# CONFIG_CRYPTO_SALSA20 is not set +# CONFIG_CRYPTO_SEED is not set +# CONFIG_CRYPTO_SERPENT is not set +# CONFIG_CRYPTO_TEA is not set +# CONFIG_CRYPTO_TWOFISH is not set + +# +# Compression +# +CONFIG_CRYPTO_DEFLATE=y +# CONFIG_CRYPTO_ZLIB is not set +CONFIG_CRYPTO_LZO=y + +# +# Random Number Generation +# +# CONFIG_CRYPTO_ANSI_CPRNG is not set +# CONFIG_CRYPTO_USER_API_HASH is not set +# CONFIG_CRYPTO_USER_API_SKCIPHER is not set +# CONFIG_CRYPTO_HW is not set +# CONFIG_BINARY_PRINTF is not set + +# +# Library routines +# +CONFIG_BITREVERSE=y +CONFIG_CRC_CCITT=y +CONFIG_CRC16=y +CONFIG_CRC_T10DIF=y +# CONFIG_CRC_ITU_T is not set +CONFIG_CRC32=y +# CONFIG_CRC7 is not set +CONFIG_LIBCRC32C=y +# CONFIG_CRC8 is not set +CONFIG_ZLIB_INFLATE=y +CONFIG_ZLIB_DEFLATE=y +CONFIG_LZO_COMPRESS=y +CONFIG_LZO_DECOMPRESS=y +# CONFIG_XZ_DEC is not set +# CONFIG_XZ_DEC_BCJ is not set +CONFIG_GENERIC_ALLOCATOR=y +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT=y +CONFIG_HAS_DMA=y +CONFIG_NLATTR=y +CONFIG_GENERIC_ATOMIC64=y +# CONFIG_AVERAGE is not set +# CONFIG_CORDIC is not set diff --git a/recipes-bsp/linux/files/sysmocom-bsc/defconfig b/recipes-bsp/linux/files/sysmocom-bsc/defconfig new file mode 100644 index 0000000000..0ef29a7cd4 --- /dev/null +++ b/recipes-bsp/linux/files/sysmocom-bsc/defconfig @@ -0,0 +1,2850 @@ +# +# Automatically generated make config: don't edit +# Linux/x86 2.6.39.3 Kernel Configuration +# Thu Oct 13 01:16:11 2011 +# +# CONFIG_64BIT is not set +CONFIG_X86_32=y +# CONFIG_X86_64 is not set +CONFIG_X86=y +CONFIG_INSTRUCTION_DECODER=y +CONFIG_OUTPUT_FORMAT="elf32-i386" +CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig" +CONFIG_GENERIC_CMOS_UPDATE=y +CONFIG_CLOCKSOURCE_WATCHDOG=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y +CONFIG_MMU=y +CONFIG_ZONE_DMA=y +# CONFIG_NEED_DMA_MAP_STATE is not set +CONFIG_NEED_SG_DMA_LENGTH=y +CONFIG_GENERIC_ISA_DMA=y +CONFIG_GENERIC_IOMAP=y +CONFIG_GENERIC_BUG=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_ARCH_MAY_HAVE_PC_FDC=y +# CONFIG_RWSEM_GENERIC_SPINLOCK is not set +CONFIG_RWSEM_XCHGADD_ALGORITHM=y +CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +# CONFIG_GENERIC_TIME_VSYSCALL is not set +CONFIG_ARCH_HAS_CPU_RELAX=y +CONFIG_ARCH_HAS_DEFAULT_IDLE=y +CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y +CONFIG_HAVE_SETUP_PER_CPU_AREA=y +CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y +CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y +# CONFIG_HAVE_CPUMASK_OF_CPU_MAP is not set +CONFIG_ARCH_HIBERNATION_POSSIBLE=y +CONFIG_ARCH_SUSPEND_POSSIBLE=y +# CONFIG_ZONE_DMA32 is not set +CONFIG_ARCH_POPULATES_NODE_MAP=y +# CONFIG_AUDIT_ARCH is not set +CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y +CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y +CONFIG_X86_32_LAZY_GS=y +CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-ecx -fcall-saved-edx" +CONFIG_KTIME_SCALAR=y +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" +CONFIG_CONSTRUCTORS=y +CONFIG_HAVE_IRQ_WORK=y +CONFIG_IRQ_WORK=y + +# +# General setup +# +CONFIG_EXPERIMENTAL=y +CONFIG_BROKEN_ON_SMP=y +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_CROSS_COMPILE="" +CONFIG_LOCALVERSION="-yocto-standard" +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_HAVE_KERNEL_GZIP=y +CONFIG_HAVE_KERNEL_BZIP2=y +CONFIG_HAVE_KERNEL_LZMA=y +CONFIG_HAVE_KERNEL_XZ=y +CONFIG_HAVE_KERNEL_LZO=y +CONFIG_KERNEL_GZIP=y +# CONFIG_KERNEL_BZIP2 is not set +# CONFIG_KERNEL_LZMA is not set +# CONFIG_KERNEL_XZ is not set +# CONFIG_KERNEL_LZO is not set +CONFIG_SWAP=y +CONFIG_SYSVIPC=y +CONFIG_SYSVIPC_SYSCTL=y +CONFIG_POSIX_MQUEUE=y +CONFIG_POSIX_MQUEUE_SYSCTL=y +CONFIG_BSD_PROCESS_ACCT=y +CONFIG_BSD_PROCESS_ACCT_V3=y +# CONFIG_FHANDLE is not set +# CONFIG_TASKSTATS is not set +# CONFIG_AUDIT is not set +CONFIG_HAVE_GENERIC_HARDIRQS=y + +# +# IRQ subsystem +# +CONFIG_GENERIC_HARDIRQS=y +CONFIG_HAVE_SPARSE_IRQ=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_IRQ_FORCED_THREADING=y +# CONFIG_SPARSE_IRQ is not set + +# +# RCU Subsystem +# +CONFIG_TREE_PREEMPT_RCU=y +# CONFIG_TINY_RCU is not set +# CONFIG_TINY_PREEMPT_RCU is not set +CONFIG_PREEMPT_RCU=y +# CONFIG_RCU_TRACE is not set +CONFIG_RCU_FANOUT=32 +# CONFIG_RCU_FANOUT_EXACT is not set +# CONFIG_TREE_RCU_TRACE is not set +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_LOG_BUF_SHIFT=14 +CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y +# CONFIG_CGROUPS is not set +# CONFIG_NAMESPACES is not set +# CONFIG_SCHED_AUTOGROUP is not set +# CONFIG_SYSFS_DEPRECATED is not set +CONFIG_RELAY=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="" +CONFIG_RD_GZIP=y +# CONFIG_RD_BZIP2 is not set +# CONFIG_RD_LZMA is not set +# CONFIG_RD_XZ is not set +# CONFIG_RD_LZO is not set +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +CONFIG_SYSCTL=y +CONFIG_ANON_INODES=y +CONFIG_EXPERT=y +CONFIG_UID16=y +CONFIG_SYSCTL_SYSCALL=y +CONFIG_KALLSYMS=y +CONFIG_KALLSYMS_ALL=y +# CONFIG_KALLSYMS_EXTRA_PASS is not set +CONFIG_HOTPLUG=y +CONFIG_PRINTK=y +CONFIG_BUG=y +CONFIG_ELF_CORE=y +CONFIG_PCSPKR_PLATFORM=y +CONFIG_BASE_FULL=y +CONFIG_FUTEX=y +CONFIG_EPOLL=y +CONFIG_SIGNALFD=y +CONFIG_TIMERFD=y +CONFIG_EVENTFD=y +CONFIG_SHMEM=y +CONFIG_AIO=y +CONFIG_EMBEDDED=y +CONFIG_HAVE_PERF_EVENTS=y + +# +# Kernel Performance Events And Counters +# +CONFIG_PERF_EVENTS=y +# CONFIG_PERF_COUNTERS is not set +# CONFIG_DEBUG_PERF_USE_VMALLOC is not set +CONFIG_VM_EVENT_COUNTERS=y +CONFIG_PCI_QUIRKS=y +CONFIG_SLUB_DEBUG=y +CONFIG_COMPAT_BRK=y +# CONFIG_SLAB is not set +CONFIG_SLUB=y +# CONFIG_SLOB is not set +CONFIG_PROFILING=y +CONFIG_TRACEPOINTS=y +CONFIG_OPROFILE=y +# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set +CONFIG_HAVE_OPROFILE=y +CONFIG_KPROBES=y +# CONFIG_JUMP_LABEL is not set +CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y +CONFIG_KRETPROBES=y +CONFIG_HAVE_IOREMAP_PROT=y +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_OPTPROBES=y +CONFIG_HAVE_ARCH_TRACEHOOK=y +CONFIG_HAVE_DMA_ATTRS=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_DMA_API_DEBUG=y +CONFIG_HAVE_HW_BREAKPOINT=y +CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y +CONFIG_HAVE_USER_RETURN_NOTIFIER=y +CONFIG_HAVE_PERF_EVENTS_NMI=y +CONFIG_HAVE_ARCH_JUMP_LABEL=y + +# +# GCOV-based kernel profiling +# +# CONFIG_GCOV_KERNEL is not set +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +CONFIG_SLABINFO=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +# CONFIG_MODULE_FORCE_LOAD is not set +CONFIG_MODULE_UNLOAD=y +# CONFIG_MODULE_FORCE_UNLOAD is not set +# CONFIG_MODVERSIONS is not set +# CONFIG_MODULE_SRCVERSION_ALL is not set +CONFIG_BLOCK=y +CONFIG_LBDAF=y +CONFIG_BLK_DEV_BSG=y +# CONFIG_BLK_DEV_INTEGRITY is not set + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +# CONFIG_DEFAULT_DEADLINE is not set +CONFIG_DEFAULT_CFQ=y +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="cfq" +# CONFIG_INLINE_SPIN_TRYLOCK is not set +# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK is not set +# CONFIG_INLINE_SPIN_LOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK_IRQ is not set +# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set +# CONFIG_INLINE_SPIN_UNLOCK is not set +# CONFIG_INLINE_SPIN_UNLOCK_BH is not set +# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set +# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_READ_TRYLOCK is not set +# CONFIG_INLINE_READ_LOCK is not set +# CONFIG_INLINE_READ_LOCK_BH is not set +# CONFIG_INLINE_READ_LOCK_IRQ is not set +# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set +# CONFIG_INLINE_READ_UNLOCK is not set +# CONFIG_INLINE_READ_UNLOCK_BH is not set +# CONFIG_INLINE_READ_UNLOCK_IRQ is not set +# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_WRITE_TRYLOCK is not set +# CONFIG_INLINE_WRITE_LOCK is not set +# CONFIG_INLINE_WRITE_LOCK_BH is not set +# CONFIG_INLINE_WRITE_LOCK_IRQ is not set +# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set +# CONFIG_INLINE_WRITE_UNLOCK is not set +# CONFIG_INLINE_WRITE_UNLOCK_BH is not set +# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set +# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set +# CONFIG_MUTEX_SPIN_ON_OWNER is not set +CONFIG_FREEZER=y + +# +# Processor type and features +# +CONFIG_TICK_ONESHOT=y +# CONFIG_NO_HZ is not set +CONFIG_HIGH_RES_TIMERS=y +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +# CONFIG_SMP is not set +CONFIG_X86_MPPARSE=y +CONFIG_X86_EXTENDED_PLATFORM=y +# CONFIG_X86_ELAN is not set +# CONFIG_X86_RDC321X is not set +CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y +# CONFIG_X86_32_IRIS is not set +CONFIG_SCHED_OMIT_FRAME_POINTER=y +# CONFIG_PARAVIRT_GUEST is not set +CONFIG_NO_BOOTMEM=y +# CONFIG_MEMTEST is not set +# CONFIG_M386 is not set +# CONFIG_M486 is not set +# CONFIG_M586 is not set +# CONFIG_M586TSC is not set +# CONFIG_M586MMX is not set +# CONFIG_M686 is not set +# CONFIG_MPENTIUMII is not set +# CONFIG_MPENTIUMIII is not set +CONFIG_MPENTIUMM=y +# CONFIG_MPENTIUM4 is not set +# CONFIG_MK6 is not set +# CONFIG_MK7 is not set +# CONFIG_MK8 is not set +# CONFIG_MCRUSOE is not set +# CONFIG_MEFFICEON is not set +# CONFIG_MWINCHIPC6 is not set +# CONFIG_MWINCHIP3D is not set +# CONFIG_MGEODEGX1 is not set +# CONFIG_MGEODE_LX is not set +# CONFIG_MCYRIXIII is not set +# CONFIG_MVIAC3_2 is not set +# CONFIG_MVIAC7 is not set +# CONFIG_MCORE2 is not set +# CONFIG_MATOM is not set +CONFIG_X86_GENERIC=y +CONFIG_X86_INTERNODE_CACHE_SHIFT=6 +CONFIG_X86_CMPXCHG=y +CONFIG_CMPXCHG_LOCAL=y +CONFIG_X86_L1_CACHE_SHIFT=6 +CONFIG_X86_XADD=y +CONFIG_X86_WP_WORKS_OK=y +CONFIG_X86_INVLPG=y +CONFIG_X86_BSWAP=y +CONFIG_X86_POPAD_OK=y +CONFIG_X86_INTEL_USERCOPY=y +CONFIG_X86_USE_PPRO_CHECKSUM=y +CONFIG_X86_TSC=y +CONFIG_X86_CMPXCHG64=y +CONFIG_X86_CMOV=y +CONFIG_X86_MINIMUM_CPU_FAMILY=5 +CONFIG_X86_DEBUGCTLMSR=y +# CONFIG_PROCESSOR_SELECT is not set +CONFIG_CPU_SUP_INTEL=y +CONFIG_CPU_SUP_CYRIX_32=y +CONFIG_CPU_SUP_AMD=y +CONFIG_CPU_SUP_CENTAUR=y +CONFIG_CPU_SUP_TRANSMETA_32=y +CONFIG_CPU_SUP_UMC_32=y +# CONFIG_HPET_TIMER is not set +CONFIG_DMI=y +# CONFIG_IOMMU_HELPER is not set +# CONFIG_IOMMU_API is not set +CONFIG_NR_CPUS=1 +# CONFIG_IRQ_TIME_ACCOUNTING is not set +# CONFIG_PREEMPT_NONE is not set +# CONFIG_PREEMPT_VOLUNTARY is not set +CONFIG_PREEMPT=y +CONFIG_X86_UP_APIC=y +# CONFIG_X86_UP_IOAPIC is not set +CONFIG_X86_LOCAL_APIC=y +CONFIG_X86_MCE=y +CONFIG_X86_MCE_INTEL=y +CONFIG_X86_MCE_AMD=y +# CONFIG_X86_ANCIENT_MCE is not set +CONFIG_X86_MCE_THRESHOLD=y +# CONFIG_X86_MCE_INJECT is not set +CONFIG_X86_THERMAL_VECTOR=y +CONFIG_VM86=y +# CONFIG_TOSHIBA is not set +# CONFIG_I8K is not set +# CONFIG_X86_REBOOTFIXUPS is not set +CONFIG_MICROCODE=y +CONFIG_MICROCODE_INTEL=y +# CONFIG_MICROCODE_AMD is not set +CONFIG_MICROCODE_OLD_INTERFACE=y +CONFIG_X86_MSR=y +CONFIG_X86_CPUID=y +# CONFIG_NOHIGHMEM is not set +CONFIG_HIGHMEM4G=y +# CONFIG_HIGHMEM64G is not set +CONFIG_VMSPLIT_3G=y +# CONFIG_VMSPLIT_3G_OPT is not set +# CONFIG_VMSPLIT_2G is not set +# CONFIG_VMSPLIT_2G_OPT is not set +# CONFIG_VMSPLIT_1G is not set +CONFIG_PAGE_OFFSET=0xC0000000 +CONFIG_HIGHMEM=y +# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set +# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set +CONFIG_ARCH_FLATMEM_ENABLE=y +CONFIG_ARCH_SPARSEMEM_ENABLE=y +CONFIG_ARCH_SELECT_MEMORY_MODEL=y +CONFIG_ILLEGAL_POINTER_VALUE=0 +CONFIG_SELECT_MEMORY_MODEL=y +CONFIG_FLATMEM_MANUAL=y +# CONFIG_SPARSEMEM_MANUAL is not set +CONFIG_FLATMEM=y +CONFIG_FLAT_NODE_MEM_MAP=y +CONFIG_SPARSEMEM_STATIC=y +CONFIG_HAVE_MEMBLOCK=y +CONFIG_PAGEFLAGS_EXTENDED=y +CONFIG_SPLIT_PTLOCK_CPUS=4 +# CONFIG_COMPACTION is not set +# CONFIG_PHYS_ADDR_T_64BIT is not set +CONFIG_ZONE_DMA_FLAG=1 +CONFIG_BOUNCE=y +CONFIG_VIRT_TO_BUS=y +# CONFIG_KSM is not set +CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y +# CONFIG_MEMORY_FAILURE is not set +# CONFIG_TRANSPARENT_HUGEPAGE is not set +CONFIG_NEED_PER_CPU_KM=y +# CONFIG_HIGHPTE is not set +# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set +CONFIG_X86_RESERVE_LOW=64 +# CONFIG_MATH_EMULATION is not set +CONFIG_MTRR=y +CONFIG_MTRR_SANITIZER=y +CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0 +CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 +CONFIG_X86_PAT=y +CONFIG_ARCH_USES_PG_UNCACHED=y +# CONFIG_EFI is not set +CONFIG_SECCOMP=y +# CONFIG_CC_STACKPROTECTOR is not set +# CONFIG_HZ_100 is not set +CONFIG_HZ_250=y +# CONFIG_HZ_300 is not set +# CONFIG_HZ_1000 is not set +CONFIG_HZ=250 +CONFIG_SCHED_HRTICK=y +# CONFIG_KEXEC is not set +# CONFIG_CRASH_DUMP is not set +CONFIG_PHYSICAL_START=0x1000000 +CONFIG_RELOCATABLE=y +CONFIG_X86_NEED_RELOCS=y +CONFIG_PHYSICAL_ALIGN=0x1000000 +CONFIG_COMPAT_VDSO=y +# CONFIG_CMDLINE_BOOL is not set +CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y + +# +# Power management and ACPI options +# +CONFIG_SUSPEND=y +CONFIG_SUSPEND_FREEZER=y +# CONFIG_HIBERNATION is not set +CONFIG_PM_SLEEP=y +# CONFIG_PM_RUNTIME is not set +CONFIG_PM=y +# CONFIG_PM_DEBUG is not set +CONFIG_ACPI=y +CONFIG_ACPI_SLEEP=y +# CONFIG_ACPI_PROCFS is not set +# CONFIG_ACPI_PROCFS_POWER is not set +# CONFIG_ACPI_POWER_METER is not set +# CONFIG_ACPI_EC_DEBUGFS is not set +CONFIG_ACPI_PROC_EVENT=y +CONFIG_ACPI_AC=y +CONFIG_ACPI_BATTERY=y +CONFIG_ACPI_BUTTON=y +CONFIG_ACPI_FAN=y +# CONFIG_ACPI_DOCK is not set +CONFIG_ACPI_PROCESSOR=y +# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set +CONFIG_ACPI_THERMAL=y +# CONFIG_ACPI_CUSTOM_DSDT is not set +CONFIG_ACPI_BLACKLIST_YEAR=0 +# CONFIG_ACPI_DEBUG is not set +# CONFIG_ACPI_PCI_SLOT is not set +CONFIG_X86_PM_TIMER=y +# CONFIG_ACPI_CONTAINER is not set +# CONFIG_ACPI_SBS is not set +# CONFIG_ACPI_HED is not set +# CONFIG_ACPI_APEI is not set +# CONFIG_SFI is not set +# CONFIG_APM is not set + +# +# CPU Frequency scaling +# +# CONFIG_CPU_FREQ is not set +CONFIG_CPU_IDLE=y +CONFIG_CPU_IDLE_GOV_LADDER=y +# CONFIG_INTEL_IDLE is not set + +# +# Bus options (PCI etc.) +# +CONFIG_PCI=y +# CONFIG_PCI_GOBIOS is not set +# CONFIG_PCI_GOMMCONFIG is not set +# CONFIG_PCI_GODIRECT is not set +CONFIG_PCI_GOANY=y +CONFIG_PCI_BIOS=y +CONFIG_PCI_DIRECT=y +CONFIG_PCI_MMCONFIG=y +CONFIG_PCI_DOMAINS=y +# CONFIG_PCI_CNB20LE_QUIRK is not set +CONFIG_PCIEPORTBUS=y +CONFIG_PCIEAER=y +# CONFIG_PCIE_ECRC is not set +# CONFIG_PCIEAER_INJECT is not set +CONFIG_PCIEASPM=y +# CONFIG_PCIEASPM_DEBUG is not set +# CONFIG_ARCH_SUPPORTS_MSI is not set +# CONFIG_PCI_DEBUG is not set +# CONFIG_PCI_STUB is not set +# CONFIG_PCI_IOV is not set +CONFIG_PCI_IOAPIC=y +CONFIG_PCI_LABEL=y +CONFIG_ISA_DMA_API=y +# CONFIG_ISA is not set +# CONFIG_MCA is not set +# CONFIG_SCx200 is not set +# CONFIG_OLPC is not set +CONFIG_AMD_NB=y +# CONFIG_PCCARD is not set +# CONFIG_HOTPLUG_PCI is not set +# CONFIG_RAPIDIO is not set + +# +# Executable file formats / Emulations +# +CONFIG_BINFMT_ELF=y +CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y +CONFIG_HAVE_AOUT=y +# CONFIG_BINFMT_AOUT is not set +CONFIG_BINFMT_MISC=m +CONFIG_HAVE_ATOMIC_IOMAP=y +CONFIG_HAVE_TEXT_POKE_SMP=y +CONFIG_NET=y + +# +# Networking options +# +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_XFRM=y +CONFIG_XFRM_USER=m +CONFIG_XFRM_SUB_POLICY=y +CONFIG_XFRM_MIGRATE=y +# CONFIG_XFRM_STATISTICS is not set +CONFIG_XFRM_IPCOMP=m +CONFIG_NET_KEY=m +CONFIG_NET_KEY_MIGRATE=y +CONFIG_INET=y +CONFIG_IP_MULTICAST=y +CONFIG_IP_ADVANCED_ROUTER=y +# CONFIG_IP_FIB_TRIE_STATS is not set +CONFIG_IP_MULTIPLE_TABLES=y +CONFIG_IP_ROUTE_MULTIPATH=y +CONFIG_IP_ROUTE_VERBOSE=y +CONFIG_IP_ROUTE_CLASSID=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +CONFIG_IP_PNP_BOOTP=y +CONFIG_IP_PNP_RARP=y +CONFIG_NET_IPIP=m +# CONFIG_NET_IPGRE_DEMUX is not set +CONFIG_IP_MROUTE=y +# CONFIG_IP_MROUTE_MULTIPLE_TABLES is not set +CONFIG_IP_PIMSM_V1=y +CONFIG_IP_PIMSM_V2=y +# CONFIG_ARPD is not set +CONFIG_SYN_COOKIES=y +CONFIG_INET_AH=m +CONFIG_INET_ESP=m +CONFIG_INET_IPCOMP=m +CONFIG_INET_XFRM_TUNNEL=m +CONFIG_INET_TUNNEL=m +CONFIG_INET_XFRM_MODE_TRANSPORT=y +CONFIG_INET_XFRM_MODE_TUNNEL=y +CONFIG_INET_XFRM_MODE_BEET=y +CONFIG_INET_LRO=y +CONFIG_INET_DIAG=y +CONFIG_INET_TCP_DIAG=y +# CONFIG_TCP_CONG_ADVANCED is not set +CONFIG_TCP_CONG_CUBIC=y +CONFIG_DEFAULT_TCP_CONG="cubic" +# CONFIG_TCP_MD5SIG is not set +CONFIG_IPV6=m +# CONFIG_IPV6_PRIVACY is not set +# CONFIG_IPV6_ROUTER_PREF is not set +# CONFIG_IPV6_OPTIMISTIC_DAD is not set +CONFIG_INET6_AH=m +CONFIG_INET6_ESP=m +CONFIG_INET6_IPCOMP=m +# CONFIG_IPV6_MIP6 is not set +CONFIG_INET6_XFRM_TUNNEL=m +CONFIG_INET6_TUNNEL=m +CONFIG_INET6_XFRM_MODE_TRANSPORT=m +CONFIG_INET6_XFRM_MODE_TUNNEL=m +CONFIG_INET6_XFRM_MODE_BEET=m +# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set +CONFIG_IPV6_SIT=m +# CONFIG_IPV6_SIT_6RD is not set +CONFIG_IPV6_NDISC_NODETYPE=y +CONFIG_IPV6_TUNNEL=m +# CONFIG_IPV6_MULTIPLE_TABLES is not set +# CONFIG_IPV6_MROUTE is not set +# CONFIG_NETLABEL is not set +# CONFIG_NETWORK_SECMARK is not set +# CONFIG_NETWORK_PHY_TIMESTAMPING is not set +CONFIG_NETFILTER=y +# CONFIG_NETFILTER_DEBUG is not set +CONFIG_NETFILTER_ADVANCED=y +CONFIG_BRIDGE_NETFILTER=y + +# +# Core Netfilter Configuration +# +CONFIG_NETFILTER_NETLINK=m +CONFIG_NETFILTER_NETLINK_QUEUE=m +CONFIG_NETFILTER_NETLINK_LOG=m +CONFIG_NF_CONNTRACK=m +CONFIG_NF_CONNTRACK_MARK=y +# CONFIG_NF_CONNTRACK_EVENTS is not set +# CONFIG_NF_CONNTRACK_TIMESTAMP is not set +# CONFIG_NF_CT_PROTO_DCCP is not set +CONFIG_NF_CT_PROTO_GRE=m +CONFIG_NF_CT_PROTO_SCTP=m +CONFIG_NF_CT_PROTO_UDPLITE=m +CONFIG_NF_CONNTRACK_AMANDA=m +CONFIG_NF_CONNTRACK_FTP=m +CONFIG_NF_CONNTRACK_H323=m +CONFIG_NF_CONNTRACK_IRC=m +CONFIG_NF_CONNTRACK_BROADCAST=m +CONFIG_NF_CONNTRACK_NETBIOS_NS=m +# CONFIG_NF_CONNTRACK_SNMP is not set +CONFIG_NF_CONNTRACK_PPTP=m +CONFIG_NF_CONNTRACK_SANE=m +CONFIG_NF_CONNTRACK_SIP=m +CONFIG_NF_CONNTRACK_TFTP=m +CONFIG_NF_CT_NETLINK=m +# CONFIG_NETFILTER_TPROXY is not set +CONFIG_NETFILTER_XTABLES=m + +# +# Xtables combined modules +# +CONFIG_NETFILTER_XT_MARK=m +CONFIG_NETFILTER_XT_CONNMARK=m + +# +# Xtables targets +# +# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set +CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m +CONFIG_NETFILTER_XT_TARGET_CONNMARK=m +# CONFIG_NETFILTER_XT_TARGET_CT is not set +CONFIG_NETFILTER_XT_TARGET_DSCP=m +CONFIG_NETFILTER_XT_TARGET_HL=m +# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set +# CONFIG_NETFILTER_XT_TARGET_LED is not set +CONFIG_NETFILTER_XT_TARGET_MARK=m +CONFIG_NETFILTER_XT_TARGET_NFLOG=m +CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m +CONFIG_NETFILTER_XT_TARGET_NOTRACK=m +# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set +# CONFIG_NETFILTER_XT_TARGET_TEE is not set +CONFIG_NETFILTER_XT_TARGET_TRACE=m +CONFIG_NETFILTER_XT_TARGET_TCPMSS=m +# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set + +# +# Xtables matches +# +# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set +# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set +CONFIG_NETFILTER_XT_MATCH_COMMENT=m +CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m +CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m +CONFIG_NETFILTER_XT_MATCH_CONNMARK=m +CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m +# CONFIG_NETFILTER_XT_MATCH_CPU is not set +CONFIG_NETFILTER_XT_MATCH_DCCP=m +# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set +CONFIG_NETFILTER_XT_MATCH_DSCP=m +CONFIG_NETFILTER_XT_MATCH_ESP=m +CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m +CONFIG_NETFILTER_XT_MATCH_HELPER=m +CONFIG_NETFILTER_XT_MATCH_HL=m +# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set +CONFIG_NETFILTER_XT_MATCH_LENGTH=m +CONFIG_NETFILTER_XT_MATCH_LIMIT=m +CONFIG_NETFILTER_XT_MATCH_MAC=m +CONFIG_NETFILTER_XT_MATCH_MARK=m +CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m +# CONFIG_NETFILTER_XT_MATCH_OSF is not set +# CONFIG_NETFILTER_XT_MATCH_OWNER is not set +CONFIG_NETFILTER_XT_MATCH_POLICY=m +# CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set +CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m +CONFIG_NETFILTER_XT_MATCH_QUOTA=m +# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set +CONFIG_NETFILTER_XT_MATCH_REALM=m +# CONFIG_NETFILTER_XT_MATCH_RECENT is not set +CONFIG_NETFILTER_XT_MATCH_SCTP=m +CONFIG_NETFILTER_XT_MATCH_STATE=m +CONFIG_NETFILTER_XT_MATCH_STATISTIC=m +CONFIG_NETFILTER_XT_MATCH_STRING=m +CONFIG_NETFILTER_XT_MATCH_TCPMSS=m +# CONFIG_NETFILTER_XT_MATCH_TIME is not set +CONFIG_NETFILTER_XT_MATCH_U32=m +# CONFIG_IP_SET is not set +# CONFIG_IP_VS is not set + +# +# IP: Netfilter Configuration +# +CONFIG_NF_DEFRAG_IPV4=m +CONFIG_NF_CONNTRACK_IPV4=m +CONFIG_NF_CONNTRACK_PROC_COMPAT=y +CONFIG_IP_NF_QUEUE=m +CONFIG_IP_NF_IPTABLES=m +CONFIG_IP_NF_MATCH_AH=m +CONFIG_IP_NF_MATCH_ECN=m +CONFIG_IP_NF_MATCH_TTL=m +CONFIG_IP_NF_FILTER=m +CONFIG_IP_NF_TARGET_REJECT=m +CONFIG_IP_NF_TARGET_LOG=m +CONFIG_IP_NF_TARGET_ULOG=m +CONFIG_NF_NAT=m +CONFIG_NF_NAT_NEEDED=y +CONFIG_IP_NF_TARGET_MASQUERADE=m +CONFIG_IP_NF_TARGET_NETMAP=m +CONFIG_IP_NF_TARGET_REDIRECT=m +CONFIG_NF_NAT_PROTO_GRE=m +CONFIG_NF_NAT_PROTO_UDPLITE=m +CONFIG_NF_NAT_PROTO_SCTP=m +CONFIG_NF_NAT_FTP=m +CONFIG_NF_NAT_IRC=m +CONFIG_NF_NAT_TFTP=m +CONFIG_NF_NAT_AMANDA=m +CONFIG_NF_NAT_PPTP=m +CONFIG_NF_NAT_H323=m +CONFIG_NF_NAT_SIP=m +CONFIG_IP_NF_MANGLE=m +CONFIG_IP_NF_TARGET_CLUSTERIP=m +CONFIG_IP_NF_TARGET_ECN=m +CONFIG_IP_NF_TARGET_TTL=m +CONFIG_IP_NF_RAW=m +# CONFIG_IP_NF_SECURITY is not set +CONFIG_IP_NF_ARPTABLES=m +CONFIG_IP_NF_ARPFILTER=m +CONFIG_IP_NF_ARP_MANGLE=m + +# +# IPv6: Netfilter Configuration +# +# CONFIG_NF_DEFRAG_IPV6 is not set +# CONFIG_NF_CONNTRACK_IPV6 is not set +CONFIG_IP6_NF_QUEUE=m +CONFIG_IP6_NF_IPTABLES=m +# CONFIG_IP6_NF_MATCH_AH is not set +CONFIG_IP6_NF_MATCH_EUI64=m +CONFIG_IP6_NF_MATCH_FRAG=m +CONFIG_IP6_NF_MATCH_OPTS=m +CONFIG_IP6_NF_MATCH_HL=m +CONFIG_IP6_NF_MATCH_IPV6HEADER=m +# CONFIG_IP6_NF_MATCH_MH is not set +CONFIG_IP6_NF_MATCH_RT=m +# CONFIG_IP6_NF_TARGET_HL is not set +CONFIG_IP6_NF_TARGET_LOG=m +CONFIG_IP6_NF_FILTER=m +# CONFIG_IP6_NF_TARGET_REJECT is not set +CONFIG_IP6_NF_MANGLE=m +CONFIG_IP6_NF_RAW=m +# CONFIG_IP6_NF_SECURITY is not set +# CONFIG_BRIDGE_NF_EBTABLES is not set +# CONFIG_IP_DCCP is not set +CONFIG_IP_SCTP=m +# CONFIG_NET_SCTPPROBE is not set +# CONFIG_SCTP_DBG_MSG is not set +# CONFIG_SCTP_DBG_OBJCNT is not set +# CONFIG_SCTP_HMAC_NONE is not set +# CONFIG_SCTP_HMAC_SHA1 is not set +CONFIG_SCTP_HMAC_MD5=y +# CONFIG_RDS is not set +CONFIG_TIPC=m +# CONFIG_TIPC_ADVANCED is not set +# CONFIG_TIPC_DEBUG is not set +CONFIG_ATM=m +CONFIG_ATM_CLIP=m +# CONFIG_ATM_CLIP_NO_ICMP is not set +CONFIG_ATM_LANE=m +CONFIG_ATM_MPOA=m +CONFIG_ATM_BR2684=m +# CONFIG_ATM_BR2684_IPFILTER is not set +# CONFIG_L2TP is not set +CONFIG_STP=m +CONFIG_BRIDGE=m +CONFIG_BRIDGE_IGMP_SNOOPING=y +# CONFIG_NET_DSA is not set +CONFIG_VLAN_8021Q=m +# CONFIG_VLAN_8021Q_GVRP is not set +# CONFIG_DECNET is not set +CONFIG_LLC=m +# CONFIG_LLC2 is not set +# CONFIG_IPX is not set +# CONFIG_ATALK is not set +# CONFIG_X25 is not set +# CONFIG_LAPB is not set +# CONFIG_ECONET is not set +CONFIG_WAN_ROUTER=m +# CONFIG_PHONET is not set +# CONFIG_IEEE802154 is not set +CONFIG_NET_SCHED=y + +# +# Queueing/Scheduling +# +# CONFIG_NET_SCH_CBQ is not set +# CONFIG_NET_SCH_HTB is not set +# CONFIG_NET_SCH_HFSC is not set +# CONFIG_NET_SCH_ATM is not set +# CONFIG_NET_SCH_PRIO is not set +# CONFIG_NET_SCH_MULTIQ is not set +# CONFIG_NET_SCH_RED is not set +# CONFIG_NET_SCH_SFB is not set +# CONFIG_NET_SCH_SFQ is not set +# CONFIG_NET_SCH_TEQL is not set +# CONFIG_NET_SCH_TBF is not set +# CONFIG_NET_SCH_GRED is not set +# CONFIG_NET_SCH_DSMARK is not set +# CONFIG_NET_SCH_NETEM is not set +# CONFIG_NET_SCH_DRR is not set +# CONFIG_NET_SCH_MQPRIO is not set +# CONFIG_NET_SCH_CHOKE is not set + +# +# Classification +# +# CONFIG_NET_CLS_BASIC is not set +# CONFIG_NET_CLS_TCINDEX is not set +# CONFIG_NET_CLS_ROUTE4 is not set +# CONFIG_NET_CLS_FW is not set +# CONFIG_NET_CLS_U32 is not set +# CONFIG_NET_CLS_RSVP is not set +# CONFIG_NET_CLS_RSVP6 is not set +# CONFIG_NET_CLS_FLOW is not set +# CONFIG_NET_EMATCH is not set +# CONFIG_NET_CLS_ACT is not set +CONFIG_NET_SCH_FIFO=y +# CONFIG_DCB is not set +CONFIG_DNS_RESOLVER=y +# CONFIG_BATMAN_ADV is not set + +# +# Network testing +# +CONFIG_NET_PKTGEN=m +# CONFIG_NET_TCPPROBE is not set +# CONFIG_NET_DROP_MONITOR is not set +# CONFIG_HAMRADIO is not set +# CONFIG_CAN is not set +# CONFIG_IRDA is not set +# CONFIG_BT is not set +# CONFIG_AF_RXRPC is not set +CONFIG_FIB_RULES=y +CONFIG_WIRELESS=y +CONFIG_WEXT_CORE=y +CONFIG_WEXT_PROC=y +CONFIG_CFG80211=y +# CONFIG_NL80211_TESTMODE is not set +# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set +# CONFIG_CFG80211_REG_DEBUG is not set +CONFIG_CFG80211_DEFAULT_PS=y +# CONFIG_CFG80211_DEBUGFS is not set +# CONFIG_CFG80211_INTERNAL_REGDB is not set +CONFIG_CFG80211_WEXT=y +CONFIG_WIRELESS_EXT_SYSFS=y +# CONFIG_LIB80211 is not set +CONFIG_MAC80211=y +CONFIG_MAC80211_HAS_RC=y +# CONFIG_MAC80211_RC_PID is not set +CONFIG_MAC80211_RC_MINSTREL=y +CONFIG_MAC80211_RC_MINSTREL_HT=y +CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y +CONFIG_MAC80211_RC_DEFAULT="minstrel_ht" +# CONFIG_MAC80211_MESH is not set +CONFIG_MAC80211_LEDS=y +# CONFIG_MAC80211_DEBUGFS is not set +# CONFIG_MAC80211_DEBUG_MENU is not set +# CONFIG_WIMAX is not set +# CONFIG_RFKILL is not set +# CONFIG_NET_9P is not set +# CONFIG_CAIF is not set +# CONFIG_CEPH_LIB is not set + +# +# Device Drivers +# + +# +# Generic Driver Options +# +CONFIG_UEVENT_HELPER_PATH="" +# CONFIG_DEVTMPFS is not set +CONFIG_STANDALONE=y +CONFIG_PREVENT_FIRMWARE_BUILD=y +CONFIG_FW_LOADER=y +CONFIG_FIRMWARE_IN_KERNEL=y +CONFIG_EXTRA_FIRMWARE="" +# CONFIG_DEBUG_DRIVER is not set +# CONFIG_DEBUG_DEVRES is not set +# CONFIG_SYS_HYPERVISOR is not set +CONFIG_ARCH_NO_SYSDEV_OPS=y +CONFIG_CONNECTOR=y +CONFIG_PROC_EVENTS=y +# CONFIG_MTD is not set +# CONFIG_PARPORT is not set +CONFIG_PNP=y +CONFIG_PNP_DEBUG_MESSAGES=y + +# +# Protocols +# +CONFIG_PNPACPI=y +CONFIG_BLK_DEV=y +# CONFIG_BLK_DEV_FD is not set +# CONFIG_BLK_CPQ_DA is not set +# CONFIG_BLK_CPQ_CISS_DA is not set +# CONFIG_BLK_DEV_DAC960 is not set +# CONFIG_BLK_DEV_UMEM is not set +# CONFIG_BLK_DEV_COW_COMMON is not set +CONFIG_BLK_DEV_LOOP=m +CONFIG_BLK_DEV_CRYPTOLOOP=m +# CONFIG_BLK_DEV_DRBD is not set +CONFIG_BLK_DEV_NBD=m +# CONFIG_BLK_DEV_SX8 is not set +# CONFIG_BLK_DEV_UB is not set +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_COUNT=16 +CONFIG_BLK_DEV_RAM_SIZE=4096 +# CONFIG_BLK_DEV_XIP is not set +# CONFIG_CDROM_PKTCDVD is not set +# CONFIG_ATA_OVER_ETH is not set +# CONFIG_BLK_DEV_HD is not set +# CONFIG_BLK_DEV_RBD is not set +# CONFIG_SENSORS_LIS3LV02D is not set +# CONFIG_MISC_DEVICES is not set +CONFIG_HAVE_IDE=y +# CONFIG_IDE is not set + +# +# SCSI device support +# +CONFIG_SCSI_MOD=y +# CONFIG_RAID_ATTRS is not set +CONFIG_SCSI=y +CONFIG_SCSI_DMA=y +# CONFIG_SCSI_TGT is not set +# CONFIG_SCSI_NETLINK is not set +CONFIG_SCSI_PROC_FS=y + +# +# SCSI support type (disk, tape, CD-ROM) +# +CONFIG_BLK_DEV_SD=y +# CONFIG_CHR_DEV_ST is not set +# CONFIG_CHR_DEV_OSST is not set +# CONFIG_BLK_DEV_SR is not set +# CONFIG_CHR_DEV_SG is not set +# CONFIG_CHR_DEV_SCH is not set +# CONFIG_SCSI_MULTI_LUN is not set +# CONFIG_SCSI_CONSTANTS is not set +# CONFIG_SCSI_LOGGING is not set +# CONFIG_SCSI_SCAN_ASYNC is not set +CONFIG_SCSI_WAIT_SCAN=m + +# +# SCSI Transports +# +# CONFIG_SCSI_SPI_ATTRS is not set +# CONFIG_SCSI_FC_ATTRS is not set +# CONFIG_SCSI_ISCSI_ATTRS is not set +# CONFIG_SCSI_SAS_ATTRS is not set +# CONFIG_SCSI_SAS_LIBSAS is not set +# CONFIG_SCSI_SRP_ATTRS is not set +CONFIG_SCSI_LOWLEVEL=y +# CONFIG_ISCSI_TCP is not set +# CONFIG_ISCSI_BOOT_SYSFS is not set +# CONFIG_SCSI_CXGB3_ISCSI is not set +# CONFIG_SCSI_CXGB4_ISCSI is not set +# CONFIG_SCSI_BNX2_ISCSI is not set +# CONFIG_SCSI_BNX2X_FCOE is not set +# CONFIG_BE2ISCSI is not set +# CONFIG_BLK_DEV_3W_XXXX_RAID is not set +# CONFIG_SCSI_HPSA is not set +# CONFIG_SCSI_3W_9XXX is not set +# CONFIG_SCSI_3W_SAS is not set +# CONFIG_SCSI_ACARD is not set +# CONFIG_SCSI_AACRAID is not set +# CONFIG_SCSI_AIC7XXX is not set +# CONFIG_SCSI_AIC7XXX_OLD is not set +# CONFIG_SCSI_AIC79XX is not set +# CONFIG_SCSI_AIC94XX is not set +# CONFIG_SCSI_MVSAS is not set +# CONFIG_SCSI_DPT_I2O is not set +# CONFIG_SCSI_ADVANSYS is not set +# CONFIG_SCSI_ARCMSR is not set +# CONFIG_MEGARAID_NEWGEN is not set +# CONFIG_MEGARAID_LEGACY is not set +# CONFIG_MEGARAID_SAS is not set +# CONFIG_SCSI_MPT2SAS is not set +# CONFIG_SCSI_HPTIOP is not set +# CONFIG_SCSI_BUSLOGIC is not set +# CONFIG_VMWARE_PVSCSI is not set +# CONFIG_LIBFC is not set +# CONFIG_LIBFCOE is not set +# CONFIG_FCOE is not set +# CONFIG_FCOE_FNIC is not set +# CONFIG_SCSI_DMX3191D is not set +# CONFIG_SCSI_EATA is not set +# CONFIG_SCSI_FUTURE_DOMAIN is not set +# CONFIG_SCSI_GDTH is not set +# CONFIG_SCSI_IPS is not set +# CONFIG_SCSI_INITIO is not set +# CONFIG_SCSI_INIA100 is not set +# CONFIG_SCSI_STEX is not set +# CONFIG_SCSI_SYM53C8XX_2 is not set +# CONFIG_SCSI_IPR is not set +# CONFIG_SCSI_QLOGIC_1280 is not set +# CONFIG_SCSI_QLA_FC is not set +# CONFIG_SCSI_QLA_ISCSI is not set +# CONFIG_SCSI_LPFC is not set +# CONFIG_SCSI_DC395x is not set +# CONFIG_SCSI_DC390T is not set +# CONFIG_SCSI_NSP32 is not set +# CONFIG_SCSI_DEBUG is not set +# CONFIG_SCSI_PMCRAID is not set +# CONFIG_SCSI_PM8001 is not set +# CONFIG_SCSI_SRP is not set +# CONFIG_SCSI_BFA_FC is not set +# CONFIG_SCSI_DH is not set +# CONFIG_SCSI_OSD_INITIATOR is not set +CONFIG_ATA=y +# CONFIG_ATA_NONSTANDARD is not set +CONFIG_ATA_VERBOSE_ERROR=y +CONFIG_ATA_ACPI=y +CONFIG_SATA_PMP=y + +# +# Controllers with non-SFF native interface +# +CONFIG_SATA_AHCI=y +# CONFIG_SATA_AHCI_PLATFORM is not set +# CONFIG_SATA_INIC162X is not set +# CONFIG_SATA_ACARD_AHCI is not set +# CONFIG_SATA_SIL24 is not set +CONFIG_ATA_SFF=y + +# +# SFF controllers with custom DMA interface +# +# CONFIG_PDC_ADMA is not set +# CONFIG_SATA_QSTOR is not set +# CONFIG_SATA_SX4 is not set +CONFIG_ATA_BMDMA=y + +# +# SATA SFF controllers with BMDMA +# +CONFIG_ATA_PIIX=y +# CONFIG_SATA_MV is not set +# CONFIG_SATA_NV is not set +# CONFIG_SATA_PROMISE is not set +# CONFIG_SATA_SIL is not set +# CONFIG_SATA_SIS is not set +# CONFIG_SATA_SVW is not set +# CONFIG_SATA_ULI is not set +# CONFIG_SATA_VIA is not set +# CONFIG_SATA_VITESSE is not set + +# +# PATA SFF controllers with BMDMA +# +# CONFIG_PATA_ALI is not set +# CONFIG_PATA_AMD is not set +# CONFIG_PATA_ARASAN_CF is not set +# CONFIG_PATA_ARTOP is not set +# CONFIG_PATA_ATIIXP is not set +# CONFIG_PATA_ATP867X is not set +# CONFIG_PATA_CMD64X is not set +# CONFIG_PATA_CS5520 is not set +# CONFIG_PATA_CS5530 is not set +# CONFIG_PATA_CS5535 is not set +CONFIG_PATA_CS5536=y +# CONFIG_PATA_CYPRESS is not set +# CONFIG_PATA_EFAR is not set +# CONFIG_PATA_HPT366 is not set +# CONFIG_PATA_HPT37X is not set +# CONFIG_PATA_HPT3X2N is not set +# CONFIG_PATA_HPT3X3 is not set +# CONFIG_PATA_IT8213 is not set +# CONFIG_PATA_IT821X is not set +# CONFIG_PATA_JMICRON is not set +# CONFIG_PATA_MARVELL is not set +# CONFIG_PATA_NETCELL is not set +# CONFIG_PATA_NINJA32 is not set +# CONFIG_PATA_NS87415 is not set +# CONFIG_PATA_OLDPIIX is not set +# CONFIG_PATA_OPTIDMA is not set +# CONFIG_PATA_PDC2027X is not set +# CONFIG_PATA_PDC_OLD is not set +# CONFIG_PATA_RADISYS is not set +# CONFIG_PATA_RDC is not set +# CONFIG_PATA_SC1200 is not set +# CONFIG_PATA_SCH is not set +# CONFIG_PATA_SERVERWORKS is not set +# CONFIG_PATA_SIL680 is not set +# CONFIG_PATA_SIS is not set +# CONFIG_PATA_TOSHIBA is not set +# CONFIG_PATA_TRIFLEX is not set +# CONFIG_PATA_VIA is not set +# CONFIG_PATA_WINBOND is not set + +# +# PIO-only SFF controllers +# +# CONFIG_PATA_CMD640_PCI is not set +# CONFIG_PATA_MPIIX is not set +# CONFIG_PATA_NS87410 is not set +# CONFIG_PATA_OPTI is not set +CONFIG_PATA_PLATFORM=y +# CONFIG_PATA_RZ1000 is not set + +# +# Generic fallback / legacy drivers +# +# CONFIG_PATA_ACPI is not set +CONFIG_ATA_GENERIC=y +# CONFIG_PATA_LEGACY is not set +CONFIG_MD=y +CONFIG_BLK_DEV_MD=y +CONFIG_MD_AUTODETECT=y +CONFIG_MD_LINEAR=y +CONFIG_MD_RAID0=y +CONFIG_MD_RAID1=y +CONFIG_MD_RAID10=y +# CONFIG_MD_RAID456 is not set +CONFIG_MD_MULTIPATH=y +CONFIG_MD_FAULTY=y +CONFIG_BLK_DEV_DM=y +# CONFIG_DM_DEBUG is not set +CONFIG_DM_CRYPT=y +CONFIG_DM_SNAPSHOT=y +CONFIG_DM_MIRROR=y +# CONFIG_DM_RAID is not set +# CONFIG_DM_LOG_USERSPACE is not set +CONFIG_DM_ZERO=y +# CONFIG_DM_MULTIPATH is not set +# CONFIG_DM_DELAY is not set +# CONFIG_DM_UEVENT is not set +# CONFIG_DM_FLAKEY is not set +# CONFIG_TARGET_CORE is not set +# CONFIG_FUSION is not set + +# +# IEEE 1394 (FireWire) support +# +# CONFIG_FIREWIRE is not set +# CONFIG_FIREWIRE_NOSY is not set +# CONFIG_I2O is not set +# CONFIG_MACINTOSH_DRIVERS is not set +CONFIG_NETDEVICES=y +CONFIG_DUMMY=m +CONFIG_BONDING=m +# CONFIG_MACVLAN is not set +# CONFIG_EQUALIZER is not set +CONFIG_TUN=m +# CONFIG_VETH is not set +# CONFIG_NET_SB1000 is not set +# CONFIG_ARCNET is not set +CONFIG_MII=y +CONFIG_PHYLIB=y + +# +# MII PHY device drivers +# +# CONFIG_MARVELL_PHY is not set +# CONFIG_DAVICOM_PHY is not set +# CONFIG_QSEMI_PHY is not set +# CONFIG_LXT_PHY is not set +# CONFIG_CICADA_PHY is not set +# CONFIG_VITESSE_PHY is not set +# CONFIG_SMSC_PHY is not set +# CONFIG_BROADCOM_PHY is not set +# CONFIG_BCM63XX_PHY is not set +# CONFIG_ICPLUS_PHY is not set +# CONFIG_REALTEK_PHY is not set +# CONFIG_NATIONAL_PHY is not set +# CONFIG_STE10XP is not set +# CONFIG_LSI_ET1011C_PHY is not set +# CONFIG_MICREL_PHY is not set +# CONFIG_FIXED_PHY is not set +# CONFIG_MDIO_BITBANG is not set +CONFIG_NET_ETHERNET=y +# CONFIG_HAPPYMEAL is not set +# CONFIG_SUNGEM is not set +# CONFIG_CASSINI is not set +# CONFIG_NET_VENDOR_3COM is not set +# CONFIG_ETHOC is not set +# CONFIG_DNET is not set +# CONFIG_NET_TULIP is not set +# CONFIG_HP100 is not set +# CONFIG_IBM_NEW_EMAC_ZMII is not set +# CONFIG_IBM_NEW_EMAC_RGMII is not set +# CONFIG_IBM_NEW_EMAC_TAH is not set +# CONFIG_IBM_NEW_EMAC_EMAC4 is not set +# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set +# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set +# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set +CONFIG_NET_PCI=y +# CONFIG_PCNET32 is not set +# CONFIG_AMD8111_ETH is not set +# CONFIG_ADAPTEC_STARFIRE is not set +# CONFIG_KSZ884X_PCI is not set +# CONFIG_B44 is not set +# CONFIG_FORCEDETH is not set +CONFIG_E100=y +# CONFIG_FEALNX is not set +# CONFIG_NATSEMI is not set +# CONFIG_NE2K_PCI is not set +# CONFIG_8139CP is not set +# CONFIG_8139TOO is not set +# CONFIG_R6040 is not set +# CONFIG_SIS900 is not set +# CONFIG_EPIC100 is not set +# CONFIG_SMSC9420 is not set +# CONFIG_SUNDANCE is not set +# CONFIG_TLAN is not set +# CONFIG_KS8851_MLL is not set +CONFIG_VIA_RHINE=y +CONFIG_VIA_RHINE_MMIO=y +# CONFIG_SC92031 is not set +CONFIG_ATL2=y +CONFIG_NETDEV_1000=y +# CONFIG_ACENIC is not set +# CONFIG_DL2K is not set +CONFIG_E1000=y +CONFIG_E1000E=y +# CONFIG_IP1000 is not set +# CONFIG_IGB is not set +# CONFIG_IGBVF is not set +# CONFIG_NS83820 is not set +# CONFIG_HAMACHI is not set +# CONFIG_YELLOWFIN is not set +# CONFIG_R8169 is not set +# CONFIG_SIS190 is not set +# CONFIG_SKGE is not set +# CONFIG_SKY2 is not set +# CONFIG_VIA_VELOCITY is not set +CONFIG_TIGON3=y +# CONFIG_BNX2 is not set +# CONFIG_CNIC is not set +# CONFIG_QLA3XXX is not set +# CONFIG_ATL1 is not set +# CONFIG_ATL1E is not set +# CONFIG_ATL1C is not set +# CONFIG_JME is not set +# CONFIG_STMMAC_ETH is not set +# CONFIG_PCH_GBE is not set +CONFIG_NETDEV_10000=y +# CONFIG_CHELSIO_T1 is not set +# CONFIG_CHELSIO_T3 is not set +# CONFIG_CHELSIO_T4 is not set +# CONFIG_CHELSIO_T4VF is not set +# CONFIG_ENIC is not set +# CONFIG_IXGBE is not set +# CONFIG_IXGB is not set +# CONFIG_S2IO is not set +# CONFIG_VXGE is not set +# CONFIG_MYRI10GE is not set +# CONFIG_NETXEN_NIC is not set +# CONFIG_NIU is not set +# CONFIG_MLX4_EN is not set +# CONFIG_MLX4_CORE is not set +# CONFIG_TEHUTI is not set +# CONFIG_BNX2X is not set +# CONFIG_QLCNIC is not set +# CONFIG_QLGE is not set +# CONFIG_BNA is not set +# CONFIG_SFC is not set +# CONFIG_BE2NET is not set +# CONFIG_TR is not set +CONFIG_WLAN=y +# CONFIG_LIBERTAS_THINFIRM is not set +# CONFIG_AIRO is not set +# CONFIG_ATMEL is not set +# CONFIG_AT76C50X_USB is not set +# CONFIG_PRISM54 is not set +# CONFIG_USB_ZD1201 is not set +# CONFIG_USB_NET_RNDIS_WLAN is not set +# CONFIG_RTL8180 is not set +# CONFIG_RTL8187 is not set +# CONFIG_ADM8211 is not set +# CONFIG_MAC80211_HWSIM is not set +# CONFIG_MWL8K is not set +CONFIG_ATH_COMMON=y +# CONFIG_ATH_DEBUG is not set +CONFIG_ATH5K=y +# CONFIG_ATH5K_DEBUG is not set +# CONFIG_ATH5K_TRACER is not set +CONFIG_ATH5K_PCI=y +# CONFIG_ATH9K is not set +# CONFIG_ATH9K_HTC is not set +# CONFIG_AR9170_USB is not set +# CONFIG_CARL9170 is not set +# CONFIG_B43 is not set +# CONFIG_B43LEGACY is not set +# CONFIG_HOSTAP is not set +# CONFIG_IPW2100 is not set +# CONFIG_IPW2200 is not set +# CONFIG_IWLAGN is not set +# CONFIG_IWL4965 is not set +# CONFIG_IWL3945 is not set +# CONFIG_LIBERTAS is not set +# CONFIG_HERMES is not set +# CONFIG_P54_COMMON is not set +# CONFIG_RT2X00 is not set +# CONFIG_RTL8192CE is not set +# CONFIG_RTL8192CU is not set +# CONFIG_WL1251 is not set +# CONFIG_WL12XX_MENU is not set +# CONFIG_ZD1211RW is not set + +# +# Enable WiMAX (Networking options) to see the WiMAX drivers +# + +# +# USB Network Adapters +# +# CONFIG_USB_CATC is not set +# CONFIG_USB_KAWETH is not set +# CONFIG_USB_PEGASUS is not set +# CONFIG_USB_RTL8150 is not set +# CONFIG_USB_USBNET is not set +# CONFIG_USB_IPHETH is not set +# CONFIG_WAN is not set +CONFIG_ATM_DRIVERS=y +# CONFIG_ATM_DUMMY is not set +# CONFIG_ATM_TCP is not set +# CONFIG_ATM_LANAI is not set +# CONFIG_ATM_ENI is not set +# CONFIG_ATM_FIRESTREAM is not set +# CONFIG_ATM_ZATM is not set +# CONFIG_ATM_NICSTAR is not set +# CONFIG_ATM_IDT77252 is not set +# CONFIG_ATM_AMBASSADOR is not set +# CONFIG_ATM_HORIZON is not set +# CONFIG_ATM_IA is not set +# CONFIG_ATM_FORE200E is not set +# CONFIG_ATM_HE is not set +# CONFIG_ATM_SOLOS is not set + +# +# CAIF transport drivers +# +# CONFIG_FDDI is not set +# CONFIG_HIPPI is not set +CONFIG_PPP=m +CONFIG_PPP_MULTILINK=y +CONFIG_PPP_FILTER=y +CONFIG_PPP_ASYNC=m +CONFIG_PPP_SYNC_TTY=m +CONFIG_PPP_DEFLATE=m +CONFIG_PPP_BSDCOMP=m +# CONFIG_PPP_MPPE is not set +CONFIG_PPPOE=m +CONFIG_PPPOATM=m +CONFIG_SLIP=m +CONFIG_SLIP_COMPRESSED=y +CONFIG_SLHC=m +CONFIG_SLIP_SMART=y +CONFIG_SLIP_MODE_SLIP6=y +# CONFIG_NET_FC is not set +CONFIG_NETCONSOLE=y +# CONFIG_NETCONSOLE_DYNAMIC is not set +CONFIG_NETPOLL=y +# CONFIG_NETPOLL_TRAP is not set +CONFIG_NET_POLL_CONTROLLER=y +# CONFIG_VMXNET3 is not set +CONFIG_ISDN=y +# CONFIG_ISDN_I4L is not set +# CONFIG_ISDN_CAPI is not set +# CONFIG_ISDN_DRV_GIGASET is not set +# CONFIG_HYSDN is not set +CONFIG_MISDN=m +CONFIG_MISDN_DSP=m +# CONFIG_MISDN_L1OIP is not set + +# +# mISDN hardware drivers +# +# CONFIG_MISDN_HFCPCI is not set +# CONFIG_MISDN_HFCMULTI is not set +# CONFIG_MISDN_HFCUSB is not set +# CONFIG_MISDN_AVMFRITZ is not set +# CONFIG_MISDN_SPEEDFAX is not set +# CONFIG_MISDN_INFINEON is not set +# CONFIG_MISDN_W6692 is not set +# CONFIG_MISDN_NETJET is not set +CONFIG_MISDN_L1LOOP=m +# CONFIG_PHONE is not set + +# +# Input device support +# +CONFIG_INPUT=y +# CONFIG_INPUT_FF_MEMLESS is not set +# CONFIG_INPUT_POLLDEV is not set +# CONFIG_INPUT_SPARSEKMAP is not set + +# +# Userland interfaces +# +CONFIG_INPUT_MOUSEDEV=y +CONFIG_INPUT_MOUSEDEV_PSAUX=y +CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 +CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 +# CONFIG_INPUT_JOYDEV is not set +CONFIG_INPUT_EVDEV=y +# CONFIG_INPUT_EVBUG is not set + +# +# Input Device Drivers +# +CONFIG_INPUT_KEYBOARD=y +# CONFIG_KEYBOARD_ADP5588 is not set +CONFIG_KEYBOARD_ATKBD=y +# CONFIG_KEYBOARD_QT1070 is not set +# CONFIG_KEYBOARD_QT2160 is not set +# CONFIG_KEYBOARD_LKKBD is not set +# CONFIG_KEYBOARD_TCA6416 is not set +# CONFIG_KEYBOARD_LM8323 is not set +# CONFIG_KEYBOARD_MAX7359 is not set +# CONFIG_KEYBOARD_MCS is not set +# CONFIG_KEYBOARD_NEWTON is not set +# CONFIG_KEYBOARD_OPENCORES is not set +# CONFIG_KEYBOARD_STOWAWAY is not set +# CONFIG_KEYBOARD_SUNKBD is not set +# CONFIG_KEYBOARD_XTKBD is not set +CONFIG_INPUT_MOUSE=y +CONFIG_MOUSE_PS2=y +CONFIG_MOUSE_PS2_ALPS=y +CONFIG_MOUSE_PS2_LOGIPS2PP=y +CONFIG_MOUSE_PS2_SYNAPTICS=y +CONFIG_MOUSE_PS2_LIFEBOOK=y +CONFIG_MOUSE_PS2_TRACKPOINT=y +# CONFIG_MOUSE_PS2_ELANTECH is not set +# CONFIG_MOUSE_PS2_SENTELIC is not set +# CONFIG_MOUSE_PS2_TOUCHKIT is not set +# CONFIG_MOUSE_SERIAL is not set +# CONFIG_MOUSE_APPLETOUCH is not set +# CONFIG_MOUSE_BCM5974 is not set +# CONFIG_MOUSE_VSXXXAA is not set +# CONFIG_MOUSE_SYNAPTICS_I2C is not set +# CONFIG_INPUT_JOYSTICK is not set +CONFIG_INPUT_TABLET=y +# CONFIG_TABLET_USB_ACECAD is not set +# CONFIG_TABLET_USB_AIPTEK is not set +# CONFIG_TABLET_USB_GTCO is not set +# CONFIG_TABLET_USB_HANWANG is not set +# CONFIG_TABLET_USB_KBTAB is not set +CONFIG_TABLET_USB_WACOM=y +# CONFIG_INPUT_TOUCHSCREEN is not set +# CONFIG_INPUT_MISC is not set + +# +# Hardware I/O ports +# +CONFIG_SERIO=y +CONFIG_SERIO_I8042=y +CONFIG_SERIO_SERPORT=y +# CONFIG_SERIO_CT82C710 is not set +# CONFIG_SERIO_PCIPS2 is not set +CONFIG_SERIO_LIBPS2=y +# CONFIG_SERIO_RAW is not set +# CONFIG_SERIO_ALTERA_PS2 is not set +# CONFIG_SERIO_PS2MULT is not set +# CONFIG_GAMEPORT is not set + +# +# Character devices +# +CONFIG_VT=y +CONFIG_CONSOLE_TRANSLATIONS=y +CONFIG_VT_CONSOLE=y +CONFIG_HW_CONSOLE=y +# CONFIG_VT_HW_CONSOLE_BINDING is not set +CONFIG_UNIX98_PTYS=y +# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set +CONFIG_LEGACY_PTYS=y +CONFIG_LEGACY_PTY_COUNT=256 +# CONFIG_SERIAL_NONSTANDARD is not set +# CONFIG_NOZOMI is not set +# CONFIG_N_GSM is not set +CONFIG_DEVKMEM=y + +# +# Serial drivers +# +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_FIX_EARLYCON_MEM=y +CONFIG_SERIAL_8250_PCI=y +CONFIG_SERIAL_8250_PNP=y +CONFIG_SERIAL_8250_NR_UARTS=4 +CONFIG_SERIAL_8250_RUNTIME_UARTS=4 +# CONFIG_SERIAL_8250_EXTENDED is not set + +# +# Non-8250 serial port support +# +# CONFIG_SERIAL_MFD_HSU is not set +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +CONFIG_CONSOLE_POLL=y +# CONFIG_SERIAL_JSM is not set +# CONFIG_SERIAL_TIMBERDALE is not set +# CONFIG_SERIAL_ALTERA_JTAGUART is not set +# CONFIG_SERIAL_ALTERA_UART is not set +# CONFIG_SERIAL_PCH_UART is not set +# CONFIG_TTY_PRINTK is not set +# CONFIG_IPMI_HANDLER is not set +CONFIG_HW_RANDOM=m +# CONFIG_HW_RANDOM_TIMERIOMEM is not set +CONFIG_HW_RANDOM_INTEL=m +CONFIG_HW_RANDOM_AMD=m +CONFIG_HW_RANDOM_GEODE=m +CONFIG_HW_RANDOM_VIA=m +# CONFIG_NVRAM is not set +# CONFIG_R3964 is not set +# CONFIG_APPLICOM is not set +# CONFIG_SONYPI is not set +# CONFIG_MWAVE is not set +# CONFIG_PC8736x_GPIO is not set +# CONFIG_NSC_GPIO is not set +# CONFIG_RAW_DRIVER is not set +# CONFIG_HPET is not set +# CONFIG_HANGCHECK_TIMER is not set +# CONFIG_TCG_TPM is not set +# CONFIG_TELCLOCK is not set +CONFIG_DEVPORT=y +# CONFIG_RAMOOPS is not set +CONFIG_I2C=y +CONFIG_I2C_BOARDINFO=y +CONFIG_I2C_COMPAT=y +# CONFIG_I2C_CHARDEV is not set +# CONFIG_I2C_MUX is not set +CONFIG_I2C_HELPER_AUTO=y + +# +# I2C Hardware Bus support +# + +# +# PC SMBus host controller drivers +# +# CONFIG_I2C_ALI1535 is not set +# CONFIG_I2C_ALI1563 is not set +# CONFIG_I2C_ALI15X3 is not set +# CONFIG_I2C_AMD756 is not set +# CONFIG_I2C_AMD8111 is not set +CONFIG_I2C_I801=y +# CONFIG_I2C_ISCH is not set +# CONFIG_I2C_PIIX4 is not set +# CONFIG_I2C_NFORCE2 is not set +# CONFIG_I2C_SIS5595 is not set +# CONFIG_I2C_SIS630 is not set +# CONFIG_I2C_SIS96X is not set +# CONFIG_I2C_VIA is not set +# CONFIG_I2C_VIAPRO is not set + +# +# ACPI drivers +# +# CONFIG_I2C_SCMI is not set + +# +# I2C system bus drivers (mostly embedded / system-on-chip) +# +# CONFIG_I2C_INTEL_MID is not set +# CONFIG_I2C_OCORES is not set +# CONFIG_I2C_PCA_PLATFORM is not set +# CONFIG_I2C_PXA_PCI is not set +# CONFIG_I2C_SIMTEC is not set +# CONFIG_I2C_XILINX is not set +# CONFIG_I2C_EG20T is not set + +# +# External I2C/SMBus adapter drivers +# +# CONFIG_I2C_DIOLAN_U2C is not set +# CONFIG_I2C_PARPORT_LIGHT is not set +# CONFIG_I2C_TAOS_EVM is not set +# CONFIG_I2C_TINY_USB is not set + +# +# Other I2C/SMBus bus drivers +# +# CONFIG_I2C_STUB is not set +# CONFIG_SCx200_ACB is not set +# CONFIG_I2C_DEBUG_CORE is not set +# CONFIG_I2C_DEBUG_ALGO is not set +# CONFIG_I2C_DEBUG_BUS is not set +# CONFIG_SPI is not set + +# +# PPS support +# +# CONFIG_PPS is not set + +# +# PPS generators support +# +CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y +# CONFIG_GPIOLIB is not set +# CONFIG_W1 is not set +CONFIG_POWER_SUPPLY=y +# CONFIG_POWER_SUPPLY_DEBUG is not set +# CONFIG_PDA_POWER is not set +# CONFIG_TEST_POWER is not set +# CONFIG_BATTERY_DS2782 is not set +# CONFIG_BATTERY_BQ20Z75 is not set +# CONFIG_BATTERY_BQ27x00 is not set +# CONFIG_BATTERY_MAX17040 is not set +# CONFIG_BATTERY_MAX17042 is not set +CONFIG_HWMON=y +# CONFIG_HWMON_VID is not set +# CONFIG_HWMON_DEBUG_CHIP is not set + +# +# Native drivers +# +# CONFIG_SENSORS_ABITUGURU is not set +# CONFIG_SENSORS_ABITUGURU3 is not set +# CONFIG_SENSORS_AD7414 is not set +# CONFIG_SENSORS_AD7418 is not set +# CONFIG_SENSORS_ADM1021 is not set +# CONFIG_SENSORS_ADM1025 is not set +# CONFIG_SENSORS_ADM1026 is not set +# CONFIG_SENSORS_ADM1029 is not set +# CONFIG_SENSORS_ADM1031 is not set +# CONFIG_SENSORS_ADM9240 is not set +# CONFIG_SENSORS_ADT7411 is not set +# CONFIG_SENSORS_ADT7462 is not set +# CONFIG_SENSORS_ADT7470 is not set +# CONFIG_SENSORS_ADT7475 is not set +# CONFIG_SENSORS_ASC7621 is not set +# CONFIG_SENSORS_K8TEMP is not set +# CONFIG_SENSORS_K10TEMP is not set +# CONFIG_SENSORS_ASB100 is not set +# CONFIG_SENSORS_ATXP1 is not set +# CONFIG_SENSORS_DS620 is not set +# CONFIG_SENSORS_DS1621 is not set +# CONFIG_SENSORS_I5K_AMB is not set +# CONFIG_SENSORS_F71805F is not set +# CONFIG_SENSORS_F71882FG is not set +# CONFIG_SENSORS_F75375S is not set +# CONFIG_SENSORS_FSCHMD is not set +# CONFIG_SENSORS_G760A is not set +# CONFIG_SENSORS_GL518SM is not set +# CONFIG_SENSORS_GL520SM is not set +# CONFIG_SENSORS_CORETEMP is not set +# CONFIG_SENSORS_PKGTEMP is not set +# CONFIG_SENSORS_IT87 is not set +# CONFIG_SENSORS_JC42 is not set +# CONFIG_SENSORS_LINEAGE is not set +# CONFIG_SENSORS_LM63 is not set +# CONFIG_SENSORS_LM73 is not set +# CONFIG_SENSORS_LM75 is not set +# CONFIG_SENSORS_LM77 is not set +# CONFIG_SENSORS_LM78 is not set +# CONFIG_SENSORS_LM80 is not set +# CONFIG_SENSORS_LM83 is not set +# CONFIG_SENSORS_LM85 is not set +# CONFIG_SENSORS_LM87 is not set +# CONFIG_SENSORS_LM90 is not set +# CONFIG_SENSORS_LM92 is not set +# CONFIG_SENSORS_LM93 is not set +# CONFIG_SENSORS_LTC4151 is not set +# CONFIG_SENSORS_LTC4215 is not set +# CONFIG_SENSORS_LTC4245 is not set +# CONFIG_SENSORS_LTC4261 is not set +# CONFIG_SENSORS_LM95241 is not set +# CONFIG_SENSORS_MAX1619 is not set +# CONFIG_SENSORS_MAX6639 is not set +# CONFIG_SENSORS_MAX6650 is not set +# CONFIG_SENSORS_PC87360 is not set +# CONFIG_SENSORS_PC87427 is not set +# CONFIG_SENSORS_PCF8591 is not set +# CONFIG_PMBUS is not set +# CONFIG_SENSORS_SHT21 is not set +# CONFIG_SENSORS_SIS5595 is not set +# CONFIG_SENSORS_SMM665 is not set +# CONFIG_SENSORS_DME1737 is not set +# CONFIG_SENSORS_EMC1403 is not set +# CONFIG_SENSORS_EMC2103 is not set +# CONFIG_SENSORS_SMSC47M1 is not set +# CONFIG_SENSORS_SMSC47M192 is not set +# CONFIG_SENSORS_SMSC47B397 is not set +# CONFIG_SENSORS_SCH5627 is not set +# CONFIG_SENSORS_ADS1015 is not set +# CONFIG_SENSORS_ADS7828 is not set +# CONFIG_SENSORS_AMC6821 is not set +# CONFIG_SENSORS_THMC50 is not set +# CONFIG_SENSORS_TMP102 is not set +# CONFIG_SENSORS_TMP401 is not set +# CONFIG_SENSORS_TMP421 is not set +# CONFIG_SENSORS_VIA_CPUTEMP is not set +# CONFIG_SENSORS_VIA686A is not set +# CONFIG_SENSORS_VT1211 is not set +# CONFIG_SENSORS_VT8231 is not set +# CONFIG_SENSORS_W83781D is not set +# CONFIG_SENSORS_W83791D is not set +# CONFIG_SENSORS_W83792D is not set +# CONFIG_SENSORS_W83793 is not set +# CONFIG_SENSORS_W83795 is not set +# CONFIG_SENSORS_W83L785TS is not set +# CONFIG_SENSORS_W83L786NG is not set +# CONFIG_SENSORS_W83627HF is not set +# CONFIG_SENSORS_W83627EHF is not set +# CONFIG_SENSORS_APPLESMC is not set + +# +# ACPI drivers +# +# CONFIG_SENSORS_ATK0110 is not set +CONFIG_THERMAL=y +# CONFIG_THERMAL_HWMON is not set +CONFIG_WATCHDOG=y +# CONFIG_WATCHDOG_NOWAYOUT is not set + +# +# Watchdog Device Drivers +# +CONFIG_SOFT_WATCHDOG=m +# CONFIG_ACQUIRE_WDT is not set +# CONFIG_ADVANTECH_WDT is not set +# CONFIG_ALIM1535_WDT is not set +# CONFIG_ALIM7101_WDT is not set +# CONFIG_F71808E_WDT is not set +# CONFIG_SP5100_TCO is not set +# CONFIG_SC520_WDT is not set +# CONFIG_SBC_FITPC2_WATCHDOG is not set +# CONFIG_EUROTECH_WDT is not set +# CONFIG_IB700_WDT is not set +# CONFIG_IBMASR is not set +# CONFIG_WAFER_WDT is not set +# CONFIG_I6300ESB_WDT is not set +# CONFIG_ITCO_WDT is not set +# CONFIG_IT8712F_WDT is not set +# CONFIG_IT87_WDT is not set +# CONFIG_HP_WATCHDOG is not set +# CONFIG_SC1200_WDT is not set +# CONFIG_PC87413_WDT is not set +# CONFIG_NV_TCO is not set +# CONFIG_60XX_WDT is not set +# CONFIG_SBC8360_WDT is not set +# CONFIG_SBC7240_WDT is not set +# CONFIG_CPU5_WDT is not set +# CONFIG_SMSC_SCH311X_WDT is not set +# CONFIG_SMSC37B787_WDT is not set +# CONFIG_W83627HF_WDT is not set +# CONFIG_W83697HF_WDT is not set +# CONFIG_W83697UG_WDT is not set +# CONFIG_W83877F_WDT is not set +# CONFIG_W83977F_WDT is not set +# CONFIG_MACHZ_WDT is not set +# CONFIG_SBC_EPX_C3_WATCHDOG is not set + +# +# PCI-based Watchdog Cards +# +# CONFIG_PCIPCWATCHDOG is not set +# CONFIG_WDTPCI is not set + +# +# USB-based Watchdog Cards +# +# CONFIG_USBPCWATCHDOG is not set +CONFIG_SSB_POSSIBLE=y + +# +# Sonics Silicon Backplane +# +# CONFIG_SSB is not set +CONFIG_MFD_SUPPORT=y +# CONFIG_MFD_CORE is not set +# CONFIG_MFD_88PM860X is not set +# CONFIG_MFD_SM501 is not set +# CONFIG_HTC_PASIC3 is not set +# CONFIG_TPS6105X is not set +# CONFIG_TPS6507X is not set +# CONFIG_TWL4030_CORE is not set +# CONFIG_MFD_STMPE is not set +# CONFIG_MFD_TC3589X is not set +# CONFIG_MFD_TMIO is not set +# CONFIG_PMIC_DA903X is not set +# CONFIG_PMIC_ADP5520 is not set +# CONFIG_MFD_MAX8925 is not set +# CONFIG_MFD_MAX8997 is not set +# CONFIG_MFD_MAX8998 is not set +# CONFIG_MFD_WM8400 is not set +# CONFIG_MFD_WM831X_I2C is not set +# CONFIG_MFD_WM8350_I2C is not set +# CONFIG_MFD_WM8994 is not set +# CONFIG_MFD_PCF50633 is not set +# CONFIG_ABX500_CORE is not set +# CONFIG_MFD_CS5535 is not set +# CONFIG_LPC_SCH is not set +# CONFIG_MFD_RDC321X is not set +# CONFIG_MFD_JANZ_CMODIO is not set +# CONFIG_MFD_VX855 is not set +# CONFIG_MFD_WL1273_CORE is not set +# CONFIG_REGULATOR is not set +# CONFIG_MEDIA_SUPPORT is not set + +# +# Graphics support +# +# CONFIG_AGP is not set +CONFIG_VGA_ARB=y +CONFIG_VGA_ARB_MAX_GPUS=16 +# CONFIG_VGA_SWITCHEROO is not set +# CONFIG_DRM is not set +# CONFIG_STUB_POULSBO is not set +# CONFIG_VGASTATE is not set +# CONFIG_VIDEO_OUTPUT_CONTROL is not set +CONFIG_FB=y +# CONFIG_FIRMWARE_EDID is not set +# CONFIG_FB_DDC is not set +# CONFIG_FB_BOOT_VESA_SUPPORT is not set +CONFIG_FB_CFB_FILLRECT=m +CONFIG_FB_CFB_COPYAREA=m +CONFIG_FB_CFB_IMAGEBLIT=m +# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set +# CONFIG_FB_SYS_FILLRECT is not set +# CONFIG_FB_SYS_COPYAREA is not set +# CONFIG_FB_SYS_IMAGEBLIT is not set +# CONFIG_FB_FOREIGN_ENDIAN is not set +# CONFIG_FB_SYS_FOPS is not set +# CONFIG_FB_WMT_GE_ROPS is not set +# CONFIG_FB_SVGALIB is not set +# CONFIG_FB_MACMODES is not set +# CONFIG_FB_BACKLIGHT is not set +CONFIG_FB_MODE_HELPERS=y +# CONFIG_FB_TILEBLITTING is not set + +# +# Frame buffer hardware drivers +# +# CONFIG_FB_CIRRUS is not set +# CONFIG_FB_PM2 is not set +# CONFIG_FB_CYBER2000 is not set +# CONFIG_FB_ARC is not set +# CONFIG_FB_ASILIANT is not set +# CONFIG_FB_IMSTT is not set +# CONFIG_FB_VGA16 is not set +CONFIG_FB_UVESA=m +# CONFIG_FB_VESA is not set +# CONFIG_FB_N411 is not set +# CONFIG_FB_HGA is not set +# CONFIG_FB_S1D13XXX is not set +# CONFIG_FB_NVIDIA is not set +# CONFIG_FB_RIVA is not set +# CONFIG_FB_LE80578 is not set +# CONFIG_FB_MATROX is not set +# CONFIG_FB_RADEON is not set +# CONFIG_FB_ATY128 is not set +# CONFIG_FB_ATY is not set +# CONFIG_FB_S3 is not set +# CONFIG_FB_SAVAGE is not set +# CONFIG_FB_SIS is not set +# CONFIG_FB_VIA is not set +# CONFIG_FB_NEOMAGIC is not set +# CONFIG_FB_KYRO is not set +# CONFIG_FB_3DFX is not set +# CONFIG_FB_VOODOO1 is not set +# CONFIG_FB_VT8623 is not set +# CONFIG_FB_TRIDENT is not set +# CONFIG_FB_ARK is not set +# CONFIG_FB_PM3 is not set +# CONFIG_FB_CARMINE is not set +# CONFIG_FB_GEODE is not set +# CONFIG_FB_UDL is not set +# CONFIG_FB_VIRTUAL is not set +# CONFIG_FB_METRONOME is not set +# CONFIG_FB_MB862XX is not set +# CONFIG_FB_BROADSHEET is not set +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set + +# +# Display device support +# +# CONFIG_DISPLAY_SUPPORT is not set + +# +# Console display driver support +# +CONFIG_VGA_CONSOLE=y +# CONFIG_VGACON_SOFT_SCROLLBACK is not set +CONFIG_DUMMY_CONSOLE=y +CONFIG_FRAMEBUFFER_CONSOLE=y +# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set +# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set +# CONFIG_FONTS is not set +CONFIG_FONT_8x8=y +CONFIG_FONT_8x16=y +# CONFIG_LOGO is not set +CONFIG_SOUND=y +# CONFIG_SOUND_OSS_CORE is not set +CONFIG_SND=y +CONFIG_SND_TIMER=y +CONFIG_SND_PCM=y +# CONFIG_SND_SEQUENCER is not set +# CONFIG_SND_MIXER_OSS is not set +# CONFIG_SND_PCM_OSS is not set +# CONFIG_SND_HRTIMER is not set +CONFIG_SND_DYNAMIC_MINORS=y +CONFIG_SND_SUPPORT_OLD_API=y +CONFIG_SND_VERBOSE_PROCFS=y +# CONFIG_SND_VERBOSE_PRINTK is not set +# CONFIG_SND_DEBUG is not set +CONFIG_SND_VMASTER=y +CONFIG_SND_DMA_SGBUF=y +# CONFIG_SND_RAWMIDI_SEQ is not set +# CONFIG_SND_OPL3_LIB_SEQ is not set +# CONFIG_SND_OPL4_LIB_SEQ is not set +# CONFIG_SND_SBAWE_SEQ is not set +# CONFIG_SND_EMU10K1_SEQ is not set +CONFIG_SND_DRIVERS=y +# CONFIG_SND_PCSP is not set +# CONFIG_SND_DUMMY is not set +# CONFIG_SND_ALOOP is not set +# CONFIG_SND_MTPAV is not set +# CONFIG_SND_SERIAL_U16550 is not set +# CONFIG_SND_MPU401 is not set +CONFIG_SND_PCI=y +# CONFIG_SND_AD1889 is not set +# CONFIG_SND_ALS300 is not set +# CONFIG_SND_ALS4000 is not set +# CONFIG_SND_ALI5451 is not set +# CONFIG_SND_ASIHPI is not set +# CONFIG_SND_ATIIXP is not set +# CONFIG_SND_ATIIXP_MODEM is not set +# CONFIG_SND_AU8810 is not set +# CONFIG_SND_AU8820 is not set +# CONFIG_SND_AU8830 is not set +# CONFIG_SND_AW2 is not set +# CONFIG_SND_AZT3328 is not set +# CONFIG_SND_BT87X is not set +# CONFIG_SND_CA0106 is not set +# CONFIG_SND_CMIPCI is not set +# CONFIG_SND_OXYGEN is not set +# CONFIG_SND_CS4281 is not set +# CONFIG_SND_CS46XX is not set +# CONFIG_SND_CS5530 is not set +# CONFIG_SND_CS5535AUDIO is not set +# CONFIG_SND_CTXFI is not set +# CONFIG_SND_DARLA20 is not set +# CONFIG_SND_GINA20 is not set +# CONFIG_SND_LAYLA20 is not set +# CONFIG_SND_DARLA24 is not set +# CONFIG_SND_GINA24 is not set +# CONFIG_SND_LAYLA24 is not set +# CONFIG_SND_MONA is not set +# CONFIG_SND_MIA is not set +# CONFIG_SND_ECHO3G is not set +# CONFIG_SND_INDIGO is not set +# CONFIG_SND_INDIGOIO is not set +# CONFIG_SND_INDIGODJ is not set +# CONFIG_SND_INDIGOIOX is not set +# CONFIG_SND_INDIGODJX is not set +# CONFIG_SND_EMU10K1 is not set +# CONFIG_SND_EMU10K1X is not set +# CONFIG_SND_ENS1370 is not set +# CONFIG_SND_ENS1371 is not set +# CONFIG_SND_ES1938 is not set +# CONFIG_SND_ES1968 is not set +# CONFIG_SND_FM801 is not set +CONFIG_SND_HDA_INTEL=y +# CONFIG_SND_HDA_HWDEP is not set +# CONFIG_SND_HDA_INPUT_BEEP is not set +# CONFIG_SND_HDA_INPUT_JACK is not set +# CONFIG_SND_HDA_PATCH_LOADER is not set +CONFIG_SND_HDA_CODEC_REALTEK=y +CONFIG_SND_HDA_CODEC_ANALOG=y +CONFIG_SND_HDA_CODEC_SIGMATEL=y +CONFIG_SND_HDA_CODEC_VIA=y +CONFIG_SND_HDA_CODEC_HDMI=y +CONFIG_SND_HDA_CODEC_CIRRUS=y +CONFIG_SND_HDA_CODEC_CONEXANT=y +CONFIG_SND_HDA_CODEC_CA0110=y +CONFIG_SND_HDA_CODEC_CMEDIA=y +CONFIG_SND_HDA_CODEC_SI3054=y +CONFIG_SND_HDA_GENERIC=y +# CONFIG_SND_HDA_POWER_SAVE is not set +# CONFIG_SND_HDSP is not set +# CONFIG_SND_HDSPM is not set +# CONFIG_SND_ICE1712 is not set +# CONFIG_SND_ICE1724 is not set +# CONFIG_SND_INTEL8X0 is not set +# CONFIG_SND_INTEL8X0M is not set +# CONFIG_SND_KORG1212 is not set +# CONFIG_SND_LX6464ES is not set +# CONFIG_SND_MAESTRO3 is not set +# CONFIG_SND_MIXART is not set +# CONFIG_SND_NM256 is not set +# CONFIG_SND_PCXHR is not set +# CONFIG_SND_RIPTIDE is not set +# CONFIG_SND_RME32 is not set +# CONFIG_SND_RME96 is not set +# CONFIG_SND_RME9652 is not set +# CONFIG_SND_SIS7019 is not set +# CONFIG_SND_SONICVIBES is not set +# CONFIG_SND_TRIDENT is not set +# CONFIG_SND_VIA82XX is not set +# CONFIG_SND_VIA82XX_MODEM is not set +# CONFIG_SND_VIRTUOSO is not set +# CONFIG_SND_VX222 is not set +# CONFIG_SND_YMFPCI is not set +CONFIG_SND_USB=y +# CONFIG_SND_USB_AUDIO is not set +# CONFIG_SND_USB_UA101 is not set +# CONFIG_SND_USB_USX2Y is not set +# CONFIG_SND_USB_CAIAQ is not set +# CONFIG_SND_USB_US122L is not set +# CONFIG_SND_USB_6FIRE is not set +# CONFIG_SND_SOC is not set +# CONFIG_SOUND_PRIME is not set +CONFIG_HID_SUPPORT=y +CONFIG_HID=y +# CONFIG_HIDRAW is not set + +# +# USB Input Devices +# +CONFIG_USB_HID=y +# CONFIG_HID_PID is not set +CONFIG_USB_HIDDEV=y + +# +# Special HID drivers +# +# CONFIG_HID_3M_PCT is not set +# CONFIG_HID_A4TECH is not set +# CONFIG_HID_ACRUX is not set +# CONFIG_HID_APPLE is not set +# CONFIG_HID_BELKIN is not set +# CONFIG_HID_CANDO is not set +# CONFIG_HID_CHERRY is not set +# CONFIG_HID_CHICONY is not set +# CONFIG_HID_PRODIKEYS is not set +# CONFIG_HID_CYPRESS is not set +# CONFIG_HID_DRAGONRISE is not set +# CONFIG_HID_EMS_FF is not set +# CONFIG_HID_EZKEY is not set +# CONFIG_HID_KEYTOUCH is not set +# CONFIG_HID_KYE is not set +# CONFIG_HID_UCLOGIC is not set +# CONFIG_HID_WALTOP is not set +# CONFIG_HID_GYRATION is not set +# CONFIG_HID_TWINHAN is not set +# CONFIG_HID_KENSINGTON is not set +# CONFIG_HID_LCPOWER is not set +# CONFIG_HID_LOGITECH is not set +# CONFIG_HID_MICROSOFT is not set +# CONFIG_HID_MOSART is not set +# CONFIG_HID_MONTEREY is not set +# CONFIG_HID_MULTITOUCH is not set +# CONFIG_HID_NTRIG is not set +# CONFIG_HID_ORTEK is not set +# CONFIG_HID_PANTHERLORD is not set +# CONFIG_HID_PETALYNX is not set +# CONFIG_HID_PICOLCD is not set +# CONFIG_HID_QUANTA is not set +# CONFIG_HID_ROCCAT is not set +# CONFIG_HID_ROCCAT_ARVO is not set +# CONFIG_HID_ROCCAT_KONE is not set +# CONFIG_HID_ROCCAT_KONEPLUS is not set +# CONFIG_HID_ROCCAT_KOVAPLUS is not set +# CONFIG_HID_ROCCAT_PYRA is not set +# CONFIG_HID_SAMSUNG is not set +# CONFIG_HID_SONY is not set +# CONFIG_HID_STANTUM is not set +# CONFIG_HID_SUNPLUS is not set +# CONFIG_HID_GREENASIA is not set +# CONFIG_HID_SMARTJOYPLUS is not set +# CONFIG_HID_TOPSEED is not set +# CONFIG_HID_THRUSTMASTER is not set +# CONFIG_HID_ZEROPLUS is not set +# CONFIG_HID_ZYDACRON is not set +CONFIG_USB_SUPPORT=y +CONFIG_USB_ARCH_HAS_HCD=y +CONFIG_USB_ARCH_HAS_OHCI=y +CONFIG_USB_ARCH_HAS_EHCI=y +CONFIG_USB=y +# CONFIG_USB_DEBUG is not set +# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set + +# +# Miscellaneous USB options +# +CONFIG_USB_DEVICEFS=y +CONFIG_USB_DEVICE_CLASS=y +# CONFIG_USB_DYNAMIC_MINORS is not set +# CONFIG_USB_OTG_WHITELIST is not set +# CONFIG_USB_OTG_BLACKLIST_HUB is not set +# CONFIG_USB_MON is not set +# CONFIG_USB_WUSB is not set +# CONFIG_USB_WUSB_CBAF is not set + +# +# USB Host Controller Drivers +# +# CONFIG_USB_C67X00_HCD is not set +# CONFIG_USB_XHCI_HCD is not set +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_ROOT_HUB_TT=y +CONFIG_USB_EHCI_TT_NEWSCHED=y +# CONFIG_USB_OXU210HP_HCD is not set +# CONFIG_USB_ISP116X_HCD is not set +# CONFIG_USB_ISP1760_HCD is not set +# CONFIG_USB_ISP1362_HCD is not set +# CONFIG_USB_OHCI_HCD is not set +CONFIG_USB_UHCI_HCD=y +# CONFIG_USB_SL811_HCD is not set +# CONFIG_USB_R8A66597_HCD is not set +# CONFIG_USB_WHCI_HCD is not set +# CONFIG_USB_HWA_HCD is not set + +# +# USB Device Class drivers +# +# CONFIG_USB_ACM is not set +# CONFIG_USB_PRINTER is not set +# CONFIG_USB_WDM is not set +# CONFIG_USB_TMC is not set + +# +# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may +# + +# +# also be needed; see USB_STORAGE Help for more info +# +CONFIG_USB_STORAGE=y +# CONFIG_USB_STORAGE_DEBUG is not set +# CONFIG_USB_STORAGE_REALTEK is not set +# CONFIG_USB_STORAGE_DATAFAB is not set +# CONFIG_USB_STORAGE_FREECOM is not set +# CONFIG_USB_STORAGE_ISD200 is not set +# CONFIG_USB_STORAGE_USBAT is not set +# CONFIG_USB_STORAGE_SDDR09 is not set +# CONFIG_USB_STORAGE_SDDR55 is not set +# CONFIG_USB_STORAGE_JUMPSHOT is not set +# CONFIG_USB_STORAGE_ALAUDA is not set +# CONFIG_USB_STORAGE_ONETOUCH is not set +# CONFIG_USB_STORAGE_KARMA is not set +# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set +# CONFIG_USB_STORAGE_ENE_UB6250 is not set +# CONFIG_USB_UAS is not set +# CONFIG_USB_LIBUSUAL is not set + +# +# USB Imaging devices +# +# CONFIG_USB_MDC800 is not set +# CONFIG_USB_MICROTEK is not set + +# +# USB port drivers +# +CONFIG_USB_SERIAL=y +CONFIG_USB_SERIAL_CONSOLE=y +CONFIG_USB_EZUSB=y +CONFIG_USB_SERIAL_GENERIC=y +# CONFIG_USB_SERIAL_AIRCABLE is not set +# CONFIG_USB_SERIAL_ARK3116 is not set +# CONFIG_USB_SERIAL_BELKIN is not set +# CONFIG_USB_SERIAL_CH341 is not set +# CONFIG_USB_SERIAL_WHITEHEAT is not set +# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set +# CONFIG_USB_SERIAL_CP210X is not set +# CONFIG_USB_SERIAL_CYPRESS_M8 is not set +# CONFIG_USB_SERIAL_EMPEG is not set +CONFIG_USB_SERIAL_FTDI_SIO=y +# CONFIG_USB_SERIAL_FUNSOFT is not set +# CONFIG_USB_SERIAL_VISOR is not set +# CONFIG_USB_SERIAL_IPAQ is not set +# CONFIG_USB_SERIAL_IR is not set +# CONFIG_USB_SERIAL_EDGEPORT is not set +# CONFIG_USB_SERIAL_EDGEPORT_TI is not set +# CONFIG_USB_SERIAL_GARMIN is not set +# CONFIG_USB_SERIAL_IPW is not set +# CONFIG_USB_SERIAL_IUU is not set +# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set +# CONFIG_USB_SERIAL_KEYSPAN is not set +# CONFIG_USB_SERIAL_KLSI is not set +# CONFIG_USB_SERIAL_KOBIL_SCT is not set +# CONFIG_USB_SERIAL_MCT_U232 is not set +# CONFIG_USB_SERIAL_MOS7720 is not set +# CONFIG_USB_SERIAL_MOS7840 is not set +# CONFIG_USB_SERIAL_MOTOROLA is not set +# CONFIG_USB_SERIAL_NAVMAN is not set +CONFIG_USB_SERIAL_PL2303=y +# CONFIG_USB_SERIAL_OTI6858 is not set +# CONFIG_USB_SERIAL_QCAUX is not set +# CONFIG_USB_SERIAL_QUALCOMM is not set +# CONFIG_USB_SERIAL_SPCP8X5 is not set +# CONFIG_USB_SERIAL_HP4X is not set +# CONFIG_USB_SERIAL_SAFE is not set +# CONFIG_USB_SERIAL_SAMBA is not set +# CONFIG_USB_SERIAL_SIEMENS_MPI is not set +# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set +# CONFIG_USB_SERIAL_SYMBOL is not set +# CONFIG_USB_SERIAL_TI is not set +# CONFIG_USB_SERIAL_CYBERJACK is not set +# CONFIG_USB_SERIAL_XIRCOM is not set +# CONFIG_USB_SERIAL_OPTION is not set +# CONFIG_USB_SERIAL_OMNINET is not set +# CONFIG_USB_SERIAL_OPTICON is not set +# CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set +# CONFIG_USB_SERIAL_ZIO is not set +# CONFIG_USB_SERIAL_SSU100 is not set +# CONFIG_USB_SERIAL_DEBUG is not set + +# +# USB Miscellaneous drivers +# +# CONFIG_USB_EMI62 is not set +# CONFIG_USB_EMI26 is not set +# CONFIG_USB_ADUTUX is not set +# CONFIG_USB_SEVSEG is not set +# CONFIG_USB_RIO500 is not set +# CONFIG_USB_LEGOTOWER is not set +# CONFIG_USB_LCD is not set +# CONFIG_USB_LED is not set +# CONFIG_USB_CYPRESS_CY7C63 is not set +# CONFIG_USB_CYTHERM is not set +# CONFIG_USB_IDMOUSE is not set +# CONFIG_USB_FTDI_ELAN is not set +# CONFIG_USB_APPLEDISPLAY is not set +# CONFIG_USB_SISUSBVGA is not set +# CONFIG_USB_LD is not set +# CONFIG_USB_TRANCEVIBRATOR is not set +# CONFIG_USB_IOWARRIOR is not set +# CONFIG_USB_TEST is not set +# CONFIG_USB_ISIGHTFW is not set +# CONFIG_USB_YUREX is not set +# CONFIG_USB_ATM is not set +# CONFIG_USB_GADGET is not set + +# +# OTG and related infrastructure +# +# CONFIG_NOP_USB_XCEIV is not set +# CONFIG_UWB is not set +# CONFIG_MMC is not set +# CONFIG_MEMSTICK is not set +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y + +# +# LED drivers +# +# CONFIG_LEDS_LM3530 is not set +# CONFIG_LEDS_ALIX2 is not set +# CONFIG_LEDS_PCA9532 is not set +# CONFIG_LEDS_LP3944 is not set +# CONFIG_LEDS_LP5521 is not set +# CONFIG_LEDS_LP5523 is not set +# CONFIG_LEDS_CLEVO_MAIL is not set +# CONFIG_LEDS_PCA955X is not set +# CONFIG_LEDS_BD2802 is not set +# CONFIG_LEDS_INTEL_SS4200 is not set +CONFIG_LEDS_TRIGGERS=y + +# +# LED Triggers +# +# CONFIG_LEDS_TRIGGER_TIMER is not set +# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set +# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set +# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set + +# +# iptables trigger is under Netfilter config (LED target) +# +# CONFIG_NFC_DEVICES is not set +# CONFIG_ACCESSIBILITY is not set +# CONFIG_INFINIBAND is not set +# CONFIG_EDAC is not set +CONFIG_RTC_LIB=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_HCTOSYS=y +CONFIG_RTC_HCTOSYS_DEVICE="rtc0" +# CONFIG_RTC_DEBUG is not set + +# +# RTC interfaces +# +CONFIG_RTC_INTF_SYSFS=y +CONFIG_RTC_INTF_PROC=y +CONFIG_RTC_INTF_DEV=y +# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set +# CONFIG_RTC_DRV_TEST is not set + +# +# I2C RTC drivers +# +# CONFIG_RTC_DRV_DS1307 is not set +# CONFIG_RTC_DRV_DS1374 is not set +# CONFIG_RTC_DRV_DS1672 is not set +# CONFIG_RTC_DRV_DS3232 is not set +# CONFIG_RTC_DRV_MAX6900 is not set +# CONFIG_RTC_DRV_RS5C372 is not set +# CONFIG_RTC_DRV_ISL1208 is not set +# CONFIG_RTC_DRV_ISL12022 is not set +# CONFIG_RTC_DRV_X1205 is not set +# CONFIG_RTC_DRV_PCF8563 is not set +# CONFIG_RTC_DRV_PCF8583 is not set +# CONFIG_RTC_DRV_M41T80 is not set +# CONFIG_RTC_DRV_BQ32K is not set +# CONFIG_RTC_DRV_S35390A is not set +# CONFIG_RTC_DRV_FM3130 is not set +# CONFIG_RTC_DRV_RX8581 is not set +# CONFIG_RTC_DRV_RX8025 is not set + +# +# SPI RTC drivers +# + +# +# Platform RTC drivers +# +CONFIG_RTC_DRV_CMOS=y +# CONFIG_RTC_DRV_DS1286 is not set +# CONFIG_RTC_DRV_DS1511 is not set +# CONFIG_RTC_DRV_DS1553 is not set +# CONFIG_RTC_DRV_DS1742 is not set +# CONFIG_RTC_DRV_STK17TA8 is not set +# CONFIG_RTC_DRV_M48T86 is not set +# CONFIG_RTC_DRV_M48T35 is not set +# CONFIG_RTC_DRV_M48T59 is not set +# CONFIG_RTC_DRV_MSM6242 is not set +# CONFIG_RTC_DRV_BQ4802 is not set +# CONFIG_RTC_DRV_RP5C01 is not set +# CONFIG_RTC_DRV_V3020 is not set + +# +# on-CPU RTC drivers +# +# CONFIG_DMADEVICES is not set +# CONFIG_AUXDISPLAY is not set +# CONFIG_UIO is not set +# CONFIG_STAGING is not set +CONFIG_X86_PLATFORM_DEVICES=y +# CONFIG_ASUS_LAPTOP is not set +# CONFIG_HP_ACCEL is not set +# CONFIG_THINKPAD_ACPI is not set +# CONFIG_SENSORS_HDAPS is not set +# CONFIG_INTEL_MENLOW is not set +# CONFIG_ACPI_WMI is not set +# CONFIG_ACPI_ASUS is not set +# CONFIG_TOPSTAR_LAPTOP is not set +# CONFIG_TOSHIBA_BT_RFKILL is not set +# CONFIG_ACPI_CMPC is not set +# CONFIG_INTEL_IPS is not set +# CONFIG_IBM_RTL is not set +# CONFIG_XO15_EBOOK is not set + +# +# Firmware Drivers +# +# CONFIG_EDD is not set +CONFIG_FIRMWARE_MEMMAP=y +# CONFIG_DELL_RBU is not set +# CONFIG_DCDBAS is not set +CONFIG_DMIID=y +# CONFIG_DMI_SYSFS is not set +# CONFIG_ISCSI_IBFT_FIND is not set +# CONFIG_SIGMA is not set + +# +# File systems +# +CONFIG_EXT2_FS=y +CONFIG_EXT2_FS_XATTR=y +CONFIG_EXT2_FS_POSIX_ACL=y +# CONFIG_EXT2_FS_SECURITY is not set +# CONFIG_EXT2_FS_XIP is not set +CONFIG_EXT3_FS=y +CONFIG_EXT3_DEFAULTS_TO_ORDERED=y +CONFIG_EXT3_FS_XATTR=y +CONFIG_EXT3_FS_POSIX_ACL=y +# CONFIG_EXT3_FS_SECURITY is not set +# CONFIG_EXT4_FS is not set +CONFIG_JBD=y +# CONFIG_JBD_DEBUG is not set +CONFIG_JBD2=m +# CONFIG_JBD2_DEBUG is not set +CONFIG_FS_MBCACHE=y +CONFIG_REISERFS_FS=m +# CONFIG_REISERFS_CHECK is not set +# CONFIG_REISERFS_PROC_INFO is not set +CONFIG_REISERFS_FS_XATTR=y +CONFIG_REISERFS_FS_POSIX_ACL=y +# CONFIG_REISERFS_FS_SECURITY is not set +# CONFIG_JFS_FS is not set +# CONFIG_XFS_FS is not set +# CONFIG_GFS2_FS is not set +CONFIG_OCFS2_FS=m +CONFIG_OCFS2_FS_O2CB=m +CONFIG_OCFS2_FS_STATS=y +CONFIG_OCFS2_DEBUG_MASKLOG=y +# CONFIG_OCFS2_DEBUG_FS is not set +# CONFIG_BTRFS_FS is not set +# CONFIG_NILFS2_FS is not set +CONFIG_FS_POSIX_ACL=y +CONFIG_FILE_LOCKING=y +CONFIG_FSNOTIFY=y +CONFIG_DNOTIFY=y +CONFIG_INOTIFY_USER=y +# CONFIG_FANOTIFY is not set +CONFIG_QUOTA=y +# CONFIG_QUOTA_NETLINK_INTERFACE is not set +CONFIG_PRINT_QUOTA_WARNING=y +# CONFIG_QUOTA_DEBUG is not set +CONFIG_QUOTA_TREE=m +# CONFIG_QFMT_V1 is not set +# CONFIG_QFMT_V2 is not set +CONFIG_QUOTACTL=y +CONFIG_AUTOFS4_FS=m +# CONFIG_FUSE_FS is not set + +# +# Caches +# +# CONFIG_FSCACHE is not set + +# +# CD-ROM/DVD Filesystems +# +# CONFIG_ISO9660_FS is not set +# CONFIG_UDF_FS is not set + +# +# DOS/FAT/NT Filesystems +# +# CONFIG_MSDOS_FS is not set +# CONFIG_VFAT_FS is not set +# CONFIG_NTFS_FS is not set + +# +# Pseudo filesystems +# +CONFIG_PROC_FS=y +CONFIG_PROC_KCORE=y +CONFIG_PROC_SYSCTL=y +CONFIG_PROC_PAGE_MONITOR=y +CONFIG_SYSFS=y +CONFIG_TMPFS=y +# CONFIG_TMPFS_POSIX_ACL is not set +# CONFIG_HUGETLBFS is not set +# CONFIG_HUGETLB_PAGE is not set +CONFIG_CONFIGFS_FS=m +CONFIG_MISC_FILESYSTEMS=y +# CONFIG_ADFS_FS is not set +# CONFIG_AFFS_FS is not set +# CONFIG_ECRYPT_FS is not set +# CONFIG_HFS_FS is not set +# CONFIG_HFSPLUS_FS is not set +# CONFIG_BEFS_FS is not set +# CONFIG_BFS_FS is not set +# CONFIG_EFS_FS is not set +# CONFIG_LOGFS is not set +# CONFIG_CRAMFS is not set +# CONFIG_SQUASHFS is not set +# CONFIG_VXFS_FS is not set +CONFIG_MINIX_FS=m +# CONFIG_OMFS_FS is not set +# CONFIG_HPFS_FS is not set +# CONFIG_QNX4FS_FS is not set +CONFIG_ROMFS_FS=m +CONFIG_ROMFS_BACKED_BY_BLOCK=y +CONFIG_ROMFS_ON_BLOCK=y +# CONFIG_PSTORE is not set +# CONFIG_SYSV_FS is not set +# CONFIG_UFS_FS is not set +CONFIG_NETWORK_FILESYSTEMS=y +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +# CONFIG_NFS_V3_ACL is not set +CONFIG_NFS_V4=y +# CONFIG_NFS_V4_1 is not set +CONFIG_ROOT_NFS=y +# CONFIG_NFS_USE_LEGACY_DNS is not set +CONFIG_NFS_USE_KERNEL_DNS=y +# CONFIG_NFS_USE_NEW_IDMAPPER is not set +# CONFIG_NFSD is not set +CONFIG_LOCKD=y +CONFIG_LOCKD_V4=y +CONFIG_NFS_COMMON=y +CONFIG_SUNRPC=y +CONFIG_SUNRPC_GSS=y +# CONFIG_CEPH_FS is not set +CONFIG_CIFS=m +# CONFIG_CIFS_STATS is not set +# CONFIG_CIFS_WEAK_PW_HASH is not set +# CONFIG_CIFS_UPCALL is not set +CONFIG_CIFS_XATTR=y +CONFIG_CIFS_POSIX=y +# CONFIG_CIFS_DEBUG2 is not set +# CONFIG_CIFS_DFS_UPCALL is not set +# CONFIG_CIFS_ACL is not set +# CONFIG_CIFS_EXPERIMENTAL is not set +# CONFIG_NCP_FS is not set +# CONFIG_CODA_FS is not set +# CONFIG_AFS_FS is not set + +# +# Partition Types +# +# CONFIG_PARTITION_ADVANCED is not set +CONFIG_MSDOS_PARTITION=y +CONFIG_NLS=y +CONFIG_NLS_DEFAULT="iso8859-1" +CONFIG_NLS_CODEPAGE_437=m +CONFIG_NLS_CODEPAGE_737=m +CONFIG_NLS_CODEPAGE_775=m +CONFIG_NLS_CODEPAGE_850=m +CONFIG_NLS_CODEPAGE_852=m +CONFIG_NLS_CODEPAGE_855=m +CONFIG_NLS_CODEPAGE_857=m +CONFIG_NLS_CODEPAGE_860=m +CONFIG_NLS_CODEPAGE_861=m +CONFIG_NLS_CODEPAGE_862=m +CONFIG_NLS_CODEPAGE_863=m +CONFIG_NLS_CODEPAGE_864=m +CONFIG_NLS_CODEPAGE_865=m +CONFIG_NLS_CODEPAGE_866=m +CONFIG_NLS_CODEPAGE_869=m +CONFIG_NLS_CODEPAGE_936=m +CONFIG_NLS_CODEPAGE_950=m +CONFIG_NLS_CODEPAGE_932=m +CONFIG_NLS_CODEPAGE_949=m +CONFIG_NLS_CODEPAGE_874=m +CONFIG_NLS_ISO8859_8=m +CONFIG_NLS_CODEPAGE_1250=m +CONFIG_NLS_CODEPAGE_1251=m +CONFIG_NLS_ASCII=m +CONFIG_NLS_ISO8859_1=m +CONFIG_NLS_ISO8859_2=m +CONFIG_NLS_ISO8859_3=m +CONFIG_NLS_ISO8859_4=m +CONFIG_NLS_ISO8859_5=m +CONFIG_NLS_ISO8859_6=m +CONFIG_NLS_ISO8859_7=m +CONFIG_NLS_ISO8859_9=m +CONFIG_NLS_ISO8859_13=m +CONFIG_NLS_ISO8859_14=m +CONFIG_NLS_ISO8859_15=m +CONFIG_NLS_KOI8_R=m +CONFIG_NLS_KOI8_U=m +CONFIG_NLS_UTF8=m +# CONFIG_DLM is not set + +# +# Kernel hacking +# +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +# CONFIG_PRINTK_TIME is not set +CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 +CONFIG_ENABLE_WARN_DEPRECATED=y +CONFIG_ENABLE_MUST_CHECK=y +CONFIG_FRAME_WARN=1024 +CONFIG_MAGIC_SYSRQ=y +# CONFIG_STRIP_ASM_SYMS is not set +CONFIG_UNUSED_SYMBOLS=y +CONFIG_DEBUG_FS=y +# CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set +CONFIG_DEBUG_KERNEL=y +# CONFIG_DEBUG_SHIRQ is not set +# CONFIG_LOCKUP_DETECTOR is not set +# CONFIG_HARDLOCKUP_DETECTOR is not set +# CONFIG_DETECT_HUNG_TASK is not set +CONFIG_SCHED_DEBUG=y +CONFIG_SCHEDSTATS=y +CONFIG_TIMER_STATS=y +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_SLUB_DEBUG_ON is not set +# CONFIG_SLUB_STATS is not set +# CONFIG_DEBUG_KMEMLEAK is not set +CONFIG_DEBUG_PREEMPT=y +# CONFIG_DEBUG_RT_MUTEXES is not set +# CONFIG_RT_MUTEX_TESTER is not set +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_SPARSE_RCU_POINTER is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_SPINLOCK_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +CONFIG_STACKTRACE=y +# CONFIG_DEBUG_KOBJECT is not set +# CONFIG_DEBUG_HIGHMEM is not set +CONFIG_DEBUG_BUGVERBOSE=y +CONFIG_DEBUG_INFO=y +# CONFIG_DEBUG_INFO_REDUCED is not set +# CONFIG_DEBUG_VM is not set +# CONFIG_DEBUG_VIRTUAL is not set +# CONFIG_DEBUG_WRITECOUNT is not set +# CONFIG_DEBUG_MEMORY_INIT is not set +# CONFIG_DEBUG_LIST is not set +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set +CONFIG_ARCH_WANT_FRAME_POINTERS=y +CONFIG_FRAME_POINTER=y +# CONFIG_BOOT_PRINTK_DELAY is not set +# CONFIG_RCU_TORTURE_TEST is not set +CONFIG_RCU_CPU_STALL_DETECTOR=y +CONFIG_RCU_CPU_STALL_TIMEOUT=60 +CONFIG_RCU_CPU_STALL_DETECTOR_RUNNABLE=y +CONFIG_RCU_CPU_STALL_VERBOSE=y +# CONFIG_KPROBES_SANITY_TEST is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +# CONFIG_LKDTM is not set +# CONFIG_FAULT_INJECTION is not set +CONFIG_LATENCYTOP=y +# CONFIG_SYSCTL_SYSCALL_CHECK is not set +# CONFIG_DEBUG_PAGEALLOC is not set +CONFIG_USER_STACKTRACE_SUPPORT=y +CONFIG_NOP_TRACER=y +CONFIG_HAVE_FTRACE_NMI_ENTER=y +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y +CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_SYSCALL_TRACEPOINTS=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_RING_BUFFER=y +CONFIG_FTRACE_NMI_ENTER=y +CONFIG_EVENT_TRACING=y +CONFIG_EVENT_POWER_TRACING_DEPRECATED=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_RING_BUFFER_ALLOW_SWAP=y +CONFIG_TRACING=y +CONFIG_GENERIC_TRACER=y +CONFIG_TRACING_SUPPORT=y +CONFIG_FTRACE=y +CONFIG_FUNCTION_TRACER=y +CONFIG_FUNCTION_GRAPH_TRACER=y +# CONFIG_IRQSOFF_TRACER is not set +# CONFIG_PREEMPT_TRACER is not set +# CONFIG_SCHED_TRACER is not set +# CONFIG_FTRACE_SYSCALLS is not set +CONFIG_BRANCH_PROFILE_NONE=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set +# CONFIG_PROFILE_ALL_BRANCHES is not set +# CONFIG_STACK_TRACER is not set +# CONFIG_BLK_DEV_IO_TRACE is not set +CONFIG_KPROBE_EVENT=y +CONFIG_DYNAMIC_FTRACE=y +# CONFIG_FUNCTION_PROFILER is not set +CONFIG_FTRACE_MCOUNT_RECORD=y +# CONFIG_FTRACE_STARTUP_TEST is not set +# CONFIG_MMIOTRACE is not set +# CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set +# CONFIG_DYNAMIC_DEBUG is not set +# CONFIG_DMA_API_DEBUG is not set +# CONFIG_ATOMIC64_SELFTEST is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +CONFIG_KGDB=y +CONFIG_KGDB_SERIAL_CONSOLE=y +# CONFIG_KGDB_TESTS is not set +# CONFIG_KGDB_LOW_LEVEL_TRAP is not set +# CONFIG_KGDB_KDB is not set +CONFIG_HAVE_ARCH_KMEMCHECK=y +# CONFIG_TEST_KSTRTOX is not set +# CONFIG_STRICT_DEVMEM is not set +CONFIG_X86_VERBOSE_BOOTUP=y +CONFIG_EARLY_PRINTK=y +# CONFIG_EARLY_PRINTK_DBGP is not set +# CONFIG_DEBUG_STACKOVERFLOW is not set +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_X86_PTDUMP is not set +# CONFIG_DEBUG_RODATA is not set +# CONFIG_DEBUG_SET_MODULE_RONX is not set +# CONFIG_DEBUG_NX_TEST is not set +CONFIG_DOUBLEFAULT=y +# CONFIG_IOMMU_STRESS is not set +CONFIG_HAVE_MMIOTRACE_SUPPORT=y +# CONFIG_X86_DECODER_SELFTEST is not set +CONFIG_IO_DELAY_TYPE_0X80=0 +CONFIG_IO_DELAY_TYPE_0XED=1 +CONFIG_IO_DELAY_TYPE_UDELAY=2 +CONFIG_IO_DELAY_TYPE_NONE=3 +CONFIG_IO_DELAY_0X80=y +# CONFIG_IO_DELAY_0XED is not set +# CONFIG_IO_DELAY_UDELAY is not set +# CONFIG_IO_DELAY_NONE is not set +CONFIG_DEFAULT_IO_DELAY_TYPE=0 +# CONFIG_DEBUG_BOOT_PARAMS is not set +# CONFIG_CPA_DEBUG is not set +# CONFIG_OPTIMIZE_INLINING is not set +# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set + +# +# Security options +# +CONFIG_KEYS=y +# CONFIG_KEYS_DEBUG_PROC_KEYS is not set +# CONFIG_SECURITY_DMESG_RESTRICT is not set +CONFIG_SECURITY=y +# CONFIG_SECURITYFS is not set +# CONFIG_SECURITY_NETWORK is not set +# CONFIG_SECURITY_PATH is not set +# CONFIG_SECURITY_TOMOYO is not set +# CONFIG_SECURITY_APPARMOR is not set +# CONFIG_IMA is not set +CONFIG_DEFAULT_SECURITY_DAC=y +CONFIG_DEFAULT_SECURITY="" +CONFIG_CRYPTO=y + +# +# Crypto core or helper +# +CONFIG_CRYPTO_ALGAPI=y +CONFIG_CRYPTO_ALGAPI2=y +CONFIG_CRYPTO_AEAD=m +CONFIG_CRYPTO_AEAD2=y +CONFIG_CRYPTO_BLKCIPHER=y +CONFIG_CRYPTO_BLKCIPHER2=y +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_HASH2=y +CONFIG_CRYPTO_RNG=m +CONFIG_CRYPTO_RNG2=y +CONFIG_CRYPTO_PCOMP2=y +CONFIG_CRYPTO_MANAGER=y +CONFIG_CRYPTO_MANAGER2=y +CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y +# CONFIG_CRYPTO_GF128MUL is not set +CONFIG_CRYPTO_NULL=m +CONFIG_CRYPTO_WORKQUEUE=y +# CONFIG_CRYPTO_CRYPTD is not set +CONFIG_CRYPTO_AUTHENC=m +CONFIG_CRYPTO_TEST=m + +# +# Authenticated Encryption with Associated Data +# +# CONFIG_CRYPTO_CCM is not set +# CONFIG_CRYPTO_GCM is not set +# CONFIG_CRYPTO_SEQIV is not set + +# +# Block modes +# +CONFIG_CRYPTO_CBC=y +# CONFIG_CRYPTO_CTR is not set +# CONFIG_CRYPTO_CTS is not set +CONFIG_CRYPTO_ECB=y +# CONFIG_CRYPTO_LRW is not set +# CONFIG_CRYPTO_PCBC is not set +# CONFIG_CRYPTO_XTS is not set + +# +# Hash modes +# +CONFIG_CRYPTO_HMAC=y +# CONFIG_CRYPTO_XCBC is not set +# CONFIG_CRYPTO_VMAC is not set + +# +# Digest +# +CONFIG_CRYPTO_CRC32C=m +# CONFIG_CRYPTO_CRC32C_INTEL is not set +# CONFIG_CRYPTO_GHASH is not set +CONFIG_CRYPTO_MD4=m +CONFIG_CRYPTO_MD5=y +CONFIG_CRYPTO_MICHAEL_MIC=m +# CONFIG_CRYPTO_RMD128 is not set +# CONFIG_CRYPTO_RMD160 is not set +# CONFIG_CRYPTO_RMD256 is not set +# CONFIG_CRYPTO_RMD320 is not set +CONFIG_CRYPTO_SHA1=m +CONFIG_CRYPTO_SHA256=m +CONFIG_CRYPTO_SHA512=m +# CONFIG_CRYPTO_TGR192 is not set +CONFIG_CRYPTO_WP512=m + +# +# Ciphers +# +CONFIG_CRYPTO_AES=y +# CONFIG_CRYPTO_AES_586 is not set +# CONFIG_CRYPTO_AES_NI_INTEL is not set +CONFIG_CRYPTO_ANUBIS=m +CONFIG_CRYPTO_ARC4=y +CONFIG_CRYPTO_BLOWFISH=m +# CONFIG_CRYPTO_CAMELLIA is not set +CONFIG_CRYPTO_CAST5=m +CONFIG_CRYPTO_CAST6=m +CONFIG_CRYPTO_DES=y +# CONFIG_CRYPTO_FCRYPT is not set +CONFIG_CRYPTO_KHAZAD=m +# CONFIG_CRYPTO_SALSA20 is not set +# CONFIG_CRYPTO_SALSA20_586 is not set +# CONFIG_CRYPTO_SEED is not set +CONFIG_CRYPTO_SERPENT=m +CONFIG_CRYPTO_TEA=m +CONFIG_CRYPTO_TWOFISH=m +CONFIG_CRYPTO_TWOFISH_COMMON=m +# CONFIG_CRYPTO_TWOFISH_586 is not set + +# +# Compression +# +CONFIG_CRYPTO_DEFLATE=m +# CONFIG_CRYPTO_ZLIB is not set +# CONFIG_CRYPTO_LZO is not set + +# +# Random Number Generation +# +CONFIG_CRYPTO_ANSI_CPRNG=m +# CONFIG_CRYPTO_USER_API_HASH is not set +# CONFIG_CRYPTO_USER_API_SKCIPHER is not set +CONFIG_CRYPTO_HW=y +# CONFIG_CRYPTO_DEV_PADLOCK is not set +# CONFIG_CRYPTO_DEV_GEODE is not set +# CONFIG_CRYPTO_DEV_HIFN_795X is not set +CONFIG_HAVE_KVM=y +CONFIG_VIRTUALIZATION=y +# CONFIG_KVM is not set +# CONFIG_VHOST_NET is not set +# CONFIG_LGUEST is not set +# CONFIG_VIRTIO_PCI is not set +# CONFIG_VIRTIO_BALLOON is not set +CONFIG_BINARY_PRINTF=y + +# +# Library routines +# +CONFIG_BITREVERSE=y +CONFIG_GENERIC_FIND_FIRST_BIT=y +CONFIG_GENERIC_FIND_NEXT_BIT=y +CONFIG_GENERIC_FIND_LAST_BIT=y +CONFIG_CRC_CCITT=y +# CONFIG_CRC16 is not set +# CONFIG_CRC_T10DIF is not set +# CONFIG_CRC_ITU_T is not set +CONFIG_CRC32=y +# CONFIG_CRC7 is not set +CONFIG_LIBCRC32C=m +CONFIG_ZLIB_INFLATE=y +CONFIG_ZLIB_DEFLATE=m +# CONFIG_XZ_DEC is not set +# CONFIG_XZ_DEC_BCJ is not set +CONFIG_DECOMPRESS_GZIP=y +CONFIG_TEXTSEARCH=y +CONFIG_TEXTSEARCH_KMP=m +CONFIG_TEXTSEARCH_BM=m +CONFIG_TEXTSEARCH_FSM=m +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT=y +CONFIG_HAS_DMA=y +CONFIG_NLATTR=y +CONFIG_AVERAGE=y diff --git a/recipes-bsp/linux/linux-sysmocom.inc b/recipes-bsp/linux/linux-sysmocom.inc new file mode 100644 index 0000000000..ad478b8cbd --- /dev/null +++ b/recipes-bsp/linux/linux-sysmocom.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "sysmocom Kernel" +SECTION = "kernel" +LICENSE = "GPL" + +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" + +# Set this to 'preempt_rt' in the local.conf if you want a real time kernel +LINUX_KERNEL_TYPE ?= standard + +module_autoload_mISDN_l1loop = "mISDN_l1loop" +module_autoload_mISDN_dsp = "mISDN_dsp" +module_conf_mISDN_l1loop = "options mISDN_l1loop pri=1 nchannel=20" + +FILES_${PN} = "" diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb new file mode 100644 index 0000000000..adbaa6fcbe --- /dev/null +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -0,0 +1,53 @@ +inherit kernel +require linux-sysmocom.inc + +LINUX_VERSION ?= "3.2.14" +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" + +SRCREV = "76c990779a11922dad5ebea06f3bb403856e9150" + +PR = "r19" +PV = "${LINUX_VERSION}+git${SRCPV}" + +SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/linux.git;protocol=ssh;branch=v3.2 \ + file://mISDN_loop.patch;patch=1 \ + file://defconfig" +S = "${WORKDIR}/git" + +COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2)" +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_wdt = "davinci_wdt" +module_autoload_dspdl_dm644x = "dspdl_dm644x" +module_autoload_fpgadl_par = "fpgadl_par" +module_autoload_leds-gpio = "leds-gpio" +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=1" +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" diff --git a/recipes-bsp/linux/linux-tools.inc b/recipes-bsp/linux/linux-tools.inc new file mode 100644 index 0000000000..d59b0e31f0 --- /dev/null +++ b/recipes-bsp/linux/linux-tools.inc @@ -0,0 +1,29 @@ +# included by kernel recipes if they want to build/provide +# perf functionality from their tree. +do_compile_perf_libc-uclibc () { + : +} +do_install_perf_libc-uclibc () { + : +} +do_compile_perf() { + oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} NO_NEWT=1 NO_DWARF=1 +} + +do_install_perf() { + oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} DESTDIR=${D} install NO_NEWT=1 NO_DWARF=1 +} + + +# perf tasks +# TODO: enable with newer kernels +#addtask compile_perf after do_compile before do_install +#addtask install_perf after do_install before do_package + + +PERFDEPENDS = "virtual/libc:do_populate_sysroot elfutils:do_populate_sysroot" +PERFDEPENDS_libc-uclibc = "" +PERFRDEPENDS = "python perl elfutils" +PERFRDEPENDS_libc-uclibc = "" +do_compile_perf[depends] = "${PERFDEPENDS}" +RDEPENDS_perf += "${PERFRDEPENDS}" diff --git a/recipes-bsp/linux/linux_2.6.39.bb b/recipes-bsp/linux/linux_2.6.39.bb new file mode 100644 index 0000000000..a6ca28227e --- /dev/null +++ b/recipes-bsp/linux/linux_2.6.39.bb @@ -0,0 +1,20 @@ +inherit kernel +require linux-sysmocom.inc + +LINUX_VERSION ?= "${PV}" + +PR = "r11" +SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v2.6/linux-${PV}.tar.bz2 \ + ftp://ftp.servus.at/linux-kernel/patch-2.6.39.4.bz2;apply=yes;name=stablepatch \ + file://mISDN_loop.patch \ + file://defconfig" + +COMPATIBLE_MACHINE = "(sysmocom-bsc)" + + +require linux-tools.inc + +do_configure() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config + oe_runmake oldconfig +} diff --git a/recipes-bsp/netbase/netbase-4.45/sysmobts-v1/interfaces b/recipes-bsp/netbase/netbase-4.45/sysmobts-v1/interfaces new file mode 100644 index 0000000000..a7d6a7b6ce --- /dev/null +++ b/recipes-bsp/netbase/netbase-4.45/sysmobts-v1/interfaces @@ -0,0 +1,16 @@ +# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) + +# The loopback interface +auto lo +iface lo inet loopback + +#eth0 is our gateway to the network. ifplugd will run ifup/ifdown for us +iface eth0 inet dhcp + +#eth0 will provide dhcp to clients +#auto eth0:1 +#iface eth0:1 inet static +# address 10.42.123.1 +# netmask 255.255.255.0 +# network 10.42.123.0 + diff --git a/recipes-bsp/netbase/netbase-4.45/sysmobts-v2/interfaces b/recipes-bsp/netbase/netbase-4.45/sysmobts-v2/interfaces new file mode 100644 index 0000000000..a7d6a7b6ce --- /dev/null +++ b/recipes-bsp/netbase/netbase-4.45/sysmobts-v2/interfaces @@ -0,0 +1,16 @@ +# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) + +# The loopback interface +auto lo +iface lo inet loopback + +#eth0 is our gateway to the network. ifplugd will run ifup/ifdown for us +iface eth0 inet dhcp + +#eth0 will provide dhcp to clients +#auto eth0:1 +#iface eth0:1 inet static +# address 10.42.123.1 +# netmask 255.255.255.0 +# network 10.42.123.0 + diff --git a/recipes-bsp/netbase/netbase-4.45/sysmocom-bsc/interfaces b/recipes-bsp/netbase/netbase-4.45/sysmocom-bsc/interfaces new file mode 100644 index 0000000000..4555985f55 --- /dev/null +++ b/recipes-bsp/netbase/netbase-4.45/sysmocom-bsc/interfaces @@ -0,0 +1,22 @@ +# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) + +# The loopback interface +auto lo +iface lo inet loopback + +#eth0 is our gateway to the network. ifplugd will run ifup/ifdown for us +iface eth0 inet dhcp + +#eth1 will provide dhcp to clients +auto eth1 +iface eth1 inet static + address 10.23.24.1 + netmask 255.255.255.0 + network 10.23.24.0 + +auto eth1:1 +iface eth1:1 inet static + address 10.23.123.1 + netmask 255.255.255.0 + network 10.23.123.0 + diff --git a/recipes-bsp/netbase/netbase_4.45.bbappend b/recipes-bsp/netbase/netbase_4.45.bbappend new file mode 100644 index 0000000000..127d8dcced --- /dev/null +++ b/recipes-bsp/netbase/netbase_4.45.bbappend @@ -0,0 +1,7 @@ +SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:" +PRINC = "16" + + +# bug in poky meta/classes/base.bbclass +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb b/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb new file mode 100644 index 0000000000..2227816576 --- /dev/null +++ b/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "Hardware health monitoring applications" +HOMEPAGE = "http://www.lm-sensors.org/" +DEPENDS = "sysfsutils virtual/libiconv" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" +PR = "r2" +DEPENDS = "bison-native flex-native" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.bz2" + +SRC_URI[md5sum] = "829d88fb09d67723fbf42853eb84d1fd" +SRC_URI[sha256sum] = "bde7e1d8b473bca6528694b696668c4cd0a28515aef36b961e4f7d8a6b47e581" + +S = "${WORKDIR}/lm_sensors-${PV}" + +EXTRA_OEMAKE = 'LINUX=${STAGING_KERNEL_DIR} EXLDFLAGS="${LDFLAGS}" \ + MACHINE=${TARGET_ARCH} PREFIX=${prefix} CC="${CC}" AR="${AR}"' + +do_compile() { + oe_runmake user PROG_EXTRA=sensors +} + +do_install() { + oe_runmake user_install DESTDIR=${D} + + # move manuals into proper place + install -d ${D}${mandir} + rm -rf ${D}${mandir}/* + mv ${D}/usr/man/* ${D}${mandir} +} + +PACKAGES =+ "libsensors libsensors-dev libsensors-dbg libsensors-doc" +PACKAGES =+ "lmsensors-sensors lmsensors-sensors-dbg lmsensors-sensors-doc" +PACKAGES =+ "lmsensors-scripts sensors-detect" + +FILES_sensors-detect = "${sbindir}/sensors-detect" +RDEPENDS_sensors-detect += "perl" + +FILES_lmsensors-scripts = "${bindir}/ddcmon ${sbindir}/fancontrol* ${sbindir}/pwmconfig" +RDEPENDS_lmsensors-scripts += "lmsensors-sensors bash" + +FILES_lmsensors-sensors = "${bindir}/sensors ${sysconfdir}" +FILES_lmsensors-sensors-dbg += "${bindir}/.debug/sensors" +FILES_lmsensors-sensors-doc = "${mandir}/man1 ${mandir}/man5" +FILES_libsensors = "${libdir}/libsensors.so.*" +FILES_libsensors-dbg += "${libdir}/.debug" +FILES_libsensors-dev = "${libdir}/libsensors.so ${libdir}/libsensors.a ${includedir}" +FILES_libsensors-doc = "${mandir}/man3" diff --git a/recipes-extra/tcpdump/tcpdump-4.1.1/0001-minimal-IEEE802.15.4-allowed.patch b/recipes-extra/tcpdump/tcpdump-4.1.1/0001-minimal-IEEE802.15.4-allowed.patch new file mode 100644 index 0000000000..9d3d60d4d7 --- /dev/null +++ b/recipes-extra/tcpdump/tcpdump-4.1.1/0001-minimal-IEEE802.15.4-allowed.patch @@ -0,0 +1,22 @@ +From: Sergey Lapin +Date: Wed, 28 Jan 2009 16:34:15 +0300 +Subject: [PATCH] minimal IEEE802.15.4 allowed + +--- + tcpdump.c | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/tcpdump.c b/tcpdump.c +index 06683af..fbc944c 100644 +--- a/tcpdump.c ++++ b/tcpdump.c +@@ -282,6 +282,9 @@ static struct printer printers[] = { + #ifdef DLT_MFR + { mfr_if_print, DLT_MFR }, + #endif ++#ifdef DLT_IEEE802_15_4 ++ { raw_if_print, DLT_IEEE802_15_4 }, ++#endif + #if defined(DLT_BLUETOOTH_HCI_H4_WITH_PHDR) && defined(HAVE_PCAP_BLUETOOTH_H) + { bt_if_print, DLT_BLUETOOTH_HCI_H4_WITH_PHDR}, + #endif diff --git a/recipes-extra/tcpdump/tcpdump-4.1.1/configure.patch b/recipes-extra/tcpdump/tcpdump-4.1.1/configure.patch new file mode 100644 index 0000000000..3697420fd3 --- /dev/null +++ b/recipes-extra/tcpdump/tcpdump-4.1.1/configure.patch @@ -0,0 +1,29 @@ +--- + aclocal.m4 | 1 - + configure.in | 1 + + 2 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/aclocal.m4 b/aclocal.m4 +index 40b5866..0c662b0 100644 +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -40,7 +40,6 @@ dnl + AC_DEFUN(AC_LBL_C_INIT_BEFORE_CC, + [AC_PREREQ(2.50) + AC_BEFORE([$0], [AC_LBL_C_INIT]) +- AC_BEFORE([$0], [AC_PROG_CC]) + AC_BEFORE([$0], [AC_LBL_FIXINCLUDES]) + AC_BEFORE([$0], [AC_LBL_DEVEL]) + AC_ARG_WITH(gcc, [ --without-gcc don't use gcc]) +diff --git a/configure.in b/configure.in +index 11257c9..7f9591c 100644 +--- a/configure.in ++++ b/configure.in +@@ -19,6 +19,7 @@ AC_REVISION($Revision: 1.204 $) + AC_PREREQ(2.50) + AC_INIT(tcpdump.c) + ++AC_PROG_CC + AC_CANONICAL_HOST + + AC_LBL_C_INIT_BEFORE_CC(V_CCOPT, V_INCLS) diff --git a/recipes-extra/tcpdump/tcpdump-4.1.1/ipv6-cross.patch b/recipes-extra/tcpdump/tcpdump-4.1.1/ipv6-cross.patch new file mode 100644 index 0000000000..7eba2c5a6d --- /dev/null +++ b/recipes-extra/tcpdump/tcpdump-4.1.1/ipv6-cross.patch @@ -0,0 +1,41 @@ +--- + configure.in | 12 ++++++++---- + 1 files changed, 8 insertions(+), 4 deletions(-) + +diff --git a/configure.in b/configure.in +index eb3e5e8..11257c9 100644 +--- a/configure.in ++++ b/configure.in +@@ -181,8 +181,9 @@ yes) AC_MSG_RESULT(yes) + ipv6=no + ;; + esac ], +- +- AC_TRY_RUN([ /* AF_INET6 available check */ ++[ ++ if test x"$cross_compiling" != "xyes"; then ++ AC_TRY_RUN([ /* AF_INET6 avalable check */ + #include + #include + main() +@@ -201,7 +202,10 @@ main() + ipv6=no], + [ AC_MSG_RESULT(no) + ipv6=no] +-)) ++ ) ++else ++ AC_MSG_FAILURE([Unable to check for ipv6 when crosscompiling, please specify.]) ++fi]) + + ipv6type=unknown + ipv6lib=none +@@ -316,7 +320,7 @@ if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then + fi + + +-if test "$ipv6" = "yes"; then ++if test x"$cross_compiling" != "xyes" -a "$ipv6" = "yes"; then + # + # XXX - on Tru64 UNIX 5.1, there is no "getaddrinfo()" + # function in libc; there are "ngetaddrinfo()" and diff --git a/recipes-extra/tcpdump/tcpdump-4.1.1/tcpdump_configure_no_-O2.patch b/recipes-extra/tcpdump/tcpdump-4.1.1/tcpdump_configure_no_-O2.patch new file mode 100644 index 0000000000..7929da5b1f --- /dev/null +++ b/recipes-extra/tcpdump/tcpdump-4.1.1/tcpdump_configure_no_-O2.patch @@ -0,0 +1,42 @@ +--- + configure | 8 ++++---- + 1 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/configure b/configure +index cb51d19..73d51af 100755 +--- a/configure ++++ b/configure +@@ -2691,13 +2691,13 @@ if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS + elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then +- CFLAGS="-g -O2" ++ CFLAGS="-g" + else + CFLAGS="-g" + fi + else + if test "$GCC" = yes; then +- CFLAGS="-O2" ++ CFLAGS="" + else + CFLAGS= + fi +@@ -2830,7 +2830,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + if test "$GCC" = yes ; then + if test "$SHLICC2" = yes ; then + ac_cv_lbl_gcc_vers=2 +- V_CCOPT="-O2" ++ V_CCOPT="" + else + { echo "$as_me:$LINENO: checking gcc version" >&5 + echo $ECHO_N "checking gcc version... $ECHO_C" >&6; } +@@ -2847,7 +2847,7 @@ fi + { echo "$as_me:$LINENO: result: $ac_cv_lbl_gcc_vers" >&5 + echo "${ECHO_T}$ac_cv_lbl_gcc_vers" >&6; } + if test $ac_cv_lbl_gcc_vers -gt 1 ; then +- V_CCOPT="-O2" ++ V_CCOPT="" + fi + fi + else diff --git a/recipes-extra/tcpdump/tcpdump_4.1.1.bb b/recipes-extra/tcpdump/tcpdump_4.1.1.bb new file mode 100644 index 0000000000..9fd0ac04bf --- /dev/null +++ b/recipes-extra/tcpdump/tcpdump_4.1.1.bb @@ -0,0 +1,41 @@ +DESCRIPTION = "A sophisticated network protocol analyzer" +HOMEPAGE = "http://www.tcpdump.org/" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867" +SECTION = "console/network" +DEPENDS = "libpcap" +PR = "r1" + +SRC_URI = " \ + http://www.tcpdump.org/release/tcpdump-${PV}.tar.gz \ + file://tcpdump_configure_no_-O2.patch \ + file://0001-minimal-IEEE802.15.4-allowed.patch \ + file://ipv6-cross.patch \ + file://configure.patch \ +" + +inherit autotools +# ac_cv_linux_vers=${ac_cv_linux_vers=2} + +EXTRA_OECONF = "--without-crypto \ + ${@base_contains('DISTRO_FEATURES', 'ipv6', '--enable-ipv6', '--disable-ipv6', d)}" + +do_configure() { + # AC_CHECK_LIB(dlpi.. was looking to host /lib + sed -i 's:-L/lib:-L${STAGING_LIBDIR}:g' ./configure.in + + gnu-configize + autoconf + oe_runconf + sed -i 's:/usr/lib:${STAGING_LIBDIR}:' ./Makefile + sed -i 's:/usr/include:${STAGING_INCDIR}:' ./Makefile +} + +do_install_append() { + # tcpdump 4.0.0 installs a copy to /usr/sbin/tcpdump.4.0.0 + rm -f ${D}${sbindir}/tcpdump.${PV} +} + +SRC_URI[md5sum] = "d0dd58bbd6cd36795e05c6f1f74420b0" +SRC_URI[sha256sum] = "e6cd4bbd61ec7adbb61ba8352c4b4734f67b8caaa845d88cb826bc0b9f1e7f0a" + diff --git a/recipes-fixes/modutils/modutils-initscripts.bbappend b/recipes-fixes/modutils/modutils-initscripts.bbappend new file mode 100644 index 0000000000..efaf3dde00 --- /dev/null +++ b/recipes-fixes/modutils/modutils-initscripts.bbappend @@ -0,0 +1,3 @@ +# Start this after udev and sysfs +PRINC = "1" +INITSCRIPT_PARAMS = "start 5 S ." diff --git a/recipes-fixes/opkg/opkg_svn.bbappend b/recipes-fixes/opkg/opkg_svn.bbappend new file mode 100644 index 0000000000..eccc8062a1 --- /dev/null +++ b/recipes-fixes/opkg/opkg_svn.bbappend @@ -0,0 +1,10 @@ +THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}-${PV}"], d)}:" + +PRINC = "1" + +do_install_append() { + # This breaks autoloading of modules as they are loaded before depmod runs + rm ${D}${datadir}/opkg/intercept/depmod + rm ${D}${datadir}/opkg/intercept/update-modules +} diff --git a/recipes-fixes/udev/udev-164/init b/recipes-fixes/udev/udev-164/init new file mode 100644 index 0000000000..fd417a2147 --- /dev/null +++ b/recipes-fixes/udev/udev-164/init @@ -0,0 +1,59 @@ +#!/bin/sh -e + +### BEGIN INIT INFO +# Provides: udev +# Required-Start: mountvirtfs +# Required-Stop: +# Default-Start: S +# Default-Stop: +# Short-Description: Start udevd, populate /dev and load drivers. +### END INIT INFO + +export TZ=/etc/localtime + +[ -d /sys/class ] || exit 1 +[ -r /proc/mounts ] || exit 1 +[ -x /sbin/udevd ] || exit 1 +[ -f /etc/udev/udev.conf ] && . /etc/udev/udev.conf + +kill_udevd() { + if [ -x /sbin/pidof ]; then + pid=`/sbin/pidof -x udevd` + [ -n "$pid" ] && kill $pid + fi +} + +export ACTION=add +# propagate /dev from /sys +echo -n "Starting udev" + +# mount the tmpfs on /dev, if not already done +LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && { + mount -n -o mode=0755 -t tmpfs none "/dev" + mkdir -m 0755 /dev/pts + mkdir -m 1777 /dev/shm +} + +if [ -e /etc/dev.tar ]; then + (cd /; tar xf /etc/dev.tar 2>&1) + not_first_boot=1 +fi + +# make_extra_nodes +kill_udevd > "/dev/null" 2>&1 + + # trigger the sorted events + echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug + /sbin/udevd -d + + /sbin/udevadm control --env=STARTUP=1 + if [ "$not_first_boot" != "" ];then + /sbin/udevadm trigger --subsystem-nomatch=tty --subsystem-nomatch=mem --subsystem-nomatch=vc --subsystem-nomatch=vtconsole --subsystem-nomatch=dcon --subsystem-nomatch=pci_bus --subsystem-nomatch=graphics --subsystem-nomatch=backlight --subsystem-nomatch=video4linux --subsystem-nomatch=platform + (/sbin/udevadm settle --timeout=3; /sbin/udevadm control --env=STARTUP=)& + else + /sbin/udevadm trigger + /sbin/udevadm settle + fi + +echo +exit 0 diff --git a/recipes-fixes/udev/udev_164.bbappend b/recipes-fixes/udev/udev_164.bbappend new file mode 100644 index 0000000000..f048347434 --- /dev/null +++ b/recipes-fixes/udev/udev_164.bbappend @@ -0,0 +1,13 @@ +THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}-${PV}"], d)}:" + +PRINC="8" +FILES_libgudev = "${base_libdir}/libgudev*.so.* ${libdir}/libgudev*.so.*" +FILES_libgudev-dbg = "${base_libdir}/.debug/libgudev*.so.* ${libdir}/.debug/libgudev*.so.*" + +PACKAGES =+ "udev-acl udev-consolekit" + +FILES_udev-acl = "${base_libdir}/udev/udev-acl ${base_libdir}/udev/rules.d/70-acl.rules" + +RDEPENDS_udev-consolekit += "udev-acl" +FILES_udev-consolekit = "${libdir}/ConsoleKit" diff --git a/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb b/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb new file mode 100644 index 0000000000..b35f08b746 --- /dev/null +++ b/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "UBL and second stage bootloader flasher for davinci" +HOMEPAGE = "http://www.hugovil.com/en/dvnixload/" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=20;md5=f2b40a2eb5162af4c3cb20428e72f921" + +SRCREV = "2fa58b6e4059e43062c74e7078766993bf57896c" +SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/dvnixload;protocol=ssh;branch=master" +PV = "v0.2.6+git${SRCPV}" +PR = "r1" +S = "${WORKDIR}/git" + +inherit autotools + +BBCLASSEXTEND="native" + + +SRC_URI[md5sum] = "33308f47405c0e96a8248c7b1229dee5" +SRC_URI[sha256sum] = "5b76e9cb0ee843208c17053315926e0e168db8a89fe960655a0d0f4871e2b9da" + +do_deploy() { + install -d ${DEPLOY_DIR_TOOLS} + install -m 0755 src/dvnixload ${DEPLOY_DIR_TOOLS}/dvnixload-${PV} + rm -f ${DEPLOY_DIR_TOOLS}/dvnixload + ln -sf ./dvnixload-${PV} ${DEPLOY_DIR_TOOLS}/dvnixload + +} + +addtask deploy before do_package after do_install diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb new file mode 100644 index 0000000000..2338e37a9d --- /dev/null +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "sysmocom FemtoBTS API headers" +SECTION = "kernel" +LICENSE = "CLOSED" + +SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/femtobts-firmware.git;protocol=ssh;branch=master" +SRCREV = "aeedfeb70345685be493a7a80e38af0169013c82" +PV = "2.4+git${SRCPV}" +PR = "r4" +S = "${WORKDIR}/git" + + +do_compile() { + : +} + +do_install() { + install -d ${D}${includedir}/sysmocom/femtobts + install -d ${D}${libdir}/pkgconfig + + install -m 0755 ${S}/api/* ${D}${includedir}/sysmocom/femtobts/ + echo "Name: Sysmocom FemtoBTS API +Description: Sysmocom FemtoBTS API +Versions: 2.0 +Libs: +Cflags: -I${includedir}/sysmocom/femtobts" > ${D}${libdir}/pkgconfig/sysmocom-btsapi.pc +} diff --git a/recipes-sysmobts/femtobts-calib/femtobts-calib_git.bb b/recipes-sysmobts/femtobts-calib/femtobts-calib_git.bb new file mode 100644 index 0000000000..bccb5b447a --- /dev/null +++ b/recipes-sysmobts/femtobts-calib/femtobts-calib_git.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "sysmocom calibration utility" +SECTION = "kernel" +LICENSE = "CLOSED" +DEPENDS = "femtobts-api" + +SRC_URI = "git://git@git.sysmocom.de/sysmobts/calib.git;protocol=ssh;branch=master" +SRCREV = "a54f9c42a22af8ce8b9843e4d5b33718a81dfd0b" +PV = "0.0+git${SRCPV}" +PR = "r1" +S = "${WORKDIR}/git" + +# Select the API version +inherit femtobts_api +CPPFLAGS += " ${BTS_HW_VERSION} " + + +do_compile() { + oe_runmake +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/femto-calib ${D}${bindir}/ +} diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb new file mode 100644 index 0000000000..1f290277c4 --- /dev/null +++ b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "sysmocom sysmoBTS firmware" +SECTION = "kernel" +LICENSE = "CLOSED" + + +SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/femtobts-firmware;protocol=ssh;branch=master" +SRCREV = "aeedfeb70345685be493a7a80e38af0169013c82" +S = "${WORKDIR}/git" + +PV = "1.0+git${SRCPV}" +PR = "r2" + +do_compile() { + : +} + +do_install() { + install -d ${D}/lib/firmware/ + + install -m 0666 ${S}/firmware/sysmobts* ${D}/lib/firmware +} + +FILES_${PN}_sysmobts-v1 = "/lib/firmware/sysmobts-v1*" +FILES_${PN}_sysmobts-v2 = "/lib/firmware/sysmobts-v2*" +PACKAGE_ARCH = "all" diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb new file mode 100644 index 0000000000..e9338149a8 --- /dev/null +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -0,0 +1,44 @@ +DESCRIPTION = "sysmocom OsmoBTS" +LICENSE = "AGPLv3" +LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" + +SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ + git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" +SRCREV_osmobts = "f7fd2e47986d5385de5e892037a9bd3b663c1085" +SRCREV_openbsc = "46cb8514a5a60459214ddee776b37a422abb625e" +PV = "0.0+git${SRCPV}" +PR = "r14" +S = "${WORKDIR}/git" + +SRCREV_FORMAT = "openbsc-rosmobts" +DEPENDS = "libosmocore libosmo-abis femtobts-api" + +EXTRA_OECONF += "--enable-sysmocom-bts" + +inherit autotools update-rc.d + +# Select the API version +inherit femtobts_api +CPPFLAGS += " ${BTS_HW_VERSION} " + +do_configure_prepend() { + ln -sf ../openbsc openbsc +} + +do_install_append() { + install -d ${D}${sysconfdir}/osmocom + install -m 0660 ${S}/doc/examples/osmo-bts.cfg ${D}${sysconfdir}/osmocom + install -m 0755 ${S}/contrib/respawn.sh ${D}${sysconfdir}/osmocom/ + install -m 0644 ${S}/contrib/screenrc-sysmobts ${D}${sysconfdir}/osmocom/ + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${S}/contrib/sysmobts.init ${D}${sysconfdir}/init.d/sysmobts +} + +CONFFILES_${PN} = "${sysconfdir}/osmocom/osmo-bts.cfg" +INITSCRIPT_PACKAGES = "${PN}" +INITSCRIPT_NAME_${PN} = "sysmobts" +INITSCRIPT_PARAMS_${PN} = "defaults 30 30" + +PACKAGES =+ "osmo-bts-remote" + +FILES_osmo-bts-remote = " ${bindir}/sysmobts-remote " diff --git a/recipes-sysmobts/ubl/ubl_git.bb b/recipes-sysmobts/ubl/ubl_git.bb new file mode 100644 index 0000000000..8ba7ac798d --- /dev/null +++ b/recipes-sysmobts/ubl/ubl_git.bb @@ -0,0 +1,39 @@ +DESCRIPTION = "Davinci UBL for the sysmobts v1 and v2" +HOMEPAGE = "http://www.sysmocom.de" +SECTION = "bootloaders" +PRIORITY = "optional" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://ubl.c;beginline=1;endline=22;md5=806283bb3c475d9082e41f09020373ff" + +SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/ubl;protocol=ssh;branch=master" +SRCREV = "8bb73db43ad50db13ebb44aa28ea75ceda57ba52" +PV = "v0.2.11+git${SRCPV}" +PR = "r2" +S = "${WORKDIR}/git" + +inherit deploy + +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" + +UBL_IMAGE ?= "ubl-${MACHINE}-${PV}-${PR}.elf" +UBL_SYMLINK ?= "ubl-${MACHINE}.elf" + +BOARD_NAME_sysmobts-v1 = "sysmobts_v1" +BOARD_NAME_sysmobts-v2 = "sysmobts_v2" + +do_compile() { + unset LDFLAGS + unset CFLAGS + unset CPPFLAGS + oe_runmake BOARD=${BOARD_NAME} +} + +do_deploy() { + install ${S}/ubl_${BOARD_NAME}.elf ${DEPLOYDIR}/${UBL_IMAGE} + cd ${DEPLOYDIR} + rm -f ${UBL_SYMLINK} + ln -sf ${UBL_IMAGE} ${UBL_SYMLINK} +} + +addtask deploy before do_build after do_compile diff --git a/recipes-sysmobts/uboot/u-boot_2011.03.bbappend b/recipes-sysmobts/uboot/u-boot_2011.03.bbappend new file mode 100644 index 0000000000..633465703f --- /dev/null +++ b/recipes-sysmobts/uboot/u-boot_2011.03.bbappend @@ -0,0 +1,28 @@ +SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=ssh" +SRCREV = "6feda350ffd7894b60f3cda5726bfd0195cb6c66" +PV = "v2011.12+git${SRCPV}" +S = "${WORKDIR}/git" + +PRINC = "3" + +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_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}" +UBOOT_SYMLINK = "u-boot-${MACHINE}" + +do_deploy_prepend () { + install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE}.bin + install ${S}/u-boot ${DEPLOYDIR}/${UBOOT_IMAGE}.elf + + cd ${DEPLOYDIR} + rm -f ${UBOOT_SYMLINK}.bin + rm -f ${UBOOT_SYMLINK}.elf + ln -sf ${UBOOT_IMAGE}.bin ${UBOOT_SYMLINK}.bin + ln -sf ${UBOOT_IMAGE}.elf ${UBOOT_SYMLINK}.elf + return +} From 73bcda3f97be61a8e2d7e27a2e3444a1d732354c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 3 May 2012 03:56:13 +0800 Subject: [PATCH 002/908] bts: Build a jffs2 image as well, make sure the firmware is built --- conf/machine/include/sysmobts.inc | 4 ++-- conf/machine/sysmobts-v1.conf | 2 +- conf/machine/sysmobts-v2.conf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index d6d6d53267..e6784328d5 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -30,9 +30,9 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ kernel-module-nls-utf8 \ kernel-module-rtfifo " -IMAGE_FSTYPES ?= "tar.bz2 cpio.gz ubifs ubi" +IMAGE_FSTYPES ?= "tar.bz2 cpio.gz ubifs ubi jffs2" -MACHINE_EXTRA_RDEPENDS = "task-sysmocom-bts sysmobts-firmware" +MACHINE_EXTRA_RDEPENDS = "task-sysmocom-bts sysmobts-firmware watchdog" #MACHINE_EXTRA_RRECOMMENDS = "dsplink-module" require conf/machine/include/tune-arm926ejs.inc diff --git a/conf/machine/sysmobts-v1.conf b/conf/machine/sysmobts-v1.conf index 17be46b1e4..08ebe78897 100644 --- a/conf/machine/sysmobts-v1.conf +++ b/conf/machine/sysmobts-v1.conf @@ -3,7 +3,7 @@ #@DESCRIPTION: sysmocom - systems for mobile communications GmbH GSM BTS # Make sure we build these too -EXTRA_IMAGEDEPENDS = "dvnixload-native ubl u-boot" +EXTRA_IMAGEDEPENDS = "dvnixload-native ubl u-boot sysmobts-firmware" EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 --no-cleanmarkers --pad=0x2000000 -n" # ubifs config diff --git a/conf/machine/sysmobts-v2.conf b/conf/machine/sysmobts-v2.conf index cf4484248a..d0cddce3df 100644 --- a/conf/machine/sysmobts-v2.conf +++ b/conf/machine/sysmobts-v2.conf @@ -3,7 +3,7 @@ #@DESCRIPTION: sysmocom - systems for mobile communications GmbH GSM Superfemto # Make sure we build these too -EXTRA_IMAGEDEPENDS = "dvnixload-native ubl u-boot" +EXTRA_IMAGEDEPENDS = "dvnixload-native ubl u-boot sysmobts-firmware" EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 --no-cleanmarkers --pad=0x2000000 -n" # ubifs config From b863e59aa686b0044b6553a34748aa3063789ae2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 3 May 2012 04:21:07 +0800 Subject: [PATCH 003/908] wget: Add wget from meta-oe Having wget available will allow to use it for online updates with opkg. --- .../wget/wget-1.13.4/fix_makefile.patch | 59 +++++++++++++++++++ recipes-extra/wget/wget.inc | 20 +++++++ recipes-extra/wget/wget_1.13.4.bb | 9 +++ 3 files changed, 88 insertions(+) create mode 100644 recipes-extra/wget/wget-1.13.4/fix_makefile.patch create mode 100644 recipes-extra/wget/wget.inc create mode 100644 recipes-extra/wget/wget_1.13.4.bb diff --git a/recipes-extra/wget/wget-1.13.4/fix_makefile.patch b/recipes-extra/wget/wget-1.13.4/fix_makefile.patch new file mode 100644 index 0000000000..3f34c7690b --- /dev/null +++ b/recipes-extra/wget/wget-1.13.4/fix_makefile.patch @@ -0,0 +1,59 @@ + +Upstream-Status: Pending + +Signed-off-by: Saul Wold + +Index: wget-1.12/po/Makefile.in.in +=================================================================== +--- wget-1.12.orig/po/Makefile.in.in 2009-09-04 09:31:54.000000000 -0700 ++++ wget-1.12/po/Makefile.in.in 2011-10-19 20:32:53.714812160 -0700 +@@ -8,8 +8,8 @@ + # Please note that the actual code of GNU gettext is covered by the GNU + # General Public License and is *not* in the public domain. + # +-# Origin: gettext-0.17 +-GETTEXT_MACRO_VERSION = 0.17 ++# Origin: gettext-0.18 ++GETTEXT_MACRO_VERSION = 0.18 + + PACKAGE = @PACKAGE@ + VERSION = @VERSION@ +Index: wget-1.12/configure.ac +=================================================================== +--- wget-1.12.orig/configure.ac 2009-09-22 09:39:49.000000000 -0700 ++++ wget-1.12/configure.ac 2011-10-19 20:32:53.714812160 -0700 +@@ -110,7 +110,7 @@ + dnl Gettext + dnl + AM_GNU_GETTEXT([external],[need-ngettext]) +-AM_GNU_GETTEXT_VERSION([0.17]) ++AM_GNU_GETTEXT_VERSION([0.18]) + + AC_PROG_RANLIB + +Index: wget-1.12/configure +=================================================================== +--- wget-1.12.orig/configure 2009-09-22 09:40:13.000000000 -0700 ++++ wget-1.12/configure 2011-10-19 20:33:46.578812174 -0700 +@@ -5297,7 +5297,7 @@ + + + +- GETTEXT_MACRO_VERSION=0.17 ++ GETTEXT_MACRO_VERSION=0.18 + + + +Index: wget-1.12/m4/po.m4 +=================================================================== +--- wget-1.12.orig/m4/po.m4 2009-09-04 09:31:54.000000000 -0700 ++++ wget-1.12/m4/po.m4 2011-10-19 20:33:53.426812176 -0700 +@@ -30,7 +30,7 @@ + + dnl Release version of the gettext macros. This is used to ensure that + dnl the gettext macros and po/Makefile.in.in are in sync. +- AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) ++ AC_SUBST([GETTEXT_MACRO_VERSION], [0.18]) + + dnl Perform the following tests also if --disable-nls has been given, + dnl because they are needed for "make dist" to work. diff --git a/recipes-extra/wget/wget.inc b/recipes-extra/wget/wget.inc new file mode 100644 index 0000000000..25f36c80c4 --- /dev/null +++ b/recipes-extra/wget/wget.inc @@ -0,0 +1,20 @@ +DESCRIPTION = "A console URL download utility featuring HTTP, FTP, and more." +SECTION = "console/network" +LICENSE = "GPL" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +DEPENDS = "openssl" + +INC_PR = "r13" + +inherit autotools gettext update-alternatives + +EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl" + +do_install_append () { + mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN} +} + +ALTERNATIVE_NAME = "wget" +ALTERNATIVE_LINK = "${bindir}/wget" +ALTERNATIVE_PATH = "${bindir}/wget.${PN}" +ALTERNATIVE_PRIORITY = "100" diff --git a/recipes-extra/wget/wget_1.13.4.bb b/recipes-extra/wget/wget_1.13.4.bb new file mode 100644 index 0000000000..b2da52f7bd --- /dev/null +++ b/recipes-extra/wget/wget_1.13.4.bb @@ -0,0 +1,9 @@ +PR = "${INC_PR}.1" + +SRC_URI = "${GNU_MIRROR}/wget/wget-${PV}.tar.gz \ + file://fix_makefile.patch \ + " +SRC_URI[md5sum] = "1df489976a118b9cbe1b03502adbfc27" +SRC_URI[sha256sum] = "24c7710bc9f220ce23d8a9e0f5673b0efc1cace62db6de0239b5863ecc934dcd" + +require wget.inc From 999cf4843e1cfedf0e6141d56d221ba09dd433eb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 3 May 2012 03:56:19 +0800 Subject: [PATCH 004/908] image: Depend on wget to have password authentication for the feeds wget implements HTTP authentication, this means one can use opkg to access password protected feeds for upgrades. --- recipes-apps/images/sysmocom-image.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-apps/images/sysmocom-image.inc b/recipes-apps/images/sysmocom-image.inc index 92419cbcfd..8d6f9c5234 100644 --- a/recipes-apps/images/sysmocom-image.inc +++ b/recipes-apps/images/sysmocom-image.inc @@ -1,4 +1,4 @@ -IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools ${MACHINE_EXTRA_RDEPENDS}" +IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools ${MACHINE_EXTRA_RDEPENDS} wget" IMAGE_LINGUAS = " " LICENSE = "MIT" From f1ce2c13e5b87cf7dbb000ed93a4eb531a05ca40 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 3 May 2012 03:57:38 +0800 Subject: [PATCH 005/908] image: Make sure that everything from the machine rdepends is built Make sure that everything the machine needs to install is built. --- recipes-apps/images/sysmocom-image.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-apps/images/sysmocom-image.inc b/recipes-apps/images/sysmocom-image.inc index 8d6f9c5234..1175e9c205 100644 --- a/recipes-apps/images/sysmocom-image.inc +++ b/recipes-apps/images/sysmocom-image.inc @@ -1,3 +1,4 @@ +DEPENDS = "${MACHINE_EXTRA_RDEPENDS}" IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools ${MACHINE_EXTRA_RDEPENDS} wget" IMAGE_LINGUAS = " " LICENSE = "MIT" From 2a378aa3339d4a6163a59fbeb2be1704faa4bb6e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 3 May 2012 04:40:19 +0800 Subject: [PATCH 006/908] firmware: The package depends on the machine, set the right arch --- recipes-sysmobts/firmware/sysmobts-firmware_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb index 1f290277c4..e969e3cb37 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb @@ -8,7 +8,7 @@ SRCREV = "aeedfeb70345685be493a7a80e38af0169013c82" S = "${WORKDIR}/git" PV = "1.0+git${SRCPV}" -PR = "r2" +PR = "r4" do_compile() { : @@ -22,4 +22,4 @@ do_install() { FILES_${PN}_sysmobts-v1 = "/lib/firmware/sysmobts-v1*" FILES_${PN}_sysmobts-v2 = "/lib/firmware/sysmobts-v2*" -PACKAGE_ARCH = "all" +PACKAGE_ARCH = "${MACHINE_ARCH}" From b9d489c543a777781b91b27404e67d6c31ff9f1f Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 12 May 2012 12:38:51 +0200 Subject: [PATCH 007/908] add the sysmobts-remot program to the "task-sysmocom-bts" This is primarily used for development, but as it is such a small tool, it makes sense to always include it in the build. --- recipes-apps/tasks/task-sysmocom-bts.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index d3a8dac295..0fe2faff85 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -4,12 +4,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY = "1" -PR = "r9" +PR = "r10" # TODO: re-add femtobts-calib after it went through the API migration RDEPENDS_task-sysmocom-bts = "\ femtobts-example \ osmo-bts \ + osmo-bts-remote \ lmsensors-scripts \ " From bdbd14a8d5a36e29f1285240d222fc38847df181 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 May 2012 03:06:14 +0800 Subject: [PATCH 008/908] u-boot: Fix the u-boot git version in our public git repository --- recipes-sysmobts/uboot/u-boot_2011.03.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/uboot/u-boot_2011.03.bbappend b/recipes-sysmobts/uboot/u-boot_2011.03.bbappend index 633465703f..d8078be054 100644 --- a/recipes-sysmobts/uboot/u-boot_2011.03.bbappend +++ b/recipes-sysmobts/uboot/u-boot_2011.03.bbappend @@ -1,9 +1,9 @@ SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=ssh" -SRCREV = "6feda350ffd7894b60f3cda5726bfd0195cb6c66" +SRCREV = "9987f6df9b5109877b24eb4c0c43a5f0df16289b" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" -PRINC = "3" +PRINC = "4" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" From 967184aef7c626edafc07a743ba9400823c161d1 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 12 May 2012 16:30:22 +0200 Subject: [PATCH 009/908] sysmobts-v2 has the same NAND flash as -v1, so use same UBI parameters --- conf/machine/sysmobts-v2.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/machine/sysmobts-v2.conf b/conf/machine/sysmobts-v2.conf index d0cddce3df..1bfe7cce38 100644 --- a/conf/machine/sysmobts-v2.conf +++ b/conf/machine/sysmobts-v2.conf @@ -7,8 +7,8 @@ EXTRA_IMAGEDEPENDS = "dvnixload-native ubl u-boot sysmobts-firmware" EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 --no-cleanmarkers --pad=0x2000000 -n" # ubifs config -MKUBIFS_ARGS = "-m 512 -e 15KiB -c 3983" -UBINIZE_ARGS = "-m 512 -p 16384 -s 512" +MKUBIFS_ARGS = "-m 2048 -e 129024 -c 400" +UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512" require conf/machine/include/sysmobts.inc From 39d7350b90308aa0f270e6b68f54f0d4901a89f5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 17 May 2012 02:22:32 +0800 Subject: [PATCH 010/908] sysmobts-v2: Allow to override the flash parameters RevB and RevC feature different kind of nand flash. RevB is still pre-production hardware so for the few units allow to set the right flash parameters in the local.conf. --- conf/machine/sysmobts-v2.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/machine/sysmobts-v2.conf b/conf/machine/sysmobts-v2.conf index 1bfe7cce38..b86a9a1a78 100644 --- a/conf/machine/sysmobts-v2.conf +++ b/conf/machine/sysmobts-v2.conf @@ -7,8 +7,8 @@ EXTRA_IMAGEDEPENDS = "dvnixload-native ubl u-boot sysmobts-firmware" EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 --no-cleanmarkers --pad=0x2000000 -n" # ubifs config -MKUBIFS_ARGS = "-m 2048 -e 129024 -c 400" -UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512" +MKUBIFS_ARGS ?= "-m 2048 -e 129024 -c 400" +UBINIZE_ARGS ?= "-m 2048 -p 128KiB -s 512" require conf/machine/include/sysmobts.inc From 77f660aa0d30046e48d4adbb6130bffa1281514e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 13 May 2012 15:44:05 +0200 Subject: [PATCH 011/908] update to sysmobts-v2 API/firmware version v2.1 --- recipes-sysmobts/femtobts-api/femtobts-api_git.bb | 4 ++-- recipes-sysmobts/firmware/sysmobts-firmware_git.bb | 4 ++-- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb index 2338e37a9d..f6ed59c83c 100644 --- a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -3,9 +3,9 @@ SECTION = "kernel" LICENSE = "CLOSED" SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/femtobts-firmware.git;protocol=ssh;branch=master" -SRCREV = "aeedfeb70345685be493a7a80e38af0169013c82" +SRCREV = "6656cf9df31adb0d5514689db6f00119c237dea0" PV = "2.4+git${SRCPV}" -PR = "r4" +PR = "r5" S = "${WORKDIR}/git" diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb index e969e3cb37..0d8a7a1649 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb @@ -4,11 +4,11 @@ LICENSE = "CLOSED" SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/femtobts-firmware;protocol=ssh;branch=master" -SRCREV = "aeedfeb70345685be493a7a80e38af0169013c82" +SRCREV = "6656cf9df31adb0d5514689db6f00119c237dea0" S = "${WORKDIR}/git" PV = "1.0+git${SRCPV}" -PR = "r4" +PR = "r5" do_compile() { : diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index e9338149a8..99220f4911 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "f7fd2e47986d5385de5e892037a9bd3b663c1085" +SRCREV_osmobts = "268c7f02fd83f05409a357796217274efc3c6c1b" SRCREV_openbsc = "46cb8514a5a60459214ddee776b37a422abb625e" PV = "0.0+git${SRCPV}" PR = "r14" From 6dcaf7d614592c9c6d264f38efac8221c37461ba Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 17 May 2012 19:15:30 +0800 Subject: [PATCH 012/908] osmo-bts: Upgrade to a version that reloads the firmware on every start --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 99220f4911..a404dae757 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "268c7f02fd83f05409a357796217274efc3c6c1b" +SRCREV_osmobts = "b18f00f162e1b7b3f3583e151b8a2091932c8708" SRCREV_openbsc = "46cb8514a5a60459214ddee776b37a422abb625e" PV = "0.0+git${SRCPV}" PR = "r14" From aed232262e91c20e406a88f262cbce582ec21305 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 15 May 2012 22:29:46 +0800 Subject: [PATCH 013/908] watchdog: Add machine specific watchdog file --- .../watchdog-5.9/sysmobts-v1/watchdog.conf | 41 +++++++++++++++++++ .../watchdog-5.9/sysmobts-v2/watchdog.conf | 41 +++++++++++++++++++ recipes-bsp/watchdog/watchdog_5.9.bbappend | 16 ++++++++ 3 files changed, 98 insertions(+) create mode 100644 recipes-bsp/watchdog/watchdog-5.9/sysmobts-v1/watchdog.conf create mode 100644 recipes-bsp/watchdog/watchdog-5.9/sysmobts-v2/watchdog.conf create mode 100644 recipes-bsp/watchdog/watchdog_5.9.bbappend diff --git a/recipes-bsp/watchdog/watchdog-5.9/sysmobts-v1/watchdog.conf b/recipes-bsp/watchdog/watchdog-5.9/sysmobts-v1/watchdog.conf new file mode 100644 index 0000000000..2209e90a5e --- /dev/null +++ b/recipes-bsp/watchdog/watchdog-5.9/sysmobts-v1/watchdog.conf @@ -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 diff --git a/recipes-bsp/watchdog/watchdog-5.9/sysmobts-v2/watchdog.conf b/recipes-bsp/watchdog/watchdog-5.9/sysmobts-v2/watchdog.conf new file mode 100644 index 0000000000..2209e90a5e --- /dev/null +++ b/recipes-bsp/watchdog/watchdog-5.9/sysmobts-v2/watchdog.conf @@ -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 diff --git a/recipes-bsp/watchdog/watchdog_5.9.bbappend b/recipes-bsp/watchdog/watchdog_5.9.bbappend new file mode 100644 index 0000000000..dc58997223 --- /dev/null +++ b/recipes-bsp/watchdog/watchdog_5.9.bbappend @@ -0,0 +1,16 @@ +SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:" +PRINC = "2" + +SRC_URI_append_sysmobts-v1 = " file://watchdog.conf" +SRC_URI_append_sysmobts-v2 = " file://watchdog.conf" + +do_install_append() { + + if [ -e ${WORKDIR}/watchdog.conf ]; then + install -D -m 0644 ${WORKDIR}/watchdog.conf ${D}/${sysconfdir}/ + fi +} + +# bug in poky meta/classes/base.bbclass? +PACKAGE_ARCH = "${MACHINE_ARCH}" From 6d69dba61055d25aa80d147e035dc94e145f4c2d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 15 May 2012 23:14:33 +0800 Subject: [PATCH 014/908] watchdog: Install a init script and add config file to conffiles --- recipes-bsp/watchdog/watchdog-5.9/init | 81 ++++++++++++++++++++++ recipes-bsp/watchdog/watchdog_5.9.bbappend | 15 +++- 2 files changed, 93 insertions(+), 3 deletions(-) create mode 100644 recipes-bsp/watchdog/watchdog-5.9/init diff --git a/recipes-bsp/watchdog/watchdog-5.9/init b/recipes-bsp/watchdog/watchdog-5.9/init new file mode 100644 index 0000000000..d6f939a480 --- /dev/null +++ b/recipes-bsp/watchdog/watchdog-5.9/init @@ -0,0 +1,81 @@ +#!/bin/sh +#/etc/init.d/watchdog: start watchdog daemon. +#based on debian/init of watchdog + +### BEGIN INIT INFO +# Provides: watchdog +# Short-Description: Start software watchdog daemon +# Required-Start: $all +# Required-Stop: $all +# Should-Start: +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO + +PATH=/bin:/usr/bin:/sbin:/usr/sbin + +test -x /usr/sbin/watchdog || exit 0 + +# For configuration of the init script use the file +# /etc/default/watchdog, do not edit this init script. + +# Set run_watchdog to 1 to start watchdog or 0 to disable it. + +# Specify additional watchdog options here (see manpage). +watchdog_options="" + +# Specify module to load +watchdog_module="none" + +run_watchdog=1 + +[ -e /etc/default/watchdog ] && . /etc/default/watchdog + +NAME=watchdog + +DAEMON=/usr/sbin/watchdog + +case "$1" in + start) + if [ $run_watchdog = 1 ] + then + # do we have to load a module? + [ ${watchdog_module:-none} != "none" ] && /sbin/modprobe $watchdog_module + + # Unconditionally start watchdog daemon because we want to run it even + # if wd_keepalive wasn't running + echo "Starting watchdog daemon..." + start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON -- $watchdog_options + fi + ;; + + stop) + if [ $run_watchdog = 1 ] + then + echo "Stopping watchdog daemon..." + start-stop-daemon --stop -s 9 --quiet \ + --pidfile /var/run/$NAME.pid + fi + ;; + + restart) + $0 force-reload + ;; + + force-reload) + if [ $run_watchdog = 0 ]; then exit 0; fi + echo "Restarting ${NAME}" + stop + start + ;; + + *) + echo "Usage: /etc/init.d/watchdog {start|stop|restart|force-reload}" + exit 1 + +esac + +exit 0 + diff --git a/recipes-bsp/watchdog/watchdog_5.9.bbappend b/recipes-bsp/watchdog/watchdog_5.9.bbappend index dc58997223..8897f11363 100644 --- a/recipes-bsp/watchdog/watchdog_5.9.bbappend +++ b/recipes-bsp/watchdog/watchdog_5.9.bbappend @@ -1,16 +1,25 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:" -PRINC = "2" +PRINC = "4" -SRC_URI_append_sysmobts-v1 = " file://watchdog.conf" -SRC_URI_append_sysmobts-v2 = " file://watchdog.conf" +inherit update-rc.d + +SRC_URI_append_sysmobts-v1 = " file://watchdog.conf file://init" +SRC_URI_append_sysmobts-v2 = " file://watchdog.conf file://init" do_install_append() { if [ -e ${WORKDIR}/watchdog.conf ]; then install -D -m 0644 ${WORKDIR}/watchdog.conf ${D}/${sysconfdir}/ fi + + install -D -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/watchdog } +CONFFILES_${PN} = "${sysconfdir}/watchdog.conf" +INITSCRIPT_PACKAGES = "${PN}" +INITSCRIPT_NAME_${PN} = "watchdog" +INITSCRIPT_PARAMS_${PN} = "defaults 0 99" + # bug in poky meta/classes/base.bbclass? PACKAGE_ARCH = "${MACHINE_ARCH}" From 7aaa4cc880fc6386d7e8de013a78240359977d30 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 16 May 2012 21:46:07 +0800 Subject: [PATCH 015/908] watchdog: Start the watchdog script in rcS.d as early as possible This needs to be started after udev, after loading modules. --- recipes-bsp/watchdog/watchdog-5.9/init | 4 ++-- recipes-bsp/watchdog/watchdog_5.9.bbappend | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-bsp/watchdog/watchdog-5.9/init b/recipes-bsp/watchdog/watchdog-5.9/init index d6f939a480..cdc960a6e8 100644 --- a/recipes-bsp/watchdog/watchdog-5.9/init +++ b/recipes-bsp/watchdog/watchdog-5.9/init @@ -9,8 +9,8 @@ # Required-Stop: $all # Should-Start: # Should-Stop: -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 +# Default-Start: S +# Default-Stop: ### END INIT INFO PATH=/bin:/usr/bin:/sbin:/usr/sbin diff --git a/recipes-bsp/watchdog/watchdog_5.9.bbappend b/recipes-bsp/watchdog/watchdog_5.9.bbappend index 8897f11363..906deade47 100644 --- a/recipes-bsp/watchdog/watchdog_5.9.bbappend +++ b/recipes-bsp/watchdog/watchdog_5.9.bbappend @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:" -PRINC = "4" +PRINC = "6" inherit update-rc.d @@ -19,7 +19,7 @@ do_install_append() { CONFFILES_${PN} = "${sysconfdir}/watchdog.conf" INITSCRIPT_PACKAGES = "${PN}" INITSCRIPT_NAME_${PN} = "watchdog" -INITSCRIPT_PARAMS_${PN} = "defaults 0 99" +INITSCRIPT_PARAMS_${PN} = "start 06 S ." # bug in poky meta/classes/base.bbclass? PACKAGE_ARCH = "${MACHINE_ARCH}" From 842d3ece073d893c5bc211aa5fc8761efb93bebc Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Mon, 19 Dec 2011 13:17:46 +0800 Subject: [PATCH 016/908] socat: add the latest stable version 1.7.2.0 socat is useful for the self-hosted-image work. The original recipe is from OE: http://git.openembedded.org/openembedded/tree/recipes/socat/ and I upgraded it to 1.7.2.0. Thank Koen Kooi for suggesting how to assign the LICENSE field with a proper value. (From OE-Core rev: b1771ff0ad39250678bd53b0ae7543c9365572f5) Signed-off-by: Dexuan Cui Signed-off-by: Richard Purdie --- recipes-extra/socat/files/compile.patch | 946 ++++++++++++++++++++++++ recipes-extra/socat/socat_1.7.2.0.bb | 28 + 2 files changed, 974 insertions(+) create mode 100644 recipes-extra/socat/files/compile.patch create mode 100644 recipes-extra/socat/socat_1.7.2.0.bb diff --git a/recipes-extra/socat/files/compile.patch b/recipes-extra/socat/files/compile.patch new file mode 100644 index 0000000000..4d1a0b65cb --- /dev/null +++ b/recipes-extra/socat/files/compile.patch @@ -0,0 +1,946 @@ +Upstream-Status: Inappropriate [configuration] + +The patch is from http://git.openembedded.org/openembedded/tree/recipes/socat/files/compile.patch +and was rebased to socat-1.7.2.0. + +Signed-off-by: Dexuan Cui +Fri Dec 16 17:12:17 CST 2011 + +diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in +--- socat-1.7.2.0.orig/configure.in 2011-12-04 21:34:16.000000000 +0800 ++++ socat-1.7.2.0/configure.in 2011-12-16 17:08:59.698367071 +0800 +@@ -88,7 +88,7 @@ + + + dnl Check for extra socket library (for Solaris) +-AC_CHECK_FUNC(hstrerror, , AC_CHECK_LIB(resolv, hstrerror, [LIBS="$LIBS -lresolv"; AC_DEFINE(HAVE_HSTRERROR)])) ++AC_CHECK_FUNC(hstrerror, , AC_CHECK_LIB(resolv, hstrerror, [LIBS="$LIBS -lresolv"; AC_DEFINE(HAVE_HSTRERROR, [1], [STRERROR])])) + AC_CHECK_FUNC(gethostent, , AC_CHECK_LIB(nsl, gethostent)) + AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt)) + +@@ -102,7 +102,7 @@ + [sc_cv_have_prototype_hstrerror=yes]); + CFLAGS="$CFLAGS1"]) + if test $sc_cv_have_prototype_hstrerror = yes; then +- AC_DEFINE(HAVE_PROTOTYPE_HSTRERROR) ++ AC_DEFINE(HAVE_PROTOTYPE_HSTRERROR, [1], [Has Strerror]) + fi + AC_MSG_RESULT($sc_cv_have_prototype_hstrerror) + +@@ -111,83 +111,83 @@ + AC_ARG_ENABLE(help, [ --disable-help disable help], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_HELP) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_HELP, [1], [With help]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_HELP) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_HELP, [1], [With help]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include STDIO support) + AC_ARG_ENABLE(stdio, [ --disable-stdio disable STDIO support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_STDIO) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_STDIO, [1], [With stdio]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_STDIO) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_STDIO, [1], [With stdio]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include FD-number support) + AC_ARG_ENABLE(fdnum, [ --disable-fdnum disable FD-number support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_FDNUM) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_FDNUM, [1], [With fdnum]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_FDNUM) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_FDNUM, [1], [With fdnum]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include direct file support) + AC_ARG_ENABLE(file, [ --disable-file disable direct file support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_FILE) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_FILE, [1], [With file]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_FILE) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_FILE, [1], [With file]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include direct create support) + AC_ARG_ENABLE(creat, [ --disable-creat disable direct create support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_CREAT) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_CREAT, [1], [With creat]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_CREAT) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_CREAT, [1], [With creat]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include gopen support) + AC_ARG_ENABLE(gopen, [ --disable-gopen disable open for UNIX socket support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_GOPEN) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_GOPEN, [1], [With gopen]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_GOPEN) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_GOPEN, [1], [With gopen]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include explicit pipe support) + AC_ARG_ENABLE(pipe, [ --disable-pipe disable pipe support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_PIPE) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_PIPE, [1], [With pipe]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_PIPE) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_PIPE, [1], [With pipe]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include explicit termios support) + AC_ARG_ENABLE(termios, [ --disable-termios disable termios support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_TERMIOS) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_TERMIOS, [1], [With termios]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_TERMIOS) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_TERMIOS, [1], [With termios]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include UNIX socket support) + AC_ARG_ENABLE(unix, [ --disable-unix disable UNIX domain socket support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_UNIX) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_UNIX, [1], [With unix]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_UNIX) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_UNIX, [1], [With unix]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include abstract UNIX socket support) + AC_ARG_ENABLE(abstract_unixsocket, [ --disable-abstract-unixsocket disable abstract UNIX domain socket support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_ABSTRACT_UNIXSOCKET) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_ABSTRACT_UNIXSOCKET, [1], [With abstract unix socket]) AC_MSG_RESULT(yes);; + esac], + [ case "`uname`" in + Linux) +- AC_DEFINE(WITH_ABSTRACT_UNIXSOCKET) AC_MSG_RESULT(yes);; ++ AC_DEFINE(WITH_ABSTRACT_UNIXSOCKET, [1], [With abstract unix socket]) AC_MSG_RESULT(yes);; + *) + AC_MSG_RESULT(no);; + esac]) +@@ -196,9 +196,9 @@ + AC_ARG_ENABLE(ip4, [ --disable-ip4 disable IPv4 support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_IP4) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_IP4, [1], [with ipv4]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_IP4) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_IP4, [1], [with ipv4]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include IPv6 support) + AC_ARG_ENABLE(ip6, [ --disable-ip6 disable IPv6 support], +@@ -209,7 +209,7 @@ + [ AC_MSG_RESULT(yes); WITH_IP6=1 ]) + if test "$WITH_IP6"; then + AC_CHECK_HEADERS([netinet/ip6.h], +- [AC_DEFINE(HAVE_NETINET_IP6_H) AC_DEFINE(WITH_IP6)], ++ [AC_DEFINE(HAVE_NETINET_IP6_H) AC_DEFINE(WITH_IP6, [1], [with ipv6])], + [AC_MSG_WARN([include file netinet/ip6.h not found, disabling IP6])], + [AC_INCLUDES_DEFAULT + #ifdef HAVE_NETINET_IN_H +@@ -242,17 +242,17 @@ + AC_ARG_ENABLE(rawip, [ --disable-rawip disable raw IP support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_RAWIP) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_RAWIP, [1], [With reawip]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_RAWIP) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_RAWIP, [1], [With rawip]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include generic socket support) + AC_ARG_ENABLE(rawsocket, [ --disable-genericsocket disable generic socket support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_GENERICSOCKET) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_GENERICSOCKET, [1], [With genericsocket]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_GENERICSOCKET) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_GENERICSOCKET, [1], [With genericsocket]) AC_MSG_RESULT(yes)]) + AC_MSG_CHECKING(whether to include raw network interface support) + AC_ARG_ENABLE(interface, [ --disable-interface disable network interface support], + [case "$enableval" in +@@ -262,35 +262,35 @@ + [AC_MSG_RESULT(yes); WITH_INTERFACE=1 ]) + if test "$WITH_INTERFACE"; then + AC_CHECK_HEADER(netpacket/packet.h, +- AC_DEFINE(HAVE_NETPACKET_PACKET_H), ++ AC_DEFINE(HAVE_NETPACKET_PACKET_H, [1], [Has packet.h]), + [WITH_INTERFACE=; + AC_MSG_WARN([include file netpacket/packet.h not found, disabling interface])]) + fi + if test "$WITH_INTERFACE"; then + AC_CHECK_HEADER(netinet/if_ether.h, +- AC_DEFINE(HAVE_NETINET_IF_ETHER_H), ++ AC_DEFINE(HAVE_NETINET_IF_ETHER_H, [1], [Has if_ether.h]), + [WITH_INTERFACE=; + AC_MSG_WARN([include file netinet/if_ether.h not found, disabling interface])]) + fi + if test "$WITH_INTERFACE"; then +- AC_DEFINE(WITH_INTERFACE) ++ AC_DEFINE(WITH_INTERFACE, [1], [Wither interface]) + fi + + AC_MSG_CHECKING(whether to include TCP support) + AC_ARG_ENABLE(tcp, [ --disable-tcp disable TCP support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_TCP) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_TCP, [1], [With TCP]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_TCP) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_TCP, [1], [With TCP]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include UDP support) + AC_ARG_ENABLE(udp, [ --disable-udp disable UDP support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_UDP) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_UDP, [1], [With UDP]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_UDP) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_UDP, [1], [With UDP]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include SCTP support) + AC_ARG_ENABLE(sctp, [ --disable-sctp disable SCTP support], +@@ -310,7 +310,7 @@ + [sc_cv_define_ipproto_sctp=no])]) + AC_MSG_RESULT($sc_cv_define_ipproto_sctp) + if test $sc_cv_define_ipproto_sctp = yes; then +- AC_DEFINE(WITH_SCTP) ++ AC_DEFINE(WITH_SCTP, [1], [With SCTP]) + else + AC_MSG_WARN([IPPROTO_SCTP undefined, disabling SCTP support]) + fi +@@ -320,65 +320,65 @@ + AC_ARG_ENABLE(listen, [ --disable-listen disable listen support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_LISTEN) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_LISTEN, [1], [With listen]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_LISTEN) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_LISTEN, [1], [With listen]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include socks4 support) + AC_ARG_ENABLE(socks4, [ --disable-socks4 disable socks4 support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_SOCKS4) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_SOCKS4, [1], [With socks]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_SOCKS4) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_SOCKS4, [1], [With socks]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include socks4a support) + AC_ARG_ENABLE(socks4a, [ --disable-socks4a disable socks4a support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_SOCKS4A) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_SOCKS4A, [1], [With socks4a]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_SOCKS4A) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_SOCKS4A, [1], [With socks4a]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include proxy connect support) + AC_ARG_ENABLE(proxy, [ --disable-proxy disable proxy connect support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_PROXY) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_PROXY, [1], [With proxy]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_PROXY) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_PROXY, [1], [With proxy]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include exec support) + AC_ARG_ENABLE(exec, [ --disable-exec disable exec support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_EXEC) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_EXEC, [1], [With exec]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_EXEC) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_EXEC, [1], [With exec]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING([whether to include system (shell) support]) + AC_ARG_ENABLE(system, [ --disable-system disable system (shell) support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_SYSTEM) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_SYSTEM, [1], [With system]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_SYSTEM) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_SYSTEM, [1], [With system]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include pty address support) + AC_ARG_ENABLE(pty, [ --disable-pty disable pty support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_PTY) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_PTY, [1], [With pty]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_PTY) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_PTY, [1], [With pty]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include ext2 fs attributes support) + AC_ARG_ENABLE(ext2, [ --disable-ext2 disable ext2 fs attributes support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_EXT2) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_EXT2, [1], [With ext2]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_EXT2) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_EXT2, [1], [With ext2]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(whether to include readline support) + AC_ARG_ENABLE(readline, [ --disable-readline disable readline support], +@@ -423,10 +423,10 @@ + + if test -n "$sc_usable_readline_found"; then + AC_MSG_RESULT(yes) +- AC_DEFINE(HAVE_READLINE_READLINE_H,1) +- AC_DEFINE(HAVE_READLINE_HISTORY_H,1) +- AC_DEFINE(HAVE_LIBREADLINE,1) +- AC_DEFINE(WITH_READLINE,1) ++ AC_DEFINE(HAVE_READLINE_READLINE_H,1, [have readline]) ++ AC_DEFINE(HAVE_READLINE_HISTORY_H,1, [have history]) ++ AC_DEFINE(HAVE_LIBREADLINE,1, [have readline]) ++ AC_DEFINE(WITH_READLINE,1, [with readline]) + break + else + AC_MSG_RESULT(no) +@@ -469,7 +469,7 @@ + done]) + ]) + if test "$sc_cv_have_openssl_ssl_h" = "yes"; then +- AC_DEFINE(HAVE_OPENSSL_SSL_H) ++ AC_DEFINE(HAVE_OPENSSL_SSL_H, [1], [have openssl.h]) + fi + AC_MSG_NOTICE(checked for openssl/ssl.h... $sc_cv_have_openssl_ssl_h) + fi # end checking for openssl/ssl.h +@@ -501,7 +501,7 @@ + ] + ) + if test "$sc_cv_have_libssl" = 'yes'; then +- AC_DEFINE(HAVE_LIBSSL) ++ AC_DEFINE(HAVE_LIBSSL, [1], [libssl]) + fi + AC_MSG_RESULT($sc_cv_have_libssl) + fi +@@ -529,7 +529,7 @@ + #fi + if test -n "$WITH_OPENSSL"; then + if test "$sc_cv_have_openssl_ssl_h" = "yes" -a "$sc_cv_have_libssl" = "yes"; then +- AC_DEFINE(WITH_OPENSSL) ++ AC_DEFINE(WITH_OPENSSL, [1], [With openssl]) + else + AC_MSG_WARN([not all components of OpenSSL found, disabling it]); + fi +@@ -577,7 +577,7 @@ + )] + ) + if test "$sv_cv_have_openssl_fips_h" = "yes"; then +- AC_DEFINE(HAVE_OPENSSL_FIPS_H) ++ AC_DEFINE(HAVE_OPENSSL_FIPS_H, [1], [OpenSSL fips.h]) + fi + AC_MSG_NOTICE(checked for openssl/fips.h... $sc_cv_have_openssl_ssl_h) + fi +@@ -608,15 +608,15 @@ + ] + ) + if test "$sc_cv_have_libcrypto" = 'yes'; then +- AC_DEFINE(HAVE_LIBCRYPTO) ++ AC_DEFINE(HAVE_LIBCRYPTO, [1], [libcrypto]) + fi + AC_MSG_RESULT($sc_cv_have_libcrypto) + fi + + if test -n "$WITH_FIPS"; then + if test "$sc_cv_have_openssl_fips_h" = 'yes' -a "$sc_cv_have_libcrypto" = 'yes'; then +- AC_DEFINE(WITH_FIPS) +- AC_DEFINE(OPENSSL_FIPS) ++ AC_DEFINE(WITH_FIPS, [1], [With fips]) ++ AC_DEFINE(OPENSSL_FIPS, [1], [openssl fips]) + else + AC_MSG_WARN([not all components of OpenSSL FIPS found, disabling it]); + fi +@@ -637,17 +637,17 @@ + fi + # + if test -n "$WITH_TUN"; then +- AC_DEFINE(WITH_TUN) ++ AC_DEFINE(WITH_TUN, [1], [with tun]) + fi + + AC_MSG_CHECKING(whether to include system call tracing) + AC_ARG_ENABLE(sycls, [ --disable-sycls disable system call tracing], + [case "$enableval" in + no) SYCLS=""; SSLCLS=""; AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_SYCLS) ++ *) AC_DEFINE(WITH_SYCLS, [1], [syscls]) + SYCLS="sycls.c"; SSLCLS="sslcls.c"; AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_SYCLS) ++ [AC_DEFINE(WITH_SYCLS, [1], [syscls]) + SYCLS="sycls.c"; SSLCLS="sslcls.c"; AC_MSG_RESULT(yes)]) + AC_SUBST(SYCLS) + AC_SUBST(SSLCLS) +@@ -656,31 +656,31 @@ + AC_ARG_ENABLE(filan, [ --disable-filan disable file descriptor analyzer], + [case "$enableval" in + no) FILAN=""; AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_FILAN) FILAN="filan.c"; AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_FILAN, [1], [filan]) FILAN="filan.c"; AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_FILAN) FILAN="filan.c"; AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_FILAN, [1], [filan]) FILAN="filan.c"; AC_MSG_RESULT(yes)]) + AC_SUBST(FILAN) + + AC_MSG_CHECKING(whether to include retry support) + AC_ARG_ENABLE(retry, [ --disable-retry disable retry support], + [case "$enableval" in + no) AC_MSG_RESULT(no);; +- *) AC_DEFINE(WITH_RETRY) AC_MSG_RESULT(yes);; ++ *) AC_DEFINE(WITH_RETRY, [1], [retry]) AC_MSG_RESULT(yes);; + esac], +- [AC_DEFINE(WITH_RETRY) AC_MSG_RESULT(yes)]) ++ [AC_DEFINE(WITH_RETRY, [1], [retry]) AC_MSG_RESULT(yes)]) + + AC_MSG_CHECKING(included message level) + AC_ARG_ENABLE(msglevel, [ --enable-msglevel=N set max verbosity to debug,info,notice,warn,error,fatal], + [case "$enableval" in +- debug) AC_DEFINE(WITH_MSGLEVEL,0) AC_MSG_RESULT(debug);; +- info) AC_DEFINE(WITH_MSGLEVEL,1) AC_MSG_RESULT(info);; +- notice) AC_DEFINE(WITH_MSGLEVEL,2) AC_MSG_RESULT(notice);; +- warn) AC_DEFINE(WITH_MSGLEVEL,3) AC_MSG_RESULT(warn);; +- error) AC_DEFINE(WITH_MSGLEVEL,4) AC_MSG_RESULT(error);; +- fatal) AC_DEFINE(WITH_MSGLEVEL,5) AC_MSG_RESULT(fatal);; +- *) AC_DEFINE(WITH_MSGLEVEL,0) AC_MSG_RESULT(debug);; ++ debug) AC_DEFINE(WITH_MSGLEVEL,0, [msglevel]) AC_MSG_RESULT(debug);; ++ info) AC_DEFINE(WITH_MSGLEVEL,1, [msglevel]) AC_MSG_RESULT(info);; ++ notice) AC_DEFINE(WITH_MSGLEVEL,2, [msglevel]) AC_MSG_RESULT(notice);; ++ warn) AC_DEFINE(WITH_MSGLEVEL,3, [msglevel]) AC_MSG_RESULT(warn);; ++ error) AC_DEFINE(WITH_MSGLEVEL,4, [msglevel]) AC_MSG_RESULT(error);; ++ fatal) AC_DEFINE(WITH_MSGLEVEL,5, [msglevel]) AC_MSG_RESULT(fatal);; ++ *) AC_DEFINE(WITH_MSGLEVEL,0, [msglevel]) AC_MSG_RESULT(debug);; + esac], +- [AC_DEFINE(WITH_MSGLEVEL,0) AC_MSG_RESULT(debug)]) ++ [AC_DEFINE(WITH_MSGLEVEL,0, [msglevel]) AC_MSG_RESULT(debug)]) + + #AC_SUBST(V_INCL) + +@@ -697,7 +697,7 @@ + AC_HEADER_TIME + + dnl Check for extra realtime library (for Solaris) +-AC_CHECK_FUNC(nanosleep, AC_DEFINE(HAVE_NANOSLEEP), AC_CHECK_LIB(rt, nanosleep, [LIBS="-lrt $LIBS"; AC_DEFINE(HAVE_NANOSLEEP)])) ++AC_CHECK_FUNC(nanosleep, AC_DEFINE(HAVE_NANOSLEEP, [1], [have nanosleep]), AC_CHECK_LIB(rt, nanosleep, [LIBS="-lrt $LIBS"; AC_DEFINE(HAVE_NANOSLEEP, [1], [have nanosleep])])) + #AC_CHECK_FUNC(nanosleep, , AC_CHECK_LIB(rt, nanosleep)) + + dnl Checks for library functions. +@@ -719,7 +719,7 @@ + [sc_cv_type_longlong=yes], + [sc_cv_type_longlong=no])]) + if test $sc_cv_type_longlong = yes; then +- AC_DEFINE(HAVE_TYPE_LONGLONG) ++ AC_DEFINE(HAVE_TYPE_LONGLONG, [1], [have type long long]) + fi + AC_MSG_RESULT($sc_cv_type_longlong) + +@@ -735,7 +735,7 @@ + [sc_cv_type_socklen=yes], + [sc_cv_type_socklen=no])]) + if test $sc_cv_type_socklen = yes; then +- AC_DEFINE(HAVE_TYPE_SOCKLEN) ++ AC_DEFINE(HAVE_TYPE_SOCKLEN, [1], [Has Socklen]) + fi + AC_MSG_RESULT($sc_cv_type_socklen) + +@@ -745,7 +745,7 @@ + [sc_cv_type_stat64=yes], + [sc_cv_type_stat64=no])]) + if test $sc_cv_type_stat64 = yes; then +- AC_DEFINE(HAVE_TYPE_STAT64) ++ AC_DEFINE(HAVE_TYPE_STAT64, [1], [Has stat64]) + fi + AC_MSG_RESULT($sc_cv_type_stat64) + +@@ -755,7 +755,7 @@ + [sc_cv_type_off64=yes], + [sc_cv_type_off64=no])]) + if test $sc_cv_type_off64 = yes; then +- AC_DEFINE(HAVE_TYPE_OFF64) ++ AC_DEFINE(HAVE_TYPE_OFF64, [1], [have off64]) + fi + AC_MSG_RESULT($sc_cv_type_off64) + +@@ -765,7 +765,7 @@ + [sc_cv_type_sighandler=yes], + [sc_cv_type_sighandler=no])]) + if test $sc_cv_type_sighandler = yes; then +- AC_DEFINE(HAVE_TYPE_SIGHANDLER) ++ AC_DEFINE(HAVE_TYPE_SIGHANDLER, [1], [have type sighandler]) + fi + AC_MSG_RESULT($sc_cv_type_socklen) + +@@ -783,7 +783,7 @@ + [sc_cv_type_uint8=yes], + [sc_cv_type_uint8=no])]) + if test $sc_cv_type_uint8 = yes; then +- AC_DEFINE(HAVE_TYPE_UINT8) ++ AC_DEFINE(HAVE_TYPE_UINT8, [1], [have uint8]) + fi + AC_MSG_RESULT($sc_cv_type_uint8) + +@@ -801,7 +801,7 @@ + [sc_cv_type_uint16=yes], + [sc_cv_type_uint16=no])]) + if test $sc_cv_type_uint16 = yes; then +- AC_DEFINE(HAVE_TYPE_UINT16) ++ AC_DEFINE(HAVE_TYPE_UINT16, [1], [have uint16t]) + fi + AC_MSG_RESULT($sc_cv_type_uint16) + +@@ -819,7 +819,7 @@ + [sc_cv_type_uint32=yes], + [sc_cv_type_uint32=no])]) + if test $sc_cv_type_uint32 = yes; then +- AC_DEFINE(HAVE_TYPE_UINT32) ++ AC_DEFINE(HAVE_TYPE_UINT32, [1], [have uint32]) + fi + AC_MSG_RESULT($sc_cv_type_uint32) + +@@ -837,7 +837,7 @@ + [sc_cv_type_uint64=yes], + [sc_cv_type_uint64=no])]) + if test $sc_cv_type_uint64 = yes; then +- AC_DEFINE(HAVE_TYPE_UINT64) ++ AC_DEFINE(HAVE_TYPE_UINT64, [1], [have uint64] ) + fi + AC_MSG_RESULT($sc_cv_type_uint64) + +@@ -859,7 +859,7 @@ + #include + #endif], + [fd_set s; s.fds_bits[0]=0;], +-[AC_MSG_RESULT(yes); AC_DEFINE(HAVE_FDS_BITS)], ++[AC_MSG_RESULT(yes); AC_DEFINE(HAVE_FDS_BITS, [1], [have fds bits])], + [AC_MSG_RESULT(no);]) + + AC_MSG_CHECKING(for sa_family_t) +@@ -870,7 +870,7 @@ + [sc_cv_type_sa_family_t=yes], + [sc_cv_type_sa_family_t=no])]) + if test $sc_cv_type_sa_family_t = yes; then +- AC_DEFINE(HAVE_TYPE_SA_FAMILY_T) ++ AC_DEFINE(HAVE_TYPE_SA_FAMILY_T, [1], [have sa family_t type]) + fi + AC_MSG_RESULT($sc_cv_type_sa_family_t) + +@@ -880,7 +880,7 @@ + [sc_cv_struct_sigaction_sa_sigaction=yes], + [sc_cv_struct_sigaction_sa_sigaction=no])]) + if test $sc_cv_struct_sigaction_sa_sigaction = yes; then +- AC_DEFINE(HAVE_STRUCT_SIGACTION_SA_SIGACTION) ++ AC_DEFINE(HAVE_STRUCT_SIGACTION_SA_SIGACTION, [1], [sigaction]) + fi + AC_MSG_RESULT($sc_cv_struct_sigaction_sa_sigaction) + +@@ -888,11 +888,11 @@ + AC_MSG_CHECKING(for termios.c_ispeed) + AC_CACHE_VAL(sc_cv_termios_ispeed, + [AC_TRY_COMPILE([#include ], +-[struct termios t; t.c_ispeed=0;], ++[struct termios t; t.c_ispeed=ISPEED_OFFSET; t.c_ospeed=OSPEED_OFFSET;], + [sc_cv_termios_ispeed=yes], + [sc_cv_termios_ispeed=no])]) + if test $sc_cv_termios_ispeed = yes; then +- AC_DEFINE(HAVE_TERMIOS_ISPEED) ++ AC_DEFINE(HAVE_TERMIOS_ISPEED, [1], [have ispeed]) + fi + AC_MSG_RESULT($sc_cv_termios_ispeed) + +@@ -923,7 +923,7 @@ + LIBS="$LIBS1" + AC_MSG_RESULT($ac_cv_ispeed_offset) + if test $ac_cv_ispeed_offset -ge 0; then +- AC_DEFINE_UNQUOTED(ISPEED_OFFSET, $ac_cv_ispeed_offset) ++ AC_DEFINE_UNQUOTED(ISPEED_OFFSET, $ac_cv_ispeed_offset, [have ispeed]) + fi + fi + +@@ -942,7 +942,7 @@ + )] + )]) + if test $ac_cv_svid3 = yes; then +- AC_DEFINE(_SVID3) ++ AC_DEFINE(_SVID3, [1], [svid3]) + fi + AC_MSG_RESULT($ac_cv_svid3) + +@@ -957,7 +957,7 @@ + [sc_cv_struct_timespec=yes], + [sc_cv_struct_timespec=no])]) + if test $sc_cv_struct_timespec = yes; then +- AC_DEFINE(HAVE_STRUCT_TIMESPEC) ++ AC_DEFINE(HAVE_STRUCT_TIMESPEC, [1], [struct timespec]) + fi + AC_MSG_RESULT($sc_cv_struct_timespec) + +@@ -970,7 +970,7 @@ + [sc_cv_struct_linger=yes], + [sc_cv_struct_linger=no])]) + if test $sc_cv_struct_linger = yes; then +- AC_DEFINE(HAVE_STRUCT_LINGER) ++ AC_DEFINE(HAVE_STRUCT_LINGER, [1], [struct linger]) + fi + AC_MSG_RESULT($sc_cv_struct_linger) + +@@ -984,7 +984,7 @@ + [sc_cv_struct_ip_mreq=yes], + [sc_cv_struct_ip_mreq=no])]) + if test $sc_cv_struct_ip_mreq = yes; then +- AC_DEFINE(HAVE_STRUCT_IP_MREQ) ++ AC_DEFINE(HAVE_STRUCT_IP_MREQ, [1], [have struct ip mreq]) + fi + AC_MSG_RESULT($sc_cv_struct_ip_mreq) + +@@ -997,7 +997,7 @@ + [sc_cv_struct_ip_mreqn=yes], + [sc_cv_struct_ip_mreqn=no])]) + if test $sc_cv_struct_ip_mreqn = yes; then +- AC_DEFINE(HAVE_STRUCT_IP_MREQN) ++ AC_DEFINE(HAVE_STRUCT_IP_MREQN, [1], [have struct ip mreqn]) + fi + AC_MSG_RESULT($sc_cv_struct_ip_mreqn) + +@@ -1010,7 +1010,7 @@ + [sc_cv_struct_ipv6_mreq=yes], + [sc_cv_struct_ipv6_mreq=no])]) + if test $sc_cv_struct_ipv6_mreq = yes; then +- AC_DEFINE(HAVE_STRUCT_IPV6_MREQ) ++ AC_DEFINE(HAVE_STRUCT_IPV6_MREQ, [1], [have struct ipv5 mreq]) + fi + AC_MSG_RESULT($sc_cv_struct_ipv6_mreq) + +@@ -1024,7 +1024,7 @@ + [sc_cv_struct_ifreq=yes], + [sc_cv_struct_ifreq=no])]) + if test $sc_cv_struct_ifreq = yes; then +- AC_DEFINE(HAVE_STRUCT_IFREQ) ++ AC_DEFINE(HAVE_STRUCT_IFREQ, [1], [have struct ifreq]) + fi + AC_MSG_RESULT($sc_cv_struct_ifreq) + +@@ -1039,7 +1039,7 @@ + [sc_cv_struct_ifreq_ifr_index=yes], + [sc_cv_struct_ifreq_ifr_index=no])]) + if test $sc_cv_struct_ifreq_ifr_index = yes; then +- AC_DEFINE(HAVE_STRUCT_IFREQ_IFR_INDEX) ++ AC_DEFINE(HAVE_STRUCT_IFREQ_IFR_INDEX, [1], [have struct ifreq ifr]) + fi + AC_MSG_RESULT($sc_cv_struct_ifreq_ifr_index) + +@@ -1054,7 +1054,7 @@ + [sc_cv_struct_ifreq_ifr_ifindex=yes], + [sc_cv_struct_ifreq_ifr_ifindex=no])]) + if test $sc_cv_struct_ifreq_ifr_ifindex = yes; then +- AC_DEFINE(HAVE_STRUCT_IFREQ_IFR_IFINDEX) ++ AC_DEFINE(HAVE_STRUCT_IFREQ_IFR_IFINDEX, [1], [have struct ifreq ifindex]) + fi + AC_MSG_RESULT($sc_cv_struct_ifreq_ifr_ifindex) + +@@ -1069,7 +1069,7 @@ + [sc_cv_struct_sockaddr_salen=yes], + [sc_cv_struct_sockaddr_salen=no])]) + if test $sc_cv_struct_sockaddr_salen = yes; then +- AC_DEFINE(HAVE_STRUCT_SOCKADDR_SALEN) ++ AC_DEFINE(HAVE_STRUCT_SOCKADDR_SALEN, [1], [sockaddr salen]) + fi + AC_MSG_RESULT($sc_cv_struct_sockaddr_salen) + +@@ -1080,31 +1080,31 @@ + #include ], + [struct sockaddr_in6 sa6;sa6.sin6_addr.s6_addr[0]=0;], + [AC_MSG_RESULT(s6_addr); +- AC_DEFINE(HAVE_IP6_SOCKADDR, 0)], ++ AC_DEFINE(HAVE_IP6_SOCKADDR, 0, [ip6 sockaddr])], + [AC_TRY_COMPILE([#include + #include ], + [struct sockaddr_in6 sa6;sa6.sin6_addr.u6_addr.u6_addr16[0]=0;], + [AC_MSG_RESULT(u6_addr.u6_addr16); +- AC_DEFINE(HAVE_IP6_SOCKADDR, 1)], ++ AC_DEFINE(HAVE_IP6_SOCKADDR, 1, [ip6 sockaddr])], + [AC_TRY_COMPILE([#include + #include ], + [struct sockaddr_in6 sa6;sa6.sin6_addr.u6_addr16[0]=0;], +- [AC_MSG_RESULT(u6_addr16); AC_DEFINE(HAVE_IP6_SOCKADDR, 2)], ++ [AC_MSG_RESULT(u6_addr16); AC_DEFINE(HAVE_IP6_SOCKADDR, 2, [ip6 sockaddr])], + [AC_TRY_COMPILE([#include + #include ], + [struct sockaddr_in6 sa6;sa6.sin6_addr.in6_u.u6_addr16[0]=0;], + [AC_MSG_RESULT(in6_u.u6_addr16); +- AC_DEFINE(HAVE_IP6_SOCKADDR, 3)], ++ AC_DEFINE(HAVE_IP6_SOCKADDR, 3, [ip6 sockaddr])], + [AC_TRY_COMPILE([#include + #include ], + [struct sockaddr_in6 sa6;sa6.sin6_addr._S6_un._S6_u32[0]=0;], + [AC_MSG_RESULT(_S6_un._S6_u32); +- AC_DEFINE(HAVE_IP6_SOCKADDR, 4)], ++ AC_DEFINE(HAVE_IP6_SOCKADDR, 4, [ip6 sockaddr])], + [AC_TRY_COMPILE([#include + #include ], + [struct sockaddr_in6 sa6;sa6.sin6_addr.__u6_addr.__u6_addr32[0]=0;], + [AC_MSG_RESULT(__u6_addr.__u6_addr32); +- AC_DEFINE(HAVE_IP6_SOCKADDR, 5)], ++ AC_DEFINE(HAVE_IP6_SOCKADDR, 5, [ip6 sockaddr])], + + [AC_MSG_RESULT([none or unknown])] + )])])])])]) +@@ -1116,7 +1116,7 @@ + [sc_cv_struct_iovec=yes], + [sc_cv_struct_iovec=no])]) + if test $sc_cv_struct_iovec = yes; then +- AC_DEFINE(HAVE_STRUCT_IOVEC) ++ AC_DEFINE(HAVE_STRUCT_IOVEC, [1], [have struct iovec]) + fi + AC_MSG_RESULT($sc_cv_struct_iovec) + +@@ -1129,7 +1129,7 @@ + [sc_cv_struct_msghdr_msgcontrol=yes], + [sc_cv_struct_msghdr_msgcontrol=no])]) + if test $sc_cv_struct_msghdr_msgcontrol = yes; then +- AC_DEFINE(HAVE_STRUCT_MSGHDR_MSGCONTROL) ++ AC_DEFINE(HAVE_STRUCT_MSGHDR_MSGCONTROL, [1], [have struct msgcontrol]) + fi + AC_MSG_RESULT($sc_cv_struct_msghdr_msgcontrol) + +@@ -1142,7 +1142,7 @@ + [sc_cv_struct_msghdr_msgcontrollen=yes], + [sc_cv_struct_msghdr_msgcontrollen=no])]) + if test $sc_cv_struct_msghdr_msgcontrollen = yes; then +- AC_DEFINE(HAVE_STRUCT_MSGHDR_MSGCONTROLLEN) ++ AC_DEFINE(HAVE_STRUCT_MSGHDR_MSGCONTROLLEN, [1], [have struct msghdr msgcontrollen]) + fi + AC_MSG_RESULT($sc_cv_struct_msghdr_msgcontrollen) + +@@ -1155,7 +1155,7 @@ + [sc_cv_struct_msghdr_msgflags=yes], + [sc_cv_struct_msghdr_msgflags=no])]) + if test $sc_cv_struct_msghdr_msgflags = yes; then +- AC_DEFINE(HAVE_STRUCT_MSGHDR_MSGFLAGS) ++ AC_DEFINE(HAVE_STRUCT_MSGHDR_MSGFLAGS, [1], [msgflags]) + fi + AC_MSG_RESULT($sc_cv_struct_msghdr_msgflags) + +@@ -1168,7 +1168,7 @@ + [sc_cv_struct_cmsghdr=yes], + [sc_cv_struct_cmsghdr=no])]) + if test $sc_cv_struct_cmsghdr = yes; then +- AC_DEFINE(HAVE_STRUCT_CMSGHDR) ++ AC_DEFINE(HAVE_STRUCT_CMSGHDR, [1], [have cmshdr]) + fi + AC_MSG_RESULT($sc_cv_struct_cmsghdr) + +@@ -1181,7 +1181,7 @@ + [sc_cv_struct_in_pktinfo=yes], + [sc_cv_struct_in_pktinfo=no])]) + if test $sc_cv_struct_in_pktinfo = yes; then +- AC_DEFINE(HAVE_STRUCT_IN_PKTINFO) ++ AC_DEFINE(HAVE_STRUCT_IN_PKTINFO, [1], [pktinfo]) + fi + AC_MSG_RESULT($sc_cv_struct_in_pktinfo) + +@@ -1211,7 +1211,7 @@ + [sc_cv_struct_ip_ip_hl=yes], + [sc_cv_struct_ip_ip_hl=no])]) + if test $sc_cv_struct_ip_ip_hl = yes; then +- AC_DEFINE(HAVE_STRUCT_IP_IP_HL) ++ AC_DEFINE(HAVE_STRUCT_IP_IP_HL, [1], [foo]) + fi + AC_MSG_RESULT($sc_cv_struct_ip_ip_hl) + +@@ -1219,19 +1219,19 @@ + dnl Library function checks + + dnl Check sigaction() +-AC_CHECK_FUNC(sigaction, AC_DEFINE(HAVE_SIGACTION)) ++AC_CHECK_FUNC(sigaction, AC_DEFINE(HAVE_SIGACTION, [1], [foo])) + + dnl Check for 64bit versions of system calls +-AC_CHECK_FUNC(stat64, AC_DEFINE(HAVE_STAT64)) +-AC_CHECK_FUNC(fstat64, AC_DEFINE(HAVE_FSTAT64)) +-AC_CHECK_FUNC(lstat64, AC_DEFINE(HAVE_LSTAT64)) +-AC_CHECK_FUNC(lseek64, AC_DEFINE(HAVE_LSEEK64)) +-AC_CHECK_FUNC(truncate64, AC_DEFINE(HAVE_TRUNCATE64)) +-AC_CHECK_FUNC(ftruncate64, AC_DEFINE(HAVE_FTRUNCATE64)) +- +-AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL)) +-AC_CHECK_FUNC(hstrerror, AC_DEFINE(HAVE_HSTRERROR)) +-AC_CHECK_FUNC(inet_ntop, AC_DEFINE(HAVE_INET_NTOP)) ++AC_CHECK_FUNC(stat64, AC_DEFINE(HAVE_STAT64, [1], [foo])) ++AC_CHECK_FUNC(fstat64, AC_DEFINE(HAVE_FSTAT64, [1], [foo])) ++AC_CHECK_FUNC(lstat64, AC_DEFINE(HAVE_LSTAT64, [1], [foo])) ++AC_CHECK_FUNC(lseek64, AC_DEFINE(HAVE_LSEEK64, [1], [foo])) ++AC_CHECK_FUNC(truncate64, AC_DEFINE(HAVE_TRUNCATE64, [1], [foo])) ++AC_CHECK_FUNC(ftruncate64, AC_DEFINE(HAVE_FTRUNCATE64, [1], [foo])) ++ ++AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL, [1], [foo])) ++AC_CHECK_FUNC(hstrerror, AC_DEFINE(HAVE_HSTRERROR, [1], [foo])) ++AC_CHECK_FUNC(inet_ntop, AC_DEFINE(HAVE_INET_NTOP, [1], [foo])) + + #if test "$ac_cv_func_hstrerror" = "yes"; then + # AC_MSG_CHECKING(if _XOPEN_SOURCE_EXTENDED is helpful) +@@ -1254,25 +1254,26 @@ + + dnl Search for openpty() + # MacOS +-AC_CHECK_FUNC(openpty, AC_DEFINE(HAVE_OPENPTY)) ++AC_CHECK_FUNC(openpty, AC_DEFINE(HAVE_OPENPTY, [1], [foo])) + # AIX + AC_CHECK_LIB(bsd, openpty, +- [LIBS="-lbsd $LIBS"; AC_DEFINE(HAVE_OPENPTY)]) ++ [LIBS="-lbsd $LIBS"; AC_DEFINE(HAVE_OPENPTY, [1], [foo])]) + # Linux 2.4 + AC_CHECK_LIB(util, openpty, +- [LIBS="-lutil $LIBS"; AC_DEFINE(HAVE_OPENPTY)]) ++ [LIBS="-lutil $LIBS"; AC_DEFINE(HAVE_OPENPTY, [1], [foo])]) ++ + + dnl Search for flock() + # with Linux it's in libc, with AIX in libbsd +-AC_CHECK_FUNC(flock, AC_DEFINE(HAVE_FLOCK), ++AC_CHECK_FUNC(flock, AC_DEFINE(HAVE_FLOCK, [1], [have flock]), + AC_CHECK_LIB(bsd, flock, [LIBS="-lbsd $LIBS"])) + + dnl Search for setenv() +-AC_CHECK_FUNC(setenv, AC_DEFINE(HAVE_SETENV), ++AC_CHECK_FUNC(setenv, AC_DEFINE(HAVE_SETENV, [1], [have setenv]), + AC_CHECK_LIB(isode, setenv, [LIBS="-lisode $LIBS"])) + + dnl Search for unsetenv() +-AC_CHECK_FUNC(unsetenv, AC_DEFINE(HAVE_UNSETENV)) ++AC_CHECK_FUNC(unsetenv, AC_DEFINE(HAVE_UNSETENV, [1], [have unsetenv])) + + dnl Search for SSLv2_client_method, SSLv2_server_method + AC_CHECK_FUNC(SSLv3_client_method, AC_DEFINE(HAVE_SSLv3_client_method), AC_CHECK_LIB(crypt, SSLv3_client_method, [LIBS=-lcrypt $LIBS])) +@@ -1295,7 +1296,7 @@ + [ac_cv_have_z_modifier=no], + [ac_cv_have_z_modifier=no])]) + if test $ac_cv_have_z_modifier = yes; then +- AC_DEFINE(HAVE_FORMAT_Z) ++ AC_DEFINE(HAVE_FORMAT_Z, [1], [have format z]) + fi + AC_MSG_RESULT($ac_cv_have_z_modifier) + +@@ -1334,7 +1335,8 @@ + [$2=-1] + ) + LIBS="$LIBS1"]) +-AC_DEFINE_UNQUOTED($1_SHIFT, ${$2}) ++SHIFT_NAME="$1"_SHIFT ++AC_DEFINE_UNQUOTED($SHIFT_NAME, ${$2}, [foo]) + if test "$2" = -1; then + AC_MSG_WARN(please determine $1_SHIFT manually) + fi +@@ -1374,7 +1376,7 @@ + [$4="0 /* unknown, taking default */" + ]) ]) ]) ]) ]) ]) ]) ]) + CFLAGS="$CFLAGS1" ]) +-AC_DEFINE_UNQUOTED($3, ${$4}) ++AC_DEFINE_UNQUOTED($3, ${$4}, [foo]) + ]) + + dnl find what physical type (basic C type) describes the given struct or union +@@ -1406,7 +1408,7 @@ + [$5="0 /* unknown, taking default */" + ]) ]) ]) ]) ]) ]) ]) ]) + CFLAGS="$CFLAGS1" ]) +-AC_DEFINE_UNQUOTED($4, ${$5}) ++AC_DEFINE_UNQUOTED($4, ${$5}, [foo]) + ]) + + AC_BASIC_TYPE([#include ], size_t, HAVE_BASIC_SIZE_T, sc_cv_type_sizet_basic) +@@ -1465,13 +1467,13 @@ + + AC_MSG_CHECKING(for /dev/ptmx) + if test -c /dev/ptmx; then +- AC_DEFINE(HAVE_DEV_PTMX, 1) ++ AC_DEFINE(HAVE_DEV_PTMX, 1, [ptmx]) + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + AC_MSG_CHECKING(for /dev/ptc) + if test -c /dev/ptc; then +- AC_DEFINE(HAVE_DEV_PTC) ++ AC_DEFINE(HAVE_DEV_PTC, 1, [ptc]) + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) +@@ -1480,7 +1482,7 @@ + + AC_MSG_CHECKING(for /proc) + if test -d /proc; then +- AC_DEFINE(HAVE_PROC_DIR, 1) ++ AC_DEFINE(HAVE_PROC_DIR, 1, [procdir]) + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) +@@ -1488,7 +1490,7 @@ + + AC_MSG_CHECKING(for /proc/*/fd) + if test -d /proc/$$/fd; then +- AC_DEFINE(HAVE_PROC_DIR_FD, 1) ++ AC_DEFINE(HAVE_PROC_DIR_FD, 1, [procdir fd]) + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) +@@ -1528,7 +1530,7 @@ + done]) + ]) + if test "$sc_cv_have_tcpd_h" = "yes"; then +- AC_DEFINE(HAVE_TCPD_H) ++ AC_DEFINE(HAVE_TCPD_H, [1], [have tcpd]) + fi + AC_MSG_NOTICE(checked for tcpd.h... $sc_cv_have_tcpd_h) + fi # end checking for tcpd.h +@@ -1561,14 +1563,14 @@ + ] + ) + if test "$sc_cv_have_libwrap" = 'yes'; then +- AC_DEFINE(HAVE_LIBWRAP) ++ AC_DEFINE(HAVE_LIBWRAP, [1], [libwrap]) + fi + AC_MSG_RESULT($sc_cv_have_libwrap) + fi + # + if test -n "$WITH_LIBWRAP"; then + if test "$sc_cv_have_tcpd_h" = "yes" -a "$sc_cv_have_libwrap" = "yes"; then +- AC_DEFINE(WITH_LIBWRAP) ++ AC_DEFINE(WITH_LIBWRAP, [1], [libwrap]) + else + AC_MSG_WARN([not all components of tcp wrappers found, disabling it]); + fi +@@ -1583,7 +1585,7 @@ + [sc_cv_have_hosts_allow_table=yes], + [sc_cv_have_hosts_allow_table=no])]) + if test $sc_cv_have_hosts_allow_table = yes; then +- AC_DEFINE(HAVE_HOSTS_ALLOW_TABLE) ++ AC_DEFINE(HAVE_HOSTS_ALLOW_TABLE, [1], [hosts allow table]) + fi + AC_MSG_RESULT($sc_cv_have_hosts_allow_table) + fi # test -n "$WITH_LIBWRAP" diff --git a/recipes-extra/socat/socat_1.7.2.0.bb b/recipes-extra/socat/socat_1.7.2.0.bb new file mode 100644 index 0000000000..1273dcf0f2 --- /dev/null +++ b/recipes-extra/socat/socat_1.7.2.0.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Socat is a relay for bidirectional data \ +transfer between two independent data channels." +HOMEPAGE = "http://www.dest-unreach.org/socat/" + +SECTION = "console/network" + +DEPENDS = "openssl" + +LICENSE = "GPL-2.0+-with-OpenSSL-exception" + +PR = "r0" +SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2;name=src \ + file://compile.patch" + +LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760 \ + file://README;beginline=252;endline=282;md5=79246f11a1db0b6ccec54d1fb711c01e" + +SRC_URI[src.md5sum] = "eb563dd00b9d39a49fb62a677fc941fe" +SRC_URI[src.sha256sum] = "59b3bde927c14fbc3f9e42c782971710da8a89bbf46f7531f09a681754041802" + +EXTRA_OECONF = " --disable-termios " + +inherit autotools + +do_install_prepend () { + mkdir -p ${D}${bindir} + install -d ${D}${bindir} ${D}${mandir}/man1 +} From 910852c05279b1d88f1fe5a0cc6145f28bc93424 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 30 May 2012 19:49:47 +0800 Subject: [PATCH 017/908] linux-sysmocom: Be more specific about the license of linux --- recipes-bsp/linux/linux-sysmocom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom.inc b/recipes-bsp/linux/linux-sysmocom.inc index ad478b8cbd..0aea7c20bd 100644 --- a/recipes-bsp/linux/linux-sysmocom.inc +++ b/recipes-bsp/linux/linux-sysmocom.inc @@ -1,6 +1,6 @@ DESCRIPTION = "sysmocom Kernel" SECTION = "kernel" -LICENSE = "GPL" +LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" From 5508643b52093b039374617dfe62c05e6e6ef857 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 30 May 2012 19:51:47 +0800 Subject: [PATCH 018/908] wget: Be more specific about the version of GPL --- recipes-extra/wget/wget.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extra/wget/wget.inc b/recipes-extra/wget/wget.inc index 25f36c80c4..450d5193c0 100644 --- a/recipes-extra/wget/wget.inc +++ b/recipes-extra/wget/wget.inc @@ -1,6 +1,6 @@ DESCRIPTION = "A console URL download utility featuring HTTP, FTP, and more." SECTION = "console/network" -LICENSE = "GPL" +LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" DEPENDS = "openssl" From a3c1f025573180c9de3f849d029bef2cf8c310cd Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 1 Jun 2012 16:44:35 +0200 Subject: [PATCH 019/908] import ntp recipe from OE (we need ntpdate) --- recipes-bsp/ntp/files/ntp | 31 +++++++++ recipes-bsp/ntp/files/ntp-4.2.4_p6-nano.patch | 17 +++++ recipes-bsp/ntp/files/ntp.conf | 14 +++++ recipes-bsp/ntp/files/ntpd | 62 ++++++++++++++++++ recipes-bsp/ntp/files/ntpd.service | 11 ++++ recipes-bsp/ntp/files/ntpdate | 49 +++++++++++++++ recipes-bsp/ntp/files/ntpdate.service | 11 ++++ recipes-bsp/ntp/files/tickadj.c.patch | 32 ++++++++++ recipes-bsp/ntp/ntp.inc | 35 +++++++++++ recipes-bsp/ntp/ntp_4.2.6p3.bb | 63 +++++++++++++++++++ 10 files changed, 325 insertions(+) create mode 100644 recipes-bsp/ntp/files/ntp create mode 100644 recipes-bsp/ntp/files/ntp-4.2.4_p6-nano.patch create mode 100644 recipes-bsp/ntp/files/ntp.conf create mode 100644 recipes-bsp/ntp/files/ntpd create mode 100644 recipes-bsp/ntp/files/ntpd.service create mode 100644 recipes-bsp/ntp/files/ntpdate create mode 100644 recipes-bsp/ntp/files/ntpdate.service create mode 100644 recipes-bsp/ntp/files/tickadj.c.patch create mode 100644 recipes-bsp/ntp/ntp.inc create mode 100644 recipes-bsp/ntp/ntp_4.2.6p3.bb diff --git a/recipes-bsp/ntp/files/ntp b/recipes-bsp/ntp/files/ntp new file mode 100644 index 0000000000..e91a52869a --- /dev/null +++ b/recipes-bsp/ntp/files/ntp @@ -0,0 +1,31 @@ +#! /bin/sh + +FLAGS="defaults 23" + +test -f /usr/bin/ntpd || exit 0 + +case "$1" in + start) + echo -n "Starting NTP server: ntpd" + start-stop-daemon --start --quiet --exec /usr/bin/ntpd + echo "." + ;; + stop) + echo -n "Stopping NTP server: ntpd" + start-stop-daemon --stop --quiet --exec /usr/bin/ntpd + echo "." + ;; + restart|force-reload) + echo -n "Restarting NTP server: ntpd... " + start-stop-daemon --stop --quiet --exec /usr/bin/ntpd + sleep 2 + start-stop-daemon --start --quiet --exec /usr/bin/ntpd + echo "done." + ;; + *) + echo "Usage: /etc/init.d/ntp {start|stop|restart|force-reload}" + exit 1 + ;; +esac + +exit 0 diff --git a/recipes-bsp/ntp/files/ntp-4.2.4_p6-nano.patch b/recipes-bsp/ntp/files/ntp-4.2.4_p6-nano.patch new file mode 100644 index 0000000000..cb1e2f7341 --- /dev/null +++ b/recipes-bsp/ntp/files/ntp-4.2.4_p6-nano.patch @@ -0,0 +1,17 @@ +--- a/include/ntp_syscall.h.orig 2009-05-19 16:44:55.048156467 -0400 ++++ b/include/ntp_syscall.h 2009-05-19 16:46:19.293323686 -0400 +@@ -14,6 +14,14 @@ + # include + #endif + ++#if defined(ADJ_NANO) && !defined(MOD_NANO) ++#define MOD_NANO ADJ_NANO ++#endif ++ ++#if defined(ADJ_TAI) && !defined(MOD_TAI) ++#define MOD_TAI ADJ_TAI ++#endif ++ + #ifndef NTP_SYSCALLS_LIBC + #ifdef NTP_SYSCALLS_STD + # define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t)) diff --git a/recipes-bsp/ntp/files/ntp.conf b/recipes-bsp/ntp/files/ntp.conf new file mode 100644 index 0000000000..bf52440ced --- /dev/null +++ b/recipes-bsp/ntp/files/ntp.conf @@ -0,0 +1,14 @@ +# This is the most basic ntp configuration file +# The driftfile must remain in a place specific to this +# machine - it records the machine specific clock error +driftfile /etc/ntp.drift +# This obtains a random server which will be close +# (in IP terms) to the machine. Add other servers +# as required, or change this. +server pool.ntp.org +# Using local hardware clock as fallback +# Disable this when using ntpd -q -g -x as ntpdate or it will sync to itself +server 127.127.1.0 +fudge 127.127.1.0 stratum 14 +# Defining a default security setting +restrict default diff --git a/recipes-bsp/ntp/files/ntpd b/recipes-bsp/ntp/files/ntpd new file mode 100644 index 0000000000..ae50f135d0 --- /dev/null +++ b/recipes-bsp/ntp/files/ntpd @@ -0,0 +1,62 @@ +#! /bin/sh +# +# ntpd init.d script for ntpdc from ntp.isc.org +test -x /usr/bin/ntpd -a -r /etc/ntp.conf || exit 0 +# rcS contains TICKADJ +test -r /etc/default/rcS && . /etc/default/rcS + +# Functions to do individual actions +settick(){ + # If TICKADJ is set we *must* adjust it before we start, because the + # driftfile relies on the correct setting + test -n "$TICKADJ" -a -x /usr/bin/tickadj && { + echo -n "Setting tick to $TICKADJ: " + /usr/bin/tickadj "$TICKADJ" + echo "done" + } +} +startdaemon(){ + # The -g option allows ntpd to step the time to correct it just + # once. The daemon will exit if the clock drifts too much after + # this. If ntpd seems to disappear after a while assume TICKADJ + # above is set to a totally incorrect value. + echo -n "Starting ntpd: " + start-stop-daemon --start -x /usr/bin/ntpd -- -p /var/run/ntp.pid "$@" + echo "done" +} +stopdaemon(){ + echo -n "Stopping ntpd: " + start-stop-daemon --stop -p /var/run/ntp.pid + echo "done" +} + +case "$1" in + start) + settick + startdaemon -g + ;; + stop) + stopdaemon + ;; + force-reload) + stopdaemon + settick + startdaemon -g + ;; + restart) + # Don't reset the tick here + stopdaemon + startdaemon -g + ;; + reload) + # Must do this by hand, but don't do -g + stopdaemon + startdaemon + ;; + *) + echo "Usage: ntpd { start | stop | restart | reload }" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/recipes-bsp/ntp/files/ntpd.service b/recipes-bsp/ntp/files/ntpd.service new file mode 100644 index 0000000000..bd87b1ea24 --- /dev/null +++ b/recipes-bsp/ntp/files/ntpd.service @@ -0,0 +1,11 @@ +[Unit] +Description=Network Time Service +After=network.target + +[Service] +Type=forking +PIDFile=/run/ntpd.pid +ExecStart=/usr/bin/ntpd -p /run/ntpd.pid + +[Install] +WantedBy=multi-user.target diff --git a/recipes-bsp/ntp/files/ntpdate b/recipes-bsp/ntp/files/ntpdate new file mode 100644 index 0000000000..784b029ad5 --- /dev/null +++ b/recipes-bsp/ntp/files/ntpdate @@ -0,0 +1,49 @@ +#!/bin/sh + +PATH=/sbin:/bin:/usr/bin + +test -x /usr/bin/ntpdate || exit 0 + +if test -f /etc/default/ntpdate ; then +. /etc/default/ntpdate +else +NTPSERVERS="pool.ntp.org" +fi + +test -n "$NTPSERVERS" || exit 0 + +# This is a heuristic: The idea is that if a static interface is brought +# up, that is a major event, and we can put in some extra effort to fix +# the system time. Feel free to change this, especially if you regularly +# bring up new network interfaces. +if [ "$METHOD" = static ]; then + OPTS="-b" +fi + +if [ "$METHOD" = loopback ]; then + exit 0 +fi + +( + +LOCKFILE=/var/lock/ntpdate + +# Avoid running more than one at a time +if [ -x /usr/bin/lockfile-create ]; then + lockfile-create $LOCKFILE + lockfile-touch $LOCKFILE & + LOCKTOUCHPID="$!" +fi + +if /usr/bin/ntpdate -s $OPTS $NTPSERVERS 2>/dev/null; then + if [ "$UPDATE_HWCLOCK" = "yes" ]; then + hwclock --systohc || : + fi +fi + +if [ -x /usr/bin/lockfile-create ] ; then + kill $LOCKTOUCHPID + lockfile-remove $LOCKFILE +fi + +) & diff --git a/recipes-bsp/ntp/files/ntpdate.service b/recipes-bsp/ntp/files/ntpdate.service new file mode 100644 index 0000000000..b2bc632069 --- /dev/null +++ b/recipes-bsp/ntp/files/ntpdate.service @@ -0,0 +1,11 @@ +[Unit] +Description=Network Time Service (one-shot ntpdate mode) +Before=ntpd.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/ntpd -q -g -x +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target diff --git a/recipes-bsp/ntp/files/tickadj.c.patch b/recipes-bsp/ntp/files/tickadj.c.patch new file mode 100644 index 0000000000..9ef9de9e1f --- /dev/null +++ b/recipes-bsp/ntp/files/tickadj.c.patch @@ -0,0 +1,32 @@ +Index: ntp-4.2.2p3-r0/ntp-4.2.2p3/util/tickadj.c +=================================================================== +--- ntp-4.2.2p3/util/tickadj.c 2004-02-25 06:58:33.000000000 +0100 ++++ ntp-4.2.2p3/util/tickadj.c 2007-07-07 01:00:54.000000000 +0200 +@@ -21,7 +21,8 @@ + # include + #endif /* HAVE_UNISTD_H */ + +-#ifdef HAVE___ADJTIMEX /* Linux */ ++/* proper handling here has been moved to upstream ntp bugzilla */ ++#ifdef linux + + #include + struct timex txc; +@@ -91,7 +92,7 @@ + } + + if (!errflg) { +- if (__adjtimex(&txc) < 0) ++ if (adjtimex(&txc) < 0) + perror("adjtimex"); + else if (!quiet) + printf("tick = %ld\ntick_adj = %d\n", +@@ -146,7 +147,7 @@ + #endif + } + +- if (__adjtimex(&txc) < 0) ++ if (adjtimex(&txc) < 0) + { + perror("adjtimex"); + } diff --git a/recipes-bsp/ntp/ntp.inc b/recipes-bsp/ntp/ntp.inc new file mode 100644 index 0000000000..1d740f00fb --- /dev/null +++ b/recipes-bsp/ntp/ntp.inc @@ -0,0 +1,35 @@ +DESCRIPTION = "The Network Time Protocol (NTP) is used to \ +synchronize the time of a computer client or server to \ +another server or reference time source, such as a radio \ +or satellite receiver or modem." +HOMEPAGE = "http://ntp.isc.org/bin/view/Main/WebHome" +SECTION = "console/network" +LICENSE = "ntp" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=fea4b50c33b18c2194b4b1c9ca512670" +RSUGGESTS_${PN} = "iana-etc" + +SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${P}.tar.gz \ + file://ipv6only-workaround.patch \ + file://ntpd \ + file://ntp.conf \ + file://ntpdate \ + file://ntpd.service \ +" + +inherit autotools update-rc.d + +INITSCRIPT_NAME = "ntpd" +# No dependencies, so just go in at the standard level (20) +INITSCRIPT_PARAMS = "defaults" + +# The ac_cv_header_readline_history is to stop ntpdc depending on either +# readline or curses +EXTRA_OECONF = "--without-openssl --without-crypto ac_cv_header_readline_history_h=no" +CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED" + +PACKAGES += "ntpdate ${PN}-bin ${PN}-tickadj ${PN}-utils" +# NOTE: you don't need ntpdate, use "ntpd -q -g -x" +# or the ntpdate systemd service + +# This should use rc.update +FILES_ntpdate = "${bindir}/ntpdate ${sysconfdir}/init.d/ntpdate" diff --git a/recipes-bsp/ntp/ntp_4.2.6p3.bb b/recipes-bsp/ntp/ntp_4.2.6p3.bb new file mode 100644 index 0000000000..487a28c475 --- /dev/null +++ b/recipes-bsp/ntp/ntp_4.2.6p3.bb @@ -0,0 +1,63 @@ +require ntp.inc + +PR = "r5" + +#inherit systemd + +#SYSTEMD_PACKAGES = "${PN}-systemd" +#SYSTEMD_SERVICE_${PN}-systemd = "ntpd.service" + +SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${P}.tar.gz \ + file://tickadj.c.patch \ + file://ntp-4.2.4_p6-nano.patch \ + file://ntpd \ + file://ntp.conf \ + file://ntpdate \ + file://ntpdate.service \ + file://ntpd.service \ +" + +SRC_URI[md5sum] = "59876a9009b098ff59767ee45a88ebd2" +SRC_URI[sha256sum] = "6e84d4ddfa14b911c3ed88463af10867e1fa9b287e7b34d8a02e78be85a7c40e" + +EXTRA_OECONF += " --with-net-snmp-config=no --without-ntpsnmpd" + +do_install_append() { + install -d ${D}/${sysconfdir}/init.d + install -m 644 ${WORKDIR}/ntp.conf ${D}/${sysconfdir} + install -m 755 ${WORKDIR}/ntpd ${D}/${sysconfdir}/init.d + install -d ${D}/${sysconfdir}/network/if-up.d + install -m 755 ${WORKDIR}/ntpdate ${D}/${sysconfdir}/network/if-up.d + + #install -d ${D}${systemd_unitdir}/system + #install -m 0644 ${WORKDIR}/ntpdate.service ${D}${systemd_unitdir}/system/ + #install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_unitdir}/system/ +} + +#PACKAGES =+ "${PN}-systemd" + +#FILES_${PN}-systemd = "${systemd_unitdir}/system/" +#RDEPENDS_${PN}-systemd = "${PN}" + +FILES_${PN}-bin = "${bindir}/ntp-wait ${bindir}/ntpdc ${bindir}/ntpq ${bindir}/ntptime ${bindir}/ntptrace" +FILES_${PN} = "${bindir}/ntpd ${sysconfdir}/ntp.conf ${sysconfdir}/init.d/ntpd" +FILES_${PN}-tickadj = "${bindir}/tickadj" +FILES_ntp-utils = "${bindir}/*" +FILES_ntpdate = "${bindir}/ntpdate ${sysconfdir}/network/if-up.d/ntpdate" + +# ntp originally includes tickadj. It's split off for inclusion in small firmware images on platforms +# with wonky clocks (e.g. OpenSlug) +RDEPENDS_${PN} = "${PN}-tickadj" + +pkg_postinst_ntpdate() { +if test "x$D" != "x"; then + exit 1 +else + if ! grep -q -s ntpdate /var/spool/cron/root; then + echo "adding crontab" + test -d /var/spool/cron || mkdir -p /var/spool/cron + echo "30 * * * * /usr/bin/ntpdate -b -s -u pool.ntp.org" >> /var/spool/cron/root + fi +fi +} + From df89bf00e7fb0db2d46a8ed20a3e517cd6b70053 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 2 Jun 2012 01:06:43 +0200 Subject: [PATCH 020/908] add ntpdate to task-sysmocom-tools --- recipes-apps/tasks/task-sysmocom-tools.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-apps/tasks/task-sysmocom-tools.bb b/recipes-apps/tasks/task-sysmocom-tools.bb index 0f170e5758..b3009a37b7 100644 --- a/recipes-apps/tasks/task-sysmocom-tools.bb +++ b/recipes-apps/tasks/task-sysmocom-tools.bb @@ -3,7 +3,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY = "1" -PR = "r5" +PR = "r6" RDEPENDS_task-sysmocom-tools = "\ lmsensors-scripts \ @@ -12,4 +12,5 @@ RDEPENDS_task-sysmocom-tools = "\ screen \ watchdog \ ethtool \ + ntpdate \ " From a79df5e6506b2b1fcd941860b80b8e631443b910 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 2 Jun 2012 01:08:10 +0200 Subject: [PATCH 021/908] update osmo-bts to include RF LED / rf_lock support --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index a404dae757..d127c6c1c9 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "b18f00f162e1b7b3f3583e151b8a2091932c8708" +SRCREV_osmobts = "799ea59c2feeb9fe7ea9e9c202376e973ffca711" SRCREV_openbsc = "46cb8514a5a60459214ddee776b37a422abb625e" PV = "0.0+git${SRCPV}" -PR = "r14" +PR = "r15" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From ce6f4b0bce5191552a9c29f47524ac96cf561c0b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 1 Jun 2012 09:19:45 +0200 Subject: [PATCH 022/908] update osmo-bts to recent git which adds RF ACTIVE LED support --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index a404dae757..d127c6c1c9 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "b18f00f162e1b7b3f3583e151b8a2091932c8708" +SRCREV_osmobts = "799ea59c2feeb9fe7ea9e9c202376e973ffca711" SRCREV_openbsc = "46cb8514a5a60459214ddee776b37a422abb625e" PV = "0.0+git${SRCPV}" -PR = "r14" +PR = "r15" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From 03c964369576aa5d6cae57a1f8720047778afa9a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 4 Jun 2012 05:59:41 +0800 Subject: [PATCH 023/908] watchdog: Let the machine provide the watchdog dependency Not every machine has a hardware watchog, let the machine decide if a watchdog should end up in every image. --- conf/machine/include/sysmobts.inc | 1 + recipes-apps/tasks/task-sysmocom-tools.bb | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index e6784328d5..616305acd4 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -19,6 +19,7 @@ MACHINE_FEATURES = "kernel26 serial" MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ busybox-ifplugd \ + watchdog \ kernel-module-davinci-wdt \ kernel-module-dspdl \ kernel-module-dspdl-dm644x \ diff --git a/recipes-apps/tasks/task-sysmocom-tools.bb b/recipes-apps/tasks/task-sysmocom-tools.bb index 0f170e5758..f3381bcf02 100644 --- a/recipes-apps/tasks/task-sysmocom-tools.bb +++ b/recipes-apps/tasks/task-sysmocom-tools.bb @@ -3,13 +3,12 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY = "1" -PR = "r5" +PR = "r6" RDEPENDS_task-sysmocom-tools = "\ lmsensors-scripts \ dropbear \ mtd-utils \ screen \ - watchdog \ ethtool \ " From c29b5d8bb4b222dc3f551029f7b15fd8ee1b0386 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 4 Jun 2012 07:20:39 +0800 Subject: [PATCH 024/908] pkgconfig: Place the pkg.m4 into the main package The pkg.m4 should be in the main package, the -dev package will attempt to pull in X11 header files and will require too much filesystem space. --- recipes-fixes/pkgconfig/pkgconfig_0.25.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 recipes-fixes/pkgconfig/pkgconfig_0.25.bbappend diff --git a/recipes-fixes/pkgconfig/pkgconfig_0.25.bbappend b/recipes-fixes/pkgconfig/pkgconfig_0.25.bbappend new file mode 100644 index 0000000000..d3fb34ebb7 --- /dev/null +++ b/recipes-fixes/pkgconfig/pkgconfig_0.25.bbappend @@ -0,0 +1,6 @@ +THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}-${PV}"], d)}:" + +PRINC="1" + +FILES_${PN} += " ${datadir}/aclocal " From be8f70e8a1c9cc5bb2e018908ec0dfb259c38d41 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 4 Jun 2012 07:58:06 +0800 Subject: [PATCH 025/908] linux: Change the sysmocom-bsc kernel config in regard to USB and FS * Enable verbose detection, add CP2012 based serial adapter support * Only enable USB1.1 HCD for now to fix the detection of the USB serial adapters * Enable more filesystems in the config to allow upgrading the boot partition during the runtime (after installing the right codepage) --- .../linux/files/sysmocom-bsc/defconfig | 31 ++++++++++++------- recipes-bsp/linux/linux_2.6.39.bb | 2 +- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/recipes-bsp/linux/files/sysmocom-bsc/defconfig b/recipes-bsp/linux/files/sysmocom-bsc/defconfig index 0ef29a7cd4..d1f7734783 100644 --- a/recipes-bsp/linux/files/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/files/sysmocom-bsc/defconfig @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Linux/x86 2.6.39.3 Kernel Configuration -# Thu Oct 13 01:16:11 2011 +# Linux/x86 2.6.39.4 Kernel Configuration +# Mon Jun 4 09:28:14 2012 # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -2065,7 +2065,7 @@ CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB=y # CONFIG_USB_DEBUG is not set -# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set +CONFIG_USB_ANNOUNCE_NEW_DEVICES=y # # Miscellaneous USB options @@ -2084,14 +2084,15 @@ CONFIG_USB_DEVICE_CLASS=y # # CONFIG_USB_C67X00_HCD is not set # CONFIG_USB_XHCI_HCD is not set -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_ROOT_HUB_TT=y -CONFIG_USB_EHCI_TT_NEWSCHED=y +# CONFIG_USB_EHCI_HCD is not set # CONFIG_USB_OXU210HP_HCD is not set # CONFIG_USB_ISP116X_HCD is not set # CONFIG_USB_ISP1760_HCD is not set # CONFIG_USB_ISP1362_HCD is not set -# CONFIG_USB_OHCI_HCD is not set +CONFIG_USB_OHCI_HCD=y +# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set +# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set +CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_UHCI_HCD=y # CONFIG_USB_SL811_HCD is not set # CONFIG_USB_R8A66597_HCD is not set @@ -2150,7 +2151,7 @@ CONFIG_USB_SERIAL_GENERIC=y # CONFIG_USB_SERIAL_CH341 is not set # CONFIG_USB_SERIAL_WHITEHEAT is not set # CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set -# CONFIG_USB_SERIAL_CP210X is not set +CONFIG_USB_SERIAL_CP210X=y # CONFIG_USB_SERIAL_CYPRESS_M8 is not set # CONFIG_USB_SERIAL_EMPEG is not set CONFIG_USB_SERIAL_FTDI_SIO=y @@ -2210,7 +2211,6 @@ CONFIG_USB_SERIAL_PL2303=y # CONFIG_USB_IDMOUSE is not set # CONFIG_USB_FTDI_ELAN is not set # CONFIG_USB_APPLEDISPLAY is not set -# CONFIG_USB_SISUSBVGA is not set # CONFIG_USB_LD is not set # CONFIG_USB_TRANCEVIBRATOR is not set # CONFIG_USB_IOWARRIOR is not set @@ -2364,7 +2364,11 @@ CONFIG_EXT3_DEFAULTS_TO_ORDERED=y CONFIG_EXT3_FS_XATTR=y CONFIG_EXT3_FS_POSIX_ACL=y # CONFIG_EXT3_FS_SECURITY is not set -# CONFIG_EXT4_FS is not set +CONFIG_EXT4_FS=m +CONFIG_EXT4_FS_XATTR=y +CONFIG_EXT4_FS_POSIX_ACL=y +# CONFIG_EXT4_FS_SECURITY is not set +# CONFIG_EXT4_DEBUG is not set CONFIG_JBD=y # CONFIG_JBD_DEBUG is not set CONFIG_JBD2=m @@ -2417,8 +2421,11 @@ CONFIG_AUTOFS4_FS=m # # DOS/FAT/NT Filesystems # +CONFIG_FAT_FS=y # CONFIG_MSDOS_FS is not set -# CONFIG_VFAT_FS is not set +CONFIG_VFAT_FS=y +CONFIG_FAT_DEFAULT_CODEPAGE=437 +CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" # CONFIG_NTFS_FS is not set # @@ -2828,7 +2835,7 @@ CONFIG_GENERIC_FIND_FIRST_BIT=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_FIND_LAST_BIT=y CONFIG_CRC_CCITT=y -# CONFIG_CRC16 is not set +CONFIG_CRC16=m # CONFIG_CRC_T10DIF is not set # CONFIG_CRC_ITU_T is not set CONFIG_CRC32=y diff --git a/recipes-bsp/linux/linux_2.6.39.bb b/recipes-bsp/linux/linux_2.6.39.bb index a6ca28227e..22478f944d 100644 --- a/recipes-bsp/linux/linux_2.6.39.bb +++ b/recipes-bsp/linux/linux_2.6.39.bb @@ -3,7 +3,7 @@ require linux-sysmocom.inc LINUX_VERSION ?= "${PV}" -PR = "r11" +PR = "r13" SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v2.6/linux-${PV}.tar.bz2 \ ftp://ftp.servus.at/linux-kernel/patch-2.6.39.4.bz2;apply=yes;name=stablepatch \ file://mISDN_loop.patch \ From 62ac58083110437a4daf6f619f944cf5fcaf212b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 4 Jun 2012 07:59:00 +0800 Subject: [PATCH 026/908] sysmobts: Upgrade to a BTS version with fixed 2bis SI scheduling This is a hot fix for the 2bis case, the more generic scheduling patch needs to be tested a bit more. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index d127c6c1c9..66fad252b9 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "799ea59c2feeb9fe7ea9e9c202376e973ffca711" +SRCREV_osmobts = "c58968be02c1c0b1fdca5c5cb30c1b2b57cab069" SRCREV_openbsc = "46cb8514a5a60459214ddee776b37a422abb625e" PV = "0.0+git${SRCPV}" PR = "r15" From 17acc4a5629864e77fec382efbd23b6b5bcb6349 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 10 Jun 2012 15:53:20 +0200 Subject: [PATCH 027/908] task-sysmocom-bts: Do not package the femtobts-example This is not available in this layer, remove it. --- recipes-apps/tasks/task-sysmocom-bts.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index 0fe2faff85..9863ff1156 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -4,11 +4,10 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY = "1" -PR = "r10" +PR = "r11" # TODO: re-add femtobts-calib after it went through the API migration RDEPENDS_task-sysmocom-bts = "\ - femtobts-example \ osmo-bts \ osmo-bts-remote \ lmsensors-scripts \ From d9a77eb6416c46befaf7eaf2b199b3835389c8f1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 10 Jun 2012 16:48:00 +0200 Subject: [PATCH 028/908] task-core-boot.bbappend: Increase PR due the moving of the watchdog Make sure that on opkg upgrade the watchdog will now be installed due the new task-core-boot package. --- recipes-apps/tasks/task-core-boot.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-apps/tasks/task-core-boot.bbappend b/recipes-apps/tasks/task-core-boot.bbappend index 0481377a06..7e68765b2b 100644 --- a/recipes-apps/tasks/task-core-boot.bbappend +++ b/recipes-apps/tasks/task-core-boot.bbappend @@ -1,3 +1,3 @@ -PRINC = "5" +PRINC = "6" RDEPENDS_task-core-boot += "" From 420ea289a252ef7494323ec8c4db7b2733268ce9 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 10 Jun 2012 17:16:55 +0200 Subject: [PATCH 029/908] linux-sysmocom: Upgrade to 3.2.19, this requires a manual symlink Kernel upgrades on a live system is not well tested, right now the symlink is not updated but for some reason the old uImage is kept installed. --- recipes-bsp/linux/linux-sysmocom_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index adbaa6fcbe..f7bb6233bb 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -1,7 +1,7 @@ inherit kernel require linux-sysmocom.inc -LINUX_VERSION ?= "3.2.14" +LINUX_VERSION ?= "3.2.19" LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}" # Overrides for the sysmocom bts v1 @@ -10,7 +10,7 @@ BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1" # Overrides for the sysmocom bts v2 BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" -SRCREV = "76c990779a11922dad5ebea06f3bb403856e9150" +SRCREV = "561f53aa574a18a061c5130e0be0f3622ddbc037" PR = "r19" PV = "${LINUX_VERSION}+git${SRCPV}" From c0663ce337dc007698db1f400167e7a1eecc01b6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 10 Jun 2012 20:01:12 +0200 Subject: [PATCH 030/908] osmo-bts: Upgrade the osmo-bts version for a sysmobts-v1 fix and v2 improvement --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 074fba2e1e..fa81dfaeb1 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "c58968be02c1c0b1fdca5c5cb30c1b2b57cab069" +SRCREV_osmobts = "ad3e31dc4b9ee1063d9e633ca884315b5a5c9710" SRCREV_openbsc = "46cb8514a5a60459214ddee776b37a422abb625e" PV = "0.0+git${SRCPV}" PR = "r16" From 914296ad2046a678704d852ac1c6095e798c0369 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 10 Jun 2012 20:23:33 +0200 Subject: [PATCH 031/908] sysmobts-v1: Change the defconfig to hide a kallsysms issue --- recipes-bsp/linux/files/sysmobts-v1/defconfig | 581 ++++++++++++------ 1 file changed, 380 insertions(+), 201 deletions(-) diff --git a/recipes-bsp/linux/files/sysmobts-v1/defconfig b/recipes-bsp/linux/files/sysmobts-v1/defconfig index 029352ca85..2b310f8a4b 100644 --- a/recipes-bsp/linux/files/sysmobts-v1/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v1/defconfig @@ -1,14 +1,14 @@ # -# Automatically generated make config: don't edit -# Linux kernel version: 2.6.33 -# Fri Nov 4 20:41:17 2011 +# Automatically generated file; DO NOT EDIT. +# Linux/arm 3.2.14 Kernel Configuration # CONFIG_ARM=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_GENERIC_GPIO=y -CONFIG_GENERIC_TIME=y +# CONFIG_ARCH_USES_GETTIMEOFFSET is not set CONFIG_GENERIC_CLOCKEVENTS=y -CONFIG_GENERIC_HARDIRQS=y +CONFIG_KTIME_SCALAR=y +CONFIG_HAVE_PROC_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y @@ -16,70 +16,79 @@ CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_HARDIRQS_SW_RESEND=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_RWSEM_GENERIC_SPINLOCK=y +CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_ZONE_DMA=y -CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y +CONFIG_NEED_DMA_MAP_STATE=y CONFIG_VECTORS_BASE=0xffff0000 +CONFIG_ARM_PATCH_PHYS_VIRT=y +CONFIG_GENERIC_BUG=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" -CONFIG_CONSTRUCTORS=y +CONFIG_HAVE_IRQ_WORK=y +CONFIG_IRQ_WORK=y # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y -CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_CROSS_COMPILE="" CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_HAVE_KERNEL_GZIP=y +CONFIG_HAVE_KERNEL_LZMA=y CONFIG_HAVE_KERNEL_LZO=y CONFIG_KERNEL_GZIP=y -# CONFIG_KERNEL_BZIP2 is not set # CONFIG_KERNEL_LZMA is not set # CONFIG_KERNEL_LZO is not set +CONFIG_DEFAULT_HOSTNAME="(none)" # CONFIG_SWAP is not set CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y # CONFIG_BSD_PROCESS_ACCT is not set +# CONFIG_FHANDLE is not set # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set +CONFIG_HAVE_GENERIC_HARDIRQS=y + +# +# IRQ subsystem +# +CONFIG_GENERIC_HARDIRQS=y +CONFIG_HAVE_SPARSE_IRQ=y +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_GENERIC_IRQ_CHIP=y +# CONFIG_SPARSE_IRQ is not set # # RCU Subsystem # -CONFIG_TREE_RCU=y -# CONFIG_TREE_PREEMPT_RCU is not set -# CONFIG_TINY_RCU is not set +CONFIG_TINY_PREEMPT_RCU=y +CONFIG_PREEMPT_RCU=y # CONFIG_RCU_TRACE is not set -CONFIG_RCU_FANOUT=32 -# CONFIG_RCU_FANOUT_EXACT is not set # CONFIG_TREE_RCU_TRACE is not set +# CONFIG_RCU_BOOST is not set CONFIG_IKCONFIG=m CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=14 -CONFIG_GROUP_SCHED=y -CONFIG_FAIR_GROUP_SCHED=y -# CONFIG_RT_GROUP_SCHED is not set -CONFIG_USER_SCHED=y -# CONFIG_CGROUP_SCHED is not set # CONFIG_CGROUPS is not set -# CONFIG_SYSFS_DEPRECATED_V2 is not set -# CONFIG_RELAY is not set # CONFIG_NAMESPACES is not set +# CONFIG_SCHED_AUTOGROUP is not set +# CONFIG_SYSFS_DEPRECATED is not set +# CONFIG_RELAY is not set # CONFIG_BLK_DEV_INITRD is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y CONFIG_ANON_INODES=y -CONFIG_EMBEDDED=y +CONFIG_EXPERT=y CONFIG_UID16=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y -# CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y @@ -92,10 +101,16 @@ CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y +CONFIG_EMBEDDED=y +CONFIG_HAVE_PERF_EVENTS=y +CONFIG_PERF_USE_VMALLOC=y # # Kernel Performance Events And Counters # +CONFIG_PERF_EVENTS=y +# CONFIG_PERF_COUNTERS is not set +# CONFIG_DEBUG_PERF_USE_VMALLOC is not set CONFIG_VM_EVENT_COUNTERS=y CONFIG_SLUB_DEBUG=y CONFIG_COMPAT_BRK=y @@ -103,20 +118,18 @@ CONFIG_COMPAT_BRK=y CONFIG_SLUB=y # CONFIG_SLOB is not set CONFIG_PROFILING=y -CONFIG_TRACEPOINTS=y CONFIG_OPROFILE=m CONFIG_HAVE_OPROFILE=y # CONFIG_KPROBES is not set CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y CONFIG_HAVE_CLK=y +CONFIG_HAVE_DMA_API_DEBUG=y # # GCOV-based kernel profiling # -# CONFIG_GCOV_KERNEL is not set -CONFIG_SLOW_WORK=y -# CONFIG_SLOW_WORK_DEBUG is not set CONFIG_HAVE_GENERIC_DMA_COHERENT=y CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y @@ -130,6 +143,7 @@ CONFIG_MODVERSIONS=y CONFIG_BLOCK=y CONFIG_LBDAF=y # CONFIG_BLK_DEV_BSG is not set +# CONFIG_BLK_DEV_BSGLIB is not set # CONFIG_BLK_DEV_INTEGRITY is not set # @@ -138,8 +152,6 @@ CONFIG_LBDAF=y CONFIG_IOSCHED_NOOP=y # CONFIG_IOSCHED_DEADLINE is not set # CONFIG_IOSCHED_CFQ is not set -# CONFIG_DEFAULT_DEADLINE is not set -# CONFIG_DEFAULT_CFQ is not set CONFIG_DEFAULT_NOOP=y CONFIG_DEFAULT_IOSCHED="noop" # CONFIG_INLINE_SPIN_TRYLOCK is not set @@ -171,58 +183,68 @@ CONFIG_DEFAULT_IOSCHED="noop" # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set # CONFIG_MUTEX_SPIN_ON_OWNER is not set -# CONFIG_FREEZER is not set +CONFIG_FREEZER=y # # System Type # CONFIG_MMU=y -# CONFIG_ARCH_AAEC2000 is not set # CONFIG_ARCH_INTEGRATOR is not set # CONFIG_ARCH_REALVIEW is not set # CONFIG_ARCH_VERSATILE is not set +# CONFIG_ARCH_VEXPRESS is not set # CONFIG_ARCH_AT91 is not set +# CONFIG_ARCH_BCMRING is not set +# CONFIG_ARCH_HIGHBANK is not set # CONFIG_ARCH_CLPS711X is not set +# CONFIG_ARCH_CNS3XXX is not set # CONFIG_ARCH_GEMINI is not set +# CONFIG_ARCH_PRIMA2 is not set # CONFIG_ARCH_EBSA110 is not set # CONFIG_ARCH_EP93XX is not set # CONFIG_ARCH_FOOTBRIDGE is not set # CONFIG_ARCH_MXC is not set -# CONFIG_ARCH_STMP3XXX is not set +# CONFIG_ARCH_MXS is not set # CONFIG_ARCH_NETX is not set # CONFIG_ARCH_H720X is not set -# CONFIG_ARCH_NOMADIK is not set # CONFIG_ARCH_IOP13XX is not set # CONFIG_ARCH_IOP32X is not set # CONFIG_ARCH_IOP33X is not set # CONFIG_ARCH_IXP23XX is not set # CONFIG_ARCH_IXP2000 is not set # CONFIG_ARCH_IXP4XX is not set -# CONFIG_ARCH_L7200 is not set # CONFIG_ARCH_DOVE is not set # CONFIG_ARCH_KIRKWOOD is not set -# CONFIG_ARCH_LOKI is not set +# CONFIG_ARCH_LPC32XX is not set # CONFIG_ARCH_MV78XX0 is not set # CONFIG_ARCH_ORION5X is not set # CONFIG_ARCH_MMP is not set # CONFIG_ARCH_KS8695 is not set -# CONFIG_ARCH_NS9XXX is not set # CONFIG_ARCH_W90X900 is not set +# CONFIG_ARCH_TEGRA is not set +# CONFIG_ARCH_PICOXCELL is not set # CONFIG_ARCH_PNX4008 is not set # CONFIG_ARCH_PXA is not set # CONFIG_ARCH_MSM is not set +# CONFIG_ARCH_SHMOBILE is not set # CONFIG_ARCH_RPC is not set # CONFIG_ARCH_SA1100 is not set # CONFIG_ARCH_S3C2410 is not set # CONFIG_ARCH_S3C64XX is not set -# CONFIG_ARCH_S5PC1XX is not set +# CONFIG_ARCH_S5P64X0 is not set +# CONFIG_ARCH_S5PC100 is not set +# CONFIG_ARCH_S5PV210 is not set +# CONFIG_ARCH_EXYNOS is not set # CONFIG_ARCH_SHARK is not set -# CONFIG_ARCH_LH7A40X is not set +# CONFIG_ARCH_TCC_926 is not set # CONFIG_ARCH_U300 is not set +# CONFIG_ARCH_U8500 is not set +# CONFIG_ARCH_NOMADIK is not set CONFIG_ARCH_DAVINCI=y # CONFIG_ARCH_OMAP is not set -# CONFIG_ARCH_BCMRING is not set -# CONFIG_ARCH_U8500 is not set +# CONFIG_PLAT_SPEAR is not set +# CONFIG_ARCH_VT8500 is not set +# CONFIG_ARCH_ZYNQ is not set CONFIG_AINTC=y CONFIG_ARCH_DAVINCI_DMx=y @@ -239,6 +261,7 @@ CONFIG_ARCH_DAVINCI_DM644x=y # CONFIG_ARCH_DAVINCI_DA830 is not set # CONFIG_ARCH_DAVINCI_DA850 is not set # CONFIG_ARCH_DAVINCI_DM365 is not set +# CONFIG_ARCH_DAVINCI_TNETV107X is not set # # DaVinci Board Type @@ -246,10 +269,17 @@ CONFIG_ARCH_DAVINCI_DM644x=y # CONFIG_MACH_DAVINCI_EVM is not set # CONFIG_MACH_SFFSDR is not set CONFIG_MACH_SYSMOBTS_V1=y +# CONFIG_MACH_SYSMOBTS_V2 is not set # CONFIG_MACH_NEUROS_OSD2 is not set +# CONFIG_GPIO_PCA953X is not set +# CONFIG_KEYBOARD_GPIO_POLLED is not set # CONFIG_DAVINCI_MUX is not set # CONFIG_DAVINCI_RESET_CLOCKS is not set +# +# System MMU +# + # # Processor Type # @@ -262,6 +292,7 @@ CONFIG_CPU_COPY_V4WB=y CONFIG_CPU_TLB_V4WBI=y CONFIG_CPU_CP15=y CONFIG_CPU_CP15_MMU=y +CONFIG_CPU_USE_DOMAINS=y # # Processor Features @@ -272,7 +303,6 @@ CONFIG_ARM_THUMB=y # CONFIG_CPU_DCACHE_WRITETHROUGH is not set # CONFIG_CPU_CACHE_ROUND_ROBIN is not set CONFIG_ARM_L1_CACHE_SHIFT=5 -CONFIG_COMMON_CLKDEV=y # # Bus support @@ -295,41 +325,52 @@ CONFIG_PAGE_OFFSET=0xC0000000 # CONFIG_PREEMPT_NONE is not set # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y +CONFIG_PREEMPT_COUNT=y CONFIG_HZ=100 CONFIG_AEABI=y CONFIG_OABI_COMPAT=y CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set +CONFIG_HAVE_ARCH_PFN_VALID=y # CONFIG_HIGHMEM is not set CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y -# CONFIG_DISCONTIGMEM_MANUAL is not set -# CONFIG_SPARSEMEM_MANUAL is not set CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y +CONFIG_HAVE_MEMBLOCK=y CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=999999 +# CONFIG_COMPACTION is not set # CONFIG_PHYS_ADDR_T_64BIT is not set CONFIG_ZONE_DMA_FLAG=1 CONFIG_BOUNCE=y CONFIG_VIRT_TO_BUS=y # CONFIG_KSM is not set CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +CONFIG_NEED_PER_CPU_KM=y +# CONFIG_CLEANCACHE is not set +CONFIG_FORCE_MAX_ZONEORDER=11 CONFIG_LEDS=y CONFIG_LEDS_CPU=y CONFIG_ALIGNMENT_TRAP=y # CONFIG_UACCESS_WITH_MEMCPY is not set +# CONFIG_SECCOMP is not set +# CONFIG_CC_STACKPROTECTOR is not set +# CONFIG_DEPRECATED_PARAM_STRUCT is not set # # Boot options # +# CONFIG_USE_OF is not set CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0 CONFIG_CMDLINE="" # CONFIG_XIP_KERNEL is not set CONFIG_KEXEC=y CONFIG_ATAGS_PROC=y +# CONFIG_CRASH_DUMP is not set +# CONFIG_AUTO_ZRELADDR is not set # # CPU Power Management @@ -359,15 +400,23 @@ CONFIG_HAVE_AOUT=y # # Power management options # -# CONFIG_PM is not set +CONFIG_SUSPEND=y +CONFIG_SUSPEND_FREEZER=y +CONFIG_PM_SLEEP=y +# CONFIG_PM_RUNTIME is not set +CONFIG_PM=y +# CONFIG_PM_DEBUG is not set +# CONFIG_APM_EMULATION is not set +CONFIG_PM_CLK=y +CONFIG_CPU_PM=y CONFIG_ARCH_SUSPEND_POSSIBLE=y +CONFIG_ARM_CPU_SUSPEND=y CONFIG_NET=y # # Networking options # CONFIG_PACKET=y -# CONFIG_PACKET_MMAP is not set CONFIG_UNIX=y CONFIG_XFRM=y CONFIG_XFRM_USER=y @@ -379,13 +428,13 @@ CONFIG_NET_KEY=m CONFIG_INET=y # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ADVANCED_ROUTER is not set -CONFIG_IP_FIB_HASH=y +CONFIG_IP_ROUTE_CLASSID=y CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y # CONFIG_IP_PNP_BOOTP is not set # CONFIG_IP_PNP_RARP is not set # CONFIG_NET_IPIP is not set -# CONFIG_NET_IPGRE is not set +# CONFIG_NET_IPGRE_DEMUX is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set CONFIG_INET_AH=y @@ -424,6 +473,7 @@ CONFIG_IPV6_NDISC_NODETYPE=y # CONFIG_IPV6_MULTIPLE_TABLES is not set # CONFIG_IPV6_MROUTE is not set # CONFIG_NETWORK_SECMARK is not set +# CONFIG_NETWORK_PHY_TIMESTAMPING is not set CONFIG_NETFILTER=y # CONFIG_NETFILTER_DEBUG is not set CONFIG_NETFILTER_ADVANCED=y @@ -435,9 +485,9 @@ CONFIG_NETFILTER_NETLINK=m # CONFIG_NETFILTER_NETLINK_QUEUE is not set CONFIG_NETFILTER_NETLINK_LOG=m CONFIG_NF_CONNTRACK=m -# CONFIG_NF_CT_ACCT is not set # CONFIG_NF_CONNTRACK_MARK is not set # CONFIG_NF_CONNTRACK_EVENTS is not set +# CONFIG_NF_CONNTRACK_TIMESTAMP is not set CONFIG_NF_CT_PROTO_DCCP=m CONFIG_NF_CT_PROTO_SCTP=m CONFIG_NF_CT_PROTO_UDPLITE=m @@ -446,6 +496,7 @@ CONFIG_NF_CONNTRACK_FTP=m # CONFIG_NF_CONNTRACK_H323 is not set # CONFIG_NF_CONNTRACK_IRC is not set # CONFIG_NF_CONNTRACK_NETBIOS_NS is not set +# CONFIG_NF_CONNTRACK_SNMP is not set # CONFIG_NF_CONNTRACK_PPTP is not set # CONFIG_NF_CONNTRACK_SANE is not set CONFIG_NF_CONNTRACK_SIP=m @@ -453,24 +504,44 @@ CONFIG_NF_CONNTRACK_SIP=m CONFIG_NF_CT_NETLINK=m # CONFIG_NETFILTER_TPROXY is not set CONFIG_NETFILTER_XTABLES=m + +# +# Xtables combined modules +# +CONFIG_NETFILTER_XT_MARK=m +# CONFIG_NETFILTER_XT_CONNMARK is not set + +# +# Xtables targets +# +# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set # CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set # CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set # CONFIG_NETFILTER_XT_TARGET_DSCP is not set CONFIG_NETFILTER_XT_TARGET_HL=m +# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set # CONFIG_NETFILTER_XT_TARGET_LED is not set # CONFIG_NETFILTER_XT_TARGET_MARK is not set CONFIG_NETFILTER_XT_TARGET_NFLOG=m # CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set # CONFIG_NETFILTER_XT_TARGET_RATEEST is not set +# CONFIG_NETFILTER_XT_TARGET_TEE is not set CONFIG_NETFILTER_XT_TARGET_TCPMSS=m # CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set + +# +# Xtables matches +# +# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set # CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set # CONFIG_NETFILTER_XT_MATCH_COMMENT is not set # CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set # CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set # CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set # CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set +# CONFIG_NETFILTER_XT_MATCH_CPU is not set CONFIG_NETFILTER_XT_MATCH_DCCP=m +# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set CONFIG_NETFILTER_XT_MATCH_DSCP=m CONFIG_NETFILTER_XT_MATCH_ESP=m # CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set @@ -482,6 +553,7 @@ CONFIG_NETFILTER_XT_MATCH_LIMIT=m CONFIG_NETFILTER_XT_MATCH_MAC=m CONFIG_NETFILTER_XT_MATCH_MARK=m CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m +# CONFIG_NETFILTER_XT_MATCH_OSF is not set CONFIG_NETFILTER_XT_MATCH_OWNER=m CONFIG_NETFILTER_XT_MATCH_POLICY=m CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m @@ -496,7 +568,7 @@ CONFIG_NETFILTER_XT_MATCH_SCTP=m CONFIG_NETFILTER_XT_MATCH_TCPMSS=m # CONFIG_NETFILTER_XT_MATCH_TIME is not set # CONFIG_NETFILTER_XT_MATCH_U32 is not set -# CONFIG_NETFILTER_XT_MATCH_OSF is not set +# CONFIG_IP_SET is not set # CONFIG_IP_VS is not set # @@ -507,7 +579,6 @@ CONFIG_NF_CONNTRACK_IPV4=m CONFIG_NF_CONNTRACK_PROC_COMPAT=y # CONFIG_IP_NF_QUEUE is not set CONFIG_IP_NF_IPTABLES=m -CONFIG_IP_NF_MATCH_ADDRTYPE=m CONFIG_IP_NF_MATCH_AH=m CONFIG_IP_NF_MATCH_ECN=m CONFIG_IP_NF_MATCH_TTL=m @@ -520,7 +591,6 @@ CONFIG_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=m CONFIG_IP_NF_TARGET_NETMAP=m CONFIG_IP_NF_TARGET_REDIRECT=m -CONFIG_NF_NAT_SNMP_BASIC=m CONFIG_NF_NAT_PROTO_DCCP=m CONFIG_NF_NAT_PROTO_UDPLITE=m CONFIG_NF_NAT_PROTO_SCTP=m @@ -541,6 +611,7 @@ CONFIG_IP_NF_TARGET_TTL=m # # IPv6: Netfilter Configuration # +# CONFIG_NF_DEFRAG_IPV6 is not set # CONFIG_NF_CONNTRACK_IPV6 is not set CONFIG_IP6_NF_QUEUE=m CONFIG_IP6_NF_IPTABLES=m @@ -567,7 +638,6 @@ CONFIG_INET_DCCP_DIAG=m # CONFIG_IP_DCCP_CCID2_DEBUG is not set CONFIG_IP_DCCP_CCID3=y # CONFIG_IP_DCCP_CCID3_DEBUG is not set -CONFIG_IP_DCCP_CCID3_RTO=100 CONFIG_IP_DCCP_TFRC_LIB=y # @@ -583,6 +653,7 @@ CONFIG_SCTP_HMAC_MD5=y # CONFIG_RDS is not set # CONFIG_TIPC is not set # CONFIG_ATM is not set +# CONFIG_L2TP is not set # CONFIG_BRIDGE is not set # CONFIG_NET_DSA is not set CONFIG_VLAN_8021Q=m @@ -608,6 +679,7 @@ CONFIG_NET_SCH_HTB=m CONFIG_NET_SCH_PRIO=m # CONFIG_NET_SCH_MULTIQ is not set # CONFIG_NET_SCH_RED is not set +# CONFIG_NET_SCH_SFB is not set # CONFIG_NET_SCH_SFQ is not set # CONFIG_NET_SCH_TEQL is not set CONFIG_NET_SCH_TBF=m @@ -615,6 +687,9 @@ CONFIG_NET_SCH_TBF=m # CONFIG_NET_SCH_DSMARK is not set # CONFIG_NET_SCH_NETEM is not set # CONFIG_NET_SCH_DRR is not set +# CONFIG_NET_SCH_MQPRIO is not set +# CONFIG_NET_SCH_CHOKE is not set +# CONFIG_NET_SCH_QFQ is not set # # Classification @@ -623,7 +698,6 @@ CONFIG_NET_CLS=y CONFIG_NET_CLS_BASIC=m CONFIG_NET_CLS_TCINDEX=m # CONFIG_NET_CLS_ROUTE4 is not set -CONFIG_NET_CLS_ROUTE=y CONFIG_NET_CLS_FW=m CONFIG_NET_CLS_U32=m # CONFIG_CLS_U32_PERF is not set @@ -636,12 +710,12 @@ CONFIG_NET_CLS_U32=m # CONFIG_NET_CLS_IND is not set CONFIG_NET_SCH_FIFO=y # CONFIG_DCB is not set +# CONFIG_BATMAN_ADV is not set # # Network testing # # CONFIG_NET_PKTGEN is not set -# CONFIG_NET_DROP_MONITOR is not set # CONFIG_HAMRADIO is not set # CONFIG_CAN is not set # CONFIG_IRDA is not set @@ -651,6 +725,9 @@ CONFIG_NET_SCH_FIFO=y # CONFIG_WIMAX is not set # CONFIG_RFKILL is not set # CONFIG_NET_9P is not set +# CONFIG_CAIF is not set +# CONFIG_CEPH_LIB is not set +# CONFIG_NFC is not set # # Device Drivers @@ -671,10 +748,7 @@ CONFIG_EXTRA_FIRMWARE="" # CONFIG_SYS_HYPERVISOR is not set # CONFIG_CONNECTOR is not set CONFIG_MTD=y -# CONFIG_MTD_DEBUG is not set # CONFIG_MTD_TESTS is not set -# CONFIG_MTD_CONCAT is not set -CONFIG_MTD_PARTITIONS=y # CONFIG_MTD_REDBOOT_PARTS is not set # CONFIG_MTD_CMDLINE_PARTS is not set # CONFIG_MTD_AFS_PARTS is not set @@ -691,6 +765,7 @@ CONFIG_MTD_BLOCK=y # CONFIG_INFTL is not set # CONFIG_RFD_FTL is not set # CONFIG_SSFDC is not set +# CONFIG_SM_FTL is not set # CONFIG_MTD_OOPS is not set # @@ -732,9 +807,13 @@ CONFIG_MTD_CFI_I2=y # CONFIG_MTD_DOC2000 is not set # CONFIG_MTD_DOC2001 is not set # CONFIG_MTD_DOC2001PLUS is not set +# CONFIG_MTD_DOCG3 is not set +CONFIG_MTD_NAND_ECC=y +# CONFIG_MTD_NAND_ECC_SMC is not set CONFIG_MTD_NAND=y # CONFIG_MTD_NAND_VERIFY_WRITE is not set -# CONFIG_MTD_NAND_ECC_SMC is not set +# CONFIG_MTD_NAND_ECC_BCH is not set +# CONFIG_MTD_SM_COMMON is not set # CONFIG_MTD_NAND_MUSEUM_IDS is not set # CONFIG_MTD_NAND_GPIO is not set CONFIG_MTD_NAND_IDS=y @@ -748,15 +827,12 @@ CONFIG_MTD_NAND_DAVINCI=y # LPDDR flash memory drivers # # CONFIG_MTD_LPDDR is not set - -# -# UBI - Unsorted block images -# # CONFIG_MTD_UBI is not set # CONFIG_PARPORT is not set CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 # CONFIG_BLK_DEV_CRYPTOLOOP is not set # @@ -767,17 +843,29 @@ CONFIG_BLK_DEV_LOOP=y # CONFIG_CDROM_PKTCDVD is not set # CONFIG_ATA_OVER_ETH is not set # CONFIG_MG_DISK is not set +# CONFIG_BLK_DEV_RBD is not set +# CONFIG_SENSORS_LIS3LV02D is not set CONFIG_MISC_DEVICES=y # CONFIG_AD525X_DPOT is not set +# CONFIG_ATMEL_PWM is not set # CONFIG_ICS932S401 is not set # CONFIG_ENCLOSURE_SERVICES is not set +# CONFIG_APDS9802ALS is not set # CONFIG_ISL29003 is not set +# CONFIG_ISL29020 is not set +# CONFIG_SENSORS_TSL2550 is not set +# CONFIG_SENSORS_BH1780 is not set +# CONFIG_SENSORS_BH1770 is not set +# CONFIG_SENSORS_APDS990X is not set +# CONFIG_HMC6352 is not set +# CONFIG_DS1682 is not set +# CONFIG_BMP085 is not set +# CONFIG_USB_SWITCH_FSA9480 is not set CONFIG_FPGADL=m CONFIG_FPGADL_PAR=m CONFIG_DSPDL=m CONFIG_DSPDL_DM644X=m # CONFIG_SYSMOBTS_FACTORY_RESET is not set -# CONFIG_DS1682 is not set # CONFIG_C2PORT is not set # @@ -787,12 +875,24 @@ CONFIG_EEPROM_AT24=y # CONFIG_EEPROM_LEGACY is not set # CONFIG_EEPROM_MAX6875 is not set # CONFIG_EEPROM_93CX6 is not set + +# +# Texas Instruments shared transport line discipline +# +# CONFIG_TI_ST is not set +# CONFIG_SENSORS_LIS3_I2C is not set + +# +# Altera FPGA firmware download module +# +# CONFIG_ALTERA_STAPL is not set CONFIG_HAVE_IDE=y # CONFIG_IDE is not set # # SCSI device support # +CONFIG_SCSI_MOD=y # CONFIG_RAID_ATTRS is not set # CONFIG_SCSI is not set # CONFIG_SCSI_DMA is not set @@ -800,12 +900,52 @@ CONFIG_HAVE_IDE=y # CONFIG_ATA is not set # CONFIG_MD is not set CONFIG_NETDEVICES=y -# CONFIG_DUMMY is not set +CONFIG_NET_CORE=y # CONFIG_BONDING is not set -# CONFIG_MACVLAN is not set +# CONFIG_DUMMY is not set # CONFIG_EQUALIZER is not set +# CONFIG_MII is not set +# CONFIG_MACVLAN is not set +CONFIG_NETCONSOLE=y +CONFIG_NETPOLL=y +CONFIG_NETPOLL_TRAP=y +CONFIG_NET_POLL_CONTROLLER=y CONFIG_TUN=m # CONFIG_VETH is not set + +# +# CAIF transport drivers +# +CONFIG_ETHERNET=y +CONFIG_NET_VENDOR_BROADCOM=y +# CONFIG_B44 is not set +CONFIG_NET_VENDOR_CHELSIO=y +# CONFIG_DM9000 is not set +# CONFIG_DNET is not set +CONFIG_NET_VENDOR_FARADAY=y +# CONFIG_FTMAC100 is not set +# CONFIG_FTGMAC100 is not set +CONFIG_NET_VENDOR_INTEL=y +CONFIG_NET_VENDOR_I825XX=y +CONFIG_NET_VENDOR_MARVELL=y +CONFIG_NET_VENDOR_MICREL=y +# CONFIG_KS8851_MLL is not set +CONFIG_NET_VENDOR_NATSEMI=y +CONFIG_NET_VENDOR_8390=y +# CONFIG_AX88796 is not set +# CONFIG_ETHOC is not set +CONFIG_NET_VENDOR_SEEQ=y +# CONFIG_SEEQ8005 is not set +CONFIG_NET_VENDOR_SMSC=y +# CONFIG_SMC91X is not set +# CONFIG_SMC911X is not set +# CONFIG_SMSC911X is not set +CONFIG_NET_VENDOR_STMICRO=y +# CONFIG_STMMAC_ETH is not set +CONFIG_NET_VENDOR_TI=y +CONFIG_TI_DAVINCI_EMAC=y +CONFIG_TI_DAVINCI_MDIO=y +CONFIG_TI_DAVINCI_CPDMA=y CONFIG_PHYLIB=y # @@ -824,48 +964,21 @@ CONFIG_REALTEK_PHY=y # CONFIG_NATIONAL_PHY is not set # CONFIG_STE10XP is not set # CONFIG_LSI_ET1011C_PHY is not set +# CONFIG_MICREL_PHY is not set # CONFIG_FIXED_PHY is not set # CONFIG_MDIO_BITBANG is not set -CONFIG_NET_ETHERNET=y -# CONFIG_MII is not set -# CONFIG_AX88796 is not set -# CONFIG_SMC91X is not set -CONFIG_TI_DAVINCI_EMAC=y -# CONFIG_DM9000 is not set -# CONFIG_ETHOC is not set -# CONFIG_SMC911X is not set -# CONFIG_SMSC911X is not set -# CONFIG_DNET is not set -# CONFIG_IBM_NEW_EMAC_ZMII is not set -# CONFIG_IBM_NEW_EMAC_RGMII is not set -# CONFIG_IBM_NEW_EMAC_TAH is not set -# CONFIG_IBM_NEW_EMAC_EMAC4 is not set -# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set -# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set -# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set -# CONFIG_B44 is not set -# CONFIG_KS8842 is not set -# CONFIG_KS8851_MLL is not set -# CONFIG_NETDEV_1000 is not set -# CONFIG_NETDEV_10000 is not set +# CONFIG_PPP is not set +# CONFIG_SLIP is not set # CONFIG_WLAN is not set # # Enable WiMAX (Networking options) to see the WiMAX drivers # # CONFIG_WAN is not set -# CONFIG_PPP is not set -# CONFIG_SLIP is not set -CONFIG_NETCONSOLE=y -# CONFIG_NETCONSOLE_DYNAMIC is not set -CONFIG_NETPOLL=y -CONFIG_NETPOLL_TRAP=y -CONFIG_NET_POLL_CONTROLLER=y CONFIG_ISDN=y # CONFIG_ISDN_I4L is not set # CONFIG_ISDN_CAPI is not set # CONFIG_ISDN_DRV_GIGASET is not set -# CONFIG_HYSDN is not set CONFIG_MISDN=m CONFIG_MISDN_DSP=m # CONFIG_MISDN_L1OIP is not set @@ -873,14 +986,6 @@ CONFIG_MISDN_DSP=m # # mISDN hardware drivers # -# CONFIG_MISDN_HFCPCI is not set -# CONFIG_MISDN_HFCMULTI is not set -# CONFIG_MISDN_HFCUSB is not set -# CONFIG_MISDN_AVMFRITZ is not set -# CONFIG_MISDN_SPEEDFAX is not set -# CONFIG_MISDN_INFINEON is not set -# CONFIG_MISDN_W6692 is not set -# CONFIG_MISDN_NETJET is not set CONFIG_MISDN_L1LOOP=m # CONFIG_PHONE is not set @@ -918,6 +1023,7 @@ CONFIG_SERIO_SERPORT=y CONFIG_SERIO_LIBPS2=y # CONFIG_SERIO_RAW is not set # CONFIG_SERIO_ALTERA_PS2 is not set +# CONFIG_SERIO_PS2MULT is not set # CONFIG_GAMEPORT is not set # @@ -926,10 +1032,17 @@ CONFIG_SERIO_LIBPS2=y CONFIG_VT=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_VT_CONSOLE=y +CONFIG_VT_CONSOLE_SLEEP=y CONFIG_HW_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set -CONFIG_DEVKMEM=y +CONFIG_UNIX98_PTYS=y +# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set +CONFIG_LEGACY_PTYS=y +CONFIG_LEGACY_PTY_COUNT=256 # CONFIG_SERIAL_NONSTANDARD is not set +# CONFIG_N_GSM is not set +# CONFIG_TRACE_SINK is not set +CONFIG_DEVKMEM=y # # Serial drivers @@ -945,19 +1058,23 @@ CONFIG_SERIAL_8250_RUNTIME_UARTS=3 # CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y -CONFIG_UNIX98_PTYS=y -# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set -CONFIG_LEGACY_PTYS=y -CONFIG_LEGACY_PTY_COUNT=256 +# CONFIG_SERIAL_TIMBERDALE is not set +# CONFIG_SERIAL_ALTERA_JTAGUART is not set +# CONFIG_SERIAL_ALTERA_UART is not set +# CONFIG_SERIAL_XILINX_PS_UART is not set +# CONFIG_TTY_PRINTK is not set +# CONFIG_HVC_DCC is not set # CONFIG_IPMI_HANDLER is not set # CONFIG_HW_RANDOM is not set # CONFIG_R3964 is not set # CONFIG_RAW_DRIVER is not set # CONFIG_TCG_TPM is not set +# CONFIG_RAMOOPS is not set CONFIG_I2C=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_COMPAT=y CONFIG_I2C_CHARDEV=y +# CONFIG_I2C_MUX is not set CONFIG_I2C_HELPER_AUTO=y # @@ -968,10 +1085,13 @@ CONFIG_I2C_HELPER_AUTO=y # I2C system bus drivers (mostly embedded / system-on-chip) # CONFIG_I2C_DAVINCI=y -# CONFIG_I2C_DESIGNWARE is not set +# CONFIG_I2C_DESIGNWARE_PLATFORM is not set # CONFIG_I2C_GPIO is not set # CONFIG_I2C_OCORES is not set +# CONFIG_I2C_PCA_PLATFORM is not set +# CONFIG_I2C_PXA_PCI is not set # CONFIG_I2C_SIMTEC is not set +# CONFIG_I2C_XILINX is not set # # External I2C/SMBus adapter drivers @@ -982,38 +1102,46 @@ CONFIG_I2C_DAVINCI=y # # Other I2C/SMBus bus drivers # -# CONFIG_I2C_PCA_PLATFORM is not set # CONFIG_I2C_STUB is not set - -# -# Miscellaneous I2C Chip support -# -# CONFIG_SENSORS_TSL2550 is not set # CONFIG_I2C_DEBUG_CORE is not set # CONFIG_I2C_DEBUG_ALGO is not set # CONFIG_I2C_DEBUG_BUS is not set -# CONFIG_I2C_DEBUG_CHIP is not set # CONFIG_SPI is not set # # PPS support # # CONFIG_PPS is not set + +# +# PPS generators support +# + +# +# PTP clock support +# + +# +# Enable Device Drivers -> PPS to see the PTP clock options. +# CONFIG_ARCH_REQUIRE_GPIOLIB=y CONFIG_GPIOLIB=y # CONFIG_DEBUG_GPIO is not set CONFIG_GPIO_SYSFS=y # -# Memory mapped GPIO expanders: +# Memory mapped GPIO drivers: # +# CONFIG_GPIO_GENERIC_PLATFORM is not set +# CONFIG_GPIO_IT8761E is not set # # I2C GPIO expanders: # +# CONFIG_GPIO_MAX7300 is not set # CONFIG_GPIO_MAX732X is not set -# CONFIG_GPIO_PCA953X is not set # CONFIG_GPIO_PCF857X is not set +# CONFIG_GPIO_SX150X is not set # CONFIG_GPIO_ADP5588 is not set # @@ -1023,10 +1151,15 @@ CONFIG_GPIO_SYSFS=y # # SPI GPIO expanders: # +# CONFIG_GPIO_MCP23S08 is not set # # AC97 GPIO expanders: # + +# +# MODULbus GPIO expanders: +# # CONFIG_W1 is not set # CONFIG_POWER_SUPPLY is not set CONFIG_HWMON=y @@ -1044,11 +1177,13 @@ CONFIG_HWMON=y # CONFIG_SENSORS_ADM1029 is not set # CONFIG_SENSORS_ADM1031 is not set # CONFIG_SENSORS_ADM9240 is not set +# CONFIG_SENSORS_ADT7411 is not set # CONFIG_SENSORS_ADT7462 is not set # CONFIG_SENSORS_ADT7470 is not set -# CONFIG_SENSORS_ADT7473 is not set # CONFIG_SENSORS_ADT7475 is not set +# CONFIG_SENSORS_ASC7621 is not set # CONFIG_SENSORS_ATXP1 is not set +# CONFIG_SENSORS_DS620 is not set # CONFIG_SENSORS_DS1621 is not set # CONFIG_SENSORS_F71805F is not set # CONFIG_SENSORS_F71882FG is not set @@ -1056,7 +1191,10 @@ CONFIG_HWMON=y # CONFIG_SENSORS_G760A is not set # CONFIG_SENSORS_GL518SM is not set # CONFIG_SENSORS_GL520SM is not set +# CONFIG_SENSORS_GPIO_FAN is not set # CONFIG_SENSORS_IT87 is not set +# CONFIG_SENSORS_JC42 is not set +# CONFIG_SENSORS_LINEAGE is not set # CONFIG_SENSORS_LM63 is not set # CONFIG_SENSORS_LM73 is not set CONFIG_SENSORS_LM75=y @@ -1070,22 +1208,41 @@ CONFIG_SENSORS_LM75=y # CONFIG_SENSORS_LM92 is not set # CONFIG_SENSORS_LM93 is not set CONFIG_SENSORS_LTC1695=y +# CONFIG_SENSORS_LTC4151 is not set # CONFIG_SENSORS_LTC4215 is not set # CONFIG_SENSORS_LTC4245 is not set +# CONFIG_SENSORS_LTC4261 is not set # CONFIG_SENSORS_LM95241 is not set +# CONFIG_SENSORS_LM95245 is not set +# CONFIG_SENSORS_MAX16065 is not set # CONFIG_SENSORS_MAX1619 is not set +# CONFIG_SENSORS_MAX1668 is not set +# CONFIG_SENSORS_MAX6639 is not set +# CONFIG_SENSORS_MAX6642 is not set # CONFIG_SENSORS_MAX6650 is not set +# CONFIG_SENSORS_NTC_THERMISTOR is not set # CONFIG_SENSORS_PC87360 is not set # CONFIG_SENSORS_PC87427 is not set # CONFIG_SENSORS_PCF8591 is not set +# CONFIG_PMBUS is not set # CONFIG_SENSORS_SHT15 is not set +# CONFIG_SENSORS_SHT21 is not set +# CONFIG_SENSORS_SMM665 is not set # CONFIG_SENSORS_DME1737 is not set +# CONFIG_SENSORS_EMC1403 is not set +# CONFIG_SENSORS_EMC2103 is not set +# CONFIG_SENSORS_EMC6W201 is not set # CONFIG_SENSORS_SMSC47M1 is not set # CONFIG_SENSORS_SMSC47M192 is not set # CONFIG_SENSORS_SMSC47B397 is not set +# CONFIG_SENSORS_SCH56XX_COMMON is not set +# CONFIG_SENSORS_SCH5627 is not set +# CONFIG_SENSORS_SCH5636 is not set +# CONFIG_SENSORS_ADS1015 is not set # CONFIG_SENSORS_ADS7828 is not set # CONFIG_SENSORS_AMC6821 is not set # CONFIG_SENSORS_THMC50 is not set +# CONFIG_SENSORS_TMP102 is not set CONFIG_SENSORS_TMP401=y # CONFIG_SENSORS_TMP421 is not set # CONFIG_SENSORS_VT1211 is not set @@ -1093,56 +1250,80 @@ CONFIG_SENSORS_TMP401=y # CONFIG_SENSORS_W83791D is not set # CONFIG_SENSORS_W83792D is not set # CONFIG_SENSORS_W83793 is not set +# CONFIG_SENSORS_W83795 is not set # CONFIG_SENSORS_W83L785TS is not set # CONFIG_SENSORS_W83L786NG is not set # CONFIG_SENSORS_W83627HF is not set # CONFIG_SENSORS_W83627EHF is not set -# CONFIG_SENSORS_LIS3_I2C is not set CONFIG_THERMAL=y CONFIG_THERMAL_HWMON=y CONFIG_WATCHDOG=y +# CONFIG_WATCHDOG_CORE is not set # CONFIG_WATCHDOG_NOWAYOUT is not set # # Watchdog Device Drivers # # CONFIG_SOFT_WATCHDOG is not set +# CONFIG_DW_WATCHDOG is not set CONFIG_DAVINCI_WATCHDOG=m +# CONFIG_MAX63XX_WATCHDOG is not set CONFIG_SSB_POSSIBLE=y # # Sonics Silicon Backplane # # CONFIG_SSB is not set +CONFIG_BCMA_POSSIBLE=y + +# +# Broadcom specific AMBA +# +# CONFIG_BCMA is not set # # Multifunction device drivers # # CONFIG_MFD_CORE is not set +# CONFIG_MFD_88PM860X is not set # CONFIG_MFD_SM501 is not set # CONFIG_MFD_ASIC3 is not set # CONFIG_HTC_EGPIO is not set # CONFIG_HTC_PASIC3 is not set +# CONFIG_HTC_I2CPLD is not set +# CONFIG_TPS6105X is not set # CONFIG_TPS65010 is not set +# CONFIG_TPS6507X is not set +# CONFIG_MFD_TPS6586X is not set +# CONFIG_MFD_TPS65910 is not set +# CONFIG_MFD_TPS65912_I2C is not set # CONFIG_TWL4030_CORE is not set +# CONFIG_MFD_STMPE is not set +# CONFIG_MFD_TC3589X is not set # CONFIG_MFD_TMIO is not set # CONFIG_MFD_T7L66XB is not set # CONFIG_MFD_TC6387XB is not set # CONFIG_MFD_TC6393XB is not set # CONFIG_PMIC_DA903X is not set # CONFIG_PMIC_ADP5520 is not set +# CONFIG_MFD_MAX8925 is not set +# CONFIG_MFD_MAX8997 is not set +# CONFIG_MFD_MAX8998 is not set # CONFIG_MFD_WM8400 is not set -# CONFIG_MFD_WM831X is not set +# CONFIG_MFD_WM831X_I2C is not set # CONFIG_MFD_WM8350_I2C is not set +# CONFIG_MFD_WM8994 is not set # CONFIG_MFD_PCF50633 is not set -# CONFIG_AB3100_CORE is not set -# CONFIG_MFD_88PM8607 is not set +# CONFIG_ABX500_CORE is not set +# CONFIG_MFD_WL1273_CORE is not set +# CONFIG_MFD_AAT2870_CORE is not set # CONFIG_REGULATOR is not set # CONFIG_MEDIA_SUPPORT is not set # # Graphics support # +# CONFIG_DRM is not set # CONFIG_VGASTATE is not set # CONFIG_VIDEO_OUTPUT_CONTROL is not set # CONFIG_FB is not set @@ -1156,7 +1337,6 @@ CONFIG_SSB_POSSIBLE=y # # Console display driver support # -# CONFIG_VGA_CONSOLE is not set CONFIG_DUMMY_CONSOLE=y # CONFIG_SOUND is not set # CONFIG_HID_SUPPORT is not set @@ -1169,18 +1349,21 @@ CONFIG_LEDS_CLASS=y # # LED drivers # +# CONFIG_LEDS_LM3530 is not set # CONFIG_LEDS_PCA9532 is not set CONFIG_LEDS_GPIO=m -CONFIG_LEDS_GPIO_PLATFORM=y # CONFIG_LEDS_LP3944 is not set +# CONFIG_LEDS_LP5521 is not set +# CONFIG_LEDS_LP5523 is not set # CONFIG_LEDS_PCA955X is not set # CONFIG_LEDS_BD2802 is not set # CONFIG_LEDS_LT3593 is not set +# CONFIG_LEDS_RENESAS_TPU is not set +CONFIG_LEDS_TRIGGERS=y # # LED Triggers # -CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGER_TIMER=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set @@ -1198,32 +1381,35 @@ CONFIG_RTC_LIB=y # CONFIG_UIO is not set # -# TI VLYNQ +# Virtio drivers # +# CONFIG_VIRTIO_BALLOON is not set +# CONFIG_VIRTIO_MMIO is not set CONFIG_STAGING=y -# CONFIG_STAGING_EXCLUDE_BUILD is not set # CONFIG_ECHO is not set - -# -# Qualcomm MSM Camera And Video -# - -# -# Camera Sensor Selection -# -# CONFIG_INPUT_GPIO is not set # CONFIG_POHMELFS is not set -# CONFIG_PLAN9AUTH is not set +# CONFIG_IIO is not set +# CONFIG_XVMALLOC is not set +# CONFIG_ZRAM is not set +# CONFIG_FT1000 is not set # -# RAR Register Driver +# Speakup console speech # -# CONFIG_RAR_REGISTER is not set -# CONFIG_IIO is not set -# CONFIG_BATMAN_ADV is not set -# CONFIG_STRIP is not set +# CONFIG_SPEAKUP is not set +# CONFIG_TOUCHSCREEN_CLEARPAD_TM1217 is not set +# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set +# CONFIG_STAGING_MEDIA is not set CONFIG_SYSMOBTS_RTFIFO=m CONFIG_SYSMOBTS_MSGQUEUE=m +CONFIG_CLKDEV_LOOKUP=y + +# +# Hardware Spinlock drivers +# +CONFIG_IOMMU_SUPPORT=y +# CONFIG_VIRT_DRIVERS is not set +# CONFIG_PM_DEVFREQ is not set # # File systems @@ -1233,20 +1419,20 @@ CONFIG_SYSMOBTS_MSGQUEUE=m # CONFIG_EXT4_FS is not set # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set -# CONFIG_FS_POSIX_ACL is not set # CONFIG_XFS_FS is not set # CONFIG_GFS2_FS is not set -# CONFIG_OCFS2_FS is not set # CONFIG_BTRFS_FS is not set # CONFIG_NILFS2_FS is not set +# CONFIG_FS_POSIX_ACL is not set +CONFIG_EXPORTFS=m CONFIG_FILE_LOCKING=y CONFIG_FSNOTIFY=y CONFIG_DNOTIFY=y -CONFIG_INOTIFY=y CONFIG_INOTIFY_USER=y +# CONFIG_FANOTIFY is not set # CONFIG_QUOTA is not set -# CONFIG_AUTOFS_FS is not set -CONFIG_AUTOFS4_FS=y +# CONFIG_QUOTACTL is not set +# CONFIG_AUTOFS4_FS is not set # CONFIG_FUSE_FS is not set # @@ -1276,6 +1462,7 @@ CONFIG_PROC_PAGE_MONITOR=y CONFIG_SYSFS=y CONFIG_TMPFS=y # CONFIG_TMPFS_POSIX_ACL is not set +# CONFIG_TMPFS_XATTR is not set # CONFIG_HUGETLB_PAGE is not set # CONFIG_CONFIGFS_FS is not set CONFIG_MISC_FILESYSTEMS=y @@ -1297,6 +1484,7 @@ CONFIG_JFFS2_ZLIB=y # CONFIG_JFFS2_LZO is not set CONFIG_JFFS2_RTIME=y # CONFIG_JFFS2_RUBIN is not set +# CONFIG_LOGFS is not set CONFIG_CRAMFS=y # CONFIG_SQUASHFS is not set # CONFIG_VXFS_FS is not set @@ -1305,6 +1493,7 @@ CONFIG_CRAMFS=y # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_ROMFS_FS is not set +# CONFIG_PSTORE is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set CONFIG_NETWORK_FILESYSTEMS=y @@ -1313,24 +1502,20 @@ CONFIG_NFS_V3=y # CONFIG_NFS_V3_ACL is not set # CONFIG_NFS_V4 is not set CONFIG_ROOT_NFS=y -CONFIG_NFSD=y +CONFIG_NFSD=m CONFIG_NFSD_V3=y # CONFIG_NFSD_V3_ACL is not set # CONFIG_NFSD_V4 is not set CONFIG_LOCKD=y CONFIG_LOCKD_V4=y -CONFIG_EXPORTFS=y CONFIG_NFS_COMMON=y CONFIG_SUNRPC=y -# CONFIG_RPCSEC_GSS_KRB5 is not set -# CONFIG_RPCSEC_GSS_SPKM3 is not set -# CONFIG_SMB_FS is not set -CONFIG_CIFS=y +# CONFIG_CEPH_FS is not set +CONFIG_CIFS=m # CONFIG_CIFS_STATS is not set # CONFIG_CIFS_WEAK_PW_HASH is not set # CONFIG_CIFS_XATTR is not set # CONFIG_CIFS_DEBUG2 is not set -# CONFIG_CIFS_EXPERIMENTAL is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set @@ -1396,26 +1581,27 @@ CONFIG_NLS_ISO8859_1=y # CONFIG_NLS_KOI8_R is not set # CONFIG_NLS_KOI8_U is not set CONFIG_NLS_UTF8=m -# CONFIG_DLM is not set # # Kernel hacking # # CONFIG_PRINTK_TIME is not set +CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 CONFIG_ENABLE_WARN_DEPRECATED=y CONFIG_ENABLE_MUST_CHECK=y CONFIG_FRAME_WARN=1024 CONFIG_MAGIC_SYSRQ=y # CONFIG_STRIP_ASM_SYMS is not set # CONFIG_UNUSED_SYMBOLS is not set -CONFIG_DEBUG_FS=y +# CONFIG_DEBUG_FS is not set # CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_SHIRQ is not set -CONFIG_DETECT_SOFTLOCKUP=y -# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set -CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 +# CONFIG_LOCKUP_DETECTOR is not set +# CONFIG_HARDLOCKUP_DETECTOR is not set CONFIG_DETECT_HUNG_TASK=y +CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 CONFIG_SCHED_DEBUG=y @@ -1426,17 +1612,17 @@ CONFIG_TIMER_STATS=y # CONFIG_SLUB_STATS is not set # CONFIG_DEBUG_KMEMLEAK is not set CONFIG_DEBUG_PREEMPT=y -CONFIG_DEBUG_RT_MUTEXES=y -CONFIG_DEBUG_PI_LIST=y +# CONFIG_DEBUG_RT_MUTEXES is not set # CONFIG_RT_MUTEX_TESTER is not set # CONFIG_DEBUG_SPINLOCK is not set -CONFIG_DEBUG_MUTEXES=y +# CONFIG_DEBUG_MUTEXES is not set # CONFIG_DEBUG_LOCK_ALLOC is not set # CONFIG_PROVE_LOCKING is not set +# CONFIG_SPARSE_RCU_POINTER is not set # CONFIG_LOCK_STAT is not set -# CONFIG_DEBUG_SPINLOCK_SLEEP is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set -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 @@ -1444,63 +1630,47 @@ CONFIG_DEBUG_BUGVERBOSE=y # CONFIG_DEBUG_WRITECOUNT is not set # CONFIG_DEBUG_MEMORY_INIT is not set # CONFIG_DEBUG_LIST is not set +# CONFIG_TEST_LIST_SORT is not set # CONFIG_DEBUG_SG is not set # CONFIG_DEBUG_NOTIFIERS is not set # CONFIG_DEBUG_CREDENTIALS is not set CONFIG_FRAME_POINTER=y # CONFIG_BOOT_PRINTK_DELAY is not set # CONFIG_RCU_TORTURE_TEST is not set -CONFIG_RCU_CPU_STALL_DETECTOR=y # CONFIG_BACKTRACE_SELF_TEST is not set # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set # CONFIG_FAULT_INJECTION is not set -CONFIG_LATENCYTOP=y +# CONFIG_LATENCYTOP is not set # CONFIG_SYSCTL_SYSCALL_CHECK is not set -# CONFIG_PAGE_POISONING is not set -CONFIG_NOP_TRACER=y +# CONFIG_DEBUG_PAGEALLOC is not set CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_C_RECORDMCOUNT=y CONFIG_RING_BUFFER=y -CONFIG_EVENT_TRACING=y -CONFIG_CONTEXT_SWITCH_TRACER=y CONFIG_RING_BUFFER_ALLOW_SWAP=y -CONFIG_TRACING=y CONFIG_TRACING_SUPPORT=y -CONFIG_FTRACE=y -# CONFIG_FUNCTION_TRACER is not set -# CONFIG_IRQSOFF_TRACER is not set -# CONFIG_PREEMPT_TRACER is not set -# CONFIG_SCHED_TRACER is not set -# CONFIG_ENABLE_DEFAULT_TRACERS is not set -# CONFIG_BOOT_TRACER is not set -CONFIG_BRANCH_PROFILE_NONE=y -# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set -# CONFIG_PROFILE_ALL_BRANCHES is not set -# CONFIG_STACK_TRACER is not set -# CONFIG_KMEMTRACE is not set -# CONFIG_WORKQUEUE_TRACER is not set -# CONFIG_BLK_DEV_IO_TRACE is not set -# CONFIG_RING_BUFFER_BENCHMARK is not set -# CONFIG_DYNAMIC_DEBUG is not set +# CONFIG_FTRACE is not set +# CONFIG_DMA_API_DEBUG is not set +# CONFIG_ATOMIC64_SELFTEST is not set # CONFIG_SAMPLES is not set CONFIG_HAVE_ARCH_KGDB=y # CONFIG_KGDB is not set +# CONFIG_TEST_KSTRTOX is not set +# CONFIG_STRICT_DEVMEM is not set # CONFIG_ARM_UNWIND is not set -CONFIG_DEBUG_USER=y -CONFIG_DEBUG_ERRORS=y -# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_USER is not set # CONFIG_DEBUG_LL is not set -# CONFIG_OC_ETM is not set # # Security options # # CONFIG_KEYS is not set +# CONFIG_SECURITY_DMESG_RESTRICT is not set # CONFIG_SECURITY is not set # CONFIG_SECURITYFS is not set -# CONFIG_DEFAULT_SECURITY_SELINUX is not set -# CONFIG_DEFAULT_SECURITY_SMACK is not set -# CONFIG_DEFAULT_SECURITY_TOMOYO is not set CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_DEFAULT_SECURITY="" CONFIG_CRYPTO=y @@ -1517,9 +1687,11 @@ CONFIG_CRYPTO_BLKCIPHER2=y CONFIG_CRYPTO_HASH=y CONFIG_CRYPTO_HASH2=y CONFIG_CRYPTO_RNG2=y -CONFIG_CRYPTO_PCOMP=y +CONFIG_CRYPTO_PCOMP2=y CONFIG_CRYPTO_MANAGER=y CONFIG_CRYPTO_MANAGER2=y +# CONFIG_CRYPTO_USER is not set +CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y # CONFIG_CRYPTO_GF128MUL is not set CONFIG_CRYPTO_NULL=y CONFIG_CRYPTO_WORKQUEUE=y @@ -1540,7 +1712,7 @@ CONFIG_CRYPTO_AUTHENC=y CONFIG_CRYPTO_CBC=y # CONFIG_CRYPTO_CTR is not set # CONFIG_CRYPTO_CTS is not set -# CONFIG_CRYPTO_ECB is not set +CONFIG_CRYPTO_ECB=y # CONFIG_CRYPTO_LRW is not set # CONFIG_CRYPTO_PCBC is not set # CONFIG_CRYPTO_XTS is not set @@ -1557,7 +1729,7 @@ CONFIG_CRYPTO_HMAC=y # CONFIG_CRYPTO_CRC32C=y # CONFIG_CRYPTO_GHASH is not set -# CONFIG_CRYPTO_MD4 is not set +CONFIG_CRYPTO_MD4=y CONFIG_CRYPTO_MD5=y # CONFIG_CRYPTO_MICHAEL_MIC is not set # CONFIG_CRYPTO_RMD128 is not set @@ -1575,7 +1747,7 @@ CONFIG_CRYPTO_SHA256=m # CONFIG_CRYPTO_AES=y # CONFIG_CRYPTO_ANUBIS is not set -# CONFIG_CRYPTO_ARC4 is not set +CONFIG_CRYPTO_ARC4=y # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_CAST5 is not set @@ -1600,14 +1772,15 @@ CONFIG_CRYPTO_DES=y # Random Number Generation # # CONFIG_CRYPTO_ANSI_CPRNG is not set +# CONFIG_CRYPTO_USER_API_HASH is not set +# CONFIG_CRYPTO_USER_API_SKCIPHER is not set # CONFIG_CRYPTO_HW is not set -CONFIG_BINARY_PRINTF=y +# CONFIG_BINARY_PRINTF is not set # # Library routines # CONFIG_BITREVERSE=y -CONFIG_GENERIC_FIND_LAST_BIT=y CONFIG_CRC_CCITT=y # CONFIG_CRC16 is not set CONFIG_CRC_T10DIF=y @@ -1615,10 +1788,16 @@ CONFIG_CRC_T10DIF=y CONFIG_CRC32=y # CONFIG_CRC7 is not set CONFIG_LIBCRC32C=y +# CONFIG_CRC8 is not set CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=y +# CONFIG_XZ_DEC is not set +# CONFIG_XZ_DEC_BCJ is not set CONFIG_GENERIC_ALLOCATOR=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_DMA=y CONFIG_NLATTR=y +CONFIG_GENERIC_ATOMIC64=y +# CONFIG_AVERAGE is not set +# CONFIG_CORDIC is not set From f3f2d7149d6f78b1df6adcd12788e6f57c2d7f13 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 15 Jun 2012 23:42:24 +0200 Subject: [PATCH 032/908] u-boot: Modified the configuration in regrd to boot interruption Typing bts-delay will interrupt the boot and enter the command line of the bootloader. --- recipes-sysmobts/uboot/u-boot_2011.03.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/uboot/u-boot_2011.03.bbappend b/recipes-sysmobts/uboot/u-boot_2011.03.bbappend index d8078be054..d05f8e2edd 100644 --- a/recipes-sysmobts/uboot/u-boot_2011.03.bbappend +++ b/recipes-sysmobts/uboot/u-boot_2011.03.bbappend @@ -1,5 +1,5 @@ SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=ssh" -SRCREV = "9987f6df9b5109877b24eb4c0c43a5f0df16289b" +SRCREV = "e77802c0b8b818f502189f24e15f3ca47f1fa344" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" From 90a211eb560d7c984a444f9697ff1d06e4bca838 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 30 May 2012 11:20:26 +0200 Subject: [PATCH 033/908] meta-sysmocom-bsp: Backport the archives --- classes/archive-configured-source.bbclass | 14 + classes/archive-original-source.bbclass | 14 + classes/archive-patched-source.bbclass | 14 + classes/archiver.bbclass | 450 ++++++++++++++++++++++ 4 files changed, 492 insertions(+) create mode 100644 classes/archive-configured-source.bbclass create mode 100644 classes/archive-original-source.bbclass create mode 100644 classes/archive-patched-source.bbclass create mode 100644 classes/archiver.bbclass diff --git a/classes/archive-configured-source.bbclass b/classes/archive-configured-source.bbclass new file mode 100644 index 0000000000..1a609b36db --- /dev/null +++ b/classes/archive-configured-source.bbclass @@ -0,0 +1,14 @@ +# This file is for getting archiving packages with configured sources(archive 's' after configure stage),logs(archive 'temp' after package_write_rpm),dump data +# and creating diff file(get all environment variables and functions in building and mapping all content in 's' including patches to xxx.diff.gz. +# All archived packages will be deployed in ${DEPLOY_DIR}/sources + +inherit archiver + +# Get archiving package with configured sources including patches +do_configure[postfuncs] += "do_archive_configured_sources " + +# Get archiving package with temp(logs) and scripts(.bb and inc files) +do_package_write_rpm[prefuncs] += "do_archive_scripts_logs " + +# Get dump date and create diff file +do_package_write_rpm[postfuncs] += "do_dumpdata_create_diff_gz " diff --git a/classes/archive-original-source.bbclass b/classes/archive-original-source.bbclass new file mode 100644 index 0000000000..b08553365c --- /dev/null +++ b/classes/archive-original-source.bbclass @@ -0,0 +1,14 @@ +# This file is for getting archiving packages with original sources(archive 's' after unpack stage),patches,logs(archive 'temp' after package_write_rpm),dump data and +# creating diff file(get all environment variables and functions in building and mapping all content in 's' including patches to xxx.diff.gz. +# All archived packages will be deployed in ${DEPLOY_DIR}/sources + +inherit archiver + +# Get original sources archiving package with patches +do_unpack[postfuncs] += "do_archive_original_sources_patches " + +# Get archiving package with temp(logs) and scripts(.bb and inc files) +do_package_write_rpm[prefuncs] += "do_archive_scripts_logs " + +# Get dump date and create diff file +do_package_write_rpm[postfuncs] += "do_dumpdata_create_diff_gz " diff --git a/classes/archive-patched-source.bbclass b/classes/archive-patched-source.bbclass new file mode 100644 index 0000000000..a6d368f2ca --- /dev/null +++ b/classes/archive-patched-source.bbclass @@ -0,0 +1,14 @@ +# This file is for getting archiving packages with patched sources(archive 's' before do_patch stage),logs(archive 'temp' after package_write_rpm),dump data and +# creating diff file(get all environment variables and functions in building and mapping all content in 's' including patches to xxx.diff.gz. +# All archived packages will be deployed in ${DEPLOY_DIR}/sources + +inherit archiver + +# Get archiving package with patched sources including patches +do_patch[postfuncs] += "do_archive_patched_sources " + +# Get archiving package with logs(temp) and scripts(.bb and .inc files) +do_package_write_rpm[prefuncs] += "do_archive_scripts_logs " + +# Get dump date and create diff file +do_package_write_rpm[postfuncs] += "do_dumpdata_create_diff_gz " diff --git a/classes/archiver.bbclass b/classes/archiver.bbclass new file mode 100644 index 0000000000..59b58f4403 --- /dev/null +++ b/classes/archiver.bbclass @@ -0,0 +1,450 @@ +# This file is used for archiving sources ,patches,and logs to tarball. +# It also output building environment to xxx.dump.data and create xxx.diff.gz to record +# all content in ${S} to a diff file. + +ARCHIVE_EXCLUDE_FROM ?= ".pc autom4te.cache" +ARCHIVE_TYPE ?= "TAR SRPM" +DISTRO ?= "poky" +PATCHES_ARCHIVE_WITH_SERIES = 'TRUE' + +def get_bb_inc(d): + '''create a directory "script-logs" including .bb and .inc file in ${WORKDIR}''' + import re + import os + import shutil + + bbinc = [] + pat=re.compile('require\s*([^\s]*\.*)(.*)') + work_dir = d.getVar('WORKDIR', True) + bbfile = d.getVar('FILE', True) + bbdir = os.path.dirname(bbfile) + script_logs = os.path.join(work_dir,'script-logs') + bb_inc = os.path.join(script_logs,'bb_inc') + bb.mkdirhier(script_logs) + bb.mkdirhier(bb_inc) + + def find_file(dir,file): + for root, dirs, files in os.walk(dir): + if file in files: + return os.path.join(root,file) + + def get_inc (file): + f = open(file,'r') + for line in f.readlines(): + if 'require' not in line: + bbinc.append(file) + else: + try: + incfile = pat.match(line).group(1) + incfile = bb.data.expand(os.path.basename(incfile),d) + abs_incfile = find_file(bbdir,incfile) + if abs_incfile: + bbinc.append(abs_incfile) + get_inc(abs_incfile) + except AttributeError: + pass + get_inc(bbfile) + bbinc = list(set(bbinc)) + for bbincfile in bbinc: + shutil.copy(bbincfile,bb_inc) + + try: + bb.mkdirhier(os.path.join(script_logs,'temp')) + oe.path.copytree(os.path.join(work_dir,'temp'), os.path.join(script_logs,'temp')) + except (IOError,AttributeError): + pass + return script_logs + +def get_series(d): + '''copy patches and series file to a pointed directory which will be archived to tarball in ${WORKDIR}''' + import shutil + + src_patches=[] + pf = d.getVar('PF', True) + work_dir = d.getVar('WORKDIR', True) + s = d.getVar('S',True) + dest = os.path.join(work_dir, pf + '-series') + shutil.rmtree(dest, ignore_errors=True) + bb.mkdirhier(dest) + + src_uri = d.getVar('SRC_URI', True).split() + fetch = bb.fetch2.Fetch(src_uri, d) + locals = (fetch.localpath(url) for url in fetch.urls) + for local in locals: + src_patches.append(local) + if not cmp(work_dir,s): + tmp_list = src_patches + else: + tmp_list = src_patches[1:] + + for patch in tmp_list: + try: + shutil.copy(patch,dest) + except IOError: + if os.path.isdir(patch): + bb.mkdirhier(os.path.join(dest,patch)) + oe.path.copytree(patch, os.path.join(dest,patch)) + return dest + +def get_applying_patches(d): + """only copy applying patches to a pointed directory which will be archived to tarball""" + import os + import shutil + + + pf = d.getVar('PF', True) + work_dir = d.getVar('WORKDIR', True) + dest = os.path.join(work_dir, pf + '-patches') + shutil.rmtree(dest, ignore_errors=True) + bb.mkdirhier(dest) + + + patches = src_patches(d) + for patch in patches: + _, _, local, _, _, parm = bb.decodeurl(patch) + if local: + shutil.copy(local,dest) + return dest + +def not_tarball(d): + '''packages including key words 'work-shared','native', 'task-' will be passed''' + import os + + workdir = d.getVar('WORKDIR',True) + s = d.getVar('S',True) + if 'work-shared' in s or 'task-' in workdir or 'native' in workdir: + return True + else: + return False + +def get_source_from_downloads(d,stage_name): + '''copy tarball of $P to $WORKDIR when this tarball exists in $DL_DIR''' + if stage_name in 'patched' 'configured': + return + pf = d.getVar('PF', True) + dl_dir = d.getVar('DL_DIR',True) + try: + source = os.path.join(dl_dir,os.path.basename(d.getVar('SRC_URI', True).split()[0])) + if os.path.exists(source) and not os.path.isdir(source): + return source + except (IndexError, OSError): + pass + return '' + +def do_tarball(workdir,srcdir,tarname): + '''tar "srcdir" under "workdir" to "tarname"''' + import tarfile + + sav_dir = os.getcwd() + os.chdir(workdir) + if (len(os.listdir(srcdir))) != 0: + tar = tarfile.open(tarname, "w:gz") + tar.add(srcdir) + tar.close() + else: + tarname = '' + os.chdir(sav_dir) + return tarname + +def archive_sources_from_directory(d,stage_name): + '''archive sources codes tree to tarball when tarball of $P doesn't exist in $DL_DIR''' + import shutil + + s = d.getVar('S',True) + work_dir=d.getVar('WORKDIR', True) + PF = d.getVar('PF',True) + tarname = PF + '-' + stage_name + ".tar.gz" + + if os.path.exists(s) and work_dir in s: + try: + source_dir = os.path.join(work_dir,[ i for i in s.replace(work_dir,'').split('/') if i][0]) + except IndexError: + if not cmp(s,work_dir): + return '' + else: + return '' + source = os.path.basename(source_dir) + return do_tarball(work_dir,source,tarname) + +def archive_sources(d,stage_name): + '''copy tarball from $DL_DIR to $WORKDIR if have tarball, archive source codes tree in $WORKDIR if $P is directory instead of tarball''' + import shutil + work_dir = d.getVar('WORKDIR',True) + file = get_source_from_downloads(d,stage_name) + if file: + shutil.copy(file,work_dir) + file = os.path.basename(file) + else: + file = archive_sources_from_directory(d,stage_name) + return file + + +def archive_patches(d,patchdir,series): + '''archive patches to tarball and also include series files if 'series' is True''' + import shutil + + s = d.getVar('S',True) + work_dir = d.getVar('WORKDIR', True) + patch_dir = os.path.basename(patchdir) + tarname = patch_dir + ".tar.gz" + if series == 'all' and os.path.exists(os.path.join(s,'patches/series')): + shutil.copy(os.path.join(s,'patches/series'),patchdir) + tarname = do_tarball(work_dir,patch_dir,tarname) + shutil.rmtree(patchdir, ignore_errors=True) + return tarname + +def select_archive_patches(d,option): + '''select to archive all patches including non-applying and series or applying patches ''' + if option == "all": + patchdir = get_series(d) + elif option == "applying": + patchdir = get_applying_patches(d) + try: + os.rmdir(patchdir) + except OSError: + tarpatch = archive_patches(d,patchdir,option) + return tarpatch + return + +def archive_logs(d,logdir,bbinc=False): + '''archive logs in temp to tarball and .bb and .inc files if bbinc is True ''' + import shutil + + pf = d.getVar('PF',True) + work_dir = d.getVar('WORKDIR',True) + log_dir = os.path.basename(logdir) + tarname = pf + '-' + log_dir + ".tar.gz" + tarname = do_tarball(work_dir,log_dir,tarname) + if bbinc: + shutil.rmtree(logdir, ignore_errors=True) + return tarname + +def get_licenses(d): + '''get licenses for running .bb file''' + licenses = d.getVar('LICENSE', 1).replace('&', '|') + licenses = licenses.replace('(', '').replace(')', '') + clean_licenses = "" + for x in licenses.split(): + if x.strip() == '' or x == 'CLOSED': + continue + if x != "|": + clean_licenses += x + if '|' in clean_licenses: + clean_licenses = clean_licenses.replace('|','') + return clean_licenses + + +def move_tarball_deploy(d,tarball_list): + '''move tarball in location to ${DEPLOY_DIR}/sources''' + import shutil + + if tarball_list is []: + return + target_sys = d.getVar('TARGET_SYS', True) + pf = d.getVar('PF', True) + licenses = get_licenses(d) + work_dir = d.getVar('WORKDIR',True) + tar_sources = d.getVar('DEPLOY_DIR', True) + '/sources/' + target_sys + '/' + licenses + '/' + pf + if not os.path.exists(tar_sources): + bb.mkdirhier(tar_sources) + for source in tarball_list: + if source: + if os.path.exists(os.path.join(tar_sources, source)): + os.remove(os.path.join(tar_sources,source)) + shutil.move(os.path.join(work_dir,source),tar_sources) + +def check_archiving_type(d): + '''check the type for archiving package('tar' or 'srpm')''' + try: + if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in d.getVar('ARCHIVE_TYPE', True).split(): + raise AttributeError + except AttributeError: + bb.fatal("\"SOURCE_ARCHIVE_PACKAGE_TYPE\" is \'tar\' or \'srpm\', no other types") + +def store_package(d,package_name): + '''store tarbablls name to file "tar-package"''' + try: + f = open(os.path.join(d.getVar('WORKDIR',True),'tar-package'),'a') + f.write(package_name + ' ') + f.close() + except IOError: + pass + +def get_package(d): + '''get tarballs name from "tar-package"''' + work_dir = (d.getVar('WORKDIR', True)) + tarpackage = os.path.join(work_dir,'tar-package') + try: + f = open(tarpackage,'r') + line = list(set(f.readline().replace('\n','').split())) + except IOError: + pass + f.close() + return line + + +def archive_sources_patches(d,stage_name): + '''archive sources and patches to tarball. stage_name will append strings ${stage_name} to ${PR} as middle name. for example, zlib-1.4.6-prepatch(stage_name).tar.gz ''' + import shutil + + check_archiving_type(d) + if not_tarball(d): + return + + source_tar_name = archive_sources(d,stage_name) + if stage_name == "prepatch": + if d.getVar('PATCHES_ARCHIVE_WITH_SERIES',True).upper() == 'TRUE': + patch_tar_name = select_archive_patches(d,"all") + elif d.getVar('PATCHES_ARCHIVE_WITH_SERIES',True).upper() == 'FALSE': + patch_tar_name = select_archive_patches(d,"applying") + else: + bb.fatal("Please define 'PATCHES_ARCHIVE_WITH_SERIES' is strings 'True' or 'False' ") + else: + patch_tar_name = '' + + if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM': + move_tarball_deploy(d,[source_tar_name,patch_tar_name]) + else: + tarpackage = os.path.join(d.getVar('WORKDIR', True),'tar-package') + if os.path.exists(tarpackage): + os.remove(tarpackage) + for package in os.path.basename(source_tar_name), patch_tar_name: + if package: + store_package(d,str(package) + ' ') + +def archive_scripts_logs(d): + '''archive scripts and logs. scripts include .bb and .inc files and logs include stuff in "temp".''' + + work_dir = d.getVar('WORKDIR', True) + temp_dir = os.path.join(work_dir,'temp') + source_archive_log_with_scripts = d.getVar('SOURCE_ARCHIVE_LOG_WITH_SCRIPTS', True) + if source_archive_log_with_scripts == 'logs_with_scripts': + logdir = get_bb_inc(d) + tarlog = archive_logs(d,logdir,True) + elif source_archive_log_with_scripts == 'logs': + if os.path.exists(temp_dir): + tarlog = archive_logs(d,temp_dir,False) + else: + return + + if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM': + move_tarball_deploy(d,[tarlog]) + + else: + store_package(d,tarlog) + +def dumpdata(d): + '''dump environment to "${P}-${PR}.showdata.dump" including all kinds of variables and functions when running a task''' + workdir = bb.data.getVar('WORKDIR', d, 1) + distro = bb.data.getVar('DISTRO', d, 1) + s = d.getVar('S', True) + pf = d.getVar('PF', True) + target_sys = d.getVar('TARGET_SYS', True) + licenses = get_licenses(d) + dumpdir = d.getVar('DEPLOY_DIR', True) + '/sources/' + target_sys + '/' + licenses + '/' + pf + if not os.path.exists(dumpdir): + bb.mkdirhier(dumpdir) + + dumpfile = os.path.join(dumpdir, bb.data.expand("${P}-${PR}.showdata.dump",d)) + + bb.note("Dumping metadata into '%s'" % dumpfile) + f = open(dumpfile, "w") + # emit variables and shell functions + bb.data.emit_env(f, d, True) + # emit the metadata which isnt valid shell + for e in d.keys(): + if bb.data.getVarFlag(e, 'python', d): + f.write("\npython %s () {\n%s}\n" % (e, bb.data.getVar(e, d, 1))) + f.close() + +def create_diff_gz(d): + '''creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.g gz for mapping all content in 's' including patches to xxx.diff.gz''' + import shutil + + work_dir = d.getVar('WORKDIR', True) + exclude_from = d.getVar('ARCHIVE_EXCLUDE_FROM', True).split() + pf = d.getVar('PF', True) + licenses = get_licenses(d) + target_sys = d.getVar('TARGET_SYS', True) + diff_dir = d.getVar('DEPLOY_DIR', True) + '/sources/' + target_sys + '/' + licenses + '/' + pf + diff_file = os.path.join(diff_dir, bb.data.expand("${P}-${PR}.diff.gz",d)) + + f = open(os.path.join(work_dir,'temp/exclude-from-file'), 'a') + for i in exclude_from: + f.write(i) + f.write("\n") + f.close() + + s=d.getVar('S', True) + distro = d.getVar('DISTRO',True) + dest = s + '/' + distro + '/files' + if not os.path.exists(dest): + bb.mkdirhier(dest) + for i in os.listdir(os.getcwd()): + if os.path.isfile(i): + try: + shutil.copy(i, dest) + except IOError: + os.system('fakeroot cp -rf ' + i + " " + dest ) + + bb.note("Creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz") + cmd = "LC_ALL=C TZ=UTC0 diff --exclude-from=" + work_dir + "/temp/exclude-from-file -Naur " + s + '.org' + ' ' + s + " | gzip -c > " + diff_file + d.setVar('DIFF', cmd + "\n") + d.setVarFlag('DIFF', 'func', '1') + bb.build.exec_func('DIFF', d) + shutil.rmtree(s + '.org', ignore_errors=True) + +# This function will run when user want to get tarball for sources and patches after do_unpack +python do_archive_original_sources_patches(){ + archive_sources_patches(d,'prepatch') +} + +# This function will run when user want to get tarball for patched sources after do_patch +python do_archive_patched_sources(){ + archive_sources_patches(d,'patched') +} + +# This function will run when user want to get tarball for configured sources after do_configure +python do_archive_configured_sources(){ + archive_sources_patches(d,'configured') +} + +# This function will run when user want to get tarball for logs or both logs and scripts(.bb and .inc files) +python do_archive_scripts_logs(){ + archive_scripts_logs(d) +} + +# This function will run when user want to know what variable and functions in a running task are and also can get a diff file including +# all content a package should include. +python do_dumpdata_create_diff_gz(){ + dumpdata(d) + create_diff_gz(d) +} + +# This functions prepare for archiving "linux-yocto" because this package create directory 's' before do_patch instead of after do_unpack. +# This is special control for archiving linux-yocto only. +python do_archive_linux_yocto(){ + s = d.getVar('S', True) + if 'linux-yocto' in s: + source_tar_name = archive_sources(d,'') + if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM': + move_tarball_deploy(d,[source_tar_name,'']) +} +do_kernel_checkout[postfuncs] += "do_archive_linux_yocto " + +# remove tarball for sources, patches and logs after creating srpm. +python do_remove_tarball(){ + if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() == 'SRPM': + work_dir = d.getVar('WORKDIR', True) + try: + for file in os.listdir(os.getcwd()): + if file in get_package(d): + os.remove(file) + os.remove(os.path.join(work_dir,'tar-package')) + except (TypeError,OSError): + pass +} +do_remove_taball[deptask] = "do_archive_scripts_logs" +do_package_write_rpm[postfuncs] += "do_remove_tarball " +export get_licenses +export get_package From 0f6a89c788daf92c873a4455d18939a38821c034 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Jul 2012 15:26:16 +0800 Subject: [PATCH 034/908] linux-sysmocom: Build the kernel with MMC support, package the modules Autoload mmc_block and the davinci_mmc module. This will load the mmc_core module as another dependency. --- recipes-bsp/linux/files/sysmobts-v2/defconfig | 51 ++++++++++++++++--- recipes-bsp/linux/linux-sysmocom_git.bb | 4 +- 2 files changed, 48 insertions(+), 7 deletions(-) diff --git a/recipes-bsp/linux/files/sysmobts-v2/defconfig b/recipes-bsp/linux/files/sysmobts-v2/defconfig index 93fa160f68..4ca8232052 100644 --- a/recipes-bsp/linux/files/sysmobts-v2/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v2/defconfig @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 3.2.14 Kernel Configuration +# Linux/arm 3.2.19 Kernel Configuration # CONFIG_ARM=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y @@ -880,6 +880,7 @@ CONFIG_EEPROM_AT24=y # CONFIG_EEPROM_LEGACY is not set # CONFIG_EEPROM_MAX6875 is not set # CONFIG_EEPROM_93CX6 is not set +# CONFIG_IWMC3200TOP is not set # # Texas Instruments shared transport line discipline @@ -1346,7 +1347,28 @@ CONFIG_DUMMY_CONSOLE=y # CONFIG_SOUND is not set # CONFIG_HID_SUPPORT is not set # CONFIG_USB_SUPPORT is not set -# CONFIG_MMC is not set +CONFIG_MMC=m +# CONFIG_MMC_DEBUG is not set +# CONFIG_MMC_UNSAFE_RESUME is not set +# CONFIG_MMC_CLKGATE is not set + +# +# MMC/SD/SDIO Card Drivers +# +CONFIG_MMC_BLOCK=m +CONFIG_MMC_BLOCK_MINORS=8 +CONFIG_MMC_BLOCK_BOUNCE=y +# CONFIG_SDIO_UART is not set +# CONFIG_MMC_TEST is not set + +# +# MMC/SD/SDIO Host Controller Drivers +# +# CONFIG_MMC_SDHCI is not set +# CONFIG_MMC_SDHCI_PXAV3 is not set +# CONFIG_MMC_SDHCI_PXAV2 is not set +CONFIG_MMC_DAVINCI=m +# CONFIG_MMC_DW is not set # CONFIG_MEMSTICK is not set CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y @@ -1420,8 +1442,22 @@ CONFIG_IOMMU_SUPPORT=y # File systems # # CONFIG_EXT2_FS is not set -# CONFIG_EXT3_FS is not set -# CONFIG_EXT4_FS is not set +CONFIG_EXT3_FS=m +CONFIG_EXT3_DEFAULTS_TO_ORDERED=y +CONFIG_EXT3_FS_XATTR=y +# CONFIG_EXT3_FS_POSIX_ACL is not set +# CONFIG_EXT3_FS_SECURITY is not set +CONFIG_EXT4_FS=m +CONFIG_EXT4_USE_FOR_EXT23=y +CONFIG_EXT4_FS_XATTR=y +# CONFIG_EXT4_FS_POSIX_ACL is not set +# CONFIG_EXT4_FS_SECURITY is not set +# CONFIG_EXT4_DEBUG is not set +CONFIG_JBD=m +# CONFIG_JBD_DEBUG is not set +CONFIG_JBD2=m +# CONFIG_JBD2_DEBUG is not set +CONFIG_FS_MBCACHE=m # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_XFS_FS is not set @@ -1454,8 +1490,11 @@ CONFIG_AUTOFS4_FS=y # # DOS/FAT/NT Filesystems # -# CONFIG_MSDOS_FS is not set -# CONFIG_VFAT_FS is not set +CONFIG_FAT_FS=m +CONFIG_MSDOS_FS=m +CONFIG_VFAT_FS=m +CONFIG_FAT_DEFAULT_CODEPAGE=437 +CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" # CONFIG_NTFS_FS is not set # diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index f7bb6233bb..a05bbef949 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -12,7 +12,7 @@ BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" SRCREV = "561f53aa574a18a061c5130e0be0f3622ddbc037" -PR = "r19" +PR = "r23" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/linux.git;protocol=ssh;branch=v3.2 \ @@ -34,10 +34,12 @@ do_configure() { } # 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" From 9257e4b8a13b35966fe2a7e450f9a7f8ddc88e1f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Jul 2012 15:28:37 +0800 Subject: [PATCH 035/908] femtobts-api: Force an upgrade due some local modifications for supporting RevB hardware --- recipes-sysmobts/femtobts-api/femtobts-api_git.bb | 2 +- recipes-sysmobts/firmware/sysmobts-firmware_git.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb index f6ed59c83c..d7773860fc 100644 --- a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -5,7 +5,7 @@ LICENSE = "CLOSED" SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/femtobts-firmware.git;protocol=ssh;branch=master" SRCREV = "6656cf9df31adb0d5514689db6f00119c237dea0" PV = "2.4+git${SRCPV}" -PR = "r5" +PR = "r6" S = "${WORKDIR}/git" diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb index 0d8a7a1649..a00b4a3efa 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb @@ -8,7 +8,7 @@ SRCREV = "6656cf9df31adb0d5514689db6f00119c237dea0" S = "${WORKDIR}/git" PV = "1.0+git${SRCPV}" -PR = "r5" +PR = "r6" do_compile() { : From e6ec2228da78b4438c78868cb77ec772b847ed31 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Jul 2012 10:25:00 +0200 Subject: [PATCH 036/908] osmo-bts: Upgrade the osmo-bts version for various bugfixes This is fixing the GSMTAP debug support and permanent paging. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index fa81dfaeb1..2c7d1d78e3 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "ad3e31dc4b9ee1063d9e633ca884315b5a5c9710" -SRCREV_openbsc = "46cb8514a5a60459214ddee776b37a422abb625e" +SRCREV_osmobts = "b19592f7134baeae1541e55b6efead887739291d" +SRCREV_openbsc = "019f913ca383bda9256e273c06327041b1761330" PV = "0.0+git${SRCPV}" -PR = "r16" +PR = "r19" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From e568fa2c271a13144811c62fedc72977df8ad9e8 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Jul 2012 10:28:22 +0200 Subject: [PATCH 037/908] osmo-bts: The start script is using nice, depend on coreutils for that Our version of busybox does not provide the nice command, use the fullblown coreutils instead. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 2c7d1d78e3..df080643e1 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,11 +7,12 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=os SRCREV_osmobts = "b19592f7134baeae1541e55b6efead887739291d" SRCREV_openbsc = "019f913ca383bda9256e273c06327041b1761330" PV = "0.0+git${SRCPV}" -PR = "r19" +PR = "r20" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" DEPENDS = "libosmocore libosmo-abis femtobts-api" +RDEPENDS_${PN} += "coreutils" EXTRA_OECONF += "--enable-sysmocom-bts" From ae891be609ab8dadb5c6cb8fd8902af32bb46f35 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Jul 2012 20:47:24 +0800 Subject: [PATCH 038/908] ca-certificates: Taken from meta-openembedded needed for wget I upgraded it to 20120623 and updated checksums. --- ...date-ca-certificates-remove-c-rehash.patch | 45 +++++++++++++++++++ .../ca-certificates_20120623.bb | 42 +++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 recipes-extra/ca-certificates/ca-certificates/0001-update-ca-certificates-remove-c-rehash.patch create mode 100644 recipes-extra/ca-certificates/ca-certificates_20120623.bb diff --git a/recipes-extra/ca-certificates/ca-certificates/0001-update-ca-certificates-remove-c-rehash.patch b/recipes-extra/ca-certificates/ca-certificates/0001-update-ca-certificates-remove-c-rehash.patch new file mode 100644 index 0000000000..ccb0efcc6c --- /dev/null +++ b/recipes-extra/ca-certificates/ca-certificates/0001-update-ca-certificates-remove-c-rehash.patch @@ -0,0 +1,45 @@ +From 111e905fe931da1a3800accfc675cc01c8ee080c Mon Sep 17 00:00:00 2001 +From: Ulf Samuelsson +Date: Tue, 28 Feb 2012 06:42:58 +0100 +Subject: [PATCH] update-ca-certificates: remove c rehash + +Updated earlier patch to apply clean on 2012-02-12 +Signed-off-by: Ulf Samuelsson +--- + sbin/update-ca-certificates | 20 ++++++++++---------- + 1 files changed, 10 insertions(+), 10 deletions(-) + +diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates +index 5375950..c567e3d 100755 +--- a/sbin/update-ca-certificates ++++ b/sbin/update-ca-certificates +@@ -132,16 +132,16 @@ rm -f "$CERTBUNDLE" + ADDED_CNT=$(wc -l < "$ADDED") + REMOVED_CNT=$(wc -l < "$REMOVED") + +-if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ] +-then +- # only run if set of files has changed +- if [ "$verbose" = 0 ] +- then +- c_rehash . > /dev/null +- else +- c_rehash . +- fi +-fi ++#if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ] ++#then ++# # only run if set of files has changed ++# if [ "$verbose" = 0 ] ++# then ++# c_rehash . > /dev/null ++# else ++# c_rehash . ++# fi ++#fi + + chmod 0644 "$TEMPBUNDLE" + mv -f "$TEMPBUNDLE" "$CERTBUNDLE" +-- +1.7.4.1 + diff --git a/recipes-extra/ca-certificates/ca-certificates_20120623.bb b/recipes-extra/ca-certificates/ca-certificates_20120623.bb new file mode 100644 index 0000000000..66150f07b9 --- /dev/null +++ b/recipes-extra/ca-certificates/ca-certificates_20120623.bb @@ -0,0 +1,42 @@ +DESCRIPTION = "Common CA certificates" +HOMEPAGE = "http://packages.debian.org/sid/ca-certificates" +SECTION = "misc" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=6135800ff6d893c7904d7aad90972eb5" + +SRC_URI = "${DEBIAN_MIRROR}/main/c/ca-certificates/ca-certificates_${PV}.tar.gz \ + file://0001-update-ca-certificates-remove-c-rehash.patch" + +SRC_URI[md5sum] = "5105d4cc086f0d4ecf7bf2e4c4667289" +SRC_URI[sha256sum] = "878cd1130ba056fe5f96decde7e5fc1b71d35eb8565a1515744912e100731ee9" + +inherit autotools allarch + +do_install_prepend() { + mkdir -p ${D}/usr/share/ca-certificates + mkdir -p ${D}/usr/sbin + mkdir -p ${D}/etc/ssl/certs + mkdir -p ${D}/etc/ca-certificates/update.d +} + +do_install_append() { + cd ${D}/usr/share/ca-certificates + echo "# Lines starting with # will be ignored" > ${D}/etc/ca-certificates.conf + echo "# Lines starting with ! will remove certificate on next update" >> ${D}/etc/ca-certificates.conf + echo "#" >> ${D}/etc/ca-certificates.conf + for crt in $(find . -type f -name '*.crt' -print) + do + crt=$(echo $crt | sed -e 's/\.\///') + echo $crt >> ${D}/etc/ca-certificates.conf + done +} + +pkg_postinst_${PN} () { +if [ -n "$D" ] ; then + exit 1 +fi + +${sbindir}/update-ca-certificates +} + +CONFFILES_${PN} = "/etc/ca-certificates.conf" From e423b30a83bf4ad14a0a3db619faccd979aa4573 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Jul 2012 20:48:46 +0800 Subject: [PATCH 039/908] task-sysmocom: Install wget and certificates for ssl --- recipes-apps/images/sysmocom-image.inc | 2 +- recipes-apps/tasks/task-sysmocom.bb | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-apps/images/sysmocom-image.inc b/recipes-apps/images/sysmocom-image.inc index 1175e9c205..70baeb6766 100644 --- a/recipes-apps/images/sysmocom-image.inc +++ b/recipes-apps/images/sysmocom-image.inc @@ -1,5 +1,5 @@ DEPENDS = "${MACHINE_EXTRA_RDEPENDS}" -IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools ${MACHINE_EXTRA_RDEPENDS} wget" +IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools ${MACHINE_EXTRA_RDEPENDS} " IMAGE_LINGUAS = " " LICENSE = "MIT" diff --git a/recipes-apps/tasks/task-sysmocom.bb b/recipes-apps/tasks/task-sysmocom.bb index c417847fa5..429f1dc83d 100644 --- a/recipes-apps/tasks/task-sysmocom.bb +++ b/recipes-apps/tasks/task-sysmocom.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY = "1" -PR = "r7" +PR = "r8" RDEPENDS_task-sysmocom = "\ task-sysmocom-tools \ @@ -14,5 +14,7 @@ RDEPENDS_task-sysmocom = "\ osmo-gbproxy \ osmo-nitb \ ipaccess-utils \ + wget \ + ca-certificates \ " From 4df56218263913830d71b4c48be866279702c78a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Jul 2012 22:18:04 +0800 Subject: [PATCH 040/908] ca-cacert-root: Do not use the full-blown ca-certificates First ca-certificates does not create a symlink from /etc/ssl/certs to /usr/lib/ssl/certs, second it does not run the c_rehash perl utility making the recipe pretty useless and third it trusts way too many cert authorities. --- recipes-apps/tasks/task-sysmocom.bb | 4 +- .../ca-certificates/ca-cacert-rootcert.bb | 15 +++++++ .../ca-certificates/files/class3.crt | 42 +++++++++++++++++++ 3 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 recipes-extra/ca-certificates/ca-cacert-rootcert.bb create mode 100644 recipes-extra/ca-certificates/files/class3.crt diff --git a/recipes-apps/tasks/task-sysmocom.bb b/recipes-apps/tasks/task-sysmocom.bb index 429f1dc83d..acd4a52a9f 100644 --- a/recipes-apps/tasks/task-sysmocom.bb +++ b/recipes-apps/tasks/task-sysmocom.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY = "1" -PR = "r8" +PR = "r9" RDEPENDS_task-sysmocom = "\ task-sysmocom-tools \ @@ -15,6 +15,6 @@ RDEPENDS_task-sysmocom = "\ osmo-nitb \ ipaccess-utils \ wget \ - ca-certificates \ + ca-cacert-rootcert \ " diff --git a/recipes-extra/ca-certificates/ca-cacert-rootcert.bb b/recipes-extra/ca-certificates/ca-cacert-rootcert.bb new file mode 100644 index 0000000000..fae8e8737b --- /dev/null +++ b/recipes-extra/ca-certificates/ca-cacert-rootcert.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "CACert Class3 PKI" +HOMEPAGE = "http://www.cacert.org/index.php?id=3" +SECTION = "misc" +LICENSE = "RDL-COD14" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" +PR = "r2" + +SRC_URI = "file://class3.crt" + +do_install() { + install -d ${D}${libdir}/ssl/certs + install -m 0644 ${WORKDIR}/class3.crt ${D}${libdir}/ssl/certs/e5662767.0 +} + +FILES_${PN} = "${libdir}/ssl/certs/*" diff --git a/recipes-extra/ca-certificates/files/class3.crt b/recipes-extra/ca-certificates/files/class3.crt new file mode 100644 index 0000000000..087ca0e52a --- /dev/null +++ b/recipes-extra/ca-certificates/files/class3.crt @@ -0,0 +1,42 @@ +-----BEGIN CERTIFICATE----- +MIIHWTCCBUGgAwIBAgIDCkGKMA0GCSqGSIb3DQEBCwUAMHkxEDAOBgNVBAoTB1Jv +b3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEiMCAGA1UEAxMZ +Q0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJARYSc3VwcG9y +dEBjYWNlcnQub3JnMB4XDTExMDUyMzE3NDgwMloXDTIxMDUyMDE3NDgwMlowVDEU +MBIGA1UEChMLQ0FjZXJ0IEluYy4xHjAcBgNVBAsTFWh0dHA6Ly93d3cuQ0FjZXJ0 +Lm9yZzEcMBoGA1UEAxMTQ0FjZXJ0IENsYXNzIDMgUm9vdDCCAiIwDQYJKoZIhvcN +AQEBBQADggIPADCCAgoCggIBAKtJNRFIfNImflOUz0Op3SjXQiqL84d4GVh8D57a +iX3h++tykA10oZZkq5+gJJlz2uJVdscXe/UErEa4w75/ZI0QbCTzYZzA8pD6Ueb1 +aQFjww9W4kpCz+JEjCUoqMV5CX1GuYrz6fM0KQhF5Byfy5QEHIGoFLOYZcRD7E6C +jQnRvapbjZLQ7N6QxX8KwuPr5jFaXnQ+lzNZ6MMDPWAzv/fRb0fEze5ig1JuLgia +pNkVGJGmhZJHsK5I6223IeyFGmhyNav/8BBdwPSUp2rVO5J+TJAFfpPBLIukjmJ0 +FXFuC3ED6q8VOJrU0gVyb4z5K+taciX5OUbjchs+BMNkJyIQKopPWKcDrb60LhPt +XapI19V91Cp7XPpGBFDkzA5CW4zt2/LP/JaT4NsRNlRiNDiPDGCbO5dWOK3z0luL +oFvqTpa4fNfVoIZwQNORKbeiPK31jLvPGpKK5DR7wNhsX+kKwsOnIJpa3yxdUly6 +R9Wb7yQocDggL9V/KcCyQQNokszgnMyXS0XvOhAKq3A6mJVwrTWx6oUrpByAITGp +rmB6gCZIALgBwJNjVSKRPFbnr9s6JfOPMVTqJouBWfmh0VMRxXudA/Z0EeBtsSw/ +LIaRmXGapneLNGDRFLQsrJ2vjBDTn8Rq+G8T/HNZ92ZCdB6K4/jc0m+YnMtHmJVA +BfvpAgMBAAGjggINMIICCTAdBgNVHQ4EFgQUdahxYEyIE/B42Yl3tW3Fid+8sXow +gaMGA1UdIwSBmzCBmIAUFrUyG9TH8+DmjvO90rA67rI5GNGhfaR7MHkxEDAOBgNV +BAoTB1Jvb3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEiMCAG +A1UEAxMZQ0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJARYS +c3VwcG9ydEBjYWNlcnQub3JnggEAMA8GA1UdEwEB/wQFMAMBAf8wXQYIKwYBBQUH +AQEEUTBPMCMGCCsGAQUFBzABhhdodHRwOi8vb2NzcC5DQWNlcnQub3JnLzAoBggr +BgEFBQcwAoYcaHR0cDovL3d3dy5DQWNlcnQub3JnL2NhLmNydDBKBgNVHSAEQzBB +MD8GCCsGAQQBgZBKMDMwMQYIKwYBBQUHAgEWJWh0dHA6Ly93d3cuQ0FjZXJ0Lm9y +Zy9pbmRleC5waHA/aWQ9MTAwNAYJYIZIAYb4QgEIBCcWJWh0dHA6Ly93d3cuQ0Fj +ZXJ0Lm9yZy9pbmRleC5waHA/aWQ9MTAwUAYJYIZIAYb4QgENBEMWQVRvIGdldCB5 +b3VyIG93biBjZXJ0aWZpY2F0ZSBmb3IgRlJFRSwgZ28gdG8gaHR0cDovL3d3dy5D +QWNlcnQub3JnMA0GCSqGSIb3DQEBCwUAA4ICAQApKIWuRKm5r6R5E/CooyuXYPNc +7uMvwfbiZqARrjY3OnYVBFPqQvX56sAV2KaC2eRhrnILKVyQQ+hBsuF32wITRHhH +Va9Y/MyY9kW50SD42CEH/m2qc9SzxgfpCYXMO/K2viwcJdVxjDm1Luq+GIG6sJO4 +D+Pm1yaMMVpyA4RS5qb1MyJFCsgLDYq4Nm+QCaGrvdfVTi5xotSu+qdUK+s1jVq3 +VIgv7nSf7UgWyg1I0JTTrKSi9iTfkuO960NAkW4cGI5WtIIS86mTn9S8nK2cde5a +lxuV53QtHA+wLJef+6kzOXrnAzqSjiL2jA3k2X4Ndhj3AfnvlpaiVXPAPHG0HRpW +Q7fDCo1y/OIQCQtBzoyUoPkD/XFzS4pXM+WOdH4VAQDmzEoc53+VGS3FpQyLu7Xt +hbNc09+4ufLKxw0BFKxwWMWMjTPUnWajGlCVI/xI4AZDEtnNp4Y5LzZyo4AQ5OHz +0ctbGsDkgJp8E3MGT9ujayQKurMcvEp4u+XjdTilSKeiHq921F73OIZWWonO1sOn +ebJSoMbxhbQljPI/lrMQ2Y1sVzufb4Y6GIIiNsiwkTjbKqGTqoQ/9SdlrnPVyNXT +d+pLncdBu8fA46A/5H2kjXPmEkvfoXNzczqA6NXLji/L6hOn1kGLrPo8idck9U60 +4GGSt/M3mMS+lqO3ig== +-----END CERTIFICATE----- From be68ad33d2b2d2df2908a9e5d186c0d0df82f4a6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Jul 2012 22:35:52 +0800 Subject: [PATCH 041/908] ca-cacert-rootcert.bb: Create symlinks for all fingerprints of the cert --- recipes-extra/ca-certificates/ca-cacert-rootcert.bb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/recipes-extra/ca-certificates/ca-cacert-rootcert.bb b/recipes-extra/ca-certificates/ca-cacert-rootcert.bb index fae8e8737b..28d45c2e2a 100644 --- a/recipes-extra/ca-certificates/ca-cacert-rootcert.bb +++ b/recipes-extra/ca-certificates/ca-cacert-rootcert.bb @@ -3,13 +3,19 @@ HOMEPAGE = "http://www.cacert.org/index.php?id=3" SECTION = "misc" LICENSE = "RDL-COD14" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r2" +PR = "r4" SRC_URI = "file://class3.crt" do_install() { install -d ${D}${libdir}/ssl/certs - install -m 0644 ${WORKDIR}/class3.crt ${D}${libdir}/ssl/certs/e5662767.0 + install -m 0644 ${WORKDIR}/class3.crt ${D}${libdir}/ssl/certs/cacert.org.pem + + # Create hash symlinks + cd ${D}${libdir}/ssl/certs + ln -s cacert.org.pem e5662767.0 + ln -s cacert.org.pem 5ed36f99.0 + ln -s cacert.org.pem 99d0fa06.0 } FILES_${PN} = "${libdir}/ssl/certs/*" From a6ae74f721439ddbb6e2c0d23c4e227b4634935d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Jul 2012 16:56:27 +0200 Subject: [PATCH 042/908] ca-cacert-rootcert.bb: Have the complete root for CACert --- .../ca-certificates/ca-cacert-rootcert.bb | 22 +++++----- recipes-extra/ca-certificates/files/root.crt | 41 +++++++++++++++++++ 2 files changed, 53 insertions(+), 10 deletions(-) create mode 100644 recipes-extra/ca-certificates/files/root.crt diff --git a/recipes-extra/ca-certificates/ca-cacert-rootcert.bb b/recipes-extra/ca-certificates/ca-cacert-rootcert.bb index 28d45c2e2a..8793c81ea0 100644 --- a/recipes-extra/ca-certificates/ca-cacert-rootcert.bb +++ b/recipes-extra/ca-certificates/ca-cacert-rootcert.bb @@ -1,21 +1,23 @@ -DESCRIPTION = "CACert Class3 PKI" +CRIPTION = "CACert Root and Class3 PKI" HOMEPAGE = "http://www.cacert.org/index.php?id=3" SECTION = "misc" LICENSE = "RDL-COD14" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r4" +PR = "r6" -SRC_URI = "file://class3.crt" +SRC_URI = "file://root.crt file://class3.crt" do_install() { - install -d ${D}${libdir}/ssl/certs - install -m 0644 ${WORKDIR}/class3.crt ${D}${libdir}/ssl/certs/cacert.org.pem + install -d ${D}${libdir}/ssl/certs + install -m 0644 ${WORKDIR}/root.crt ${D}${libdir}/ssl/certs/cacert.org.pem + cat ${WORKDIR}/class3.crt >> ${D}${libdir}/ssl/certs/cacert.org.pem - # Create hash symlinks - cd ${D}${libdir}/ssl/certs - ln -s cacert.org.pem e5662767.0 - ln -s cacert.org.pem 5ed36f99.0 - ln -s cacert.org.pem 99d0fa06.0 + # Create hash symlinks + cd ${D}${libdir}/ssl/certs + ln -s cacert.org.pem e5662767.0 + ln -s cacert.org.pem 5ed36f99.0 + ln -s cacert.org.pem 99d0fa06.0 } FILES_${PN} = "${libdir}/ssl/certs/*" + diff --git a/recipes-extra/ca-certificates/files/root.crt b/recipes-extra/ca-certificates/files/root.crt new file mode 100644 index 0000000000..e7dfc82947 --- /dev/null +++ b/recipes-extra/ca-certificates/files/root.crt @@ -0,0 +1,41 @@ +-----BEGIN CERTIFICATE----- +MIIHPTCCBSWgAwIBAgIBADANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290 +IENBMR4wHAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNB +IENlcnQgU2lnbmluZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRA +Y2FjZXJ0Lm9yZzAeFw0wMzAzMzAxMjI5NDlaFw0zMzAzMjkxMjI5NDlaMHkxEDAO +BgNVBAoTB1Jvb3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEi +MCAGA1UEAxMZQ0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJ +ARYSc3VwcG9ydEBjYWNlcnQub3JnMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC +CgKCAgEAziLA4kZ97DYoB1CW8qAzQIxL8TtmPzHlawI229Z89vGIj053NgVBlfkJ +8BLPRoZzYLdufujAWGSuzbCtRRcMY/pnCujW0r8+55jE8Ez64AO7NV1sId6eINm6 +zWYyN3L69wj1x81YyY7nDl7qPv4coRQKFWyGhFtkZip6qUtTefWIonvuLwphK42y +fk1WpRPs6tqSnqxEQR5YYGUFZvjARL3LlPdCfgv3ZWiYUQXw8wWRBB0bF4LsyFe7 +w2t6iPGwcswlWyCR7BYCEo8y6RcYSNDHBS4CMEK4JZwFaz+qOqfrU0j36NK2B5jc +G8Y0f3/JHIJ6BVgrCFvzOKKrF11myZjXnhCLotLddJr3cQxyYN/Nb5gznZY0dj4k +epKwDpUeb+agRThHqtdB7Uq3EvbXG4OKDy7YCbZZ16oE/9KTfWgu3YtLq1i6L43q +laegw1SJpfvbi1EinbLDvhG+LJGGi5Z4rSDTii8aP8bQUWWHIbEZAWV/RRyH9XzQ +QUxPKZgh/TMfdQwEUfoZd9vUFBzugcMd9Zi3aQaRIt0AUMyBMawSB3s42mhb5ivU +fslfrejrckzzAeVLIL+aplfKkQABi6F1ITe1Yw1nPkZPcCBnzsXWWdsC4PDSy826 +YreQQejdIOQpvGQpQsgi3Hia/0PsmBsJUUtaWsJx8cTLc6nloQsCAwEAAaOCAc4w +ggHKMB0GA1UdDgQWBBQWtTIb1Mfz4OaO873SsDrusjkY0TCBowYDVR0jBIGbMIGY +gBQWtTIb1Mfz4OaO873SsDrusjkY0aF9pHsweTEQMA4GA1UEChMHUm9vdCBDQTEe +MBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlDQSBDZXJ0 +IFNpZ25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2Vy +dC5vcmeCAQAwDwYDVR0TAQH/BAUwAwEB/zAyBgNVHR8EKzApMCegJaAjhiFodHRw +czovL3d3dy5jYWNlcnQub3JnL3Jldm9rZS5jcmwwMAYJYIZIAYb4QgEEBCMWIWh0 +dHBzOi8vd3d3LmNhY2VydC5vcmcvcmV2b2tlLmNybDA0BglghkgBhvhCAQgEJxYl +aHR0cDovL3d3dy5jYWNlcnQub3JnL2luZGV4LnBocD9pZD0xMDBWBglghkgBhvhC +AQ0ESRZHVG8gZ2V0IHlvdXIgb3duIGNlcnRpZmljYXRlIGZvciBGUkVFIGhlYWQg +b3ZlciB0byBodHRwOi8vd3d3LmNhY2VydC5vcmcwDQYJKoZIhvcNAQEEBQADggIB +ACjH7pyCArpcgBLKNQodgW+JapnM8mgPf6fhjViVPr3yBsOQWqy1YPaZQwGjiHCc +nWKdpIevZ1gNMDY75q1I08t0AoZxPuIrA2jxNGJARjtT6ij0rPtmlVOKTV39O9lg +18p5aTuxZZKmxoGCXJzN600BiqXfEVWqFcofN8CCmHBh22p8lqOOLlQ+TyGpkO/c +gr/c6EWtTZBzCDyUZbAEmXZ/4rzCahWqlwQ3JNgelE5tDlG+1sSPypZt90Pf6DBl +Jzt7u0NDY8RD97LsaMzhGY4i+5jhe1o+ATc7iwiwovOVThrLm82asduycPAtStvY +sONvRUgzEv/+PDIqVPfE94rwiCPCR/5kenHA0R6mY7AHfqQv0wGP3J8rtsYIqQ+T +SCX8Ev2fQtzzxD72V7DX3WnRBnc0CkvSyqD/HMaMyRa+xMwyN2hzXwj7UfdJUzYF +CpUCTPJ5GhD22Dp1nPMd8aINcGeGG7MW9S/lpOt5hvk9C8JzC6WZrG/8Z7jlLwum +GCSNe9FINSkYQKyTYOGWhlC0elnYjyELn8+CkcY7v2vcB5G5l1YjqrZslMZIBjzk +zk6q5PYvCdxTby78dOs6Y5nCpqyJvKeyRKANihDjbPIky/qbn3BHLt4Ui9SyIAmW +omTxJBzcoTWcFbLUvFUufQb1nA5V9FrWk9p2rSVzTMVD +-----END CERTIFICATE----- From e0bf4c7fea46da1976226947325560b207ad3654 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 10 Jul 2012 00:17:15 +0200 Subject: [PATCH 043/908] sysmobts-calib: Build, package and make sure it is installed Install the sysmobts calibration utility. task-sysmocom-bts is installed on every bts and will now pull in the calibration utility. The sysmobts screen needs to be stopped before this application can run. --- recipes-apps/tasks/task-sysmocom-bts.bb | 3 ++- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 12 ++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index 9863ff1156..246bd6c2d4 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -4,12 +4,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY = "1" -PR = "r11" +PR = "r12" # TODO: re-add femtobts-calib after it went through the API migration RDEPENDS_task-sysmocom-bts = "\ osmo-bts \ osmo-bts-remote \ + sysmobts-calib \ lmsensors-scripts \ " diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index df080643e1..1fcff2338a 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,7 +7,7 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=os SRCREV_osmobts = "b19592f7134baeae1541e55b6efead887739291d" SRCREV_openbsc = "019f913ca383bda9256e273c06327041b1761330" PV = "0.0+git${SRCPV}" -PR = "r20" +PR = "r21" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" @@ -26,6 +26,11 @@ do_configure_prepend() { ln -sf ../openbsc openbsc } +do_compile_append() { + cd ${S}/contrib/sysmobts-calib/ + oe_runmake +} + do_install_append() { install -d ${D}${sysconfdir}/osmocom install -m 0660 ${S}/doc/examples/osmo-bts.cfg ${D}${sysconfdir}/osmocom @@ -33,6 +38,8 @@ do_install_append() { install -m 0644 ${S}/contrib/screenrc-sysmobts ${D}${sysconfdir}/osmocom/ install -d ${D}${sysconfdir}/init.d install -m 0755 ${S}/contrib/sysmobts.init ${D}${sysconfdir}/init.d/sysmobts + + install -m 0755 ${S}/contrib/sysmobts-calib/sysmobts-calib ${D}${bindir}/ } CONFFILES_${PN} = "${sysconfdir}/osmocom/osmo-bts.cfg" @@ -40,6 +47,7 @@ INITSCRIPT_PACKAGES = "${PN}" INITSCRIPT_NAME_${PN} = "sysmobts" INITSCRIPT_PARAMS_${PN} = "defaults 30 30" -PACKAGES =+ "osmo-bts-remote" +PACKAGES =+ "osmo-bts-remote sysmobts-calib" FILES_osmo-bts-remote = " ${bindir}/sysmobts-remote " +FILES_sysmobts-calib = " ${bindir}/sysmobts-calib " From e2ab56be8fde00721d721bdfbee343070f7a2f7d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 11 Jul 2012 07:33:19 +0200 Subject: [PATCH 044/908] ubl: Initialize the UART0/UART1 on the sysmobts-v2 This is fixing the early printf inside u-boot. --- recipes-sysmobts/ubl/ubl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/ubl/ubl_git.bb b/recipes-sysmobts/ubl/ubl_git.bb index 8ba7ac798d..ded4b7a9c6 100644 --- a/recipes-sysmobts/ubl/ubl_git.bb +++ b/recipes-sysmobts/ubl/ubl_git.bb @@ -7,7 +7,7 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://ubl.c;beginline=1;endline=22;md5=806283bb3c475d9082e41f09020373ff" SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/ubl;protocol=ssh;branch=master" -SRCREV = "8bb73db43ad50db13ebb44aa28ea75ceda57ba52" +SRCREV = "a36a9de3ef4e333b8d82e713231054b978edcb04" PV = "v0.2.11+git${SRCPV}" PR = "r2" S = "${WORKDIR}/git" From d838ac6e80c988b490243d8fd9fb706062ba218c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 11 Jul 2012 08:58:56 +0200 Subject: [PATCH 045/908] ubl/dvnixload: Update both ubl and dvnixload for recovery The UBL allows to interrupt the NAND boot mode and switch to the UART mode for recovery. Everyone with physical access will be able to interrupt the boot. --- recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb | 2 +- recipes-sysmobts/ubl/ubl_git.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb b/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb index b35f08b746..fde18020e7 100644 --- a/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb +++ b/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.hugovil.com/en/dvnixload/" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=20;md5=f2b40a2eb5162af4c3cb20428e72f921" -SRCREV = "2fa58b6e4059e43062c74e7078766993bf57896c" +SRCREV = "7d96e789af6c1191eb48225b407c907e39393eee" SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/dvnixload;protocol=ssh;branch=master" PV = "v0.2.6+git${SRCPV}" PR = "r1" diff --git a/recipes-sysmobts/ubl/ubl_git.bb b/recipes-sysmobts/ubl/ubl_git.bb index ded4b7a9c6..3b20758605 100644 --- a/recipes-sysmobts/ubl/ubl_git.bb +++ b/recipes-sysmobts/ubl/ubl_git.bb @@ -7,7 +7,7 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://ubl.c;beginline=1;endline=22;md5=806283bb3c475d9082e41f09020373ff" SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/ubl;protocol=ssh;branch=master" -SRCREV = "a36a9de3ef4e333b8d82e713231054b978edcb04" +SRCREV = "d04f24974a5b1e24cb9414ebc2e84a91848982c4" PV = "v0.2.11+git${SRCPV}" PR = "r2" S = "${WORKDIR}/git" From 9416f178b111a9569760055f9ae5731b78ac73f8 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 11 Jul 2012 14:26:51 +0200 Subject: [PATCH 046/908] dvnixload: Deal with UBL being gone but U-Boot is present. Upgrade the dvnixload to a version that will always flash the UBL payload to the device. --- recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb b/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb index fde18020e7..cd2cfce156 100644 --- a/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb +++ b/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.hugovil.com/en/dvnixload/" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=20;md5=f2b40a2eb5162af4c3cb20428e72f921" -SRCREV = "7d96e789af6c1191eb48225b407c907e39393eee" +SRCREV = "354c2e5665e760bf1765a79aa4b83a70954e87e4" SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/dvnixload;protocol=ssh;branch=master" PV = "v0.2.6+git${SRCPV}" PR = "r1" From 21c475ae4ad2f418bdc03ac0a2ca6d3f8a98d73f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 21 Jul 2012 18:39:19 +0800 Subject: [PATCH 047/908] gnupg/libksba: Add gnupg/libksba from openembedded-contrib for debootstrap --- recipes-extra/gnupg/gnupg_2.0.19.bb | 29 ++++++++++++++++++++++++++ recipes-extra/libksba/libksba_1.2.0.bb | 14 +++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 recipes-extra/gnupg/gnupg_2.0.19.bb create mode 100644 recipes-extra/libksba/libksba_1.2.0.bb diff --git a/recipes-extra/gnupg/gnupg_2.0.19.bb b/recipes-extra/gnupg/gnupg_2.0.19.bb new file mode 100644 index 0000000000..996a8e80dc --- /dev/null +++ b/recipes-extra/gnupg/gnupg_2.0.19.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "GNU privacy guard - a free PGP replacement (new v2.x)" +HOMEPAGE = "http://www.gnupg.org/" +LICENSE = "GPLv3 & LGPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ + file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6" + +DEPENDS = "${PTH} libassuan libksba zlib bzip2 readline libgcrypt" +PTH = "pth" +PTH_libc-uclibc = "npth" +PR = "r4" + +inherit autotools gettext + +SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2" + +SRC_URI[md5sum] = "6a8589381ca1b0c1a921e9955f42b016" +SRC_URI[sha256sum] = "efa23a8a925adb51c7d3b708c25b6d000300f5ce37de9bdec6453be7b419c622" + +EXTRA_OECONF = "--disable-ldap \ + --disable-ccid-driver \ + --without-libcurl \ + --with-zlib=${STAGING_LIBDIR}/.. \ + --with-bzip2=${STAGING_LIBDIR}/.. \ + --with-readline=${STAGING_LIBDIR}/.. \ + " + +do_install_append() { + ln -sf gpg2 ${D}${bindir}/gpg +} diff --git a/recipes-extra/libksba/libksba_1.2.0.bb b/recipes-extra/libksba/libksba_1.2.0.bb new file mode 100644 index 0000000000..dd8d88f49d --- /dev/null +++ b/recipes-extra/libksba/libksba_1.2.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Libksba provides an easy API to create and parse X.509 and CMS related objects." +HOMEPAGE = "http://www.gnupg.org/related_software/libksba/" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" +PR = "r1" + +DEPENDS = "libgpg-error" + +inherit autotools binconfig + +SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2" + +SRC_URI[md5sum] = "e797f370b69b4dc776499d6a071ae137" +SRC_URI[sha256sum] = "09afce65b03d027cbec10d21464f4f651cdfd269e38b404f83e48d3e2a3c934b" From 9f0744ce761d5445f806bb019200ee41b5d551b1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 22 Jul 2012 00:09:15 +0800 Subject: [PATCH 048/908] debootstrap: Add a version of debootstrap to bootstrap debian images --- .../debootstrap/debootstrap_1.0.42.bb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes-extra/debootstrap/debootstrap_1.0.42.bb diff --git a/recipes-extra/debootstrap/debootstrap_1.0.42.bb b/recipes-extra/debootstrap/debootstrap_1.0.42.bb new file mode 100644 index 0000000000..4f524dc586 --- /dev/null +++ b/recipes-extra/debootstrap/debootstrap_1.0.42.bb @@ -0,0 +1,22 @@ + +SUMMARY = "Debian bootstrap" +DESCRIPTION = "This install debootstrap to bootstrap debian distributions" +HOMEPAGE = "http://packages.debian.org/source/sid/debootstrap" +SECTION = "extra" +LICENSE="MIT" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=1e68ced6e1689d4cd9dac75ff5225608" + +SRC_URI = "${DEBIAN_MIRROR}/main/d/debootstrap/debootstrap_${PV}.tar.gz" +PR = "r5" +RDEPENDS = "wget gnupg coreutils" + +inherit autotools + +# Skip compiling as we will require fakeroot +fakeroot do_compile() { + base_do_compile +} + +do_install() { + autotools_do_install +} From 4e2ab7017f80c42a2b112693fa589ac29cee405d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 15 Aug 2012 08:18:53 +0200 Subject: [PATCH 049/908] misc: Move from SSH to Git protocol for the sysmocom source --- recipes-bsp/linux/linux-sysmocom_git.bb | 2 +- recipes-sysmobts/femtobts-api/femtobts-api_git.bb | 2 +- recipes-sysmobts/firmware/sysmobts-firmware_git.bb | 2 +- recipes-sysmobts/uboot/u-boot_2011.03.bbappend | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index a05bbef949..ac205e8f23 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -15,7 +15,7 @@ SRCREV = "561f53aa574a18a061c5130e0be0f3622ddbc037" PR = "r23" PV = "${LINUX_VERSION}+git${SRCPV}" -SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/linux.git;protocol=ssh;branch=v3.2 \ +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" diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb index d7773860fc..9006c1dbdf 100644 --- a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -2,7 +2,7 @@ DESCRIPTION = "sysmocom FemtoBTS API headers" SECTION = "kernel" LICENSE = "CLOSED" -SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/femtobts-firmware.git;protocol=ssh;branch=master" +SRC_URI = "git://git.sysmocom.de/sysmo-bts/femtobts-firmware.git;protocol=git;branch=master" SRCREV = "6656cf9df31adb0d5514689db6f00119c237dea0" PV = "2.4+git${SRCPV}" PR = "r6" diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb index a00b4a3efa..3f400ef204 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb @@ -3,7 +3,7 @@ SECTION = "kernel" LICENSE = "CLOSED" -SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/femtobts-firmware;protocol=ssh;branch=master" +SRC_URI = "git://git.sysmocom.de/sysmo-bts/femtobts-firmware;protocol=git;branch=master" SRCREV = "6656cf9df31adb0d5514689db6f00119c237dea0" S = "${WORKDIR}/git" diff --git a/recipes-sysmobts/uboot/u-boot_2011.03.bbappend b/recipes-sysmobts/uboot/u-boot_2011.03.bbappend index d05f8e2edd..1cf3777174 100644 --- a/recipes-sysmobts/uboot/u-boot_2011.03.bbappend +++ b/recipes-sysmobts/uboot/u-boot_2011.03.bbappend @@ -1,4 +1,4 @@ -SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=ssh" +SRC_URI = "git://git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=git" SRCREV = "e77802c0b8b818f502189f24e15f3ca47f1fa344" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" From 5928a0374aa8e9a67944c3a4ff7248ad3dab79f8 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 7 Aug 2012 17:31:56 +0200 Subject: [PATCH 050/908] update to firware + api version 2.4 --- recipes-sysmobts/femtobts-api/femtobts-api_git.bb | 4 ++-- recipes-sysmobts/firmware/sysmobts-firmware_git.bb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb index 9006c1dbdf..3e58b38a64 100644 --- a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -3,9 +3,9 @@ SECTION = "kernel" LICENSE = "CLOSED" SRC_URI = "git://git.sysmocom.de/sysmo-bts/femtobts-firmware.git;protocol=git;branch=master" -SRCREV = "6656cf9df31adb0d5514689db6f00119c237dea0" +SRCREV = "997a9439c8209d4b134c1fdbd2820c956f1cfe43" PV = "2.4+git${SRCPV}" -PR = "r6" +PR = "r7" S = "${WORKDIR}/git" diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb index 3f400ef204..19603f0cd1 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb @@ -4,11 +4,11 @@ LICENSE = "CLOSED" SRC_URI = "git://git.sysmocom.de/sysmo-bts/femtobts-firmware;protocol=git;branch=master" -SRCREV = "6656cf9df31adb0d5514689db6f00119c237dea0" +SRCREV = "997a9439c8209d4b134c1fdbd2820c956f1cfe43" S = "${WORKDIR}/git" -PV = "1.0+git${SRCPV}" -PR = "r6" +PV = "2.4+git${SRCPV}" +PR = "r0" do_compile() { : From 6734e9a69536913ef5391846976f102b5b4cedd4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 7 Aug 2012 17:33:51 +0200 Subject: [PATCH 051/908] add osmo-pcu for GPRS support on sysmobts --- recipes-apps/tasks/task-sysmocom-bts.bb | 3 ++- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 6 +++--- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 20 ++++++++++++++++++++ 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index 246bd6c2d4..71502366ef 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -4,13 +4,14 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY = "1" -PR = "r12" +PR = "r13" # TODO: re-add femtobts-calib after it went through the API migration RDEPENDS_task-sysmocom-bts = "\ osmo-bts \ osmo-bts-remote \ sysmobts-calib \ + osmo-pcu \ lmsensors-scripts \ " diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 1fcff2338a..eaaf54525f 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "b19592f7134baeae1541e55b6efead887739291d" -SRCREV_openbsc = "019f913ca383bda9256e273c06327041b1761330" +SRCREV_osmobts = "7c2427c020949c778f4a59443c16fae7b9e2d98e" +SRCREV_openbsc = "3217fa24120ee06705e2f7ea5faf449e8387d15c" PV = "0.0+git${SRCPV}" -PR = "r21" +PR = "r22" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb new file mode 100644 index 0000000000..53991de1e7 --- /dev/null +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Osmocom PCU for sysmoBTS" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly" +SRCREV = "da62859231cbe25ff7772e3d2389e15e5f8b4d8a" +PV = "0.0+git${SRCPV}" +PR = "r3" +S = "${WORKDIR}/git" + +DEPENDS = "libosmocore femtobts-api osmo-bts" + +EXTRA_OECONF += "--enable-sysmocom-bts" + +inherit autotools + +# Select the API version +inherit femtobts_api +CPPFLAGS += " ${BTS_HW_VERSION} " + From 2be99ac429874e82de89a838e8d02c27ec35322f Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 13 Aug 2012 12:10:48 +0200 Subject: [PATCH 052/908] Add a new task 'task-gprscore' containing sgsn/ggsn/routing --- recipes-apps/tasks/task-gprscore.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipes-apps/tasks/task-gprscore.bb diff --git a/recipes-apps/tasks/task-gprscore.bb b/recipes-apps/tasks/task-gprscore.bb new file mode 100644 index 0000000000..98eb987e9e --- /dev/null +++ b/recipes-apps/tasks/task-gprscore.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Task for GPRS core network" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +DEPENDS = "virtual/kernel" +ALLOW_EMPTY = "1" +PR = "r1" + +RDEPENDS_task-gprscore = "\ + openggsn \ + gprs-routing osmo-sgsn \ + sysmocom-ggsn-config \ + " + From d03aa9c51636ebccdd9e80a6580705fbac686e26 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 15 Aug 2012 16:35:58 +0200 Subject: [PATCH 053/908] osmo-bts,osmo-pcu: Both applications should be rebuild on osmocore upgrades Rebuild the BTS and PCU when the SOVERSION of a libosmocore library is changing. Do that by adding the ${META_TELEPHONY_OSMO_INC} into the PR. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index eaaf54525f..5c3df0a086 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,7 +7,7 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=os SRCREV_osmobts = "7c2427c020949c778f4a59443c16fae7b9e2d98e" SRCREV_openbsc = "3217fa24120ee06705e2f7ea5faf449e8387d15c" PV = "0.0+git${SRCPV}" -PR = "r22" +PR = "r22.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 53991de1e7..4a2a2a8658 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly" SRCREV = "da62859231cbe25ff7772e3d2389e15e5f8b4d8a" PV = "0.0+git${SRCPV}" -PR = "r3" +PR = "r3.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" DEPENDS = "libosmocore femtobts-api osmo-bts" From 62e7f7f1bc1efafe06a0d7f6071369cbdff3e768 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 15 Aug 2012 16:40:03 +0200 Subject: [PATCH 054/908] osmo-bts: Build the latest version of osmo-bts This has a GSM band selection fix. GSM1900 band is now working properly. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 5c3df0a086..6a6523fc1c 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "7c2427c020949c778f4a59443c16fae7b9e2d98e" +SRCREV_osmobts = "8c3d807b3fc785ffb18aeb97355150c92221e8a0" SRCREV_openbsc = "3217fa24120ee06705e2f7ea5faf449e8387d15c" PV = "0.0+git${SRCPV}" -PR = "r22.${META_TELEPHONY_OSMO_INC}" +PR = "r23.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From 2d8f097946dedbcc3dfa1c13395de5ff615d8a29 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 15 Aug 2012 17:50:48 +0200 Subject: [PATCH 055/908] openvpn: Introduce OpenVPN from meta-openembedded --- recipes-extra/openvpn/openvpn/openvpn | 104 +++++++++++++++++++++++++ recipes-extra/openvpn/openvpn_2.1.3.bb | 28 +++++++ 2 files changed, 132 insertions(+) create mode 100644 recipes-extra/openvpn/openvpn/openvpn create mode 100644 recipes-extra/openvpn/openvpn_2.1.3.bb diff --git a/recipes-extra/openvpn/openvpn/openvpn b/recipes-extra/openvpn/openvpn/openvpn new file mode 100644 index 0000000000..28ab37b436 --- /dev/null +++ b/recipes-extra/openvpn/openvpn/openvpn @@ -0,0 +1,104 @@ +#!/bin/sh -e +# +# Original version by Robert Leslie +# , edited by iwj and cs +# Modified for openvpn by Alberto Gonzalez Iniesta +# Modified for restarting / starting / stopping single tunnels by Richard Mueller + +test $DEBIAN_SCRIPT_DEBUG && set -v -x + +DAEMON=/usr/sbin/openvpn +CONFIG_DIR=/etc/openvpn +test -x $DAEMON || exit 0 +test -d $CONFIG_DIR || exit 0 + +start_vpn () { + modprobe tun >/dev/null 2>&1 || true + $DAEMON --daemon --writepid /var/run/openvpn.$NAME.pid \ + --config $CONFIG_DIR/$NAME.conf --cd $CONFIG_DIR || echo -n " FAILED->" + echo -n " $NAME" +} +stop_vpn () { + kill `cat $PIDFILE` || true + rm $PIDFILE +} + +case "$1" in +start) + echo -n "Starting openvpn:" + + if test -z $2 ; then + for CONFIG in `cd $CONFIG_DIR; ls *.conf 2> /dev/null`; do + NAME=${CONFIG%%.conf} + start_vpn + done + else + if test -e $CONFIG_DIR/$2.conf ; then + NAME=$2 + start_vpn + else + echo -n " No such VPN: $2" + fi + fi + echo "." + + ;; +stop) + echo -n "Stopping openvpn:" + + if test -z $2 ; then + for PIDFILE in `ls /var/run/openvpn.*.pid 2> /dev/null`; do + NAME=`echo $PIDFILE | cut -c18-` + NAME=${NAME%%.pid} + stop_vpn + echo -n " $NAME" + done + else + if test -e /var/run/openvpn.$2.pid ; then + PIDFILE=`ls /var/run/openvpn.$2.pid 2> /dev/null` + NAME=`echo $PIDFILE | cut -c18-` + NAME=${NAME%%.pid} + stop_vpn + echo -n " $NAME" + else + echo -n " No such VPN: $2" + fi + fi + echo "." + ;; +# We only 'reload' for running VPNs. New ones will only start with 'start' or 'restart'. +reload|force-reload) + echo -n "Reloading openvpn:" + for PIDFILE in `ls /var/run/openvpn.*.pid 2> /dev/null`; do + NAME=`echo $PIDFILE | cut -c18-` + NAME=${NAME%%.pid} +# If openvpn if running under a different user than root we'll need to restart + if egrep '^( |\t)*user' $CONFIG_DIR/$NAME.conf > /dev/null 2>&1 ; then + stop_vpn + sleep 1 + start_vpn + echo -n "(restarted)" + else + kill -HUP `cat $PIDFILE` || true +# start-stop-daemon --stop --signal HUP --quiet --oknodo \ +# --exec $DAEMON --pidfile $PIDFILE + echo -n " $NAME" + fi + done + echo "." + ;; + +restart) + $0 stop $2 + sleep 1 + $0 start $2 + ;; +*) + echo "Usage: $0 {start|stop|reload|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 + +# vim:set ai et sts=2 sw=2 tw=0: diff --git a/recipes-extra/openvpn/openvpn_2.1.3.bb b/recipes-extra/openvpn/openvpn_2.1.3.bb new file mode 100644 index 0000000000..fd481f6b1b --- /dev/null +++ b/recipes-extra/openvpn/openvpn_2.1.3.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "A full-featured SSL VPN solution via tun device." +HOMEPAGE = "http://openvpn.sourceforge.net" +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=5aac200199fde47501876cba7263cb0c" +DEPENDS = "lzo openssl" +RRECOMMENDS_${PN} = "kernel-module-tun" + +PR = "r1" + +inherit autotools + +SRC_URI = "http://openvpn.net/release/openvpn-${PV}.tar.gz \ + file://openvpn" + +CFLAGS += "-fno-inline" + +# I want openvpn to be able to read password from file (hrw) +EXTRA_OECONF += "--enable-password-save" + +do_install_append() { + install -d ${D}/${sysconfdir}/init.d + install -d ${D}/${sysconfdir}/openvpn + install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d +} + +SRC_URI[md5sum] = "7486d3e270ba4b033e311d3e022a0ad7" +SRC_URI[sha257sum] = "5185181df2e6043bd667377bc92e36ea5a5bd7600af209654f109b6403ca5b36" From f5b92b4bf2f85fd80024a65050ecc52e29202ada Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 15 Aug 2012 21:34:25 +0200 Subject: [PATCH 056/908] u-boot: Upgrade to a version with the recovery mode --- recipes-sysmobts/uboot/u-boot_2011.03.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/uboot/u-boot_2011.03.bbappend b/recipes-sysmobts/uboot/u-boot_2011.03.bbappend index 1cf3777174..7153cbb81a 100644 --- a/recipes-sysmobts/uboot/u-boot_2011.03.bbappend +++ b/recipes-sysmobts/uboot/u-boot_2011.03.bbappend @@ -1,9 +1,9 @@ SRC_URI = "git://git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=git" -SRCREV = "e77802c0b8b818f502189f24e15f3ca47f1fa344" +SRCREV = "5ee9b97601d29a63f1eaa5dd7f9a393b31e67828" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" -PRINC = "4" +PRINC = "5" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" From ba44e70c381ca761dd2cfe0b2c1dcd6f8b73d37e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 4 Aug 2012 18:17:40 +0800 Subject: [PATCH 057/908] sysmocom-bsc-e1: Introduce a sysmocom-bsc-e1 machine type --- conf/machine/sysmocom-bsc-e1.conf | 10 ++++++++++ conf/machine/sysmocom-bsc.conf | 1 + 2 files changed, 11 insertions(+) create mode 100644 conf/machine/sysmocom-bsc-e1.conf diff --git a/conf/machine/sysmocom-bsc-e1.conf b/conf/machine/sysmocom-bsc-e1.conf new file mode 100644 index 0000000000..451aae3299 --- /dev/null +++ b/conf/machine/sysmocom-bsc-e1.conf @@ -0,0 +1,10 @@ +#@TYPE: Machine +#@NAME: common_pc +#@DESCRIPTION: Machine configuration for running a common x86 + +require sysmocom-bsc.conf + +MACHINEOVERRIDES = "${MACHINE}:sysmocom-bsc" +SERIAL_CONSOLE = "19200 ttyS0" +MACHINE_CONSOLE = "console=ttyS0,19200n8" + diff --git a/conf/machine/sysmocom-bsc.conf b/conf/machine/sysmocom-bsc.conf index 0fbf9213ea..3e3de7f468 100644 --- a/conf/machine/sysmocom-bsc.conf +++ b/conf/machine/sysmocom-bsc.conf @@ -19,6 +19,7 @@ KERNEL_IMAGETYPE = "bzImage" IMAGE_FSTYPES ?= "tar.gz ext3" SERIAL_CONSOLE = "38400 ttyS0" +MACHINE_CONSOLE = "console=ttyS0,38400n8" # We bypass swrast but we need it to be present for X to load correctly XSERVER ?= "xserver-xf86-dri-lite \ From bbbc805a2d0a563f4da42c9281c302f38f1bc738 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 20 Aug 2012 19:26:31 +0200 Subject: [PATCH 058/908] femtobts: Drop the old femtobts calibration utility A new version can be found inside the osmo-bts repository. --- .../femtobts-calib/femtobts-calib_git.bb | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 recipes-sysmobts/femtobts-calib/femtobts-calib_git.bb diff --git a/recipes-sysmobts/femtobts-calib/femtobts-calib_git.bb b/recipes-sysmobts/femtobts-calib/femtobts-calib_git.bb deleted file mode 100644 index bccb5b447a..0000000000 --- a/recipes-sysmobts/femtobts-calib/femtobts-calib_git.bb +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION = "sysmocom calibration utility" -SECTION = "kernel" -LICENSE = "CLOSED" -DEPENDS = "femtobts-api" - -SRC_URI = "git://git@git.sysmocom.de/sysmobts/calib.git;protocol=ssh;branch=master" -SRCREV = "a54f9c42a22af8ce8b9843e4d5b33718a81dfd0b" -PV = "0.0+git${SRCPV}" -PR = "r1" -S = "${WORKDIR}/git" - -# Select the API version -inherit femtobts_api -CPPFLAGS += " ${BTS_HW_VERSION} " - - -do_compile() { - oe_runmake -} - -do_install() { - install -d ${D}${bindir} - install -m 0755 ${S}/femto-calib ${D}${bindir}/ -} From fd604f849710775a1f5961159cce486bcbe843c6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 20 Aug 2012 19:30:02 +0200 Subject: [PATCH 059/908] sysmocom-*-image: Add the IP and E1 image to this layer Add a BSC IP and BSC E1 image to the meta-sysmocom-bsp. --- .../sysmocom-bsc-e1-image-directdisk.bb | 20 +++++++++++++++++++ recipes-apps/images/sysmocom-bsc-e1-image.bb | 10 ++++++++++ .../sysmocom-bsc-ip-image-directdisk.bb | 20 +++++++++++++++++++ recipes-apps/images/sysmocom-bsc-ip-image.bb | 7 +++++++ 4 files changed, 57 insertions(+) create mode 100644 recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb create mode 100644 recipes-apps/images/sysmocom-bsc-e1-image.bb create mode 100644 recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb create mode 100644 recipes-apps/images/sysmocom-bsc-ip-image.bb diff --git a/recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb b/recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb new file mode 100644 index 0000000000..3ab18d558d --- /dev/null +++ b/recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "sysmocom BSC/E1 image" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +LICENSE = "MIT" + +inherit boot-directdisk + + +do_bootdirectdisk_prepend () { + import bb + fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True) + if 'ext3' not in fstypes: + bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES") +} + +ROOTFS = "${DEPLOY_DIR_IMAGE}/sysmocom-bsc-e1-image-${MACHINE}.ext3" +do_bootdirectdisk[depends] += "sysmocom-bsc-e1-image:do_rootfs" + + diff --git a/recipes-apps/images/sysmocom-bsc-e1-image.bb b/recipes-apps/images/sysmocom-bsc-e1-image.bb new file mode 100644 index 0000000000..f3491eaf6c --- /dev/null +++ b/recipes-apps/images/sysmocom-bsc-e1-image.bb @@ -0,0 +1,10 @@ +IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom \ + task-sysmocom-debug task-sysmocom-tools task-sysmocom-e1 task-gprscore \ + e2fsprogs-mke2fs e2fsprogs-tune2fs e2fsprogs-e2fsck e2fsprogs-fsck \ + kernel-module-nls-iso8859-1 kernel-module-nls-cp437" +IMAGE_LINGUAS = " " +LICENSE = "MIT" + +inherit core-image + +IMAGE_ROOTFS_SIZE = "524288" diff --git a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb new file mode 100644 index 0000000000..0ebfa93964 --- /dev/null +++ b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "sysmocom BSC/IP image" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +LICENSE = "MIT" + +inherit boot-directdisk + + +do_bootdirectdisk_prepend () { + import bb + fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True) + if 'ext3' not in fstypes: + bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES") +} + +ROOTFS = "${DEPLOY_DIR_IMAGE}/sysmocom-bsc-ip-image-${MACHINE}.ext3" +do_bootdirectdisk[depends] += "sysmocom-bsc-ip-image:do_rootfs" + + diff --git a/recipes-apps/images/sysmocom-bsc-ip-image.bb b/recipes-apps/images/sysmocom-bsc-ip-image.bb new file mode 100644 index 0000000000..c52f824dac --- /dev/null +++ b/recipes-apps/images/sysmocom-bsc-ip-image.bb @@ -0,0 +1,7 @@ +IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools task-gprscore sysmocom-udhcpd-config busybox-udhcpd" +IMAGE_LINGUAS = " " +LICENSE = "MIT" + +inherit core-image + +IMAGE_ROOTFS_SIZE = "262144" From d9150d375c7dc7a25f9724f9980db878941b0ede Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 20 Aug 2012 19:34:05 +0200 Subject: [PATCH 060/908] openggsn-config: Add the GGSN configuration to this layer --- .../openggsn-config/files/sysmobsc/ggsn.conf | 88 +++++++++++++++++++ .../files/sysmobsc/gprs_routing | 23 +++++ .../files/sysmobts-v1/ggsn.conf | 88 +++++++++++++++++++ .../files/sysmobts-v1/gprs_routing | 23 +++++ .../files/sysmobts-v2/ggsn.conf | 88 +++++++++++++++++++ .../files/sysmobts-v2/gprs_routing | 23 +++++ .../openggsn-config/gprs-routing_0.1.bb | 20 +++++ .../sysmocom-ggsn-config_0.1.bb | 11 +++ 8 files changed, 364 insertions(+) create mode 100644 recipes-config/openggsn-config/files/sysmobsc/ggsn.conf create mode 100755 recipes-config/openggsn-config/files/sysmobsc/gprs_routing create mode 100644 recipes-config/openggsn-config/files/sysmobts-v1/ggsn.conf create mode 100755 recipes-config/openggsn-config/files/sysmobts-v1/gprs_routing create mode 100644 recipes-config/openggsn-config/files/sysmobts-v2/ggsn.conf create mode 100755 recipes-config/openggsn-config/files/sysmobts-v2/gprs_routing create mode 100644 recipes-config/openggsn-config/gprs-routing_0.1.bb create mode 100644 recipes-config/openggsn-config/sysmocom-ggsn-config_0.1.bb diff --git a/recipes-config/openggsn-config/files/sysmobsc/ggsn.conf b/recipes-config/openggsn-config/files/sysmobsc/ggsn.conf new file mode 100644 index 0000000000..138e7af738 --- /dev/null +++ b/recipes-config/openggsn-config/files/sysmobsc/ggsn.conf @@ -0,0 +1,88 @@ +############################################################################## +# +# Sample ggsn configuration file +# +############################################################################## + +# TAG: fg +# Include this flag if process is to run in the foreground +# +#fg + +# TAG: debug +# Include this flag to include debug information. +#debug + + +# TAG: conf +# Configuration file to use. This file is the configuration file, +# so changing this parameter in the configuration file does not make +# sense. Use it on the command line instead. + +# TAG: pidfile +# File to store information about the process id of the program. +# The program must have write access to this file/directory. +#pidfile /var/run/ggsn.pid + +# TAG: statedir +# Directory to use for nonvolatile storage. +# The program must have write access to this directory. +#statedir /var/lib/ggsn/ + + +# TAG: listen +# Specifies the local IP address to listen to +#listen 10.0.0.240 +listen 10.23.123.1 + +# TAG: net +# IP network address of external packet data network +# Used to set up network interface. +net 10.23.42.0/24 + +# TAG: ipup +# Script executed after network interface has been brought up. +# Executed with the following parameters: +#ipup /etc/ggsn/ip-up + +# TAG: ipdown +# Script executed after network interface has been taken down. +# Executed with the following parameters: +#ipdown /etc/ggsn/ip-down + +# TAG: dynip +# Dynamic IP address pool. +# Used for allocation of dynamic IP address when address is not given +# by HLR. +# If this option is not given then the net option is used as a substitute. +#dynip 192.168.0.0/24 + +# TAG: statip +# Use of this tag is currently UNSUPPORTED +# Static IP address pool. +# Used for allocation of static IP address by means of HLR. +#statip 192.168.1.0/24 + +# TAG: pcodns1 +# Protocol configuration option domain name system server 1. +pcodns1 8.8.8.8 + +# TAG: pcodns2 +# Protocol configuration option domain name system server 2. +#pcodns2 0.0.0.0 + +# TAG: timelimit +# Exit after timelimit seconds. +# Setting timelimit to zero will cause the program not to exit. +#timelimit 0 + +# TAG: apn +# Use of this tag is EXPERIMENTAL +# Access point name to connect to when run in client mode. +#apn internet + +# TAG: qos +# Use of this tag is EXPERIMENTAL +# Requested Quality of Service used when run in client mode. +# 3 bytes corresponding to ???? +#qos 0x0b921f diff --git a/recipes-config/openggsn-config/files/sysmobsc/gprs_routing b/recipes-config/openggsn-config/files/sysmobsc/gprs_routing new file mode 100755 index 0000000000..016b425b7b --- /dev/null +++ b/recipes-config/openggsn-config/files/sysmobsc/gprs_routing @@ -0,0 +1,23 @@ +#!/bin/sh + +NAME=gprs_routing + +set -e + +case "$1" in + start) + echo 1 > /proc/sys/net/ipv4/ip_forward + iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE + echo "Enabled masquerading" + ;; + stop) + echo 0 > /proc/sys/net/ipv4/ip_forward + iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 +esac + +exit 0 diff --git a/recipes-config/openggsn-config/files/sysmobts-v1/ggsn.conf b/recipes-config/openggsn-config/files/sysmobts-v1/ggsn.conf new file mode 100644 index 0000000000..138e7af738 --- /dev/null +++ b/recipes-config/openggsn-config/files/sysmobts-v1/ggsn.conf @@ -0,0 +1,88 @@ +############################################################################## +# +# Sample ggsn configuration file +# +############################################################################## + +# TAG: fg +# Include this flag if process is to run in the foreground +# +#fg + +# TAG: debug +# Include this flag to include debug information. +#debug + + +# TAG: conf +# Configuration file to use. This file is the configuration file, +# so changing this parameter in the configuration file does not make +# sense. Use it on the command line instead. + +# TAG: pidfile +# File to store information about the process id of the program. +# The program must have write access to this file/directory. +#pidfile /var/run/ggsn.pid + +# TAG: statedir +# Directory to use for nonvolatile storage. +# The program must have write access to this directory. +#statedir /var/lib/ggsn/ + + +# TAG: listen +# Specifies the local IP address to listen to +#listen 10.0.0.240 +listen 10.23.123.1 + +# TAG: net +# IP network address of external packet data network +# Used to set up network interface. +net 10.23.42.0/24 + +# TAG: ipup +# Script executed after network interface has been brought up. +# Executed with the following parameters: +#ipup /etc/ggsn/ip-up + +# TAG: ipdown +# Script executed after network interface has been taken down. +# Executed with the following parameters: +#ipdown /etc/ggsn/ip-down + +# TAG: dynip +# Dynamic IP address pool. +# Used for allocation of dynamic IP address when address is not given +# by HLR. +# If this option is not given then the net option is used as a substitute. +#dynip 192.168.0.0/24 + +# TAG: statip +# Use of this tag is currently UNSUPPORTED +# Static IP address pool. +# Used for allocation of static IP address by means of HLR. +#statip 192.168.1.0/24 + +# TAG: pcodns1 +# Protocol configuration option domain name system server 1. +pcodns1 8.8.8.8 + +# TAG: pcodns2 +# Protocol configuration option domain name system server 2. +#pcodns2 0.0.0.0 + +# TAG: timelimit +# Exit after timelimit seconds. +# Setting timelimit to zero will cause the program not to exit. +#timelimit 0 + +# TAG: apn +# Use of this tag is EXPERIMENTAL +# Access point name to connect to when run in client mode. +#apn internet + +# TAG: qos +# Use of this tag is EXPERIMENTAL +# Requested Quality of Service used when run in client mode. +# 3 bytes corresponding to ???? +#qos 0x0b921f diff --git a/recipes-config/openggsn-config/files/sysmobts-v1/gprs_routing b/recipes-config/openggsn-config/files/sysmobts-v1/gprs_routing new file mode 100755 index 0000000000..016b425b7b --- /dev/null +++ b/recipes-config/openggsn-config/files/sysmobts-v1/gprs_routing @@ -0,0 +1,23 @@ +#!/bin/sh + +NAME=gprs_routing + +set -e + +case "$1" in + start) + echo 1 > /proc/sys/net/ipv4/ip_forward + iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE + echo "Enabled masquerading" + ;; + stop) + echo 0 > /proc/sys/net/ipv4/ip_forward + iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 +esac + +exit 0 diff --git a/recipes-config/openggsn-config/files/sysmobts-v2/ggsn.conf b/recipes-config/openggsn-config/files/sysmobts-v2/ggsn.conf new file mode 100644 index 0000000000..138e7af738 --- /dev/null +++ b/recipes-config/openggsn-config/files/sysmobts-v2/ggsn.conf @@ -0,0 +1,88 @@ +############################################################################## +# +# Sample ggsn configuration file +# +############################################################################## + +# TAG: fg +# Include this flag if process is to run in the foreground +# +#fg + +# TAG: debug +# Include this flag to include debug information. +#debug + + +# TAG: conf +# Configuration file to use. This file is the configuration file, +# so changing this parameter in the configuration file does not make +# sense. Use it on the command line instead. + +# TAG: pidfile +# File to store information about the process id of the program. +# The program must have write access to this file/directory. +#pidfile /var/run/ggsn.pid + +# TAG: statedir +# Directory to use for nonvolatile storage. +# The program must have write access to this directory. +#statedir /var/lib/ggsn/ + + +# TAG: listen +# Specifies the local IP address to listen to +#listen 10.0.0.240 +listen 10.23.123.1 + +# TAG: net +# IP network address of external packet data network +# Used to set up network interface. +net 10.23.42.0/24 + +# TAG: ipup +# Script executed after network interface has been brought up. +# Executed with the following parameters: +#ipup /etc/ggsn/ip-up + +# TAG: ipdown +# Script executed after network interface has been taken down. +# Executed with the following parameters: +#ipdown /etc/ggsn/ip-down + +# TAG: dynip +# Dynamic IP address pool. +# Used for allocation of dynamic IP address when address is not given +# by HLR. +# If this option is not given then the net option is used as a substitute. +#dynip 192.168.0.0/24 + +# TAG: statip +# Use of this tag is currently UNSUPPORTED +# Static IP address pool. +# Used for allocation of static IP address by means of HLR. +#statip 192.168.1.0/24 + +# TAG: pcodns1 +# Protocol configuration option domain name system server 1. +pcodns1 8.8.8.8 + +# TAG: pcodns2 +# Protocol configuration option domain name system server 2. +#pcodns2 0.0.0.0 + +# TAG: timelimit +# Exit after timelimit seconds. +# Setting timelimit to zero will cause the program not to exit. +#timelimit 0 + +# TAG: apn +# Use of this tag is EXPERIMENTAL +# Access point name to connect to when run in client mode. +#apn internet + +# TAG: qos +# Use of this tag is EXPERIMENTAL +# Requested Quality of Service used when run in client mode. +# 3 bytes corresponding to ???? +#qos 0x0b921f diff --git a/recipes-config/openggsn-config/files/sysmobts-v2/gprs_routing b/recipes-config/openggsn-config/files/sysmobts-v2/gprs_routing new file mode 100755 index 0000000000..016b425b7b --- /dev/null +++ b/recipes-config/openggsn-config/files/sysmobts-v2/gprs_routing @@ -0,0 +1,23 @@ +#!/bin/sh + +NAME=gprs_routing + +set -e + +case "$1" in + start) + echo 1 > /proc/sys/net/ipv4/ip_forward + iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE + echo "Enabled masquerading" + ;; + stop) + echo 0 > /proc/sys/net/ipv4/ip_forward + iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 +esac + +exit 0 diff --git a/recipes-config/openggsn-config/gprs-routing_0.1.bb b/recipes-config/openggsn-config/gprs-routing_0.1.bb new file mode 100644 index 0000000000..c6250b02af --- /dev/null +++ b/recipes-config/openggsn-config/gprs-routing_0.1.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "OpenGGSN GPRS routing to the real world" +RDEPENDS = "iptables kernel-module-ipt-masquerade" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" + +SRC_URI = "file://gprs_routing" + + +inherit update-rc.d + +INITSCRIPT_PACKAGES = "${PN}" +INITSCRIPT_NAME_${PN} = "gprs_routing" +INITSCRIPT_PARAMS_${PN} = "defaults 28 28" + + +do_install() { + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/gprs_routing ${D}${sysconfdir}/init.d/gprs_routing +} diff --git a/recipes-config/openggsn-config/sysmocom-ggsn-config_0.1.bb b/recipes-config/openggsn-config/sysmocom-ggsn-config_0.1.bb new file mode 100644 index 0000000000..637719cf3e --- /dev/null +++ b/recipes-config/openggsn-config/sysmocom-ggsn-config_0.1.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "OpenGGSN config by sysmocom" +SRC_URI = "file://ggsn.conf" +LICENSE = "closed" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" + +do_install() { + install -d ${D}${sysconfdir} + install -m 0660 ${WORKDIR}/ggsn.conf ${D}${sysconfdir}/ +} + +CONFFILES_${PN} = "${sysconfdir}/ggsn.conf" From c35fa18841f78c9a4b2f3c18a64f1a62a278ebcd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 20 Aug 2012 21:25:04 +0200 Subject: [PATCH 061/908] linux-sysmocom.inc: Add quotes around the value for newer versions of bitbake BitBake is finally more picky about variable assignments. Add the necessary quotes. --- recipes-bsp/linux/linux-sysmocom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom.inc b/recipes-bsp/linux/linux-sysmocom.inc index 0aea7c20bd..b60586db2f 100644 --- a/recipes-bsp/linux/linux-sysmocom.inc +++ b/recipes-bsp/linux/linux-sysmocom.inc @@ -5,7 +5,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" # Set this to 'preempt_rt' in the local.conf if you want a real time kernel -LINUX_KERNEL_TYPE ?= standard +LINUX_KERNEL_TYPE ?= "standard" module_autoload_mISDN_l1loop = "mISDN_l1loop" module_autoload_mISDN_dsp = "mISDN_dsp" From a4331e9beefdbe542d94969469e78144c51130bd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 20 Aug 2012 23:41:48 +0200 Subject: [PATCH 062/908] openggsn-config: Fix the name of the ggsn.conf for the sysmocom-bsc --- .../openggsn-config/files/{sysmobsc => sysmocom-bsc}/ggsn.conf | 0 .../openggsn-config/files/{sysmobsc => sysmocom-bsc}/gprs_routing | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename recipes-config/openggsn-config/files/{sysmobsc => sysmocom-bsc}/ggsn.conf (100%) rename recipes-config/openggsn-config/files/{sysmobsc => sysmocom-bsc}/gprs_routing (100%) diff --git a/recipes-config/openggsn-config/files/sysmobsc/ggsn.conf b/recipes-config/openggsn-config/files/sysmocom-bsc/ggsn.conf similarity index 100% rename from recipes-config/openggsn-config/files/sysmobsc/ggsn.conf rename to recipes-config/openggsn-config/files/sysmocom-bsc/ggsn.conf diff --git a/recipes-config/openggsn-config/files/sysmobsc/gprs_routing b/recipes-config/openggsn-config/files/sysmocom-bsc/gprs_routing similarity index 100% rename from recipes-config/openggsn-config/files/sysmobsc/gprs_routing rename to recipes-config/openggsn-config/files/sysmocom-bsc/gprs_routing From d6415c8069714519ab242f7bb1d493d7744529cb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 21 Aug 2012 15:14:47 +0200 Subject: [PATCH 063/908] sysmocom: Make dvnixload and ubl accessible via public git dvnixload and ubl are available via public git. --- recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb | 2 +- recipes-sysmobts/ubl/ubl_git.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb b/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb index cd2cfce156..dc2befa98b 100644 --- a/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb +++ b/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb @@ -4,7 +4,7 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=20;md5=f2b40a2eb5162af4c3cb20428e72f921" SRCREV = "354c2e5665e760bf1765a79aa4b83a70954e87e4" -SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/dvnixload;protocol=ssh;branch=master" +SRC_URI = "git://git.sysmocom.de/sysmo-bts/dvnixload;protocol=git;branch=master" PV = "v0.2.6+git${SRCPV}" PR = "r1" S = "${WORKDIR}/git" diff --git a/recipes-sysmobts/ubl/ubl_git.bb b/recipes-sysmobts/ubl/ubl_git.bb index 3b20758605..9a3940e4ec 100644 --- a/recipes-sysmobts/ubl/ubl_git.bb +++ b/recipes-sysmobts/ubl/ubl_git.bb @@ -6,7 +6,7 @@ PRIORITY = "optional" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://ubl.c;beginline=1;endline=22;md5=806283bb3c475d9082e41f09020373ff" -SRC_URI = "git://git@git.sysmocom.de/sysmo-bts/ubl;protocol=ssh;branch=master" +SRC_URI = "git://git.sysmocom.de/sysmo-bts/ubl;protocol=git;branch=master" SRCREV = "d04f24974a5b1e24cb9414ebc2e84a91848982c4" PV = "v0.2.11+git${SRCPV}" PR = "r2" From 97ba83f17ab1410a66620809fdf05cd7bb69a5ab Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 4 Sep 2012 14:11:51 +0200 Subject: [PATCH 064/908] busybox: Target both edison and HEAD in this overlay One needs to use BBMASK or delete depending on the targeted OE-Core/Poky version. --- recipes-apps/busybox/busybox_1.18.5.bbappend | 20 +------------------- recipes-apps/busybox/busybox_1.19.4.bbappend | 1 + recipes-apps/busybox/busybox_sysmocom.inc | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 recipes-apps/busybox/busybox_1.19.4.bbappend create mode 100644 recipes-apps/busybox/busybox_sysmocom.inc diff --git a/recipes-apps/busybox/busybox_1.18.5.bbappend b/recipes-apps/busybox/busybox_1.18.5.bbappend index 9b1f78a42c..4b70c908f2 100644 --- a/recipes-apps/busybox/busybox_1.18.5.bbappend +++ b/recipes-apps/busybox/busybox_1.18.5.bbappend @@ -1,19 +1 @@ -SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" -FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" -PRINC = "6" - -SRC_URI += "file://busybox-ifplugd.sh \ - file://ifplugd.sh" - -PACKAGES =+ "${PN}-ifplugd" - -FILES_${PN}-ifplugd = "${sysconfdir}/ifplugd.sh ${sysconfdir}/init.d/busybox-ifplugd.sh" - -INITSCRIPT_PACKAGES += "${PN}-ifplugd" -INITSCRIPT_NAME = "busybox-ifplugd.sh" - - -do_install_append() { - install -m 0755 ${WORKDIR}/ifplugd.sh ${D}${sysconfdir}/ - install -m 0755 ${WORKDIR}/busybox-ifplugd.sh ${D}${sysconfdir}/init.d/ -} +require ${PN}_sysmocom.inc diff --git a/recipes-apps/busybox/busybox_1.19.4.bbappend b/recipes-apps/busybox/busybox_1.19.4.bbappend new file mode 100644 index 0000000000..4b70c908f2 --- /dev/null +++ b/recipes-apps/busybox/busybox_1.19.4.bbappend @@ -0,0 +1 @@ +require ${PN}_sysmocom.inc diff --git a/recipes-apps/busybox/busybox_sysmocom.inc b/recipes-apps/busybox/busybox_sysmocom.inc new file mode 100644 index 0000000000..9b1f78a42c --- /dev/null +++ b/recipes-apps/busybox/busybox_sysmocom.inc @@ -0,0 +1,19 @@ +SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" +PRINC = "6" + +SRC_URI += "file://busybox-ifplugd.sh \ + file://ifplugd.sh" + +PACKAGES =+ "${PN}-ifplugd" + +FILES_${PN}-ifplugd = "${sysconfdir}/ifplugd.sh ${sysconfdir}/init.d/busybox-ifplugd.sh" + +INITSCRIPT_PACKAGES += "${PN}-ifplugd" +INITSCRIPT_NAME = "busybox-ifplugd.sh" + + +do_install_append() { + install -m 0755 ${WORKDIR}/ifplugd.sh ${D}${sysconfdir}/ + install -m 0755 ${WORKDIR}/busybox-ifplugd.sh ${D}${sysconfdir}/init.d/ +} From 4f78b6ef7897fd302aaf53d57dca968b43f03b46 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 4 Sep 2012 14:12:38 +0200 Subject: [PATCH 065/908] netbase: Target both edison and HEAD in this overlay One needs to use BBMASK or delete depending on the targeted OE-Core/Poky version. --- .../{netbase-4.45 => netbase}/sysmobts-v1/interfaces | 0 .../{netbase-4.45 => netbase}/sysmobts-v2/interfaces | 0 .../{netbase-4.45 => netbase}/sysmocom-bsc/interfaces | 0 recipes-bsp/netbase/netbase_4.45.bbappend | 8 +------- recipes-bsp/netbase/netbase_5.0.bbappend | 1 + recipes-bsp/netbase/netbase_sysmocom.inc | 7 +++++++ 6 files changed, 9 insertions(+), 7 deletions(-) rename recipes-bsp/netbase/{netbase-4.45 => netbase}/sysmobts-v1/interfaces (100%) rename recipes-bsp/netbase/{netbase-4.45 => netbase}/sysmobts-v2/interfaces (100%) rename recipes-bsp/netbase/{netbase-4.45 => netbase}/sysmocom-bsc/interfaces (100%) create mode 100644 recipes-bsp/netbase/netbase_5.0.bbappend create mode 100644 recipes-bsp/netbase/netbase_sysmocom.inc diff --git a/recipes-bsp/netbase/netbase-4.45/sysmobts-v1/interfaces b/recipes-bsp/netbase/netbase/sysmobts-v1/interfaces similarity index 100% rename from recipes-bsp/netbase/netbase-4.45/sysmobts-v1/interfaces rename to recipes-bsp/netbase/netbase/sysmobts-v1/interfaces diff --git a/recipes-bsp/netbase/netbase-4.45/sysmobts-v2/interfaces b/recipes-bsp/netbase/netbase/sysmobts-v2/interfaces similarity index 100% rename from recipes-bsp/netbase/netbase-4.45/sysmobts-v2/interfaces rename to recipes-bsp/netbase/netbase/sysmobts-v2/interfaces diff --git a/recipes-bsp/netbase/netbase-4.45/sysmocom-bsc/interfaces b/recipes-bsp/netbase/netbase/sysmocom-bsc/interfaces similarity index 100% rename from recipes-bsp/netbase/netbase-4.45/sysmocom-bsc/interfaces rename to recipes-bsp/netbase/netbase/sysmocom-bsc/interfaces diff --git a/recipes-bsp/netbase/netbase_4.45.bbappend b/recipes-bsp/netbase/netbase_4.45.bbappend index 127d8dcced..4b70c908f2 100644 --- a/recipes-bsp/netbase/netbase_4.45.bbappend +++ b/recipes-bsp/netbase/netbase_4.45.bbappend @@ -1,7 +1 @@ -SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" -FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:" -PRINC = "16" - - -# bug in poky meta/classes/base.bbclass -PACKAGE_ARCH = "${MACHINE_ARCH}" +require ${PN}_sysmocom.inc diff --git a/recipes-bsp/netbase/netbase_5.0.bbappend b/recipes-bsp/netbase/netbase_5.0.bbappend new file mode 100644 index 0000000000..4b70c908f2 --- /dev/null +++ b/recipes-bsp/netbase/netbase_5.0.bbappend @@ -0,0 +1 @@ +require ${PN}_sysmocom.inc diff --git a/recipes-bsp/netbase/netbase_sysmocom.inc b/recipes-bsp/netbase/netbase_sysmocom.inc new file mode 100644 index 0000000000..b6f5a5fca2 --- /dev/null +++ b/recipes-bsp/netbase/netbase_sysmocom.inc @@ -0,0 +1,7 @@ +SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}:" +PRINC = "16" + + +# bug in poky meta/classes/base.bbclass +PACKAGE_ARCH = "${MACHINE_ARCH}" From b8b0dff3d4e5ea5a4153374f1adda1166c6e314a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 4 Sep 2012 14:13:26 +0200 Subject: [PATCH 066/908] watchdog: Target both edison and HEAD in this overlay One needs to use BBMASK or delete depending on the targeted OE-Core/Poky version. --- .../watchdog/{watchdog-5.9 => watchdog}/init | 0 .../sysmobts-v1/watchdog.conf | 0 .../sysmobts-v2/watchdog.conf | 0 recipes-bsp/watchdog/watchdog_5.12.bbappend | 1 + recipes-bsp/watchdog/watchdog_5.9.bbappend | 26 +------------------ recipes-bsp/watchdog/watchdog_sysmocom.inc | 25 ++++++++++++++++++ 6 files changed, 27 insertions(+), 25 deletions(-) rename recipes-bsp/watchdog/{watchdog-5.9 => watchdog}/init (100%) rename recipes-bsp/watchdog/{watchdog-5.9 => watchdog}/sysmobts-v1/watchdog.conf (100%) rename recipes-bsp/watchdog/{watchdog-5.9 => watchdog}/sysmobts-v2/watchdog.conf (100%) create mode 100644 recipes-bsp/watchdog/watchdog_5.12.bbappend create mode 100644 recipes-bsp/watchdog/watchdog_sysmocom.inc diff --git a/recipes-bsp/watchdog/watchdog-5.9/init b/recipes-bsp/watchdog/watchdog/init similarity index 100% rename from recipes-bsp/watchdog/watchdog-5.9/init rename to recipes-bsp/watchdog/watchdog/init diff --git a/recipes-bsp/watchdog/watchdog-5.9/sysmobts-v1/watchdog.conf b/recipes-bsp/watchdog/watchdog/sysmobts-v1/watchdog.conf similarity index 100% rename from recipes-bsp/watchdog/watchdog-5.9/sysmobts-v1/watchdog.conf rename to recipes-bsp/watchdog/watchdog/sysmobts-v1/watchdog.conf diff --git a/recipes-bsp/watchdog/watchdog-5.9/sysmobts-v2/watchdog.conf b/recipes-bsp/watchdog/watchdog/sysmobts-v2/watchdog.conf similarity index 100% rename from recipes-bsp/watchdog/watchdog-5.9/sysmobts-v2/watchdog.conf rename to recipes-bsp/watchdog/watchdog/sysmobts-v2/watchdog.conf diff --git a/recipes-bsp/watchdog/watchdog_5.12.bbappend b/recipes-bsp/watchdog/watchdog_5.12.bbappend new file mode 100644 index 0000000000..4b70c908f2 --- /dev/null +++ b/recipes-bsp/watchdog/watchdog_5.12.bbappend @@ -0,0 +1 @@ +require ${PN}_sysmocom.inc diff --git a/recipes-bsp/watchdog/watchdog_5.9.bbappend b/recipes-bsp/watchdog/watchdog_5.9.bbappend index 906deade47..4b70c908f2 100644 --- a/recipes-bsp/watchdog/watchdog_5.9.bbappend +++ b/recipes-bsp/watchdog/watchdog_5.9.bbappend @@ -1,25 +1 @@ -SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" -FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:" -PRINC = "6" - -inherit update-rc.d - -SRC_URI_append_sysmobts-v1 = " file://watchdog.conf file://init" -SRC_URI_append_sysmobts-v2 = " file://watchdog.conf file://init" - -do_install_append() { - - if [ -e ${WORKDIR}/watchdog.conf ]; then - install -D -m 0644 ${WORKDIR}/watchdog.conf ${D}/${sysconfdir}/ - fi - - install -D -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/watchdog -} - -CONFFILES_${PN} = "${sysconfdir}/watchdog.conf" -INITSCRIPT_PACKAGES = "${PN}" -INITSCRIPT_NAME_${PN} = "watchdog" -INITSCRIPT_PARAMS_${PN} = "start 06 S ." - -# bug in poky meta/classes/base.bbclass? -PACKAGE_ARCH = "${MACHINE_ARCH}" +require ${PN}_sysmocom.inc diff --git a/recipes-bsp/watchdog/watchdog_sysmocom.inc b/recipes-bsp/watchdog/watchdog_sysmocom.inc new file mode 100644 index 0000000000..dcfbdb6bdc --- /dev/null +++ b/recipes-bsp/watchdog/watchdog_sysmocom.inc @@ -0,0 +1,25 @@ +SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}" +PRINC = "6" + +inherit update-rc.d + +SRC_URI_append_sysmobts-v1 = " file://watchdog.conf file://init" +SRC_URI_append_sysmobts-v2 = " file://watchdog.conf file://init" + +do_install_append() { + + if [ -e ${WORKDIR}/watchdog.conf ]; then + install -D -m 0644 ${WORKDIR}/watchdog.conf ${D}/${sysconfdir}/ + fi + + install -D -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/watchdog +} + +CONFFILES_${PN} = "${sysconfdir}/watchdog.conf" +INITSCRIPT_PACKAGES = "${PN}" +INITSCRIPT_NAME_${PN} = "watchdog" +INITSCRIPT_PARAMS_${PN} = "start 06 S ." + +# bug in poky meta/classes/base.bbclass? +PACKAGE_ARCH = "${MACHINE_ARCH}" From 6a4abb58304520ac28f3f21982397370503e6687 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 4 Sep 2012 14:14:00 +0200 Subject: [PATCH 067/908] lmsensors-apps: Package the *.a into a new -staticdev package --- recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb b/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb index 2227816576..7aadb383ab 100644 --- a/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb +++ b/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.lm-sensors.org/" DEPENDS = "sysfsutils virtual/libiconv" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -PR = "r2" +PR = "r4" DEPENDS = "bison-native flex-native" PACKAGE_ARCH = "${MACHINE_ARCH}" @@ -30,7 +30,7 @@ do_install() { mv ${D}/usr/man/* ${D}${mandir} } -PACKAGES =+ "libsensors libsensors-dev libsensors-dbg libsensors-doc" +PACKAGES =+ "libsensors libsensors-dev libsensors-staticdev libsensors-dbg libsensors-doc" PACKAGES =+ "lmsensors-sensors lmsensors-sensors-dbg lmsensors-sensors-doc" PACKAGES =+ "lmsensors-scripts sensors-detect" @@ -45,5 +45,6 @@ FILES_lmsensors-sensors-dbg += "${bindir}/.debug/sensors" FILES_lmsensors-sensors-doc = "${mandir}/man1 ${mandir}/man5" FILES_libsensors = "${libdir}/libsensors.so.*" FILES_libsensors-dbg += "${libdir}/.debug" -FILES_libsensors-dev = "${libdir}/libsensors.so ${libdir}/libsensors.a ${includedir}" +FILES_libsensors-dev = "${libdir}/libsensors.so ${includedir}" +FILES_libsensors-staticdev = "${libdir}/libsensors.a" FILES_libsensors-doc = "${mandir}/man3" From 5e17d8e537c776e7d542adf1ce2137eeea4d681c Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Fri, 14 Sep 2012 21:21:04 +0200 Subject: [PATCH 068/908] Attempt to target multiple versions of Poky at the same time The idea is that the basic extension resides inside the the normal recipe directories. Depending on the version of poky the bbappends need to be included. Appends applying to all versions will be put into the shared folder, specific ones into the specific directory. Once a bbappend can not be shared anymore it needs to be copied. --- conf/layer.conf | 3 +++ recipes-apps/busybox/busybox_1.18.5.bbappend | 1 - recipes-apps/busybox/busybox_1.19.4.bbappend | 1 - recipes-apps/busybox/busybox_sysmocom.inc | 2 +- .../{base-files_3.0.14.bbappend => base-files_sysmocom.inc} | 2 +- recipes-bsp/netbase/netbase_4.45.bbappend | 1 - recipes-bsp/netbase/netbase_5.0.bbappend | 1 - recipes-bsp/netbase/netbase_sysmocom.inc | 2 +- recipes-bsp/watchdog/watchdog_5.12.bbappend | 1 - recipes-bsp/watchdog/watchdog_5.9.bbappend | 1 - recipes-bsp/watchdog/watchdog_sysmocom.inc | 2 +- recipes-extra/gnupg/gnupg_2.0.19.bb | 2 +- ...-initscripts.bbappend => modutils-initscripts_sysmocom.inc} | 2 +- recipes-fixes/opkg/{opkg_svn.bbappend => opkg_sysmocom.inc} | 2 +- .../{pkgconfig_0.25.bbappend => pkgconfig_sysmocom.inc} | 2 +- recipes-fixes/udev/{udev_164.bbappend => udev_sysmocom.inc} | 2 +- .../uboot/{u-boot_2011.03.bbappend => u-boot_sysmocom.inc} | 2 +- yocto-edison/busybox_1.18.5.bbappend | 1 + yocto-edison/netbase_4.45.bbappend | 1 + yocto-edison/watchdog_5.9.bbappend | 1 + yocto-master/busybox_1.19.4.bbappend | 1 + yocto-master/netbase_5.0.bbappend | 1 + yocto-master/watchdog_5.12.bbappend | 1 + yocto-shared/base-files_3.0.14.bbappend | 1 + yocto-shared/modutils-initscripts.bbappend | 1 + yocto-shared/opkg_svn.bbappend | 1 + yocto-shared/pkgconfig_0.25.bbappend | 1 + yocto-shared/u-boot_2011.03.bbappend | 1 + yocto-shared/udev_164.bbappend | 1 + 29 files changed, 25 insertions(+), 16 deletions(-) delete mode 100644 recipes-apps/busybox/busybox_1.18.5.bbappend delete mode 100644 recipes-apps/busybox/busybox_1.19.4.bbappend rename recipes-bsp/base-files/{base-files_3.0.14.bbappend => base-files_sysmocom.inc} (92%) delete mode 100644 recipes-bsp/netbase/netbase_4.45.bbappend delete mode 100644 recipes-bsp/netbase/netbase_5.0.bbappend delete mode 100644 recipes-bsp/watchdog/watchdog_5.12.bbappend delete mode 100644 recipes-bsp/watchdog/watchdog_5.9.bbappend rename recipes-fixes/modutils/{modutils-initscripts.bbappend => modutils-initscripts_sysmocom.inc} (85%) rename recipes-fixes/opkg/{opkg_svn.bbappend => opkg_sysmocom.inc} (96%) rename recipes-fixes/pkgconfig/{pkgconfig_0.25.bbappend => pkgconfig_sysmocom.inc} (94%) rename recipes-fixes/udev/{udev_164.bbappend => udev_sysmocom.inc} (98%) rename recipes-sysmobts/uboot/{u-boot_2011.03.bbappend => u-boot_sysmocom.inc} (98%) create mode 100644 yocto-edison/busybox_1.18.5.bbappend create mode 100644 yocto-edison/netbase_4.45.bbappend create mode 100644 yocto-edison/watchdog_5.9.bbappend create mode 100644 yocto-master/busybox_1.19.4.bbappend create mode 100644 yocto-master/netbase_5.0.bbappend create mode 100644 yocto-master/watchdog_5.12.bbappend create mode 100644 yocto-shared/base-files_3.0.14.bbappend create mode 100644 yocto-shared/modutils-initscripts.bbappend create mode 100644 yocto-shared/opkg_svn.bbappend create mode 100644 yocto-shared/pkgconfig_0.25.bbappend create mode 100644 yocto-shared/u-boot_2011.03.bbappend create mode 100644 yocto-shared/udev_164.bbappend diff --git a/conf/layer.conf b/conf/layer.conf index 7fcac9b049..4a820bf2b5 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -3,6 +3,9 @@ BBPATH := "${BBPATH}:${LAYERDIR}" # We have a packages directory, add to BBFILES BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" +BBFILES := "${BBFILES} ${LAYERDIR}/yocto-shared/*.bbappend" +BBFILES := "${BBFILES} ${LAYERDIR}/yocto-edison/*.bbappend" +#BBFILES := "${BBFILES} ${LAYERDIR}/yocto-master/*.bbappend" BBFILE_COLLECTIONS += "sysmocom-bsp" BBFILE_PATTERN_sysmocom-bsp := "^${LAYERDIR}/" diff --git a/recipes-apps/busybox/busybox_1.18.5.bbappend b/recipes-apps/busybox/busybox_1.18.5.bbappend deleted file mode 100644 index 4b70c908f2..0000000000 --- a/recipes-apps/busybox/busybox_1.18.5.bbappend +++ /dev/null @@ -1 +0,0 @@ -require ${PN}_sysmocom.inc diff --git a/recipes-apps/busybox/busybox_1.19.4.bbappend b/recipes-apps/busybox/busybox_1.19.4.bbappend deleted file mode 100644 index 4b70c908f2..0000000000 --- a/recipes-apps/busybox/busybox_1.19.4.bbappend +++ /dev/null @@ -1 +0,0 @@ -require ${PN}_sysmocom.inc diff --git a/recipes-apps/busybox/busybox_sysmocom.inc b/recipes-apps/busybox/busybox_sysmocom.inc index 9b1f78a42c..4f0c2aa2d6 100644 --- a/recipes-apps/busybox/busybox_sysmocom.inc +++ b/recipes-apps/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" -PRINC = "6" +PRINC = "7" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/recipes-bsp/base-files/base-files_3.0.14.bbappend b/recipes-bsp/base-files/base-files_sysmocom.inc similarity index 92% rename from recipes-bsp/base-files/base-files_3.0.14.bbappend rename to recipes-bsp/base-files/base-files_sysmocom.inc index 53c41f4601..0dea48ba1f 100644 --- a/recipes-bsp/base-files/base-files_3.0.14.bbappend +++ b/recipes-bsp/base-files/base-files_sysmocom.inc @@ -1,4 +1,4 @@ THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:" -PRINC="2" +PRINC="3" diff --git a/recipes-bsp/netbase/netbase_4.45.bbappend b/recipes-bsp/netbase/netbase_4.45.bbappend deleted file mode 100644 index 4b70c908f2..0000000000 --- a/recipes-bsp/netbase/netbase_4.45.bbappend +++ /dev/null @@ -1 +0,0 @@ -require ${PN}_sysmocom.inc diff --git a/recipes-bsp/netbase/netbase_5.0.bbappend b/recipes-bsp/netbase/netbase_5.0.bbappend deleted file mode 100644 index 4b70c908f2..0000000000 --- a/recipes-bsp/netbase/netbase_5.0.bbappend +++ /dev/null @@ -1 +0,0 @@ -require ${PN}_sysmocom.inc diff --git a/recipes-bsp/netbase/netbase_sysmocom.inc b/recipes-bsp/netbase/netbase_sysmocom.inc index b6f5a5fca2..77a15d3ff2 100644 --- a/recipes-bsp/netbase/netbase_sysmocom.inc +++ b/recipes-bsp/netbase/netbase_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}:" -PRINC = "16" +PRINC = "17" # bug in poky meta/classes/base.bbclass diff --git a/recipes-bsp/watchdog/watchdog_5.12.bbappend b/recipes-bsp/watchdog/watchdog_5.12.bbappend deleted file mode 100644 index 4b70c908f2..0000000000 --- a/recipes-bsp/watchdog/watchdog_5.12.bbappend +++ /dev/null @@ -1 +0,0 @@ -require ${PN}_sysmocom.inc diff --git a/recipes-bsp/watchdog/watchdog_5.9.bbappend b/recipes-bsp/watchdog/watchdog_5.9.bbappend deleted file mode 100644 index 4b70c908f2..0000000000 --- a/recipes-bsp/watchdog/watchdog_5.9.bbappend +++ /dev/null @@ -1 +0,0 @@ -require ${PN}_sysmocom.inc diff --git a/recipes-bsp/watchdog/watchdog_sysmocom.inc b/recipes-bsp/watchdog/watchdog_sysmocom.inc index dcfbdb6bdc..1362ddd019 100644 --- a/recipes-bsp/watchdog/watchdog_sysmocom.inc +++ b/recipes-bsp/watchdog/watchdog_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}" -PRINC = "6" +PRINC = "7" inherit update-rc.d diff --git a/recipes-extra/gnupg/gnupg_2.0.19.bb b/recipes-extra/gnupg/gnupg_2.0.19.bb index 996a8e80dc..841397f460 100644 --- a/recipes-extra/gnupg/gnupg_2.0.19.bb +++ b/recipes-extra/gnupg/gnupg_2.0.19.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ DEPENDS = "${PTH} libassuan libksba zlib bzip2 readline libgcrypt" PTH = "pth" PTH_libc-uclibc = "npth" -PR = "r4" +PR = "r5" inherit autotools gettext diff --git a/recipes-fixes/modutils/modutils-initscripts.bbappend b/recipes-fixes/modutils/modutils-initscripts_sysmocom.inc similarity index 85% rename from recipes-fixes/modutils/modutils-initscripts.bbappend rename to recipes-fixes/modutils/modutils-initscripts_sysmocom.inc index efaf3dde00..855d3b8a30 100644 --- a/recipes-fixes/modutils/modutils-initscripts.bbappend +++ b/recipes-fixes/modutils/modutils-initscripts_sysmocom.inc @@ -1,3 +1,3 @@ # Start this after udev and sysfs -PRINC = "1" +PRINC = "2" INITSCRIPT_PARAMS = "start 5 S ." diff --git a/recipes-fixes/opkg/opkg_svn.bbappend b/recipes-fixes/opkg/opkg_sysmocom.inc similarity index 96% rename from recipes-fixes/opkg/opkg_svn.bbappend rename to recipes-fixes/opkg/opkg_sysmocom.inc index eccc8062a1..82cd23f2f5 100644 --- a/recipes-fixes/opkg/opkg_svn.bbappend +++ b/recipes-fixes/opkg/opkg_sysmocom.inc @@ -1,7 +1,7 @@ THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}-${PV}"], d)}:" -PRINC = "1" +PRINC = "2" do_install_append() { # This breaks autoloading of modules as they are loaded before depmod runs diff --git a/recipes-fixes/pkgconfig/pkgconfig_0.25.bbappend b/recipes-fixes/pkgconfig/pkgconfig_sysmocom.inc similarity index 94% rename from recipes-fixes/pkgconfig/pkgconfig_0.25.bbappend rename to recipes-fixes/pkgconfig/pkgconfig_sysmocom.inc index d3fb34ebb7..afb832858e 100644 --- a/recipes-fixes/pkgconfig/pkgconfig_0.25.bbappend +++ b/recipes-fixes/pkgconfig/pkgconfig_sysmocom.inc @@ -1,6 +1,6 @@ THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}-${PV}"], d)}:" -PRINC="1" +PRINC="2" FILES_${PN} += " ${datadir}/aclocal " diff --git a/recipes-fixes/udev/udev_164.bbappend b/recipes-fixes/udev/udev_sysmocom.inc similarity index 98% rename from recipes-fixes/udev/udev_164.bbappend rename to recipes-fixes/udev/udev_sysmocom.inc index f048347434..57e5285480 100644 --- a/recipes-fixes/udev/udev_164.bbappend +++ b/recipes-fixes/udev/udev_sysmocom.inc @@ -1,7 +1,7 @@ THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}-${PV}"], d)}:" -PRINC="8" +PRINC="9" FILES_libgudev = "${base_libdir}/libgudev*.so.* ${libdir}/libgudev*.so.*" FILES_libgudev-dbg = "${base_libdir}/.debug/libgudev*.so.* ${libdir}/.debug/libgudev*.so.*" diff --git a/recipes-sysmobts/uboot/u-boot_2011.03.bbappend b/recipes-sysmobts/uboot/u-boot_sysmocom.inc similarity index 98% rename from recipes-sysmobts/uboot/u-boot_2011.03.bbappend rename to recipes-sysmobts/uboot/u-boot_sysmocom.inc index 7153cbb81a..d243177df6 100644 --- a/recipes-sysmobts/uboot/u-boot_2011.03.bbappend +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -3,7 +3,7 @@ SRCREV = "5ee9b97601d29a63f1eaa5dd7f9a393b31e67828" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" -PRINC = "5" +PRINC = "8" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" diff --git a/yocto-edison/busybox_1.18.5.bbappend b/yocto-edison/busybox_1.18.5.bbappend new file mode 100644 index 0000000000..ead80563a3 --- /dev/null +++ b/yocto-edison/busybox_1.18.5.bbappend @@ -0,0 +1 @@ +require recipes-apps/busybox/${PN}_sysmocom.inc diff --git a/yocto-edison/netbase_4.45.bbappend b/yocto-edison/netbase_4.45.bbappend new file mode 100644 index 0000000000..5e3605ffef --- /dev/null +++ b/yocto-edison/netbase_4.45.bbappend @@ -0,0 +1 @@ +require recipes-bsp/netbase/${PN}_sysmocom.inc diff --git a/yocto-edison/watchdog_5.9.bbappend b/yocto-edison/watchdog_5.9.bbappend new file mode 100644 index 0000000000..57590dbf4a --- /dev/null +++ b/yocto-edison/watchdog_5.9.bbappend @@ -0,0 +1 @@ +require recipes-bsp/watchdog/${PN}_sysmocom.inc diff --git a/yocto-master/busybox_1.19.4.bbappend b/yocto-master/busybox_1.19.4.bbappend new file mode 100644 index 0000000000..ead80563a3 --- /dev/null +++ b/yocto-master/busybox_1.19.4.bbappend @@ -0,0 +1 @@ +require recipes-apps/busybox/${PN}_sysmocom.inc diff --git a/yocto-master/netbase_5.0.bbappend b/yocto-master/netbase_5.0.bbappend new file mode 100644 index 0000000000..5e3605ffef --- /dev/null +++ b/yocto-master/netbase_5.0.bbappend @@ -0,0 +1 @@ +require recipes-bsp/netbase/${PN}_sysmocom.inc diff --git a/yocto-master/watchdog_5.12.bbappend b/yocto-master/watchdog_5.12.bbappend new file mode 100644 index 0000000000..57590dbf4a --- /dev/null +++ b/yocto-master/watchdog_5.12.bbappend @@ -0,0 +1 @@ +require recipes-bsp/watchdog/${PN}_sysmocom.inc diff --git a/yocto-shared/base-files_3.0.14.bbappend b/yocto-shared/base-files_3.0.14.bbappend new file mode 100644 index 0000000000..c93ab24197 --- /dev/null +++ b/yocto-shared/base-files_3.0.14.bbappend @@ -0,0 +1 @@ +require recipes-bsp/${PN}/${PN}_sysmocom.inc diff --git a/yocto-shared/modutils-initscripts.bbappend b/yocto-shared/modutils-initscripts.bbappend new file mode 100644 index 0000000000..7e157d09f0 --- /dev/null +++ b/yocto-shared/modutils-initscripts.bbappend @@ -0,0 +1 @@ +require recipes-fixes/modutils/${PN}_sysmocom.inc diff --git a/yocto-shared/opkg_svn.bbappend b/yocto-shared/opkg_svn.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-shared/opkg_svn.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc diff --git a/yocto-shared/pkgconfig_0.25.bbappend b/yocto-shared/pkgconfig_0.25.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-shared/pkgconfig_0.25.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc diff --git a/yocto-shared/u-boot_2011.03.bbappend b/yocto-shared/u-boot_2011.03.bbappend new file mode 100644 index 0000000000..34003acec4 --- /dev/null +++ b/yocto-shared/u-boot_2011.03.bbappend @@ -0,0 +1 @@ +require recipes-sysmobts/uboot/${PN}_sysmocom.inc diff --git a/yocto-shared/udev_164.bbappend b/yocto-shared/udev_164.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-shared/udev_164.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc From b13eaf470fca02110928023ed05d1ed1b09d74cc Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 18 Oct 2012 19:26:05 +0200 Subject: [PATCH 069/908] update git revision of osmo-bts and osmo-pcu --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 6 +++--- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 6a6523fc1c..006ee5e19a 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "8c3d807b3fc785ffb18aeb97355150c92221e8a0" -SRCREV_openbsc = "3217fa24120ee06705e2f7ea5faf449e8387d15c" +SRCREV_osmobts = "4fe622cf9c1beb0ba2aa3b492bf7e2b4d1cd4f73" +SRCREV_openbsc = "94c2b0578b4827e5535296477c3cd1d39d8f4814" PV = "0.0+git${SRCPV}" -PR = "r23.${META_TELEPHONY_OSMO_INC}" +PR = "r24.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 4a2a2a8658..54e6643329 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,9 +3,9 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly" -SRCREV = "da62859231cbe25ff7772e3d2389e15e5f8b4d8a" +SRCREV = "3ef16cc04a096ea5bbec5bb4e3988cc5d16766e9" PV = "0.0+git${SRCPV}" -PR = "r3.${META_TELEPHONY_OSMO_INC}" +PR = "r4.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" DEPENDS = "libosmocore femtobts-api osmo-bts" From 16aafee394499e3919716426673be395e0f1a719 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 25 Nov 2012 21:13:13 +0100 Subject: [PATCH 070/908] sysmobts: Build experimental version for a possible LAPDm UI idle frame fix --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 006ee5e19a..f4b68d0e40 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "4fe622cf9c1beb0ba2aa3b492bf7e2b4d1cd4f73" +SRCREV_osmobts = "953141023f08439632cf2a612cbbbbc9723220fe" SRCREV_openbsc = "94c2b0578b4827e5535296477c3cd1d39d8f4814" PV = "0.0+git${SRCPV}" PR = "r24.${META_TELEPHONY_OSMO_INC}" From 9106dd27b95e97400542a6312a89c9693370a622 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 25 Nov 2012 23:04:27 +0100 Subject: [PATCH 071/908] sysmobts: Do not print the queue underrun as notice but as debug --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index f4b68d0e40..8f5a896498 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "953141023f08439632cf2a612cbbbbc9723220fe" +SRCREV_osmobts = "f3e508493b2039ae0f7408ccf7ab2dcd362376fa" SRCREV_openbsc = "94c2b0578b4827e5535296477c3cd1d39d8f4814" PV = "0.0+git${SRCPV}" PR = "r24.${META_TELEPHONY_OSMO_INC}" From d6fd5c09d032347f8eb56929eb19187418c8826d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 18 Dec 2012 15:02:35 +0100 Subject: [PATCH 072/908] linux-sysmocom: Upgrade to 3.2.35 for RevD and general fixes --- recipes-bsp/linux/linux-sysmocom_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index ac205e8f23..01dacf7e58 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -1,7 +1,7 @@ inherit kernel require linux-sysmocom.inc -LINUX_VERSION ?= "3.2.19" +LINUX_VERSION ?= "3.2.35" LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}" # Overrides for the sysmocom bts v1 @@ -10,9 +10,9 @@ BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1" # Overrides for the sysmocom bts v2 BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" -SRCREV = "561f53aa574a18a061c5130e0be0f3622ddbc037" +SRCREV = "20b5f4f07eb6719e41cc6d25fc2a73d95337421c" -PR = "r23" +PR = "r24" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ From dbb57efcd13952e8a095c902f6cb81eb1e0deda0 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 18 Dec 2012 15:08:08 +0100 Subject: [PATCH 073/908] u-boot: Upgrade for sysmoBTSv2 revision D Build a newer u-boot for revision D hardware --- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index d243177df6..70e15c8b7f 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -1,9 +1,9 @@ SRC_URI = "git://git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=git" -SRCREV = "5ee9b97601d29a63f1eaa5dd7f9a393b31e67828" +SRCREV = "6633b83bf588ce21558a3bffb9e501479758c28b" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" -PRINC = "8" +PRINC = "9" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" From 9e2fce0fba737e8a7bbb6aed16067f15b7ce01eb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 18 Dec 2012 18:03:22 +0100 Subject: [PATCH 074/908] linux: Fix the symlinking of the uImage symlink in /boot/ This has been fixed in upstream of OE-Core and in newer versions of Yocto. For Edison provide our own version of the pkg_postinst and pkg_postrm routines. It is not clear yet if this conflicts with newer versions of poky but all that could happen is that the symlink is changed twice and removed twice but the command ends with a || true so this should not cause any kind of fault. --- recipes-bsp/linux/linux-sysmocom.inc | 9 +++++++++ recipes-bsp/linux/linux-sysmocom_git.bb | 2 +- recipes-bsp/linux/linux_2.6.39.bb | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom.inc b/recipes-bsp/linux/linux-sysmocom.inc index b60586db2f..470a19a129 100644 --- a/recipes-bsp/linux/linux-sysmocom.inc +++ b/recipes-bsp/linux/linux-sysmocom.inc @@ -12,3 +12,12 @@ module_autoload_mISDN_dsp = "mISDN_dsp" module_conf_mISDN_l1loop = "options mISDN_l1loop pri=1 nchannel=20" FILES_${PN} = "" + +# Remove when using a Poky/OE-Core with that includes e0bf758982843ec1981b74410616b3492c599d06 +pkg_postinst_kernel () { + update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true +} + +pkg_postrm_kernel () { + update-alternatives --remove ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} || true +} diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 01dacf7e58..f3c0dbad01 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -12,7 +12,7 @@ BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" SRCREV = "20b5f4f07eb6719e41cc6d25fc2a73d95337421c" -PR = "r24" +PR = "r26" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ diff --git a/recipes-bsp/linux/linux_2.6.39.bb b/recipes-bsp/linux/linux_2.6.39.bb index 22478f944d..fcd864d6db 100644 --- a/recipes-bsp/linux/linux_2.6.39.bb +++ b/recipes-bsp/linux/linux_2.6.39.bb @@ -3,7 +3,7 @@ require linux-sysmocom.inc LINUX_VERSION ?= "${PV}" -PR = "r13" +PR = "r15" SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v2.6/linux-${PV}.tar.bz2 \ ftp://ftp.servus.at/linux-kernel/patch-2.6.39.4.bz2;apply=yes;name=stablepatch \ file://mISDN_loop.patch \ From b272d37c60a735c058f05d644a73652bae8ccd9c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 18 Dec 2012 20:54:50 +0100 Subject: [PATCH 075/908] osmo-pcu: 3ef16cc04a096ea5bbec5bb4e3988cc5d16766e9 has been GCed Upgrade the osmo-pcu version to the jolly_merge branch and change the way the PCU is enabled for the sysmoBTSv2 hardware. --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 54e6643329..14a962c59c 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,14 +3,14 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly" -SRCREV = "3ef16cc04a096ea5bbec5bb4e3988cc5d16766e9" +SRCREV = "a23c7eee151c1e92dacaadb823b26d426a904564" PV = "0.0+git${SRCPV}" -PR = "r4.${META_TELEPHONY_OSMO_INC}" +PR = "r5.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" DEPENDS = "libosmocore femtobts-api osmo-bts" -EXTRA_OECONF += "--enable-sysmocom-bts" +EXTRA_OECONF += "--enable-sysmocom-dsp" inherit autotools From 638474f66998084c6bb8d4433d039457919e1808 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 28 Oct 2012 11:04:41 +0100 Subject: [PATCH 076/908] osmo-bts: update osmo-bts to version 0.1.0 including calibration support --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 8f5a896498..ae38a77064 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -6,8 +6,8 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=os git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" SRCREV_osmobts = "f3e508493b2039ae0f7408ccf7ab2dcd362376fa" SRCREV_openbsc = "94c2b0578b4827e5535296477c3cd1d39d8f4814" -PV = "0.0+git${SRCPV}" -PR = "r24.${META_TELEPHONY_OSMO_INC}" +PV = "0.1.0+git${SRCPV}" +PR = "r0.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From a1aad22e4e4b4a92596e35631fabd7ad07db04fd Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 27 Oct 2012 20:20:32 +0200 Subject: [PATCH 077/908] sysmobts-firmware: Re-work the firmware and header for v1 and v2 Re-work the way we distribute the header and firmware files. The header files may be accessed by everyone but the firmware may only be used by owners of our device. Create a header only repository with all the header versions of the firmware and create tarballs for specific releases that will be provided to our customers. Use COMPATIBLE_MACHINE to pick the right firmware and API version depending on sysmoBTSv1 and sysmoBTSv2. --- .../femtobts-api/femtobts-api_2.4.bb | 26 +++++++++++++++++++ .../femtobts-api/femtobts-api_git.bb | 17 ++++++------ .../firmware/sysmobts-firmware.inc | 14 ++++++++++ .../firmware/sysmobts-firmware_2.7.bb | 15 +++++++++++ .../firmware/sysmobts-firmware_3.0.1pre.bb | 14 ++++++++++ .../firmware/sysmobts-firmware_git.bb | 25 ------------------ 6 files changed, 78 insertions(+), 33 deletions(-) create mode 100644 recipes-sysmobts/femtobts-api/femtobts-api_2.4.bb create mode 100644 recipes-sysmobts/firmware/sysmobts-firmware.inc create mode 100644 recipes-sysmobts/firmware/sysmobts-firmware_2.7.bb create mode 100644 recipes-sysmobts/firmware/sysmobts-firmware_3.0.1pre.bb delete mode 100644 recipes-sysmobts/firmware/sysmobts-firmware_git.bb diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_2.4.bb b/recipes-sysmobts/femtobts-api/femtobts-api_2.4.bb new file mode 100644 index 0000000000..661de4865a --- /dev/null +++ b/recipes-sysmobts/femtobts-api/femtobts-api_2.4.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "sysmoBTS Layer1 API header files" +SECTION = "kernel" +LICENSE = "CLOSED" + +SRC_URI = "git://git.sysmocom.de/sysmo-bts/layer1-api.git;protocol=git;branch=master" +SRCREV = "superfemto_v2.4" +PV = "2.4" +PR = "r1" +S = "${WORKDIR}/git" + + +do_compile() { + : +} + +do_install() { + install -d ${D}${includedir}/sysmocom/femtobts + install -d ${D}${libdir}/pkgconfig + + install -m 0755 ${S}/include/* ${D}${includedir}/sysmocom/femtobts/ + echo "Name: Sysmocom sysmoBTS Layer1 API +Description: Sysmocom sysmoBTS Layer1 API +Versions: 2.0 +Libs: +Cflags: -I${includedir}/sysmocom/femtobts" > ${D}${libdir}/pkgconfig/sysmocom-btsapi.pc +} diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb index 3e58b38a64..a5686efcb1 100644 --- a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -1,11 +1,12 @@ -DESCRIPTION = "sysmocom FemtoBTS API headers" +DESCRIPTION = "sysmoBTS Layer1 API header files" SECTION = "kernel" LICENSE = "CLOSED" -SRC_URI = "git://git.sysmocom.de/sysmo-bts/femtobts-firmware.git;protocol=git;branch=master" -SRCREV = "997a9439c8209d4b134c1fdbd2820c956f1cfe43" -PV = "2.4+git${SRCPV}" -PR = "r7" +SRC_URI = "git://git.sysmocom.de/sysmo-bts/layer1-api.git;protocol=git;branch=master" +SRCREV_sysmobts-v2 = "superfemto_v3.0.1pre" +SRCREV_sysmobts-v1 = "femtobts_v2.7" +PV = "${SRCREV}+git${SRCPV}" +PR = "r2" S = "${WORKDIR}/git" @@ -17,9 +18,9 @@ do_install() { install -d ${D}${includedir}/sysmocom/femtobts install -d ${D}${libdir}/pkgconfig - install -m 0755 ${S}/api/* ${D}${includedir}/sysmocom/femtobts/ - echo "Name: Sysmocom FemtoBTS API -Description: Sysmocom FemtoBTS API + install -m 0755 ${S}/include/* ${D}${includedir}/sysmocom/femtobts/ + echo "Name: Sysmocom sysmoBTS Layer1 API +Description: Sysmocom sysmoBTS Layer1 API Versions: 2.0 Libs: Cflags: -I${includedir}/sysmocom/femtobts" > ${D}${libdir}/pkgconfig/sysmocom-btsapi.pc diff --git a/recipes-sysmobts/firmware/sysmobts-firmware.inc b/recipes-sysmobts/firmware/sysmobts-firmware.inc new file mode 100644 index 0000000000..293ff967b9 --- /dev/null +++ b/recipes-sysmobts/firmware/sysmobts-firmware.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "sysmocom sysmoBTS DSP and FPGA firmware" +SECTION = "kernel" +LICENSE = "CLOSED" + +SRC_URI = "file://sysmobts-firmware-${FIRMWARE-VERSION}.tar.bz2" +S = "${WORKDIR}/sysmobts-firmware-${FIRMWARE-VERSION}" + +INC_PR = "1" + +do_compile() { + : +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_2.7.bb b/recipes-sysmobts/firmware/sysmobts-firmware_2.7.bb new file mode 100644 index 0000000000..fc2324ccd4 --- /dev/null +++ b/recipes-sysmobts/firmware/sysmobts-firmware_2.7.bb @@ -0,0 +1,15 @@ +COMPATIBLE_MACHINE = "sysmobts-v1" +FIRMWARE-VERSION = "femtobts_v${PV}" +PR = "r2.${INC_PR}" + +require ${PN}.inc + +do_install_sysmobts() { + install -d ${D}/lib/firmware/ + + install -m 0666 ${S}/Firmware/Dsp/femtobts.out ${D}/lib/firmware/sysmobts-v1.out + install -m 0666 ${S}/Firmware/Fpga/femtobts.bit ${D}/lib/firmware/sysmobts-v1.bit +} + + +FILES_${PN} = "/lib/firmware/sysmobts-v1*" diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.0.1pre.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.0.1pre.bb new file mode 100644 index 0000000000..718002492e --- /dev/null +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.0.1pre.bb @@ -0,0 +1,14 @@ +COMPATIBLE_MACHINE = "sysmobts-v2" +FIRMWARE-VERSION = "superfemto_v${PV}" +PR = "r2.${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*" diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb b/recipes-sysmobts/firmware/sysmobts-firmware_git.bb deleted file mode 100644 index 19603f0cd1..0000000000 --- a/recipes-sysmobts/firmware/sysmobts-firmware_git.bb +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION = "sysmocom sysmoBTS firmware" -SECTION = "kernel" -LICENSE = "CLOSED" - - -SRC_URI = "git://git.sysmocom.de/sysmo-bts/femtobts-firmware;protocol=git;branch=master" -SRCREV = "997a9439c8209d4b134c1fdbd2820c956f1cfe43" -S = "${WORKDIR}/git" - -PV = "2.4+git${SRCPV}" -PR = "r0" - -do_compile() { - : -} - -do_install() { - install -d ${D}/lib/firmware/ - - install -m 0666 ${S}/firmware/sysmobts* ${D}/lib/firmware -} - -FILES_${PN}_sysmobts-v1 = "/lib/firmware/sysmobts-v1*" -FILES_${PN}_sysmobts-v2 = "/lib/firmware/sysmobts-v2*" -PACKAGE_ARCH = "${MACHINE_ARCH}" From 55b7b92f34045440610fec01b8c4604e84a916e0 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 18 Nov 2012 11:31:38 +0100 Subject: [PATCH 078/908] osmo-bts: Update git rev + recipe changes for sysmobts v1 support sysmobts-calib is currently only compatible with (and built for) v2. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index ae38a77064..11fbfedd26 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,7 +7,7 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=os SRCREV_osmobts = "f3e508493b2039ae0f7408ccf7ab2dcd362376fa" SRCREV_openbsc = "94c2b0578b4827e5535296477c3cd1d39d8f4814" PV = "0.1.0+git${SRCPV}" -PR = "r0.${META_TELEPHONY_OSMO_INC}" +PR = "r3.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" @@ -26,7 +26,7 @@ do_configure_prepend() { ln -sf ../openbsc openbsc } -do_compile_append() { +do_compile_append_sysmobts-v2() { cd ${S}/contrib/sysmobts-calib/ oe_runmake } @@ -39,6 +39,9 @@ do_install_append() { install -d ${D}${sysconfdir}/init.d install -m 0755 ${S}/contrib/sysmobts.init ${D}${sysconfdir}/init.d/sysmobts +} + +do_install_append_sysmobts-v2() { install -m 0755 ${S}/contrib/sysmobts-calib/sysmobts-calib ${D}${bindir}/ } From f36b6907a9948411b3e35876279773ef14dfe0e7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Dec 2012 18:30:20 +0100 Subject: [PATCH 079/908] osmo-bts: Upgrade to master to get file based calibration --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 11fbfedd26..a0f0f0393b 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "f3e508493b2039ae0f7408ccf7ab2dcd362376fa" -SRCREV_openbsc = "94c2b0578b4827e5535296477c3cd1d39d8f4814" +SRCREV_osmobts = "0d30b5d81863fb70c6270fe1ffefe4fd426b0cd3" +SRCREV_openbsc = "25b70cea9d9521b081ea0cc524f5d157a1b89baf" PV = "0.1.0+git${SRCPV}" -PR = "r3.${META_TELEPHONY_OSMO_INC}" +PR = "r4.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From 6f27e125889a6cb8b7642dd6a8913e0d7ca50188 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 22 Dec 2012 19:11:03 +0800 Subject: [PATCH 080/908] sysmobts-firmware: Install both 3.0.1pre and 3.1 and add symlinks The latest release currently does not support the RevC hardware. Install both 3.0.1pre and 3.1 (luckily ubifs compresses them) and set a symlink. Use the EEPROM size as an indicator if we are on revD or revC hardware and then set the symlink. It has been tested for revC and needs to be tested on revD hardware. --- .../firmware/sysmobts-firmware_3.0.1pre.bb | 14 ------ .../firmware/sysmobts-firmware_3.1.bb | 48 +++++++++++++++++++ 2 files changed, 48 insertions(+), 14 deletions(-) delete mode 100644 recipes-sysmobts/firmware/sysmobts-firmware_3.0.1pre.bb create mode 100644 recipes-sysmobts/firmware/sysmobts-firmware_3.1.bb diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.0.1pre.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.0.1pre.bb deleted file mode 100644 index 718002492e..0000000000 --- a/recipes-sysmobts/firmware/sysmobts-firmware_3.0.1pre.bb +++ /dev/null @@ -1,14 +0,0 @@ -COMPATIBLE_MACHINE = "sysmobts-v2" -FIRMWARE-VERSION = "superfemto_v${PV}" -PR = "r2.${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*" diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.1.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.1.bb new file mode 100644 index 0000000000..7afe5f47f3 --- /dev/null +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.1.bb @@ -0,0 +1,48 @@ +COMPATIBLE_MACHINE = "sysmobts-v2" +FIRMWARE-VERSION = "superfemto_v${PV}" +PR = "r6.${INC_PR}" + +require ${PN}.inc + +S2 = "${WORKDIR}/sysmobts-firmware-superfemto_v3.0.1pre" + +# Currently there is no common Firmware for RevC and RevD Hardware and we +# need to handle this differently for now. + +SRC_URI = "file://sysmobts-firmware-${FIRMWARE-VERSION}.tar.bz2 \ + file://sysmobts-firmware-superfemto_v3.0.1pre.tar.bz2" + + +do_install() { + install -d ${D}/lib/firmware/ + + # Install the firmware for revD + install -m 0666 ${S}/Image/Dsp/superfemto.out ${D}/lib/firmware/sysmobts-v2-revd.out + install -m 0666 ${S}/Image/Fpga/superfemto.bit ${D}/lib/firmware/sysmobts-v2-revd.bit + + # Install the firmware for revC + install -m 0666 ${S2}/Image/Dsp/superfemto.out ${D}/lib/firmware/sysmobts-v2-revc.out + install -m 0666 ${S2}/Image/Fpga/superfemto.bit ${D}/lib/firmware/sysmobts-v2-revc.bit +} + +# Change a symlink depending on revC or revD. We are using the EEPROM size +# as an indicator for revC and revD +pkg_postinst_${PN} () { +# Building the rootfs? +if [ "x$D" != "x" ]; then + exit 1 +fi + +EEPROM_SIZE=`stat -c '%s' /sys/bus/i2c/devices/1-0050/eeprom` +if [ $EEPROM_SIZE -eq 256 ]; then + cd /lib/firmware + ln -fs sysmobts-v2-revc.out sysmobts-v2.out + ln -fs sysmobts-v2-revc.bit sysmobts-v2.bit +else + cd /lib/firmware + ln -fs sysmobts-v2-revd.out sysmobts-v2.out + ln -fs sysmobts-v2-revd.bit sysmobts-v2.bit +fi +} + +FILES_${PN} = "/lib/firmware/sysmobts-v2*" From 99fabcdfd6575b11e4a8bf0ba1c40de39b36878a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 29 Dec 2012 13:21:42 +0100 Subject: [PATCH 081/908] osmo-bts: Upgrade to a test version for channel act and deact --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index a0f0f0393b..92916f597a 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,8 +4,8 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "0d30b5d81863fb70c6270fe1ffefe4fd426b0cd3" -SRCREV_openbsc = "25b70cea9d9521b081ea0cc524f5d157a1b89baf" +SRCREV_osmobts = "9267b1b1c5d35b4817681ecdc7dbc586bcb19f8b" +SRCREV_openbsc = "977cd13741e1e80879ea5b840206044fa1817aea" PV = "0.1.0+git${SRCPV}" PR = "r4.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 99d3462a72bb2ed1c8cbf82ed3dbad38914956ee Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 30 Dec 2012 11:38:39 +0100 Subject: [PATCH 082/908] osmo-bts: More experimental version with channel ack/release changes/fixes --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 92916f597a..657893ec41 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "9267b1b1c5d35b4817681ecdc7dbc586bcb19f8b" +SRCREV_osmobts = "fcd2dde738b5e7870367783fc27f4e6c7b91526a" SRCREV_openbsc = "977cd13741e1e80879ea5b840206044fa1817aea" PV = "0.1.0+git${SRCPV}" PR = "r4.${META_TELEPHONY_OSMO_INC}" From 671337f9c8d8032a45c3f889875ad13854641ea5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 30 Dec 2012 15:43:19 +0100 Subject: [PATCH 083/908] osmo-bts: Go back to a un-modified channel release handling --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 657893ec41..362d6ab53b 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "fcd2dde738b5e7870367783fc27f4e6c7b91526a" +SRCREV_osmobts = "ccc9fd2d80a14bb2d2168e40c836b8c2234a78ec" SRCREV_openbsc = "977cd13741e1e80879ea5b840206044fa1817aea" PV = "0.1.0+git${SRCPV}" -PR = "r4.${META_TELEPHONY_OSMO_INC}" +PR = "r5.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From f63bb56056ae4f54b2c13856653700a9e2e80a25 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 30 Dec 2012 15:56:26 +0100 Subject: [PATCH 084/908] osmo-bts: Downgrade OpenBSC to have a sacch_deact variable --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 362d6ab53b..4c5bd08cf3 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" SRCREV_osmobts = "ccc9fd2d80a14bb2d2168e40c836b8c2234a78ec" -SRCREV_openbsc = "977cd13741e1e80879ea5b840206044fa1817aea" +SRCREV_openbsc = "324c8052ae738285aac6f0eb3d665cca8cd46d93" PV = "0.1.0+git${SRCPV}" PR = "r5.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 1c5bff88f1ad57f319f10ecc0c65e5d4e7a1b7a9 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 30 Dec 2012 16:50:39 +0100 Subject: [PATCH 085/908] osmo-bts: Another downgrade from the experimental branch --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 4c5bd08cf3..fc84712550 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "ccc9fd2d80a14bb2d2168e40c836b8c2234a78ec" +SRCREV_osmobts = "169993e5859609ac19b6f3c35b9a82656d53f0bf" SRCREV_openbsc = "324c8052ae738285aac6f0eb3d665cca8cd46d93" PV = "0.1.0+git${SRCPV}" PR = "r5.${META_TELEPHONY_OSMO_INC}" From f9756a1ec605a5c162c3062d6a7fc78fa80da6a5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 30 Dec 2012 16:59:42 +0100 Subject: [PATCH 086/908] osmo-bts: Another downgrade to look at broken channels --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index fc84712550..5eda682a26 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "169993e5859609ac19b6f3c35b9a82656d53f0bf" +SRCREV_osmobts = "5047e1470256e5e7a147affe5abd91e13bf066da" SRCREV_openbsc = "324c8052ae738285aac6f0eb3d665cca8cd46d93" PV = "0.1.0+git${SRCPV}" PR = "r5.${META_TELEPHONY_OSMO_INC}" From 8431d916a52f0a52d4af4a057911bda631a8e076 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 3 Jan 2013 22:47:14 +0100 Subject: [PATCH 087/908] dropbear: Add an init script that removes truncated keys It is possible that the key is truncated, remove it in this case. --- recipes-fixes/dropbear/dropbear_sysmocom.inc | 4 + recipes-fixes/dropbear/files/init | 112 +++++++++++++++++++ yocto-shared/dropbear_0.52.bbappend | 1 + 3 files changed, 117 insertions(+) create mode 100644 recipes-fixes/dropbear/dropbear_sysmocom.inc create mode 100644 recipes-fixes/dropbear/files/init create mode 100644 yocto-shared/dropbear_0.52.bbappend diff --git a/recipes-fixes/dropbear/dropbear_sysmocom.inc b/recipes-fixes/dropbear/dropbear_sysmocom.inc new file mode 100644 index 0000000000..53c41f4601 --- /dev/null +++ b/recipes-fixes/dropbear/dropbear_sysmocom.inc @@ -0,0 +1,4 @@ +THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:" + +PRINC="2" diff --git a/recipes-fixes/dropbear/files/init b/recipes-fixes/dropbear/files/init new file mode 100644 index 0000000000..8b99ecb4a3 --- /dev/null +++ b/recipes-fixes/dropbear/files/init @@ -0,0 +1,112 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: sshd +# Required-Start: $remote_fs $syslog $networking +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 1 +# Short-Description: Dropbear Secure Shell server +### END INIT INFO +# +# Do not configure this file. Edit /etc/default/dropbear instead! +# + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/dropbear +NAME=dropbear +DESC="Dropbear SSH server" + +DROPBEAR_PORT=22 +DROPBEAR_EXTRA_ARGS= +NO_START=0 + +set -e + +test ! -r /etc/default/dropbear || . /etc/default/dropbear +test "$NO_START" = "0" || exit 0 +test -x "$DAEMON" || exit 0 +test ! -h /var/service/dropbear || exit 0 + +readonly_rootfs=0 +for flag in `awk '{ if ($2 == "/") { split($4,FLAGS,",") } }; END { for (f in FLAGS) print FLAGS[f] }' &2 + exit 1 + ;; +esac + +exit 0 diff --git a/yocto-shared/dropbear_0.52.bbappend b/yocto-shared/dropbear_0.52.bbappend new file mode 100644 index 0000000000..a3a97a3fa8 --- /dev/null +++ b/yocto-shared/dropbear_0.52.bbappend @@ -0,0 +1 @@ +require recipes-fixes/dropbear/${PN}_sysmocom.inc From 38d2ca2f3653eae020c1754b1f3270474f409226 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 6 Jan 2013 21:11:09 +0100 Subject: [PATCH 088/908] osmo-bts: Go back to the version from before the congress --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 5eda682a26..9969df4255 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "5047e1470256e5e7a147affe5abd91e13bf066da" -SRCREV_openbsc = "324c8052ae738285aac6f0eb3d665cca8cd46d93" +SRCREV_osmobts = "0d30b5d81863fb70c6270fe1ffefe4fd426b0cd3" +SRCREV_openbsc = "25b70cea9d9521b081ea0cc524f5d157a1b89baf" PV = "0.1.0+git${SRCPV}" -PR = "r5.${META_TELEPHONY_OSMO_INC}" +PR = "r6.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From 98b850cdb7691dc4af0744bb05540ea62ba29002 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 24 Nov 2012 22:31:50 +0100 Subject: [PATCH 089/908] task-sysmocom-bts: calib is sysmobts-v2-only --- recipes-apps/tasks/task-sysmocom-bts.bb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index 71502366ef..16e0feabfa 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -4,14 +4,17 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY = "1" -PR = "r13" +PR = "r16" + +CALIB = "" +CALIB_sysmobts-v2 = "sysmobts-calib" # TODO: re-add femtobts-calib after it went through the API migration -RDEPENDS_task-sysmocom-bts = "\ +RDEPENDS_${PN} = "\ osmo-bts \ osmo-bts-remote \ - sysmobts-calib \ osmo-pcu \ lmsensors-scripts \ + ${CALIB} \ " From e74231478d671bd3e72f7b77fb4282906e8856b6 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 11 Jan 2013 12:40:32 +0100 Subject: [PATCH 090/908] task-sysmocom-bts needs to be PACKAGE_ARCH=MACHINE_ARCH otherwise we would still end up with a sysmobts-calib dependency on the v1 hardware. --- recipes-apps/tasks/task-sysmocom-bts.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index 16e0feabfa..ec91bf123f 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY = "1" -PR = "r16" +PR = "r17" CALIB = "" CALIB_sysmobts-v2 = "sysmobts-calib" @@ -17,4 +17,4 @@ RDEPENDS_${PN} = "\ lmsensors-scripts \ ${CALIB} \ " - +PACKAGE_ARCH = "${MACHINE_ARCH}" From df64e62c455318dc4e3b4e9f4ca689c7c8006be0 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 11 Jan 2013 12:51:05 +0100 Subject: [PATCH 091/908] update PCU git version to include NS VTY support --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 14a962c59c..d154c826c1 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly" -SRCREV = "a23c7eee151c1e92dacaadb823b26d426a904564" +SRCREV = "de5253a20f0fffd72c0fe711003609c93a6977d6" PV = "0.0+git${SRCPV}" PR = "r5.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 350981f9a831a8f32917e1b2a48bc7c64437a42b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 11 Jan 2013 17:19:36 +0100 Subject: [PATCH 092/908] update osmo-pcu; enable direct DSP queue access --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index d154c826c1..a449269002 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -2,15 +2,15 @@ DESCRIPTION = "Osmocom PCU for sysmoBTS" LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly" +SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly_merge" SRCREV = "de5253a20f0fffd72c0fe711003609c93a6977d6" PV = "0.0+git${SRCPV}" -PR = "r5.${META_TELEPHONY_OSMO_INC}" +PR = "r6.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" DEPENDS = "libosmocore femtobts-api osmo-bts" -EXTRA_OECONF += "--enable-sysmocom-dsp" +EXTRA_OECONF += "--enable-sysmocom-bts --enable-sysmocom-dsp" inherit autotools From 5b7eff1c9595bfc95d9fbfac6fc343d4250ebab1 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 11 Jan 2013 17:45:18 +0100 Subject: [PATCH 093/908] update osmo-bts to current git head this introduces (among other things) pcu start + re-spawning support --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 9969df4255..aa7a7293fa 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,8 +4,8 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "0d30b5d81863fb70c6270fe1ffefe4fd426b0cd3" -SRCREV_openbsc = "25b70cea9d9521b081ea0cc524f5d157a1b89baf" +SRCREV_osmobts = "24b2128e2975f14f9941caa156890480005df81e" +SRCREV_openbsc = "f2621e506de5fdbe7d800c4b1a9e764d7c9cdeef" PV = "0.1.0+git${SRCPV}" PR = "r6.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" @@ -35,6 +35,7 @@ do_install_append() { install -d ${D}${sysconfdir}/osmocom install -m 0660 ${S}/doc/examples/osmo-bts.cfg ${D}${sysconfdir}/osmocom install -m 0755 ${S}/contrib/respawn.sh ${D}${sysconfdir}/osmocom/ + install -m 0755 ${S}/contrib/respawn-only.sh ${D}${sysconfdir}/osmocom/ install -m 0644 ${S}/contrib/screenrc-sysmobts ${D}${sysconfdir}/osmocom/ install -d ${D}${sysconfdir}/init.d install -m 0755 ${S}/contrib/sysmobts.init ${D}${sysconfdir}/init.d/sysmobts From be7111d6c6dbd841522556deae1393f917dc80ad Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 11 Jan 2013 18:06:41 +0100 Subject: [PATCH 094/908] osmo-pcu: Update to most recent version including configuration file --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index a449269002..e0732d7585 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,16 +3,16 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly_merge" -SRCREV = "de5253a20f0fffd72c0fe711003609c93a6977d6" +SRCREV = "9aaf2ae24d544ce149fde7685ca0421d31262a09" PV = "0.0+git${SRCPV}" -PR = "r6.${META_TELEPHONY_OSMO_INC}" +PR = "r8.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" DEPENDS = "libosmocore femtobts-api osmo-bts" EXTRA_OECONF += "--enable-sysmocom-bts --enable-sysmocom-dsp" -inherit autotools +inherit autotools_stage # Select the API version inherit femtobts_api From b92f71e94bd0c8b74e191dac72f69e20fd6edcc4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 12 Jan 2013 20:55:55 +0100 Subject: [PATCH 095/908] dropbear: Make sure the dropbear key is generated on first boot The previous patch made sure a truncated key would be re-generated but it broke the case that there is no key at all. This code is handling both cases now. Use quotes as code outside this method is using them too. Use the -a and not the && operator to work with the busybox version of [ and ]. --- recipes-fixes/dropbear/files/init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-fixes/dropbear/files/init b/recipes-fixes/dropbear/files/init index 8b99ecb4a3..c1747e744e 100644 --- a/recipes-fixes/dropbear/files/init +++ b/recipes-fixes/dropbear/files/init @@ -58,13 +58,13 @@ gen_keys() { for t in $DROPBEAR_KEYTYPES; do case $t in rsa) - if [ ! -s $DROPBEAR_RSAKEY ]; then + if [ -f "$DROPBEAR_RSAKEY" -a ! -s "$DROPBEAR_RSAKEY" ]; then rm $DROPBEAR_RSAKEY fi test -f $DROPBEAR_RSAKEY || dropbearkey -t rsa -f $DROPBEAR_RSAKEY ;; dsa) - if [ ! -s $DROPBEAR_DSSKEY ]; then + if [ -f "$DROPBEAR_DSSKEY" -a ! -s "$DROPBEAR_DSSKEY" ]; then rm $DROPBEAR_DSSKEY fi test -f $DROPBEAR_DSSKEY || dropbearkey -t dss -f $DROPBEAR_DSSKEY From aff7df713eb0cbed2c6c27a61310050953f566c9 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 14 Jan 2013 02:06:56 +0100 Subject: [PATCH 096/908] bump version number in order to avoid backwards 'gitr3 -> gitr1' --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index e0732d7585..d6555af74c 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly_merge" SRCREV = "9aaf2ae24d544ce149fde7685ca0421d31262a09" -PV = "0.0+git${SRCPV}" +PV = "0.1+git${SRCPV}" PR = "r8.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From c7dc800cc506330d8c3e2cd84079a3ffdc94a22b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 Jan 2013 08:53:04 +0100 Subject: [PATCH 097/908] dropbear: Bump the PRINC after the init script fix --- recipes-fixes/dropbear/dropbear_sysmocom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-fixes/dropbear/dropbear_sysmocom.inc b/recipes-fixes/dropbear/dropbear_sysmocom.inc index 53c41f4601..0dea48ba1f 100644 --- a/recipes-fixes/dropbear/dropbear_sysmocom.inc +++ b/recipes-fixes/dropbear/dropbear_sysmocom.inc @@ -1,4 +1,4 @@ THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:" -PRINC="2" +PRINC="3" From 8b61400347f7276fe74b851eb85f3df1270b6ef9 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 Jan 2013 20:28:45 +0100 Subject: [PATCH 098/908] task-core-boot: Make sure the 'kernel' package is installed The modules depend on kernel-base (renamed kernel-3.2.35) package, the tasks depend on some modules and nothing needed the kernel package. In OE Core/Poky the machines depend on kernel-modules which will pull the kernel package into the rootfs. We do it by hand using the essential depends and bumping the PR for the task-core-boot. I have verified that on a kernel ugrade task-core-boot will be updated and the kernel package is installed. --- conf/machine/include/sysmobts.inc | 1 + recipes-apps/tasks/task-core-boot.bbappend | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index 616305acd4..e26e8ceb89 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -20,6 +20,7 @@ MACHINE_FEATURES = "kernel26 serial" MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ busybox-ifplugd \ watchdog \ + kernel \ kernel-module-davinci-wdt \ kernel-module-dspdl \ kernel-module-dspdl-dm644x \ diff --git a/recipes-apps/tasks/task-core-boot.bbappend b/recipes-apps/tasks/task-core-boot.bbappend index 7e68765b2b..7e058f52f5 100644 --- a/recipes-apps/tasks/task-core-boot.bbappend +++ b/recipes-apps/tasks/task-core-boot.bbappend @@ -1,3 +1,3 @@ -PRINC = "6" +PRINC = "7" RDEPENDS_task-core-boot += "" From fd02a175f62968f8ecc4275c590e2d8fce6ac1cf Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 15 Jan 2013 14:10:39 +0100 Subject: [PATCH 099/908] linux-sysmocom: Upgrade the BTS kernel to 3.2.36 --- recipes-bsp/linux/linux-sysmocom_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index f3c0dbad01..c8e22f8459 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -1,7 +1,7 @@ inherit kernel require linux-sysmocom.inc -LINUX_VERSION ?= "3.2.35" +LINUX_VERSION ?= "3.2.36" LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}" # Overrides for the sysmocom bts v1 @@ -10,7 +10,7 @@ BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1" # Overrides for the sysmocom bts v2 BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" -SRCREV = "20b5f4f07eb6719e41cc6d25fc2a73d95337421c" +SRCREV = "1db46a2b69e034677802b2c83b7d523b4338769f" PR = "r26" PV = "${LINUX_VERSION}+git${SRCPV}" From b726969f844fa435c44138be9c288e1c59aea072 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 17 Jan 2013 09:23:16 +0100 Subject: [PATCH 100/908] linux-sysmocom: Disable the debug message of the DSPDL loading code --- recipes-bsp/linux/linux-sysmocom_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index c8e22f8459..c9b43ab6a8 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -12,7 +12,7 @@ BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" SRCREV = "1db46a2b69e034677802b2c83b7d523b4338769f" -PR = "r26" +PR = "r27" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ @@ -44,7 +44,7 @@ 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=1" +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" From 557e1b47baeefe01d261092222dadfb67e6d3c56 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 29 Jan 2013 15:25:42 +0100 Subject: [PATCH 101/908] femtobts-api: ensure SRCREV is set on non-sysmobts machines. COMPATIBLE_MACHINE didn't work, unfortunately. --- recipes-sysmobts/femtobts-api/femtobts-api_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb index a5686efcb1..bf948bdf58 100644 --- a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -3,6 +3,7 @@ SECTION = "kernel" LICENSE = "CLOSED" SRC_URI = "git://git.sysmocom.de/sysmo-bts/layer1-api.git;protocol=git;branch=master" +SRCREV = "superfemto_v3.0.1pre" SRCREV_sysmobts-v2 = "superfemto_v3.0.1pre" SRCREV_sysmobts-v1 = "femtobts_v2.7" PV = "${SRCREV}+git${SRCPV}" From d0d30fee996328e4c43bc9cb2f0b04faec0c2e1b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 6 Feb 2013 15:35:17 +0100 Subject: [PATCH 102/908] sysmobts-firmware_v2.7: Fix build on sysmobts_v1 --- recipes-sysmobts/firmware/sysmobts-firmware_2.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_2.7.bb b/recipes-sysmobts/firmware/sysmobts-firmware_2.7.bb index fc2324ccd4..809f03d56b 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_2.7.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_2.7.bb @@ -4,7 +4,7 @@ PR = "r2.${INC_PR}" require ${PN}.inc -do_install_sysmobts() { +do_install() { install -d ${D}/lib/firmware/ install -m 0666 ${S}/Firmware/Dsp/femtobts.out ${D}/lib/firmware/sysmobts-v1.out From 489f392cc63daf1487f4480ebc96a46652766db4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 7 Feb 2013 15:42:53 +0100 Subject: [PATCH 103/908] update udhcp.conf to add router/subnet/broadcast ... otherwise busybox-udhcpc is not happy with it --- .../sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf | 3 +++ .../sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb | 1 + 2 files changed, 4 insertions(+) diff --git a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf index 798f1ae67f..723ad1f2bb 100644 --- a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf +++ b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf @@ -3,3 +3,6 @@ end 10.23.24.254 interface eth1 +option subnet 10.23.24.0 +option router 10.23.24.1 +option broadcast 10.23.24.255 diff --git a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb index edf0f19a61..e0e1047986 100644 --- a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb +++ b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb @@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" SRC_URI = "file://udhcpd.conf" +PR = "r2" CONFFILES_${PN} = "${sysconfdir}/udhcpd.conf" From bcf77644586e3d411fcae8053a3c8403013c93f1 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 9 Feb 2013 13:30:42 +0100 Subject: [PATCH 104/908] update osmo-bts for the "rtp bind-ip" related fixes --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index aa7a7293fa..21715aae72 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "24b2128e2975f14f9941caa156890480005df81e" +SRCREV_osmobts = "98407bd457b88c1a26de2a9955de3de9846e4f68" SRCREV_openbsc = "f2621e506de5fdbe7d800c4b1a9e764d7c9cdeef" PV = "0.1.0+git${SRCPV}" -PR = "r6.${META_TELEPHONY_OSMO_INC}" +PR = "r7.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From cf29168330626bd17a9cc0888149cfb3ad52fb0e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 9 Feb 2013 14:19:12 +0100 Subject: [PATCH 105/908] update osmo-bts for further ortp fixes --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 21715aae72..6efe7fb092 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "98407bd457b88c1a26de2a9955de3de9846e4f68" +SRCREV_osmobts = "18708dd3b60fa27e6a7121b686f11ee8c8069a4b" SRCREV_openbsc = "f2621e506de5fdbe7d800c4b1a9e764d7c9cdeef" PV = "0.1.0+git${SRCPV}" -PR = "r7.${META_TELEPHONY_OSMO_INC}" +PR = "r8.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From e9379558e337ce5bcc3af617aa8da07346e4e3d5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 15 Feb 2013 19:23:36 +0100 Subject: [PATCH 106/908] dropbear: Do not kill client connections when restarting the daemon The upgrade of the unit broke due killing all client connections. opkg got a SIGHUP and didn't write out the state files. Do not kill the client connections on upgrade. --- recipes-fixes/dropbear/dropbear_sysmocom.inc | 2 +- recipes-fixes/dropbear/files/init | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/recipes-fixes/dropbear/dropbear_sysmocom.inc b/recipes-fixes/dropbear/dropbear_sysmocom.inc index 0dea48ba1f..a23e4990c1 100644 --- a/recipes-fixes/dropbear/dropbear_sysmocom.inc +++ b/recipes-fixes/dropbear/dropbear_sysmocom.inc @@ -1,4 +1,4 @@ THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:" -PRINC="3" +PRINC="4" diff --git a/recipes-fixes/dropbear/files/init b/recipes-fixes/dropbear/files/init index c1747e744e..6ba665dace 100644 --- a/recipes-fixes/dropbear/files/init +++ b/recipes-fixes/dropbear/files/init @@ -15,6 +15,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/dropbear NAME=dropbear DESC="Dropbear SSH server" +PIDFILE=/var/run/dropbear.pid DROPBEAR_PORT=22 DROPBEAR_EXTRA_ARGS= @@ -80,24 +81,24 @@ case "$1" in KEY_ARGS="" test -f $DROPBEAR_DSSKEY && KEY_ARGS="$KEY_ARGS -d $DROPBEAR_DSSKEY" test -f $DROPBEAR_RSAKEY && KEY_ARGS="$KEY_ARGS -r $DROPBEAR_RSAKEY" - start-stop-daemon -S \ + start-stop-daemon -S -p $PIDFILE \ -x "$DAEMON" -- $KEY_ARGS \ -p "$DROPBEAR_PORT" $DROPBEAR_EXTRA_ARGS echo "$NAME." ;; stop) echo -n "Stopping $DESC: " - start-stop-daemon -K -x "$DAEMON" + start-stop-daemon -K -x "$DAEMON" -p $PIDFILE echo "$NAME." ;; restart|force-reload) echo -n "Restarting $DESC: " - start-stop-daemon -K -x "$DAEMON" + start-stop-daemon -K -x "$DAEMON" -p $PIDFILE sleep 1 KEY_ARGS="" test -f $DROPBEAR_DSSKEY && KEY_ARGS="$KEY_ARGS -d $DROPBEAR_DSSKEY" test -f $DROPBEAR_RSAKEY && KEY_ARGS="$KEY_ARGS -r $DROPBEAR_RSAKEY" - start-stop-daemon -S \ + start-stop-daemon -S -p $PIDFILE \ -x "$DAEMON" -- $KEY_ARGS \ -p "$DROPBEAR_PORT" $DROPBEAR_EXTRA_ARGS echo "$NAME." From c4c453a1dbf7e89f69f62dccecbf4989ec9b3816 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 16 Feb 2013 15:29:48 +0100 Subject: [PATCH 107/908] sysmocom-backup: Create two shell scripts for backup/restore Create shell scripts that backup and restore configuration files used by the sysmocom products. --- .../sysmocom-backup/files/sysmocom-backup | 56 +++++++++++++++++++ .../sysmocom-backup/files/sysmocom-restore | 26 +++++++++ .../sysmocom-backup/sysmocom-backup_1.0.bb | 13 +++++ 3 files changed, 95 insertions(+) create mode 100755 recipes-apps/sysmocom-backup/files/sysmocom-backup create mode 100755 recipes-apps/sysmocom-backup/files/sysmocom-restore create mode 100644 recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb diff --git a/recipes-apps/sysmocom-backup/files/sysmocom-backup b/recipes-apps/sysmocom-backup/files/sysmocom-backup new file mode 100755 index 0000000000..1166824478 --- /dev/null +++ b/recipes-apps/sysmocom-backup/files/sysmocom-backup @@ -0,0 +1,56 @@ +#!/bin/sh + + +# Make sure to look at sysmocom-restore to check if the file would +# be restored right. Currently only some dirs get restored. +FILES="\ + etc/openvpn + etc/osmocom/osmo-bsc-mgcp.cfg \ + etc/osmocom/osmo-bsc.cfg \ + etc/osmocom/osmo-bts.cfg \ + etc/osmocom/osmo-nitb.cfg \ + etc/osmocom/osmo-pcu.cfg \ + etc/osmocom/osmo-sgsn.cfg \ + etc/ggsn.conf \ + etc/default/osmo-nitb \ + etc/default/osmo-bsc \ + etc/default/osmocom-tcpdump \ + var/lib/osmocom/hlr.sqlite3 \ + " +DATE=`date +%Y%m%d` + + +do_backup_files() { + BACKUP_FILE="/home/root/sysmocom-backup_$DATE.tar" + + # 0. Sanity checking + if [ -e $BACKUP_FILE ]; then + echo "The backup file '$BACKUP_FILE' already exists. Exiting!" + exit 1 + fi + + # 1. Create an empty archive.. + tar -cf $BACKUP_FILE --files-from=/dev/null + + # 2. Add all the files... we need + for file in $FILES; + do + if [ -e "/$file" ]; then + tar -rf $BACKUP_FILE --transform='s,^,content/,' -C / $file + fi + done + + # 3. Generate more information + NAME="/tmp/backup.$RANDOM" + mkdir $NAME + opkg list_installed > $NAME/installed_packages + /sbin/ifconfig | grep HWaddr | cut -d ' ' -f 11 > $NAME/mac_addr + + # 4. Add the more information + tar -rf $BACKUP_FILE --transform='s,^,info/,' -C $NAME installed_packages mac_addr + + # 5. + echo "The backup was stored to $BACKUP_FILE" +} + +do_backup_files diff --git a/recipes-apps/sysmocom-backup/files/sysmocom-restore b/recipes-apps/sysmocom-backup/files/sysmocom-restore new file mode 100755 index 0000000000..59f865374d --- /dev/null +++ b/recipes-apps/sysmocom-backup/files/sysmocom-restore @@ -0,0 +1,26 @@ +#!/bin/sh + +do_extract() { + # List the files and check if grep hits something + SEARCH=`tar -tvf $1 | grep $2` + RES=$? + if [ $RES = 0 ]; then + tar -C / -xvf $1 --strip=1 $2 + else + echo "Directory '$2' is not in backup '$1'." + fi +} + +do_restore_files() { + BACKUP_FILE=$1 + if [ ! -e "$BACKUP_FILE" ] ; then + echo "The backup file '$BACKUP_FILE' does not exist. Exiting!" + exit 1 + fi + + echo "Going to extract files from the backup '$BACKUP_FILE'" + do_extract $BACKUP_FILE content/etc + do_extract $BACKUP_FILE content/var/lib/osmocom +} + +do_restore_files $1 diff --git a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb new file mode 100644 index 0000000000..4ce0b0feb0 --- /dev/null +++ b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "sysmocom config backup and restore scripts" +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" +PR = "r3" + +SRC_URI = "file://sysmocom-backup file://sysmocom-restore" +RDEPENDS_${PN} = "tar" + +do_install() { + install -d ${D}${sbindir} + install -m 0755 ${WORKDIR}/sysmocom-backup ${D}${sbindir}/ + install -m 0755 ${WORKDIR}/sysmocom-restore ${D}${sbindir}/ +} From 2b59ca73fec3483f7f1a040dc309f96e52492170 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 16 Feb 2013 16:03:39 +0100 Subject: [PATCH 108/908] task-sysmocom: Add the new sysmocom-backup as dependency Make sure the sysmocom-backup scripts are installed on the device so customers can backup and restore these files. --- recipes-apps/tasks/task-sysmocom.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-apps/tasks/task-sysmocom.bb b/recipes-apps/tasks/task-sysmocom.bb index acd4a52a9f..730f561583 100644 --- a/recipes-apps/tasks/task-sysmocom.bb +++ b/recipes-apps/tasks/task-sysmocom.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY = "1" -PR = "r9" +PR = "r10" RDEPENDS_task-sysmocom = "\ task-sysmocom-tools \ @@ -16,5 +16,6 @@ RDEPENDS_task-sysmocom = "\ ipaccess-utils \ wget \ ca-cacert-rootcert \ + sysmocom-backup \ " From e518a3224ab27d6ea8c83ada38cc701df4b81de0 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 2 Mar 2013 15:22:21 +0100 Subject: [PATCH 109/908] osmo-pcu: Only build DSP support on sysmobts v2, not also v1 --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index d6555af74c..e33f64e2e5 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -5,12 +5,12 @@ LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly_merge" SRCREV = "9aaf2ae24d544ce149fde7685ca0421d31262a09" PV = "0.1+git${SRCPV}" -PR = "r8.${META_TELEPHONY_OSMO_INC}" +PR = "r9.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" DEPENDS = "libosmocore femtobts-api osmo-bts" -EXTRA_OECONF += "--enable-sysmocom-bts --enable-sysmocom-dsp" +EXTRA_OECONF_sysmobts_v2 += "--enable-sysmocom-bts --enable-sysmocom-dsp" inherit autotools_stage From 766aabc56383ca01b6464cedf18032f757c57cb2 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 2 Mar 2013 17:07:30 +0100 Subject: [PATCH 110/908] import gpsd_3.7 recipe, taken from oe-meta.git, modified * no longer depen on python * no longer depend on dbus * disable lots of compile options we don't need --- classes/pythonnative.bbclass | 3 + .../chrpath/chrpath/standarddoc.patch | 19 +++ recipes-devtools/chrpath/chrpath_0.14.bb | 26 +++ ...le-html-and-man-docs-building-becaus.patch | 49 ++++++ ...x-includepy-with-sysroot-and-drop-sy.patch | 72 +++++++++ ...t-respect-sysroot-also-in-SPLINTOPTS.patch | 30 ++++ .../0004-SConstruct-remove-rpath.patch | 42 +++++ recipes-extra/gpsd/gpsd-machine-conf_1.0.bb | 7 + recipes-extra/gpsd/gpsd/60-gpsd.rules | 47 ++++++ recipes-extra/gpsd/gpsd/gpsd | 136 ++++++++++++++++ recipes-extra/gpsd/gpsd/gpsd-default | 5 + recipes-extra/gpsd/gpsd_3.7.bb | 149 ++++++++++++++++++ 12 files changed, 585 insertions(+) create mode 100644 classes/pythonnative.bbclass create mode 100644 recipes-devtools/chrpath/chrpath/standarddoc.patch create mode 100644 recipes-devtools/chrpath/chrpath_0.14.bb create mode 100644 recipes-extra/gpsd/gpsd-3.7/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch create mode 100644 recipes-extra/gpsd/gpsd-3.7/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch create mode 100644 recipes-extra/gpsd/gpsd-3.7/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch create mode 100644 recipes-extra/gpsd/gpsd-3.7/0004-SConstruct-remove-rpath.patch create mode 100644 recipes-extra/gpsd/gpsd-machine-conf_1.0.bb create mode 100644 recipes-extra/gpsd/gpsd/60-gpsd.rules create mode 100755 recipes-extra/gpsd/gpsd/gpsd create mode 100644 recipes-extra/gpsd/gpsd/gpsd-default create mode 100644 recipes-extra/gpsd/gpsd_3.7.bb diff --git a/classes/pythonnative.bbclass b/classes/pythonnative.bbclass new file mode 100644 index 0000000000..7886207d06 --- /dev/null +++ b/classes/pythonnative.bbclass @@ -0,0 +1,3 @@ +PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" +EXTRANATIVEPATH += "python-native" +DEPENDS += " python-native " diff --git a/recipes-devtools/chrpath/chrpath/standarddoc.patch b/recipes-devtools/chrpath/chrpath/standarddoc.patch new file mode 100644 index 0000000000..f96f104fad --- /dev/null +++ b/recipes-devtools/chrpath/chrpath/standarddoc.patch @@ -0,0 +1,19 @@ +Upstream-Status: Pending + +autoconf/automake set docdir automatically, use their value ensuring +doc files are placed into $datadir/doc, not $prefix/doc. + +RP 5/7/2011 + +Index: chrpath-0.13/Makefile.am +=================================================================== +--- chrpath-0.13.orig/Makefile.am 2011-07-05 23:40:14.769920254 +0100 ++++ chrpath-0.13/Makefile.am 2011-07-05 23:40:19.819920635 +0100 +@@ -1,7 +1,5 @@ + SUBDIRS = testsuite deb + +-docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION) +- + doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README + + bin_PROGRAMS = chrpath diff --git a/recipes-devtools/chrpath/chrpath_0.14.bb b/recipes-devtools/chrpath/chrpath_0.14.bb new file mode 100644 index 0000000000..533e974fe9 --- /dev/null +++ b/recipes-devtools/chrpath/chrpath_0.14.bb @@ -0,0 +1,26 @@ +SUMMARY = "Tool to edit rpath in ELF binaries" +DESCRIPTION = "chrpath allows you to change the rpath (where the \ +application looks for libraries) in an application. It does not \ +(yet) allow you to add an rpath if there isn't one already." +HOMEPAGE = "http://alioth.debian.org/projects/chrpath/" +BUGTRACKER = "http://alioth.debian.org/tracker/?atid=412807&group_id=31052" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" +PR = "r0" + +SRC_URI = "http://alioth.debian.org/frs/download.php/3648/chrpath-${PV}.tar.gz \ + file://standarddoc.patch" + +SRC_URI[md5sum] = "ea6b212b23393bf58b0ef9bcf6491b86" +SRC_URI[sha256sum] = "a1bc9abc42d2b97efc3a0ced7c5dbed37d5debff600386193750315fa5823eaa" + +inherit autotools + +# We don't have a staged chrpath-native for ensuring our binary is +# relocatable, so use the one we've just built +CHRPATH_BIN_class-native = "${S}/chrpath" + +PROVIDES_append_class-native = " chrpath-replacement-native" +NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-extra/gpsd/gpsd-3.7/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch b/recipes-extra/gpsd/gpsd-3.7/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch new file mode 100644 index 0000000000..9db24326cf --- /dev/null +++ b/recipes-extra/gpsd/gpsd-3.7/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch @@ -0,0 +1,49 @@ +From ca1a781afbd68697ef2f573557f1f93ec7ab8d3c Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Sun, 29 Apr 2012 00:05:59 +0200 +Subject: [PATCH] SConstruct: disable html and man docs building because + xmlto-native from OE is broken + +It will try to load dtd and fail: +| xmlto man gpsctl.xml; mv `basename gpsctl.1` gpsctl.1 +| xmlto: /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/gpsd-3.4/gpsctl.xml does not validate (status 3) +| xmlto: Fix document syntax or use --skip-validation option +| I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd +| /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/gpsd-3.4/gpsctl.xml:8: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" +| "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +| ^ +| I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd +| warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" +| validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" +| Document /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/gpsd-3.4/gpsctl.xml does not validate +| mv: cannot stat `gpsctl.1': No such file or directory +| scons: *** [gpsctl.1] Error 1 +| scons: building terminated because of errors. + +Signed-off-by: Martin Jansa +--- + SConstruct | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/SConstruct b/SConstruct +index 9c0f751..8236abb 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -560,12 +560,12 @@ size_t strlcpy(/*@out@*/char *dst, /*@in@*/const char *src, size_t size); + + + manbuilder = mangenerator = htmlbuilder = None +-if config.CheckXsltproc(): ++if False and config.CheckXsltproc(): + mangenerator = 'xsltproc' + build = "xsltproc --nonet %s $SOURCE >$TARGET" + htmlbuilder = build % docbook_html_uri + manbuilder = build % docbook_man_uri +-elif WhereIs("xmlto"): ++elif False and WhereIs("xmlto"): + mangenerator = 'xmlto' + htmlbuilder = "xmlto html-nochunks $SOURCE; mv `basename $TARGET` $TARGET" + manbuilder = "xmlto man $SOURCE; mv `basename $TARGET` $TARGET" +-- +1.7.8.6 + diff --git a/recipes-extra/gpsd/gpsd-3.7/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch b/recipes-extra/gpsd/gpsd-3.7/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch new file mode 100644 index 0000000000..c6eb03bf2f --- /dev/null +++ b/recipes-extra/gpsd/gpsd-3.7/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch @@ -0,0 +1,72 @@ +From dd3ca38b27cce93f7e932abaa27b41371234fa90 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Tue, 24 Apr 2012 18:45:14 +0200 +Subject: [PATCH] SConstruct: prefix includepy with sysroot and drop sysroot + from python_lib_dir + +* without PYTHONPATH, distutil's sysconfig returns INCLUDEPY without sysroot prefix + and with PYTHONPATH from OE it's pointing to native python dir + + $ export PYTHONPATH=/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/python2.7/ + $ python + Python 2.7.2 (default, Apr 18 2012, 09:19:59) + [GCC 4.6.2] on linux2 + Type "help", "copyright", "credits" or "license" for more information. + >>> from distutils import sysconfig + >>> sysconfig.get_config_vars('INCLUDEPY') + ['/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include/python2.7'] + >>> + $ unset PYTHONPATH + $ python + Python 2.7.2 (default, Apr 18 2012, 09:19:59) + [GCC 4.6.2] on linux2 + Type "help", "copyright", "credits" or "license" for more information. + >>> from distutils import sysconfig + >>> sysconfig.get_config_vars('INCLUDEPY') + ['/python2.7'] + >>> import sysconfig + >>> sysconfig.get_config_vars('INCLUDEPY') + ['/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include/python2.7'] +* python_lib_dir = python_lib_dir.replace(env['sysroot'], '') + returns path to target sysroot + +Signed-off-by: Martin Jansa +--- + SConstruct | 9 +++++++++ + 1 files changed, 9 insertions(+), 0 deletions(-) + +diff --git a/SConstruct b/SConstruct +index 3c919fc..8478181 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -932,6 +932,12 @@ else: + if vars[i] is None: + vars[i] = [] + (cc, cxx, opt, basecflags, ccshared, ldshared, so_ext, includepy, ldflags) = vars ++ ++ if env['sysroot']: ++ print "Prefixing includepy '%s' with sysroot prefix" % includepy ++ includepy = os.path.normpath("%s/%s/%s/%s" % (env['sysroot'], env['prefix'], env['includedir'], includepy)) ++ print "'%s'" % includepy ++ + # in case CC/CXX was set to the scan-build wrapper, + # ensure that we build the python modules with scan-build, too + if env['CC'] is None or env['CC'].find('scan-build') < 0: +@@ -1165,11 +1171,14 @@ if not env['python']: + python_install = [] + else: + python_lib_dir = sysconfig.get_python_lib(plat_specific=1) ++ python_lib_dir = python_lib_dir.replace(env['sysroot'], '') + python_module_dir = python_lib_dir + os.sep + 'gps' + python_extensions_install = python_env.Install( DESTDIR + python_module_dir, + python_built_extensions) + if not env['debug'] and not env['profiling'] and env['strip']: + python_env.AddPostAction(python_extensions_install, '$STRIP $TARGET') ++ env.AddPostAction(python_extensions_install, '$CHRPATH -r "%s" "$TARGET"' \ ++ % (python_lib_dir, )) + + python_modules_install = python_env.Install( DESTDIR + python_module_dir, + python_modules) +-- +1.7.8.5 + diff --git a/recipes-extra/gpsd/gpsd-3.7/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch b/recipes-extra/gpsd/gpsd-3.7/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch new file mode 100644 index 0000000000..40baa01947 --- /dev/null +++ b/recipes-extra/gpsd/gpsd-3.7/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch @@ -0,0 +1,30 @@ +From f5f262be8ae54bd0c0f52802f2007ec89163756f Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Tue, 24 Apr 2012 11:52:35 +0200 +Subject: [PATCH 1/2] SConstruct: respect sysroot also in SPLINTOPTS + +Signed-off-by: Martin Jansa +Signed-off-by: Denis 'GNUtoo' Carikli +--- + SConstruct | 5 ++++- + 1 files changed, 4 insertions(+), 1 deletions(-) + +diff --git a/SConstruct b/SConstruct +index a25e88a..a1bddb9 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -1277,7 +1277,10 @@ def Utility(target, source, action): + + # Report splint warnings + # Note: test_bits.c is unsplintable because of the PRI64 macros. +-splintopts = "-I/usr/include/libusb-1.0 +quiet" ++if not env['sysroot']: ++ splintopts = "-I/usr/include/libusb-1.0 +quiet" ++else: ++ splintopts = "-I%s/usr/include/libusb-1.0 +quiet" % env['sysroot'] + # splint does not know about multi-arch, work around that + ma_status, ma = _getstatusoutput('dpkg-architecture -qDEB_HOST_MULTIARCH') + if ma_status == 0: +-- +1.7.5.4 + diff --git a/recipes-extra/gpsd/gpsd-3.7/0004-SConstruct-remove-rpath.patch b/recipes-extra/gpsd/gpsd-3.7/0004-SConstruct-remove-rpath.patch new file mode 100644 index 0000000000..83b98bb5ed --- /dev/null +++ b/recipes-extra/gpsd/gpsd-3.7/0004-SConstruct-remove-rpath.patch @@ -0,0 +1,42 @@ +From 7d736bbd517c12d19d7b85a5b0db84732b2f86da Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Tue, 24 Apr 2012 16:24:35 +0200 +Subject: [PATCH 2/2] SConstruct: remove rpath + +* even with correct prefix (without DESTDIR) included it's redundant + WARNING: QA Issue: libgps: + /work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/packages-split/libgps/usr/lib/libgps.so.20.0 + contains probably-redundant RPATH /usr/lib +* and with prefix from scons.bbclass it's invalid + WARNING: QA Issue: package libgps contains bad RPATH + /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/image/usr/lib + in file + /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/packages-split/libgps/usr/lib/libgps.so.20.0 + +Signed-off-by: Martin Jansa +Signed-off-by: Denis 'GNUtoo' Carikli +--- + SConstruct | 7 +++++-- + 1 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/SConstruct b/SConstruct +index a1bddb9..3e7c607 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -1205,8 +1205,11 @@ if qt_env: + + # We don't use installdir here in order to avoid having DESTDIR affect the rpath + if env["shared"] and env["chrpath"]: +- env.AddPostAction(binaryinstall, '$CHRPATH -r "%s" "$TARGET"' \ +- % (installdir('libdir', False), )) ++ if not env['sysroot']: ++ env.AddPostAction(binaryinstall, '$CHRPATH -r "%s" "$TARGET"' \ ++ % (installdir('libdir', False), )) ++ else: ++ env.AddPostAction(binaryinstall, '$CHRPATH -d "$TARGET"') + + if not env['debug'] and not env['profiling'] and env['strip']: + env.AddPostAction(binaryinstall, '$STRIP $TARGET') +-- +1.7.5.4 + diff --git a/recipes-extra/gpsd/gpsd-machine-conf_1.0.bb b/recipes-extra/gpsd/gpsd-machine-conf_1.0.bb new file mode 100644 index 0000000000..2042383331 --- /dev/null +++ b/recipes-extra/gpsd/gpsd-machine-conf_1.0.bb @@ -0,0 +1,7 @@ +DESCRIPTION = "Machine specific gpsd config" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD;md5=3775480a712fc46a69647678acb234cb" + +# empty by default +# BSP layers can add stuff like meta-openmoko example: +# diff --git a/recipes-extra/gpsd/gpsd/60-gpsd.rules b/recipes-extra/gpsd/gpsd/60-gpsd.rules new file mode 100644 index 0000000000..c01db068de --- /dev/null +++ b/recipes-extra/gpsd/gpsd/60-gpsd.rules @@ -0,0 +1,47 @@ +# udev rules for gpsd +# $Id$ +# +# GPSes don't have their own USB device class. They're serial-over-USB +# devices, so what you see is actually the ID of the serial-over-USB chip. +# Fortunately, just two of these account for over 80% of consumer-grade +# GPS sensors. The gpsd.hotplug.wrapper script will tell a running gpsd +# that it should look at the device that just went active, because it +# might be a GPS. +# +# The following setup works on Debian - something similar will apply on +# other distributions: +# +# /etc/udev/gpsd.rules +# /etc/udev/rules.d/025_gpsd.rules -> ../gpsd.rules +# /lib/udev/gpsd.hotplug.wrapper +# /lib/udev/gpsd.hotplug +# +# Setting the link in /etc/udev/rules.d activates the rule and determines +# when to run it on boot (similar to init.d processing). + +SUBSYSTEM!="tty", GOTO="gpsd_rules_end" + +# Prolific Technology, Inc. PL2303 Serial Port +ATTR{idVendor}=="067b", ATTR{idProduct}=="2303", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" +# ATEN International Co., Ltd UC-232A Serial Port [pl2303] +ATTR{idVendor}=="0557", ATTR{idProduct}=="2008", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" +# FTDI 8U232AM +ATTR{idVendor}=="0403", ATTR{idProduct}=="6001", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" +# Cypress M8/CY7C64013 (DeLorme uses these) +ATTR{idVendor}=="1163", ATTR{idProduct}=="0100", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" +# PS-360 OEM (Microsoft GPS sold with Street and Trips 2005) +ATTR{idVendor}=="067b", ATTR{idProduct}=="aaa0", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" +# Garmin International GPSmap, various models (tested with Garmin GPS 18 USB) +ATTR{idVendor}=="091e", ATTR{idProduct}=="0003", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" +# Cygnal Integrated Products, Inc. CP210x Composite Device (Used by Holux m241) +ATTR{idVendor}=="10c4", ATTR{idProduct}=="ea60", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" +# u-blox AG, u-blox 5 (tested with Navilock NL-402U) +ATTR{idVendor}=="1546", ATTR{idProduct}=="01a5", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" +# FTDI FT232 +ATTR{idVendor}=="0403", ATTR{idProduct}=="6001", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" +# u-blox 4 +SYSFS{idVendor}=="1546", SYSFS{idProduct}=="01a4", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" + +ACTION=="remove", RUN+="/lib/udev/gpsd.hotplug.wrapper" + +LABEL="gpsd_rules_end" diff --git a/recipes-extra/gpsd/gpsd/gpsd b/recipes-extra/gpsd/gpsd/gpsd new file mode 100755 index 0000000000..ba73dafb2c --- /dev/null +++ b/recipes-extra/gpsd/gpsd/gpsd @@ -0,0 +1,136 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: gpsd +# Required-Start: $remote_fs $network +# Should-Start: bluetooth dbus udev +# Required-Stop: $remote_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: GPS (Global Positioning System) daemon start/stop script +# Description: Start/Stop script for the gpsd service daemon, +# which is able to monitor one or more GPS devices +# connected to a host computer, making all data on +# the location and movements of the sensors available +# to be queried on TCP port 2947. +### END INIT INFO + +# Author: Bernd Zeimetz +# +# Please remove the "Author" lines above and replace them +# with your own name if you copy and modify this script. + +# Do NOT "set -e" + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="GPS (Global Positioning System) daemon" +NAME=gpsd +DAEMON=/usr/sbin/$NAME +PIDFILE=/var/run/$NAME.pid +SCRIPTNAME=/etc/init.d/$NAME + +# Exit if the package is not installed +[ -x "$DAEMON" ] || exit 0 + +# Read configuration, if present +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + +if [ -z "$GPSD_SOCKET" ] && [ -z "$DEVICES" ]; then + GPSD_SOCKET=/var/run/gpsd.sock +fi + +if [ -n "$GPSD_SOCKET" ]; then + GPSD_OPTIONS="$GPSD_OPTIONS -F $GPSD_SOCKET" +fi + +# +# Function that starts the daemon/service +# +do_start() +{ + # Return + # 0 if daemon has been started + # 1 if daemon was already running + # 2 if daemon could not be started + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test \ + -- $GPSD_OPTIONS -P $PIDFILE $GPS_DEVICES > /dev/null \ + || return 1 + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ + $GPSD_OPTIONS -P $PIDFILE $GPS_DEVICES \ + || return 2 +} + +# +# Function that stops the daemon/service +# +do_stop() +{ + # Return + # 0 if daemon has been stopped + # 1 if daemon was already stopped + # 2 if daemon could not be stopped + # other if a failure occurred + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME + RETVAL="$?" + [ "$RETVAL" = 2 ] && return 2 + # Many daemons don't delete their pidfiles when they exit. + rm -f $PIDFILE + return "$RETVAL" +} + +# +# Function that sends a SIGHUP to the daemon/service +# +do_reload() { + # + # If the daemon can reload its configuration without + # restarting (for example, when it is sent a SIGHUP), + # then implement that here. + # + start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME + return 0 +} + +case "$1" in + start) + echo "Starting $DESC" "$NAME" + do_start + exit $? + ;; + stop) + echo "Stopping $DESC" "$NAME" + do_stop + exit $? + ;; + status) + ;; + reload|force-reload) + echo "Reloading $DESC" "$NAME" + do_reload + exit $? + ;; + restart) + # + # If the "reload" option is implemented then remove the + # 'force-reload' alias + # + echo "Restarting $DESC" "$NAME" + do_stop + case "$?" in + 0|1) + do_start + exit $? + ;; + *) + # Failed to stop + exit 1 + ;; + esac + ;; + *) + echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 + exit 3 + ;; +esac + +: diff --git a/recipes-extra/gpsd/gpsd/gpsd-default b/recipes-extra/gpsd/gpsd/gpsd-default new file mode 100644 index 0000000000..0ceff03824 --- /dev/null +++ b/recipes-extra/gpsd/gpsd/gpsd-default @@ -0,0 +1,5 @@ +# If you must specify a non-NMEA driver, uncomment and modify the next line +GPSD_SOCKET="/var/run/gpsd.sock" +GPSD_OPTIONS="" +GPS_DEVICES="" + diff --git a/recipes-extra/gpsd/gpsd_3.7.bb b/recipes-extra/gpsd/gpsd_3.7.bb new file mode 100644 index 0000000000..460dc886bf --- /dev/null +++ b/recipes-extra/gpsd/gpsd_3.7.bb @@ -0,0 +1,149 @@ +DESCRIPTION = "A TCP/IP Daemon simplifying the communication with GPS devices" +SECTION = "console/network" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800" +DEPENDS = "ncurses" +#DEPENDS = "ncurses libusb1 python" +PROVIDES = "virtual/gpsd" + +EXTRANATIVEPATH += "chrpath-native" + +PR = "r3.4" + +SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ + file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ + file://0004-SConstruct-remove-rpath.patch \ + file://0001-SConstruct-disable-html-and-man-docs-building-becaus.patch \ + file://gpsd-default \ + file://gpsd \ + file://60-gpsd.rules \ +" +#file://0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch \ +SRC_URI[md5sum] = "52d9785eaf1a51298bb8900dbde88f98" +SRC_URI[sha256sum] = "7800c478ee9d7ca7a502b0f892828561b1fbf7bc69d9d38c447c82c3628302ac" + +#inherit scons update-rc.d python-dir pythonnative +inherit scons update-rc.d + +INITSCRIPT_NAME = "gpsd" +INITSCRIPT_PARAMS = "defaults 35" + +SYSTEMD_OESCONS ??= "false" + +export STAGING_INCDIR +export STAGING_LIBDIR + +EXTRA_OESCONS = " \ + sysroot=${STAGING_DIR_TARGET} \ + libQgpsmm='false' \ + debug='true' \ + strip='false' \ + ashtec='false' \ + bluez='false' \ + dbus_export='false' \ + cheapfloats='false' \ + earthmate='false' \ + evermore='false' \ + fury='false' \ + fv18='false' \ + garmin='false' \ + garmintxt='false' \ + geostar='false' \ + itrax='false' \ + libQgpsmm='false' \ + mtk3301='false' \ + navcom='false' \ + oncore='false' \ + python='false' \ + sirf='false' \ + tnt='false' \ + trip='false' \ + tripmate='false' \ + usb='false' \ + systemd='${SYSTEMD_OESCONS}' \ +" +# python='false' \ +# this cannot be used, because then chrpath is not found and only static lib is built +# target=${HOST_SYS} + +do_compile_prepend() { + export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" + export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config" + export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" + + export BUILD_SYS="${BUILD_SYS}" + export HOST_SYS="${HOST_SYS}" +} + +do_install() { + export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" + export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config" + export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" + + export BUILD_SYS="${BUILD_SYS}" + export HOST_SYS="${HOST_SYS}" + + export DESTDIR="${D}" + # prefix is used for RPATH and DESTDIR/prefix for instalation + ${STAGING_BINDIR_NATIVE}/scons prefix=${prefix} install ${EXTRA_OESCONS}|| \ + bbfatal "scons install execution failed." +} + +do_install_append() { + install -d ${D}/${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/ + install -d ${D}/${sysconfdir}/default + install -m 0644 ${WORKDIR}/gpsd-default ${D}/${sysconfdir}/default/gpsd.default + + #support for udev + install -d ${D}/${sysconfdir}/udev/rules.d + install -m 0644 ${WORKDIR}/60-gpsd.rules ${D}/${sysconfdir}/udev/rules.d + install -d ${D}${base_libdir}/udev/ + install -m 0755 ${S}/gpsd.hotplug ${D}${base_libdir}/udev/ + + #support for python + #install -d ${D}/${PYTHON_SITEPACKAGES_DIR}/gps + #install -m 755 ${S}/gps/*.py ${D}/${PYTHON_SITEPACKAGES_DIR}/gps +} + +pkg_postinst_${PN}-conf() { + update-alternatives --install ${sysconfdir}/default/gpsd gpsd-defaults ${sysconfdir}/default/gpsd.default 10 +} + +pkg_postrm_${PN}-conf() { + update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default +} + +#PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils" +PACKAGES =+ "libgps libgpsd gpsd-udev gpsd-conf gpsd-gpsctl gps-utils" + +FILES_gpsd-dev += "${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc" + +#FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug" + +RDEPENDS_${PN} = "gpsd-gpsctl" +RRECOMMENDS_${PN} = "gpsd-conf gpsd-udev gpsd-machine-conf" + +DESCRIPTION_gpsd-udev = "udev relevant files to use gpsd hotplugging" +FILES_gpsd-udev = "${base_libdir}/udev ${sysconfdir}/udev/*" +RDEPENDS_gpsd-udev += "udev gpsd-conf" + +DESCRIPTION_libgpsd = "C service library used for communicating with gpsd" +FILES_libgpsd = "${libdir}/libgpsd.so.*" + +DESCRIPTION_libgps = "C service library used for communicating with gpsd" +FILES_libgps = "${libdir}/libgps.so.*" + +DESCRIPTION_gpsd-conf = "gpsd configuration files and init scripts" +FILES_gpsd-conf = "${sysconfdir}" + +DESCRIPTION_gpsd-gpsctl = "Tool for tweaking GPS modes" +FILES_gpsd-gpsctl = "${bindir}/gpsctl" + +DESCRIPTION_gps-utils = "Utils used for simulating, monitoring,... a GPS" +FILES_gps-utils = "${bindir}/*" +#RDEPENDS_gps-utils = "python-pygps" + +#DESCRIPTION_python-pygps = "Python bindings to gpsd" +#FILES_python-pygps = "${PYTHON_SITEPACKAGES_DIR}/*" +#RDEPENDS_python-pygps = "python-core python-curses gpsd python-json" From 5b6ad0ce9dd1e35091d4114381cff51dee953195 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 9 Mar 2013 01:05:03 +0000 Subject: [PATCH 111/908] osmo-pcu: Make sure to actually build sysmobts support on v2 --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index e33f64e2e5..494f963df6 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -5,12 +5,12 @@ LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly_merge" SRCREV = "9aaf2ae24d544ce149fde7685ca0421d31262a09" PV = "0.1+git${SRCPV}" -PR = "r9.${META_TELEPHONY_OSMO_INC}" +PR = "r10.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" DEPENDS = "libosmocore femtobts-api osmo-bts" -EXTRA_OECONF_sysmobts_v2 += "--enable-sysmocom-bts --enable-sysmocom-dsp" +EXTRA_OECONF_sysmobts-v2 += "--enable-sysmocom-bts --enable-sysmocom-dsp" inherit autotools_stage From c71b4ead632741b9d692e4e283ff9e9b9de4ca10 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 13 Mar 2013 12:47:14 +0100 Subject: [PATCH 112/908] osmo-bts: Update to current git master This will include * Fix of CHAN_NR IEI in common channel RSL messages generated by BTS * zecke/request_queueing * Improve shutdown of DSP on exit * various calib updates * GSMTAP: use RxLevel and RxQual * DSP power control bypass on ul_power_target==0 * Add radio link timeout procedure --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 6efe7fb092..a9f0f66f39 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,8 +4,8 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "18708dd3b60fa27e6a7121b686f11ee8c8069a4b" -SRCREV_openbsc = "f2621e506de5fdbe7d800c4b1a9e764d7c9cdeef" +SRCREV_osmobts = "f0bdc1e5629778500fa06bde08bb90cb7b8c11cb" +SRCREV_openbsc = "8b29180cad875b396288a22fb252e158fa2a060a" PV = "0.1.0+git${SRCPV}" PR = "r8.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From b67bed4d3a6a85c49176f61fd4de3ebf61ced846 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 13 Mar 2013 13:48:43 +0100 Subject: [PATCH 113/908] Add recipes for firmware v3.2 and v3.3 --- .../firmware/sysmobts-firmware_3.2.bb | 19 +++++++++++++++++++ .../firmware/sysmobts-firmware_3.3.bb | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb create mode 100644 recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb new file mode 100644 index 0000000000..504a3f4f7b --- /dev/null +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb @@ -0,0 +1,19 @@ +COMPATIBLE_MACHINE = "sysmobts-v2" +FIRMWARE-VERSION = "superfemto_v${PV}" +PR = "r7.${INC_PR}" + +require ${PN}.inc + +# Currently there is no common Firmware for RevC and RevD Hardware and we +# need to handle this differently for now. + + + +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*" diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb new file mode 100644 index 0000000000..504a3f4f7b --- /dev/null +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb @@ -0,0 +1,19 @@ +COMPATIBLE_MACHINE = "sysmobts-v2" +FIRMWARE-VERSION = "superfemto_v${PV}" +PR = "r7.${INC_PR}" + +require ${PN}.inc + +# Currently there is no common Firmware for RevC and RevD Hardware and we +# need to handle this differently for now. + + + +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*" From b6780a58267f40a9c9d37ed1916e8fcbee1cde8d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 14 Mar 2013 14:03:40 +0100 Subject: [PATCH 114/908] sysmobts-firmware: Remove comment about both versions being installed As of issue #48 we do not separate firmware for revc and revd. Remove the comment about both versions being installed in parallel. --- recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb | 5 ----- recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb | 5 ----- 2 files changed, 10 deletions(-) diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb index 504a3f4f7b..c011570a98 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb @@ -4,11 +4,6 @@ PR = "r7.${INC_PR}" require ${PN}.inc -# Currently there is no common Firmware for RevC and RevD Hardware and we -# need to handle this differently for now. - - - do_install() { install -d ${D}/lib/firmware/ diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb index 504a3f4f7b..c011570a98 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb @@ -4,11 +4,6 @@ PR = "r7.${INC_PR}" require ${PN}.inc -# Currently there is no common Firmware for RevC and RevD Hardware and we -# need to handle this differently for now. - - - do_install() { install -d ${D}/lib/firmware/ From 85a4948d4bb33d9815437f69724a7751d1e1c920 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 14 Mar 2013 21:15:50 +0100 Subject: [PATCH 115/908] add sysmobts-v2 specific GPSD config file FIXME: this will actually assume a GPS that is indirectly attached to a GSM Modem which will be handled by openmoko-gsmd and forwarded via UDP. However, we might have a GPS receiver attached directly to the GPS UART in other hardware versions! --- recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd.default | 5 +++++ recipes-extra/gpsd/gpsd_3.7.bb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd.default diff --git a/recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd.default b/recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd.default new file mode 100644 index 0000000000..e37c3b56dd --- /dev/null +++ b/recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd.default @@ -0,0 +1,5 @@ +# If you must specify a non-NMEA driver, uncomment and modify the next line +GPSD_SOCKET="/var/run/gpsd.sock" +GPSD_OPTIONS="" +GPS_DEVICES="udp://127.0.0.1:12345 udp://127.0.0.1:12346" + diff --git a/recipes-extra/gpsd/gpsd_3.7.bb b/recipes-extra/gpsd/gpsd_3.7.bb index 460dc886bf..a2e7c9e8b7 100644 --- a/recipes-extra/gpsd/gpsd_3.7.bb +++ b/recipes-extra/gpsd/gpsd_3.7.bb @@ -8,7 +8,7 @@ PROVIDES = "virtual/gpsd" EXTRANATIVEPATH += "chrpath-native" -PR = "r3.4" +PR = "r3.5" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ From 8d7bfd23e9b85f029dc85e5d6fbbcc18e7216531 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 14 Mar 2013 22:56:05 +0100 Subject: [PATCH 116/908] ggsn.conf update: use 127.0.0.2 on sysmobts-v2 --- recipes-config/openggsn-config/files/sysmobts-v2/ggsn.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-config/openggsn-config/files/sysmobts-v2/ggsn.conf b/recipes-config/openggsn-config/files/sysmobts-v2/ggsn.conf index 138e7af738..024270233e 100644 --- a/recipes-config/openggsn-config/files/sysmobts-v2/ggsn.conf +++ b/recipes-config/openggsn-config/files/sysmobts-v2/ggsn.conf @@ -33,7 +33,7 @@ # TAG: listen # Specifies the local IP address to listen to #listen 10.0.0.240 -listen 10.23.123.1 +listen 127.0.0.2 # TAG: net # IP network address of external packet data network From cbb7200e61db1c6158dc6ae1f6e6a4247375fce6 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 15 Mar 2013 11:52:47 +0100 Subject: [PATCH 117/908] Add UUCP recipe --- recipes-extra/uucp/files/policy.patch | 85 +++++++++++++++++++++++++++ recipes-extra/uucp/uucp_1.07.bb | 26 ++++++++ 2 files changed, 111 insertions(+) create mode 100644 recipes-extra/uucp/files/policy.patch create mode 100644 recipes-extra/uucp/uucp_1.07.bb diff --git a/recipes-extra/uucp/files/policy.patch b/recipes-extra/uucp/files/policy.patch new file mode 100644 index 0000000000..26f1f172b8 --- /dev/null +++ b/recipes-extra/uucp/files/policy.patch @@ -0,0 +1,85 @@ +Index: uucp-1.07/policy.h +=================================================================== +--- uucp-1.07.orig/policy.h 2003-05-29 06:08:45.000000000 +0000 ++++ uucp-1.07/policy.h 2007-03-09 00:51:55.000000000 +0000 +@@ -240,7 +240,7 @@ + the sendmail choice below. Otherwise, select one of the other + choices as appropriate. */ + #if 1 +-#define MAIL_PROGRAM "/usr/lib/sendmail -t" ++#define MAIL_PROGRAM "/usr/sbin/sendmail -oi -t" + /* #define MAIL_PROGRAM "/usr/sbin/sendmail -t" */ + #define MAIL_PROGRAM_TO_BODY 1 + #define MAIL_PROGRAM_SUBJECT_BODY 1 +@@ -302,7 +302,7 @@ + /* #define LOCKDIR "/usr/spool/locks" */ + /* #define LOCKDIR "/usr/spool/uucp/LCK" */ + /* #define LOCKDIR "/var/spool/lock" */ +-/* #define LOCKDIR "/var/lock" */ ++#define LOCKDIR "/var/lock" + + /* You must also specify the format of the lock files by setting + exactly one of the following macros to 1. Check an existing lock +@@ -349,7 +349,7 @@ + The format for QNX lock files was made up just for Taylor UUCP. + QNX doesn't come with a version of UUCP. */ + #define HAVE_V2_LOCKFILES 0 +-#define HAVE_HDB_LOCKFILES 0 ++#define HAVE_HDB_LOCKFILES 1 + #define HAVE_SCO_LOCKFILES 0 + #define HAVE_SVR4_LOCKFILES 0 + #define HAVE_SEQUENT_LOCKFILES 0 +@@ -466,8 +466,8 @@ + When looking something up (a system, a port, etc.) the new style + configuration files will be read first, followed by the V2 + configuration files, followed by the HDB configuration files. */ +-#define HAVE_V2_CONFIG 0 +-#define HAVE_HDB_CONFIG 0 ++#define HAVE_V2_CONFIG 1 ++#define HAVE_HDB_CONFIG 1 + + /* Exactly one of the following macros must be set to 1. The exact + format of the spool directories is explained in unix/spool.c. +@@ -572,7 +572,7 @@ + /* The name of the default spool directory. If HAVE_TAYLOR_CONFIG is + set to 1, this may be overridden by the ``spool'' command in the + configuration file. */ +-#define SPOOLDIR "/usr/spool/uucp" ++#define SPOOLDIR "/var/spool/uucp" + /* #define SPOOLDIR "/var/spool/uucp" */ + + /* The name of the default public directory. If HAVE_TAYLOR_CONFIG is +@@ -580,7 +580,7 @@ + configuration file. Also, a particular system may be given a + specific public directory by using the ``pubdir'' command in the + system file. */ +-#define PUBDIR "/usr/spool/uucppublic" ++#define PUBDIR "/var/spool/uucppublic" + /* #define PUBDIR "/var/spool/uucppublic" */ + + /* The default command path. This is a space separated list of +@@ -644,21 +644,21 @@ + /* The default log file when using HAVE_TAYLOR_LOGGING. When using + HAVE_TAYLOR_CONFIG, this may be overridden by the ``logfile'' + command in the configuration file. */ +-#define LOGFILE "/usr/spool/uucp/Log" ++#define LOGFILE "/var/spool/uucp/Log" + /* #define LOGFILE "/var/spool/uucp/Log" */ + /* #define LOGFILE "/var/log/uucp/Log" */ + + /* The default statistics file when using HAVE_TAYLOR_LOGGING. When + using HAVE_TAYLOR_CONFIG, this may be overridden by the + ``statfile'' command in the configuration file. */ +-#define STATFILE "/usr/spool/uucp/Stats" ++#define STATFILE "/var/spool/uucp/Stats" + /* #define STATFILE "/var/spool/uucp/Stats" */ + /* #define STATFILE "/var/log/uucp/Stats" */ + + /* The default debugging file when using HAVE_TAYLOR_LOGGING. When + using HAVE_TAYLOR_CONFIG, this may be overridden by the + ``debugfile'' command in the configuration file. */ +-#define DEBUGFILE "/usr/spool/uucp/Debug" ++#define DEBUGFILE "/var/spool/uucp/Debug" + /* #define DEBUGFILE "/var/spool/uucp/Debug" */ + /* #define DEBUGFILE "/var/log/uucp/Debug" */ + diff --git a/recipes-extra/uucp/uucp_1.07.bb b/recipes-extra/uucp/uucp_1.07.bb new file mode 100644 index 0000000000..44ea402c25 --- /dev/null +++ b/recipes-extra/uucp/uucp_1.07.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "UUCP is used to transfer mail, news and random files between systems which are not connected by more modern networks. The communication can be made via modems, direct (hard-wired) serial connections or via an IP connection." +HOMEPAGE = "http://www.airs.com/ian/uucp.html" +SECTION = "console/utils" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +PR = "r2" + +inherit autotools + +SRC_URI = "ftp://ftp.gnu.org/pub/gnu/uucp/uucp-${PV}.tar.gz \ + file://policy.patch" + +do_configure() { + libtoolize --force + oe_runconf +} + +do_install_append() { + fakeroot install -d -g uucp -o uucp ${D}/var/spool/uucp +} + +PACKAGES =+ "cu" +FILES_cu = "${bindir}/cu /var/spool" + +SRC_URI[md5sum] = "64c54d43787339a7cced48390eb3e1d0" +SRC_URI[sha256sum] = "060c15bfba6cfd1171ad81f782789032113e199a5aded8f8e0c1c5bd1385b62c" From 209d4ec0be0479b0664be9d2418b56f76d38e574 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 15 Mar 2013 13:02:06 +0100 Subject: [PATCH 118/908] uucp: make sure /etc/uucp is the config path, not /usr/conf/uucp --- recipes-extra/uucp/uucp_1.07.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-extra/uucp/uucp_1.07.bb b/recipes-extra/uucp/uucp_1.07.bb index 44ea402c25..dc4471d4c7 100644 --- a/recipes-extra/uucp/uucp_1.07.bb +++ b/recipes-extra/uucp/uucp_1.07.bb @@ -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 = "r2" +PR = "r3" inherit autotools @@ -15,6 +15,8 @@ do_configure() { oe_runconf } +EXTRA_OECONF = "--with-newconfigdir=/etc/uucp" + do_install_append() { fakeroot install -d -g uucp -o uucp ${D}/var/spool/uucp } From 0f3ea35f1752507ab662b2e9156713ce4468af32 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 16 Mar 2013 09:12:56 +0100 Subject: [PATCH 119/908] gpsd: Make sure the chrpath-native is built before packaging gpsd --- recipes-extra/gpsd/gpsd_3.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extra/gpsd/gpsd_3.7.bb b/recipes-extra/gpsd/gpsd_3.7.bb index a2e7c9e8b7..18314c90f9 100644 --- a/recipes-extra/gpsd/gpsd_3.7.bb +++ b/recipes-extra/gpsd/gpsd_3.7.bb @@ -2,7 +2,7 @@ DESCRIPTION = "A TCP/IP Daemon simplifying the communication with GPS devices" SECTION = "console/network" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800" -DEPENDS = "ncurses" +DEPENDS = "ncurses chrpath-native" #DEPENDS = "ncurses libusb1 python" PROVIDES = "virtual/gpsd" From aea5136f301bb5984fdbdb74c17f5abb1bc68f43 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 16 Mar 2013 18:00:48 +0100 Subject: [PATCH 120/908] gpsd: Make the stop work with the busybox start-stop-daemon The stop command did not stop the GPSD. Let the start-stop-daemon command stop the command based only on the PID. --- recipes-extra/gpsd/gpsd/gpsd | 2 +- recipes-extra/gpsd/gpsd_3.7.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-extra/gpsd/gpsd/gpsd b/recipes-extra/gpsd/gpsd/gpsd index ba73dafb2c..d4ec051da0 100755 --- a/recipes-extra/gpsd/gpsd/gpsd +++ b/recipes-extra/gpsd/gpsd/gpsd @@ -70,7 +70,7 @@ do_stop() # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME + start-stop-daemon --stop --quiet --pidfile $PIDFILE RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit. diff --git a/recipes-extra/gpsd/gpsd_3.7.bb b/recipes-extra/gpsd/gpsd_3.7.bb index 18314c90f9..0f5307c61c 100644 --- a/recipes-extra/gpsd/gpsd_3.7.bb +++ b/recipes-extra/gpsd/gpsd_3.7.bb @@ -8,7 +8,7 @@ PROVIDES = "virtual/gpsd" EXTRANATIVEPATH += "chrpath-native" -PR = "r3.5" +PR = "r3.6" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ From de0f9b5f3df0153bba420a3beaf4c30dcd1993c3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 16 Mar 2013 18:24:41 +0100 Subject: [PATCH 121/908] uucp: We are forced to chown this after the installation We could use "fakeroot do_install() {}" but this will still not make the spool directory be owned by uucp. Use a postinst script to make this up. The logic is copied from the cronie bitbake file and we will see how this works at image creation time. --- recipes-extra/uucp/uucp_1.07.bb | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/recipes-extra/uucp/uucp_1.07.bb b/recipes-extra/uucp/uucp_1.07.bb index dc4471d4c7..4221833270 100644 --- a/recipes-extra/uucp/uucp_1.07.bb +++ b/recipes-extra/uucp/uucp_1.07.bb @@ -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" +PR = "r3.4" inherit autotools @@ -18,7 +18,16 @@ do_configure() { EXTRA_OECONF = "--with-newconfigdir=/etc/uucp" do_install_append() { - fakeroot install -d -g uucp -o uucp ${D}/var/spool/uucp + install -d ${D}/var/spool/uucp +} + +pkg_postinst_${PN} () { + if [ "x$D" != "x" ] ; then + exit 1 + fi + + chown uucp:uucp /var/spool/uucp + chmod 770 /var/spool/uucp } PACKAGES =+ "cu" From 99a6840eb4cd149bf096679c66ffb7a322224460 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 16 Mar 2013 19:19:36 +0100 Subject: [PATCH 122/908] osmo-bts: Upgrade for change in respawn scripts and misc fixes * Fix the link timeout handling as found in post-review. * Fix the set bts attr parsing due a funny parsing error. * Sleep 10 seconds after the execution, reload DSP and FPGA firmware --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index a9f0f66f39..d7e1b59fda 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "f0bdc1e5629778500fa06bde08bb90cb7b8c11cb" +SRCREV_osmobts = "e45fc8635926f70b0e19d5214f1f8b8fd06068aa" SRCREV_openbsc = "8b29180cad875b396288a22fb252e158fa2a060a" PV = "0.1.0+git${SRCPV}" PR = "r8.${META_TELEPHONY_OSMO_INC}" From 41a683d627f4eb3a205a18c4473617ab6dc03a78 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 16 Mar 2013 20:25:45 +0100 Subject: [PATCH 123/908] linux-sysmocom: Upgrade to 3.2.40 and add two more UARTS The kernel has been rebased to target 3.2.40 with various bug fixes in the upstream work. The sysmobts v2 config has been changed to allocate space for two more UARTs. These are required for the multi-trx configuration and they make a warning go away. --- recipes-bsp/linux/files/sysmobts-v2/defconfig | 4 ++-- recipes-bsp/linux/linux-sysmocom_git.bb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-bsp/linux/files/sysmobts-v2/defconfig b/recipes-bsp/linux/files/sysmobts-v2/defconfig index 4ca8232052..f4615992cc 100644 --- a/recipes-bsp/linux/files/sysmobts-v2/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v2/defconfig @@ -1055,8 +1055,8 @@ CONFIG_DEVKMEM=y # CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_NR_UARTS=3 -CONFIG_SERIAL_8250_RUNTIME_UARTS=3 +CONFIG_SERIAL_8250_NR_UARTS=5 +CONFIG_SERIAL_8250_RUNTIME_UARTS=5 # CONFIG_SERIAL_8250_EXTENDED is not set # diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index c9b43ab6a8..407c9b0b85 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -1,7 +1,7 @@ inherit kernel require linux-sysmocom.inc -LINUX_VERSION ?= "3.2.36" +LINUX_VERSION ?= "3.2.40" LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}" # Overrides for the sysmocom bts v1 @@ -10,7 +10,7 @@ BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1" # Overrides for the sysmocom bts v2 BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" -SRCREV = "1db46a2b69e034677802b2c83b7d523b4338769f" +SRCREV = "996c4d772886fa81ffa5d2d971ef88e6da41e115" PR = "r27" PV = "${LINUX_VERSION}+git${SRCPV}" From 22573382674f3f036466dad5ff5cf03db0d66c2c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 16 Mar 2013 23:35:08 +0100 Subject: [PATCH 124/908] osmo-bts: Update once more for sysvinit related scripts * The /etc/init.d/sysmobts stop target is now working. It will terminate the screen, the run loop, the sysmobts and osmo-pcu. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index d7e1b59fda..eb7aea5ed3 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "e45fc8635926f70b0e19d5214f1f8b8fd06068aa" +SRCREV_osmobts = "4ad8d4d3c0e46fa50fe421c6957db1ea4b048b62" SRCREV_openbsc = "8b29180cad875b396288a22fb252e158fa2a060a" PV = "0.1.0+git${SRCPV}" PR = "r8.${META_TELEPHONY_OSMO_INC}" From b7f2cddc233074bcaeaeead5d44685cc1704fdff Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 17 Mar 2013 13:43:59 +0100 Subject: [PATCH 125/908] busybox: Copy the new OE-core syslog startup for the loglevel handling We want to only log a given loglevel, backport the start up script from OE-Core to get the LOGLEVEL variable. This removes the MARKINT and adds DROPDUPLICATES and LOGLEVEL. --- recipes-apps/busybox/busybox_sysmocom.inc | 2 +- recipes-apps/busybox/files/syslog | 77 +++++++++++++++++++++++ 2 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 recipes-apps/busybox/files/syslog diff --git a/recipes-apps/busybox/busybox_sysmocom.inc b/recipes-apps/busybox/busybox_sysmocom.inc index 4f0c2aa2d6..a7671b9881 100644 --- a/recipes-apps/busybox/busybox_sysmocom.inc +++ b/recipes-apps/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" -PRINC = "7" +PRINC = "10" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/recipes-apps/busybox/files/syslog b/recipes-apps/busybox/files/syslog new file mode 100644 index 0000000000..88397e2a96 --- /dev/null +++ b/recipes-apps/busybox/files/syslog @@ -0,0 +1,77 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: sysklogd +# Required-Start: $remote_fs $time +# Required-Stop: $remote_fs $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: System logger +### END INIT INFO + +set -e + +if [ -f /etc/syslog.conf ]; then + . /etc/syslog.conf + LOG_LOCAL=0 + LOG_REMOTE=0 + for D in $DESTINATION; do + if [ "$D" = "buffer" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -C$BUFFERSIZE" + LOG_LOCAL=1 + elif [ "$D" = "file" ]; then + if [ -n "$LOGFILE" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -O $LOGFILE" + fi + if [ -n "$ROTATESIZE" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -s $ROTATESIZE" + fi + if [ -n "$ROTATEGENS" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -b $ROTATEGENS" + fi + LOCAL=0 + elif [ "$D" = "remote" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -R $REMOTE" + LOG_REMOTE=1 + fi + done + if [ "$LOG_LOCAL" = "1" -a "$LOG_REMOTE" = "1" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -L" + fi + if [ "$REDUCE" = "yes" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -S" + fi + if [ "$DROPDUPLICATES" = "yes" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -D" + fi + if [ -n "$LOGLEVEL" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -l $LOGLEVEL" + fi +else + # default: log to 16K shm circular buffer + SYSLOG_ARGS="-C" +fi + +case "$1" in + start) + echo -n "Starting syslogd/klogd: " + start-stop-daemon -S -b -n syslogd -a /sbin/syslogd -- -n $SYSLOG_ARGS + start-stop-daemon -S -b -n klogd -a /sbin/klogd -- -n + echo "done" + ;; + stop) + echo -n "Stopping syslogd/klogd: " + start-stop-daemon -K -n syslogd + start-stop-daemon -K -n klogd + echo "done" + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "Usage: syslog { start | stop | restart }" >&2 + exit 1 + ;; +esac + +exit 0 From 7389f6f2b1401821580f31bbbfe055d89b3ff8af Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 17 Mar 2013 14:16:59 +0100 Subject: [PATCH 126/908] busybox-ifplugd: Disable the restart target as it is not working This issue is documented in PRJ#72. The easiest is to to keep the old software running as everything else is racy and start-stop-daemon does not appear to implement the --retry command. Let's see how far we get with this workaround. --- recipes-apps/busybox/busybox_sysmocom.inc | 2 +- recipes-apps/busybox/files/busybox-ifplugd.sh | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/recipes-apps/busybox/busybox_sysmocom.inc b/recipes-apps/busybox/busybox_sysmocom.inc index a7671b9881..cc2a48953c 100644 --- a/recipes-apps/busybox/busybox_sysmocom.inc +++ b/recipes-apps/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" -PRINC = "10" +PRINC = "11" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/recipes-apps/busybox/files/busybox-ifplugd.sh b/recipes-apps/busybox/files/busybox-ifplugd.sh index c66847f1ba..d8c0bb8530 100644 --- a/recipes-apps/busybox/files/busybox-ifplugd.sh +++ b/recipes-apps/busybox/files/busybox-ifplugd.sh @@ -20,10 +20,7 @@ case "$1" in echo "done." ;; restart) - echo "restarting $DESC: $NAME... " - $0 stop - $0 start - echo "done." + echo "Not restarting $DESC: $NAME... " ;; reload) echo -n "reloading $DESC: $NAME... " From 87f47c8586b4afd0e74c7c39b9154f010d9369e3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 17 Mar 2013 15:09:44 +0100 Subject: [PATCH 127/908] busybox-syslog: Log to the MMC card if present If the first partition of a MMC card is mounted and has a logs/ directory syslog will start to write log messages to the MMC card in the directory /media/mmcblk0p1. --- recipes-apps/busybox/busybox_sysmocom.inc | 2 +- recipes-apps/busybox/files/syslog.conf | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 recipes-apps/busybox/files/syslog.conf diff --git a/recipes-apps/busybox/busybox_sysmocom.inc b/recipes-apps/busybox/busybox_sysmocom.inc index cc2a48953c..97e97104e9 100644 --- a/recipes-apps/busybox/busybox_sysmocom.inc +++ b/recipes-apps/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" -PRINC = "11" +PRINC = "12" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/recipes-apps/busybox/files/syslog.conf b/recipes-apps/busybox/files/syslog.conf new file mode 100644 index 0000000000..4f387a0571 --- /dev/null +++ b/recipes-apps/busybox/files/syslog.conf @@ -0,0 +1,22 @@ +DESTINATION="buffer" # log destinations (buffer file remote) +MARKINT=20 # intervall between --mark-- entries +LOGFILE=/var/log/messages # where to log (file) +REMOTE=loghost:514 # where to log (syslog remote) +REDUCE=no # reduce-size logging +#ROTATESIZE=0 # rotate log if grown beyond X [kByte] (incompatible with busybox) +#ROTATEGENS=3 # keep X generations of rotated logs (incompatible with busybox) +BUFFERSIZE=64 # size of circular buffer [kByte] +FOREGROUND=no # run in foreground (don't use!) +LOGLEVEL=4 + +# magic when a MMC card is mounted +USING_MMC_CARD=`/bin/mount | grep /media/mmcblk0p1 | wc -l` +if [ 1 -eq $USING_MMC_CARD ] ; then + if [ -e /media/mmcblk0p1/logs ] ; then + echo "Using mmc card" + LOGFILE=/media/mmcblk0p1/logs/messages + DESTINATION="file" + ROTATESIZE=2048 + ROTATEGENS=20 + fi +fi From 410d086a5a05ba70714a8c16812b0c5c04f4eae2 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 17 Mar 2013 17:19:12 +0100 Subject: [PATCH 128/908] update omso-pcu + osmo-bts to current master This uses PCU API version 5 including RSSI measurements --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 6 +++--- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index eb7aea5ed3..87d20fe152 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "4ad8d4d3c0e46fa50fe421c6957db1ea4b048b62" +SRCREV_osmobts = "19364a4c912a31be8548a943637ed3dbb9a34829" SRCREV_openbsc = "8b29180cad875b396288a22fb252e158fa2a060a" -PV = "0.1.0+git${SRCPV}" -PR = "r8.${META_TELEPHONY_OSMO_INC}" +PV = "0.2.0+git${SRCPV}" +PR = "r1.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 494f963df6..a4e4e43585 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,12 +3,12 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly_merge" -SRCREV = "9aaf2ae24d544ce149fde7685ca0421d31262a09" -PV = "0.1+git${SRCPV}" -PR = "r10.${META_TELEPHONY_OSMO_INC}" +SRCREV = "81a12be317bb5d2ad13bc27be1b2b1cb1605f4de" +PV = "0.2+git${SRCPV}" +PR = "r1.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" -DEPENDS = "libosmocore femtobts-api osmo-bts" +DEPENDS = "libosmocore femtobts-api osmo-bts >= 0.2.0" EXTRA_OECONF_sysmobts-v2 += "--enable-sysmocom-bts --enable-sysmocom-dsp" From 7cb8c8d1b5f631c0d857a59883dd1bbd41cad63d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 17 Mar 2013 17:07:52 +0100 Subject: [PATCH 129/908] linux-sysmocom: Always compile MMC support into the kernel Make mounting using mountall work during the first boot by putting MMC, MMC-block and the TI Davinci into the kernel. --- recipes-bsp/linux/files/sysmobts-v2/defconfig | 6 +++--- recipes-bsp/linux/linux-sysmocom_git.bb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-bsp/linux/files/sysmobts-v2/defconfig b/recipes-bsp/linux/files/sysmobts-v2/defconfig index f4615992cc..ef95f8905c 100644 --- a/recipes-bsp/linux/files/sysmobts-v2/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v2/defconfig @@ -1347,7 +1347,7 @@ CONFIG_DUMMY_CONSOLE=y # CONFIG_SOUND is not set # CONFIG_HID_SUPPORT is not set # CONFIG_USB_SUPPORT is not set -CONFIG_MMC=m +CONFIG_MMC=y # CONFIG_MMC_DEBUG is not set # CONFIG_MMC_UNSAFE_RESUME is not set # CONFIG_MMC_CLKGATE is not set @@ -1355,7 +1355,7 @@ CONFIG_MMC=m # # MMC/SD/SDIO Card Drivers # -CONFIG_MMC_BLOCK=m +CONFIG_MMC_BLOCK=y CONFIG_MMC_BLOCK_MINORS=8 CONFIG_MMC_BLOCK_BOUNCE=y # CONFIG_SDIO_UART is not set @@ -1367,7 +1367,7 @@ CONFIG_MMC_BLOCK_BOUNCE=y # CONFIG_MMC_SDHCI is not set # CONFIG_MMC_SDHCI_PXAV3 is not set # CONFIG_MMC_SDHCI_PXAV2 is not set -CONFIG_MMC_DAVINCI=m +CONFIG_MMC_DAVINCI=y # CONFIG_MMC_DW is not set # CONFIG_MEMSTICK is not set CONFIG_NEW_LEDS=y diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 407c9b0b85..6688a1e342 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -12,7 +12,7 @@ BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" SRCREV = "996c4d772886fa81ffa5d2d971ef88e6da41e115" -PR = "r27" +PR = "r28" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ From 2bae25e4cdccc7c12e6c84f6c09fdaefc5b09680 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 17 Mar 2013 17:35:56 +0100 Subject: [PATCH 130/908] osmo-pcu: make sure to use RDEPENDS to osmo-bts with PCU IF v5 As Holger points out, we need a runtime dependency, not build time --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index a4e4e43585..a407706691 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -5,10 +5,13 @@ LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly_merge" SRCREV = "81a12be317bb5d2ad13bc27be1b2b1cb1605f4de" PV = "0.2+git${SRCPV}" -PR = "r1.${META_TELEPHONY_OSMO_INC}" +PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" -DEPENDS = "libosmocore femtobts-api osmo-bts >= 0.2.0" +DEPENDS = "libosmocore femtobts-api osmo-bts" + +# This implements PCU Interface v5 (GPRS RSSI) +RDEPENDS_${PN} = "osmo-bts >= 0.2.0" EXTRA_OECONF_sysmobts-v2 += "--enable-sysmocom-bts --enable-sysmocom-dsp" From c793b65258187fbcb03bfda81a80809fe6da3257 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 17 Mar 2013 17:42:00 +0100 Subject: [PATCH 131/908] osmo-pcu: Use parenthesis for osmo-bts version in RDEPENDS --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index a407706691..1bb31e8069 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -11,7 +11,7 @@ S = "${WORKDIR}/git" DEPENDS = "libosmocore femtobts-api osmo-bts" # This implements PCU Interface v5 (GPRS RSSI) -RDEPENDS_${PN} = "osmo-bts >= 0.2.0" +RDEPENDS_${PN} = "osmo-bts (>= 0.2.0)" EXTRA_OECONF_sysmobts-v2 += "--enable-sysmocom-bts --enable-sysmocom-dsp" From 1c3982289e55ebc8f79113547de6b451eb8c1bec Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 17 Mar 2013 17:43:45 +0100 Subject: [PATCH 132/908] osmo-bts: fix git revision. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 87d20fe152..51462a3d87 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "19364a4c912a31be8548a943637ed3dbb9a34829" +SRCREV_osmobts = "cdc5a4dc384c91d5102376e08e3f34523e50b028" SRCREV_openbsc = "8b29180cad875b396288a22fb252e158fa2a060a" PV = "0.2.0+git${SRCPV}" PR = "r1.${META_TELEPHONY_OSMO_INC}" From 84f23b220398acbd46d3dd7c636b35be35344e54 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 17 Mar 2013 19:09:08 +0100 Subject: [PATCH 133/908] syslog: Use /media/mmcblk0p1/log to match /var/log The nitb configuration expects /media/mmcblk0p1/log and to make it work and match with unix naming use the singular version. --- recipes-apps/busybox/busybox_sysmocom.inc | 2 +- recipes-apps/busybox/files/syslog.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-apps/busybox/busybox_sysmocom.inc b/recipes-apps/busybox/busybox_sysmocom.inc index 97e97104e9..aa4918557e 100644 --- a/recipes-apps/busybox/busybox_sysmocom.inc +++ b/recipes-apps/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" -PRINC = "12" +PRINC = "13" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/recipes-apps/busybox/files/syslog.conf b/recipes-apps/busybox/files/syslog.conf index 4f387a0571..ee5d485974 100644 --- a/recipes-apps/busybox/files/syslog.conf +++ b/recipes-apps/busybox/files/syslog.conf @@ -12,9 +12,9 @@ LOGLEVEL=4 # magic when a MMC card is mounted USING_MMC_CARD=`/bin/mount | grep /media/mmcblk0p1 | wc -l` if [ 1 -eq $USING_MMC_CARD ] ; then - if [ -e /media/mmcblk0p1/logs ] ; then + if [ -e /media/mmcblk0p1/log ] ; then echo "Using mmc card" - LOGFILE=/media/mmcblk0p1/logs/messages + LOGFILE=/media/mmcblk0p1/log/messages DESTINATION="file" ROTATESIZE=2048 ROTATEGENS=20 From d9a117ed2176411cb8f371bd3aa4886e14b56328 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 17 Mar 2013 19:46:41 +0100 Subject: [PATCH 134/908] busybox-syslog: Increase back to notice (6) for the logging This sadly still prints the firmware reload messages. But this is necessary right now. The fpgadl/dspdl drivers do not log fatal failures so the 'success' is the only information we have. This is to be fixed in the driver. --- recipes-apps/busybox/busybox_sysmocom.inc | 2 +- recipes-apps/busybox/files/syslog.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/busybox/busybox_sysmocom.inc b/recipes-apps/busybox/busybox_sysmocom.inc index aa4918557e..d331fcf2e7 100644 --- a/recipes-apps/busybox/busybox_sysmocom.inc +++ b/recipes-apps/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" -PRINC = "13" +PRINC = "14" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/recipes-apps/busybox/files/syslog.conf b/recipes-apps/busybox/files/syslog.conf index ee5d485974..f3d81fef4f 100644 --- a/recipes-apps/busybox/files/syslog.conf +++ b/recipes-apps/busybox/files/syslog.conf @@ -7,7 +7,7 @@ REDUCE=no # reduce-size logging #ROTATEGENS=3 # keep X generations of rotated logs (incompatible with busybox) BUFFERSIZE=64 # size of circular buffer [kByte] FOREGROUND=no # run in foreground (don't use!) -LOGLEVEL=4 +LOGLEVEL=6 # magic when a MMC card is mounted USING_MMC_CARD=`/bin/mount | grep /media/mmcblk0p1 | wc -l` From d01ad496afe3d2289b65cf045ede871e61893d46 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 19 Mar 2013 19:26:35 +0100 Subject: [PATCH 135/908] femtobts-api_git.bb: Do not use symbolic names for the SRCREV The name will be resolved to the hash during parse time. This will not work when not having access to the internet. Use the sha1 sum to make offline builds work. --- recipes-sysmobts/femtobts-api/femtobts-api_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb index bf948bdf58..ea3ff29822 100644 --- a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -3,9 +3,9 @@ SECTION = "kernel" LICENSE = "CLOSED" SRC_URI = "git://git.sysmocom.de/sysmo-bts/layer1-api.git;protocol=git;branch=master" -SRCREV = "superfemto_v3.0.1pre" -SRCREV_sysmobts-v2 = "superfemto_v3.0.1pre" -SRCREV_sysmobts-v1 = "femtobts_v2.7" +SRCREV = "6eb9bcf22ca5163594d4d0d8ec7dd580d411d1ea" +SRCREV_sysmobts-v2 = "6eb9bcf22ca5163594d4d0d8ec7dd580d411d1ea" +SRCREV_sysmobts-v1 = "4dde9443e2aa11868e46a67529cb5ac45462699c" PV = "${SRCREV}+git${SRCPV}" PR = "r2" S = "${WORKDIR}/git" From 7059d16861cb3031f86e5c811e190f24fc4b4f92 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 18 Mar 2013 19:30:02 +0100 Subject: [PATCH 136/908] task-sdk-host-nativesdk: Remove qemu from the depedencies This is a hack and has the risk of "forgetting" a dependency that we need. This needs to be re-evaluated for each OE-Core version. --- yocto-edison/task-sdk-host-nativesdk.bbappend | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 yocto-edison/task-sdk-host-nativesdk.bbappend diff --git a/yocto-edison/task-sdk-host-nativesdk.bbappend b/yocto-edison/task-sdk-host-nativesdk.bbappend new file mode 100644 index 0000000000..850e4b1b3b --- /dev/null +++ b/yocto-edison/task-sdk-host-nativesdk.bbappend @@ -0,0 +1,13 @@ +# There is no point in packing qemu... +PRINC = "1" + +# qemu removed +RDEPENDS_${PN} = "\ + pkgconfig-nativesdk \ + pseudo-nativesdk \ + unfs-server-nativesdk \ + opkg-nativesdk \ + libtool-nativesdk \ + autoconf-nativesdk \ + automake-nativesdk \ + " From cd0d240314ce165f409ce6c0c092398dcddca642 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 19 Mar 2013 19:48:30 +0100 Subject: [PATCH 137/908] meta-toolchain-sysmobts: Introduce a toolchain target for the BTS Install the sysmobts firmware headers on top of the Osmocom toolchain. This way the SDK can be used to re-compile both the OpenBSC and the osmo-bts software. Make sure the -dev package of the femtobts-api has not runtime dependencies to a library that does not exist. --- recipes-bsp/meta/meta-toolchain-sysmobts.bb | 9 +++++++++ recipes-sysmobts/femtobts-api/femtobts-api_git.bb | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 recipes-bsp/meta/meta-toolchain-sysmobts.bb diff --git a/recipes-bsp/meta/meta-toolchain-sysmobts.bb b/recipes-bsp/meta/meta-toolchain-sysmobts.bb new file mode 100644 index 0000000000..afddeb2382 --- /dev/null +++ b/recipes-bsp/meta/meta-toolchain-sysmobts.bb @@ -0,0 +1,9 @@ +# Depend on the osmocom toolchain +require recipes-osmocom/meta/meta-toolchain-osmo.bb + +# Change the name +TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-sysmobts-${DISTRO_VERSION}-${DATETIME}" + +# Add API headers.. +TOOLCHAIN_TARGET_TASK += "femtobts-api-dev" + diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb index ea3ff29822..d3d6313955 100644 --- a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -7,9 +7,12 @@ SRCREV = "6eb9bcf22ca5163594d4d0d8ec7dd580d411d1ea" SRCREV_sysmobts-v2 = "6eb9bcf22ca5163594d4d0d8ec7dd580d411d1ea" SRCREV_sysmobts-v1 = "4dde9443e2aa11868e46a67529cb5ac45462699c" PV = "${SRCREV}+git${SRCPV}" -PR = "r2" +PR = "r3" S = "${WORKDIR}/git" +# The API is only a header, nothing to compile +RDEPENDS_${PN}-dev = "" + do_compile() { : From 8e4991163e676a2f5ff7ea804c3391abc06c5215 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 23 Mar 2013 09:04:12 +0100 Subject: [PATCH 138/908] linux-sysmocom: Enable ext3/ext4 support for sysmobts-v1 as well Some of our target applications require ext3/ext4 support for mounting an MMC card. While the sysmobts-v1 hardware does not have an external MMC card slot it is nice to have the same image available for this hardware. --- recipes-bsp/linux/files/sysmobts-v1/defconfig | 18 ++++++++++++++++-- recipes-bsp/linux/linux-sysmocom_git.bb | 2 +- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/linux/files/sysmobts-v1/defconfig b/recipes-bsp/linux/files/sysmobts-v1/defconfig index 2b310f8a4b..b25fb76d00 100644 --- a/recipes-bsp/linux/files/sysmobts-v1/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v1/defconfig @@ -1415,8 +1415,22 @@ CONFIG_IOMMU_SUPPORT=y # File systems # # CONFIG_EXT2_FS is not set -# CONFIG_EXT3_FS is not set -# CONFIG_EXT4_FS is not set +CONFIG_EXT3_FS=m +CONFIG_EXT3_DEFAULTS_TO_ORDERED=y +CONFIG_EXT3_FS_XATTR=y +# CONFIG_EXT3_FS_POSIX_ACL is not set +# CONFIG_EXT3_FS_SECURITY is not set +CONFIG_EXT4_FS=m +CONFIG_EXT4_USE_FOR_EXT23=y +CONFIG_EXT4_FS_XATTR=y +# CONFIG_EXT4_FS_POSIX_ACL is not set +# CONFIG_EXT4_FS_SECURITY is not set +# CONFIG_EXT4_DEBUG is not set +CONFIG_JBD=m +# CONFIG_JBD_DEBUG is not set +CONFIG_JBD2=m +# CONFIG_JBD2_DEBUG is not set +CONFIG_FS_MBCACHE=m # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_XFS_FS is not set diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 6688a1e342..265a774485 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -12,7 +12,7 @@ BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" SRCREV = "996c4d772886fa81ffa5d2d971ef88e6da41e115" -PR = "r28" +PR = "r29" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ From 661e10551b191b03ee77c26676d276f8611b00ae Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 6 Apr 2013 19:13:18 +0200 Subject: [PATCH 139/908] gpsd: Fix a warning with newer bitbake parsers RROR: There is a confusing multiline, partially commented expression on line 22 of file /home/ich/firmen/gesmokom/source/meta-sysmocom-bsp/recipes-extra/gpsd/gpsd_3.7.bb (SRC_URI[md5sum] = "52d9785eaf1a51298bb8900dbde88f98"). --- recipes-extra/gpsd/gpsd_3.7.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes-extra/gpsd/gpsd_3.7.bb b/recipes-extra/gpsd/gpsd_3.7.bb index 0f5307c61c..c2c17ba8a6 100644 --- a/recipes-extra/gpsd/gpsd_3.7.bb +++ b/recipes-extra/gpsd/gpsd_3.7.bb @@ -18,7 +18,6 @@ SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://gpsd \ file://60-gpsd.rules \ " -#file://0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch \ SRC_URI[md5sum] = "52d9785eaf1a51298bb8900dbde88f98" SRC_URI[sha256sum] = "7800c478ee9d7ca7a502b0f892828561b1fbf7bc69d9d38c447c82c3628302ac" From 40075f51411e28d7b94a451e115ef8db340e3f04 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 7 Feb 2013 13:32:48 +0100 Subject: [PATCH 140/908] misc: Ignore files generated by vi --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..45d62d8696 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.sw? From 336c4212e5d20bf70a5a7e7d4bbd552c9857139c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 9 Feb 2013 11:04:43 +0100 Subject: [PATCH 141/908] lmsensors-apps: Ask lmsensors to install man pages to the right directory Ask the buildsystem to install the manpages to the mandir. This will avoid the following warning. WARNING: QA Issue: lmsensors-apps: Files/directories were installed but not shipped /usr/man --- recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb b/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb index 7aadb383ab..1dd8081d8d 100644 --- a/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb +++ b/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.lm-sensors.org/" DEPENDS = "sysfsutils virtual/libiconv" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -PR = "r4" +PR = "r5" DEPENDS = "bison-native flex-native" PACKAGE_ARCH = "${MACHINE_ARCH}" @@ -15,7 +15,8 @@ SRC_URI[sha256sum] = "bde7e1d8b473bca6528694b696668c4cd0a28515aef36b961e4f7d8a6b S = "${WORKDIR}/lm_sensors-${PV}" EXTRA_OEMAKE = 'LINUX=${STAGING_KERNEL_DIR} EXLDFLAGS="${LDFLAGS}" \ - MACHINE=${TARGET_ARCH} PREFIX=${prefix} CC="${CC}" AR="${AR}"' + MACHINE=${TARGET_ARCH} PREFIX=${prefix} CC="${CC}" AR="${AR}" \ + MANDIR="${mandir}"' do_compile() { oe_runmake user PROG_EXTRA=sensors @@ -23,11 +24,6 @@ do_compile() { do_install() { oe_runmake user_install DESTDIR=${D} - - # move manuals into proper place - install -d ${D}${mandir} - rm -rf ${D}${mandir}/* - mv ${D}/usr/man/* ${D}${mandir} } PACKAGES =+ "libsensors libsensors-dev libsensors-staticdev libsensors-dbg libsensors-doc" From 920b27acba09d321cf8fdad61a1ce3d7d682a64e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 10 Apr 2013 14:11:41 +0200 Subject: [PATCH 142/908] add new gpsdate recipe --- recipes-extra/gpsdate/gpsdate_git.bb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes-extra/gpsdate/gpsdate_git.bb diff --git a/recipes-extra/gpsdate/gpsdate_git.bb b/recipes-extra/gpsdate/gpsdate_git.bb new file mode 100644 index 0000000000..20f6fd587b --- /dev/null +++ b/recipes-extra/gpsdate/gpsdate_git.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "A utility to set system RTC to GPSD time" +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +DEPENDS = "gpsd" +RDEPENDS = "libgps" + +PR = "r3" + +SRC_URI = "git://git.sysmocom.de/gpsdate.git;branch=master \ +" +SRCREV = "4ad6c932c9ad85d555b3a4ba1de4f433e1f39757" +S = ${WORKDIR}/git + +INITSCRIPT_NAME = "gpsdate" +INITSCRIPT_PARAMS = "defaults 35" + +do_install() { + install -d ${D}/${sbindir} + install -m 0755 ${S}/gpsdate ${D}/${sbindir}/gpsdate + install -d ${D}/${sysconfdir}/init.d + install -m 0755 ${S}/gpsdate.init ${D}/${sysconfdir}/init.d/gpsdate +} From fcfffacfa8cec8d461384e92eb156b928491c1e2 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 10 Apr 2013 15:17:43 +0200 Subject: [PATCH 143/908] update gpsdate to git master --- recipes-extra/gpsdate/gpsdate_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-extra/gpsdate/gpsdate_git.bb b/recipes-extra/gpsdate/gpsdate_git.bb index 20f6fd587b..c7d52d300f 100644 --- a/recipes-extra/gpsdate/gpsdate_git.bb +++ b/recipes-extra/gpsdate/gpsdate_git.bb @@ -5,11 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS = "gpsd" RDEPENDS = "libgps" -PR = "r3" +PR = "r4" SRC_URI = "git://git.sysmocom.de/gpsdate.git;branch=master \ " -SRCREV = "4ad6c932c9ad85d555b3a4ba1de4f433e1f39757" +SRCREV = "58e3cdeb19be929c0d18c34734fc1c031698e7f9" S = ${WORKDIR}/git INITSCRIPT_NAME = "gpsdate" From 8b40a0c2f9bfc37ffcd145f59fb37017700b2f22 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 17 Sep 2012 02:38:58 +0800 Subject: [PATCH 144/908] task-sysmocom-debug: Remove oprofile as it is quite outdated We should use perf for future performance problems but it might require more work (e.g. not to install the source into the -dbg package, adding newt, etc.). But oprofile is not very nice to use right now anyway. --- recipes-apps/tasks/task-sysmocom-debug.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-debug.bb b/recipes-apps/tasks/task-sysmocom-debug.bb index a5d3291074..5612b9ebc3 100644 --- a/recipes-apps/tasks/task-sysmocom-debug.bb +++ b/recipes-apps/tasks/task-sysmocom-debug.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY = "1" -PR = "r2" +PR = "r3" RDEPENDS_task-sysmocom-debug = "\ dropbear \ @@ -13,7 +13,6 @@ RDEPENDS_task-sysmocom-debug = "\ tcpdump \ gdb \ gdbserver \ - oprofile \ net-tools \ " From 5e475b6b990d297e050b5b306ab769eb40f5608e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 7 Feb 2013 13:02:31 +0100 Subject: [PATCH 145/908] images: Remove the sanity check for including an ext3 filesystem This sanity check is included in the used bbclass directly and to support both Edison and master we will need to remove the custom python code due a change in indention in the python code. --- recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb | 7 ------- recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb | 7 ------- 2 files changed, 14 deletions(-) diff --git a/recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb b/recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb index 3ab18d558d..4ae1318c69 100644 --- a/recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb +++ b/recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb @@ -7,13 +7,6 @@ LICENSE = "MIT" inherit boot-directdisk -do_bootdirectdisk_prepend () { - import bb - fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True) - if 'ext3' not in fstypes: - bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES") -} - ROOTFS = "${DEPLOY_DIR_IMAGE}/sysmocom-bsc-e1-image-${MACHINE}.ext3" do_bootdirectdisk[depends] += "sysmocom-bsc-e1-image:do_rootfs" diff --git a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb index 0ebfa93964..6dc4aea4b5 100644 --- a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb +++ b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb @@ -7,13 +7,6 @@ LICENSE = "MIT" inherit boot-directdisk -do_bootdirectdisk_prepend () { - import bb - fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True) - if 'ext3' not in fstypes: - bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES") -} - ROOTFS = "${DEPLOY_DIR_IMAGE}/sysmocom-bsc-ip-image-${MACHINE}.ext3" do_bootdirectdisk[depends] += "sysmocom-bsc-ip-image:do_rootfs" From 9c3b75040a81201fcd48b54f0ec70a292cda0087 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 16 Sep 2012 20:40:34 +0800 Subject: [PATCH 146/908] misc: Cleanup the RDEPENDS warning by the latest bitbake parser This is addressing: Variable RDEPENDS is set as not being package specific, please fix this. --- recipes-config/openggsn-config/gprs-routing_0.1.bb | 3 ++- recipes-extra/debootstrap/debootstrap_1.0.42.bb | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes-config/openggsn-config/gprs-routing_0.1.bb b/recipes-config/openggsn-config/gprs-routing_0.1.bb index c6250b02af..df053bc065 100644 --- a/recipes-config/openggsn-config/gprs-routing_0.1.bb +++ b/recipes-config/openggsn-config/gprs-routing_0.1.bb @@ -1,11 +1,12 @@ DESCRIPTION = "OpenGGSN GPRS routing to the real world" -RDEPENDS = "iptables kernel-module-ipt-masquerade" +RDEPENDS_${PN} = "iptables kernel-module-ipt-masquerade" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" SRC_URI = "file://gprs_routing" +PR = "r1" inherit update-rc.d diff --git a/recipes-extra/debootstrap/debootstrap_1.0.42.bb b/recipes-extra/debootstrap/debootstrap_1.0.42.bb index 4f524dc586..adb6a51b75 100644 --- a/recipes-extra/debootstrap/debootstrap_1.0.42.bb +++ b/recipes-extra/debootstrap/debootstrap_1.0.42.bb @@ -7,8 +7,8 @@ LICENSE="MIT" LIC_FILES_CHKSUM = "file://debian/copyright;md5=1e68ced6e1689d4cd9dac75ff5225608" SRC_URI = "${DEBIAN_MIRROR}/main/d/debootstrap/debootstrap_${PV}.tar.gz" -PR = "r5" -RDEPENDS = "wget gnupg coreutils" +PR = "r6" +RDEPENDS_${PN} = "wget gnupg coreutils" inherit autotools From 96c91eb8d684e9a6aa42ceb0a1532a1d70f0c75b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 16 Sep 2012 18:17:17 +0800 Subject: [PATCH 147/908] watchdog: Bump the pr, depend on the $localfs to fix the systemd init systemd is using the depedencies of the LSB section and according to the debian documentation all applications accessing /var should depend on the localfs. This makes the watchdog start properly on systemd systems. --- recipes-bsp/watchdog/watchdog/init | 8 ++++---- recipes-bsp/watchdog/watchdog_sysmocom.inc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-bsp/watchdog/watchdog/init b/recipes-bsp/watchdog/watchdog/init index cdc960a6e8..4d75dfe3a3 100644 --- a/recipes-bsp/watchdog/watchdog/init +++ b/recipes-bsp/watchdog/watchdog/init @@ -5,8 +5,8 @@ ### BEGIN INIT INFO # Provides: watchdog # Short-Description: Start software watchdog daemon -# Required-Start: $all -# Required-Stop: $all +# Required-Start: $local_fs +# Required-Stop: # Should-Start: # Should-Stop: # Default-Start: S @@ -67,8 +67,8 @@ case "$1" in force-reload) if [ $run_watchdog = 0 ]; then exit 0; fi echo "Restarting ${NAME}" - stop - start + $0 stop + $0 start ;; *) diff --git a/recipes-bsp/watchdog/watchdog_sysmocom.inc b/recipes-bsp/watchdog/watchdog_sysmocom.inc index 1362ddd019..7d09be3bce 100644 --- a/recipes-bsp/watchdog/watchdog_sysmocom.inc +++ b/recipes-bsp/watchdog/watchdog_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}" -PRINC = "7" +PRINC = "8" inherit update-rc.d From f9d158b7472c0149368c56acc05097df1f611142 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 6 Apr 2013 19:12:48 +0200 Subject: [PATCH 148/908] watchdog: Rename the master version --- yocto-master/{watchdog_5.12.bbappend => watchdog_5.13.bbappend} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename yocto-master/{watchdog_5.12.bbappend => watchdog_5.13.bbappend} (100%) diff --git a/yocto-master/watchdog_5.12.bbappend b/yocto-master/watchdog_5.13.bbappend similarity index 100% rename from yocto-master/watchdog_5.12.bbappend rename to yocto-master/watchdog_5.13.bbappend From c83652a73a7e43c0e4e3e7e58633e1ad782aed59 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 10 May 2013 09:55:38 +0200 Subject: [PATCH 149/908] gpsd: Even when disabling python we still need it to be available during build --- recipes-extra/gpsd/gpsd_3.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extra/gpsd/gpsd_3.7.bb b/recipes-extra/gpsd/gpsd_3.7.bb index c2c17ba8a6..e833187f68 100644 --- a/recipes-extra/gpsd/gpsd_3.7.bb +++ b/recipes-extra/gpsd/gpsd_3.7.bb @@ -2,7 +2,7 @@ DESCRIPTION = "A TCP/IP Daemon simplifying the communication with GPS devices" SECTION = "console/network" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800" -DEPENDS = "ncurses chrpath-native" +DEPENDS = "ncurses chrpath-native python" #DEPENDS = "ncurses libusb1 python" PROVIDES = "virtual/gpsd" From 1bca046d23f121236560daccccb2f5b36fc317f0 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 10 May 2013 18:09:39 +0200 Subject: [PATCH 150/908] u-boot: Build a new u-boot with increase system malloc This should be more than 10MB and should help with the ubifs recovery needed during boot. --- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index 70e15c8b7f..05ee0300ee 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -1,5 +1,5 @@ SRC_URI = "git://git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=git" -SRCREV = "6633b83bf588ce21558a3bffb9e501479758c28b" +SRCREV = "f289f5ed90c462f6b8f18ed787e9c27fc142fb6c" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" From e89d7ce77d9997a564a02371cab643e6ab5a1245 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 11 May 2013 14:29:19 +0200 Subject: [PATCH 151/908] images_types_sysmo: Add a new bbclass for creating different ubi images For the sysmoBTS we want to include a kernel volume inside the UBI as a fallback in case the mounting of the main kernel is failing. We still need to modify the boot command of the bootloader to look at this UBI and to modify the kernel to include the tun/tap modules so the kernel will be capable of opening a OpenVPN connection. Currently one needs to write INHERIT += images_types_sysmo into the conf/local.conf and add ubi-sysmo to the IMAGE_FSTYPES variable. --- classes/images_types_sysmo.bbclass | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 classes/images_types_sysmo.bbclass diff --git a/classes/images_types_sysmo.bbclass b/classes/images_types_sysmo.bbclass new file mode 100644 index 0000000000..b46ad2ac3a --- /dev/null +++ b/classes/images_types_sysmo.bbclass @@ -0,0 +1,20 @@ +# I add another image type for the sysmoBTS family + +UBI_VOLNAME ?= "${MACHINE}-rootfs" + +IMAGE_CMD_ubi-sysmo () { + echo \[kernel\] >> ubinize_sysmo.cfg + echo mode=ubi >> ubinize_sysmo.cfg + echo image=${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin >> ubinize_sysmo.cfg + echo vol_id=0 >> ubinize_sysmo.cfg + echo vol_type=static >> ubinize_sysmo.cfg + echo vol_name=${MACHINE}-backup-kernel >> ubinize_sysmo.cfg + echo \[ubifs\] >> ubinize_sysmo.cfg + echo mode=ubi >> ubinize_sysmo.cfg + echo image=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs-sysmo >> ubinize_sysmo.cfg + echo vol_id=1 >> ubinize_sysmo.cfg + echo vol_type=dynamic >> ubinize_sysmo.cfg + echo vol_name=${UBI_VOLNAME} >> ubinize_sysmo.cfg + echo vol_flags=autoresize >> ubinize_sysmo.cfg + mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs-sysmo ${MKUBIFS_ARGS} && ubinize -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi-sysmo ${UBINIZE_ARGS} ubinize_sysmo.cfg +} From 2761cd97f439f97d1739bd84280a73e818cc2ed4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 11 May 2013 14:32:20 +0200 Subject: [PATCH 152/908] sysmobts-v2: Allow the rootfs to grow to the full size of the flash The rootfs in the UBI is configured to grow to the full size of the UBI, currently these are 999 LEBs (when there is no kernel volume) but we had limited the LEBs the filesystem can hold to 400. After this change the filesystem will grow from the 42MB to more than 120 MB. I'm not sure if we really want to have a rootfs of that size but we can at least experiment with it and see if the failure rate is changing or not. --- conf/machine/sysmobts-v2.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/sysmobts-v2.conf b/conf/machine/sysmobts-v2.conf index b86a9a1a78..586a44c5b0 100644 --- a/conf/machine/sysmobts-v2.conf +++ b/conf/machine/sysmobts-v2.conf @@ -7,7 +7,7 @@ EXTRA_IMAGEDEPENDS = "dvnixload-native ubl u-boot sysmobts-firmware" EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 --no-cleanmarkers --pad=0x2000000 -n" # ubifs config -MKUBIFS_ARGS ?= "-m 2048 -e 129024 -c 400" +MKUBIFS_ARGS ?= "-m 2048 -e 129024 -c 999" UBINIZE_ARGS ?= "-m 2048 -p 128KiB -s 512" From 0c799876415af168900469b39b31b6f8e2ccc6c9 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 12 May 2013 12:00:02 +0200 Subject: [PATCH 153/908] gpsdate: Update to current git master (includes init script) --- recipes-extra/gpsdate/gpsdate_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-extra/gpsdate/gpsdate_git.bb b/recipes-extra/gpsdate/gpsdate_git.bb index c7d52d300f..39a06dbc7b 100644 --- a/recipes-extra/gpsdate/gpsdate_git.bb +++ b/recipes-extra/gpsdate/gpsdate_git.bb @@ -5,16 +5,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS = "gpsd" RDEPENDS = "libgps" -PR = "r4" +PR = "r6" SRC_URI = "git://git.sysmocom.de/gpsdate.git;branch=master \ " -SRCREV = "58e3cdeb19be929c0d18c34734fc1c031698e7f9" +SRCREV = "86320146407ecee208ca03428a7424412f272024" S = ${WORKDIR}/git INITSCRIPT_NAME = "gpsdate" INITSCRIPT_PARAMS = "defaults 35" +inherit update-rc.d + do_install() { install -d ${D}/${sbindir} install -m 0755 ${S}/gpsdate ${D}/${sbindir}/gpsdate From a144d1c3c02acdf7c29550dc1fa003425357e4eb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 15 May 2013 12:52:36 +0200 Subject: [PATCH 154/908] tasks-sysmocom-tools: Move wget, ca-cacert-rootcert and sysmocom-backup to tools We have some images that need the real wget for upgrades, the SSL root certificate of CA-Cert but that doesn't use task-sysmocom to build the image. Move these utilities into the tools task. --- recipes-apps/tasks/task-sysmocom-tools.bb | 5 ++++- recipes-apps/tasks/task-sysmocom.bb | 5 +---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-tools.bb b/recipes-apps/tasks/task-sysmocom-tools.bb index 30bbf19f2a..709b5f4ac1 100644 --- a/recipes-apps/tasks/task-sysmocom-tools.bb +++ b/recipes-apps/tasks/task-sysmocom-tools.bb @@ -3,7 +3,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY = "1" -PR = "r6" +PR = "r7" RDEPENDS_task-sysmocom-tools = "\ lmsensors-scripts \ @@ -12,4 +12,7 @@ RDEPENDS_task-sysmocom-tools = "\ screen \ ethtool \ ntpdate \ + wget \ + ca-cacert-rootcert \ + sysmocom-backup \ " diff --git a/recipes-apps/tasks/task-sysmocom.bb b/recipes-apps/tasks/task-sysmocom.bb index 730f561583..3d784ae06f 100644 --- a/recipes-apps/tasks/task-sysmocom.bb +++ b/recipes-apps/tasks/task-sysmocom.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY = "1" -PR = "r10" +PR = "r11" RDEPENDS_task-sysmocom = "\ task-sysmocom-tools \ @@ -14,8 +14,5 @@ RDEPENDS_task-sysmocom = "\ osmo-gbproxy \ osmo-nitb \ ipaccess-utils \ - wget \ - ca-cacert-rootcert \ - sysmocom-backup \ " From 49ca632e9af816b65cd1b0f885fc8c3f4af4cdec Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 27 May 2013 16:48:30 +0200 Subject: [PATCH 155/908] busybox: include support for CIFS mounting --- recipes-apps/busybox/busybox_sysmocom.inc | 2 +- recipes-apps/busybox/files/defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/busybox/busybox_sysmocom.inc b/recipes-apps/busybox/busybox_sysmocom.inc index d331fcf2e7..32eb10762a 100644 --- a/recipes-apps/busybox/busybox_sysmocom.inc +++ b/recipes-apps/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" -PRINC = "14" +PRINC = "15" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/recipes-apps/busybox/files/defconfig b/recipes-apps/busybox/files/defconfig index 96cd6385b9..361e51d93f 100644 --- a/recipes-apps/busybox/files/defconfig +++ b/recipes-apps/busybox/files/defconfig @@ -552,7 +552,7 @@ CONFIG_MOUNT=y # CONFIG_FEATURE_MOUNT_HELPERS is not set # CONFIG_FEATURE_MOUNT_LABEL is not set CONFIG_FEATURE_MOUNT_NFS=y -# CONFIG_FEATURE_MOUNT_CIFS is not set +CONFIG_FEATURE_MOUNT_CIFS=y CONFIG_FEATURE_MOUNT_FLAGS=y CONFIG_FEATURE_MOUNT_FSTAB=y CONFIG_PIVOT_ROOT=y From 0ca774fc195c7efb37fe801f06884a6feba11ac9 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 1 Jun 2013 18:50:54 +0200 Subject: [PATCH 156/908] u-boot: Build a new version with the "force" option for the recovery --- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index 05ee0300ee..601e2fc087 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -1,5 +1,5 @@ SRC_URI = "git://git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=git" -SRCREV = "f289f5ed90c462f6b8f18ed787e9c27fc142fb6c" +SRCREV = "40d74c99ac9d741857d1298617b186b1d4e148de" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" From 0c797643dd2120f3118ad4cd4b615a5a86ceb113 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 24 Apr 2013 13:47:37 +0200 Subject: [PATCH 157/908] gpsdate: Use "" for variable content. The new poky is more strict. Use quotes around the variable for the work directory. --- recipes-extra/gpsdate/gpsdate_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extra/gpsdate/gpsdate_git.bb b/recipes-extra/gpsdate/gpsdate_git.bb index 39a06dbc7b..d20f5465c0 100644 --- a/recipes-extra/gpsdate/gpsdate_git.bb +++ b/recipes-extra/gpsdate/gpsdate_git.bb @@ -10,7 +10,7 @@ PR = "r6" SRC_URI = "git://git.sysmocom.de/gpsdate.git;branch=master \ " SRCREV = "86320146407ecee208ca03428a7424412f272024" -S = ${WORKDIR}/git +S = "${WORKDIR}/git" INITSCRIPT_NAME = "gpsdate" INITSCRIPT_PARAMS = "defaults 35" From 212ab87663c3d432bac689bf897a05879aca8cd2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 7 Jun 2013 10:28:58 +0200 Subject: [PATCH 158/908] sysmocom-openvpn-config: Add a recipe with our generic OpenVPN client config This way I just need to install sysmocom-openvpn-config and copy a matching key to the device for the VPN config. The configuration file is marked as a CONFFILE, this means that modifications to it will not be lost during upgrade. --- .../sysmocom-openvpn-config/sysmocom-vpn.conf | 11 +++++++++++ .../sysmocom-openvpn-config_1.bb | 16 ++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config/sysmocom-vpn.conf create mode 100644 recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb diff --git a/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config/sysmocom-vpn.conf b/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config/sysmocom-vpn.conf new file mode 100644 index 0000000000..aabbc7fb0a --- /dev/null +++ b/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config/sysmocom-vpn.conf @@ -0,0 +1,11 @@ +#OpenVPN client conf +tls-client +client +dev tun +proto udp +tun-mtu 1500 +remote admin.sysmocom.de +remote 78.46.147.238 +comp-lzo +pkcs12 sysmocom-client-cert.p12 +cipher BF-CBC diff --git a/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb b/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb new file mode 100644 index 0000000000..733d99b797 --- /dev/null +++ b/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb @@ -0,0 +1,16 @@ +HOMEPAGE = "http://www.sysmocom.de" +RDEPENDS_${PN} = "openvpn" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" + +SRC_URI = "file://sysmocom-vpn.conf" +PR = "r3" + +CONFFILES_${PN} = "${sysconfdir}/openvpn/sysmocom-vpn.conf" +PACKAGE_ARCH = "all" + +do_install() { + install -d ${D}${sysconfdir}/openvpn + install -m 0644 ${WORKDIR}/sysmocom-vpn.conf ${D}${sysconfdir}/openvpn +} From e9d0aa7cb415a57fb78367e4709112e797ccfe00 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 24 Apr 2013 14:20:40 +0200 Subject: [PATCH 159/908] misc: Use ALLOW_EMPTY_${PN} and RDEPENDS_${PN} to silent warnings Newer versions of poky warn about ALLOW_EMPTY on non _PN versions. --- recipes-apps/tasks/task-gprscore.bb | 4 ++-- recipes-apps/tasks/task-sysmocom-bts.bb | 4 ++-- recipes-apps/tasks/task-sysmocom-debug.bb | 6 +++--- recipes-apps/tasks/task-sysmocom-e1.bb | 6 +++--- recipes-apps/tasks/task-sysmocom-tools.bb | 4 ++-- recipes-apps/tasks/task-sysmocom.bb | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/recipes-apps/tasks/task-gprscore.bb b/recipes-apps/tasks/task-gprscore.bb index 98eb987e9e..fd13ae8240 100644 --- a/recipes-apps/tasks/task-gprscore.bb +++ b/recipes-apps/tasks/task-gprscore.bb @@ -3,10 +3,10 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" -ALLOW_EMPTY = "1" +ALLOW_EMPTY_${PN} = "1" PR = "r1" -RDEPENDS_task-gprscore = "\ +RDEPENDS_${PN} = "\ openggsn \ gprs-routing osmo-sgsn \ sysmocom-ggsn-config \ diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index ec91bf123f..b5abb1af08 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -3,8 +3,8 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" -ALLOW_EMPTY = "1" -PR = "r17" +ALLOW_EMPTY_${PN} = "1" +PR = "r18" CALIB = "" CALIB_sysmobts-v2 = "sysmobts-calib" diff --git a/recipes-apps/tasks/task-sysmocom-debug.bb b/recipes-apps/tasks/task-sysmocom-debug.bb index 5612b9ebc3..c1a7ecd042 100644 --- a/recipes-apps/tasks/task-sysmocom-debug.bb +++ b/recipes-apps/tasks/task-sysmocom-debug.bb @@ -3,10 +3,10 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" -ALLOW_EMPTY = "1" -PR = "r3" +ALLOW_EMPTY_${PN} = "1" +PR = "r4" -RDEPENDS_task-sysmocom-debug = "\ +RDEPENDS_${PN} = "\ dropbear \ mtd-utils \ strace \ diff --git a/recipes-apps/tasks/task-sysmocom-e1.bb b/recipes-apps/tasks/task-sysmocom-e1.bb index f71beb9cc7..998824e56c 100644 --- a/recipes-apps/tasks/task-sysmocom-e1.bb +++ b/recipes-apps/tasks/task-sysmocom-e1.bb @@ -2,10 +2,10 @@ DESCRIPTION = "Task for E1 based sysmocom" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -ALLOW_EMPTY = "1" -PR = "r1" +ALLOW_EMPTY_${PN} = "1" +PR = "r2" -RDEPENDS_task-sysmocom-e1 = "\ +RDEPENDS_${PN} = "\ dahdi-linux \ dahdi-firmware \ dahdi-tools \ diff --git a/recipes-apps/tasks/task-sysmocom-tools.bb b/recipes-apps/tasks/task-sysmocom-tools.bb index 709b5f4ac1..7026a7b745 100644 --- a/recipes-apps/tasks/task-sysmocom-tools.bb +++ b/recipes-apps/tasks/task-sysmocom-tools.bb @@ -2,10 +2,10 @@ DESCRIPTION = "Task for sysmocom external tools" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -ALLOW_EMPTY = "1" +ALLOW_EMPTY_${PN} = "1" PR = "r7" -RDEPENDS_task-sysmocom-tools = "\ +RDEPENDS_${PN} = "\ lmsensors-scripts \ dropbear \ mtd-utils \ diff --git a/recipes-apps/tasks/task-sysmocom.bb b/recipes-apps/tasks/task-sysmocom.bb index 3d784ae06f..4f79e54f12 100644 --- a/recipes-apps/tasks/task-sysmocom.bb +++ b/recipes-apps/tasks/task-sysmocom.bb @@ -3,10 +3,10 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" -ALLOW_EMPTY = "1" +ALLOW_EMPTY_${PN} = "1" PR = "r11" -RDEPENDS_task-sysmocom = "\ +RDEPENDS_${PN} = "\ task-sysmocom-tools \ osmo-bsc \ osmo-bsc-mgcp \ From b6dc4b91a7b59b6c1e969cbe235d70c543507526 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 2 Jun 2013 08:52:15 +0200 Subject: [PATCH 160/908] gpsdate_git.bb: Use RDEPENDS_${PN} instead of RDEPENDS for dylan/master --- recipes-extra/gpsdate/gpsdate_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-extra/gpsdate/gpsdate_git.bb b/recipes-extra/gpsdate/gpsdate_git.bb index d20f5465c0..746611fef4 100644 --- a/recipes-extra/gpsdate/gpsdate_git.bb +++ b/recipes-extra/gpsdate/gpsdate_git.bb @@ -3,9 +3,9 @@ SECTION = "console/network" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS = "gpsd" -RDEPENDS = "libgps" +RDEPENDS_${PN} = "libgps" -PR = "r6" +PR = "r7" SRC_URI = "git://git.sysmocom.de/gpsdate.git;branch=master \ " From 01e96dd2404baef345d053a760c09ce8b70487d2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 14 Sep 2012 13:44:16 +0800 Subject: [PATCH 161/908] linux-sysmocom: Disable the legacy PTY handling in the kernel There is no need to have the various pty files clobber the /dev directory when they are never used. Do not force a PR upgrade right now as we don't have a good upgreade strategy for the v1 and the BSC config. --- recipes-bsp/linux/files/sysmobts-v1/defconfig | 3 +-- recipes-bsp/linux/files/sysmobts-v2/defconfig | 3 +-- recipes-bsp/linux/files/sysmocom-bsc/defconfig | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/recipes-bsp/linux/files/sysmobts-v1/defconfig b/recipes-bsp/linux/files/sysmobts-v1/defconfig index b25fb76d00..5609fd3b88 100644 --- a/recipes-bsp/linux/files/sysmobts-v1/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v1/defconfig @@ -1037,8 +1037,7 @@ CONFIG_HW_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set CONFIG_UNIX98_PTYS=y # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set -CONFIG_LEGACY_PTYS=y -CONFIG_LEGACY_PTY_COUNT=256 +# CONFIG_LEGACY_PTYS is not set # CONFIG_SERIAL_NONSTANDARD is not set # CONFIG_N_GSM is not set # CONFIG_TRACE_SINK is not set diff --git a/recipes-bsp/linux/files/sysmobts-v2/defconfig b/recipes-bsp/linux/files/sysmobts-v2/defconfig index ef95f8905c..6d8712c297 100644 --- a/recipes-bsp/linux/files/sysmobts-v2/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v2/defconfig @@ -1043,8 +1043,7 @@ CONFIG_HW_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set CONFIG_UNIX98_PTYS=y # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set -CONFIG_LEGACY_PTYS=y -CONFIG_LEGACY_PTY_COUNT=256 +# CONFIG_LEGACY_PTYS is not set # CONFIG_SERIAL_NONSTANDARD is not set # CONFIG_N_GSM is not set # CONFIG_TRACE_SINK is not set diff --git a/recipes-bsp/linux/files/sysmocom-bsc/defconfig b/recipes-bsp/linux/files/sysmocom-bsc/defconfig index d1f7734783..c63d880ae9 100644 --- a/recipes-bsp/linux/files/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/files/sysmocom-bsc/defconfig @@ -1457,8 +1457,7 @@ CONFIG_HW_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set CONFIG_UNIX98_PTYS=y # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set -CONFIG_LEGACY_PTYS=y -CONFIG_LEGACY_PTY_COUNT=256 +# CONFIG_LEGACY_PTYS is not set # CONFIG_SERIAL_NONSTANDARD is not set # CONFIG_NOZOMI is not set # CONFIG_N_GSM is not set From 673d53bbf5881175726cb881b1f96cd4a203ec6e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 19 Jun 2013 20:40:17 +0200 Subject: [PATCH 162/908] linux-sysmocom: Force a rebuild of the kernel with the new config file The previous change modified the defconfig to not include the legacy pseudo terminal support. Increase the version for the sysmoBTS to have a kernel without old terminal files. --- recipes-bsp/linux/linux-sysmocom_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 265a774485..d8afea0d98 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -12,7 +12,7 @@ BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" SRCREV = "996c4d772886fa81ffa5d2d971ef88e6da41e115" -PR = "r29" +PR = "r30" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ From 16f9bbb2885c370ebe129d363b9a45749317b059 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Jun 2013 10:15:40 +0200 Subject: [PATCH 163/908] gpsdate: Upgrade to a newer git version with improved init scripts --- recipes-extra/gpsdate/gpsdate_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-extra/gpsdate/gpsdate_git.bb b/recipes-extra/gpsdate/gpsdate_git.bb index 746611fef4..dbe6ca0775 100644 --- a/recipes-extra/gpsdate/gpsdate_git.bb +++ b/recipes-extra/gpsdate/gpsdate_git.bb @@ -5,11 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS = "gpsd" RDEPENDS_${PN} = "libgps" -PR = "r7" +PR = "r8" SRC_URI = "git://git.sysmocom.de/gpsdate.git;branch=master \ " -SRCREV = "86320146407ecee208ca03428a7424412f272024" +SRCREV = "f07a52709feca7a7f75a3d637a6f1ad5df6e3fa4" S = "${WORKDIR}/git" INITSCRIPT_NAME = "gpsdate" From 3f228b8e6eb43f4519c4d0f1308a740343159fb9 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Jun 2013 10:44:06 +0200 Subject: [PATCH 164/908] gpsdate: Use SRCPV in the PV and bump the PE Follow the Poky conventions and use SRCPV for the git package. Bump the PR because otherwise the package is not upgradable. --- recipes-extra/gpsdate/gpsdate_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-extra/gpsdate/gpsdate_git.bb b/recipes-extra/gpsdate/gpsdate_git.bb index dbe6ca0775..8354f474b2 100644 --- a/recipes-extra/gpsdate/gpsdate_git.bb +++ b/recipes-extra/gpsdate/gpsdate_git.bb @@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS = "gpsd" RDEPENDS_${PN} = "libgps" +PE = "1" PR = "r8" +PV = "0.1+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/gpsdate.git;branch=master \ " From 5b3576665107d2569a8484e22d1e2138b26a876c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Jun 2013 11:18:25 +0200 Subject: [PATCH 165/908] gpsdate: Upgrade with a now fully working init script --- recipes-extra/gpsdate/gpsdate_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extra/gpsdate/gpsdate_git.bb b/recipes-extra/gpsdate/gpsdate_git.bb index 8354f474b2..1c0708a978 100644 --- a/recipes-extra/gpsdate/gpsdate_git.bb +++ b/recipes-extra/gpsdate/gpsdate_git.bb @@ -11,7 +11,7 @@ PV = "0.1+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/gpsdate.git;branch=master \ " -SRCREV = "f07a52709feca7a7f75a3d637a6f1ad5df6e3fa4" +SRCREV = "0db898e4b8870ecc8e703ca3b6cafb6281077188" S = "${WORKDIR}/git" INITSCRIPT_NAME = "gpsdate" From fea919fa5dd77afdce8a5d2a6e0a8fb34887c7e8 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Jun 2013 14:15:12 +0200 Subject: [PATCH 166/908] osmo-bts: Build the 0.3.0-next branch with further improvements This is a bigger update and brings the SAPI queue, readv/writev and realtime scheduling to the sysmobts software. This will greatly improve the stability of the software under load. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 51462a3d87..1dce6e08f5 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -2,11 +2,11 @@ DESCRIPTION = "sysmocom OsmoBTS" LICENSE = "AGPLv3" LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" -SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ +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 = "cdc5a4dc384c91d5102376e08e3f34523e50b028" -SRCREV_openbsc = "8b29180cad875b396288a22fb252e158fa2a060a" -PV = "0.2.0+git${SRCPV}" +SRCREV_osmobts = "d7b37b68cacc508fb2814013bfdbee081cd29efd" +SRCREV_openbsc = "b0bf1da4c87f1ab3f9367bbeea615dc86d13131c" +PV = "0.3.0+git${SRCPV}" PR = "r1.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 040f4432f53b739f62037ee7e5f9037e51a2c4cf Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Jun 2013 18:19:34 +0200 Subject: [PATCH 167/908] osmo-bts: Upgrade to the latest sysmocom/0.3.0-next version This introduces the auto-band that will help in managing configurations. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 1dce6e08f5..67231d4c0a 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ 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 = "d7b37b68cacc508fb2814013bfdbee081cd29efd" +SRCREV_osmobts = "602afee3df4cace9af26931b58afd0ca65103e0d" SRCREV_openbsc = "b0bf1da4c87f1ab3f9367bbeea615dc86d13131c" PV = "0.3.0+git${SRCPV}" PR = "r1.${META_TELEPHONY_OSMO_INC}" From 57c0346f5670bbf74c3f7ed345bb5c3b64544aa6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 19 Jun 2013 20:17:22 +0200 Subject: [PATCH 168/908] gpsd: Upgrade to version 3.9 in the hope of some crashes being fixed GPSD 3.7 is somehow exiting without us really knowing the cause. The version 3.9 has been released and we hope that it might just fix the issues we are experiencing. --- ...SConstruct-disable-html-and-man-docs-building-becaus.patch | 0 ...SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch | 0 .../0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch | 0 .../{gpsd-3.7 => gpsd-3.9}/0004-SConstruct-remove-rpath.patch | 0 recipes-extra/gpsd/{gpsd_3.7.bb => gpsd_3.9.bb} | 4 ++-- 5 files changed, 2 insertions(+), 2 deletions(-) rename recipes-extra/gpsd/{gpsd-3.7 => gpsd-3.9}/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch (100%) rename recipes-extra/gpsd/{gpsd-3.7 => gpsd-3.9}/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch (100%) rename recipes-extra/gpsd/{gpsd-3.7 => gpsd-3.9}/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch (100%) rename recipes-extra/gpsd/{gpsd-3.7 => gpsd-3.9}/0004-SConstruct-remove-rpath.patch (100%) rename recipes-extra/gpsd/{gpsd_3.7.bb => gpsd_3.9.bb} (97%) diff --git a/recipes-extra/gpsd/gpsd-3.7/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch b/recipes-extra/gpsd/gpsd-3.9/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch similarity index 100% rename from recipes-extra/gpsd/gpsd-3.7/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch rename to recipes-extra/gpsd/gpsd-3.9/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch diff --git a/recipes-extra/gpsd/gpsd-3.7/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch b/recipes-extra/gpsd/gpsd-3.9/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch similarity index 100% rename from recipes-extra/gpsd/gpsd-3.7/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch rename to recipes-extra/gpsd/gpsd-3.9/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch diff --git a/recipes-extra/gpsd/gpsd-3.7/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch b/recipes-extra/gpsd/gpsd-3.9/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch similarity index 100% rename from recipes-extra/gpsd/gpsd-3.7/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch rename to recipes-extra/gpsd/gpsd-3.9/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch diff --git a/recipes-extra/gpsd/gpsd-3.7/0004-SConstruct-remove-rpath.patch b/recipes-extra/gpsd/gpsd-3.9/0004-SConstruct-remove-rpath.patch similarity index 100% rename from recipes-extra/gpsd/gpsd-3.7/0004-SConstruct-remove-rpath.patch rename to recipes-extra/gpsd/gpsd-3.9/0004-SConstruct-remove-rpath.patch diff --git a/recipes-extra/gpsd/gpsd_3.7.bb b/recipes-extra/gpsd/gpsd_3.9.bb similarity index 97% rename from recipes-extra/gpsd/gpsd_3.7.bb rename to recipes-extra/gpsd/gpsd_3.9.bb index e833187f68..4d7c643b15 100644 --- a/recipes-extra/gpsd/gpsd_3.7.bb +++ b/recipes-extra/gpsd/gpsd_3.9.bb @@ -18,8 +18,8 @@ SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://gpsd \ file://60-gpsd.rules \ " -SRC_URI[md5sum] = "52d9785eaf1a51298bb8900dbde88f98" -SRC_URI[sha256sum] = "7800c478ee9d7ca7a502b0f892828561b1fbf7bc69d9d38c447c82c3628302ac" +SRC_URI[md5sum] = "53a88f24a0973d23427e82e9a8914f19" +SRC_URI[sha256sum] = "d9b24be838b48db5e8eba66f74edf32d1982fe0fb018c9d9a7ad1ada9f189d5a" #inherit scons update-rc.d python-dir pythonnative inherit scons update-rc.d From 6453080cef39935d72553db2b6b36669bf1ae500 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Jun 2013 19:48:56 +0200 Subject: [PATCH 169/908] gpsd: Make sure the sysmobts-v2 gpsd default version is installed The sysmobts-v2 version was not installed because the file was not called properly. Rename it to gpsd-default and the sysmobts-v2 version will be picked and installed. --- .../gpsd/gpsd/sysmobts-v2/{gpsd.default => gpsd-default} | 0 recipes-extra/gpsd/gpsd_3.9.bb | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename recipes-extra/gpsd/gpsd/sysmobts-v2/{gpsd.default => gpsd-default} (100%) diff --git a/recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd.default b/recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd-default similarity index 100% rename from recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd.default rename to recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd-default diff --git a/recipes-extra/gpsd/gpsd_3.9.bb b/recipes-extra/gpsd/gpsd_3.9.bb index 4d7c643b15..50c2c34123 100644 --- a/recipes-extra/gpsd/gpsd_3.9.bb +++ b/recipes-extra/gpsd/gpsd_3.9.bb @@ -8,7 +8,7 @@ PROVIDES = "virtual/gpsd" EXTRANATIVEPATH += "chrpath-native" -PR = "r3.6" +PR = "r3.7" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ From 6e7383839c6ccf7075b5ca12bd7ac11197b1ee91 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Jun 2013 20:37:31 +0200 Subject: [PATCH 170/908] gpsd: Mark the /etc/default/gpsd as a CONFFILE --- recipes-extra/gpsd/gpsd_3.9.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-extra/gpsd/gpsd_3.9.bb b/recipes-extra/gpsd/gpsd_3.9.bb index 50c2c34123..d320f97ec7 100644 --- a/recipes-extra/gpsd/gpsd_3.9.bb +++ b/recipes-extra/gpsd/gpsd_3.9.bb @@ -8,7 +8,7 @@ PROVIDES = "virtual/gpsd" EXTRANATIVEPATH += "chrpath-native" -PR = "r3.7" +PR = "r3.8" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ @@ -135,6 +135,7 @@ FILES_libgps = "${libdir}/libgps.so.*" DESCRIPTION_gpsd-conf = "gpsd configuration files and init scripts" FILES_gpsd-conf = "${sysconfdir}" +CONFFILES_gpsd-conf = "${sysconfdir}/default/gpsd.default" DESCRIPTION_gpsd-gpsctl = "Tool for tweaking GPS modes" FILES_gpsd-gpsctl = "${bindir}/gpsctl" From 69d9a0609d0a6e1e5f3676e4dddc2116caf1224a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 22 Jun 2013 09:36:02 +0200 Subject: [PATCH 171/908] sysmocom-backup: Backup the /etc/network/interfaces file --- recipes-apps/sysmocom-backup/files/sysmocom-backup | 1 + recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-apps/sysmocom-backup/files/sysmocom-backup b/recipes-apps/sysmocom-backup/files/sysmocom-backup index 1166824478..1473877c18 100755 --- a/recipes-apps/sysmocom-backup/files/sysmocom-backup +++ b/recipes-apps/sysmocom-backup/files/sysmocom-backup @@ -4,6 +4,7 @@ # Make sure to look at sysmocom-restore to check if the file would # be restored right. Currently only some dirs get restored. FILES="\ + etc/network/interfaces \ etc/openvpn etc/osmocom/osmo-bsc-mgcp.cfg \ etc/osmocom/osmo-bsc.cfg \ diff --git a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb index 4ce0b0feb0..d8f8579730 100644 --- a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb +++ b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb @@ -1,7 +1,7 @@ DESCRIPTION = "sysmocom config backup and restore scripts" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r3" +PR = "r4" SRC_URI = "file://sysmocom-backup file://sysmocom-restore" RDEPENDS_${PN} = "tar" From 03fd342e14381deece0125e94eca9b39d31f9703 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 22 Jun 2013 09:48:01 +0200 Subject: [PATCH 172/908] sysmocom-backup: Backup all of /etc/default Additional applications might store files in /etc/default and it is the easiest to backup up all of them. This has the danger that after an upgrade the default file is not compatible/optimal but we will need to deal with that once it occurs. --- recipes-apps/sysmocom-backup/files/sysmocom-backup | 4 +--- recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/recipes-apps/sysmocom-backup/files/sysmocom-backup b/recipes-apps/sysmocom-backup/files/sysmocom-backup index 1473877c18..27a924884a 100755 --- a/recipes-apps/sysmocom-backup/files/sysmocom-backup +++ b/recipes-apps/sysmocom-backup/files/sysmocom-backup @@ -13,9 +13,7 @@ FILES="\ etc/osmocom/osmo-pcu.cfg \ etc/osmocom/osmo-sgsn.cfg \ etc/ggsn.conf \ - etc/default/osmo-nitb \ - etc/default/osmo-bsc \ - etc/default/osmocom-tcpdump \ + etc/default \ var/lib/osmocom/hlr.sqlite3 \ " DATE=`date +%Y%m%d` diff --git a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb index d8f8579730..a9c06524fb 100644 --- a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb +++ b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb @@ -1,7 +1,7 @@ DESCRIPTION = "sysmocom config backup and restore scripts" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r4" +PR = "r5" SRC_URI = "file://sysmocom-backup file://sysmocom-restore" RDEPENDS_${PN} = "tar" From f5d3fba9555584346761d80ef3fd62b654c94d54 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 22 Jun 2013 17:20:57 +0200 Subject: [PATCH 173/908] sysmocom-backup: Save two more files from the etc directory Save the ifplugd.sh script and hostname in the backup as well. I have a usecase where these two files were modified. --- recipes-apps/sysmocom-backup/files/sysmocom-backup | 2 ++ recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-apps/sysmocom-backup/files/sysmocom-backup b/recipes-apps/sysmocom-backup/files/sysmocom-backup index 27a924884a..481f07bf39 100755 --- a/recipes-apps/sysmocom-backup/files/sysmocom-backup +++ b/recipes-apps/sysmocom-backup/files/sysmocom-backup @@ -4,6 +4,8 @@ # Make sure to look at sysmocom-restore to check if the file would # be restored right. Currently only some dirs get restored. FILES="\ + etc/hostname \ + etc/ifplugd.sh \ etc/network/interfaces \ etc/openvpn etc/osmocom/osmo-bsc-mgcp.cfg \ diff --git a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb index a9c06524fb..6b0ce5bb59 100644 --- a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb +++ b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb @@ -1,7 +1,7 @@ DESCRIPTION = "sysmocom config backup and restore scripts" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r5" +PR = "r7" SRC_URI = "file://sysmocom-backup file://sysmocom-restore" RDEPENDS_${PN} = "tar" From f79726fdcca12929619fbeed8ee3d3ef14933216 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 24 Jun 2013 08:28:02 +0200 Subject: [PATCH 174/908] osmo-bts: Move to a new 0.3.0-next release with EEPROM reading --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 67231d4c0a..cb22d4b565 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ 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 = "602afee3df4cace9af26931b58afd0ca65103e0d" +SRCREV_osmobts = "f169a75fc41c2474bb0602d5f6b6401213f03633" SRCREV_openbsc = "b0bf1da4c87f1ab3f9367bbeea615dc86d13131c" PV = "0.3.0+git${SRCPV}" PR = "r1.${META_TELEPHONY_OSMO_INC}" From ffce9e7f872c3b9623f6fa4223d583f18d3b993a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 11 Jul 2013 17:05:40 +0200 Subject: [PATCH 175/908] osmo-pcu: Build a 'hack'/tmp branch that exits the PCU after a BTS loss This will make the PCU exit after a BTS is lost. This is because the PCU is not resetting all the state and then BSSGP might not come up properly. --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 1bb31e8069..444115165a 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly_merge" -SRCREV = "81a12be317bb5d2ad13bc27be1b2b1cb1605f4de" +SRCREV = "06d28bb08aa9834bc0f0c2740ffbebc12ce8560f" PV = "0.2+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 57cc5e9c588d4f9f39f5007afdcaf94a830d1401 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 1 Aug 2013 19:45:00 +0200 Subject: [PATCH 176/908] osmo-bts: Update to an experimental version that uses libosmo-abis This is a osmo-bts that will use libosmo-abis for OML and RSL and is based on master. In one way it should improve quality in another it is also testing. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index cb22d4b565..0e121ad349 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -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 = "f169a75fc41c2474bb0602d5f6b6401213f03633" -SRCREV_openbsc = "b0bf1da4c87f1ab3f9367bbeea615dc86d13131c" +SRCREV_osmobts = "5eab81d02ae80af9f87d75389707a8ff76414076" +SRCREV_openbsc = "f659992616a910a48d48766986460f6ccd23e971" PV = "0.3.0+git${SRCPV}" PR = "r1.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 4f6d4893cebf633033c3d84b0b9f70ef72408e36 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 17 Aug 2013 18:50:15 +0200 Subject: [PATCH 177/908] vlan: Add a vlan configuration utility as used on the OHM --- recipes-extra/vlan/vlan_1.9.bb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes-extra/vlan/vlan_1.9.bb diff --git a/recipes-extra/vlan/vlan_1.9.bb b/recipes-extra/vlan/vlan_1.9.bb new file mode 100644 index 0000000000..b12b67931a --- /dev/null +++ b/recipes-extra/vlan/vlan_1.9.bb @@ -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" From 8fab0f3222575224c248fb78174644dcd577c84b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 17 Aug 2013 19:14:10 +0200 Subject: [PATCH 178/908] uucp: opkg works on files and not directories. Create /var/spool/uucp in postinst Create the spool directory in the post install in case it does not exist yet. Use the -m 0770 to begin with the right default for this directory. --- recipes-extra/uucp/uucp_1.07.bb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/recipes-extra/uucp/uucp_1.07.bb b/recipes-extra/uucp/uucp_1.07.bb index 4221833270..e19a217d80 100644 --- a/recipes-extra/uucp/uucp_1.07.bb +++ b/recipes-extra/uucp/uucp_1.07.bb @@ -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 } From 7fa273ffc28b9f040eb116af1d749341faded409 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 4 Oct 2013 21:39:52 +0200 Subject: [PATCH 179/908] Initial support for a MACHINE="sysmobts-2050" build The build differs in that it doesn't use a getty on ttyS0. In the fuutre, a modified kernel serial driver as well as a 2050-specific utility for managing the supervisor processor will follow. --- conf/machine/sysmobts-2050.conf | 16 + .../linux/files/sysmobts-2050/defconfig | 1869 +++++++++++++++++ recipes-bsp/linux/linux-sysmocom_git.bb | 5 +- .../watchdog/sysmobts-2050/watchdog.conf | 41 + recipes-bsp/watchdog/watchdog_sysmocom.inc | 3 +- .../firmware/sysmobts-firmware_3.3.bb | 5 +- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 5 +- 7 files changed, 1937 insertions(+), 7 deletions(-) create mode 100644 conf/machine/sysmobts-2050.conf create mode 100644 recipes-bsp/linux/files/sysmobts-2050/defconfig create mode 100644 recipes-bsp/watchdog/watchdog/sysmobts-2050/watchdog.conf diff --git a/conf/machine/sysmobts-2050.conf b/conf/machine/sysmobts-2050.conf new file mode 100644 index 0000000000..92261517dd --- /dev/null +++ b/conf/machine/sysmobts-2050.conf @@ -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" diff --git a/recipes-bsp/linux/files/sysmobts-2050/defconfig b/recipes-bsp/linux/files/sysmobts-2050/defconfig new file mode 100644 index 0000000000..6d8712c297 --- /dev/null +++ b/recipes-bsp/linux/files/sysmobts-2050/defconfig @@ -0,0 +1,1869 @@ +# +# Automatically generated file; DO NOT EDIT. +# Linux/arm 3.2.19 Kernel Configuration +# +CONFIG_ARM=y +CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_GENERIC_GPIO=y +# CONFIG_ARCH_USES_GETTIMEOFFSET is not set +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_KTIME_SCALAR=y +CONFIG_HAVE_PROC_CPU=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_HARDIRQS_SW_RESEND=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_RWSEM_GENERIC_SPINLOCK=y +CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_ZONE_DMA=y +CONFIG_NEED_DMA_MAP_STATE=y +CONFIG_VECTORS_BASE=0xffff0000 +CONFIG_ARM_PATCH_PHYS_VIRT=y +CONFIG_GENERIC_BUG=y +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" +CONFIG_HAVE_IRQ_WORK=y +CONFIG_IRQ_WORK=y + +# +# General setup +# +CONFIG_EXPERIMENTAL=y +CONFIG_BROKEN_ON_SMP=y +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_CROSS_COMPILE="" +CONFIG_LOCALVERSION="" +CONFIG_LOCALVERSION_AUTO=y +CONFIG_HAVE_KERNEL_GZIP=y +CONFIG_HAVE_KERNEL_LZMA=y +CONFIG_HAVE_KERNEL_LZO=y +CONFIG_KERNEL_GZIP=y +# CONFIG_KERNEL_LZMA is not set +# CONFIG_KERNEL_LZO is not set +CONFIG_DEFAULT_HOSTNAME="(none)" +# CONFIG_SWAP is not set +CONFIG_SYSVIPC=y +CONFIG_SYSVIPC_SYSCTL=y +CONFIG_POSIX_MQUEUE=y +CONFIG_POSIX_MQUEUE_SYSCTL=y +# CONFIG_BSD_PROCESS_ACCT is not set +# CONFIG_FHANDLE is not set +# CONFIG_TASKSTATS is not set +# CONFIG_AUDIT is not set +CONFIG_HAVE_GENERIC_HARDIRQS=y + +# +# IRQ subsystem +# +CONFIG_GENERIC_HARDIRQS=y +CONFIG_HAVE_SPARSE_IRQ=y +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_GENERIC_IRQ_CHIP=y +# CONFIG_SPARSE_IRQ is not set + +# +# RCU Subsystem +# +CONFIG_TINY_PREEMPT_RCU=y +CONFIG_PREEMPT_RCU=y +# CONFIG_RCU_TRACE is not set +# CONFIG_TREE_RCU_TRACE is not set +# CONFIG_RCU_BOOST is not set +CONFIG_IKCONFIG=m +CONFIG_IKCONFIG_PROC=y +CONFIG_LOG_BUF_SHIFT=14 +# CONFIG_CGROUPS is not set +# CONFIG_NAMESPACES is not set +# CONFIG_SCHED_AUTOGROUP is not set +# CONFIG_SYSFS_DEPRECATED is not set +# CONFIG_RELAY is not set +# CONFIG_BLK_DEV_INITRD is not set +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +CONFIG_SYSCTL=y +CONFIG_ANON_INODES=y +CONFIG_EXPERT=y +CONFIG_UID16=y +CONFIG_SYSCTL_SYSCALL=y +CONFIG_KALLSYMS=y +CONFIG_KALLSYMS_ALL=y +CONFIG_HOTPLUG=y +CONFIG_PRINTK=y +CONFIG_BUG=y +CONFIG_ELF_CORE=y +CONFIG_BASE_FULL=y +CONFIG_FUTEX=y +CONFIG_EPOLL=y +CONFIG_SIGNALFD=y +CONFIG_TIMERFD=y +CONFIG_EVENTFD=y +CONFIG_SHMEM=y +CONFIG_AIO=y +CONFIG_EMBEDDED=y +CONFIG_HAVE_PERF_EVENTS=y +CONFIG_PERF_USE_VMALLOC=y + +# +# Kernel Performance Events And Counters +# +CONFIG_PERF_EVENTS=y +# CONFIG_PERF_COUNTERS is not set +# CONFIG_DEBUG_PERF_USE_VMALLOC is not set +CONFIG_VM_EVENT_COUNTERS=y +CONFIG_SLUB_DEBUG=y +CONFIG_COMPAT_BRK=y +# CONFIG_SLAB is not set +CONFIG_SLUB=y +# CONFIG_SLOB is not set +CONFIG_PROFILING=y +CONFIG_OPROFILE=m +CONFIG_HAVE_OPROFILE=y +# CONFIG_KPROBES is not set +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_CLK=y +CONFIG_HAVE_DMA_API_DEBUG=y + +# +# GCOV-based kernel profiling +# +# CONFIG_GCOV_KERNEL is not set +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +CONFIG_SLABINFO=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +# CONFIG_MODULE_FORCE_LOAD is not set +CONFIG_MODULE_UNLOAD=y +CONFIG_MODULE_FORCE_UNLOAD=y +CONFIG_MODVERSIONS=y +# CONFIG_MODULE_SRCVERSION_ALL is not set +CONFIG_BLOCK=y +CONFIG_LBDAF=y +# CONFIG_BLK_DEV_BSG is not set +# CONFIG_BLK_DEV_BSGLIB is not set +# CONFIG_BLK_DEV_INTEGRITY is not set + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +# CONFIG_IOSCHED_DEADLINE is not set +# CONFIG_IOSCHED_CFQ is not set +CONFIG_DEFAULT_NOOP=y +CONFIG_DEFAULT_IOSCHED="noop" +# CONFIG_INLINE_SPIN_TRYLOCK is not set +# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK is not set +# CONFIG_INLINE_SPIN_LOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK_IRQ is not set +# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set +# CONFIG_INLINE_SPIN_UNLOCK is not set +# CONFIG_INLINE_SPIN_UNLOCK_BH is not set +# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set +# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_READ_TRYLOCK is not set +# CONFIG_INLINE_READ_LOCK is not set +# CONFIG_INLINE_READ_LOCK_BH is not set +# CONFIG_INLINE_READ_LOCK_IRQ is not set +# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set +# CONFIG_INLINE_READ_UNLOCK is not set +# CONFIG_INLINE_READ_UNLOCK_BH is not set +# CONFIG_INLINE_READ_UNLOCK_IRQ is not set +# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_WRITE_TRYLOCK is not set +# CONFIG_INLINE_WRITE_LOCK is not set +# CONFIG_INLINE_WRITE_LOCK_BH is not set +# CONFIG_INLINE_WRITE_LOCK_IRQ is not set +# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set +# CONFIG_INLINE_WRITE_UNLOCK is not set +# CONFIG_INLINE_WRITE_UNLOCK_BH is not set +# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set +# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set +# CONFIG_MUTEX_SPIN_ON_OWNER is not set +CONFIG_FREEZER=y + +# +# System Type +# +CONFIG_MMU=y +# CONFIG_ARCH_INTEGRATOR is not set +# CONFIG_ARCH_REALVIEW is not set +# CONFIG_ARCH_VERSATILE is not set +# CONFIG_ARCH_VEXPRESS is not set +# CONFIG_ARCH_AT91 is not set +# CONFIG_ARCH_BCMRING is not set +# CONFIG_ARCH_HIGHBANK is not set +# CONFIG_ARCH_CLPS711X is not set +# CONFIG_ARCH_CNS3XXX is not set +# CONFIG_ARCH_GEMINI is not set +# CONFIG_ARCH_PRIMA2 is not set +# CONFIG_ARCH_EBSA110 is not set +# CONFIG_ARCH_EP93XX is not set +# CONFIG_ARCH_FOOTBRIDGE is not set +# CONFIG_ARCH_MXC is not set +# CONFIG_ARCH_MXS is not set +# CONFIG_ARCH_NETX is not set +# CONFIG_ARCH_H720X is not set +# CONFIG_ARCH_IOP13XX is not set +# CONFIG_ARCH_IOP32X is not set +# CONFIG_ARCH_IOP33X is not set +# CONFIG_ARCH_IXP23XX is not set +# CONFIG_ARCH_IXP2000 is not set +# CONFIG_ARCH_IXP4XX is not set +# CONFIG_ARCH_DOVE is not set +# CONFIG_ARCH_KIRKWOOD is not set +# CONFIG_ARCH_LPC32XX is not set +# CONFIG_ARCH_MV78XX0 is not set +# CONFIG_ARCH_ORION5X is not set +# CONFIG_ARCH_MMP is not set +# CONFIG_ARCH_KS8695 is not set +# CONFIG_ARCH_W90X900 is not set +# CONFIG_ARCH_TEGRA is not set +# CONFIG_ARCH_PICOXCELL is not set +# CONFIG_ARCH_PNX4008 is not set +# CONFIG_ARCH_PXA is not set +# CONFIG_ARCH_MSM is not set +# CONFIG_ARCH_SHMOBILE is not set +# CONFIG_ARCH_RPC is not set +# CONFIG_ARCH_SA1100 is not set +# CONFIG_ARCH_S3C2410 is not set +# CONFIG_ARCH_S3C64XX is not set +# CONFIG_ARCH_S5P64X0 is not set +# CONFIG_ARCH_S5PC100 is not set +# CONFIG_ARCH_S5PV210 is not set +# CONFIG_ARCH_EXYNOS is not set +# CONFIG_ARCH_SHARK is not set +# CONFIG_ARCH_TCC_926 is not set +# CONFIG_ARCH_U300 is not set +# CONFIG_ARCH_U8500 is not set +# CONFIG_ARCH_NOMADIK is not set +CONFIG_ARCH_DAVINCI=y +# CONFIG_ARCH_OMAP is not set +# CONFIG_PLAT_SPEAR is not set +# CONFIG_ARCH_VT8500 is not set +# CONFIG_ARCH_ZYNQ is not set +CONFIG_AINTC=y +CONFIG_ARCH_DAVINCI_DMx=y + +# +# TI DaVinci Implementations +# + +# +# DaVinci Core Type +# +CONFIG_ARCH_DAVINCI_DM644x=y +# CONFIG_ARCH_DAVINCI_DM355 is not set +# CONFIG_ARCH_DAVINCI_DM646x is not set +# CONFIG_ARCH_DAVINCI_DA830 is not set +# CONFIG_ARCH_DAVINCI_DA850 is not set +# CONFIG_ARCH_DAVINCI_DM365 is not set +# CONFIG_ARCH_DAVINCI_TNETV107X is not set + +# +# DaVinci Board Type +# +# CONFIG_MACH_DAVINCI_EVM is not set +# CONFIG_MACH_SFFSDR is not set +# CONFIG_MACH_SYSMOBTS_V1 is not set +CONFIG_MACH_SYSMOBTS_V2=y +# CONFIG_MACH_NEUROS_OSD2 is not set +# CONFIG_GPIO_PCA953X is not set +# CONFIG_KEYBOARD_GPIO_POLLED is not set +# CONFIG_DAVINCI_MUX is not set +# CONFIG_DAVINCI_RESET_CLOCKS is not set + +# +# System MMU +# + +# +# Processor Type +# +CONFIG_CPU_ARM926T=y +CONFIG_CPU_32v5=y +CONFIG_CPU_ABRT_EV5TJ=y +CONFIG_CPU_PABRT_LEGACY=y +CONFIG_CPU_CACHE_VIVT=y +CONFIG_CPU_COPY_V4WB=y +CONFIG_CPU_TLB_V4WBI=y +CONFIG_CPU_CP15=y +CONFIG_CPU_CP15_MMU=y +CONFIG_CPU_USE_DOMAINS=y + +# +# Processor Features +# +CONFIG_ARM_THUMB=y +# CONFIG_CPU_ICACHE_DISABLE is not set +# CONFIG_CPU_DCACHE_DISABLE is not set +# CONFIG_CPU_DCACHE_WRITETHROUGH is not set +# CONFIG_CPU_CACHE_ROUND_ROBIN is not set +CONFIG_ARM_L1_CACHE_SHIFT=5 + +# +# Bus support +# +# CONFIG_PCI_SYSCALL is not set +# CONFIG_ARCH_SUPPORTS_MSI is not set +# CONFIG_PCCARD is not set + +# +# Kernel Features +# +CONFIG_TICK_ONESHOT=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +CONFIG_VMSPLIT_3G=y +# CONFIG_VMSPLIT_2G is not set +# CONFIG_VMSPLIT_1G is not set +CONFIG_PAGE_OFFSET=0xC0000000 +# CONFIG_PREEMPT_NONE is not set +# CONFIG_PREEMPT_VOLUNTARY is not set +CONFIG_PREEMPT=y +CONFIG_PREEMPT_COUNT=y +CONFIG_HZ=100 +CONFIG_AEABI=y +CONFIG_OABI_COMPAT=y +CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y +# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set +# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set +CONFIG_HAVE_ARCH_PFN_VALID=y +# CONFIG_HIGHMEM is not set +CONFIG_SELECT_MEMORY_MODEL=y +CONFIG_FLATMEM_MANUAL=y +CONFIG_FLATMEM=y +CONFIG_FLAT_NODE_MEM_MAP=y +CONFIG_HAVE_MEMBLOCK=y +CONFIG_PAGEFLAGS_EXTENDED=y +CONFIG_SPLIT_PTLOCK_CPUS=999999 +# CONFIG_COMPACTION is not set +# CONFIG_PHYS_ADDR_T_64BIT is not set +CONFIG_ZONE_DMA_FLAG=1 +CONFIG_BOUNCE=y +CONFIG_VIRT_TO_BUS=y +# CONFIG_KSM is not set +CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +CONFIG_NEED_PER_CPU_KM=y +# CONFIG_CLEANCACHE is not set +CONFIG_FORCE_MAX_ZONEORDER=11 +CONFIG_LEDS=y +CONFIG_LEDS_CPU=y +CONFIG_ALIGNMENT_TRAP=y +# CONFIG_UACCESS_WITH_MEMCPY is not set +# CONFIG_SECCOMP is not set +# CONFIG_CC_STACKPROTECTOR is not set +# CONFIG_DEPRECATED_PARAM_STRUCT is not set + +# +# Boot options +# +# CONFIG_USE_OF is not set +CONFIG_ZBOOT_ROM_TEXT=0x0 +CONFIG_ZBOOT_ROM_BSS=0x0 +CONFIG_CMDLINE="" +# CONFIG_XIP_KERNEL is not set +CONFIG_KEXEC=y +CONFIG_ATAGS_PROC=y +# CONFIG_CRASH_DUMP is not set +# CONFIG_AUTO_ZRELADDR is not set + +# +# CPU Power Management +# +# CONFIG_CPU_IDLE is not set + +# +# Floating point emulation +# + +# +# At least one emulation must be selected +# +# CONFIG_FPE_NWFPE is not set +CONFIG_FPE_FASTFPE=y +# CONFIG_VFP is not set + +# +# Userspace binary formats +# +CONFIG_BINFMT_ELF=y +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set +CONFIG_HAVE_AOUT=y +# CONFIG_BINFMT_AOUT is not set +# CONFIG_BINFMT_MISC is not set + +# +# Power management options +# +CONFIG_SUSPEND=y +CONFIG_SUSPEND_FREEZER=y +CONFIG_PM_SLEEP=y +# CONFIG_PM_RUNTIME is not set +CONFIG_PM=y +# CONFIG_PM_DEBUG is not set +# CONFIG_APM_EMULATION is not set +CONFIG_PM_CLK=y +CONFIG_CPU_PM=y +CONFIG_ARCH_SUSPEND_POSSIBLE=y +CONFIG_ARM_CPU_SUSPEND=y +CONFIG_NET=y + +# +# Networking options +# +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_XFRM=y +CONFIG_XFRM_USER=y +# CONFIG_XFRM_SUB_POLICY is not set +# CONFIG_XFRM_MIGRATE is not set +# CONFIG_XFRM_STATISTICS is not set +CONFIG_NET_KEY=m +# CONFIG_NET_KEY_MIGRATE is not set +CONFIG_INET=y +# CONFIG_IP_MULTICAST is not set +# CONFIG_IP_ADVANCED_ROUTER is not set +CONFIG_IP_ROUTE_CLASSID=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +# CONFIG_IP_PNP_BOOTP is not set +# CONFIG_IP_PNP_RARP is not set +# CONFIG_NET_IPIP is not set +# CONFIG_NET_IPGRE_DEMUX is not set +# CONFIG_ARPD is not set +# CONFIG_SYN_COOKIES is not set +CONFIG_INET_AH=y +CONFIG_INET_ESP=y +# CONFIG_INET_IPCOMP is not set +# CONFIG_INET_XFRM_TUNNEL is not set +CONFIG_INET_TUNNEL=y +CONFIG_INET_XFRM_MODE_TRANSPORT=y +CONFIG_INET_XFRM_MODE_TUNNEL=y +CONFIG_INET_XFRM_MODE_BEET=y +# CONFIG_INET_LRO is not set +CONFIG_INET_DIAG=y +CONFIG_INET_TCP_DIAG=y +# CONFIG_TCP_CONG_ADVANCED is not set +CONFIG_TCP_CONG_CUBIC=y +CONFIG_DEFAULT_TCP_CONG="cubic" +# CONFIG_TCP_MD5SIG is not set +CONFIG_IPV6=y +# CONFIG_IPV6_PRIVACY is not set +# CONFIG_IPV6_ROUTER_PREF is not set +# CONFIG_IPV6_OPTIMISTIC_DAD is not set +# CONFIG_INET6_AH is not set +# CONFIG_INET6_ESP is not set +# CONFIG_INET6_IPCOMP is not set +# CONFIG_IPV6_MIP6 is not set +# CONFIG_INET6_XFRM_TUNNEL is not set +# CONFIG_INET6_TUNNEL is not set +CONFIG_INET6_XFRM_MODE_TRANSPORT=y +CONFIG_INET6_XFRM_MODE_TUNNEL=y +CONFIG_INET6_XFRM_MODE_BEET=y +# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set +CONFIG_IPV6_SIT=y +# CONFIG_IPV6_SIT_6RD is not set +CONFIG_IPV6_NDISC_NODETYPE=y +# CONFIG_IPV6_TUNNEL is not set +# CONFIG_IPV6_MULTIPLE_TABLES is not set +# CONFIG_IPV6_MROUTE is not set +# CONFIG_NETWORK_SECMARK is not set +# CONFIG_NETWORK_PHY_TIMESTAMPING is not set +CONFIG_NETFILTER=y +# CONFIG_NETFILTER_DEBUG is not set +CONFIG_NETFILTER_ADVANCED=y + +# +# Core Netfilter Configuration +# +CONFIG_NETFILTER_NETLINK=m +# CONFIG_NETFILTER_NETLINK_QUEUE is not set +CONFIG_NETFILTER_NETLINK_LOG=m +CONFIG_NF_CONNTRACK=m +# CONFIG_NF_CONNTRACK_MARK is not set +# CONFIG_NF_CONNTRACK_EVENTS is not set +# CONFIG_NF_CONNTRACK_TIMESTAMP is not set +CONFIG_NF_CT_PROTO_DCCP=m +CONFIG_NF_CT_PROTO_SCTP=m +CONFIG_NF_CT_PROTO_UDPLITE=m +# CONFIG_NF_CONNTRACK_AMANDA is not set +CONFIG_NF_CONNTRACK_FTP=m +# CONFIG_NF_CONNTRACK_H323 is not set +# CONFIG_NF_CONNTRACK_IRC is not set +# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set +# CONFIG_NF_CONNTRACK_SNMP is not set +# CONFIG_NF_CONNTRACK_PPTP is not set +# CONFIG_NF_CONNTRACK_SANE is not set +CONFIG_NF_CONNTRACK_SIP=m +# CONFIG_NF_CONNTRACK_TFTP is not set +CONFIG_NF_CT_NETLINK=m +# CONFIG_NETFILTER_TPROXY is not set +CONFIG_NETFILTER_XTABLES=m + +# +# Xtables combined modules +# +CONFIG_NETFILTER_XT_MARK=m +# CONFIG_NETFILTER_XT_CONNMARK is not set + +# +# Xtables targets +# +# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set +# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set +# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set +# CONFIG_NETFILTER_XT_TARGET_DSCP is not set +CONFIG_NETFILTER_XT_TARGET_HL=m +# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set +# CONFIG_NETFILTER_XT_TARGET_LED is not set +# CONFIG_NETFILTER_XT_TARGET_MARK is not set +CONFIG_NETFILTER_XT_TARGET_NFLOG=m +# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set +# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set +# CONFIG_NETFILTER_XT_TARGET_TEE is not set +CONFIG_NETFILTER_XT_TARGET_TCPMSS=m +# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set + +# +# Xtables matches +# +# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set +# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set +# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set +# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set +# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set +# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set +# CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set +# CONFIG_NETFILTER_XT_MATCH_CPU is not set +CONFIG_NETFILTER_XT_MATCH_DCCP=m +# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set +CONFIG_NETFILTER_XT_MATCH_DSCP=m +CONFIG_NETFILTER_XT_MATCH_ESP=m +# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set +# CONFIG_NETFILTER_XT_MATCH_HELPER is not set +CONFIG_NETFILTER_XT_MATCH_HL=m +# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set +# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set +CONFIG_NETFILTER_XT_MATCH_LIMIT=m +CONFIG_NETFILTER_XT_MATCH_MAC=m +CONFIG_NETFILTER_XT_MATCH_MARK=m +CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m +# CONFIG_NETFILTER_XT_MATCH_OSF is not set +CONFIG_NETFILTER_XT_MATCH_OWNER=m +CONFIG_NETFILTER_XT_MATCH_POLICY=m +CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m +CONFIG_NETFILTER_XT_MATCH_QUOTA=m +# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set +CONFIG_NETFILTER_XT_MATCH_REALM=m +# CONFIG_NETFILTER_XT_MATCH_RECENT is not set +CONFIG_NETFILTER_XT_MATCH_SCTP=m +# CONFIG_NETFILTER_XT_MATCH_STATE is not set +# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set +# CONFIG_NETFILTER_XT_MATCH_STRING is not set +CONFIG_NETFILTER_XT_MATCH_TCPMSS=m +# CONFIG_NETFILTER_XT_MATCH_TIME is not set +# CONFIG_NETFILTER_XT_MATCH_U32 is not set +# CONFIG_IP_SET is not set +# CONFIG_IP_VS is not set + +# +# IP: Netfilter Configuration +# +CONFIG_NF_DEFRAG_IPV4=m +CONFIG_NF_CONNTRACK_IPV4=m +CONFIG_NF_CONNTRACK_PROC_COMPAT=y +# CONFIG_IP_NF_QUEUE is not set +CONFIG_IP_NF_IPTABLES=m +CONFIG_IP_NF_MATCH_AH=m +CONFIG_IP_NF_MATCH_ECN=m +CONFIG_IP_NF_MATCH_TTL=m +CONFIG_IP_NF_FILTER=m +CONFIG_IP_NF_TARGET_REJECT=m +CONFIG_IP_NF_TARGET_LOG=m +# CONFIG_IP_NF_TARGET_ULOG is not set +CONFIG_NF_NAT=m +CONFIG_NF_NAT_NEEDED=y +CONFIG_IP_NF_TARGET_MASQUERADE=m +CONFIG_IP_NF_TARGET_NETMAP=m +CONFIG_IP_NF_TARGET_REDIRECT=m +CONFIG_NF_NAT_PROTO_DCCP=m +CONFIG_NF_NAT_PROTO_UDPLITE=m +CONFIG_NF_NAT_PROTO_SCTP=m +CONFIG_NF_NAT_FTP=m +# CONFIG_NF_NAT_IRC is not set +# CONFIG_NF_NAT_TFTP is not set +# CONFIG_NF_NAT_AMANDA is not set +# CONFIG_NF_NAT_PPTP is not set +# CONFIG_NF_NAT_H323 is not set +CONFIG_NF_NAT_SIP=m +CONFIG_IP_NF_MANGLE=m +# CONFIG_IP_NF_TARGET_CLUSTERIP is not set +CONFIG_IP_NF_TARGET_ECN=m +CONFIG_IP_NF_TARGET_TTL=m +# CONFIG_IP_NF_RAW is not set +# CONFIG_IP_NF_ARPTABLES is not set + +# +# IPv6: Netfilter Configuration +# +# CONFIG_NF_DEFRAG_IPV6 is not set +# CONFIG_NF_CONNTRACK_IPV6 is not set +CONFIG_IP6_NF_QUEUE=m +CONFIG_IP6_NF_IPTABLES=m +CONFIG_IP6_NF_MATCH_AH=m +CONFIG_IP6_NF_MATCH_EUI64=m +CONFIG_IP6_NF_MATCH_FRAG=m +CONFIG_IP6_NF_MATCH_OPTS=m +CONFIG_IP6_NF_MATCH_HL=m +CONFIG_IP6_NF_MATCH_IPV6HEADER=m +CONFIG_IP6_NF_MATCH_MH=m +CONFIG_IP6_NF_MATCH_RT=m +CONFIG_IP6_NF_TARGET_HL=m +CONFIG_IP6_NF_TARGET_LOG=m +CONFIG_IP6_NF_FILTER=m +CONFIG_IP6_NF_TARGET_REJECT=m +CONFIG_IP6_NF_MANGLE=m +# CONFIG_IP6_NF_RAW is not set +CONFIG_IP_DCCP=m +CONFIG_INET_DCCP_DIAG=m + +# +# DCCP CCIDs Configuration (EXPERIMENTAL) +# +# CONFIG_IP_DCCP_CCID2_DEBUG is not set +CONFIG_IP_DCCP_CCID3=y +# CONFIG_IP_DCCP_CCID3_DEBUG is not set +CONFIG_IP_DCCP_TFRC_LIB=y + +# +# DCCP Kernel Hacking +# +# CONFIG_IP_DCCP_DEBUG is not set +CONFIG_IP_SCTP=y +# CONFIG_SCTP_DBG_MSG is not set +# CONFIG_SCTP_DBG_OBJCNT is not set +# CONFIG_SCTP_HMAC_NONE is not set +# CONFIG_SCTP_HMAC_SHA1 is not set +CONFIG_SCTP_HMAC_MD5=y +# CONFIG_RDS is not set +# CONFIG_TIPC is not set +# CONFIG_ATM is not set +# CONFIG_L2TP is not set +# CONFIG_BRIDGE is not set +# CONFIG_NET_DSA is not set +CONFIG_VLAN_8021Q=m +# CONFIG_VLAN_8021Q_GVRP is not set +# CONFIG_DECNET is not set +# CONFIG_LLC2 is not set +# CONFIG_IPX is not set +# CONFIG_ATALK is not set +# CONFIG_X25 is not set +# CONFIG_LAPB is not set +# CONFIG_ECONET is not set +# CONFIG_WAN_ROUTER is not set +# CONFIG_PHONET is not set +# CONFIG_IEEE802154 is not set +CONFIG_NET_SCHED=y + +# +# Queueing/Scheduling +# +CONFIG_NET_SCH_CBQ=m +CONFIG_NET_SCH_HTB=m +# CONFIG_NET_SCH_HFSC is not set +CONFIG_NET_SCH_PRIO=m +# CONFIG_NET_SCH_MULTIQ is not set +# CONFIG_NET_SCH_RED is not set +# CONFIG_NET_SCH_SFB is not set +# CONFIG_NET_SCH_SFQ is not set +# CONFIG_NET_SCH_TEQL is not set +CONFIG_NET_SCH_TBF=m +# CONFIG_NET_SCH_GRED is not set +# CONFIG_NET_SCH_DSMARK is not set +# CONFIG_NET_SCH_NETEM is not set +# CONFIG_NET_SCH_DRR is not set +# CONFIG_NET_SCH_MQPRIO is not set +# CONFIG_NET_SCH_CHOKE is not set +# CONFIG_NET_SCH_QFQ is not set + +# +# Classification +# +CONFIG_NET_CLS=y +CONFIG_NET_CLS_BASIC=m +CONFIG_NET_CLS_TCINDEX=m +# CONFIG_NET_CLS_ROUTE4 is not set +CONFIG_NET_CLS_FW=m +CONFIG_NET_CLS_U32=m +# CONFIG_CLS_U32_PERF is not set +# CONFIG_CLS_U32_MARK is not set +# CONFIG_NET_CLS_RSVP is not set +# CONFIG_NET_CLS_RSVP6 is not set +# CONFIG_NET_CLS_FLOW is not set +# CONFIG_NET_EMATCH is not set +# CONFIG_NET_CLS_ACT is not set +# CONFIG_NET_CLS_IND is not set +CONFIG_NET_SCH_FIFO=y +# CONFIG_DCB is not set +# CONFIG_BATMAN_ADV is not set + +# +# Network testing +# +# CONFIG_NET_PKTGEN is not set +# CONFIG_HAMRADIO is not set +# CONFIG_CAN is not set +# CONFIG_IRDA is not set +# CONFIG_BT is not set +# CONFIG_AF_RXRPC is not set +# CONFIG_WIRELESS is not set +# CONFIG_WIMAX is not set +# CONFIG_RFKILL is not set +# CONFIG_NET_9P is not set +# CONFIG_CAIF is not set +# CONFIG_CEPH_LIB is not set +# CONFIG_NFC is not set + +# +# Device Drivers +# + +# +# Generic Driver Options +# +CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" +# CONFIG_DEVTMPFS is not set +# CONFIG_STANDALONE is not set +# CONFIG_PREVENT_FIRMWARE_BUILD is not set +CONFIG_FW_LOADER=y +CONFIG_FIRMWARE_IN_KERNEL=y +CONFIG_EXTRA_FIRMWARE="" +# CONFIG_DEBUG_DRIVER is not set +# CONFIG_DEBUG_DEVRES is not set +# CONFIG_SYS_HYPERVISOR is not set +# CONFIG_CONNECTOR is not set +CONFIG_MTD=y +# CONFIG_MTD_TESTS is not set +# CONFIG_MTD_REDBOOT_PARTS is not set +# CONFIG_MTD_CMDLINE_PARTS is not set +# CONFIG_MTD_AFS_PARTS is not set +# CONFIG_MTD_AR7_PARTS is not set + +# +# User Modules And Translation Layers +# +CONFIG_MTD_CHAR=y +CONFIG_MTD_BLKDEVS=y +CONFIG_MTD_BLOCK=y +# CONFIG_FTL is not set +# CONFIG_NFTL is not set +# CONFIG_INFTL is not set +# CONFIG_RFD_FTL is not set +# CONFIG_SSFDC is not set +# CONFIG_SM_FTL is not set +# CONFIG_MTD_OOPS is not set + +# +# RAM/ROM/Flash chip drivers +# +# CONFIG_MTD_CFI is not set +# CONFIG_MTD_JEDECPROBE is not set +CONFIG_MTD_MAP_BANK_WIDTH_1=y +CONFIG_MTD_MAP_BANK_WIDTH_2=y +CONFIG_MTD_MAP_BANK_WIDTH_4=y +# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set +CONFIG_MTD_CFI_I1=y +CONFIG_MTD_CFI_I2=y +# CONFIG_MTD_CFI_I4 is not set +# CONFIG_MTD_CFI_I8 is not set +# CONFIG_MTD_RAM is not set +# CONFIG_MTD_ROM is not set +# CONFIG_MTD_ABSENT is not set + +# +# Mapping drivers for chip access +# +# CONFIG_MTD_COMPLEX_MAPPINGS is not set +# CONFIG_MTD_PLATRAM is not set + +# +# Self-contained MTD device drivers +# +# CONFIG_MTD_SLRAM is not set +# CONFIG_MTD_PHRAM is not set +# CONFIG_MTD_MTDRAM is not set +# CONFIG_MTD_BLOCK2MTD is not set + +# +# Disk-On-Chip Device Drivers +# +# CONFIG_MTD_DOC2000 is not set +# CONFIG_MTD_DOC2001 is not set +# CONFIG_MTD_DOC2001PLUS is not set +# CONFIG_MTD_DOCG3 is not set +CONFIG_MTD_NAND_ECC=y +# CONFIG_MTD_NAND_ECC_SMC is not set +CONFIG_MTD_NAND=y +# CONFIG_MTD_NAND_VERIFY_WRITE is not set +# CONFIG_MTD_NAND_ECC_BCH is not set +# CONFIG_MTD_SM_COMMON is not set +# CONFIG_MTD_NAND_MUSEUM_IDS is not set +# CONFIG_MTD_NAND_GPIO is not set +CONFIG_MTD_NAND_IDS=y +# CONFIG_MTD_NAND_DISKONCHIP is not set +# CONFIG_MTD_NAND_NANDSIM is not set +# CONFIG_MTD_NAND_PLATFORM is not set +CONFIG_MTD_NAND_DAVINCI=y +# CONFIG_MTD_ONENAND is not set + +# +# LPDDR flash memory drivers +# +# CONFIG_MTD_LPDDR is not set +CONFIG_MTD_UBI=y +CONFIG_MTD_UBI_WL_THRESHOLD=4096 +CONFIG_MTD_UBI_BEB_RESERVE=1 +# CONFIG_MTD_UBI_GLUEBI is not set +# CONFIG_MTD_UBI_DEBUG is not set +# CONFIG_PARPORT is not set +CONFIG_BLK_DEV=y +# CONFIG_BLK_DEV_COW_COMMON is not set +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 +# CONFIG_BLK_DEV_CRYPTOLOOP is not set + +# +# DRBD disabled because PROC_FS, INET or CONNECTOR not selected +# +# CONFIG_BLK_DEV_NBD is not set +# CONFIG_BLK_DEV_RAM is not set +# CONFIG_CDROM_PKTCDVD is not set +# CONFIG_ATA_OVER_ETH is not set +# CONFIG_MG_DISK is not set +# CONFIG_BLK_DEV_RBD is not set +# CONFIG_SENSORS_LIS3LV02D is not set +CONFIG_MISC_DEVICES=y +# CONFIG_AD525X_DPOT is not set +# CONFIG_ATMEL_PWM is not set +# CONFIG_ICS932S401 is not set +# CONFIG_ENCLOSURE_SERVICES is not set +# CONFIG_APDS9802ALS is not set +# CONFIG_ISL29003 is not set +# CONFIG_ISL29020 is not set +# CONFIG_SENSORS_TSL2550 is not set +# CONFIG_SENSORS_BH1780 is not set +# CONFIG_SENSORS_BH1770 is not set +# CONFIG_SENSORS_APDS990X is not set +# CONFIG_HMC6352 is not set +# CONFIG_DS1682 is not set +# CONFIG_BMP085 is not set +# CONFIG_USB_SWITCH_FSA9480 is not set +CONFIG_FPGADL=m +CONFIG_FPGADL_PAR=m +CONFIG_DSPDL=m +CONFIG_DSPDL_DM644X=m +CONFIG_SYSMOBTS_FACTORY_RESET=m +# CONFIG_C2PORT is not set + +# +# EEPROM support +# +CONFIG_EEPROM_AT24=y +# CONFIG_EEPROM_LEGACY is not set +# CONFIG_EEPROM_MAX6875 is not set +# CONFIG_EEPROM_93CX6 is not set +# CONFIG_IWMC3200TOP is not set + +# +# Texas Instruments shared transport line discipline +# +# CONFIG_TI_ST is not set +# CONFIG_SENSORS_LIS3_I2C is not set + +# +# Altera FPGA firmware download module +# +# CONFIG_ALTERA_STAPL is not set +CONFIG_HAVE_IDE=y +# CONFIG_IDE is not set + +# +# SCSI device support +# +CONFIG_SCSI_MOD=y +# CONFIG_RAID_ATTRS is not set +# CONFIG_SCSI is not set +# CONFIG_SCSI_DMA is not set +# CONFIG_SCSI_NETLINK is not set +# CONFIG_ATA is not set +# CONFIG_MD is not set +CONFIG_NETDEVICES=y +CONFIG_NET_CORE=y +# CONFIG_BONDING is not set +# CONFIG_DUMMY is not set +# CONFIG_EQUALIZER is not set +# CONFIG_MII is not set +# CONFIG_MACVLAN is not set +CONFIG_NETCONSOLE=y +CONFIG_NETPOLL=y +CONFIG_NETPOLL_TRAP=y +CONFIG_NET_POLL_CONTROLLER=y +CONFIG_TUN=m +# CONFIG_VETH is not set + +# +# CAIF transport drivers +# +CONFIG_ETHERNET=y +CONFIG_NET_VENDOR_BROADCOM=y +# CONFIG_B44 is not set +CONFIG_NET_VENDOR_CHELSIO=y +# CONFIG_DM9000 is not set +# CONFIG_DNET is not set +CONFIG_NET_VENDOR_FARADAY=y +# CONFIG_FTMAC100 is not set +# CONFIG_FTGMAC100 is not set +CONFIG_NET_VENDOR_INTEL=y +CONFIG_NET_VENDOR_I825XX=y +CONFIG_NET_VENDOR_MARVELL=y +CONFIG_NET_VENDOR_MICREL=y +# CONFIG_KS8851_MLL is not set +CONFIG_NET_VENDOR_NATSEMI=y +CONFIG_NET_VENDOR_8390=y +# CONFIG_AX88796 is not set +# CONFIG_ETHOC is not set +CONFIG_NET_VENDOR_SEEQ=y +# CONFIG_SEEQ8005 is not set +CONFIG_NET_VENDOR_SMSC=y +# CONFIG_SMC91X is not set +# CONFIG_SMC911X is not set +# CONFIG_SMSC911X is not set +CONFIG_NET_VENDOR_STMICRO=y +# CONFIG_STMMAC_ETH is not set +CONFIG_NET_VENDOR_TI=y +CONFIG_TI_DAVINCI_EMAC=y +CONFIG_TI_DAVINCI_MDIO=y +CONFIG_TI_DAVINCI_CPDMA=y +CONFIG_PHYLIB=y + +# +# MII PHY device drivers +# +# CONFIG_MARVELL_PHY is not set +# CONFIG_DAVICOM_PHY is not set +# CONFIG_QSEMI_PHY is not set +# CONFIG_LXT_PHY is not set +# CONFIG_CICADA_PHY is not set +# CONFIG_VITESSE_PHY is not set +# CONFIG_SMSC_PHY is not set +# CONFIG_BROADCOM_PHY is not set +# CONFIG_ICPLUS_PHY is not set +CONFIG_REALTEK_PHY=y +# CONFIG_NATIONAL_PHY is not set +# CONFIG_STE10XP is not set +# CONFIG_LSI_ET1011C_PHY is not set +# CONFIG_MICREL_PHY is not set +# CONFIG_FIXED_PHY is not set +# CONFIG_MDIO_BITBANG is not set +# CONFIG_PPP is not set +# CONFIG_SLIP is not set +# CONFIG_WLAN is not set + +# +# Enable WiMAX (Networking options) to see the WiMAX drivers +# +# CONFIG_WAN is not set +CONFIG_ISDN=y +# CONFIG_ISDN_I4L is not set +# CONFIG_ISDN_CAPI is not set +# CONFIG_ISDN_DRV_GIGASET is not set +CONFIG_MISDN=m +CONFIG_MISDN_DSP=m +# CONFIG_MISDN_L1OIP is not set + +# +# mISDN hardware drivers +# +CONFIG_MISDN_L1LOOP=m +# CONFIG_PHONE is not set + +# +# Input device support +# +CONFIG_INPUT=y +# CONFIG_INPUT_FF_MEMLESS is not set +# CONFIG_INPUT_POLLDEV is not set +# CONFIG_INPUT_SPARSEKMAP is not set + +# +# Userland interfaces +# +# CONFIG_INPUT_MOUSEDEV is not set +# CONFIG_INPUT_JOYDEV is not set +CONFIG_INPUT_EVDEV=y +CONFIG_INPUT_EVBUG=y + +# +# Input Device Drivers +# +# CONFIG_INPUT_KEYBOARD is not set +# CONFIG_INPUT_MOUSE is not set +# CONFIG_INPUT_JOYSTICK is not set +# CONFIG_INPUT_TABLET is not set +# CONFIG_INPUT_TOUCHSCREEN is not set +# CONFIG_INPUT_MISC is not set + +# +# Hardware I/O ports +# +CONFIG_SERIO=y +CONFIG_SERIO_SERPORT=y +CONFIG_SERIO_LIBPS2=y +# CONFIG_SERIO_RAW is not set +# CONFIG_SERIO_ALTERA_PS2 is not set +# CONFIG_SERIO_PS2MULT is not set +# CONFIG_GAMEPORT is not set + +# +# Character devices +# +CONFIG_VT=y +CONFIG_CONSOLE_TRANSLATIONS=y +CONFIG_VT_CONSOLE=y +CONFIG_VT_CONSOLE_SLEEP=y +CONFIG_HW_CONSOLE=y +# CONFIG_VT_HW_CONSOLE_BINDING is not set +CONFIG_UNIX98_PTYS=y +# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set +# CONFIG_LEGACY_PTYS is not set +# CONFIG_SERIAL_NONSTANDARD is not set +# CONFIG_N_GSM is not set +# CONFIG_TRACE_SINK is not set +CONFIG_DEVKMEM=y + +# +# Serial drivers +# +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_NR_UARTS=5 +CONFIG_SERIAL_8250_RUNTIME_UARTS=5 +# CONFIG_SERIAL_8250_EXTENDED is not set + +# +# Non-8250 serial port support +# +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +# CONFIG_SERIAL_TIMBERDALE is not set +# CONFIG_SERIAL_ALTERA_JTAGUART is not set +# CONFIG_SERIAL_ALTERA_UART is not set +# CONFIG_SERIAL_XILINX_PS_UART is not set +# CONFIG_TTY_PRINTK is not set +# CONFIG_HVC_DCC is not set +# CONFIG_IPMI_HANDLER is not set +# CONFIG_HW_RANDOM is not set +# CONFIG_R3964 is not set +# CONFIG_RAW_DRIVER is not set +# CONFIG_TCG_TPM is not set +# CONFIG_RAMOOPS is not set +CONFIG_I2C=y +CONFIG_I2C_BOARDINFO=y +CONFIG_I2C_COMPAT=y +CONFIG_I2C_CHARDEV=y +# CONFIG_I2C_MUX is not set +CONFIG_I2C_HELPER_AUTO=y + +# +# I2C Hardware Bus support +# + +# +# I2C system bus drivers (mostly embedded / system-on-chip) +# +CONFIG_I2C_DAVINCI=y +# CONFIG_I2C_DESIGNWARE_PLATFORM is not set +# CONFIG_I2C_GPIO is not set +# CONFIG_I2C_OCORES is not set +# CONFIG_I2C_PCA_PLATFORM is not set +# CONFIG_I2C_PXA_PCI is not set +# CONFIG_I2C_SIMTEC is not set +# CONFIG_I2C_XILINX is not set + +# +# External I2C/SMBus adapter drivers +# +# CONFIG_I2C_PARPORT_LIGHT is not set +# CONFIG_I2C_TAOS_EVM is not set + +# +# Other I2C/SMBus bus drivers +# +# CONFIG_I2C_STUB is not set +# CONFIG_I2C_DEBUG_CORE is not set +# CONFIG_I2C_DEBUG_ALGO is not set +# CONFIG_I2C_DEBUG_BUS is not set +# CONFIG_SPI is not set + +# +# PPS support +# +# CONFIG_PPS is not set + +# +# PPS generators support +# + +# +# PTP clock support +# + +# +# Enable Device Drivers -> PPS to see the PTP clock options. +# +CONFIG_ARCH_REQUIRE_GPIOLIB=y +CONFIG_GPIOLIB=y +# CONFIG_DEBUG_GPIO is not set +CONFIG_GPIO_SYSFS=y + +# +# Memory mapped GPIO drivers: +# +# CONFIG_GPIO_GENERIC_PLATFORM is not set +# CONFIG_GPIO_IT8761E is not set + +# +# I2C GPIO expanders: +# +# CONFIG_GPIO_MAX7300 is not set +# CONFIG_GPIO_MAX732X is not set +# CONFIG_GPIO_PCF857X is not set +# CONFIG_GPIO_SX150X is not set +# CONFIG_GPIO_ADP5588 is not set + +# +# PCI GPIO expanders: +# + +# +# SPI GPIO expanders: +# +# CONFIG_GPIO_MCP23S08 is not set + +# +# AC97 GPIO expanders: +# + +# +# MODULbus GPIO expanders: +# +# CONFIG_W1 is not set +# CONFIG_POWER_SUPPLY is not set +CONFIG_HWMON=y +# CONFIG_HWMON_VID is not set +# CONFIG_HWMON_DEBUG_CHIP is not set + +# +# Native drivers +# +# CONFIG_SENSORS_AD7414 is not set +# CONFIG_SENSORS_AD7418 is not set +# CONFIG_SENSORS_ADM1021 is not set +# CONFIG_SENSORS_ADM1025 is not set +# CONFIG_SENSORS_ADM1026 is not set +# CONFIG_SENSORS_ADM1029 is not set +# CONFIG_SENSORS_ADM1031 is not set +# CONFIG_SENSORS_ADM9240 is not set +# CONFIG_SENSORS_ADT7411 is not set +# CONFIG_SENSORS_ADT7462 is not set +# CONFIG_SENSORS_ADT7470 is not set +# CONFIG_SENSORS_ADT7475 is not set +# CONFIG_SENSORS_ASC7621 is not set +# CONFIG_SENSORS_ATXP1 is not set +# CONFIG_SENSORS_DS620 is not set +# CONFIG_SENSORS_DS1621 is not set +# CONFIG_SENSORS_F71805F is not set +# CONFIG_SENSORS_F71882FG is not set +# CONFIG_SENSORS_F75375S is not set +# CONFIG_SENSORS_G760A is not set +# CONFIG_SENSORS_GL518SM is not set +# CONFIG_SENSORS_GL520SM is not set +# CONFIG_SENSORS_GPIO_FAN is not set +# CONFIG_SENSORS_IT87 is not set +# CONFIG_SENSORS_JC42 is not set +# CONFIG_SENSORS_LINEAGE is not set +# CONFIG_SENSORS_LM63 is not set +# CONFIG_SENSORS_LM73 is not set +CONFIG_SENSORS_LM75=y +# CONFIG_SENSORS_LM77 is not set +# CONFIG_SENSORS_LM78 is not set +# CONFIG_SENSORS_LM80 is not set +# CONFIG_SENSORS_LM83 is not set +# CONFIG_SENSORS_LM85 is not set +# CONFIG_SENSORS_LM87 is not set +# CONFIG_SENSORS_LM90 is not set +# CONFIG_SENSORS_LM92 is not set +# CONFIG_SENSORS_LM93 is not set +CONFIG_SENSORS_LTC1695=y +# CONFIG_SENSORS_LTC4151 is not set +# CONFIG_SENSORS_LTC4215 is not set +# CONFIG_SENSORS_LTC4245 is not set +# CONFIG_SENSORS_LTC4261 is not set +# CONFIG_SENSORS_LM95241 is not set +# CONFIG_SENSORS_LM95245 is not set +# CONFIG_SENSORS_MAX16065 is not set +# CONFIG_SENSORS_MAX1619 is not set +# CONFIG_SENSORS_MAX1668 is not set +# CONFIG_SENSORS_MAX6639 is not set +# CONFIG_SENSORS_MAX6642 is not set +# CONFIG_SENSORS_MAX6650 is not set +# CONFIG_SENSORS_NTC_THERMISTOR is not set +# CONFIG_SENSORS_PC87360 is not set +# CONFIG_SENSORS_PC87427 is not set +# CONFIG_SENSORS_PCF8591 is not set +# CONFIG_PMBUS is not set +# CONFIG_SENSORS_SHT15 is not set +# CONFIG_SENSORS_SHT21 is not set +# CONFIG_SENSORS_SMM665 is not set +# CONFIG_SENSORS_DME1737 is not set +# CONFIG_SENSORS_EMC1403 is not set +# CONFIG_SENSORS_EMC2103 is not set +# CONFIG_SENSORS_EMC6W201 is not set +# CONFIG_SENSORS_SMSC47M1 is not set +# CONFIG_SENSORS_SMSC47M192 is not set +# CONFIG_SENSORS_SMSC47B397 is not set +# CONFIG_SENSORS_SCH56XX_COMMON is not set +# CONFIG_SENSORS_SCH5627 is not set +# CONFIG_SENSORS_SCH5636 is not set +# CONFIG_SENSORS_ADS1015 is not set +# CONFIG_SENSORS_ADS7828 is not set +# CONFIG_SENSORS_AMC6821 is not set +# CONFIG_SENSORS_THMC50 is not set +# CONFIG_SENSORS_TMP102 is not set +CONFIG_SENSORS_TMP401=y +# CONFIG_SENSORS_TMP421 is not set +# CONFIG_SENSORS_VT1211 is not set +# CONFIG_SENSORS_W83781D is not set +# CONFIG_SENSORS_W83791D is not set +# CONFIG_SENSORS_W83792D is not set +# CONFIG_SENSORS_W83793 is not set +# CONFIG_SENSORS_W83795 is not set +# CONFIG_SENSORS_W83L785TS is not set +# CONFIG_SENSORS_W83L786NG is not set +# CONFIG_SENSORS_W83627HF is not set +# CONFIG_SENSORS_W83627EHF is not set +CONFIG_THERMAL=y +CONFIG_THERMAL_HWMON=y +CONFIG_WATCHDOG=y +# CONFIG_WATCHDOG_CORE is not set +# CONFIG_WATCHDOG_NOWAYOUT is not set + +# +# Watchdog Device Drivers +# +# CONFIG_SOFT_WATCHDOG is not set +# CONFIG_DW_WATCHDOG is not set +CONFIG_DAVINCI_WATCHDOG=m +# CONFIG_MAX63XX_WATCHDOG is not set +CONFIG_SSB_POSSIBLE=y + +# +# Sonics Silicon Backplane +# +# CONFIG_SSB is not set +CONFIG_BCMA_POSSIBLE=y + +# +# Broadcom specific AMBA +# +# CONFIG_BCMA is not set + +# +# Multifunction device drivers +# +# CONFIG_MFD_CORE is not set +# CONFIG_MFD_88PM860X is not set +# CONFIG_MFD_SM501 is not set +# CONFIG_MFD_ASIC3 is not set +# CONFIG_HTC_EGPIO is not set +# CONFIG_HTC_PASIC3 is not set +# CONFIG_HTC_I2CPLD is not set +# CONFIG_TPS6105X is not set +# CONFIG_TPS65010 is not set +# CONFIG_TPS6507X is not set +# CONFIG_MFD_TPS6586X is not set +# CONFIG_MFD_TPS65910 is not set +# CONFIG_MFD_TPS65912_I2C is not set +# CONFIG_TWL4030_CORE is not set +# CONFIG_MFD_STMPE is not set +# CONFIG_MFD_TC3589X is not set +# CONFIG_MFD_TMIO is not set +# CONFIG_MFD_T7L66XB is not set +# CONFIG_MFD_TC6387XB is not set +# CONFIG_MFD_TC6393XB is not set +# CONFIG_PMIC_DA903X is not set +# CONFIG_PMIC_ADP5520 is not set +# CONFIG_MFD_MAX8925 is not set +# CONFIG_MFD_MAX8997 is not set +# CONFIG_MFD_MAX8998 is not set +# CONFIG_MFD_WM8400 is not set +# CONFIG_MFD_WM831X_I2C is not set +# CONFIG_MFD_WM8350_I2C is not set +# CONFIG_MFD_WM8994 is not set +# CONFIG_MFD_PCF50633 is not set +# CONFIG_ABX500_CORE is not set +# CONFIG_MFD_WL1273_CORE is not set +# CONFIG_MFD_AAT2870_CORE is not set +# CONFIG_REGULATOR is not set +# CONFIG_MEDIA_SUPPORT is not set + +# +# Graphics support +# +# CONFIG_DRM is not set +# CONFIG_VGASTATE is not set +# CONFIG_VIDEO_OUTPUT_CONTROL is not set +# CONFIG_FB is not set +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set + +# +# Display device support +# +# CONFIG_DISPLAY_SUPPORT is not set + +# +# Console display driver support +# +CONFIG_DUMMY_CONSOLE=y +# CONFIG_SOUND is not set +# CONFIG_HID_SUPPORT is not set +# CONFIG_USB_SUPPORT is not set +CONFIG_MMC=y +# CONFIG_MMC_DEBUG is not set +# CONFIG_MMC_UNSAFE_RESUME is not set +# CONFIG_MMC_CLKGATE is not set + +# +# MMC/SD/SDIO Card Drivers +# +CONFIG_MMC_BLOCK=y +CONFIG_MMC_BLOCK_MINORS=8 +CONFIG_MMC_BLOCK_BOUNCE=y +# CONFIG_SDIO_UART is not set +# CONFIG_MMC_TEST is not set + +# +# MMC/SD/SDIO Host Controller Drivers +# +# CONFIG_MMC_SDHCI is not set +# CONFIG_MMC_SDHCI_PXAV3 is not set +# CONFIG_MMC_SDHCI_PXAV2 is not set +CONFIG_MMC_DAVINCI=y +# CONFIG_MMC_DW is not set +# CONFIG_MEMSTICK is not set +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y + +# +# LED drivers +# +# CONFIG_LEDS_LM3530 is not set +# CONFIG_LEDS_PCA9532 is not set +CONFIG_LEDS_GPIO=m +# CONFIG_LEDS_LP3944 is not set +# CONFIG_LEDS_LP5521 is not set +# CONFIG_LEDS_LP5523 is not set +# CONFIG_LEDS_PCA955X is not set +# CONFIG_LEDS_BD2802 is not set +# CONFIG_LEDS_LT3593 is not set +# CONFIG_LEDS_RENESAS_TPU is not set +CONFIG_LEDS_TRIGGERS=y + +# +# LED Triggers +# +CONFIG_LEDS_TRIGGER_TIMER=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set +CONFIG_LEDS_TRIGGER_GPIO=y +CONFIG_LEDS_TRIGGER_DEFAULT_ON=y + +# +# iptables trigger is under Netfilter config (LED target) +# +# CONFIG_ACCESSIBILITY is not set +CONFIG_RTC_LIB=y +# CONFIG_RTC_CLASS is not set +# CONFIG_DMADEVICES is not set +# CONFIG_AUXDISPLAY is not set +# CONFIG_UIO is not set + +# +# Virtio drivers +# +# CONFIG_VIRTIO_BALLOON is not set +# CONFIG_VIRTIO_MMIO is not set +CONFIG_STAGING=y +# CONFIG_ECHO is not set +# CONFIG_POHMELFS is not set +# CONFIG_IIO is not set +# CONFIG_XVMALLOC is not set +# CONFIG_ZRAM is not set +# CONFIG_FT1000 is not set + +# +# Speakup console speech +# +# CONFIG_SPEAKUP is not set +# CONFIG_TOUCHSCREEN_CLEARPAD_TM1217 is not set +# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set +# CONFIG_STAGING_MEDIA is not set +CONFIG_SYSMOBTS_RTFIFO=m +CONFIG_SYSMOBTS_MSGQUEUE=m +CONFIG_CLKDEV_LOOKUP=y + +# +# Hardware Spinlock drivers +# +CONFIG_IOMMU_SUPPORT=y +# CONFIG_VIRT_DRIVERS is not set +# CONFIG_PM_DEVFREQ is not set + +# +# File systems +# +# CONFIG_EXT2_FS is not set +CONFIG_EXT3_FS=m +CONFIG_EXT3_DEFAULTS_TO_ORDERED=y +CONFIG_EXT3_FS_XATTR=y +# CONFIG_EXT3_FS_POSIX_ACL is not set +# CONFIG_EXT3_FS_SECURITY is not set +CONFIG_EXT4_FS=m +CONFIG_EXT4_USE_FOR_EXT23=y +CONFIG_EXT4_FS_XATTR=y +# CONFIG_EXT4_FS_POSIX_ACL is not set +# CONFIG_EXT4_FS_SECURITY is not set +# CONFIG_EXT4_DEBUG is not set +CONFIG_JBD=m +# CONFIG_JBD_DEBUG is not set +CONFIG_JBD2=m +# CONFIG_JBD2_DEBUG is not set +CONFIG_FS_MBCACHE=m +# CONFIG_REISERFS_FS is not set +# CONFIG_JFS_FS is not set +# CONFIG_XFS_FS is not set +# CONFIG_GFS2_FS is not set +# CONFIG_BTRFS_FS is not set +# CONFIG_NILFS2_FS is not set +# CONFIG_FS_POSIX_ACL is not set +CONFIG_EXPORTFS=y +CONFIG_FILE_LOCKING=y +CONFIG_FSNOTIFY=y +CONFIG_DNOTIFY=y +CONFIG_INOTIFY_USER=y +# CONFIG_FANOTIFY is not set +# CONFIG_QUOTA is not set +# CONFIG_QUOTACTL is not set +CONFIG_AUTOFS4_FS=y +# CONFIG_FUSE_FS is not set + +# +# Caches +# +# CONFIG_FSCACHE is not set + +# +# CD-ROM/DVD Filesystems +# +# CONFIG_ISO9660_FS is not set +# CONFIG_UDF_FS is not set + +# +# DOS/FAT/NT Filesystems +# +CONFIG_FAT_FS=m +CONFIG_MSDOS_FS=m +CONFIG_VFAT_FS=m +CONFIG_FAT_DEFAULT_CODEPAGE=437 +CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" +# CONFIG_NTFS_FS is not set + +# +# Pseudo filesystems +# +CONFIG_PROC_FS=y +CONFIG_PROC_SYSCTL=y +CONFIG_PROC_PAGE_MONITOR=y +CONFIG_SYSFS=y +CONFIG_TMPFS=y +# CONFIG_TMPFS_POSIX_ACL is not set +# CONFIG_TMPFS_XATTR is not set +# CONFIG_HUGETLB_PAGE is not set +# CONFIG_CONFIGFS_FS is not set +CONFIG_MISC_FILESYSTEMS=y +# CONFIG_ADFS_FS is not set +# CONFIG_AFFS_FS is not set +# CONFIG_HFS_FS is not set +# CONFIG_HFSPLUS_FS is not set +# CONFIG_BEFS_FS is not set +# CONFIG_BFS_FS is not set +# CONFIG_EFS_FS is not set +CONFIG_JFFS2_FS=y +CONFIG_JFFS2_FS_DEBUG=0 +CONFIG_JFFS2_FS_WRITEBUFFER=y +# CONFIG_JFFS2_FS_WBUF_VERIFY is not set +# CONFIG_JFFS2_SUMMARY is not set +# CONFIG_JFFS2_FS_XATTR is not set +# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set +CONFIG_JFFS2_ZLIB=y +# CONFIG_JFFS2_LZO is not set +CONFIG_JFFS2_RTIME=y +# CONFIG_JFFS2_RUBIN is not set +CONFIG_UBIFS_FS=y +# CONFIG_UBIFS_FS_XATTR is not set +# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set +CONFIG_UBIFS_FS_LZO=y +CONFIG_UBIFS_FS_ZLIB=y +# CONFIG_UBIFS_FS_DEBUG is not set +# CONFIG_LOGFS is not set +CONFIG_CRAMFS=y +# CONFIG_SQUASHFS is not set +# CONFIG_VXFS_FS is not set +# CONFIG_MINIX_FS is not set +# CONFIG_OMFS_FS is not set +# CONFIG_HPFS_FS is not set +# CONFIG_QNX4FS_FS is not set +# CONFIG_ROMFS_FS is not set +# CONFIG_PSTORE is not set +# CONFIG_SYSV_FS is not set +# CONFIG_UFS_FS is not set +CONFIG_NETWORK_FILESYSTEMS=y +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +# CONFIG_NFS_V3_ACL is not set +# CONFIG_NFS_V4 is not set +CONFIG_ROOT_NFS=y +CONFIG_NFSD=y +CONFIG_NFSD_V3=y +# CONFIG_NFSD_V3_ACL is not set +# CONFIG_NFSD_V4 is not set +CONFIG_LOCKD=y +CONFIG_LOCKD_V4=y +CONFIG_NFS_COMMON=y +CONFIG_SUNRPC=y +# CONFIG_CEPH_FS is not set +CONFIG_CIFS=y +# CONFIG_CIFS_STATS is not set +# CONFIG_CIFS_WEAK_PW_HASH is not set +# CONFIG_CIFS_XATTR is not set +# CONFIG_CIFS_DEBUG2 is not set +# CONFIG_NCP_FS is not set +# CONFIG_CODA_FS is not set +# CONFIG_AFS_FS is not set + +# +# Partition Types +# +CONFIG_PARTITION_ADVANCED=y +# CONFIG_ACORN_PARTITION is not set +# CONFIG_OSF_PARTITION is not set +# CONFIG_AMIGA_PARTITION is not set +# CONFIG_ATARI_PARTITION is not set +# CONFIG_MAC_PARTITION is not set +CONFIG_MSDOS_PARTITION=y +# CONFIG_BSD_DISKLABEL is not set +# CONFIG_MINIX_SUBPARTITION is not set +# CONFIG_SOLARIS_X86_PARTITION is not set +# CONFIG_UNIXWARE_DISKLABEL is not set +# CONFIG_LDM_PARTITION is not set +# CONFIG_SGI_PARTITION is not set +# CONFIG_ULTRIX_PARTITION is not set +# CONFIG_SUN_PARTITION is not set +# CONFIG_KARMA_PARTITION is not set +# CONFIG_EFI_PARTITION is not set +# CONFIG_SYSV68_PARTITION is not set +CONFIG_NLS=y +CONFIG_NLS_DEFAULT="iso8859-1" +CONFIG_NLS_CODEPAGE_437=y +# CONFIG_NLS_CODEPAGE_737 is not set +# CONFIG_NLS_CODEPAGE_775 is not set +# CONFIG_NLS_CODEPAGE_850 is not set +# CONFIG_NLS_CODEPAGE_852 is not set +# CONFIG_NLS_CODEPAGE_855 is not set +# CONFIG_NLS_CODEPAGE_857 is not set +# CONFIG_NLS_CODEPAGE_860 is not set +# CONFIG_NLS_CODEPAGE_861 is not set +# CONFIG_NLS_CODEPAGE_862 is not set +# CONFIG_NLS_CODEPAGE_863 is not set +# CONFIG_NLS_CODEPAGE_864 is not set +# CONFIG_NLS_CODEPAGE_865 is not set +# CONFIG_NLS_CODEPAGE_866 is not set +# CONFIG_NLS_CODEPAGE_869 is not set +# CONFIG_NLS_CODEPAGE_936 is not set +# CONFIG_NLS_CODEPAGE_950 is not set +# CONFIG_NLS_CODEPAGE_932 is not set +# CONFIG_NLS_CODEPAGE_949 is not set +# CONFIG_NLS_CODEPAGE_874 is not set +# CONFIG_NLS_ISO8859_8 is not set +# CONFIG_NLS_CODEPAGE_1250 is not set +# CONFIG_NLS_CODEPAGE_1251 is not set +CONFIG_NLS_ASCII=m +CONFIG_NLS_ISO8859_1=y +# CONFIG_NLS_ISO8859_2 is not set +# CONFIG_NLS_ISO8859_3 is not set +# CONFIG_NLS_ISO8859_4 is not set +# CONFIG_NLS_ISO8859_5 is not set +# CONFIG_NLS_ISO8859_6 is not set +# CONFIG_NLS_ISO8859_7 is not set +# CONFIG_NLS_ISO8859_9 is not set +# CONFIG_NLS_ISO8859_13 is not set +# CONFIG_NLS_ISO8859_14 is not set +# CONFIG_NLS_ISO8859_15 is not set +# CONFIG_NLS_KOI8_R is not set +# CONFIG_NLS_KOI8_U is not set +CONFIG_NLS_UTF8=m + +# +# Kernel hacking +# +# CONFIG_PRINTK_TIME is not set +CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 +CONFIG_ENABLE_WARN_DEPRECATED=y +CONFIG_ENABLE_MUST_CHECK=y +CONFIG_FRAME_WARN=1024 +CONFIG_MAGIC_SYSRQ=y +# CONFIG_STRIP_ASM_SYMS is not set +# CONFIG_UNUSED_SYMBOLS is not set +CONFIG_DEBUG_FS=y +# CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set +CONFIG_DEBUG_KERNEL=y +# CONFIG_DEBUG_SHIRQ is not set +# CONFIG_LOCKUP_DETECTOR is not set +# CONFIG_HARDLOCKUP_DETECTOR is not set +CONFIG_DETECT_HUNG_TASK=y +CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 +# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set +CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 +CONFIG_SCHED_DEBUG=y +CONFIG_SCHEDSTATS=y +CONFIG_TIMER_STATS=y +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_SLUB_DEBUG_ON is not set +# CONFIG_SLUB_STATS is not set +# CONFIG_DEBUG_KMEMLEAK is not set +CONFIG_DEBUG_PREEMPT=y +CONFIG_DEBUG_RT_MUTEXES=y +CONFIG_DEBUG_PI_LIST=y +# CONFIG_RT_MUTEX_TESTER is not set +# CONFIG_DEBUG_SPINLOCK is not set +CONFIG_DEBUG_MUTEXES=y +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_SPARSE_RCU_POINTER is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +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_VM is not set +# CONFIG_DEBUG_WRITECOUNT is not set +# CONFIG_DEBUG_MEMORY_INIT is not set +# CONFIG_DEBUG_LIST is not set +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set +CONFIG_FRAME_POINTER=y +# CONFIG_BOOT_PRINTK_DELAY is not set +# CONFIG_RCU_TORTURE_TEST is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +# CONFIG_LKDTM is not set +# CONFIG_FAULT_INJECTION is not set +CONFIG_LATENCYTOP=y +# CONFIG_SYSCTL_SYSCALL_CHECK is not set +# CONFIG_DEBUG_PAGEALLOC is not set +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_RING_BUFFER=y +CONFIG_RING_BUFFER_ALLOW_SWAP=y +CONFIG_TRACING_SUPPORT=y +CONFIG_FTRACE=y +# CONFIG_FUNCTION_TRACER is not set +# CONFIG_IRQSOFF_TRACER is not set +# CONFIG_PREEMPT_TRACER is not set +# CONFIG_SCHED_TRACER is not set +# CONFIG_ENABLE_DEFAULT_TRACERS is not set +CONFIG_BRANCH_PROFILE_NONE=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set +# CONFIG_PROFILE_ALL_BRANCHES is not set +# CONFIG_STACK_TRACER is not set +# CONFIG_BLK_DEV_IO_TRACE is not set +# CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_DYNAMIC_DEBUG is not set +# CONFIG_DMA_API_DEBUG is not set +# CONFIG_ATOMIC64_SELFTEST is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +# CONFIG_KGDB is not set +# CONFIG_TEST_KSTRTOX is not set +# CONFIG_STRICT_DEVMEM is not set +# CONFIG_ARM_UNWIND is not set +CONFIG_DEBUG_USER=y +# CONFIG_DEBUG_LL is not set + +# +# Security options +# +# CONFIG_KEYS is not set +# CONFIG_SECURITY_DMESG_RESTRICT is not set +# CONFIG_SECURITY is not set +# CONFIG_SECURITYFS is not set +CONFIG_DEFAULT_SECURITY_DAC=y +CONFIG_DEFAULT_SECURITY="" +CONFIG_CRYPTO=y + +# +# Crypto core or helper +# +CONFIG_CRYPTO_ALGAPI=y +CONFIG_CRYPTO_ALGAPI2=y +CONFIG_CRYPTO_AEAD=y +CONFIG_CRYPTO_AEAD2=y +CONFIG_CRYPTO_BLKCIPHER=y +CONFIG_CRYPTO_BLKCIPHER2=y +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_HASH2=y +CONFIG_CRYPTO_RNG2=y +CONFIG_CRYPTO_PCOMP2=y +CONFIG_CRYPTO_MANAGER=y +CONFIG_CRYPTO_MANAGER2=y +# CONFIG_CRYPTO_USER is not set +CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y +# CONFIG_CRYPTO_GF128MUL is not set +CONFIG_CRYPTO_NULL=y +CONFIG_CRYPTO_WORKQUEUE=y +# CONFIG_CRYPTO_CRYPTD is not set +CONFIG_CRYPTO_AUTHENC=y +# CONFIG_CRYPTO_TEST is not set + +# +# Authenticated Encryption with Associated Data +# +# CONFIG_CRYPTO_CCM is not set +# CONFIG_CRYPTO_GCM is not set +# CONFIG_CRYPTO_SEQIV is not set + +# +# Block modes +# +CONFIG_CRYPTO_CBC=y +# CONFIG_CRYPTO_CTR is not set +# CONFIG_CRYPTO_CTS is not set +CONFIG_CRYPTO_ECB=y +# CONFIG_CRYPTO_LRW is not set +# CONFIG_CRYPTO_PCBC is not set +# CONFIG_CRYPTO_XTS is not set + +# +# Hash modes +# +CONFIG_CRYPTO_HMAC=y +# CONFIG_CRYPTO_XCBC is not set +# CONFIG_CRYPTO_VMAC is not set + +# +# Digest +# +CONFIG_CRYPTO_CRC32C=y +# CONFIG_CRYPTO_GHASH is not set +CONFIG_CRYPTO_MD4=y +CONFIG_CRYPTO_MD5=y +# CONFIG_CRYPTO_MICHAEL_MIC is not set +# CONFIG_CRYPTO_RMD128 is not set +CONFIG_CRYPTO_RMD160=m +CONFIG_CRYPTO_RMD256=m +# CONFIG_CRYPTO_RMD320 is not set +CONFIG_CRYPTO_SHA1=y +CONFIG_CRYPTO_SHA256=m +# CONFIG_CRYPTO_SHA512 is not set +# CONFIG_CRYPTO_TGR192 is not set +# CONFIG_CRYPTO_WP512 is not set + +# +# Ciphers +# +CONFIG_CRYPTO_AES=y +# CONFIG_CRYPTO_ANUBIS is not set +CONFIG_CRYPTO_ARC4=y +# CONFIG_CRYPTO_BLOWFISH is not set +# CONFIG_CRYPTO_CAMELLIA is not set +# CONFIG_CRYPTO_CAST5 is not set +# CONFIG_CRYPTO_CAST6 is not set +CONFIG_CRYPTO_DES=y +# CONFIG_CRYPTO_FCRYPT is not set +# CONFIG_CRYPTO_KHAZAD is not set +# CONFIG_CRYPTO_SALSA20 is not set +# CONFIG_CRYPTO_SEED is not set +# CONFIG_CRYPTO_SERPENT is not set +# CONFIG_CRYPTO_TEA is not set +# CONFIG_CRYPTO_TWOFISH is not set + +# +# Compression +# +CONFIG_CRYPTO_DEFLATE=y +# CONFIG_CRYPTO_ZLIB is not set +CONFIG_CRYPTO_LZO=y + +# +# Random Number Generation +# +# CONFIG_CRYPTO_ANSI_CPRNG is not set +# CONFIG_CRYPTO_USER_API_HASH is not set +# CONFIG_CRYPTO_USER_API_SKCIPHER is not set +# CONFIG_CRYPTO_HW is not set +# CONFIG_BINARY_PRINTF is not set + +# +# Library routines +# +CONFIG_BITREVERSE=y +CONFIG_CRC_CCITT=y +CONFIG_CRC16=y +CONFIG_CRC_T10DIF=y +# CONFIG_CRC_ITU_T is not set +CONFIG_CRC32=y +# CONFIG_CRC7 is not set +CONFIG_LIBCRC32C=y +# CONFIG_CRC8 is not set +CONFIG_ZLIB_INFLATE=y +CONFIG_ZLIB_DEFLATE=y +CONFIG_LZO_COMPRESS=y +CONFIG_LZO_DECOMPRESS=y +# CONFIG_XZ_DEC is not set +# CONFIG_XZ_DEC_BCJ is not set +CONFIG_GENERIC_ALLOCATOR=y +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT=y +CONFIG_HAS_DMA=y +CONFIG_NLATTR=y +CONFIG_GENERIC_ATOMIC64=y +# CONFIG_AVERAGE is not set +# CONFIG_CORDIC is not set diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index d8afea0d98..218086afff 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -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 diff --git a/recipes-bsp/watchdog/watchdog/sysmobts-2050/watchdog.conf b/recipes-bsp/watchdog/watchdog/sysmobts-2050/watchdog.conf new file mode 100644 index 0000000000..2209e90a5e --- /dev/null +++ b/recipes-bsp/watchdog/watchdog/sysmobts-2050/watchdog.conf @@ -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 diff --git a/recipes-bsp/watchdog/watchdog_sysmocom.inc b/recipes-bsp/watchdog/watchdog_sysmocom.inc index 7d09be3bce..fbd843b185 100644 --- a/recipes-bsp/watchdog/watchdog_sysmocom.inc +++ b/recipes-bsp/watchdog/watchdog_sysmocom.inc @@ -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() { diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb index c011570a98..71cbb674f6 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb @@ -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 diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index 601e2fc087..fbc385ea33 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -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}" From b16ceec77f77a876e6cfc9b69c52cbffd5784796 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 4 Oct 2013 21:40:30 +0200 Subject: [PATCH 180/908] update to recent osmo-bts master to include sysmobts-util sysmobts-util is used to set/get the model_number / trx_nr on the sysmoBTS 2050. --- recipes-apps/tasks/task-sysmocom-bts.bb | 4 ++-- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index b5abb1af08..ea50ee3f97 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -4,10 +4,10 @@ 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 = "r19" CALIB = "" -CALIB_sysmobts-v2 = "sysmobts-calib" +CALIB_sysmobts-v2 = "sysmobts-calib sysmobts-util" # TODO: re-add femtobts-calib after it went through the API migration RDEPENDS_${PN} = "\ diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 0e121ad349..d4a458fa13 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -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 = "b469e7314860794aebd904ebc4a63f877c01c3fc" +SRCREV_openbsc = "6a399efb720dc05b9ac4ae2010199301cb0e4ef1" 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 " From a2a2d67e1a63a6ffde87e43cb532b54657b0da11 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 4 Oct 2013 21:41:04 +0200 Subject: [PATCH 181/908] femtobts-api: Update to v3.6. Compatible with all v3.x header files. --- recipes-sysmobts/femtobts-api/femtobts-api_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb index d3d6313955..4c0e7ad8d0 100644 --- a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -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 From 3c99769de2b239b34e945fac15dfbb87f166fabc Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 4 Oct 2013 21:50:55 +0200 Subject: [PATCH 182/908] add bb recipes for sysmobts firmware 3.4 and 3.6 --- .../firmware/sysmobts-firmware_3.4.bb | 15 +++++++++++++++ .../firmware/sysmobts-firmware_3.6.bb | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 recipes-sysmobts/firmware/sysmobts-firmware_3.4.bb create mode 100644 recipes-sysmobts/firmware/sysmobts-firmware_3.6.bb diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.4.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.4.bb new file mode 100644 index 0000000000..71cbb674f6 --- /dev/null +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.4.bb @@ -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*" diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.6.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.6.bb new file mode 100644 index 0000000000..71cbb674f6 --- /dev/null +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.6.bb @@ -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*" From 5cf873f4997142238e3a47a532be9410b9a3fee9 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 4 Oct 2013 22:22:53 +0200 Subject: [PATCH 183/908] Add binary-only package for sbts2050-util sbts2050-util is a small binary-only userspace program used to interface with the sysmoBTS 2050 board management controller, i.e. to enable/disable PA power, read power consumption/temperature and the like. This tool is going to disappear once the respective features have been included in the (open source) sysmobts-util / sysmobts-mgr. Please be patient meanwhile. --- recipes-sysmobts/sbts2050-util/sbts2050-util.inc | 15 +++++++++++++++ .../sbts2050-util/sbts2050-util_2.3.bb | 12 ++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 recipes-sysmobts/sbts2050-util/sbts2050-util.inc create mode 100644 recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb diff --git a/recipes-sysmobts/sbts2050-util/sbts2050-util.inc b/recipes-sysmobts/sbts2050-util/sbts2050-util.inc new file mode 100644 index 0000000000..de1229f2da --- /dev/null +++ b/recipes-sysmobts/sbts2050-util/sbts2050-util.inc @@ -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}" diff --git a/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb b/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb new file mode 100644 index 0000000000..5be840df43 --- /dev/null +++ b/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb @@ -0,0 +1,12 @@ +FIRMWARE-VERSION = "${PV}" +PR = "r1.${INC_PR}" + +require ${PN}.inc + +do_install() { + install -d ${D}/usr/bin + + install -m 0666 ${S}/sbts2050-util ${D}/usr/bin/sbts2050-util +} + +FILES_${PN} = "/usr/bin/sbts2050-util" From e003221b02f869e3fb89e60b13c941dfbc9ff286 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 4 Oct 2013 23:38:25 +0200 Subject: [PATCH 184/908] sbts2050-util: Mark file as executable file --- recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb b/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb index 5be840df43..d5d7d255e0 100644 --- a/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb +++ b/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb @@ -1,12 +1,12 @@ FIRMWARE-VERSION = "${PV}" -PR = "r1.${INC_PR}" +PR = "r2.${INC_PR}" require ${PN}.inc do_install() { install -d ${D}/usr/bin - install -m 0666 ${S}/sbts2050-util ${D}/usr/bin/sbts2050-util + install -m 0755 ${S}/sbts2050-util ${D}/usr/bin/sbts2050-util } FILES_${PN} = "/usr/bin/sbts2050-util" From e9ead4c0f3496eeb9b2fcac1e99ffa5b570fa2a3 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 4 Oct 2013 23:39:44 +0200 Subject: [PATCH 185/908] task-sysmocom-bts: Include sbts2050-util on sysmobts-2050 --- recipes-apps/tasks/task-sysmocom-bts.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index ea50ee3f97..88c85e584b 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -4,11 +4,14 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY_${PN} = "1" -PR = "r19" +PR = "r20" 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} = "\ osmo-bts \ @@ -16,5 +19,6 @@ RDEPENDS_${PN} = "\ osmo-pcu \ lmsensors-scripts \ ${CALIB} \ + ${UTIL} \ " PACKAGE_ARCH = "${MACHINE_ARCH}" From 83edf1dce4ab2a5ae143d0a687c9512d2d1767ff Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 6 Oct 2013 17:03:45 +0200 Subject: [PATCH 186/908] osmo-bts: Build against the new libosmo-abis library --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index d4a458fa13..fbb6203e40 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -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 = "b469e7314860794aebd904ebc4a63f877c01c3fc" -SRCREV_openbsc = "6a399efb720dc05b9ac4ae2010199301cb0e4ef1" +SRCREV_osmobts = "6d76c1c701dcfc9e0984750cec7ff04cdaa3c154" +SRCREV_openbsc = "caa98d51b64e16bbe6d4933d9052b617432e5e22" PV = "0.3.0+git${SRCPV}" PR = "r1.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From a349ce5879c2052dfb9592b231be41e0360e7297 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 9 Oct 2013 23:56:36 +0200 Subject: [PATCH 187/908] update sysmobts/osmo-bts to b2a8a642d65779918f64437b5cbbde8e206222f2 this will add support for transmitting at higher power (model 2050) as well as restricting the unit to use within those bands indicated in the EEPROM. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index fbb6203e40..c12a727d0d 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ 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 = "6d76c1c701dcfc9e0984750cec7ff04cdaa3c154" +SRCREV_osmobts = "b2a8a642d65779918f64437b5cbbde8e206222f2" SRCREV_openbsc = "caa98d51b64e16bbe6d4933d9052b617432e5e22" PV = "0.3.0+git${SRCPV}" PR = "r1.${META_TELEPHONY_OSMO_INC}" From 46d5e0b697b23c3e2b1268870e6ee478f163bb85 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 9 Oct 2013 23:58:18 +0200 Subject: [PATCH 188/908] gpsd: Add patch to enable + configure PPS in TSIP (trimble) driver In the sysmoBTS 2050, we want to configure the 1PPS output of the trimble to be active only if it has at least 1 satellite in view, and want to make the receiver output its time information in UTC, rather than GPS time. --- .../gpsd/gpsd-3.9/gpsd-tsip-pps.patch | 27 +++++++++++++++++++ recipes-extra/gpsd/gpsd_3.9.bb | 3 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 recipes-extra/gpsd/gpsd-3.9/gpsd-tsip-pps.patch diff --git a/recipes-extra/gpsd/gpsd-3.9/gpsd-tsip-pps.patch b/recipes-extra/gpsd/gpsd-3.9/gpsd-tsip-pps.patch new file mode 100644 index 0000000000..3f3a1ef0ff --- /dev/null +++ b/recipes-extra/gpsd/gpsd-3.9/gpsd-tsip-pps.patch @@ -0,0 +1,27 @@ +diff --git a/driver_tsip.c b/driver_tsip.c +index 3c99138..76cbc82 100644 +--- a/driver_tsip.c ++++ b/driver_tsip.c +@@ -1016,6 +1016,22 @@ static void tsip_event_hook(struct gps_device_t *session, event_t event) + /* Request Navigation Configuration */ + putbyte(buf, 0, 0x03); + (void)tsip_write(session, 0xbb, buf, 1); ++ gpsd_report(LOG_PROG, "Configuring + Enabling 1PPS\n"); ++ /* enable 1pps */ ++ putbyte(buf, 0, 0x4a); ++ putbyte(buf, 1, 0x01); ++ (void)tsip_write(session, 0x8e, buf, 2); ++ ++ /* request PPS only if at least one sat is visible */ ++ putbyte(buf, 0, 0x4e); ++ putbyte(buf, 1, 0x03); ++ (void)tsip_write(session, 0x8e, buf, 2); ++ ++ /* request PPS and TSIP to use UTC time, not GPS */ ++ putbyte(buf, 0, 0xa2); ++ putbyte(buf, 1, 0x03); ++ (void)tsip_write(session, 0x8e, buf, 2); ++ + break; + } + } diff --git a/recipes-extra/gpsd/gpsd_3.9.bb b/recipes-extra/gpsd/gpsd_3.9.bb index d320f97ec7..6bd5bf5666 100644 --- a/recipes-extra/gpsd/gpsd_3.9.bb +++ b/recipes-extra/gpsd/gpsd_3.9.bb @@ -8,12 +8,13 @@ PROVIDES = "virtual/gpsd" EXTRANATIVEPATH += "chrpath-native" -PR = "r3.8" +PR = "r3.9" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ file://0004-SConstruct-remove-rpath.patch \ file://0001-SConstruct-disable-html-and-man-docs-building-becaus.patch \ + file://gpsd-tsip-pps.patch \ file://gpsd-default \ file://gpsd \ file://60-gpsd.rules \ From 57863a435be0f3614d1e95ebe69f322269f2e0a2 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 14 Oct 2013 10:42:34 +0200 Subject: [PATCH 189/908] update gpsdate to a version that re-connects on gpsd exit --- recipes-extra/gpsdate/gpsdate_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-extra/gpsdate/gpsdate_git.bb b/recipes-extra/gpsdate/gpsdate_git.bb index 1c0708a978..ab2eea4981 100644 --- a/recipes-extra/gpsdate/gpsdate_git.bb +++ b/recipes-extra/gpsdate/gpsdate_git.bb @@ -6,12 +6,12 @@ DEPENDS = "gpsd" RDEPENDS_${PN} = "libgps" PE = "1" -PR = "r8" +PR = "r9" PV = "0.1+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/gpsdate.git;branch=master \ " -SRCREV = "0db898e4b8870ecc8e703ca3b6cafb6281077188" +SRCREV = "c77a9b3342af3f15142162655268d1e55ca598f1" S = "${WORKDIR}/git" INITSCRIPT_NAME = "gpsdate" From 2f6561a64670af9b3d37de7b426c14c8c6d2bd24 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 14 Oct 2013 20:12:14 +0200 Subject: [PATCH 190/908] linux: enable advanced routing this might help us in some installations where there are multiple back-hauls and we want to base routing decisions not only based on the destination IP. --- recipes-bsp/linux/files/sysmobts-v2/defconfig | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/recipes-bsp/linux/files/sysmobts-v2/defconfig b/recipes-bsp/linux/files/sysmobts-v2/defconfig index 6d8712c297..786d14c00b 100644 --- a/recipes-bsp/linux/files/sysmobts-v2/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v2/defconfig @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 3.2.19 Kernel Configuration +# Linux/arm 3.2.40 Kernel Configuration # CONFIG_ARM=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y @@ -428,7 +428,11 @@ CONFIG_NET_KEY=m # CONFIG_NET_KEY_MIGRATE is not set CONFIG_INET=y # CONFIG_IP_MULTICAST is not set -# CONFIG_IP_ADVANCED_ROUTER is not set +CONFIG_IP_ADVANCED_ROUTER=y +# CONFIG_IP_FIB_TRIE_STATS is not set +CONFIG_IP_MULTIPLE_TABLES=y +# CONFIG_IP_ROUTE_MULTIPATH is not set +# CONFIG_IP_ROUTE_VERBOSE is not set CONFIG_IP_ROUTE_CLASSID=y CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y @@ -483,7 +487,7 @@ CONFIG_NETFILTER_ADVANCED=y # Core Netfilter Configuration # CONFIG_NETFILTER_NETLINK=m -# CONFIG_NETFILTER_NETLINK_QUEUE is not set +CONFIG_NETFILTER_NETLINK_QUEUE=m CONFIG_NETFILTER_NETLINK_LOG=m CONFIG_NF_CONNTRACK=m # CONFIG_NF_CONNTRACK_MARK is not set @@ -524,7 +528,7 @@ CONFIG_NETFILTER_XT_TARGET_HL=m # CONFIG_NETFILTER_XT_TARGET_LED is not set # CONFIG_NETFILTER_XT_TARGET_MARK is not set CONFIG_NETFILTER_XT_TARGET_NFLOG=m -# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set +CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m # CONFIG_NETFILTER_XT_TARGET_RATEEST is not set # CONFIG_NETFILTER_XT_TARGET_TEE is not set CONFIG_NETFILTER_XT_TARGET_TCPMSS=m @@ -539,7 +543,7 @@ CONFIG_NETFILTER_XT_TARGET_TCPMSS=m # CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set # CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set # CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set -# CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set +CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m # CONFIG_NETFILTER_XT_MATCH_CPU is not set CONFIG_NETFILTER_XT_MATCH_DCCP=m # CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set @@ -548,7 +552,7 @@ CONFIG_NETFILTER_XT_MATCH_ESP=m # CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set # CONFIG_NETFILTER_XT_MATCH_HELPER is not set CONFIG_NETFILTER_XT_MATCH_HL=m -# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set +CONFIG_NETFILTER_XT_MATCH_IPRANGE=m # CONFIG_NETFILTER_XT_MATCH_LENGTH is not set CONFIG_NETFILTER_XT_MATCH_LIMIT=m CONFIG_NETFILTER_XT_MATCH_MAC=m @@ -563,7 +567,7 @@ CONFIG_NETFILTER_XT_MATCH_QUOTA=m CONFIG_NETFILTER_XT_MATCH_REALM=m # CONFIG_NETFILTER_XT_MATCH_RECENT is not set CONFIG_NETFILTER_XT_MATCH_SCTP=m -# CONFIG_NETFILTER_XT_MATCH_STATE is not set +CONFIG_NETFILTER_XT_MATCH_STATE=m # CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set # CONFIG_NETFILTER_XT_MATCH_STRING is not set CONFIG_NETFILTER_XT_MATCH_TCPMSS=m From a3c2a2b55c4e4cae8fa6402b336096d4482fd853 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 5 Nov 2013 10:23:10 +0100 Subject: [PATCH 191/908] osmo-pcu: Update the PCU to the latest commit in my cleanup branch --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 444115165a..7e8dafb33a 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly_merge" -SRCREV = "06d28bb08aa9834bc0f0c2740ffbebc12ce8560f" +SRCREV = "bc1626e5de38d7efbea272596d0ec5cc37f4b424" PV = "0.2+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From b62f6083a5142001a9cdef0fbdd5ada4f41536a5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 7 Feb 2013 13:04:01 +0100 Subject: [PATCH 192/908] master: Move shared recipes into the yocto-edison directory Master has moved forward and we need to move the bbappends into the yocto-edison folder. For the task-core-boot it has been renamed to the packagegroup-core-boot and we do not need to increase the version number for master. --- .../{task-core-boot.bbappend => task-core-boot_sysmocom.inc} | 0 {yocto-shared => yocto-edison}/dropbear_0.52.bbappend | 0 yocto-edison/task-core-boot.bbappend | 1 + {yocto-shared => yocto-edison}/u-boot_2011.03.bbappend | 0 {yocto-shared => yocto-edison}/udev_164.bbappend | 0 .../{busybox_1.19.4.bbappend => busybox_1.20.2.bbappend} | 0 yocto-master/dropbear_2012.55.bbappend | 1 + yocto-master/udev_182.bbappend | 1 + 8 files changed, 3 insertions(+) rename recipes-apps/tasks/{task-core-boot.bbappend => task-core-boot_sysmocom.inc} (100%) rename {yocto-shared => yocto-edison}/dropbear_0.52.bbappend (100%) create mode 100644 yocto-edison/task-core-boot.bbappend rename {yocto-shared => yocto-edison}/u-boot_2011.03.bbappend (100%) rename {yocto-shared => yocto-edison}/udev_164.bbappend (100%) rename yocto-master/{busybox_1.19.4.bbappend => busybox_1.20.2.bbappend} (100%) create mode 100644 yocto-master/dropbear_2012.55.bbappend create mode 100644 yocto-master/udev_182.bbappend diff --git a/recipes-apps/tasks/task-core-boot.bbappend b/recipes-apps/tasks/task-core-boot_sysmocom.inc similarity index 100% rename from recipes-apps/tasks/task-core-boot.bbappend rename to recipes-apps/tasks/task-core-boot_sysmocom.inc diff --git a/yocto-shared/dropbear_0.52.bbappend b/yocto-edison/dropbear_0.52.bbappend similarity index 100% rename from yocto-shared/dropbear_0.52.bbappend rename to yocto-edison/dropbear_0.52.bbappend diff --git a/yocto-edison/task-core-boot.bbappend b/yocto-edison/task-core-boot.bbappend new file mode 100644 index 0000000000..562a0478ef --- /dev/null +++ b/yocto-edison/task-core-boot.bbappend @@ -0,0 +1 @@ +require recipes-apps/tasks/${PN}_sysmocom.inc diff --git a/yocto-shared/u-boot_2011.03.bbappend b/yocto-edison/u-boot_2011.03.bbappend similarity index 100% rename from yocto-shared/u-boot_2011.03.bbappend rename to yocto-edison/u-boot_2011.03.bbappend diff --git a/yocto-shared/udev_164.bbappend b/yocto-edison/udev_164.bbappend similarity index 100% rename from yocto-shared/udev_164.bbappend rename to yocto-edison/udev_164.bbappend diff --git a/yocto-master/busybox_1.19.4.bbappend b/yocto-master/busybox_1.20.2.bbappend similarity index 100% rename from yocto-master/busybox_1.19.4.bbappend rename to yocto-master/busybox_1.20.2.bbappend diff --git a/yocto-master/dropbear_2012.55.bbappend b/yocto-master/dropbear_2012.55.bbappend new file mode 100644 index 0000000000..a3a97a3fa8 --- /dev/null +++ b/yocto-master/dropbear_2012.55.bbappend @@ -0,0 +1 @@ +require recipes-fixes/dropbear/${PN}_sysmocom.inc diff --git a/yocto-master/udev_182.bbappend b/yocto-master/udev_182.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-master/udev_182.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc From 6431d35a85a4b90905efc96ad011a846db260660 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 7 Feb 2013 13:31:55 +0100 Subject: [PATCH 193/908] busybox: Move it to the recipes-core directory to match the naming Jan pointed out that the original busybox is inside the recipes-core directory, move it there as well. --- {recipes-apps => recipes-core}/busybox/busybox_sysmocom.inc | 0 .../busybox/files/busybox-ifplugd.sh | 4 ++-- {recipes-apps => recipes-core}/busybox/files/defconfig | 0 {recipes-apps => recipes-core}/busybox/files/ifplugd.sh | 0 yocto-edison/busybox_1.18.5.bbappend | 2 +- yocto-master/busybox_1.20.2.bbappend | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) rename {recipes-apps => recipes-core}/busybox/busybox_sysmocom.inc (100%) rename {recipes-apps => recipes-core}/busybox/files/busybox-ifplugd.sh (87%) rename {recipes-apps => recipes-core}/busybox/files/defconfig (100%) rename {recipes-apps => recipes-core}/busybox/files/ifplugd.sh (100%) diff --git a/recipes-apps/busybox/busybox_sysmocom.inc b/recipes-core/busybox/busybox_sysmocom.inc similarity index 100% rename from recipes-apps/busybox/busybox_sysmocom.inc rename to recipes-core/busybox/busybox_sysmocom.inc diff --git a/recipes-apps/busybox/files/busybox-ifplugd.sh b/recipes-core/busybox/files/busybox-ifplugd.sh similarity index 87% rename from recipes-apps/busybox/files/busybox-ifplugd.sh rename to recipes-core/busybox/files/busybox-ifplugd.sh index d8c0bb8530..da09605417 100644 --- a/recipes-apps/busybox/files/busybox-ifplugd.sh +++ b/recipes-core/busybox/files/busybox-ifplugd.sh @@ -23,8 +23,8 @@ case "$1" in echo "Not restarting $DESC: $NAME... " ;; reload) - echo -n "reloading $DESC: $NAME... " - killall -HUP $(basename ${DAEMON}) + echo -n "reloading $DESC: $NAME... " + killall -HUP $(basename ${DAEMON}) echo "done." ;; *) diff --git a/recipes-apps/busybox/files/defconfig b/recipes-core/busybox/files/defconfig similarity index 100% rename from recipes-apps/busybox/files/defconfig rename to recipes-core/busybox/files/defconfig diff --git a/recipes-apps/busybox/files/ifplugd.sh b/recipes-core/busybox/files/ifplugd.sh similarity index 100% rename from recipes-apps/busybox/files/ifplugd.sh rename to recipes-core/busybox/files/ifplugd.sh diff --git a/yocto-edison/busybox_1.18.5.bbappend b/yocto-edison/busybox_1.18.5.bbappend index ead80563a3..28215361ad 100644 --- a/yocto-edison/busybox_1.18.5.bbappend +++ b/yocto-edison/busybox_1.18.5.bbappend @@ -1 +1 @@ -require recipes-apps/busybox/${PN}_sysmocom.inc +require recipes-core/busybox/${PN}_sysmocom.inc diff --git a/yocto-master/busybox_1.20.2.bbappend b/yocto-master/busybox_1.20.2.bbappend index ead80563a3..28215361ad 100644 --- a/yocto-master/busybox_1.20.2.bbappend +++ b/yocto-master/busybox_1.20.2.bbappend @@ -1 +1 @@ -require recipes-apps/busybox/${PN}_sysmocom.inc +require recipes-core/busybox/${PN}_sysmocom.inc From da70ced0959d5ee9618b54e54e0c201e80bc4dff Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 16 Sep 2012 15:38:17 +0800 Subject: [PATCH 194/908] busybox: Change the busybox syslog to use the internal ring buffer again Revert the logging to the memory buffer to avoid writes to the disk as the log directory might or might not be on tmpfs. --- .../busybox/busybox-systemd/syslog-startup.conf | 10 ++++++++++ recipes-core/busybox/busybox_sysmocom_systemd.inc | 4 ++++ yocto-master/busybox_1.20.2.bbappend | 1 + 3 files changed, 15 insertions(+) create mode 100644 recipes-core/busybox/busybox-systemd/syslog-startup.conf create mode 100644 recipes-core/busybox/busybox_sysmocom_systemd.inc diff --git a/recipes-core/busybox/busybox-systemd/syslog-startup.conf b/recipes-core/busybox/busybox-systemd/syslog-startup.conf new file mode 100644 index 0000000000..b434291af3 --- /dev/null +++ b/recipes-core/busybox/busybox-systemd/syslog-startup.conf @@ -0,0 +1,10 @@ +# sysmocom default configuration for systemd +DESTINATION="buffer" # log destinations (buffer file remote) +MARKINT=20 # intervall between --mark-- entries +LOGFILE=/var/log/messages # where to log (file) +REMOTE=loghost:514 # where to log (syslog remote) +REDUCE=no # reduce-size logging +#ROTATESIZE=0 # rotate log if grown beyond X [kByte] (incompatible with busybox) +#ROTATEGENS=3 # keep X generations of rotated logs (incompatible with busybox) +BUFFERSIZE=64 # size of circular buffer [kByte] +FOREGROUND=no # run in foreground (don't use!) diff --git a/recipes-core/busybox/busybox_sysmocom_systemd.inc b/recipes-core/busybox/busybox_sysmocom_systemd.inc new file mode 100644 index 0000000000..03460c1b46 --- /dev/null +++ b/recipes-core/busybox/busybox_sysmocom_systemd.inc @@ -0,0 +1,4 @@ +# Make busybox work nicely with systemd +SYSMOCOM_D := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-systemd:${SYSMOCOM_D}/${PN}:" +PRINC := "${@int(PRINC) + 2}" diff --git a/yocto-master/busybox_1.20.2.bbappend b/yocto-master/busybox_1.20.2.bbappend index 28215361ad..3135d224ad 100644 --- a/yocto-master/busybox_1.20.2.bbappend +++ b/yocto-master/busybox_1.20.2.bbappend @@ -1 +1,2 @@ require recipes-core/busybox/${PN}_sysmocom.inc +require recipes-core/busybox/${PN}_sysmocom_systemd.inc From 0a56d11827c2dd297cbc16e82252683eafaa46c6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 16 Sep 2012 20:27:46 +0800 Subject: [PATCH 195/908] dbus: Do not depend on the dbus daemon when using libdbus systemd can cope without having a dbus-daemon present. This is the way we want it to operate to conserve a bit of memory. Do not install the dbus daemon by default. Not having a dbus daemon is breaking the systemd color output right now but this is something that should be fixable. --- recipes-fixes/dbus/dbus_sysmocom_systemd.inc | 5 +++++ yocto-master/dbus_1.6.10.bbappend | 1 + 2 files changed, 6 insertions(+) create mode 100644 recipes-fixes/dbus/dbus_sysmocom_systemd.inc create mode 100644 yocto-master/dbus_1.6.10.bbappend diff --git a/recipes-fixes/dbus/dbus_sysmocom_systemd.inc b/recipes-fixes/dbus/dbus_sysmocom_systemd.inc new file mode 100644 index 0000000000..c1e1bacb7f --- /dev/null +++ b/recipes-fixes/dbus/dbus_sysmocom_systemd.inc @@ -0,0 +1,5 @@ +PRINC = "1" + +# We do not want to install a dbus-daemon by default. systemd is using +# dbus without the dbus-daemon being installed. Patch out the dbus daemon. +RRECOMMENDS_${PN}-lib = "" diff --git a/yocto-master/dbus_1.6.10.bbappend b/yocto-master/dbus_1.6.10.bbappend new file mode 100644 index 0000000000..0ada2aac4f --- /dev/null +++ b/yocto-master/dbus_1.6.10.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom_systemd.inc From e1acffbebc1b608e01972a4e731bded6f3f6a06f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 16 Sep 2012 20:40:34 +0800 Subject: [PATCH 196/908] update-rc.d: Take and modify the angstrom systemd patch Do not attempt to start/stop the application as part of the upgrade. This might conflict with systemd .service files that override the LSB script. The path of systemd has changed so the path was updated in the script. A better fix would check if the systemd cgroup is mounted as this is a better indicator for systemd. --- ...ake-s-a-noop-when-systemd-is-present.patch | 27 +++++++++++++++++++ .../update-rc.d/update-rc.d_angstrom.inc | 5 ++++ yocto-master/update-rc.d_0.7.bbappend | 1 + 3 files changed, 33 insertions(+) create mode 100644 recipes-fixes/update-rc.d/files/0001-update-rc.d-make-s-a-noop-when-systemd-is-present.patch create mode 100644 recipes-fixes/update-rc.d/update-rc.d_angstrom.inc create mode 100644 yocto-master/update-rc.d_0.7.bbappend diff --git a/recipes-fixes/update-rc.d/files/0001-update-rc.d-make-s-a-noop-when-systemd-is-present.patch b/recipes-fixes/update-rc.d/files/0001-update-rc.d-make-s-a-noop-when-systemd-is-present.patch new file mode 100644 index 0000000000..42c3fd9f23 --- /dev/null +++ b/recipes-fixes/update-rc.d/files/0001-update-rc.d-make-s-a-noop-when-systemd-is-present.patch @@ -0,0 +1,27 @@ +From e7aa29008b55962fbfcf374391fa8bb5f8737c11 Mon Sep 17 00:00:00 2001 +From: Koen Kooi +Date: Tue, 18 Oct 2011 13:44:56 +0200 +Subject: [PATCH] update-rc.d: make -s a noop when systemd is present + +Signed-off-by: Koen Kooi +--- + update-rc.d | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +diff --git a/update-rc.d b/update-rc.d +index 5e32902..d646abc 100644 +--- a/update-rc.d ++++ b/update-rc.d +@@ -115,7 +115,9 @@ while [ $# -gt 0 ]; do + shift + continue + ;; +- -s) dostart=1 ++ -s) if [ ! -e /lib/systemd/systemd ] ; then ++ dostart=1 ++ fi + shift + continue + ;; +-- +1.6.6.1 diff --git a/recipes-fixes/update-rc.d/update-rc.d_angstrom.inc b/recipes-fixes/update-rc.d/update-rc.d_angstrom.inc new file mode 100644 index 0000000000..0ec73014dd --- /dev/null +++ b/recipes-fixes/update-rc.d/update-rc.d_angstrom.inc @@ -0,0 +1,5 @@ +FILESEXTRAPATHS := "${THISDIR}/files" + +SRC_URI += "file://0001-update-rc.d-make-s-a-noop-when-systemd-is-present.patch" + +PRINC = "3" diff --git a/yocto-master/update-rc.d_0.7.bbappend b/yocto-master/update-rc.d_0.7.bbappend new file mode 100644 index 0000000000..ec787dc779 --- /dev/null +++ b/yocto-master/update-rc.d_0.7.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_angstrom.inc From f4bf38e765d81eefd69e5d9445db1a41781c25e5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 16 Sep 2012 15:41:21 +0800 Subject: [PATCH 197/908] systemd: We do not want to run the dbus-daemon, do not install the service We have no other dbus users, do not install the dbus.service and dbus.socket by default. It only leads to wasting a bit of ram. --- recipes-fixes/systemd/systemd_sysmocom.inc | 31 ++++++++++++++++++++++ yocto-master/systemd_199.bbappend | 1 + 2 files changed, 32 insertions(+) create mode 100644 recipes-fixes/systemd/systemd_sysmocom.inc create mode 100644 yocto-master/systemd_199.bbappend diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc new file mode 100644 index 0000000000..771cb54752 --- /dev/null +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -0,0 +1,31 @@ +S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" + +PRINC="12" + +# Disable depedency on dbus +RDEPENDS_${PN} = "" + + +# TODO: disable systemd-logind as it needs dbus +SYSTEMD_DISABLED_NATIVE_SERVICES = " \ + systemd-logind \ +" + +pkg_postinst_${PN}_append () { + cd $D${sysconfdir}/init.d + + echo "Disabling the following native services: " + + OPTS="" + + if [ -n "$D" ]; then + OPTS="--root=$D" + fi + + for i in ${SYSTEMD_DISABLED_NATIVE_SERVICES} ; do + if [ \( -e $i -o $i.sh \) -a ! -e $D${sysconfdir}/systemd/system/$i.service ] ; then + echo -n "$i: " ; systemctl ${OPTS} mask $i.service + fi + done ; echo +} diff --git a/yocto-master/systemd_199.bbappend b/yocto-master/systemd_199.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-master/systemd_199.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc From 78f6e55ed95cd5c43c314bc081e006fcd5c2021a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 19 Sep 2012 21:18:18 +0800 Subject: [PATCH 198/908] systemd: Keep the log and address space size down of the journald --- recipes-fixes/systemd/systemd/journald.conf | 34 +++++++++++++++++++++ recipes-fixes/systemd/systemd_sysmocom.inc | 8 ++++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 recipes-fixes/systemd/systemd/journald.conf diff --git a/recipes-fixes/systemd/systemd/journald.conf b/recipes-fixes/systemd/systemd/journald.conf new file mode 100644 index 0000000000..11e5204e6c --- /dev/null +++ b/recipes-fixes/systemd/systemd/journald.conf @@ -0,0 +1,34 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# See journald.conf(5) for details + +# Always use a volatile storage and keep the log size down but more +# importantly the address space of the journald + +[Journal] +Storage=volatile +#Compress=yes +#Seal=no +#RateLimitInterval=10s +#RateLimitBurst=200 +#SystemMaxUse=10 +#SystemKeepFree= +#SystemMaxFileSize= +#SystemMinFileSize= +RuntimeMaxUse=648K +#RuntimeKeepFree= +#RuntimeMaxFileSize= +#RuntimeMinFileSize= +#ForwardToSyslog=yes +#ForwardToKMsg=no +#ForwardToConsole=no +#TTYPath=/dev/console +#MaxLevelStore=debug +#MaxLevelSyslog=debug +#MaxLevelKMsg=notice +#MaxLevelConsole=info diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index 771cb54752..9d73f44c06 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -1,7 +1,9 @@ S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" -PRINC="12" +PRINC="13" + +SRC_URI += "file://journald.conf" # Disable depedency on dbus RDEPENDS_${PN} = "" @@ -29,3 +31,7 @@ pkg_postinst_${PN}_append () { fi done ; echo } + +do_install_append() { + install -m 0644 ${WORKDIR}/journald.conf ${D}${sysconfdir}/systemd/ +} From 921d2e8ec024912ec69ce4f0760d01a685721376 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 9 Feb 2013 10:46:57 +0100 Subject: [PATCH 199/908] systemd/watchdog: Use systemd as watchdogd daemon when available Provide custom systemd config files to enable the watchdog handling. For systemd we depend on the image containing and using systemd as init script. In case we build images without systemd we will need to install the old watchdog. Maybe it is time to create a MACHINE_FEATURE for watchdog. --- conf/machine/include/sysmobts.inc | 8 +++- .../systemd/systemd/sysmobts-v1/system.conf | 43 +++++++++++++++++++ .../systemd/systemd/sysmobts-v2/system.conf | 43 +++++++++++++++++++ recipes-fixes/systemd/systemd_sysmocom.inc | 9 +++- 4 files changed, 100 insertions(+), 3 deletions(-) create mode 100644 recipes-fixes/systemd/systemd/sysmobts-v1/system.conf create mode 100644 recipes-fixes/systemd/systemd/sysmobts-v2/system.conf diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index e26e8ceb89..b0f609cd97 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -19,7 +19,7 @@ MACHINE_FEATURES = "kernel26 serial" MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ busybox-ifplugd \ - watchdog \ + ${@['watchdog', ''][d.getVar('DISTRO_FEATURES_INITMAN', True) == 'systemd']} \ kernel \ kernel-module-davinci-wdt \ kernel-module-dspdl \ @@ -34,7 +34,11 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ IMAGE_FSTYPES ?= "tar.bz2 cpio.gz ubifs ubi jffs2" -MACHINE_EXTRA_RDEPENDS = "task-sysmocom-bts sysmobts-firmware watchdog" +MACHINE_EXTRA_RDEPENDS = "\ + task-sysmocom-bts \ + sysmobts-firmware \ + ${@['watchdog', ''][d.getVar('DISTRO_FEATURES_INITMAN', True) == 'systemd']} \ + " #MACHINE_EXTRA_RRECOMMENDS = "dsplink-module" require conf/machine/include/tune-arm926ejs.inc diff --git a/recipes-fixes/systemd/systemd/sysmobts-v1/system.conf b/recipes-fixes/systemd/systemd/sysmobts-v1/system.conf new file mode 100644 index 0000000000..04b57dc948 --- /dev/null +++ b/recipes-fixes/systemd/systemd/sysmobts-v1/system.conf @@ -0,0 +1,43 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# See systemd.conf(5) for details + +[Manager] +#LogLevel=info +#LogTarget=journal-or-kmsg +#LogColor=yes +#LogLocation=no +#DumpCore=yes +#CrashShell=no +#ShowStatus=yes +#CrashChVT=1 +#CPUAffinity=1 2 +#DefaultControllers=cpu +#DefaultStandardOutput=journal +#DefaultStandardError=inherit +#JoinControllers=cpu,cpuacct,cpuset net_cls,net_prio +RuntimeWatchdogSec=45 +#ShutdownWatchdogSec=10min +#CapabilityBoundingSet= +#TimerSlackNSec= +#DefaultLimitCPU= +#DefaultLimitFSIZE= +#DefaultLimitDATA= +#DefaultLimitSTACK= +#DefaultLimitCORE= +#DefaultLimitRSS= +#DefaultLimitNOFILE= +#DefaultLimitAS= +#DefaultLimitNPROC= +#DefaultLimitMEMLOCK= +#DefaultLimitLOCKS= +#DefaultLimitSIGPENDING= +#DefaultLimitMSGQUEUE= +#DefaultLimitNICE= +#DefaultLimitRTPRIO= +#DefaultLimitRTTIME= diff --git a/recipes-fixes/systemd/systemd/sysmobts-v2/system.conf b/recipes-fixes/systemd/systemd/sysmobts-v2/system.conf new file mode 100644 index 0000000000..04b57dc948 --- /dev/null +++ b/recipes-fixes/systemd/systemd/sysmobts-v2/system.conf @@ -0,0 +1,43 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# See systemd.conf(5) for details + +[Manager] +#LogLevel=info +#LogTarget=journal-or-kmsg +#LogColor=yes +#LogLocation=no +#DumpCore=yes +#CrashShell=no +#ShowStatus=yes +#CrashChVT=1 +#CPUAffinity=1 2 +#DefaultControllers=cpu +#DefaultStandardOutput=journal +#DefaultStandardError=inherit +#JoinControllers=cpu,cpuacct,cpuset net_cls,net_prio +RuntimeWatchdogSec=45 +#ShutdownWatchdogSec=10min +#CapabilityBoundingSet= +#TimerSlackNSec= +#DefaultLimitCPU= +#DefaultLimitFSIZE= +#DefaultLimitDATA= +#DefaultLimitSTACK= +#DefaultLimitCORE= +#DefaultLimitRSS= +#DefaultLimitNOFILE= +#DefaultLimitAS= +#DefaultLimitNPROC= +#DefaultLimitMEMLOCK= +#DefaultLimitLOCKS= +#DefaultLimitSIGPENDING= +#DefaultLimitMSGQUEUE= +#DefaultLimitNICE= +#DefaultLimitRTPRIO= +#DefaultLimitRTTIME= diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index 9d73f44c06..a179f8db6b 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -1,10 +1,13 @@ S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" -PRINC="13" +PRINC="16" SRC_URI += "file://journald.conf" +SRC_URI_append_sysmobts-v1 = " file://system.conf" +SRC_URI_append_sysmobts-v2 = " file://system.conf" + # Disable depedency on dbus RDEPENDS_${PN} = "" @@ -34,4 +37,8 @@ pkg_postinst_${PN}_append () { do_install_append() { install -m 0644 ${WORKDIR}/journald.conf ${D}${sysconfdir}/systemd/ + + if [ -e ${WORKDIR}/system.conf ]; then + install -m 0644 ${WORKDIR}/system.conf ${D}${sysconfdir}/systemd/ + fi } From fc071607d1044bd85fa63ce8d9fba4637ee0edbc Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 9 Feb 2013 16:58:56 +0100 Subject: [PATCH 200/908] osmo-bts: Package the sysmobts.service for systemd support Use the native systemd service file to avoid running a shell script that is ran from within the screen. This code expects the pcu to have a .service file itself. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index c12a727d0d..b3c8fa2861 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,7 +7,7 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/0.3.0 SRCREV_osmobts = "b2a8a642d65779918f64437b5cbbde8e206222f2" SRCREV_openbsc = "caa98d51b64e16bbe6d4933d9052b617432e5e22" PV = "0.3.0+git${SRCPV}" -PR = "r1.${META_TELEPHONY_OSMO_INC}" +PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" @@ -40,6 +40,10 @@ do_install_append() { install -d ${D}${sysconfdir}/init.d install -m 0755 ${S}/contrib/sysmobts.init ${D}${sysconfdir}/init.d/sysmobts + # Install systemd and enable on sysinit + install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/ + install -m 0644 ${S}/contrib/sysmobts.service ${D}${systemd_unitdir}/system/ + ln -sf ../sysmobts.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ } do_install_append_sysmobts-v2() { @@ -53,6 +57,7 @@ INITSCRIPT_PARAMS_${PN} = "defaults 30 30" PACKAGES =+ "osmo-bts-remote sysmobts-calib sysmobts-util" +FILES_${PN} += "${systemd_unitdir}" FILES_osmo-bts-remote = " ${bindir}/sysmobts-remote " FILES_sysmobts-calib = " ${bindir}/sysmobts-calib " FILES_sysmobts-util = " ${bindir}/sysmobts-util " From c6dc71c3aebde3165267386eb83830786fea4eed Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Wed, 19 Sep 2012 22:47:14 +0800 Subject: [PATCH 201/908] layer: Auto-select the right fixes based on the Poky version --- conf/layer.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/conf/layer.conf b/conf/layer.conf index 4a820bf2b5..3a4d1ed6e9 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -4,8 +4,12 @@ BBPATH := "${BBPATH}:${LAYERDIR}" # We have a packages directory, add to BBFILES BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" BBFILES := "${BBFILES} ${LAYERDIR}/yocto-shared/*.bbappend" -BBFILES := "${BBFILES} ${LAYERDIR}/yocto-edison/*.bbappend" -#BBFILES := "${BBFILES} ${LAYERDIR}/yocto-master/*.bbappend" + +# Now we will need to include the matching fixes for a yocto version +BBFILES := "${BBFILES} ${BBFILES_SYSMOCOM_BSP}" + +# selects specific distro or master when DISTRO_VERSION contains SNAPSHOT +BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5','dora'), ('1.1.2','edison')])[d.getVar('DISTRO_VERSION', True)], 'master']['SNAPSHOT' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" BBFILE_COLLECTIONS += "sysmocom-bsp" BBFILE_PATTERN_sysmocom-bsp := "^${LAYERDIR}/" From d6f50abeda82102b3d4f1c70675eeea2faff6651 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Jun 2013 19:18:51 +0200 Subject: [PATCH 202/908] misc: Target both dora and master by moving around recipe links --- yocto-dora/busybox_1.21.1.bbappend | 4 ++++ yocto-dora/dbus_1.6.10.bbappend | 1 + .../dropbear_2013.58.bbappend | 0 .../init-ifupdown_1.0.bbappend | 0 yocto-dora/netbase_5.1.bbappend | 1 + .../pkgconfig_0.28.bbappend | 0 .../systemd_206.bbappend | 0 yocto-dora/u-boot_2013.07.bbappend | 1 + yocto-dora/udev_182.bbappend | 1 + yocto-dora/update-rc.d_0.7.bbappend | 1 + yocto-dora/watchdog_5.13.bbappend | 1 + yocto-edison/pkgconfig_0.25.bbappend | 1 + .../{busybox_1.20.2.bbappend => busybox_1.21.1.bbappend} | 0 yocto-master/dropbear_2013.58.bbappend | 1 + yocto-master/netbase_5.1.bbappend | 1 + yocto-master/pkgconfig_0.28.bbappend | 1 + yocto-master/systemd_204.bbappend | 1 + 17 files changed, 15 insertions(+) create mode 100644 yocto-dora/busybox_1.21.1.bbappend create mode 100644 yocto-dora/dbus_1.6.10.bbappend rename yocto-master/dropbear_2012.55.bbappend => yocto-dora/dropbear_2013.58.bbappend (100%) rename yocto-master/netbase_5.0.bbappend => yocto-dora/init-ifupdown_1.0.bbappend (100%) create mode 100644 yocto-dora/netbase_5.1.bbappend rename yocto-master/systemd_199.bbappend => yocto-dora/pkgconfig_0.28.bbappend (100%) rename yocto-shared/pkgconfig_0.25.bbappend => yocto-dora/systemd_206.bbappend (100%) create mode 100644 yocto-dora/u-boot_2013.07.bbappend create mode 100644 yocto-dora/udev_182.bbappend create mode 100644 yocto-dora/update-rc.d_0.7.bbappend create mode 100644 yocto-dora/watchdog_5.13.bbappend create mode 100644 yocto-edison/pkgconfig_0.25.bbappend rename yocto-master/{busybox_1.20.2.bbappend => busybox_1.21.1.bbappend} (100%) create mode 100644 yocto-master/dropbear_2013.58.bbappend create mode 100644 yocto-master/netbase_5.1.bbappend create mode 100644 yocto-master/pkgconfig_0.28.bbappend create mode 100644 yocto-master/systemd_204.bbappend diff --git a/yocto-dora/busybox_1.21.1.bbappend b/yocto-dora/busybox_1.21.1.bbappend new file mode 100644 index 0000000000..641aeb3c75 --- /dev/null +++ b/yocto-dora/busybox_1.21.1.bbappend @@ -0,0 +1,4 @@ +# PN/PV are wrong inside the .inc file with 1.19.1 +SYSMOCOM_ORIG_PV := "${PV}" +require recipes-core/busybox/${PN}_sysmocom.inc +require recipes-core/busybox/${PN}_sysmocom_systemd.inc diff --git a/yocto-dora/dbus_1.6.10.bbappend b/yocto-dora/dbus_1.6.10.bbappend new file mode 100644 index 0000000000..0ada2aac4f --- /dev/null +++ b/yocto-dora/dbus_1.6.10.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom_systemd.inc diff --git a/yocto-master/dropbear_2012.55.bbappend b/yocto-dora/dropbear_2013.58.bbappend similarity index 100% rename from yocto-master/dropbear_2012.55.bbappend rename to yocto-dora/dropbear_2013.58.bbappend diff --git a/yocto-master/netbase_5.0.bbappend b/yocto-dora/init-ifupdown_1.0.bbappend similarity index 100% rename from yocto-master/netbase_5.0.bbappend rename to yocto-dora/init-ifupdown_1.0.bbappend diff --git a/yocto-dora/netbase_5.1.bbappend b/yocto-dora/netbase_5.1.bbappend new file mode 100644 index 0000000000..5e3605ffef --- /dev/null +++ b/yocto-dora/netbase_5.1.bbappend @@ -0,0 +1 @@ +require recipes-bsp/netbase/${PN}_sysmocom.inc diff --git a/yocto-master/systemd_199.bbappend b/yocto-dora/pkgconfig_0.28.bbappend similarity index 100% rename from yocto-master/systemd_199.bbappend rename to yocto-dora/pkgconfig_0.28.bbappend diff --git a/yocto-shared/pkgconfig_0.25.bbappend b/yocto-dora/systemd_206.bbappend similarity index 100% rename from yocto-shared/pkgconfig_0.25.bbappend rename to yocto-dora/systemd_206.bbappend diff --git a/yocto-dora/u-boot_2013.07.bbappend b/yocto-dora/u-boot_2013.07.bbappend new file mode 100644 index 0000000000..34003acec4 --- /dev/null +++ b/yocto-dora/u-boot_2013.07.bbappend @@ -0,0 +1 @@ +require recipes-sysmobts/uboot/${PN}_sysmocom.inc diff --git a/yocto-dora/udev_182.bbappend b/yocto-dora/udev_182.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-dora/udev_182.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc diff --git a/yocto-dora/update-rc.d_0.7.bbappend b/yocto-dora/update-rc.d_0.7.bbappend new file mode 100644 index 0000000000..ec787dc779 --- /dev/null +++ b/yocto-dora/update-rc.d_0.7.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_angstrom.inc diff --git a/yocto-dora/watchdog_5.13.bbappend b/yocto-dora/watchdog_5.13.bbappend new file mode 100644 index 0000000000..57590dbf4a --- /dev/null +++ b/yocto-dora/watchdog_5.13.bbappend @@ -0,0 +1 @@ +require recipes-bsp/watchdog/${PN}_sysmocom.inc diff --git a/yocto-edison/pkgconfig_0.25.bbappend b/yocto-edison/pkgconfig_0.25.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-edison/pkgconfig_0.25.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc diff --git a/yocto-master/busybox_1.20.2.bbappend b/yocto-master/busybox_1.21.1.bbappend similarity index 100% rename from yocto-master/busybox_1.20.2.bbappend rename to yocto-master/busybox_1.21.1.bbappend diff --git a/yocto-master/dropbear_2013.58.bbappend b/yocto-master/dropbear_2013.58.bbappend new file mode 100644 index 0000000000..a3a97a3fa8 --- /dev/null +++ b/yocto-master/dropbear_2013.58.bbappend @@ -0,0 +1 @@ +require recipes-fixes/dropbear/${PN}_sysmocom.inc diff --git a/yocto-master/netbase_5.1.bbappend b/yocto-master/netbase_5.1.bbappend new file mode 100644 index 0000000000..5e3605ffef --- /dev/null +++ b/yocto-master/netbase_5.1.bbappend @@ -0,0 +1 @@ +require recipes-bsp/netbase/${PN}_sysmocom.inc diff --git a/yocto-master/pkgconfig_0.28.bbappend b/yocto-master/pkgconfig_0.28.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-master/pkgconfig_0.28.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc diff --git a/yocto-master/systemd_204.bbappend b/yocto-master/systemd_204.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-master/systemd_204.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc From ad936987ccb40442a398b2832c8f314e08dcfd1c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Jun 2013 11:54:49 +0200 Subject: [PATCH 203/908] ubl/u-boot: Use PKGV and PKGR instead of PV/PR for the AUTOINC This should help in having no AUTOINC inside the uboot filename but it doesn't fix it yet. --- recipes-sysmobts/ubl/ubl_git.bb | 4 ++-- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/ubl/ubl_git.bb b/recipes-sysmobts/ubl/ubl_git.bb index 9a3940e4ec..83f61c684d 100644 --- a/recipes-sysmobts/ubl/ubl_git.bb +++ b/recipes-sysmobts/ubl/ubl_git.bb @@ -9,14 +9,14 @@ LIC_FILES_CHKSUM = "file://ubl.c;beginline=1;endline=22;md5=806283bb3c475d9082e4 SRC_URI = "git://git.sysmocom.de/sysmo-bts/ubl;protocol=git;branch=master" SRCREV = "d04f24974a5b1e24cb9414ebc2e84a91848982c4" PV = "v0.2.11+git${SRCPV}" -PR = "r2" +PR = "r3" S = "${WORKDIR}/git" inherit deploy EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" -UBL_IMAGE ?= "ubl-${MACHINE}-${PV}-${PR}.elf" +UBL_IMAGE ?= "ubl-${MACHINE}-${PKGV}-${PKGR}.elf" UBL_SYMLINK ?= "ubl-${MACHINE}.elf" BOARD_NAME_sysmobts-v1 = "sysmobts_v1" diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index fbc385ea33..d6f10d1756 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -13,7 +13,7 @@ UBOOT_MACHINE_sysmobts-v2 = "davinci_sysmobts_v2_config" UBOOT_MACHINE_sysmobts-2050 = "davinci_sysmobts_v2_config" COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050)" -UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}" +UBOOT_IMAGE = "u-boot-${MACHINE}-${PKGV}-${PKGR}" UBOOT_SYMLINK = "u-boot-${MACHINE}" do_deploy_prepend () { From b18f2815b9127af0e1d2f36388abd7da3fcff2bb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 10 Jul 2013 14:29:18 +0200 Subject: [PATCH 204/908] init-ifupdown: netbase was split up in master into two recipes Re-use the files from the netbase/ directory as we still have the edision version of netbase that includes interfaces. --- recipes-bsp/netbase/init-ifupdown_sysmocom.inc | 6 ++++++ yocto-master/init-ifupdown_1.0.bbappend | 1 + 2 files changed, 7 insertions(+) create mode 100644 recipes-bsp/netbase/init-ifupdown_sysmocom.inc create mode 100644 yocto-master/init-ifupdown_1.0.bbappend diff --git a/recipes-bsp/netbase/init-ifupdown_sysmocom.inc b/recipes-bsp/netbase/init-ifupdown_sysmocom.inc new file mode 100644 index 0000000000..060fb469f2 --- /dev/null +++ b/recipes-bsp/netbase/init-ifupdown_sysmocom.inc @@ -0,0 +1,6 @@ +# TODO: When dropping netbase for edison we can rename it +SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESEXTRAPATHS_prepend := "${SYSMOCOM}/netbase-${PV}:${SYSMOCOM}/netbase:" +PRINC = "1" + + diff --git a/yocto-master/init-ifupdown_1.0.bbappend b/yocto-master/init-ifupdown_1.0.bbappend new file mode 100644 index 0000000000..5e3605ffef --- /dev/null +++ b/yocto-master/init-ifupdown_1.0.bbappend @@ -0,0 +1 @@ +require recipes-bsp/netbase/${PN}_sysmocom.inc From 6f4ac52b306c2666a6fc7af8f7ce6746ca92b9f3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 10 Jul 2013 14:51:30 +0200 Subject: [PATCH 205/908] busybox-1.21.1: Update the defconfig and re-enable the following * ifplugd is enabled again * blacklisting of modules * mounting of cifs --- .../busybox/busybox-1.21.1/busybox-ifplugd.sh | 36 + recipes-core/busybox/busybox-1.21.1/defconfig | 1020 +++++++++++++++++ recipes-core/busybox/busybox_sysmocom.inc | 4 +- yocto-edison/busybox_1.18.5.bbappend | 2 + yocto-master/busybox_1.21.1.bbappend | 2 + 5 files changed, 1062 insertions(+), 2 deletions(-) create mode 100644 recipes-core/busybox/busybox-1.21.1/busybox-ifplugd.sh create mode 100644 recipes-core/busybox/busybox-1.21.1/defconfig diff --git a/recipes-core/busybox/busybox-1.21.1/busybox-ifplugd.sh b/recipes-core/busybox/busybox-1.21.1/busybox-ifplugd.sh new file mode 100644 index 0000000000..05052bcf02 --- /dev/null +++ b/recipes-core/busybox/busybox-1.21.1/busybox-ifplugd.sh @@ -0,0 +1,36 @@ +#!/bin/sh +DAEMON=/usr/sbin/ifplugd +NAME=ifplugd +DESC="Busybox ifplugd Server" +ARGS=" -i eth0 -M -I -r /etc/ifplugd.sh" + +test -f $DAEMON || exit 1 + +set -e + +case "$1" in + start) + echo -n "starting $DESC: $NAME... " + /sbin/start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS + echo "done." + ;; + stop) + echo -n "stopping $DESC: $NAME... " + /sbin/start-stop-daemon -K -n $NAME + echo "done." + ;; + restart) + echo "Not restarting $DESC: $NAME... " + ;; + reload) + echo -n "reloading $DESC: $NAME... " + killall -HUP $(basename ${DAEMON}) + echo "done." + ;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 + ;; +esac + +exit 0 diff --git a/recipes-core/busybox/busybox-1.21.1/defconfig b/recipes-core/busybox/busybox-1.21.1/defconfig new file mode 100644 index 0000000000..86f167f6ce --- /dev/null +++ b/recipes-core/busybox/busybox-1.21.1/defconfig @@ -0,0 +1,1020 @@ +# +# Automatically generated make config: don't edit +# Busybox version: 1.20.2 +# Mon Aug 20 17:01:45 2012 +# +CONFIG_HAVE_DOT_CONFIG=y + +# +# Busybox Settings +# + +# +# General Configuration +# +# CONFIG_DESKTOP is not set +# CONFIG_EXTRA_COMPAT is not set +# CONFIG_INCLUDE_SUSv2 is not set +# CONFIG_USE_PORTABLE_CODE is not set +CONFIG_PLATFORM_LINUX=y +CONFIG_FEATURE_BUFFERS_USE_MALLOC=y +# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set +# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set +CONFIG_SHOW_USAGE=y +# CONFIG_FEATURE_VERBOSE_USAGE is not set +CONFIG_FEATURE_COMPRESS_USAGE=y +# CONFIG_FEATURE_INSTALLER is not set +# CONFIG_INSTALL_NO_USR is not set +# CONFIG_LOCALE_SUPPORT is not set +# CONFIG_UNICODE_SUPPORT is not set +# CONFIG_UNICODE_USING_LOCALE is not set +# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set +CONFIG_SUBST_WCHAR=0 +CONFIG_LAST_SUPPORTED_WCHAR=0 +# CONFIG_UNICODE_COMBINING_WCHARS is not set +# CONFIG_UNICODE_WIDE_WCHARS is not set +# CONFIG_UNICODE_BIDI_SUPPORT is not set +# CONFIG_UNICODE_NEUTRAL_TABLE is not set +# CONFIG_UNICODE_PRESERVE_BROKEN is not set +CONFIG_LONG_OPTS=y +CONFIG_FEATURE_DEVPTS=y +# CONFIG_FEATURE_CLEAN_UP is not set +CONFIG_FEATURE_UTMP=y +# CONFIG_FEATURE_WTMP is not set +CONFIG_FEATURE_PIDFILE=y +CONFIG_FEATURE_SUID=y +CONFIG_FEATURE_SUID_CONFIG=y +CONFIG_FEATURE_SUID_CONFIG_QUIET=y +# CONFIG_SELINUX is not set +# CONFIG_FEATURE_PREFER_APPLETS is not set +CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" +CONFIG_FEATURE_SYSLOG=y +CONFIG_FEATURE_HAVE_RPC=y + +# +# Build Options +# +# CONFIG_STATIC is not set +# CONFIG_PIE is not set +# CONFIG_NOMMU is not set +# CONFIG_BUILD_LIBBUSYBOX is not set +# CONFIG_FEATURE_INDIVIDUAL is not set +# CONFIG_FEATURE_SHARED_BUSYBOX is not set +CONFIG_LFS=y +# CONFIG_CROSS_COMPILER_PREFIX is not set +CONFIG_SYSROOT="" +# CONFIG_EXTRA_CFLAGS is not set +CONFIG_EXTRA_LDFLAGS="" +CONFIG_EXTRA_LDLIBS="" + +# +# Debugging Options +# +# CONFIG_DEBUG is not set +# CONFIG_DEBUG_PESSIMIZE is not set +# CONFIG_WERROR is not set +CONFIG_NO_DEBUG_LIB=y +# CONFIG_DMALLOC is not set +# CONFIG_EFENCE is not set + +# +# Installation Options ("make install" behavior) +# +CONFIG_INSTALL_APPLET_SYMLINKS=y +# CONFIG_INSTALL_APPLET_HARDLINKS is not set +# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set +# CONFIG_INSTALL_APPLET_DONT is not set +# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set +# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set +# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set +CONFIG_PREFIX="./_install" + +# +# Busybox Library Tuning +# +CONFIG_FEATURE_SYSTEMD=y +CONFIG_FEATURE_RTMINMAX=y +CONFIG_PASSWORD_MINLEN=6 +CONFIG_MD5_SMALL=1 +CONFIG_FEATURE_FAST_TOP=y +# CONFIG_FEATURE_ETC_NETWORKS is not set +CONFIG_FEATURE_USE_TERMIOS=y +CONFIG_FEATURE_EDITING=y +CONFIG_FEATURE_EDITING_MAX_LEN=1024 +# CONFIG_FEATURE_EDITING_VI is not set +CONFIG_FEATURE_EDITING_HISTORY=15 +CONFIG_FEATURE_EDITING_SAVEHISTORY=y +# CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is not set +# CONFIG_FEATURE_REVERSE_SEARCH is not set +CONFIG_FEATURE_TAB_COMPLETION=y +CONFIG_FEATURE_USERNAME_COMPLETION=y +CONFIG_FEATURE_EDITING_FANCY_PROMPT=y +# CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set +CONFIG_FEATURE_NON_POSIX_CP=y +# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set +CONFIG_FEATURE_COPYBUF_KB=4 +CONFIG_FEATURE_SKIP_ROOTFS=y +CONFIG_MONOTONIC_SYSCALL=y +CONFIG_IOCTL_HEX2STR_ERROR=y +CONFIG_FEATURE_HWIB=y + +# +# Applets +# + +# +# Archival Utilities +# +# CONFIG_FEATURE_SEAMLESS_XZ is not set +CONFIG_FEATURE_SEAMLESS_LZMA=y +CONFIG_FEATURE_SEAMLESS_BZ2=y +CONFIG_FEATURE_SEAMLESS_GZ=y +CONFIG_FEATURE_SEAMLESS_Z=y +CONFIG_AR=y +# CONFIG_FEATURE_AR_LONG_FILENAMES is not set +# CONFIG_FEATURE_AR_CREATE is not set +CONFIG_BUNZIP2=y +# CONFIG_BZIP2 is not set +CONFIG_CPIO=y +# CONFIG_FEATURE_CPIO_O is not set +# CONFIG_FEATURE_CPIO_P is not set +# CONFIG_DPKG is not set +# CONFIG_DPKG_DEB is not set +# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set +CONFIG_GUNZIP=y +CONFIG_GZIP=y +# CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set +CONFIG_GZIP_FAST=0 +# CONFIG_LZOP is not set +# CONFIG_LZOP_COMPR_HIGH is not set +# CONFIG_RPM2CPIO is not set +# CONFIG_RPM is not set +CONFIG_TAR=y +CONFIG_FEATURE_TAR_CREATE=y +CONFIG_FEATURE_TAR_AUTODETECT=y +CONFIG_FEATURE_TAR_FROM=y +CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY=y +# CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set +CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y +# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set +# CONFIG_FEATURE_TAR_TO_COMMAND is not set +# CONFIG_FEATURE_TAR_UNAME_GNAME is not set +# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set +# CONFIG_FEATURE_TAR_SELINUX is not set +# CONFIG_UNCOMPRESS is not set +# CONFIG_UNLZMA is not set +# CONFIG_FEATURE_LZMA_FAST is not set +# CONFIG_LZMA is not set +# CONFIG_UNXZ is not set +# CONFIG_XZ is not set +CONFIG_UNZIP=y + +# +# Coreutils +# +CONFIG_BASENAME=y +CONFIG_CAT=y +CONFIG_DATE=y +# CONFIG_FEATURE_DATE_ISOFMT is not set +# CONFIG_FEATURE_DATE_NANO is not set +CONFIG_FEATURE_DATE_COMPAT=y +# CONFIG_HOSTID is not set +CONFIG_ID=y +CONFIG_GROUPS=y +CONFIG_TEST=y +CONFIG_FEATURE_TEST_64=y +CONFIG_TOUCH=y +CONFIG_FEATURE_TOUCH_SUSV3=y +CONFIG_TR=y +CONFIG_FEATURE_TR_CLASSES=y +# CONFIG_FEATURE_TR_EQUIV is not set +# CONFIG_BASE64 is not set +CONFIG_WHO=y +CONFIG_USERS=y +# CONFIG_CAL is not set +# CONFIG_CATV is not set +CONFIG_CHGRP=y +CONFIG_CHMOD=y +CONFIG_CHOWN=y +# CONFIG_FEATURE_CHOWN_LONG_OPTIONS is not set +CONFIG_CHROOT=y +# CONFIG_CKSUM is not set +# CONFIG_COMM is not set +CONFIG_CP=y +# CONFIG_FEATURE_CP_LONG_OPTIONS is not set +CONFIG_CUT=y +CONFIG_DD=y +CONFIG_FEATURE_DD_SIGNAL_HANDLING=y +# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set +# CONFIG_FEATURE_DD_IBS_OBS is not set +CONFIG_DF=y +# CONFIG_FEATURE_DF_FANCY is not set +CONFIG_DIRNAME=y +# CONFIG_DOS2UNIX is not set +# CONFIG_UNIX2DOS is not set +CONFIG_DU=y +CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y +CONFIG_ECHO=y +CONFIG_FEATURE_FANCY_ECHO=y +CONFIG_ENV=y +CONFIG_FEATURE_ENV_LONG_OPTIONS=y +# CONFIG_EXPAND is not set +# CONFIG_FEATURE_EXPAND_LONG_OPTIONS is not set +CONFIG_EXPR=y +CONFIG_EXPR_MATH_SUPPORT_64=y +CONFIG_FALSE=y +# CONFIG_FOLD is not set +# CONFIG_FSYNC is not set +CONFIG_HEAD=y +# CONFIG_FEATURE_FANCY_HEAD is not set +# CONFIG_INSTALL is not set +# CONFIG_FEATURE_INSTALL_LONG_OPTIONS is not set +CONFIG_LN=y +CONFIG_LOGNAME=y +CONFIG_LS=y +CONFIG_FEATURE_LS_FILETYPES=y +CONFIG_FEATURE_LS_FOLLOWLINKS=y +CONFIG_FEATURE_LS_RECURSIVE=y +CONFIG_FEATURE_LS_SORTFILES=y +CONFIG_FEATURE_LS_TIMESTAMPS=y +CONFIG_FEATURE_LS_USERNAME=y +CONFIG_FEATURE_LS_COLOR=y +# CONFIG_FEATURE_LS_COLOR_IS_DEFAULT is not set +CONFIG_MD5SUM=y +CONFIG_MKDIR=y +CONFIG_FEATURE_MKDIR_LONG_OPTIONS=y +CONFIG_MKFIFO=y +CONFIG_MKNOD=y +CONFIG_MV=y +# CONFIG_FEATURE_MV_LONG_OPTIONS is not set +# CONFIG_NICE is not set +CONFIG_NOHUP=y +CONFIG_OD=y +# CONFIG_PRINTENV is not set +CONFIG_PRINTF=y +CONFIG_PWD=y +CONFIG_READLINK=y +CONFIG_FEATURE_READLINK_FOLLOW=y +CONFIG_REALPATH=y +CONFIG_RM=y +CONFIG_RMDIR=y +# CONFIG_FEATURE_RMDIR_LONG_OPTIONS is not set +CONFIG_SEQ=y +# CONFIG_SHA1SUM is not set +# CONFIG_SHA256SUM is not set +# CONFIG_SHA512SUM is not set +CONFIG_SLEEP=y +CONFIG_FEATURE_FANCY_SLEEP=y +# CONFIG_FEATURE_FLOAT_SLEEP is not set +CONFIG_SORT=y +CONFIG_FEATURE_SORT_BIG=y +# CONFIG_SPLIT is not set +# CONFIG_FEATURE_SPLIT_FANCY is not set +CONFIG_STAT=y +CONFIG_FEATURE_STAT_FORMAT=y +CONFIG_STTY=y +# CONFIG_SUM is not set +CONFIG_SYNC=y +# CONFIG_TAC is not set +CONFIG_TAIL=y +CONFIG_FEATURE_FANCY_TAIL=y +CONFIG_TEE=y +# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set +CONFIG_TRUE=y +CONFIG_TTY=y +CONFIG_UNAME=y +# CONFIG_UNEXPAND is not set +# CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS is not set +CONFIG_UNIQ=y +CONFIG_USLEEP=y +# CONFIG_UUDECODE is not set +# CONFIG_UUENCODE is not set +CONFIG_WC=y +# CONFIG_FEATURE_WC_LARGE is not set +CONFIG_WHOAMI=y +CONFIG_YES=y + +# +# Common options for cp and mv +# +# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set + +# +# Common options for ls, more and telnet +# +CONFIG_FEATURE_AUTOWIDTH=y + +# +# Common options for df, du, ls +# +CONFIG_FEATURE_HUMAN_READABLE=y + +# +# Common options for md5sum, sha1sum, sha256sum, sha512sum +# +CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y + +# +# Console Utilities +# +CONFIG_CHVT=y +# CONFIG_FGCONSOLE is not set +CONFIG_CLEAR=y +CONFIG_DEALLOCVT=y +CONFIG_DUMPKMAP=y +# CONFIG_KBD_MODE is not set +CONFIG_LOADFONT=y +CONFIG_LOADKMAP=y +CONFIG_OPENVT=y +CONFIG_RESET=y +# CONFIG_RESIZE is not set +# CONFIG_FEATURE_RESIZE_PRINT is not set +CONFIG_SETCONSOLE=y +# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set +# CONFIG_SETFONT is not set +# CONFIG_FEATURE_SETFONT_TEXTUAL_MAP is not set +CONFIG_DEFAULT_SETFONT_DIR="" +# CONFIG_SETKEYCODES is not set +# CONFIG_SETLOGCONS is not set +# CONFIG_SHOWKEY is not set + +# +# Common options for loadfont and setfont +# +# CONFIG_FEATURE_LOADFONT_PSF2 is not set +# CONFIG_FEATURE_LOADFONT_RAW is not set + +# +# Debian Utilities +# +CONFIG_MKTEMP=y +# CONFIG_PIPE_PROGRESS is not set +CONFIG_RUN_PARTS=y +CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y +# CONFIG_FEATURE_RUN_PARTS_FANCY is not set +CONFIG_START_STOP_DAEMON=y +CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y +CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y +CONFIG_WHICH=y + +# +# Editors +# +CONFIG_PATCH=y +CONFIG_VI=y +CONFIG_FEATURE_VI_MAX_LEN=1024 +CONFIG_FEATURE_VI_8BIT=y +CONFIG_FEATURE_VI_COLON=y +CONFIG_FEATURE_VI_YANKMARK=y +CONFIG_FEATURE_VI_SEARCH=y +# CONFIG_FEATURE_VI_REGEX_SEARCH is not set +CONFIG_FEATURE_VI_USE_SIGNALS=y +# CONFIG_FEATURE_VI_DOT_CMD is not set +# CONFIG_FEATURE_VI_READONLY is not set +# CONFIG_FEATURE_VI_SETOPTS is not set +# CONFIG_FEATURE_VI_SET is not set +CONFIG_FEATURE_VI_WIN_RESIZE=y +# CONFIG_FEATURE_VI_ASK_TERMINAL is not set +CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y +CONFIG_AWK=y +# CONFIG_FEATURE_AWK_LIBM is not set +CONFIG_CMP=y +CONFIG_DIFF=y +# CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set +CONFIG_FEATURE_DIFF_DIR=y +# CONFIG_ED is not set +CONFIG_SED=y +CONFIG_FEATURE_ALLOW_EXEC=y + +# +# Finding Utilities +# +CONFIG_FIND=y +CONFIG_FEATURE_FIND_PRINT0=y +CONFIG_FEATURE_FIND_MTIME=y +CONFIG_FEATURE_FIND_MMIN=y +CONFIG_FEATURE_FIND_PERM=y +CONFIG_FEATURE_FIND_TYPE=y +CONFIG_FEATURE_FIND_XDEV=y +CONFIG_FEATURE_FIND_MAXDEPTH=y +CONFIG_FEATURE_FIND_NEWER=y +# CONFIG_FEATURE_FIND_INUM is not set +CONFIG_FEATURE_FIND_EXEC=y +CONFIG_FEATURE_FIND_USER=y +CONFIG_FEATURE_FIND_GROUP=y +CONFIG_FEATURE_FIND_NOT=y +CONFIG_FEATURE_FIND_DEPTH=y +CONFIG_FEATURE_FIND_PAREN=y +CONFIG_FEATURE_FIND_SIZE=y +CONFIG_FEATURE_FIND_PRUNE=y +# CONFIG_FEATURE_FIND_DELETE is not set +CONFIG_FEATURE_FIND_PATH=y +CONFIG_FEATURE_FIND_REGEX=y +# CONFIG_FEATURE_FIND_CONTEXT is not set +# CONFIG_FEATURE_FIND_LINKS is not set +CONFIG_GREP=y +CONFIG_FEATURE_GREP_EGREP_ALIAS=y +CONFIG_FEATURE_GREP_FGREP_ALIAS=y +CONFIG_FEATURE_GREP_CONTEXT=y +CONFIG_XARGS=y +# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set +# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set +# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set +# CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set + +# +# Init Utilities +# +# CONFIG_BOOTCHARTD is not set +# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set +# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set +CONFIG_HALT=y +# CONFIG_FEATURE_CALL_TELINIT is not set +CONFIG_TELINIT_PATH="" +# CONFIG_INIT is not set +# CONFIG_FEATURE_USE_INITTAB is not set +# CONFIG_FEATURE_KILL_REMOVED is not set +CONFIG_FEATURE_KILL_DELAY=0 +# CONFIG_FEATURE_INIT_SCTTY is not set +# CONFIG_FEATURE_INIT_SYSLOG is not set +# CONFIG_FEATURE_EXTRA_QUIET is not set +# CONFIG_FEATURE_INIT_COREDUMPS is not set +# CONFIG_FEATURE_INITRD is not set +CONFIG_INIT_TERMINAL_TYPE="" +# CONFIG_MESG is not set +# CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP is not set + +# +# Login/Password Management Utilities +# +# CONFIG_ADD_SHELL is not set +# CONFIG_REMOVE_SHELL is not set +# CONFIG_FEATURE_SHADOWPASSWDS is not set +# CONFIG_USE_BB_PWD_GRP is not set +# CONFIG_USE_BB_SHADOW is not set +CONFIG_USE_BB_CRYPT=y +# CONFIG_USE_BB_CRYPT_SHA is not set +# CONFIG_ADDUSER is not set +# CONFIG_FEATURE_ADDUSER_LONG_OPTIONS is not set +# CONFIG_FEATURE_CHECK_NAMES is not set +CONFIG_FIRST_SYSTEM_ID=0 +CONFIG_LAST_SYSTEM_ID=0 +# CONFIG_ADDGROUP is not set +# CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS is not set +# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set +# CONFIG_DELUSER is not set +# CONFIG_DELGROUP is not set +# CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set +# CONFIG_GETTY is not set +# CONFIG_LOGIN is not set +# CONFIG_LOGIN_SESSION_AS_CHILD is not set +# CONFIG_PAM is not set +# CONFIG_LOGIN_SCRIPTS is not set +# CONFIG_FEATURE_NOLOGIN is not set +# CONFIG_FEATURE_SECURETTY is not set +# CONFIG_PASSWD is not set +# CONFIG_FEATURE_PASSWD_WEAK_CHECK is not set +# CONFIG_CRYPTPW is not set +# CONFIG_CHPASSWD is not set +CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="" +# CONFIG_SU is not set +# CONFIG_FEATURE_SU_SYSLOG is not set +# CONFIG_FEATURE_SU_CHECKS_SHELLS is not set +# CONFIG_SULOGIN is not set +# CONFIG_VLOCK is not set + +# +# Linux Ext2 FS Progs +# +CONFIG_CHATTR=y +CONFIG_FSCK=y +# CONFIG_LSATTR is not set +# CONFIG_TUNE2FS is not set + +# +# Linux Module Utilities +# +# CONFIG_MODINFO is not set +# CONFIG_MODPROBE_SMALL is not set +# CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE is not set +# CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set +CONFIG_INSMOD=y +CONFIG_RMMOD=y +CONFIG_LSMOD=y +# CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set +CONFIG_MODPROBE=y +CONFIG_FEATURE_MODPROBE_BLACKLIST=y +# CONFIG_DEPMOD is not set + +# +# Options common to multiple modutils +# +# CONFIG_FEATURE_2_4_MODULES is not set +# CONFIG_FEATURE_INSMOD_TRY_MMAP is not set +# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set +# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set +# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set +CONFIG_FEATURE_CHECK_TAINTED_MODULE=y +CONFIG_FEATURE_MODUTILS_ALIAS=y +CONFIG_FEATURE_MODUTILS_SYMBOLS=y +CONFIG_DEFAULT_MODULES_DIR="/lib/modules" +CONFIG_DEFAULT_DEPMOD_FILE="modules.dep" + +# +# Linux System Utilities +# +# CONFIG_BLOCKDEV is not set +# CONFIG_MDEV is not set +# CONFIG_FEATURE_MDEV_CONF is not set +# CONFIG_FEATURE_MDEV_RENAME is not set +# CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set +# CONFIG_FEATURE_MDEV_EXEC is not set +# CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set +# CONFIG_REV is not set +# CONFIG_ACPID is not set +# CONFIG_FEATURE_ACPID_COMPAT is not set +# CONFIG_BLKID is not set +# CONFIG_FEATURE_BLKID_TYPE is not set +CONFIG_DMESG=y +CONFIG_FEATURE_DMESG_PRETTY=y +CONFIG_FBSET=y +CONFIG_FEATURE_FBSET_FANCY=y +CONFIG_FEATURE_FBSET_READMODE=y +# CONFIG_FDFLUSH is not set +# CONFIG_FDFORMAT is not set +CONFIG_FDISK=y +# CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set +CONFIG_FEATURE_FDISK_WRITABLE=y +# CONFIG_FEATURE_AIX_LABEL is not set +# CONFIG_FEATURE_SGI_LABEL is not set +# CONFIG_FEATURE_SUN_LABEL is not set +# CONFIG_FEATURE_OSF_LABEL is not set +# CONFIG_FEATURE_GPT_LABEL is not set +# CONFIG_FEATURE_FDISK_ADVANCED is not set +# CONFIG_FINDFS is not set +CONFIG_FLOCK=y +# CONFIG_FREERAMDISK is not set +CONFIG_FSCK_MINIX=y +# CONFIG_MKFS_EXT2 is not set +CONFIG_MKFS_MINIX=y +CONFIG_FEATURE_MINIX2=y +# CONFIG_MKFS_REISER is not set +# CONFIG_MKFS_VFAT is not set +# CONFIG_GETOPT is not set +# CONFIG_FEATURE_GETOPT_LONG is not set +CONFIG_HEXDUMP=y +# CONFIG_FEATURE_HEXDUMP_REVERSE is not set +# CONFIG_HD is not set +CONFIG_HWCLOCK=y +CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS=y +CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y +# CONFIG_IPCRM is not set +# CONFIG_IPCS is not set +CONFIG_LOSETUP=y +# CONFIG_LSPCI is not set +# CONFIG_LSUSB is not set +CONFIG_MKSWAP=y +# CONFIG_FEATURE_MKSWAP_UUID is not set +CONFIG_MORE=y +CONFIG_MOUNT=y +# CONFIG_FEATURE_MOUNT_FAKE is not set +# CONFIG_FEATURE_MOUNT_VERBOSE is not set +# CONFIG_FEATURE_MOUNT_HELPERS is not set +# CONFIG_FEATURE_MOUNT_LABEL is not set +CONFIG_FEATURE_MOUNT_NFS=y +CONFIG_FEATURE_MOUNT_CIFS=y +CONFIG_FEATURE_MOUNT_FLAGS=y +CONFIG_FEATURE_MOUNT_FSTAB=y +CONFIG_PIVOT_ROOT=y +CONFIG_RDATE=y +# CONFIG_RDEV is not set +# CONFIG_READPROFILE is not set +# CONFIG_RTCWAKE is not set +# CONFIG_SCRIPT is not set +# CONFIG_SCRIPTREPLAY is not set +# CONFIG_SETARCH is not set +CONFIG_SWAPONOFF=y +CONFIG_FEATURE_SWAPON_PRI=y +CONFIG_SWITCH_ROOT=y +CONFIG_UMOUNT=y +CONFIG_FEATURE_UMOUNT_ALL=y + +# +# Common options for mount/umount +# +CONFIG_FEATURE_MOUNT_LOOP=y +CONFIG_FEATURE_MOUNT_LOOP_CREATE=y +# CONFIG_FEATURE_MTAB_SUPPORT is not set +# CONFIG_VOLUMEID is not set +# CONFIG_FEATURE_VOLUMEID_EXT is not set +# CONFIG_FEATURE_VOLUMEID_BTRFS is not set +# CONFIG_FEATURE_VOLUMEID_REISERFS is not set +# CONFIG_FEATURE_VOLUMEID_FAT is not set +# CONFIG_FEATURE_VOLUMEID_HFS is not set +# CONFIG_FEATURE_VOLUMEID_JFS is not set +# CONFIG_FEATURE_VOLUMEID_XFS is not set +# CONFIG_FEATURE_VOLUMEID_NTFS is not set +# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set +# CONFIG_FEATURE_VOLUMEID_UDF is not set +# CONFIG_FEATURE_VOLUMEID_LUKS is not set +# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set +# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set +# CONFIG_FEATURE_VOLUMEID_ROMFS is not set +# CONFIG_FEATURE_VOLUMEID_SYSV is not set +# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set +# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set + +# +# Miscellaneous Utilities +# +# CONFIG_CONSPY is not set +CONFIG_LESS=y +CONFIG_FEATURE_LESS_MAXLINES=9999999 +CONFIG_FEATURE_LESS_BRACKETS=y +CONFIG_FEATURE_LESS_FLAGS=y +# CONFIG_FEATURE_LESS_MARKS is not set +# CONFIG_FEATURE_LESS_REGEXP is not set +# CONFIG_FEATURE_LESS_WINCH is not set +# CONFIG_FEATURE_LESS_ASK_TERMINAL is not set +# CONFIG_FEATURE_LESS_DASHCMD is not set +# CONFIG_FEATURE_LESS_LINENUMS is not set +# CONFIG_NANDWRITE is not set +# CONFIG_NANDDUMP is not set +# CONFIG_SETSERIAL is not set +# CONFIG_UBIATTACH is not set +# CONFIG_UBIDETACH is not set +# CONFIG_UBIMKVOL is not set +# CONFIG_UBIRMVOL is not set +# CONFIG_UBIRSVOL is not set +# CONFIG_UBIUPDATEVOL is not set +# CONFIG_ADJTIMEX is not set +# CONFIG_BBCONFIG is not set +# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set +# CONFIG_BEEP is not set +CONFIG_FEATURE_BEEP_FREQ=0 +CONFIG_FEATURE_BEEP_LENGTH_MS=0 +# CONFIG_CHAT is not set +# CONFIG_FEATURE_CHAT_NOFAIL is not set +# CONFIG_FEATURE_CHAT_TTY_HIFI is not set +# CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set +# CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set +# CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set +# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set +# CONFIG_FEATURE_CHAT_CLR_ABORT is not set +# CONFIG_CHRT is not set +# CONFIG_CROND is not set +# CONFIG_FEATURE_CROND_D is not set +# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set +CONFIG_FEATURE_CROND_DIR="" +# CONFIG_CRONTAB is not set +CONFIG_DC=y +# CONFIG_FEATURE_DC_LIBM is not set +# CONFIG_DEVFSD is not set +# CONFIG_DEVFSD_MODLOAD is not set +# CONFIG_DEVFSD_FG_NP is not set +# CONFIG_DEVFSD_VERBOSE is not set +# CONFIG_FEATURE_DEVFS is not set +# CONFIG_DEVMEM is not set +# CONFIG_EJECT is not set +# CONFIG_FEATURE_EJECT_SCSI is not set +# CONFIG_FBSPLASH is not set +# CONFIG_FLASHCP is not set +# CONFIG_FLASH_LOCK is not set +# CONFIG_FLASH_UNLOCK is not set +# CONFIG_FLASH_ERASEALL is not set +# CONFIG_IONICE is not set +# CONFIG_INOTIFYD is not set +# CONFIG_LAST is not set +# CONFIG_FEATURE_LAST_SMALL is not set +# CONFIG_FEATURE_LAST_FANCY is not set +# CONFIG_HDPARM is not set +# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set +# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set +# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set +# CONFIG_MAKEDEVS is not set +# CONFIG_FEATURE_MAKEDEVS_LEAF is not set +# CONFIG_FEATURE_MAKEDEVS_TABLE is not set +# CONFIG_MAN is not set +CONFIG_MICROCOM=y +# CONFIG_MOUNTPOINT is not set +# CONFIG_MT is not set +# CONFIG_RAIDAUTORUN is not set +# CONFIG_READAHEAD is not set +CONFIG_RFKILL=y +# CONFIG_RUNLEVEL is not set +# CONFIG_RX is not set +# CONFIG_SETSID is not set +CONFIG_STRINGS=y +# CONFIG_TASKSET is not set +# CONFIG_FEATURE_TASKSET_FANCY is not set +CONFIG_TIME=y +# CONFIG_TIMEOUT is not set +# CONFIG_TTYSIZE is not set +# CONFIG_VOLNAME is not set +# CONFIG_WALL is not set +# CONFIG_WATCHDOG is not set + +# +# Networking Utilities +# +# CONFIG_NAMEIF is not set +# CONFIG_FEATURE_NAMEIF_EXTENDED is not set +# CONFIG_NBDCLIENT is not set +CONFIG_NC=y +# CONFIG_NC_SERVER is not set +# CONFIG_NC_EXTRA is not set +# CONFIG_NC_110_COMPAT is not set +CONFIG_PING=y +CONFIG_PING6=y +CONFIG_FEATURE_FANCY_PING=y +# CONFIG_WHOIS is not set +CONFIG_FEATURE_IPV6=y +# CONFIG_FEATURE_UNIX_LOCAL is not set +CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y +# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set +# CONFIG_ARP is not set +# CONFIG_ARPING is not set +# CONFIG_BRCTL is not set +# CONFIG_FEATURE_BRCTL_FANCY is not set +# CONFIG_FEATURE_BRCTL_SHOW is not set +# CONFIG_DNSD is not set +# CONFIG_ETHER_WAKE is not set +# CONFIG_FAKEIDENTD is not set +# CONFIG_FTPD is not set +# CONFIG_FEATURE_FTP_WRITE is not set +# CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set +# CONFIG_FTPGET is not set +# CONFIG_FTPPUT is not set +# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set +CONFIG_HOSTNAME=y +# CONFIG_HTTPD is not set +# CONFIG_FEATURE_HTTPD_RANGES is not set +# CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set +# CONFIG_FEATURE_HTTPD_SETUID is not set +# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set +# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set +# CONFIG_FEATURE_HTTPD_CGI is not set +# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set +# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set +# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set +# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set +# CONFIG_FEATURE_HTTPD_PROXY is not set +# CONFIG_FEATURE_HTTPD_GZIP is not set +CONFIG_IFCONFIG=y +CONFIG_FEATURE_IFCONFIG_STATUS=y +# CONFIG_FEATURE_IFCONFIG_SLIP is not set +# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set +CONFIG_FEATURE_IFCONFIG_HW=y +# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set +# CONFIG_IFENSLAVE is not set +CONFIG_IFPLUGD=y +CONFIG_IFUPDOWN=y +CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate" +# CONFIG_FEATURE_IFUPDOWN_IP is not set +# CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN is not set +CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN=y +CONFIG_FEATURE_IFUPDOWN_IPV4=y +CONFIG_FEATURE_IFUPDOWN_IPV6=y +CONFIG_FEATURE_IFUPDOWN_MAPPING=y +# CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP is not set +# CONFIG_INETD is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set +# CONFIG_FEATURE_INETD_RPC is not set +CONFIG_IP=y +CONFIG_FEATURE_IP_ADDRESS=y +CONFIG_FEATURE_IP_LINK=y +CONFIG_FEATURE_IP_ROUTE=y +CONFIG_FEATURE_IP_TUNNEL=y +# CONFIG_FEATURE_IP_RULE is not set +# CONFIG_FEATURE_IP_SHORT_FORMS is not set +# CONFIG_FEATURE_IP_RARE_PROTOCOLS is not set +# CONFIG_IPADDR is not set +# CONFIG_IPLINK is not set +# CONFIG_IPROUTE is not set +# CONFIG_IPTUNNEL is not set +# CONFIG_IPRULE is not set +# CONFIG_IPCALC is not set +# CONFIG_FEATURE_IPCALC_FANCY is not set +# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set +CONFIG_NETSTAT=y +# CONFIG_FEATURE_NETSTAT_WIDE is not set +# CONFIG_FEATURE_NETSTAT_PRG is not set +CONFIG_NSLOOKUP=y +# CONFIG_NTPD is not set +# CONFIG_FEATURE_NTPD_SERVER is not set +# CONFIG_PSCAN is not set +CONFIG_ROUTE=y +# CONFIG_SLATTACH is not set +# CONFIG_TCPSVD is not set +CONFIG_TELNET=y +# CONFIG_FEATURE_TELNET_TTYPE is not set +CONFIG_FEATURE_TELNET_AUTOLOGIN=y +# CONFIG_TELNETD is not set +# CONFIG_FEATURE_TELNETD_STANDALONE is not set +# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set +CONFIG_TFTP=y +# CONFIG_TFTPD is not set + +# +# Common options for tftp/tftpd +# +CONFIG_FEATURE_TFTP_GET=y +CONFIG_FEATURE_TFTP_PUT=y +# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set +# CONFIG_FEATURE_TFTP_PROGRESS_BAR is not set +# CONFIG_TFTP_DEBUG is not set +CONFIG_TRACEROUTE=y +# CONFIG_TRACEROUTE6 is not set +# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set +# CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set +# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set +# CONFIG_TUNCTL is not set +# CONFIG_FEATURE_TUNCTL_UG is not set +# CONFIG_UDHCPC6 is not set +CONFIG_UDHCPD=y +# CONFIG_DHCPRELAY is not set +CONFIG_DUMPLEASES=y +# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set +# CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC is not set +CONFIG_DHCPD_LEASES_FILE="/var/lib/misc/udhcpd.leases" +CONFIG_UDHCPC=y +CONFIG_FEATURE_UDHCPC_ARPING=y +# CONFIG_FEATURE_UDHCP_PORT is not set +CONFIG_UDHCP_DEBUG=0 +# CONFIG_FEATURE_UDHCP_RFC3397 is not set +# CONFIG_FEATURE_UDHCP_8021Q is not set +CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" +CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +# CONFIG_UDPSVD is not set +# CONFIG_VCONFIG is not set +CONFIG_WGET=y +CONFIG_FEATURE_WGET_STATUSBAR=y +CONFIG_FEATURE_WGET_AUTHENTICATION=y +CONFIG_FEATURE_WGET_LONG_OPTIONS=y +CONFIG_FEATURE_WGET_TIMEOUT=y +# CONFIG_ZCIP is not set + +# +# Print Utilities +# +# CONFIG_LPD is not set +# CONFIG_LPR is not set +# CONFIG_LPQ is not set + +# +# Mail Utilities +# +# CONFIG_MAKEMIME is not set +CONFIG_FEATURE_MIME_CHARSET="" +# CONFIG_POPMAILDIR is not set +# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set +# CONFIG_REFORMIME is not set +# CONFIG_FEATURE_REFORMIME_COMPAT is not set +# CONFIG_SENDMAIL is not set + +# +# Process Utilities +# +# CONFIG_IOSTAT is not set +# CONFIG_LSOF is not set +# CONFIG_MPSTAT is not set +# CONFIG_NMETER is not set +# CONFIG_PMAP is not set +# CONFIG_POWERTOP is not set +# CONFIG_PSTREE is not set +# CONFIG_PWDX is not set +# CONFIG_SMEMCAP is not set +CONFIG_UPTIME=y +# CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set +CONFIG_FREE=y +CONFIG_FUSER=y +CONFIG_KILL=y +CONFIG_KILLALL=y +# CONFIG_KILLALL5 is not set +# CONFIG_PGREP is not set +CONFIG_PIDOF=y +# CONFIG_FEATURE_PIDOF_SINGLE is not set +# CONFIG_FEATURE_PIDOF_OMIT is not set +# CONFIG_PKILL is not set +CONFIG_PS=y +CONFIG_FEATURE_PS_WIDE=y +CONFIG_FEATURE_PS_LONG=y +# CONFIG_FEATURE_PS_TIME is not set +# CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS is not set +# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set +CONFIG_RENICE=y +CONFIG_BB_SYSCTL=y +CONFIG_TOP=y +CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y +CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y +# CONFIG_FEATURE_TOP_SMP_CPU is not set +# CONFIG_FEATURE_TOP_DECIMALS is not set +# CONFIG_FEATURE_TOP_SMP_PROCESS is not set +# CONFIG_FEATURE_TOPMEM is not set +# CONFIG_FEATURE_SHOW_THREADS is not set +CONFIG_WATCH=y + +# +# Runit Utilities +# +# CONFIG_RUNSV is not set +# CONFIG_RUNSVDIR is not set +# CONFIG_FEATURE_RUNSVDIR_LOG is not set +# CONFIG_SV is not set +CONFIG_SV_DEFAULT_SERVICE_DIR="" +# CONFIG_SVLOGD is not set +# CONFIG_CHPST is not set +# CONFIG_SETUIDGID is not set +# CONFIG_ENVUIDGID is not set +# CONFIG_ENVDIR is not set +# CONFIG_SOFTLIMIT is not set +# CONFIG_CHCON is not set +# CONFIG_FEATURE_CHCON_LONG_OPTIONS is not set +# CONFIG_GETENFORCE is not set +# CONFIG_GETSEBOOL is not set +# CONFIG_LOAD_POLICY is not set +# CONFIG_MATCHPATHCON is not set +# CONFIG_RESTORECON is not set +# CONFIG_RUNCON is not set +# CONFIG_FEATURE_RUNCON_LONG_OPTIONS is not set +# CONFIG_SELINUXENABLED is not set +# CONFIG_SETENFORCE is not set +# CONFIG_SETFILES is not set +# CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set +# CONFIG_SETSEBOOL is not set +# CONFIG_SESTATUS is not set + +# +# Shells +# +CONFIG_ASH=y +CONFIG_ASH_BASH_COMPAT=y +# CONFIG_ASH_IDLE_TIMEOUT is not set +CONFIG_ASH_JOB_CONTROL=y +CONFIG_ASH_ALIAS=y +CONFIG_ASH_GETOPTS=y +CONFIG_ASH_BUILTIN_ECHO=y +CONFIG_ASH_BUILTIN_PRINTF=y +CONFIG_ASH_BUILTIN_TEST=y +# CONFIG_ASH_CMDCMD is not set +# CONFIG_ASH_MAIL is not set +CONFIG_ASH_OPTIMIZE_FOR_SIZE=y +# CONFIG_ASH_RANDOM_SUPPORT is not set +CONFIG_ASH_EXPAND_PRMT=y +# CONFIG_CTTYHACK is not set +# CONFIG_HUSH is not set +# CONFIG_HUSH_BASH_COMPAT is not set +# CONFIG_HUSH_BRACE_EXPANSION is not set +# CONFIG_HUSH_HELP is not set +# CONFIG_HUSH_INTERACTIVE is not set +# CONFIG_HUSH_SAVEHISTORY is not set +# CONFIG_HUSH_JOB is not set +# CONFIG_HUSH_TICK is not set +# CONFIG_HUSH_IF is not set +# CONFIG_HUSH_LOOPS is not set +# CONFIG_HUSH_CASE is not set +# CONFIG_HUSH_FUNCTIONS is not set +# CONFIG_HUSH_LOCAL is not set +# CONFIG_HUSH_RANDOM_SUPPORT is not set +# CONFIG_HUSH_EXPORT_N is not set +# CONFIG_HUSH_MODE_X is not set +# CONFIG_MSH is not set +CONFIG_FEATURE_SH_IS_ASH=y +# CONFIG_FEATURE_SH_IS_HUSH is not set +# CONFIG_FEATURE_SH_IS_NONE is not set +# CONFIG_FEATURE_BASH_IS_ASH is not set +# CONFIG_FEATURE_BASH_IS_HUSH is not set +CONFIG_FEATURE_BASH_IS_NONE=y +CONFIG_SH_MATH_SUPPORT=y +# CONFIG_SH_MATH_SUPPORT_64 is not set +CONFIG_FEATURE_SH_EXTRA_QUIET=y +# CONFIG_FEATURE_SH_STANDALONE is not set +# CONFIG_FEATURE_SH_NOFORK is not set +CONFIG_FEATURE_SH_HISTFILESIZE=y + +# +# System Logging Utilities +# +CONFIG_SYSLOGD=y +CONFIG_FEATURE_ROTATE_LOGFILE=y +CONFIG_FEATURE_REMOTE_LOG=y +CONFIG_FEATURE_SYSLOGD_DUP=y +CONFIG_FEATURE_SYSLOGD_CFG=y +CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=256 +CONFIG_FEATURE_IPC_SYSLOG=y +CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16 +CONFIG_LOGREAD=y +CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y +CONFIG_KLOGD=y +CONFIG_FEATURE_KLOGD_KLOGCTL=y +CONFIG_LOGGER=y diff --git a/recipes-core/busybox/busybox_sysmocom.inc b/recipes-core/busybox/busybox_sysmocom.inc index 32eb10762a..9691f30612 100644 --- a/recipes-core/busybox/busybox_sysmocom.inc +++ b/recipes-core/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" -FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" -PRINC = "15" +FILESEXTRAPATHS_prepend := "${SYSMOCOM}/busybox-${SYSMOCOM_ORIG_PV}:${SYSMOCOM}/files:" +PRINC = "18" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/yocto-edison/busybox_1.18.5.bbappend b/yocto-edison/busybox_1.18.5.bbappend index 28215361ad..1d33444ef1 100644 --- a/yocto-edison/busybox_1.18.5.bbappend +++ b/yocto-edison/busybox_1.18.5.bbappend @@ -1 +1,3 @@ +# PN/PV are wrong inside the .inc file with 1.19.1 +SYSMOCOM_ORIG_PV := "${PV}" require recipes-core/busybox/${PN}_sysmocom.inc diff --git a/yocto-master/busybox_1.21.1.bbappend b/yocto-master/busybox_1.21.1.bbappend index 3135d224ad..641aeb3c75 100644 --- a/yocto-master/busybox_1.21.1.bbappend +++ b/yocto-master/busybox_1.21.1.bbappend @@ -1,2 +1,4 @@ +# PN/PV are wrong inside the .inc file with 1.19.1 +SYSMOCOM_ORIG_PV := "${PV}" require recipes-core/busybox/${PN}_sysmocom.inc require recipes-core/busybox/${PN}_sysmocom_systemd.inc From f688f03b7a0e6ff079515cbea0ee64230411deeb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 14 Sep 2012 13:45:40 +0800 Subject: [PATCH 206/908] linux-sysmocom: Allow to use systemd on the sysmobts v1, v2 and sysmoBSC --- recipes-bsp/linux/files/sysmobts-v1/defconfig | 11 ++++++++++- recipes-bsp/linux/files/sysmobts-v2/defconfig | 15 +++++++++++++-- recipes-bsp/linux/files/sysmocom-bsc/defconfig | 11 ++++++++++- 3 files changed, 33 insertions(+), 4 deletions(-) diff --git a/recipes-bsp/linux/files/sysmobts-v1/defconfig b/recipes-bsp/linux/files/sysmobts-v1/defconfig index 5609fd3b88..c632b7c8e2 100644 --- a/recipes-bsp/linux/files/sysmobts-v1/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v1/defconfig @@ -75,7 +75,16 @@ CONFIG_PREEMPT_RCU=y CONFIG_IKCONFIG=m CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_CGROUPS is not set +CONFIG_CGROUPS=y +# CONFIG_CGROUP_DEBUG is not set +# CONFIG_CGROUP_FREEZER is not set +# CONFIG_CGROUP_DEVICE is not set +# CONFIG_CPUSETS is not set +# CONFIG_CGROUP_CPUACCT is not set +# CONFIG_RESOURCE_COUNTERS is not set +# CONFIG_CGROUP_PERF is not set +# CONFIG_CGROUP_SCHED is not set +# CONFIG_BLK_CGROUP is not set # CONFIG_NAMESPACES is not set # CONFIG_SCHED_AUTOGROUP is not set # CONFIG_SYSFS_DEPRECATED is not set diff --git a/recipes-bsp/linux/files/sysmobts-v2/defconfig b/recipes-bsp/linux/files/sysmobts-v2/defconfig index 786d14c00b..14692c865a 100644 --- a/recipes-bsp/linux/files/sysmobts-v2/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v2/defconfig @@ -75,7 +75,16 @@ CONFIG_PREEMPT_RCU=y CONFIG_IKCONFIG=m CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_CGROUPS is not set +CONFIG_CGROUPS=y +# CONFIG_CGROUP_DEBUG is not set +# CONFIG_CGROUP_FREEZER is not set +# CONFIG_CGROUP_DEVICE is not set +# CONFIG_CPUSETS is not set +# CONFIG_CGROUP_CPUACCT is not set +# CONFIG_RESOURCE_COUNTERS is not set +# CONFIG_CGROUP_PERF is not set +# CONFIG_CGROUP_SCHED is not set +# CONFIG_BLK_CGROUP is not set # CONFIG_NAMESPACES is not set # CONFIG_SCHED_AUTOGROUP is not set # CONFIG_SYSFS_DEPRECATED is not set @@ -710,6 +719,7 @@ CONFIG_NET_CLS_U32=m # CONFIG_NET_CLS_RSVP is not set # CONFIG_NET_CLS_RSVP6 is not set # CONFIG_NET_CLS_FLOW is not set +# CONFIG_NET_CLS_CGROUP is not set # CONFIG_NET_EMATCH is not set # CONFIG_NET_CLS_ACT is not set # CONFIG_NET_CLS_IND is not set @@ -742,7 +752,8 @@ CONFIG_NET_SCH_FIFO=y # Generic Driver Options # CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" -# CONFIG_DEVTMPFS is not set +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y # CONFIG_STANDALONE is not set # CONFIG_PREVENT_FIRMWARE_BUILD is not set CONFIG_FW_LOADER=y diff --git a/recipes-bsp/linux/files/sysmocom-bsc/defconfig b/recipes-bsp/linux/files/sysmocom-bsc/defconfig index c63d880ae9..bd36385f48 100644 --- a/recipes-bsp/linux/files/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/files/sysmocom-bsc/defconfig @@ -109,7 +109,16 @@ CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=14 CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y -# CONFIG_CGROUPS is not set +CONFIG_CGROUPS=y +# CONFIG_CGROUP_DEBUG is not set +# CONFIG_CGROUP_FREEZER is not set +# CONFIG_CGROUP_DEVICE is not set +# CONFIG_CPUSETS is not set +# CONFIG_CGROUP_CPUACCT is not set +# CONFIG_RESOURCE_COUNTERS is not set +# CONFIG_CGROUP_PERF is not set +# CONFIG_CGROUP_SCHED is not set +# CONFIG_BLK_CGROUP is not set # CONFIG_NAMESPACES is not set # CONFIG_SCHED_AUTOGROUP is not set # CONFIG_SYSFS_DEPRECATED is not set From 71b2d700c79349ebab8c60eab41b09f636af1fcf Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 17 Jul 2013 08:20:10 +0200 Subject: [PATCH 207/908] linux-sysmocom: Catch up with a newer version of Linux This is 3.2.48 and we apply two additional patches for GCC 4.7.2+ and the usage of memset in the kernel. --- recipes-bsp/linux/linux-sysmocom_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 218086afff..51441b4076 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -1,7 +1,7 @@ inherit kernel require linux-sysmocom.inc -LINUX_VERSION ?= "3.2.40" +LINUX_VERSION ?= "3.2.48" LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}" # Overrides for the sysmocom bts v1 @@ -11,7 +11,7 @@ BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1" BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" -SRCREV = "996c4d772886fa81ffa5d2d971ef88e6da41e115" +SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" PR = "r31" PV = "${LINUX_VERSION}+git${SRCPV}" From ccd50b5dbe8c641592dbe768cd45a3426e83a5e0 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Thu, 18 Jul 2013 14:49:05 +0200 Subject: [PATCH 208/908] 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 --- conf/machine/include/sysmobts.inc | 1 + recipes-bsp/linux/files/sysmobts-v2/defconfig | 6 +- recipes-bsp/linux/linux-sysmocom_3.2.bb | 56 +++++++++++++++++++ recipes-bsp/linux/linux-sysmocom_git.bb | 14 +++-- 4 files changed, 70 insertions(+), 7 deletions(-) create mode 100644 recipes-bsp/linux/linux-sysmocom_3.2.bb diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index b0f609cd97..e3240b82e9 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -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" diff --git a/recipes-bsp/linux/files/sysmobts-v2/defconfig b/recipes-bsp/linux/files/sysmobts-v2/defconfig index 14692c865a..a4109aa7ce 100644 --- a/recipes-bsp/linux/files/sysmobts-v2/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v2/defconfig @@ -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 diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb new file mode 100644 index 0000000000..51441b4076 --- /dev/null +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -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" diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 51441b4076..7ef8427629 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -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)" From 37ae8d11b7f1908fb79d60118459ce2fef6d2243 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 18 Jul 2013 17:22:04 +0200 Subject: [PATCH 209/908] sysmocom-image: Add package-management as IMAGE_FEATURES In post edison we will need to ask the package class to not throw away the /var/lib/opkg directory with the state of installed packages. --- recipes-apps/images/sysmocom-image.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-apps/images/sysmocom-image.inc b/recipes-apps/images/sysmocom-image.inc index 70baeb6766..3dc073fcc1 100644 --- a/recipes-apps/images/sysmocom-image.inc +++ b/recipes-apps/images/sysmocom-image.inc @@ -1,6 +1,7 @@ DEPENDS = "${MACHINE_EXTRA_RDEPENDS}" IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools ${MACHINE_EXTRA_RDEPENDS} " IMAGE_LINGUAS = " " +IMAGE_FEATURES += " package-management " LICENSE = "MIT" inherit core-image From 6ed3f9adf54a829eb96869c90132b1922797576e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 3 Dec 2013 15:38:58 +0100 Subject: [PATCH 210/908] osmo-pcu: Build my latest testing version of the PCU --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 7e8dafb33a..80cc3189f0 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly_merge" -SRCREV = "bc1626e5de38d7efbea272596d0ec5cc37f4b424" +SRCREV = "72febb9d7492c95bf428f150fb409ad18c4fcf03" PV = "0.2+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From f5badb8b9ecea65c342368da4371879500185e50 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 3 Dec 2013 17:38:42 +0100 Subject: [PATCH 211/908] linux-sysmocom: workaround for edison, which derives git${SRCPV} from local bb_persist_data --- conf/machine/include/sysmobts.inc | 2 +- recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 ++ recipes-bsp/linux/linux-sysmocom_git.bb | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index e3240b82e9..73cb0ad7e3 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -1,7 +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_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.7+gitAUTOINC+a1a9f198c2'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" PREFERRED_VERSION_u-boot = "git" diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index 51441b4076..bc73a7f907 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -54,3 +54,5 @@ 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" + +DEFAULT_PREFERENCE = "20" diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 7ef8427629..38de13bc36 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -58,3 +58,5 @@ 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" + +DEFAULT_PREFERENCE = "-1" From 7bfc02130ff66e43a1cb2ab18aebbe1220e91334 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Wed, 11 Dec 2013 17:44:01 +0100 Subject: [PATCH 212/908] busybox-syslog: unify configuration place of systemd und sysvinit scripts for dora * systemd has no way to set flexible enviroment variables, though setting or dropping variables based on other settings is not possible * EnvironmentFile option in systemd can only have name value pairs no logic * Best solution for this problem found at http://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg05091.html using a shell before starting the service * move the parameter logic from sysvinit startup file to syslog-startup.conf and source syslog-startup.conf from the busybox-syslog default file * /etc/syslog-startup.conf is now the only config file * works with bash and busybox-shell * bump PRINC --- .../busybox-systemd/busybox-syslog.default | 2 + .../busybox-systemd/busybox-syslog.service.in | 12 +++++ recipes-core/busybox/busybox-systemd/syslog | 44 +++++++++++++++ .../busybox-systemd/syslog-startup.conf | 54 +++++++++++++++---- recipes-core/busybox/busybox_sysmocom.inc | 2 +- 5 files changed, 104 insertions(+), 10 deletions(-) create mode 100644 recipes-core/busybox/busybox-systemd/busybox-syslog.default create mode 100644 recipes-core/busybox/busybox-systemd/busybox-syslog.service.in create mode 100644 recipes-core/busybox/busybox-systemd/syslog diff --git a/recipes-core/busybox/busybox-systemd/busybox-syslog.default b/recipes-core/busybox/busybox-systemd/busybox-syslog.default new file mode 100644 index 0000000000..cbc475915d --- /dev/null +++ b/recipes-core/busybox/busybox-systemd/busybox-syslog.default @@ -0,0 +1,2 @@ +# source the sysvinit configuration file +. /etc/syslog-startup.conf diff --git a/recipes-core/busybox/busybox-systemd/busybox-syslog.service.in b/recipes-core/busybox/busybox-systemd/busybox-syslog.service.in new file mode 100644 index 0000000000..7e524ca792 --- /dev/null +++ b/recipes-core/busybox/busybox-systemd/busybox-syslog.service.in @@ -0,0 +1,12 @@ +[Unit] +Description=System Logging Service +Wants=busybox-klogd.service + +[Service] +ExecStart=/bin/sh -c '. /etc/default/busybox-syslog; exec @base_sbindir@/syslogd -n $SYSLOG_ARGS +Sockets=syslog.socket + +[Install] +WantedBy=multi-user.target +Also=busybox-klogd.service +Alias=syslog.service diff --git a/recipes-core/busybox/busybox-systemd/syslog b/recipes-core/busybox/busybox-systemd/syslog new file mode 100644 index 0000000000..6d9663fd1b --- /dev/null +++ b/recipes-core/busybox/busybox-systemd/syslog @@ -0,0 +1,44 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: sysklogd +# Required-Start: $remote_fs $time +# Required-Stop: $remote_fs $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: System logger +### END INIT INFO + +set -e + +if [ -f /etc/syslog-startup.conf ]; then + . /etc/syslog-startup.conf + +else + # default: log to 16K shm circular buffer + SYSLOG_ARGS="-C" +fi + +case "$1" in + start) + echo -n "Starting syslogd/klogd: " + start-stop-daemon -S -b -n syslogd -a /sbin/syslogd -- -n $SYSLOG_ARGS + start-stop-daemon -S -b -n klogd -a /sbin/klogd -- -n + echo "done" + ;; + stop) + echo -n "Stopping syslogd/klogd: " + start-stop-daemon -K -n syslogd + start-stop-daemon -K -n klogd + echo "done" + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "Usage: syslog { start | stop | restart }" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/recipes-core/busybox/busybox-systemd/syslog-startup.conf b/recipes-core/busybox/busybox-systemd/syslog-startup.conf index b434291af3..d252934221 100644 --- a/recipes-core/busybox/busybox-systemd/syslog-startup.conf +++ b/recipes-core/busybox/busybox-systemd/syslog-startup.conf @@ -1,10 +1,46 @@ # sysmocom default configuration for systemd -DESTINATION="buffer" # log destinations (buffer file remote) -MARKINT=20 # intervall between --mark-- entries -LOGFILE=/var/log/messages # where to log (file) -REMOTE=loghost:514 # where to log (syslog remote) -REDUCE=no # reduce-size logging -#ROTATESIZE=0 # rotate log if grown beyond X [kByte] (incompatible with busybox) -#ROTATEGENS=3 # keep X generations of rotated logs (incompatible with busybox) -BUFFERSIZE=64 # size of circular buffer [kByte] -FOREGROUND=no # run in foreground (don't use!) +DESTINATION="buffer" # log destinations (buffer file remote) +MARKINT=20 # intervall between --mark-- entries +LOGFILE=/var/log/messages # where to log (file) +REMOTE=loghost:514 # where to log (syslog remote) +REDUCE=no # reduce-size logging +#ROTATESIZE=0 # rotate log if grown beyond X [kByte] (incompatible with busybox) +#ROTATEGENS=3 # keep X generations of rotated logs (incompatible with busybox) +BUFFERSIZE=64 # size of circular buffer [kByte] +FOREGROUND=no # run in foreground (don't use!) + +LOG_LOCAL=0 +LOG_REMOTE=0 +for D in $DESTINATION; do + if [ "$D" = "buffer" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -C$BUFFERSIZE" + LOG_LOCAL=1 + elif [ "$D" = "file" ]; then + if [ -n "$LOGFILE" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -O $LOGFILE" + fi + if [ -n "$ROTATESIZE" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -s $ROTATESIZE" + fi + if [ -n "$ROTATEGENS" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -b $ROTATEGENS" + fi + LOCAL=0 + elif [ "$D" = "remote" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -R $REMOTE" + LOG_REMOTE=1 + fi +done + +if [ "$LOG_LOCAL" = "1" -a "$LOG_REMOTE" = "1" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -L" +fi +if [ "$REDUCE" = "yes" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -S" +fi +if [ "$DROPDUPLICATES" = "yes" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -D" +fi +if [ -n "$LOGLEVEL" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -l $LOGLEVEL" +fi diff --git a/recipes-core/busybox/busybox_sysmocom.inc b/recipes-core/busybox/busybox_sysmocom.inc index 9691f30612..9b645626a3 100644 --- a/recipes-core/busybox/busybox_sysmocom.inc +++ b/recipes-core/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/busybox-${SYSMOCOM_ORIG_PV}:${SYSMOCOM}/files:" -PRINC = "18" +PRINC = "19" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" From 6d12c623fccd122a1cd2996e7714648130799da9 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Wed, 11 Dec 2013 19:51:31 +0100 Subject: [PATCH 213/908] busybox: backport the ifplugd-larger-buffer patch for kernel 3.9 and above To use the busybox-ipflugd a larger buffer for netdev messages is needed. This is orginal patch from http://git.busybox.net/busybox/commit/networking/ifplugd.c?id=da331d779c19d7d5d4ef05152ee467d617913a01 which is needed until a new busybox version is released. This commit only is only relevant to the dora release of poky. * bump PRINC --- .../ifplugd-use-a-larger-netlink-buffer.patch | 62 +++++++++++++++++++ recipes-core/busybox/busybox_sysmocom.inc | 2 +- .../busybox/busybox_sysmocom_systemd.inc | 2 + 3 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 recipes-core/busybox/busybox-1.21.1/ifplugd-use-a-larger-netlink-buffer.patch diff --git a/recipes-core/busybox/busybox-1.21.1/ifplugd-use-a-larger-netlink-buffer.patch b/recipes-core/busybox/busybox-1.21.1/ifplugd-use-a-larger-netlink-buffer.patch new file mode 100644 index 0000000000..a0670a54f1 --- /dev/null +++ b/recipes-core/busybox/busybox-1.21.1/ifplugd-use-a-larger-netlink-buffer.patch @@ -0,0 +1,62 @@ +Upstream-Status: Backport +Signed-off-by: Henning Heinold + +From da331d779c19d7d5d4ef05152ee467d617913a01 Mon Sep 17 00:00:00 2001 +From: Tito Ragusa +Date: Sun, 4 Aug 2013 18:08:40 +0200 +Subject: [PATCH 001/104] ifplugd: use a larger netlink buffer + +function old new delta +check_existence_through_netlink 310 321 +11 + +Signed-off-by: Tito Ragusa +Signed-off-by: Denys Vlasenko +--- + networking/ifplugd.c | 14 ++++++++++---- + 1 file changed, 10 insertions(+), 4 deletions(-) + +diff --git a/networking/ifplugd.c b/networking/ifplugd.c +index 3cdc2c9..b578f4c 100644 +--- a/networking/ifplugd.c ++++ b/networking/ifplugd.c +@@ -451,20 +451,24 @@ static smallint detect_link(void) + static NOINLINE int check_existence_through_netlink(void) + { + int iface_len; +- char replybuf[1024]; ++ /* Buffer was 1K, but on linux-3.9.9 it was reported to be too small. ++ * netlink.h: "limit to 8K to avoid MSG_TRUNC when PAGE_SIZE is very large". ++ * Note: on error returns (-1) we exit, no need to free replybuf. ++ */ ++ enum { BUF_SIZE = 8 * 1024 }; ++ char *replybuf = xmalloc(BUF_SIZE); + + iface_len = strlen(G.iface); + while (1) { + struct nlmsghdr *mhdr; + ssize_t bytes; + +- bytes = recv(netlink_fd, &replybuf, sizeof(replybuf), MSG_DONTWAIT); ++ bytes = recv(netlink_fd, replybuf, BUF_SIZE, MSG_DONTWAIT); + if (bytes < 0) { + if (errno == EAGAIN) +- return G.iface_exists; ++ goto ret; + if (errno == EINTR) + continue; +- + bb_perror_msg("netlink: recv"); + return -1; + } +@@ -507,6 +511,8 @@ static NOINLINE int check_existence_through_netlink(void) + } + } + ++ ret: ++ free(replybuf); + return G.iface_exists; + } + +-- +1.7.10.4 + diff --git a/recipes-core/busybox/busybox_sysmocom.inc b/recipes-core/busybox/busybox_sysmocom.inc index 9b645626a3..b846a2de4b 100644 --- a/recipes-core/busybox/busybox_sysmocom.inc +++ b/recipes-core/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/busybox-${SYSMOCOM_ORIG_PV}:${SYSMOCOM}/files:" -PRINC = "19" +PRINC = "20" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/recipes-core/busybox/busybox_sysmocom_systemd.inc b/recipes-core/busybox/busybox_sysmocom_systemd.inc index 03460c1b46..f0bd7c91bd 100644 --- a/recipes-core/busybox/busybox_sysmocom_systemd.inc +++ b/recipes-core/busybox/busybox_sysmocom_systemd.inc @@ -2,3 +2,5 @@ SYSMOCOM_D := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-systemd:${SYSMOCOM_D}/${PN}:" PRINC := "${@int(PRINC) + 2}" + +SRC_URI += "file://ifplugd-use-a-larger-netlink-buffer.patch" From b0703d444038ba73f92f4eacf5dd46d1e59034a7 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 17 Dec 2013 16:44:05 +0100 Subject: [PATCH 214/908] linux-sysmocom: update dora to kernel version 3.10.24/commit 1df50cd88f6923db5705d28bbfa63a28d8d6bd66 * seems to fix the update-alternatives error when we saw, when updating busybox * Fixes:SYS#184 --- conf/machine/include/sysmobts.inc | 2 +- recipes-bsp/linux/linux-sysmocom_git.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index 73cb0ad7e3..4e4f90100d 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -1,7 +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','')])[d.getVar('DISTRO_VERSION', True)]}" +PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.24+gitAUTOINC+1df50cd88f'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" PREFERRED_VERSION_u-boot = "git" diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 38de13bc36..df6f7b9dbd 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -1,7 +1,7 @@ inherit kernel require linux-sysmocom.inc -LINUX_VERSION ?= "3.10.7" +LINUX_VERSION ?= "3.10.24" LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}" # Overrides for the sysmocom bts v1 @@ -12,7 +12,7 @@ BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" # at versions changes do not forget to update conf/machine/include/sysmobts.inc too -SRCREV = "a1a9f198c27c6e10cd6d5e5d18f2534cc7d6accd" +SRCREV = "1df50cd88f6923db5705d28bbfa63a28d8d6bd66" PR = "r31.3" PV = "${LINUX_VERSION}+git${SRCPV}" From 6c18f2de6cf0c7ed29e2030ced050b88ad86dd0d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 20 Dec 2013 14:11:20 +0100 Subject: [PATCH 215/908] misc: Use BBFILES += instead of an immediate assignment Layers coming after us are forced to expand the DISTRO_VERSION before it has been set. Fix that by using += instead of an immediate assignment. --- conf/layer.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/layer.conf b/conf/layer.conf index 3a4d1ed6e9..f93698ce25 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -2,11 +2,11 @@ BBPATH := "${BBPATH}:${LAYERDIR}" # We have a packages directory, add to BBFILES -BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" -BBFILES := "${BBFILES} ${LAYERDIR}/yocto-shared/*.bbappend" +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" +BBFILES += "${LAYERDIR}/yocto-shared/*.bbappend" # Now we will need to include the matching fixes for a yocto version -BBFILES := "${BBFILES} ${BBFILES_SYSMOCOM_BSP}" +BBFILES += "${BBFILES_SYSMOCOM_BSP}" # selects specific distro or master when DISTRO_VERSION contains SNAPSHOT BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5','dora'), ('1.1.2','edison')])[d.getVar('DISTRO_VERSION', True)], 'master']['SNAPSHOT' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" From 00ab996862b44d3e4c556b2c04c85723fa969d74 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 20 Dec 2013 14:12:10 +0100 Subject: [PATCH 216/908] sdk: Put the femto BTS headers into the SDK as well We require these header files to re-build the osmo-bts software. --- yocto-shared/task-core-standalone-osmo-sdk-target.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 yocto-shared/task-core-standalone-osmo-sdk-target.bbappend diff --git a/yocto-shared/task-core-standalone-osmo-sdk-target.bbappend b/yocto-shared/task-core-standalone-osmo-sdk-target.bbappend new file mode 100644 index 0000000000..9a4101fa09 --- /dev/null +++ b/yocto-shared/task-core-standalone-osmo-sdk-target.bbappend @@ -0,0 +1 @@ +SDK-OSMO_append = "femtobts-api-dev" From 7b24b69422b1910beb4620540543297b8dc37bd1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 20 Dec 2013 14:23:08 +0100 Subject: [PATCH 217/908] sdk: And bump the global PR for edison --- yocto-shared/task-core-standalone-osmo-sdk-target.bbappend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yocto-shared/task-core-standalone-osmo-sdk-target.bbappend b/yocto-shared/task-core-standalone-osmo-sdk-target.bbappend index 9a4101fa09..446a22e2d0 100644 --- a/yocto-shared/task-core-standalone-osmo-sdk-target.bbappend +++ b/yocto-shared/task-core-standalone-osmo-sdk-target.bbappend @@ -1 +1,3 @@ SDK-OSMO_append = "femtobts-api-dev" + +PRINC = "1" From d6572a4b3cc95237b2f34ffa2b4d136fff81d543 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 17 Dec 2013 19:42:58 +0100 Subject: [PATCH 218/908] osmo-pcu: add systemd support The systemd-service-file was added to sysmocom/master branch so use that. --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 80cc3189f0..ea23a00746 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -2,9 +2,9 @@ DESCRIPTION = "Osmocom PCU for sysmoBTS" LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=jolly_merge" -SRCREV = "72febb9d7492c95bf428f150fb409ad18c4fcf03" -PV = "0.2+git${SRCPV}" +SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=sysmocom/master" +SRCREV = "c92b964e2dec76397329e9005ca277466867cbc6" +PV = "0.3+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" @@ -21,3 +21,11 @@ inherit autotools_stage inherit femtobts_api CPPFLAGS += " ${BTS_HW_VERSION} " +do_install_append() { + # Install systemd and enable on sysinit + install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/ + install -m 0644 ${S}/contrib/sysmopcu.service ${D}${systemd_unitdir}/system/ + ln -sf ../sysmopcu.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ +} + +FILES_${PN} += "${systemd_unitdir}" From 27f0ed2dc59428b352e1fe8a85c6a279a1cbf8bc Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 8 Jan 2014 10:59:55 +0100 Subject: [PATCH 219/908] osmo-pcu: Update to the latest sysmocom/master version as of today --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index ea23a00746..7840279157 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=sysmocom/master" -SRCREV = "c92b964e2dec76397329e9005ca277466867cbc6" +SRCREV = "705653b2d71b7bd9eefc260effc22c6030b16bb1" PV = "0.3+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From f0c0ed9f6c0704eeb67de2e47f0c4ddebefd43ec Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 7 Jan 2014 18:30:39 +0100 Subject: [PATCH 220/908] systemd: disable journald completely * mask journald.service and socket in postinst * change syslog.socket to observe /dev/log * bump PRINC to 17 --- ...istenDatagram-from-run-systemd-journ.patch | 28 +++++++++++++++++++ recipes-fixes/systemd/systemd_sysmocom.inc | 10 +++++-- 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 recipes-fixes/systemd/systemd/0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch diff --git a/recipes-fixes/systemd/systemd/0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch b/recipes-fixes/systemd/systemd/0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch new file mode 100644 index 0000000000..d5c2f534f0 --- /dev/null +++ b/recipes-fixes/systemd/systemd/0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch @@ -0,0 +1,28 @@ +From 3b23969111d548addd80710defc65b0430e697b1 Mon Sep 17 00:00:00 2001 +From: Henning Heinold +Date: Tue, 7 Jan 2014 18:26:47 +0100 +Subject: [PATCH] [Feature]: switch ListenDatagram from + run/systemd/journal/syslog to /dev/log + +--- + units/syslog.socket | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/units/syslog.socket b/units/syslog.socket +index e6e9cf8..d233380 100644 +--- a/units/syslog.socket ++++ b/units/syslog.socket +@@ -16,7 +16,9 @@ Before=sockets.target shutdown.target + Conflicts=shutdown.target + + [Socket] +-ListenDatagram=/run/systemd/journal/syslog ++# sysmocom: we disabled journald completely, but we need one socket-service to listen on /dev/log for ++# automatic restart of the busybox-syslogd in error case ++ListenDatagram=/dev/log + SocketMode=0666 + PassCredentials=yes + PassSecurity=yes +-- +1.7.10.4 + diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index a179f8db6b..484d2752af 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -1,9 +1,11 @@ S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" -PRINC="16" +PRINC="17" -SRC_URI += "file://journald.conf" +SRC_URI += "file://journald.conf \ + file://0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch \ + " SRC_URI_append_sysmobts-v1 = " file://system.conf" SRC_URI_append_sysmobts-v2 = " file://system.conf" @@ -33,6 +35,10 @@ pkg_postinst_${PN}_append () { echo -n "$i: " ; systemctl ${OPTS} mask $i.service fi done ; echo + + # disable journald because its using to much cpu under stress logging + systemctl ${OPTS} mask systemd-journald.socket + systemctl ${OPTS} mask systemd-journald.service } do_install_append() { From 5227148e4ae5b19ded0973ec39398818057c9883 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 20 Jan 2014 11:10:52 +0100 Subject: [PATCH 221/908] osmo-pcu: Build the latest sysmocom/master code --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 7840279157..b0d11ab30b 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=sysmocom/master" -SRCREV = "705653b2d71b7bd9eefc260effc22c6030b16bb1" +SRCREV = "a0047996990214c72ab20d7a0614d8790f4b9634" PV = "0.3+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 933b68b3e84b0e03e68cac347f0091bb13008608 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 20 Jan 2014 11:24:21 +0100 Subject: [PATCH 222/908] osmo-bts: Build latest version of osmo-bts with performance changes --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index b3c8fa2861..341d49b329 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ 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 = "b2a8a642d65779918f64437b5cbbde8e206222f2" +SRCREV_osmobts = "d76211dc3b4cb1c58d3ca2ab28933a488091e950" SRCREV_openbsc = "caa98d51b64e16bbe6d4933d9052b617432e5e22" PV = "0.3.0+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" From c47bdcd1805ec38092b8decdb4f5206409bfd5c5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 20 Jan 2014 11:36:25 +0100 Subject: [PATCH 223/908] osmo-bts: This requires a newer version of OpenBSC as well --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 341d49b329..c9c485caed 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -5,7 +5,7 @@ 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 = "d76211dc3b4cb1c58d3ca2ab28933a488091e950" -SRCREV_openbsc = "caa98d51b64e16bbe6d4933d9052b617432e5e22" +SRCREV_openbsc = "6419018e6809924d56d764ba195cbce4c57776f2" PV = "0.3.0+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 00a590e063087dc7be3ed20a44e2470108f5e474 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 20 Jan 2014 11:41:43 +0100 Subject: [PATCH 224/908] dvnixload: Update with the new toolchain name in place --- recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb b/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb index dc2befa98b..d8865daf7e 100644 --- a/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb +++ b/recipes-sysmobts/dvnixload/dvnixload_0.2.6.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.hugovil.com/en/dvnixload/" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=20;md5=f2b40a2eb5162af4c3cb20428e72f921" -SRCREV = "354c2e5665e760bf1765a79aa4b83a70954e87e4" +SRCREV = "095c1cb55757c1f542370e5ba33de663c5d68ba4" SRC_URI = "git://git.sysmocom.de/sysmo-bts/dvnixload;protocol=git;branch=master" PV = "v0.2.6+git${SRCPV}" PR = "r1" From bb35f6906607620a766b0811671ceb34728326d4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 22 Jan 2014 02:02:10 +0100 Subject: [PATCH 225/908] osmo-bts: Build latest version with fMaxTxPower fix As a side note, this also introduces sysmobts-mgr --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index c9c485caed..272f187b5e 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ 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 = "d76211dc3b4cb1c58d3ca2ab28933a488091e950" +SRCREV_osmobts = "3c8ff3c70bc52d0a1d75a1e6b87b0069d92f10f9" SRCREV_openbsc = "6419018e6809924d56d764ba195cbce4c57776f2" PV = "0.3.0+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" From 4cd047788e52c08d9bcb033212ebc4f995f74854 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 22 Jan 2014 12:14:17 +0100 Subject: [PATCH 226/908] dora: Add 1.5.1 to the list of handled distributions --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index f93698ce25..dae822cc65 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -9,7 +9,7 @@ BBFILES += "${LAYERDIR}/yocto-shared/*.bbappend" BBFILES += "${BBFILES_SYSMOCOM_BSP}" # selects specific distro or master when DISTRO_VERSION contains SNAPSHOT -BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5','dora'), ('1.1.2','edison')])[d.getVar('DISTRO_VERSION', True)], 'master']['SNAPSHOT' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" +BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5','dora'),('1.5.1', 'dora'), ('1.1.2','edison')])[d.getVar('DISTRO_VERSION', True)], 'master']['SNAPSHOT' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" BBFILE_COLLECTIONS += "sysmocom-bsp" BBFILE_PATTERN_sysmocom-bsp := "^${LAYERDIR}/" From 9c533b2469a2c6c92209096c1857a4f137d125ca Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 22 Jan 2014 12:52:25 +0100 Subject: [PATCH 227/908] linux-sysmobts: Add preferred version for 1.5.1 and simplify Simplify the PREFERRED_VERSION version specification and add dora 1.5.1 to the line. --- conf/machine/include/sysmobts.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index 4e4f90100d..d7d8c6b6cd 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -1,7 +1,7 @@ TARGET_ARCH = "arm" PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" -PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.24+gitAUTOINC+1df50cd88f'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" +PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.24+git%'), ('1.5.1','3.10.24+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" PREFERRED_VERSION_u-boot = "git" From 9b3893f4c16aa8382e26438eefc4df7823a34c25 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 23 Jan 2014 17:21:27 +0100 Subject: [PATCH 228/908] osmo-bts: Build a new version with a crash fix on init --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 272f187b5e..e1e3695ed5 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ 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 = "3c8ff3c70bc52d0a1d75a1e6b87b0069d92f10f9" +SRCREV_osmobts = "2e93a8683ca5f644d365380ef55d657598af6c7f" SRCREV_openbsc = "6419018e6809924d56d764ba195cbce4c57776f2" PV = "0.3.0+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" From b606eb9becb04cbdc69d9c91ea3789e3cdd4bc01 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 30 Jan 2014 14:50:48 +0100 Subject: [PATCH 229/908] busybox: Enable depmod in our busybox as it is enabled in dora too Make sure that there is at least a basic depmod in the image. This is needed as fallback for kernel upgrades that execute depmod in the postinst script. The dora busybox will always have it so we should have it too. Sync the defconfig with dora. Addresses: SYS#231 --- recipes-core/busybox/busybox-1.21.1/defconfig | 8 ++++---- recipes-core/busybox/busybox_sysmocom_systemd.inc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-core/busybox/busybox-1.21.1/defconfig b/recipes-core/busybox/busybox-1.21.1/defconfig index 86f167f6ce..abf67d69d8 100644 --- a/recipes-core/busybox/busybox-1.21.1/defconfig +++ b/recipes-core/busybox/busybox-1.21.1/defconfig @@ -457,8 +457,8 @@ CONFIG_USE_BB_CRYPT=y # CONFIG_ADDUSER is not set # CONFIG_FEATURE_ADDUSER_LONG_OPTIONS is not set # CONFIG_FEATURE_CHECK_NAMES is not set -CONFIG_FIRST_SYSTEM_ID=0 -CONFIG_LAST_SYSTEM_ID=0 +CONFIG_FIRST_SYSTEM_ID=100 +CONFIG_LAST_SYSTEM_ID=999 # CONFIG_ADDGROUP is not set # CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS is not set # CONFIG_FEATURE_ADDUSER_TO_GROUP is not set @@ -504,7 +504,7 @@ CONFIG_LSMOD=y # CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set CONFIG_MODPROBE=y CONFIG_FEATURE_MODPROBE_BLACKLIST=y -# CONFIG_DEPMOD is not set +CONFIG_DEPMOD=y # # Options common to multiple modutils @@ -1012,7 +1012,7 @@ CONFIG_FEATURE_SYSLOGD_DUP=y CONFIG_FEATURE_SYSLOGD_CFG=y CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=256 CONFIG_FEATURE_IPC_SYSLOG=y -CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16 +CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=64 CONFIG_LOGREAD=y CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y CONFIG_KLOGD=y diff --git a/recipes-core/busybox/busybox_sysmocom_systemd.inc b/recipes-core/busybox/busybox_sysmocom_systemd.inc index f0bd7c91bd..19739f5a15 100644 --- a/recipes-core/busybox/busybox_sysmocom_systemd.inc +++ b/recipes-core/busybox/busybox_sysmocom_systemd.inc @@ -1,6 +1,6 @@ # Make busybox work nicely with systemd SYSMOCOM_D := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-systemd:${SYSMOCOM_D}/${PN}:" -PRINC := "${@int(PRINC) + 2}" +PRINC := "${@int(PRINC) + 3}" SRC_URI += "file://ifplugd-use-a-larger-netlink-buffer.patch" From 5d8a24fa4fe2135aafde517c9afb04aadf367c91 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 30 Jan 2014 15:00:27 +0100 Subject: [PATCH 230/908] systemd: Fix the rdepends of systemd by using a new language construct We don't want to launch the dbus-daemon and we did this by modifying the RDEPENDS_${PN}. Back then this was okay as dbus was the only dependency but now kmod got added to the recipe as well. Use the new language construct to just remove a specific value from the rdepends. Paul Eggleton was nice enough to point that out. Fixes: SYS#231 --- recipes-fixes/systemd/systemd_sysmocom.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index 484d2752af..7081c87567 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -1,7 +1,7 @@ S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" -PRINC="17" +PRINC="18" SRC_URI += "file://journald.conf \ file://0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch \ @@ -11,7 +11,7 @@ SRC_URI_append_sysmobts-v1 = " file://system.conf" SRC_URI_append_sysmobts-v2 = " file://system.conf" # Disable depedency on dbus -RDEPENDS_${PN} = "" +RDEPENDS_${PN}_remove = "dbus" # TODO: disable systemd-logind as it needs dbus From 93953d3dd951799eb0e97aad24295d36f75ae43f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 1 Feb 2014 13:56:22 +0100 Subject: [PATCH 231/908] linux-sysmocom: Upgrade to version 3.10.28 of the kernel This is the latest stable kernel. I had hoped some crashes to go away with it but it turns out to be a compiler issue that we backported a patch for separately. --- conf/machine/include/sysmobts.inc | 2 +- recipes-bsp/linux/linux-sysmocom_git.bb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index d7d8c6b6cd..85d5255a92 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -1,7 +1,7 @@ TARGET_ARCH = "arm" PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" -PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.24+git%'), ('1.5.1','3.10.24+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" +PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.28+git%'), ('1.5.1','3.10.28+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" PREFERRED_VERSION_u-boot = "git" diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index df6f7b9dbd..bfa4a757f8 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -1,7 +1,8 @@ inherit kernel require linux-sysmocom.inc -LINUX_VERSION ?= "3.10.24" +# at versions changes do not forget to update conf/machine/include/sysmobts.inc too +LINUX_VERSION ?= "3.10.28" LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}" # Overrides for the sysmocom bts v1 @@ -11,8 +12,7 @@ BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1" BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" -# at versions changes do not forget to update conf/machine/include/sysmobts.inc too -SRCREV = "1df50cd88f6923db5705d28bbfa63a28d8d6bd66" +SRCREV = "ad70d9a96e62bcdbc184512ae375d5d9b5d318d4" PR = "r31.3" PV = "${LINUX_VERSION}+git${SRCPV}" From 5aa0de1de3591885c6561fb1f77b466923c8f380 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 4 Feb 2014 13:41:45 +0100 Subject: [PATCH 232/908] osmo-bts: Upgrade to master and install the sysmobts-mgr.service --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index e1e3695ed5..f8c077d5b4 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ 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 = "2e93a8683ca5f644d365380ef55d657598af6c7f" +SRCREV_osmobts = "1375a4b15316f2971dae284fff4ab6697c79621d" SRCREV_openbsc = "6419018e6809924d56d764ba195cbce4c57776f2" PV = "0.3.0+git${SRCPV}" -PR = "r2.${META_TELEPHONY_OSMO_INC}" +PR = "r3.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" @@ -43,7 +43,9 @@ do_install_append() { # Install systemd and enable on sysinit install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/ install -m 0644 ${S}/contrib/sysmobts.service ${D}${systemd_unitdir}/system/ + install -m 0644 ${S}/contrib/sysmobts-mgr.service ${D}${systemd_unitdir}/system/ ln -sf ../sysmobts.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ + ln -sf ../sysmobts-mgr.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ } do_install_append_sysmobts-v2() { From d1c958be3e87ed78a969da918f65e76e40d75842 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 4 Feb 2014 16:32:33 +0100 Subject: [PATCH 233/908] bts2050-util: use INSANE_SKIP so bitbake does not error out --- recipes-sysmobts/sbts2050-util/sbts2050-util.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-sysmobts/sbts2050-util/sbts2050-util.inc b/recipes-sysmobts/sbts2050-util/sbts2050-util.inc index de1229f2da..01e71ad2ba 100644 --- a/recipes-sysmobts/sbts2050-util/sbts2050-util.inc +++ b/recipes-sysmobts/sbts2050-util/sbts2050-util.inc @@ -13,3 +13,5 @@ do_compile() { COMPATIBLE_MACHINE = "sysmobts-2050" PACKAGE_ARCH = "${MACHINE_ARCH}" + +INSANE_SKIP_${PN} += "already-stripped ldflags" From 926d082a27a7b0ca97b82fe30225ad9e78f5b6ae Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Feb 2014 18:23:34 +0100 Subject: [PATCH 234/908] osmo-bts: Update to the handover code --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index f8c077d5b4..8b25ad4597 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -2,9 +2,9 @@ DESCRIPTION = "sysmocom OsmoBTS" LICENSE = "AGPLv3" 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 \ +SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "1375a4b15316f2971dae284fff4ab6697c79621d" +SRCREV_osmobts = "10aa68ba8ae23336561bd6cb518c47ae9972a0b6" SRCREV_openbsc = "6419018e6809924d56d764ba195cbce4c57776f2" PV = "0.3.0+git${SRCPV}" PR = "r3.${META_TELEPHONY_OSMO_INC}" From 2435a67b1a8fcbeac418f95d5a5e7f65ca909ed0 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Feb 2014 09:19:48 +0100 Subject: [PATCH 235/908] osmo-bts: Update the revision number of the osmobts --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 8b25ad4597..bf1ee83292 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,7 +7,7 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/featu SRCREV_osmobts = "10aa68ba8ae23336561bd6cb518c47ae9972a0b6" SRCREV_openbsc = "6419018e6809924d56d764ba195cbce4c57776f2" PV = "0.3.0+git${SRCPV}" -PR = "r3.${META_TELEPHONY_OSMO_INC}" +PR = "r4.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From a21e9eef6b07056dc3e6b8f7351fcdf7fc365243 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Feb 2014 09:25:01 +0100 Subject: [PATCH 236/908] osmo-bts: Bump the OpenBSC sha1 to see if that forces the upgrade --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index bf1ee83292..0c729d77c1 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" SRCREV_osmobts = "10aa68ba8ae23336561bd6cb518c47ae9972a0b6" -SRCREV_openbsc = "6419018e6809924d56d764ba195cbce4c57776f2" +SRCREV_openbsc = "ca114432be6c9e108f0f3182c564d264b78669e0" PV = "0.3.0+git${SRCPV}" PR = "r4.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From a4ff48fc447588a7de29755e7719bd26dee796fd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 26 Feb 2014 15:35:21 +0100 Subject: [PATCH 237/908] linux: Add support for the sob-odu device This currently requires the meta-ti layer but we will make sure that nothing from it will be required in the end. The kernel is based on linux-3.2 as this is the "default" TI kernel that supports the SGX (not that we care) --- conf/machine/include/ti33x.inc | 42 +++ conf/machine/sysmocom-odu.conf | 33 ++ .../linux/files/sysmocom-odu/defconfig | 318 ++++++++++++++++++ recipes-bsp/linux/linux-sysmocom_3.2.bb | 7 +- 4 files changed, 399 insertions(+), 1 deletion(-) create mode 100644 conf/machine/include/ti33x.inc create mode 100644 conf/machine/sysmocom-odu.conf create mode 100644 recipes-bsp/linux/files/sysmocom-odu/defconfig diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc new file mode 100644 index 0000000000..f29c8b3b72 --- /dev/null +++ b/conf/machine/include/ti33x.inc @@ -0,0 +1,42 @@ +SOC_FAMILY = "ti33x" +require conf/machine/include/soc-family.inc + +require conf/machine/include/tune-cortexa8.inc + +PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" + +# For built-in LCD, add xf86-input-tslib +XSERVER = "xserver-xorg \ + xf86-input-evdev \ + xf86-input-mouse \ + xf86-video-fbdev \ + xf86-input-keyboard" + +# Default to external video, change to smallscreen for built-in LCD +GUI_MACHINE_CLASS = "bigscreen" + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r21" + +# Default providers, may need to override for specific machines +PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" +PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" + +KERNEL_IMAGETYPE = "zImage" + +UBOOT_ARCH = "arm" +UBOOT_MACHINE = "am335x_evm_config" + +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +# Use the expected value of the ubifs filesystem's volume name in the kernel +# and u-boot. +UBI_VOLNAME = "rootfs" + +EXTRA_IMAGEDEPENDS += "u-boot" + +# List common SoC features, may need to add touchscreen for specific machines +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx" + diff --git a/conf/machine/sysmocom-odu.conf b/conf/machine/sysmocom-odu.conf new file mode 100644 index 0000000000..8b833d9f20 --- /dev/null +++ b/conf/machine/sysmocom-odu.conf @@ -0,0 +1,33 @@ +#@TYPE: Machine +#@NAME: sysmocom-odu +#@DESCRIPTION: Machine configuration for the sysmocom ODU + +require conf/machine/include/ti33x.inc + +IMAGE_FSTYPES += "ubi tar.gz" + +SERIAL_CONSOLE = "115200 ttyO0" + +# UBI information. Note that this is board and kernel specific. Changes +# in your kernel port may require changes in these variables. For more +# details about this board please see +# http://processors.wiki.ti.com/index.php/UBIFS_Support + +# do ubiattach /dev/ubi_ctrl -m 7 -O 2048 +# From dmesg: +# UBI: smallest flash I/O unit: 2048 +# UBI: logical eraseblock size: 126976 bytes +# from ubiattach stdout: +# UBI device number 0, total 1988 LEBs +MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836" + +# do ubiattach /dev/ubi_ctrl -m 7 -O 2048 +# from dmesg: +# UBI: smallest flash I/O unit: 2048 +# UBI: physical eraseblock size: 131072 bytes (128 KiB) +# UBI: sub-page size: 512 +# UBI: VID header offset: 2048 (aligned 2048) +UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" + +# Go back to prefer our kernel +PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" diff --git a/recipes-bsp/linux/files/sysmocom-odu/defconfig b/recipes-bsp/linux/files/sysmocom-odu/defconfig new file mode 100644 index 0000000000..7c585cb0ca --- /dev/null +++ b/recipes-bsp/linux/files/sysmocom-odu/defconfig @@ -0,0 +1,318 @@ +CONFIG_EXPERIMENTAL=y +CONFIG_LOCALVERSION="-PD13.1.2" +CONFIG_SYSVIPC=y +CONFIG_POSIX_MQUEUE=y +CONFIG_BSD_PROCESS_ACCT=y +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_LOG_BUF_SHIFT=16 +CONFIG_BLK_DEV_INITRD=y +# CONFIG_PERF_EVENTS is not set +CONFIG_SLAB=y +CONFIG_PROFILING=y +CONFIG_OPROFILE=y +CONFIG_MODULES=y +CONFIG_MODULE_FORCE_LOAD=y +CONFIG_MODULE_UNLOAD=y +CONFIG_MODULE_FORCE_UNLOAD=y +CONFIG_MODVERSIONS=y +CONFIG_MODULE_SRCVERSION_ALL=y +# CONFIG_BLK_DEV_BSG is not set +CONFIG_ARCH_OMAP=y +CONFIG_OMAP_MUX_DEBUG=y +# CONFIG_OMAP_MCBSP is not set +CONFIG_OMAP_MBOX_FWK=y +# CONFIG_OMAP_32K_TIMER is not set +# CONFIG_ARCH_OMAP2 is not set +# CONFIG_ARCH_OMAP4 is not set +# CONFIG_SOC_OMAP3430 is not set +# CONFIG_SOC_OMAPTI81XX is not set +# CONFIG_MACH_OMAP3_BEAGLE is not set +# CONFIG_MACH_DEVKIT8000 is not set +# CONFIG_MACH_OMAP_LDP is not set +# CONFIG_MACH_OMAP3530_LV_SOM is not set +# CONFIG_MACH_OMAP3_TORPEDO is not set +# CONFIG_MACH_ENCORE is not set +# CONFIG_MACH_OVERO is not set +# CONFIG_MACH_OMAP3EVM is not set +# CONFIG_MACH_OMAP3517EVM is not set +# CONFIG_MACH_OMAP3_PANDORA is not set +# CONFIG_MACH_OMAP3_TOUCHBOOK is not set +# CONFIG_MACH_OMAP_3430SDP is not set +# CONFIG_MACH_NOKIA_RM680 is not set +# CONFIG_MACH_NOKIA_RX51 is not set +# CONFIG_MACH_OMAP_ZOOM2 is not set +# CONFIG_MACH_OMAP_ZOOM3 is not set +# CONFIG_MACH_CM_T35 is not set +# CONFIG_MACH_CM_T3517 is not set +# CONFIG_MACH_IGEP0020 is not set +# CONFIG_MACH_IGEP0030 is not set +# CONFIG_MACH_SBC3530 is not set +# CONFIG_MACH_OMAP_3630SDP is not set +# CONFIG_MACH_AM335XEVM is not set +# CONFIG_MACH_AM335XIAEVM is not set +CONFIG_OMAP3_EDMA=y +CONFIG_ARM_THUMBEE=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_HIGHMEM=y +CONFIG_ZBOOT_ROM_TEXT=0x0 +CONFIG_ZBOOT_ROM_BSS=0x0 +CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO0,115200" +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT_DETAILS=y +CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_IDLE=y +CONFIG_FPE_NWFPE=y +CONFIG_BINFMT_MISC=y +# CONFIG_SUSPEND is not set +CONFIG_PM_DEBUG=y +CONFIG_PM_ADVANCED_DEBUG=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_IP_MULTICAST=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +CONFIG_IP_PNP_BOOTP=y +CONFIG_IP_PNP_RARP=y +# CONFIG_INET_XFRM_MODE_TRANSPORT is not set +# CONFIG_INET_XFRM_MODE_TUNNEL is not set +# CONFIG_INET_XFRM_MODE_BEET is not set +# CONFIG_INET_LRO is not set +# CONFIG_INET_DIAG is not set +# CONFIG_IPV6 is not set +CONFIG_NETFILTER=y +CONFIG_NF_CONNTRACK=y +CONFIG_NF_CONNTRACK_IPV4=y +CONFIG_IP_NF_IPTABLES=y +CONFIG_IP_NF_FILTER=y +CONFIG_IP_NF_TARGET_LOG=y +CONFIG_NF_NAT=y +CONFIG_IP_NF_TARGET_MASQUERADE=y +CONFIG_CAN=y +CONFIG_CAN_RAW=y +CONFIG_CAN_BCM=y +CONFIG_CAN_D_CAN=y +CONFIG_CAN_D_CAN_PLATFORM=y +CONFIG_CFG80211=y +CONFIG_MAC80211=y +CONFIG_RFKILL=y +CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_MTD=y +CONFIG_MTD_TESTS=m +CONFIG_MTD_CMDLINE_PARTS=y +# CONFIG_MTD_OF_PARTS is not set +CONFIG_MTD_CHAR=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_CFI=y +CONFIG_MTD_CFI_INTELEXT=y +CONFIG_MTD_M25P80=y +CONFIG_MTD_NAND=y +CONFIG_MTD_NAND_OMAP2=y +CONFIG_MTD_ONENAND=y +CONFIG_MTD_ONENAND_VERIFY_WRITE=y +CONFIG_MTD_ONENAND_OMAP2=y +CONFIG_MTD_UBI=y +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_SIZE=16384 +CONFIG_MISC_DEVICES=y +CONFIG_SENSORS_TSL2550=y +CONFIG_EEPROM_AT24=y +CONFIG_SENSORS_LIS3_I2C=y +CONFIG_SCSI=y +CONFIG_BLK_DEV_SD=y +CONFIG_SCSI_MULTI_LUN=y +CONFIG_SCSI_SCAN_ASYNC=y +CONFIG_NETDEVICES=y +# CONFIG_NET_VENDOR_BROADCOM is not set +# CONFIG_NET_VENDOR_CHELSIO is not set +# CONFIG_NET_VENDOR_FARADAY is not set +# CONFIG_NET_VENDOR_INTEL is not set +# CONFIG_NET_VENDOR_MARVELL is not set +# CONFIG_NET_VENDOR_MICROCHIP is not set +# CONFIG_NET_VENDOR_NATSEMI is not set +# CONFIG_NET_VENDOR_SEEQ is not set +# CONFIG_NET_VENDOR_STMICRO is not set +CONFIG_TI_DAVINCI_EMAC=y +CONFIG_TI_CPSW=y +CONFIG_TI_CPSW_DUAL_EMAC=y +CONFIG_SMSC_PHY=y +CONFIG_MICREL_PHY=y +CONFIG_USB_USBNET=y +# CONFIG_USB_NET_AX8817X is not set +# CONFIG_USB_NET_CDC_NCM is not set +# CONFIG_USB_NET_NET1080 is not set +# CONFIG_USB_BELKIN is not set +# CONFIG_USB_ARMLINUX is not set +# CONFIG_USB_NET_ZAURUS is not set +CONFIG_WL12XX_MENU=y +CONFIG_WL12XX=m +CONFIG_WL12XX_SDIO=m +CONFIG_INPUT_EVDEV=y +# CONFIG_KEYBOARD_ATKBD is not set +CONFIG_KEYBOARD_GPIO=y +CONFIG_KEYBOARD_MATRIX=y +CONFIG_INPUT_TOUCHSCREEN=y +CONFIG_TOUCHSCREEN_EDT_FT5X06=y +CONFIG_TOUCHSCREEN_TI_TSC=y +CONFIG_INPUT_MISC=y +# CONFIG_SERIO_SERPORT is not set +CONFIG_VT_HW_CONSOLE_BINDING=y +# CONFIG_LEGACY_PTYS is not set +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_EXTENDED=y +CONFIG_SERIAL_8250_MANY_PORTS=y +CONFIG_SERIAL_8250_SHARE_IRQ=y +CONFIG_SERIAL_8250_DETECT_IRQ=y +CONFIG_SERIAL_8250_RSA=y +# CONFIG_HW_RANDOM is not set +CONFIG_I2C_CHARDEV=y +CONFIG_SPI=y +CONFIG_SPI_OMAP24XX=y +CONFIG_GPIO_SYSFS=y +CONFIG_GENERIC_PWM=y +CONFIG_DAVINCI_EHRPWM=y +CONFIG_ECAP_PWM=y +CONFIG_SENSORS_LM75=y +CONFIG_WATCHDOG=y +CONFIG_OMAP_WATCHDOG=y +CONFIG_MFD_TI_TSCADC=y +CONFIG_MFD_TPS65910=y +CONFIG_REGULATOR_DUMMY=y +CONFIG_REGULATOR_FIXED_VOLTAGE=y +CONFIG_REGULATOR_TPS65910=y +CONFIG_MEDIA_SUPPORT=y +CONFIG_VIDEO_DEV=y +CONFIG_MEDIA_TUNER_CUSTOMISE=y +# CONFIG_MEDIA_TUNER_SIMPLE is not set +# CONFIG_MEDIA_TUNER_TDA8290 is not set +# CONFIG_MEDIA_TUNER_TDA827X is not set +# CONFIG_MEDIA_TUNER_TDA18271 is not set +# CONFIG_MEDIA_TUNER_TDA9887 is not set +# CONFIG_MEDIA_TUNER_TEA5761 is not set +# CONFIG_MEDIA_TUNER_TEA5767 is not set +# CONFIG_MEDIA_TUNER_MT20XX is not set +# CONFIG_MEDIA_TUNER_MT2060 is not set +# CONFIG_MEDIA_TUNER_MT2266 is not set +# CONFIG_MEDIA_TUNER_MT2131 is not set +# CONFIG_MEDIA_TUNER_QT1010 is not set +# CONFIG_MEDIA_TUNER_XC2028 is not set +# CONFIG_MEDIA_TUNER_XC5000 is not set +# CONFIG_MEDIA_TUNER_XC4000 is not set +# CONFIG_MEDIA_TUNER_MXL5005S is not set +# CONFIG_MEDIA_TUNER_MXL5007T is not set +# CONFIG_MEDIA_TUNER_MC44S803 is not set +# CONFIG_MEDIA_TUNER_MAX2165 is not set +# CONFIG_MEDIA_TUNER_TDA18218 is not set +# CONFIG_MEDIA_TUNER_TDA18212 is not set +CONFIG_USB_VIDEO_CLASS=y +# CONFIG_RADIO_ADAPTERS is not set +CONFIG_FB=y +CONFIG_FB_MODE_HELPERS=y +CONFIG_FB_TILEBLITTING=y +CONFIG_FB_DA8XX=y +CONFIG_FB_DA8XX_CONSISTENT_DMA_SIZE=8 +CONFIG_BACKLIGHT_LCD_SUPPORT=y +CONFIG_LCD_CLASS_DEVICE=y +CONFIG_LCD_PLATFORM=y +CONFIG_BACKLIGHT_CLASS_DEVICE=y +# CONFIG_BACKLIGHT_GENERIC is not set +CONFIG_BACKLIGHT_PWM=y +CONFIG_BACKLIGHT_TLC59108=y +CONFIG_DISPLAY_SUPPORT=y +CONFIG_FRAMEBUFFER_CONSOLE=y +CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y +CONFIG_FONTS=y +CONFIG_FONT_8x8=y +CONFIG_FONT_8x16=y +CONFIG_LOGO=y +CONFIG_SOUND=y +CONFIG_SND=y +# CONFIG_SND_DRIVERS is not set +# CONFIG_SND_ARM is not set +# CONFIG_SND_SPI is not set +CONFIG_SND_USB_AUDIO=y +CONFIG_SND_SOC=y +CONFIG_SND_AM33XX_SOC=y +CONFIG_SND_PCM051_SOC_BOARD=y +CONFIG_USB=y +CONFIG_USB_ANNOUNCE_NEW_DEVICES=y +CONFIG_USB_DEVICEFS=y +CONFIG_USB_SUSPEND=y +CONFIG_USB_OTG=y +# CONFIG_USB_OTG_WHITELIST is not set +CONFIG_USB_MUSB_HDRC=y +CONFIG_USB_MUSB_TI81XX_GLUE=y +CONFIG_MUSB_PIO_ONLY=y +CONFIG_USB_STORAGE=y +CONFIG_USB_SERIAL=y +CONFIG_USB_SERIAL_FTDI_SIO=m +CONFIG_USB_SERIAL_PL2303=m +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_MUSB_HDRC=y +CONFIG_USB_ZERO=m +CONFIG_USB_ETH=m +CONFIG_USB_FILE_STORAGE=m +CONFIG_USB_MASS_STORAGE=m +CONFIG_USB_G_SERIAL=m +CONFIG_MMC=y +CONFIG_MMC_UNSAFE_RESUME=y +CONFIG_SDIO_UART=y +CONFIG_MMC_OMAP_HS=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_M41T80=y +CONFIG_RTC_DRV_TPS65910=y +CONFIG_RTC_DRV_OMAP=y +# CONFIG_IOMMU_SUPPORT is not set +CONFIG_EXT2_FS=y +CONFIG_EXT3_FS=y +# CONFIG_EXT3_FS_XATTR is not set +CONFIG_QUOTA=y +CONFIG_QFMT_V2=y +CONFIG_MSDOS_FS=y +CONFIG_VFAT_FS=y +CONFIG_TMPFS=y +CONFIG_JFFS2_FS=y +CONFIG_JFFS2_SUMMARY=y +CONFIG_JFFS2_FS_XATTR=y +CONFIG_JFFS2_COMPRESSION_OPTIONS=y +CONFIG_JFFS2_LZO=y +CONFIG_JFFS2_RUBIN=y +CONFIG_UBIFS_FS=y +CONFIG_CRAMFS=y +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +CONFIG_NFS_V3_ACL=y +CONFIG_NFS_V4=y +CONFIG_ROOT_NFS=y +CONFIG_PARTITION_ADVANCED=y +CONFIG_NLS_CODEPAGE_437=y +CONFIG_NLS_ISO8859_1=y +CONFIG_PRINTK_TIME=y +CONFIG_MAGIC_SYSRQ=y +CONFIG_DEBUG_FS=y +CONFIG_DEBUG_KERNEL=y +# CONFIG_FTRACE is not set +CONFIG_DYNAMIC_DEBUG=y +# CONFIG_ARM_UNWIND is not set +CONFIG_DEBUG_LL=y +CONFIG_EARLY_PRINTK=y +CONFIG_DEBUG_JTAG_ENABLE=y +CONFIG_SECURITY=y +CONFIG_CRYPTO_ECB=y +CONFIG_CRYPTO_MICHAEL_MIC=y +# CONFIG_CRYPTO_ANSI_CPRNG is not set +# CONFIG_CRYPTO_HW is not set +CONFIG_CRC_CCITT=y +CONFIG_CRC_T10DIF=y +CONFIG_CRC_ITU_T=y +CONFIG_CRC7=y +CONFIG_LIBCRC32C=y diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index bc73a7f907..f84bba1eff 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -13,6 +13,11 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" +# odu handling. +SRCREV_sysmocom-odu = "f770b4d8361682c9ba80ca3aff17b49461932ccd" +FILES_kernel-image_sysmocom-odu = "" +LINUX_VERSION_sysmocom-odu = "3.2.55" + PR = "r31" PV = "${LINUX_VERSION}+git${SRCPV}" @@ -21,7 +26,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|sysmobts-2050)" +COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050|sysmocom-odu)" EXTRA_OEMAKE += "KALLSYMS_EXTRA_PASS=1" # we do not want to have the kernel image inside the kernel From 98cf4f54f5e034c1e81ba580c4b9f7c34e5e8860 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Wed, 12 Feb 2014 21:17:35 +0100 Subject: [PATCH 238/908] tune-geode: fix syntax for dora --- conf/machine/include/tune-geode.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/machine/include/tune-geode.inc b/conf/machine/include/tune-geode.inc index f5c397969b..5c0bf24060 100644 --- a/conf/machine/include/tune-geode.inc +++ b/conf/machine/include/tune-geode.inc @@ -1,5 +1,4 @@ DEFAULTTUNE ?= "geode" -TUNE_PKGARCH ?= "${@bb.utils.contains('TUNE_FEATURES', 'm32', 'geode', '', d)}" require conf/machine/include/tune-i586.inc @@ -8,6 +7,8 @@ TUNEVALID[geode] = "Enable geode specific processor optimizations" TUNE_CCARGS += "${@bb.utils.contains('TUNE_FEATURES', 'geode', '-march=geode -mtune=geode', '', d)}" # Extra tune selections +AVAILTUNES += "geode" TUNE_FEATURES_tune-geode ?= "${TUNE_FEATURES_tune-x86} geode" BASE_LIB_tune-geode ?= "lib" +TUNE_PKGARCH_tune-geode = "geode" PACKAGE_EXTRA_ARCHS_tune-geode = "${PACKAGE_EXTRA_ARCHS_tune-x86} i386 i486 i586 geode" From b2a5a3a316bc9cc87bfe6c09f75f455f8af57dda Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 4 Mar 2014 17:40:33 +0100 Subject: [PATCH 239/908] 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 --- conf/machine/sysmocom-bsc.conf | 2 +- .../sysmocom-bsc-ip-image-directdisk.bb | 11 +- .../linux-sysmocom/sysmocom-bsc/defconfig | 2866 +++++++++++++++++ recipes-bsp/linux/linux-sysmocom_git.bb | 2 +- 4 files changed, 2877 insertions(+), 4 deletions(-) create mode 100644 recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig diff --git a/conf/machine/sysmocom-bsc.conf b/conf/machine/sysmocom-bsc.conf index 3e3de7f468..a1900e6a4b 100644 --- a/conf/machine/sysmocom-bsc.conf +++ b/conf/machine/sysmocom-bsc.conf @@ -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 diff --git a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb index 6dc4aea4b5..8a8ab56d36 100644 --- a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb +++ b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb @@ -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" - - diff --git a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig new file mode 100644 index 0000000000..a7a2238e0d --- /dev/null +++ b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig @@ -0,0 +1,2866 @@ +# +# Automatically generated make config: don't edit +# Linux/x86 2.6.39.4 Kernel Configuration +# Mon Jun 4 09:28:14 2012 +# +# CONFIG_64BIT is not set +CONFIG_X86_32=y +# CONFIG_X86_64 is not set +CONFIG_X86=y +CONFIG_INSTRUCTION_DECODER=y +CONFIG_OUTPUT_FORMAT="elf32-i386" +CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig" +CONFIG_GENERIC_CMOS_UPDATE=y +CONFIG_CLOCKSOURCE_WATCHDOG=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y +CONFIG_MMU=y +CONFIG_ZONE_DMA=y +# CONFIG_NEED_DMA_MAP_STATE is not set +CONFIG_NEED_SG_DMA_LENGTH=y +CONFIG_GENERIC_ISA_DMA=y +CONFIG_GENERIC_IOMAP=y +CONFIG_GENERIC_BUG=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_ARCH_MAY_HAVE_PC_FDC=y +# CONFIG_RWSEM_GENERIC_SPINLOCK is not set +CONFIG_RWSEM_XCHGADD_ALGORITHM=y +CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +# CONFIG_GENERIC_TIME_VSYSCALL is not set +CONFIG_ARCH_HAS_CPU_RELAX=y +CONFIG_ARCH_HAS_DEFAULT_IDLE=y +CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y +CONFIG_HAVE_SETUP_PER_CPU_AREA=y +CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y +CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y +# CONFIG_HAVE_CPUMASK_OF_CPU_MAP is not set +CONFIG_ARCH_HIBERNATION_POSSIBLE=y +CONFIG_ARCH_SUSPEND_POSSIBLE=y +# CONFIG_ZONE_DMA32 is not set +CONFIG_ARCH_POPULATES_NODE_MAP=y +# CONFIG_AUDIT_ARCH is not set +CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y +CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y +CONFIG_X86_32_LAZY_GS=y +CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-ecx -fcall-saved-edx" +CONFIG_KTIME_SCALAR=y +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" +CONFIG_CONSTRUCTORS=y +CONFIG_HAVE_IRQ_WORK=y +CONFIG_IRQ_WORK=y + +# +# General setup +# +CONFIG_EXPERIMENTAL=y +CONFIG_BROKEN_ON_SMP=y +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_CROSS_COMPILE="" +CONFIG_LOCALVERSION="-yocto-standard" +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_HAVE_KERNEL_GZIP=y +CONFIG_HAVE_KERNEL_BZIP2=y +CONFIG_HAVE_KERNEL_LZMA=y +CONFIG_HAVE_KERNEL_XZ=y +CONFIG_HAVE_KERNEL_LZO=y +CONFIG_KERNEL_GZIP=y +# CONFIG_KERNEL_BZIP2 is not set +# CONFIG_KERNEL_LZMA is not set +# CONFIG_KERNEL_XZ is not set +# CONFIG_KERNEL_LZO is not set +CONFIG_SWAP=y +CONFIG_SYSVIPC=y +CONFIG_SYSVIPC_SYSCTL=y +CONFIG_POSIX_MQUEUE=y +CONFIG_POSIX_MQUEUE_SYSCTL=y +CONFIG_BSD_PROCESS_ACCT=y +CONFIG_BSD_PROCESS_ACCT_V3=y +# CONFIG_FHANDLE is not set +# CONFIG_TASKSTATS is not set +# CONFIG_AUDIT is not set +CONFIG_HAVE_GENERIC_HARDIRQS=y + +# +# IRQ subsystem +# +CONFIG_GENERIC_HARDIRQS=y +CONFIG_HAVE_SPARSE_IRQ=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_IRQ_FORCED_THREADING=y +# CONFIG_SPARSE_IRQ is not set + +# +# RCU Subsystem +# +CONFIG_TREE_PREEMPT_RCU=y +# CONFIG_TINY_RCU is not set +# CONFIG_TINY_PREEMPT_RCU is not set +CONFIG_PREEMPT_RCU=y +# CONFIG_RCU_TRACE is not set +CONFIG_RCU_FANOUT=32 +# CONFIG_RCU_FANOUT_EXACT is not set +# CONFIG_TREE_RCU_TRACE is not set +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_LOG_BUF_SHIFT=14 +CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y +CONFIG_CGROUPS=y +# CONFIG_CGROUP_DEBUG is not set +# CONFIG_CGROUP_FREEZER is not set +# CONFIG_CGROUP_DEVICE is not set +# CONFIG_CPUSETS is not set +# CONFIG_CGROUP_CPUACCT is not set +# CONFIG_RESOURCE_COUNTERS is not set +# CONFIG_CGROUP_PERF is not set +# CONFIG_CGROUP_SCHED is not set +# CONFIG_BLK_CGROUP is not set +# CONFIG_NAMESPACES is not set +# CONFIG_SCHED_AUTOGROUP is not set +# CONFIG_SYSFS_DEPRECATED is not set +CONFIG_RELAY=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="" +CONFIG_RD_GZIP=y +# CONFIG_RD_BZIP2 is not set +# CONFIG_RD_LZMA is not set +# CONFIG_RD_XZ is not set +# CONFIG_RD_LZO is not set +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +CONFIG_SYSCTL=y +CONFIG_ANON_INODES=y +CONFIG_EXPERT=y +CONFIG_UID16=y +CONFIG_SYSCTL_SYSCALL=y +CONFIG_KALLSYMS=y +CONFIG_KALLSYMS_ALL=y +# CONFIG_KALLSYMS_EXTRA_PASS is not set +CONFIG_HOTPLUG=y +CONFIG_PRINTK=y +CONFIG_BUG=y +CONFIG_ELF_CORE=y +CONFIG_PCSPKR_PLATFORM=y +CONFIG_BASE_FULL=y +CONFIG_FUTEX=y +CONFIG_EPOLL=y +CONFIG_SIGNALFD=y +CONFIG_TIMERFD=y +CONFIG_EVENTFD=y +CONFIG_SHMEM=y +CONFIG_AIO=y +CONFIG_EMBEDDED=y +CONFIG_HAVE_PERF_EVENTS=y + +# +# Kernel Performance Events And Counters +# +CONFIG_PERF_EVENTS=y +# CONFIG_PERF_COUNTERS is not set +# CONFIG_DEBUG_PERF_USE_VMALLOC is not set +CONFIG_VM_EVENT_COUNTERS=y +CONFIG_PCI_QUIRKS=y +CONFIG_SLUB_DEBUG=y +CONFIG_COMPAT_BRK=y +# CONFIG_SLAB is not set +CONFIG_SLUB=y +# CONFIG_SLOB is not set +CONFIG_PROFILING=y +CONFIG_TRACEPOINTS=y +CONFIG_OPROFILE=y +# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set +CONFIG_HAVE_OPROFILE=y +CONFIG_KPROBES=y +# CONFIG_JUMP_LABEL is not set +CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y +CONFIG_KRETPROBES=y +CONFIG_HAVE_IOREMAP_PROT=y +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_OPTPROBES=y +CONFIG_HAVE_ARCH_TRACEHOOK=y +CONFIG_HAVE_DMA_ATTRS=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_DMA_API_DEBUG=y +CONFIG_HAVE_HW_BREAKPOINT=y +CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y +CONFIG_HAVE_USER_RETURN_NOTIFIER=y +CONFIG_HAVE_PERF_EVENTS_NMI=y +CONFIG_HAVE_ARCH_JUMP_LABEL=y + +# +# GCOV-based kernel profiling +# +# CONFIG_GCOV_KERNEL is not set +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +CONFIG_SLABINFO=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +# CONFIG_MODULE_FORCE_LOAD is not set +CONFIG_MODULE_UNLOAD=y +# CONFIG_MODULE_FORCE_UNLOAD is not set +# CONFIG_MODVERSIONS is not set +# CONFIG_MODULE_SRCVERSION_ALL is not set +CONFIG_BLOCK=y +CONFIG_LBDAF=y +CONFIG_BLK_DEV_BSG=y +# CONFIG_BLK_DEV_INTEGRITY is not set + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +# CONFIG_DEFAULT_DEADLINE is not set +CONFIG_DEFAULT_CFQ=y +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="cfq" +# CONFIG_INLINE_SPIN_TRYLOCK is not set +# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK is not set +# CONFIG_INLINE_SPIN_LOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK_IRQ is not set +# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set +# CONFIG_INLINE_SPIN_UNLOCK is not set +# CONFIG_INLINE_SPIN_UNLOCK_BH is not set +# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set +# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_READ_TRYLOCK is not set +# CONFIG_INLINE_READ_LOCK is not set +# CONFIG_INLINE_READ_LOCK_BH is not set +# CONFIG_INLINE_READ_LOCK_IRQ is not set +# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set +# CONFIG_INLINE_READ_UNLOCK is not set +# CONFIG_INLINE_READ_UNLOCK_BH is not set +# CONFIG_INLINE_READ_UNLOCK_IRQ is not set +# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_WRITE_TRYLOCK is not set +# CONFIG_INLINE_WRITE_LOCK is not set +# CONFIG_INLINE_WRITE_LOCK_BH is not set +# CONFIG_INLINE_WRITE_LOCK_IRQ is not set +# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set +# CONFIG_INLINE_WRITE_UNLOCK is not set +# CONFIG_INLINE_WRITE_UNLOCK_BH is not set +# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set +# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set +# CONFIG_MUTEX_SPIN_ON_OWNER is not set +CONFIG_FREEZER=y + +# +# Processor type and features +# +CONFIG_TICK_ONESHOT=y +# CONFIG_NO_HZ is not set +CONFIG_HIGH_RES_TIMERS=y +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +# CONFIG_SMP is not set +CONFIG_X86_MPPARSE=y +CONFIG_X86_EXTENDED_PLATFORM=y +# CONFIG_X86_ELAN is not set +# CONFIG_X86_RDC321X is not set +CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y +# CONFIG_X86_32_IRIS is not set +CONFIG_SCHED_OMIT_FRAME_POINTER=y +# CONFIG_PARAVIRT_GUEST is not set +CONFIG_NO_BOOTMEM=y +# CONFIG_MEMTEST is not set +# CONFIG_M386 is not set +# CONFIG_M486 is not set +# CONFIG_M586 is not set +# CONFIG_M586TSC is not set +# CONFIG_M586MMX is not set +# CONFIG_M686 is not set +# CONFIG_MPENTIUMII is not set +# CONFIG_MPENTIUMIII is not set +CONFIG_MPENTIUMM=y +# CONFIG_MPENTIUM4 is not set +# CONFIG_MK6 is not set +# CONFIG_MK7 is not set +# CONFIG_MK8 is not set +# CONFIG_MCRUSOE is not set +# CONFIG_MEFFICEON is not set +# CONFIG_MWINCHIPC6 is not set +# CONFIG_MWINCHIP3D is not set +# CONFIG_MGEODEGX1 is not set +# CONFIG_MGEODE_LX is not set +# CONFIG_MCYRIXIII is not set +# CONFIG_MVIAC3_2 is not set +# CONFIG_MVIAC7 is not set +# CONFIG_MCORE2 is not set +# CONFIG_MATOM is not set +CONFIG_X86_GENERIC=y +CONFIG_X86_INTERNODE_CACHE_SHIFT=6 +CONFIG_X86_CMPXCHG=y +CONFIG_CMPXCHG_LOCAL=y +CONFIG_X86_L1_CACHE_SHIFT=6 +CONFIG_X86_XADD=y +CONFIG_X86_WP_WORKS_OK=y +CONFIG_X86_INVLPG=y +CONFIG_X86_BSWAP=y +CONFIG_X86_POPAD_OK=y +CONFIG_X86_INTEL_USERCOPY=y +CONFIG_X86_USE_PPRO_CHECKSUM=y +CONFIG_X86_TSC=y +CONFIG_X86_CMPXCHG64=y +CONFIG_X86_CMOV=y +CONFIG_X86_MINIMUM_CPU_FAMILY=5 +CONFIG_X86_DEBUGCTLMSR=y +# CONFIG_PROCESSOR_SELECT is not set +CONFIG_CPU_SUP_INTEL=y +CONFIG_CPU_SUP_CYRIX_32=y +CONFIG_CPU_SUP_AMD=y +CONFIG_CPU_SUP_CENTAUR=y +CONFIG_CPU_SUP_TRANSMETA_32=y +CONFIG_CPU_SUP_UMC_32=y +# CONFIG_HPET_TIMER is not set +CONFIG_DMI=y +# CONFIG_IOMMU_HELPER is not set +# CONFIG_IOMMU_API is not set +CONFIG_NR_CPUS=1 +# CONFIG_IRQ_TIME_ACCOUNTING is not set +# CONFIG_PREEMPT_NONE is not set +# CONFIG_PREEMPT_VOLUNTARY is not set +CONFIG_PREEMPT=y +CONFIG_X86_UP_APIC=y +# CONFIG_X86_UP_IOAPIC is not set +CONFIG_X86_LOCAL_APIC=y +CONFIG_X86_MCE=y +CONFIG_X86_MCE_INTEL=y +CONFIG_X86_MCE_AMD=y +# CONFIG_X86_ANCIENT_MCE is not set +CONFIG_X86_MCE_THRESHOLD=y +# CONFIG_X86_MCE_INJECT is not set +CONFIG_X86_THERMAL_VECTOR=y +CONFIG_VM86=y +# CONFIG_TOSHIBA is not set +# CONFIG_I8K is not set +# CONFIG_X86_REBOOTFIXUPS is not set +CONFIG_MICROCODE=y +CONFIG_MICROCODE_INTEL=y +# CONFIG_MICROCODE_AMD is not set +CONFIG_MICROCODE_OLD_INTERFACE=y +CONFIG_X86_MSR=y +CONFIG_X86_CPUID=y +# CONFIG_NOHIGHMEM is not set +CONFIG_HIGHMEM4G=y +# CONFIG_HIGHMEM64G is not set +CONFIG_VMSPLIT_3G=y +# CONFIG_VMSPLIT_3G_OPT is not set +# CONFIG_VMSPLIT_2G is not set +# CONFIG_VMSPLIT_2G_OPT is not set +# CONFIG_VMSPLIT_1G is not set +CONFIG_PAGE_OFFSET=0xC0000000 +CONFIG_HIGHMEM=y +# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set +# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set +CONFIG_ARCH_FLATMEM_ENABLE=y +CONFIG_ARCH_SPARSEMEM_ENABLE=y +CONFIG_ARCH_SELECT_MEMORY_MODEL=y +CONFIG_ILLEGAL_POINTER_VALUE=0 +CONFIG_SELECT_MEMORY_MODEL=y +CONFIG_FLATMEM_MANUAL=y +# CONFIG_SPARSEMEM_MANUAL is not set +CONFIG_FLATMEM=y +CONFIG_FLAT_NODE_MEM_MAP=y +CONFIG_SPARSEMEM_STATIC=y +CONFIG_HAVE_MEMBLOCK=y +CONFIG_PAGEFLAGS_EXTENDED=y +CONFIG_SPLIT_PTLOCK_CPUS=4 +# CONFIG_COMPACTION is not set +# CONFIG_PHYS_ADDR_T_64BIT is not set +CONFIG_ZONE_DMA_FLAG=1 +CONFIG_BOUNCE=y +CONFIG_VIRT_TO_BUS=y +# CONFIG_KSM is not set +CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y +# CONFIG_MEMORY_FAILURE is not set +# CONFIG_TRANSPARENT_HUGEPAGE is not set +CONFIG_NEED_PER_CPU_KM=y +# CONFIG_HIGHPTE is not set +# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set +CONFIG_X86_RESERVE_LOW=64 +# CONFIG_MATH_EMULATION is not set +CONFIG_MTRR=y +CONFIG_MTRR_SANITIZER=y +CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0 +CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 +CONFIG_X86_PAT=y +CONFIG_ARCH_USES_PG_UNCACHED=y +# CONFIG_EFI is not set +CONFIG_SECCOMP=y +# CONFIG_CC_STACKPROTECTOR is not set +# CONFIG_HZ_100 is not set +CONFIG_HZ_250=y +# CONFIG_HZ_300 is not set +# CONFIG_HZ_1000 is not set +CONFIG_HZ=250 +CONFIG_SCHED_HRTICK=y +# CONFIG_KEXEC is not set +# CONFIG_CRASH_DUMP is not set +CONFIG_PHYSICAL_START=0x1000000 +CONFIG_RELOCATABLE=y +CONFIG_X86_NEED_RELOCS=y +CONFIG_PHYSICAL_ALIGN=0x1000000 +CONFIG_COMPAT_VDSO=y +# CONFIG_CMDLINE_BOOL is not set +CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y + +# +# Power management and ACPI options +# +CONFIG_SUSPEND=y +CONFIG_SUSPEND_FREEZER=y +# CONFIG_HIBERNATION is not set +CONFIG_PM_SLEEP=y +# CONFIG_PM_RUNTIME is not set +CONFIG_PM=y +# CONFIG_PM_DEBUG is not set +CONFIG_ACPI=y +CONFIG_ACPI_SLEEP=y +# CONFIG_ACPI_PROCFS is not set +# CONFIG_ACPI_PROCFS_POWER is not set +# CONFIG_ACPI_POWER_METER is not set +# CONFIG_ACPI_EC_DEBUGFS is not set +CONFIG_ACPI_PROC_EVENT=y +CONFIG_ACPI_AC=y +CONFIG_ACPI_BATTERY=y +CONFIG_ACPI_BUTTON=y +CONFIG_ACPI_FAN=y +# CONFIG_ACPI_DOCK is not set +CONFIG_ACPI_PROCESSOR=y +# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set +CONFIG_ACPI_THERMAL=y +# CONFIG_ACPI_CUSTOM_DSDT is not set +CONFIG_ACPI_BLACKLIST_YEAR=0 +# CONFIG_ACPI_DEBUG is not set +# CONFIG_ACPI_PCI_SLOT is not set +CONFIG_X86_PM_TIMER=y +# CONFIG_ACPI_CONTAINER is not set +# CONFIG_ACPI_SBS is not set +# CONFIG_ACPI_HED is not set +# CONFIG_ACPI_APEI is not set +# CONFIG_SFI is not set +# CONFIG_APM is not set + +# +# CPU Frequency scaling +# +# CONFIG_CPU_FREQ is not set +CONFIG_CPU_IDLE=y +CONFIG_CPU_IDLE_GOV_LADDER=y +# CONFIG_INTEL_IDLE is not set + +# +# Bus options (PCI etc.) +# +CONFIG_PCI=y +# CONFIG_PCI_GOBIOS is not set +# CONFIG_PCI_GOMMCONFIG is not set +# CONFIG_PCI_GODIRECT is not set +CONFIG_PCI_GOANY=y +CONFIG_PCI_BIOS=y +CONFIG_PCI_DIRECT=y +CONFIG_PCI_MMCONFIG=y +CONFIG_PCI_DOMAINS=y +# CONFIG_PCI_CNB20LE_QUIRK is not set +CONFIG_PCIEPORTBUS=y +CONFIG_PCIEAER=y +# CONFIG_PCIE_ECRC is not set +# CONFIG_PCIEAER_INJECT is not set +CONFIG_PCIEASPM=y +# CONFIG_PCIEASPM_DEBUG is not set +# CONFIG_ARCH_SUPPORTS_MSI is not set +# CONFIG_PCI_DEBUG is not set +# CONFIG_PCI_STUB is not set +# CONFIG_PCI_IOV is not set +CONFIG_PCI_IOAPIC=y +CONFIG_PCI_LABEL=y +CONFIG_ISA_DMA_API=y +# CONFIG_ISA is not set +# CONFIG_MCA is not set +# CONFIG_SCx200 is not set +# CONFIG_OLPC is not set +CONFIG_AMD_NB=y +# CONFIG_PCCARD is not set +# CONFIG_HOTPLUG_PCI is not set +# CONFIG_RAPIDIO is not set + +# +# Executable file formats / Emulations +# +CONFIG_BINFMT_ELF=y +CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y +CONFIG_HAVE_AOUT=y +# CONFIG_BINFMT_AOUT is not set +CONFIG_BINFMT_MISC=m +CONFIG_HAVE_ATOMIC_IOMAP=y +CONFIG_HAVE_TEXT_POKE_SMP=y +CONFIG_NET=y + +# +# Networking options +# +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_XFRM=y +CONFIG_XFRM_USER=m +CONFIG_XFRM_SUB_POLICY=y +CONFIG_XFRM_MIGRATE=y +# CONFIG_XFRM_STATISTICS is not set +CONFIG_XFRM_IPCOMP=m +CONFIG_NET_KEY=m +CONFIG_NET_KEY_MIGRATE=y +CONFIG_INET=y +CONFIG_IP_MULTICAST=y +CONFIG_IP_ADVANCED_ROUTER=y +# CONFIG_IP_FIB_TRIE_STATS is not set +CONFIG_IP_MULTIPLE_TABLES=y +CONFIG_IP_ROUTE_MULTIPATH=y +CONFIG_IP_ROUTE_VERBOSE=y +CONFIG_IP_ROUTE_CLASSID=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +CONFIG_IP_PNP_BOOTP=y +CONFIG_IP_PNP_RARP=y +CONFIG_NET_IPIP=m +# CONFIG_NET_IPGRE_DEMUX is not set +CONFIG_IP_MROUTE=y +# CONFIG_IP_MROUTE_MULTIPLE_TABLES is not set +CONFIG_IP_PIMSM_V1=y +CONFIG_IP_PIMSM_V2=y +# CONFIG_ARPD is not set +CONFIG_SYN_COOKIES=y +CONFIG_INET_AH=m +CONFIG_INET_ESP=m +CONFIG_INET_IPCOMP=m +CONFIG_INET_XFRM_TUNNEL=m +CONFIG_INET_TUNNEL=m +CONFIG_INET_XFRM_MODE_TRANSPORT=y +CONFIG_INET_XFRM_MODE_TUNNEL=y +CONFIG_INET_XFRM_MODE_BEET=y +CONFIG_INET_LRO=y +CONFIG_INET_DIAG=y +CONFIG_INET_TCP_DIAG=y +# CONFIG_TCP_CONG_ADVANCED is not set +CONFIG_TCP_CONG_CUBIC=y +CONFIG_DEFAULT_TCP_CONG="cubic" +# CONFIG_TCP_MD5SIG is not set +CONFIG_IPV6=m +# CONFIG_IPV6_PRIVACY is not set +# CONFIG_IPV6_ROUTER_PREF is not set +# CONFIG_IPV6_OPTIMISTIC_DAD is not set +CONFIG_INET6_AH=m +CONFIG_INET6_ESP=m +CONFIG_INET6_IPCOMP=m +# CONFIG_IPV6_MIP6 is not set +CONFIG_INET6_XFRM_TUNNEL=m +CONFIG_INET6_TUNNEL=m +CONFIG_INET6_XFRM_MODE_TRANSPORT=m +CONFIG_INET6_XFRM_MODE_TUNNEL=m +CONFIG_INET6_XFRM_MODE_BEET=m +# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set +CONFIG_IPV6_SIT=m +# CONFIG_IPV6_SIT_6RD is not set +CONFIG_IPV6_NDISC_NODETYPE=y +CONFIG_IPV6_TUNNEL=m +# CONFIG_IPV6_MULTIPLE_TABLES is not set +# CONFIG_IPV6_MROUTE is not set +# CONFIG_NETLABEL is not set +# CONFIG_NETWORK_SECMARK is not set +# CONFIG_NETWORK_PHY_TIMESTAMPING is not set +CONFIG_NETFILTER=y +# CONFIG_NETFILTER_DEBUG is not set +CONFIG_NETFILTER_ADVANCED=y +CONFIG_BRIDGE_NETFILTER=y + +# +# Core Netfilter Configuration +# +CONFIG_NETFILTER_NETLINK=m +CONFIG_NETFILTER_NETLINK_QUEUE=m +CONFIG_NETFILTER_NETLINK_LOG=m +CONFIG_NF_CONNTRACK=m +CONFIG_NF_CONNTRACK_MARK=y +# CONFIG_NF_CONNTRACK_EVENTS is not set +# CONFIG_NF_CONNTRACK_TIMESTAMP is not set +# CONFIG_NF_CT_PROTO_DCCP is not set +CONFIG_NF_CT_PROTO_GRE=m +CONFIG_NF_CT_PROTO_SCTP=m +CONFIG_NF_CT_PROTO_UDPLITE=m +CONFIG_NF_CONNTRACK_AMANDA=m +CONFIG_NF_CONNTRACK_FTP=m +CONFIG_NF_CONNTRACK_H323=m +CONFIG_NF_CONNTRACK_IRC=m +CONFIG_NF_CONNTRACK_BROADCAST=m +CONFIG_NF_CONNTRACK_NETBIOS_NS=m +# CONFIG_NF_CONNTRACK_SNMP is not set +CONFIG_NF_CONNTRACK_PPTP=m +CONFIG_NF_CONNTRACK_SANE=m +CONFIG_NF_CONNTRACK_SIP=m +CONFIG_NF_CONNTRACK_TFTP=m +CONFIG_NF_CT_NETLINK=m +# CONFIG_NETFILTER_TPROXY is not set +CONFIG_NETFILTER_XTABLES=m + +# +# Xtables combined modules +# +CONFIG_NETFILTER_XT_MARK=m +CONFIG_NETFILTER_XT_CONNMARK=m + +# +# Xtables targets +# +# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set +CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m +CONFIG_NETFILTER_XT_TARGET_CONNMARK=m +# CONFIG_NETFILTER_XT_TARGET_CT is not set +CONFIG_NETFILTER_XT_TARGET_DSCP=m +CONFIG_NETFILTER_XT_TARGET_HL=m +# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set +# CONFIG_NETFILTER_XT_TARGET_LED is not set +CONFIG_NETFILTER_XT_TARGET_MARK=m +CONFIG_NETFILTER_XT_TARGET_NFLOG=m +CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m +CONFIG_NETFILTER_XT_TARGET_NOTRACK=m +# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set +# CONFIG_NETFILTER_XT_TARGET_TEE is not set +CONFIG_NETFILTER_XT_TARGET_TRACE=m +CONFIG_NETFILTER_XT_TARGET_TCPMSS=m +# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set + +# +# Xtables matches +# +# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set +# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set +CONFIG_NETFILTER_XT_MATCH_COMMENT=m +CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m +CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m +CONFIG_NETFILTER_XT_MATCH_CONNMARK=m +CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m +# CONFIG_NETFILTER_XT_MATCH_CPU is not set +CONFIG_NETFILTER_XT_MATCH_DCCP=m +# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set +CONFIG_NETFILTER_XT_MATCH_DSCP=m +CONFIG_NETFILTER_XT_MATCH_ESP=m +CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m +CONFIG_NETFILTER_XT_MATCH_HELPER=m +CONFIG_NETFILTER_XT_MATCH_HL=m +# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set +CONFIG_NETFILTER_XT_MATCH_LENGTH=m +CONFIG_NETFILTER_XT_MATCH_LIMIT=m +CONFIG_NETFILTER_XT_MATCH_MAC=m +CONFIG_NETFILTER_XT_MATCH_MARK=m +CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m +# CONFIG_NETFILTER_XT_MATCH_OSF is not set +# CONFIG_NETFILTER_XT_MATCH_OWNER is not set +CONFIG_NETFILTER_XT_MATCH_POLICY=m +# CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set +CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m +CONFIG_NETFILTER_XT_MATCH_QUOTA=m +# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set +CONFIG_NETFILTER_XT_MATCH_REALM=m +# CONFIG_NETFILTER_XT_MATCH_RECENT is not set +CONFIG_NETFILTER_XT_MATCH_SCTP=m +CONFIG_NETFILTER_XT_MATCH_STATE=m +CONFIG_NETFILTER_XT_MATCH_STATISTIC=m +CONFIG_NETFILTER_XT_MATCH_STRING=m +CONFIG_NETFILTER_XT_MATCH_TCPMSS=m +# CONFIG_NETFILTER_XT_MATCH_TIME is not set +CONFIG_NETFILTER_XT_MATCH_U32=m +# CONFIG_IP_SET is not set +# CONFIG_IP_VS is not set + +# +# IP: Netfilter Configuration +# +CONFIG_NF_DEFRAG_IPV4=m +CONFIG_NF_CONNTRACK_IPV4=m +CONFIG_NF_CONNTRACK_PROC_COMPAT=y +CONFIG_IP_NF_QUEUE=m +CONFIG_IP_NF_IPTABLES=m +CONFIG_IP_NF_MATCH_AH=m +CONFIG_IP_NF_MATCH_ECN=m +CONFIG_IP_NF_MATCH_TTL=m +CONFIG_IP_NF_FILTER=m +CONFIG_IP_NF_TARGET_REJECT=m +CONFIG_IP_NF_TARGET_LOG=m +CONFIG_IP_NF_TARGET_ULOG=m +CONFIG_NF_NAT=m +CONFIG_NF_NAT_IPV4=m +CONFIG_IP_NF_TARGET_MASQUERADE=m +CONFIG_IP_NF_TARGET_NETMAP=m +CONFIG_IP_NF_TARGET_REDIRECT=m +CONFIG_NF_NAT_PROTO_GRE=m +CONFIG_NF_NAT_PROTO_UDPLITE=m +CONFIG_NF_NAT_PROTO_SCTP=m +CONFIG_NF_NAT_FTP=m +CONFIG_NF_NAT_IRC=m +CONFIG_NF_NAT_TFTP=m +CONFIG_NF_NAT_AMANDA=m +CONFIG_NF_NAT_PPTP=m +CONFIG_NF_NAT_H323=m +CONFIG_NF_NAT_SIP=m +CONFIG_IP_NF_MANGLE=m +CONFIG_IP_NF_TARGET_CLUSTERIP=m +CONFIG_IP_NF_TARGET_ECN=m +CONFIG_IP_NF_TARGET_TTL=m +CONFIG_IP_NF_RAW=m +# CONFIG_IP_NF_SECURITY is not set +CONFIG_IP_NF_ARPTABLES=m +CONFIG_IP_NF_ARPFILTER=m +CONFIG_IP_NF_ARP_MANGLE=m + +# +# IPv6: Netfilter Configuration +# +# CONFIG_NF_DEFRAG_IPV6 is not set +# CONFIG_NF_CONNTRACK_IPV6 is not set +CONFIG_IP6_NF_QUEUE=m +CONFIG_IP6_NF_IPTABLES=m +# CONFIG_IP6_NF_MATCH_AH is not set +CONFIG_IP6_NF_MATCH_EUI64=m +CONFIG_IP6_NF_MATCH_FRAG=m +CONFIG_IP6_NF_MATCH_OPTS=m +CONFIG_IP6_NF_MATCH_HL=m +CONFIG_IP6_NF_MATCH_IPV6HEADER=m +# CONFIG_IP6_NF_MATCH_MH is not set +CONFIG_IP6_NF_MATCH_RT=m +# CONFIG_IP6_NF_TARGET_HL is not set +CONFIG_IP6_NF_TARGET_LOG=m +CONFIG_IP6_NF_FILTER=m +# CONFIG_IP6_NF_TARGET_REJECT is not set +CONFIG_IP6_NF_MANGLE=m +CONFIG_IP6_NF_RAW=m +# CONFIG_IP6_NF_SECURITY is not set +# CONFIG_BRIDGE_NF_EBTABLES is not set +# CONFIG_IP_DCCP is not set +CONFIG_IP_SCTP=m +# CONFIG_NET_SCTPPROBE is not set +# CONFIG_SCTP_DBG_MSG is not set +# CONFIG_SCTP_DBG_OBJCNT is not set +# CONFIG_SCTP_HMAC_NONE is not set +# CONFIG_SCTP_HMAC_SHA1 is not set +CONFIG_SCTP_HMAC_MD5=y +# CONFIG_RDS is not set +CONFIG_TIPC=m +# CONFIG_TIPC_ADVANCED is not set +# CONFIG_TIPC_DEBUG is not set +CONFIG_ATM=m +CONFIG_ATM_CLIP=m +# CONFIG_ATM_CLIP_NO_ICMP is not set +CONFIG_ATM_LANE=m +CONFIG_ATM_MPOA=m +CONFIG_ATM_BR2684=m +# CONFIG_ATM_BR2684_IPFILTER is not set +# CONFIG_L2TP is not set +CONFIG_STP=m +CONFIG_BRIDGE=m +CONFIG_BRIDGE_IGMP_SNOOPING=y +# CONFIG_NET_DSA is not set +CONFIG_VLAN_8021Q=m +# CONFIG_VLAN_8021Q_GVRP is not set +# CONFIG_DECNET is not set +CONFIG_LLC=m +# CONFIG_LLC2 is not set +# CONFIG_IPX is not set +# CONFIG_ATALK is not set +# CONFIG_X25 is not set +# CONFIG_LAPB is not set +# CONFIG_ECONET is not set +CONFIG_WAN_ROUTER=m +# CONFIG_PHONET is not set +# CONFIG_IEEE802154 is not set +CONFIG_NET_SCHED=y + +# +# Queueing/Scheduling +# +# CONFIG_NET_SCH_CBQ is not set +# CONFIG_NET_SCH_HTB is not set +# CONFIG_NET_SCH_HFSC is not set +# CONFIG_NET_SCH_ATM is not set +# CONFIG_NET_SCH_PRIO is not set +# CONFIG_NET_SCH_MULTIQ is not set +# CONFIG_NET_SCH_RED is not set +# CONFIG_NET_SCH_SFB is not set +# CONFIG_NET_SCH_SFQ is not set +# CONFIG_NET_SCH_TEQL is not set +# CONFIG_NET_SCH_TBF is not set +# CONFIG_NET_SCH_GRED is not set +# CONFIG_NET_SCH_DSMARK is not set +# CONFIG_NET_SCH_NETEM is not set +# CONFIG_NET_SCH_DRR is not set +# CONFIG_NET_SCH_MQPRIO is not set +# CONFIG_NET_SCH_CHOKE is not set + +# +# Classification +# +# CONFIG_NET_CLS_BASIC is not set +# CONFIG_NET_CLS_TCINDEX is not set +# CONFIG_NET_CLS_ROUTE4 is not set +# CONFIG_NET_CLS_FW is not set +# CONFIG_NET_CLS_U32 is not set +# CONFIG_NET_CLS_RSVP is not set +# CONFIG_NET_CLS_RSVP6 is not set +# CONFIG_NET_CLS_FLOW is not set +# CONFIG_NET_EMATCH is not set +# CONFIG_NET_CLS_ACT is not set +CONFIG_NET_SCH_FIFO=y +# CONFIG_DCB is not set +CONFIG_DNS_RESOLVER=y +# CONFIG_BATMAN_ADV is not set + +# +# Network testing +# +CONFIG_NET_PKTGEN=m +# CONFIG_NET_TCPPROBE is not set +# CONFIG_NET_DROP_MONITOR is not set +# CONFIG_HAMRADIO is not set +# CONFIG_CAN is not set +# CONFIG_IRDA is not set +# CONFIG_BT is not set +# CONFIG_AF_RXRPC is not set +CONFIG_FIB_RULES=y +CONFIG_WIRELESS=y +CONFIG_WEXT_CORE=y +CONFIG_WEXT_PROC=y +CONFIG_CFG80211=y +# CONFIG_NL80211_TESTMODE is not set +# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set +# CONFIG_CFG80211_REG_DEBUG is not set +CONFIG_CFG80211_DEFAULT_PS=y +# CONFIG_CFG80211_DEBUGFS is not set +# CONFIG_CFG80211_INTERNAL_REGDB is not set +CONFIG_CFG80211_WEXT=y +CONFIG_WIRELESS_EXT_SYSFS=y +# CONFIG_LIB80211 is not set +CONFIG_MAC80211=y +CONFIG_MAC80211_HAS_RC=y +# CONFIG_MAC80211_RC_PID is not set +CONFIG_MAC80211_RC_MINSTREL=y +CONFIG_MAC80211_RC_MINSTREL_HT=y +CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y +CONFIG_MAC80211_RC_DEFAULT="minstrel_ht" +# CONFIG_MAC80211_MESH is not set +CONFIG_MAC80211_LEDS=y +# CONFIG_MAC80211_DEBUGFS is not set +# CONFIG_MAC80211_DEBUG_MENU is not set +# CONFIG_WIMAX is not set +# CONFIG_RFKILL is not set +# CONFIG_NET_9P is not set +# CONFIG_CAIF is not set +# CONFIG_CEPH_LIB is not set + +# +# Device Drivers +# + +# +# Generic Driver Options +# +CONFIG_UEVENT_HELPER_PATH="" +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_STANDALONE=y +CONFIG_PREVENT_FIRMWARE_BUILD=y +CONFIG_FW_LOADER=y +CONFIG_FIRMWARE_IN_KERNEL=y +CONFIG_EXTRA_FIRMWARE="" +# CONFIG_DEBUG_DRIVER is not set +# CONFIG_DEBUG_DEVRES is not set +# CONFIG_SYS_HYPERVISOR is not set +CONFIG_ARCH_NO_SYSDEV_OPS=y +CONFIG_CONNECTOR=y +CONFIG_PROC_EVENTS=y +# CONFIG_MTD is not set +# CONFIG_PARPORT is not set +CONFIG_PNP=y +CONFIG_PNP_DEBUG_MESSAGES=y + +# +# Protocols +# +CONFIG_PNPACPI=y +CONFIG_BLK_DEV=y +# CONFIG_BLK_DEV_FD is not set +# CONFIG_BLK_CPQ_DA is not set +# CONFIG_BLK_CPQ_CISS_DA is not set +# CONFIG_BLK_DEV_DAC960 is not set +# CONFIG_BLK_DEV_UMEM is not set +# CONFIG_BLK_DEV_COW_COMMON is not set +CONFIG_BLK_DEV_LOOP=m +CONFIG_BLK_DEV_CRYPTOLOOP=m +# CONFIG_BLK_DEV_DRBD is not set +CONFIG_BLK_DEV_NBD=m +# CONFIG_BLK_DEV_SX8 is not set +# CONFIG_BLK_DEV_UB is not set +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_COUNT=16 +CONFIG_BLK_DEV_RAM_SIZE=4096 +# CONFIG_BLK_DEV_XIP is not set +# CONFIG_CDROM_PKTCDVD is not set +# CONFIG_ATA_OVER_ETH is not set +# CONFIG_BLK_DEV_HD is not set +# CONFIG_BLK_DEV_RBD is not set +# CONFIG_SENSORS_LIS3LV02D is not set +# CONFIG_MISC_DEVICES is not set +CONFIG_HAVE_IDE=y +# CONFIG_IDE is not set + +# +# SCSI device support +# +CONFIG_SCSI_MOD=y +# CONFIG_RAID_ATTRS is not set +CONFIG_SCSI=y +CONFIG_SCSI_DMA=y +# CONFIG_SCSI_TGT is not set +# CONFIG_SCSI_NETLINK is not set +CONFIG_SCSI_PROC_FS=y + +# +# SCSI support type (disk, tape, CD-ROM) +# +CONFIG_BLK_DEV_SD=y +# CONFIG_CHR_DEV_ST is not set +# CONFIG_CHR_DEV_OSST is not set +# CONFIG_BLK_DEV_SR is not set +# CONFIG_CHR_DEV_SG is not set +# CONFIG_CHR_DEV_SCH is not set +# CONFIG_SCSI_MULTI_LUN is not set +# CONFIG_SCSI_CONSTANTS is not set +# CONFIG_SCSI_LOGGING is not set +# CONFIG_SCSI_SCAN_ASYNC is not set +CONFIG_SCSI_WAIT_SCAN=m + +# +# SCSI Transports +# +# CONFIG_SCSI_SPI_ATTRS is not set +# CONFIG_SCSI_FC_ATTRS is not set +# CONFIG_SCSI_ISCSI_ATTRS is not set +# CONFIG_SCSI_SAS_ATTRS is not set +# CONFIG_SCSI_SAS_LIBSAS is not set +# CONFIG_SCSI_SRP_ATTRS is not set +CONFIG_SCSI_LOWLEVEL=y +# CONFIG_ISCSI_TCP is not set +# CONFIG_ISCSI_BOOT_SYSFS is not set +# CONFIG_SCSI_CXGB3_ISCSI is not set +# CONFIG_SCSI_CXGB4_ISCSI is not set +# CONFIG_SCSI_BNX2_ISCSI is not set +# CONFIG_SCSI_BNX2X_FCOE is not set +# CONFIG_BE2ISCSI is not set +# CONFIG_BLK_DEV_3W_XXXX_RAID is not set +# CONFIG_SCSI_HPSA is not set +# CONFIG_SCSI_3W_9XXX is not set +# CONFIG_SCSI_3W_SAS is not set +# CONFIG_SCSI_ACARD is not set +# CONFIG_SCSI_AACRAID is not set +# CONFIG_SCSI_AIC7XXX is not set +# CONFIG_SCSI_AIC7XXX_OLD is not set +# CONFIG_SCSI_AIC79XX is not set +# CONFIG_SCSI_AIC94XX is not set +# CONFIG_SCSI_MVSAS is not set +# CONFIG_SCSI_DPT_I2O is not set +# CONFIG_SCSI_ADVANSYS is not set +# CONFIG_SCSI_ARCMSR is not set +# CONFIG_MEGARAID_NEWGEN is not set +# CONFIG_MEGARAID_LEGACY is not set +# CONFIG_MEGARAID_SAS is not set +# CONFIG_SCSI_MPT2SAS is not set +# CONFIG_SCSI_HPTIOP is not set +# CONFIG_SCSI_BUSLOGIC is not set +# CONFIG_VMWARE_PVSCSI is not set +# CONFIG_LIBFC is not set +# CONFIG_LIBFCOE is not set +# CONFIG_FCOE is not set +# CONFIG_FCOE_FNIC is not set +# CONFIG_SCSI_DMX3191D is not set +# CONFIG_SCSI_EATA is not set +# CONFIG_SCSI_FUTURE_DOMAIN is not set +# CONFIG_SCSI_GDTH is not set +# CONFIG_SCSI_IPS is not set +# CONFIG_SCSI_INITIO is not set +# CONFIG_SCSI_INIA100 is not set +# CONFIG_SCSI_STEX is not set +# CONFIG_SCSI_SYM53C8XX_2 is not set +# CONFIG_SCSI_IPR is not set +# CONFIG_SCSI_QLOGIC_1280 is not set +# CONFIG_SCSI_QLA_FC is not set +# CONFIG_SCSI_QLA_ISCSI is not set +# CONFIG_SCSI_LPFC is not set +# CONFIG_SCSI_DC395x is not set +# CONFIG_SCSI_DC390T is not set +# CONFIG_SCSI_NSP32 is not set +# CONFIG_SCSI_DEBUG is not set +# CONFIG_SCSI_PMCRAID is not set +# CONFIG_SCSI_PM8001 is not set +# CONFIG_SCSI_SRP is not set +# CONFIG_SCSI_BFA_FC is not set +# CONFIG_SCSI_DH is not set +# CONFIG_SCSI_OSD_INITIATOR is not set +CONFIG_ATA=y +# CONFIG_ATA_NONSTANDARD is not set +CONFIG_ATA_VERBOSE_ERROR=y +CONFIG_ATA_ACPI=y +CONFIG_SATA_PMP=y + +# +# Controllers with non-SFF native interface +# +CONFIG_SATA_AHCI=y +# CONFIG_SATA_AHCI_PLATFORM is not set +# CONFIG_SATA_INIC162X is not set +# CONFIG_SATA_ACARD_AHCI is not set +# CONFIG_SATA_SIL24 is not set +CONFIG_ATA_SFF=y + +# +# SFF controllers with custom DMA interface +# +# CONFIG_PDC_ADMA is not set +# CONFIG_SATA_QSTOR is not set +# CONFIG_SATA_SX4 is not set +CONFIG_ATA_BMDMA=y + +# +# SATA SFF controllers with BMDMA +# +CONFIG_ATA_PIIX=y +# CONFIG_SATA_MV is not set +# CONFIG_SATA_NV is not set +# CONFIG_SATA_PROMISE is not set +# CONFIG_SATA_SIL is not set +# CONFIG_SATA_SIS is not set +# CONFIG_SATA_SVW is not set +# CONFIG_SATA_ULI is not set +# CONFIG_SATA_VIA is not set +# CONFIG_SATA_VITESSE is not set + +# +# PATA SFF controllers with BMDMA +# +# CONFIG_PATA_ALI is not set +# CONFIG_PATA_AMD is not set +# CONFIG_PATA_ARASAN_CF is not set +# CONFIG_PATA_ARTOP is not set +# CONFIG_PATA_ATIIXP is not set +# CONFIG_PATA_ATP867X is not set +# CONFIG_PATA_CMD64X is not set +# CONFIG_PATA_CS5520 is not set +# CONFIG_PATA_CS5530 is not set +# CONFIG_PATA_CS5535 is not set +CONFIG_PATA_CS5536=y +# CONFIG_PATA_CYPRESS is not set +# CONFIG_PATA_EFAR is not set +# CONFIG_PATA_HPT366 is not set +# CONFIG_PATA_HPT37X is not set +# CONFIG_PATA_HPT3X2N is not set +# CONFIG_PATA_HPT3X3 is not set +# CONFIG_PATA_IT8213 is not set +# CONFIG_PATA_IT821X is not set +# CONFIG_PATA_JMICRON is not set +# CONFIG_PATA_MARVELL is not set +# CONFIG_PATA_NETCELL is not set +# CONFIG_PATA_NINJA32 is not set +# CONFIG_PATA_NS87415 is not set +# CONFIG_PATA_OLDPIIX is not set +# CONFIG_PATA_OPTIDMA is not set +# CONFIG_PATA_PDC2027X is not set +# CONFIG_PATA_PDC_OLD is not set +# CONFIG_PATA_RADISYS is not set +# CONFIG_PATA_RDC is not set +# CONFIG_PATA_SC1200 is not set +# CONFIG_PATA_SCH is not set +# CONFIG_PATA_SERVERWORKS is not set +# CONFIG_PATA_SIL680 is not set +# CONFIG_PATA_SIS is not set +# CONFIG_PATA_TOSHIBA is not set +# CONFIG_PATA_TRIFLEX is not set +# CONFIG_PATA_VIA is not set +# CONFIG_PATA_WINBOND is not set + +# +# PIO-only SFF controllers +# +# CONFIG_PATA_CMD640_PCI is not set +# CONFIG_PATA_MPIIX is not set +# CONFIG_PATA_NS87410 is not set +# CONFIG_PATA_OPTI is not set +CONFIG_PATA_PLATFORM=y +# CONFIG_PATA_RZ1000 is not set + +# +# Generic fallback / legacy drivers +# +# CONFIG_PATA_ACPI is not set +CONFIG_ATA_GENERIC=y +# CONFIG_PATA_LEGACY is not set +CONFIG_MD=y +CONFIG_BLK_DEV_MD=y +CONFIG_MD_AUTODETECT=y +CONFIG_MD_LINEAR=y +CONFIG_MD_RAID0=y +CONFIG_MD_RAID1=y +CONFIG_MD_RAID10=y +# CONFIG_MD_RAID456 is not set +CONFIG_MD_MULTIPATH=y +CONFIG_MD_FAULTY=y +CONFIG_BLK_DEV_DM=y +# CONFIG_DM_DEBUG is not set +CONFIG_DM_CRYPT=y +CONFIG_DM_SNAPSHOT=y +CONFIG_DM_MIRROR=y +# CONFIG_DM_RAID is not set +# CONFIG_DM_LOG_USERSPACE is not set +CONFIG_DM_ZERO=y +# CONFIG_DM_MULTIPATH is not set +# CONFIG_DM_DELAY is not set +# CONFIG_DM_UEVENT is not set +# CONFIG_DM_FLAKEY is not set +# CONFIG_TARGET_CORE is not set +# CONFIG_FUSION is not set + +# +# IEEE 1394 (FireWire) support +# +# CONFIG_FIREWIRE is not set +# CONFIG_FIREWIRE_NOSY is not set +# CONFIG_I2O is not set +# CONFIG_MACINTOSH_DRIVERS is not set +CONFIG_NETDEVICES=y +CONFIG_DUMMY=m +CONFIG_BONDING=m +# CONFIG_MACVLAN is not set +# CONFIG_EQUALIZER is not set +CONFIG_TUN=m +# CONFIG_VETH is not set +# CONFIG_NET_SB1000 is not set +# CONFIG_ARCNET is not set +CONFIG_MII=y +CONFIG_PHYLIB=y + +# +# MII PHY device drivers +# +# CONFIG_MARVELL_PHY is not set +# CONFIG_DAVICOM_PHY is not set +# CONFIG_QSEMI_PHY is not set +# CONFIG_LXT_PHY is not set +# CONFIG_CICADA_PHY is not set +# CONFIG_VITESSE_PHY is not set +# CONFIG_SMSC_PHY is not set +# CONFIG_BROADCOM_PHY is not set +# CONFIG_BCM63XX_PHY is not set +# CONFIG_ICPLUS_PHY is not set +# CONFIG_REALTEK_PHY is not set +# CONFIG_NATIONAL_PHY is not set +# CONFIG_STE10XP is not set +# CONFIG_LSI_ET1011C_PHY is not set +# CONFIG_MICREL_PHY is not set +# CONFIG_FIXED_PHY is not set +# CONFIG_MDIO_BITBANG is not set +CONFIG_NET_ETHERNET=y +# CONFIG_HAPPYMEAL is not set +# CONFIG_SUNGEM is not set +# CONFIG_CASSINI is not set +# CONFIG_NET_VENDOR_3COM is not set +# CONFIG_ETHOC is not set +# CONFIG_DNET is not set +# CONFIG_NET_TULIP is not set +# CONFIG_HP100 is not set +# CONFIG_IBM_NEW_EMAC_ZMII is not set +# CONFIG_IBM_NEW_EMAC_RGMII is not set +# CONFIG_IBM_NEW_EMAC_TAH is not set +# CONFIG_IBM_NEW_EMAC_EMAC4 is not set +# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set +# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set +# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set +CONFIG_NET_PCI=y +# CONFIG_PCNET32 is not set +# CONFIG_AMD8111_ETH is not set +# CONFIG_ADAPTEC_STARFIRE is not set +# CONFIG_KSZ884X_PCI is not set +# CONFIG_B44 is not set +# CONFIG_FORCEDETH is not set +CONFIG_E100=y +# CONFIG_FEALNX is not set +# CONFIG_NATSEMI is not set +# CONFIG_NE2K_PCI is not set +# CONFIG_8139CP is not set +# CONFIG_8139TOO is not set +# CONFIG_R6040 is not set +# CONFIG_SIS900 is not set +# CONFIG_EPIC100 is not set +# CONFIG_SMSC9420 is not set +# CONFIG_SUNDANCE is not set +# CONFIG_TLAN is not set +# CONFIG_KS8851_MLL is not set +CONFIG_VIA_RHINE=y +CONFIG_VIA_RHINE_MMIO=y +# CONFIG_SC92031 is not set +CONFIG_ATL2=y +CONFIG_NETDEV_1000=y +# CONFIG_ACENIC is not set +# CONFIG_DL2K is not set +CONFIG_E1000=y +CONFIG_E1000E=y +# CONFIG_IP1000 is not set +# CONFIG_IGB is not set +# CONFIG_IGBVF is not set +# CONFIG_NS83820 is not set +# CONFIG_HAMACHI is not set +# CONFIG_YELLOWFIN is not set +# CONFIG_R8169 is not set +# CONFIG_SIS190 is not set +# CONFIG_SKGE is not set +# CONFIG_SKY2 is not set +# CONFIG_VIA_VELOCITY is not set +CONFIG_TIGON3=y +# CONFIG_BNX2 is not set +# CONFIG_CNIC is not set +# CONFIG_QLA3XXX is not set +# CONFIG_ATL1 is not set +# CONFIG_ATL1E is not set +# CONFIG_ATL1C is not set +# CONFIG_JME is not set +# CONFIG_STMMAC_ETH is not set +# CONFIG_PCH_GBE is not set +CONFIG_NETDEV_10000=y +# CONFIG_CHELSIO_T1 is not set +# CONFIG_CHELSIO_T3 is not set +# CONFIG_CHELSIO_T4 is not set +# CONFIG_CHELSIO_T4VF is not set +# CONFIG_ENIC is not set +# CONFIG_IXGBE is not set +# CONFIG_IXGB is not set +# CONFIG_S2IO is not set +# CONFIG_VXGE is not set +# CONFIG_MYRI10GE is not set +# CONFIG_NETXEN_NIC is not set +# CONFIG_NIU is not set +# CONFIG_MLX4_EN is not set +# CONFIG_MLX4_CORE is not set +# CONFIG_TEHUTI is not set +# CONFIG_BNX2X is not set +# CONFIG_QLCNIC is not set +# CONFIG_QLGE is not set +# CONFIG_BNA is not set +# CONFIG_SFC is not set +# CONFIG_BE2NET is not set +# CONFIG_TR is not set +CONFIG_WLAN=y +# CONFIG_LIBERTAS_THINFIRM is not set +# CONFIG_AIRO is not set +# CONFIG_ATMEL is not set +# CONFIG_AT76C50X_USB is not set +# CONFIG_PRISM54 is not set +# CONFIG_USB_ZD1201 is not set +# CONFIG_USB_NET_RNDIS_WLAN is not set +# CONFIG_RTL8180 is not set +# CONFIG_RTL8187 is not set +# CONFIG_ADM8211 is not set +# CONFIG_MAC80211_HWSIM is not set +# CONFIG_MWL8K is not set +CONFIG_ATH_COMMON=y +# CONFIG_ATH_DEBUG is not set +CONFIG_ATH5K=y +# CONFIG_ATH5K_DEBUG is not set +# CONFIG_ATH5K_TRACER is not set +CONFIG_ATH5K_PCI=y +# CONFIG_ATH9K is not set +# CONFIG_ATH9K_HTC is not set +# CONFIG_AR9170_USB is not set +# CONFIG_CARL9170 is not set +# CONFIG_B43 is not set +# CONFIG_B43LEGACY is not set +# CONFIG_HOSTAP is not set +# CONFIG_IPW2100 is not set +# CONFIG_IPW2200 is not set +# CONFIG_IWLAGN is not set +# CONFIG_IWL4965 is not set +# CONFIG_IWL3945 is not set +# CONFIG_LIBERTAS is not set +# CONFIG_HERMES is not set +# CONFIG_P54_COMMON is not set +# CONFIG_RT2X00 is not set +# CONFIG_RTL8192CE is not set +# CONFIG_RTL8192CU is not set +# CONFIG_WL1251 is not set +# CONFIG_WL12XX_MENU is not set +# CONFIG_ZD1211RW is not set + +# +# Enable WiMAX (Networking options) to see the WiMAX drivers +# + +# +# USB Network Adapters +# +# CONFIG_USB_CATC is not set +# CONFIG_USB_KAWETH is not set +# CONFIG_USB_PEGASUS is not set +# CONFIG_USB_RTL8150 is not set +# CONFIG_USB_USBNET is not set +# CONFIG_USB_IPHETH is not set +# CONFIG_WAN is not set +CONFIG_ATM_DRIVERS=y +# CONFIG_ATM_DUMMY is not set +# CONFIG_ATM_TCP is not set +# CONFIG_ATM_LANAI is not set +# CONFIG_ATM_ENI is not set +# CONFIG_ATM_FIRESTREAM is not set +# CONFIG_ATM_ZATM is not set +# CONFIG_ATM_NICSTAR is not set +# CONFIG_ATM_IDT77252 is not set +# CONFIG_ATM_AMBASSADOR is not set +# CONFIG_ATM_HORIZON is not set +# CONFIG_ATM_IA is not set +# CONFIG_ATM_FORE200E is not set +# CONFIG_ATM_HE is not set +# CONFIG_ATM_SOLOS is not set + +# +# CAIF transport drivers +# +# CONFIG_FDDI is not set +# CONFIG_HIPPI is not set +CONFIG_PPP=m +CONFIG_PPP_MULTILINK=y +CONFIG_PPP_FILTER=y +CONFIG_PPP_ASYNC=m +CONFIG_PPP_SYNC_TTY=m +CONFIG_PPP_DEFLATE=m +CONFIG_PPP_BSDCOMP=m +# CONFIG_PPP_MPPE is not set +CONFIG_PPPOE=m +CONFIG_PPPOATM=m +CONFIG_SLIP=m +CONFIG_SLIP_COMPRESSED=y +CONFIG_SLHC=m +CONFIG_SLIP_SMART=y +CONFIG_SLIP_MODE_SLIP6=y +# CONFIG_NET_FC is not set +CONFIG_NETCONSOLE=y +# CONFIG_NETCONSOLE_DYNAMIC is not set +CONFIG_NETPOLL=y +# CONFIG_NETPOLL_TRAP is not set +CONFIG_NET_POLL_CONTROLLER=y +# CONFIG_VMXNET3 is not set +CONFIG_ISDN=y +# CONFIG_ISDN_I4L is not set +# CONFIG_ISDN_CAPI is not set +# CONFIG_ISDN_DRV_GIGASET is not set +# CONFIG_HYSDN is not set +CONFIG_MISDN=m +CONFIG_MISDN_DSP=m +# CONFIG_MISDN_L1OIP is not set + +# +# mISDN hardware drivers +# +# CONFIG_MISDN_HFCPCI is not set +# CONFIG_MISDN_HFCMULTI is not set +# CONFIG_MISDN_HFCUSB is not set +# CONFIG_MISDN_AVMFRITZ is not set +# CONFIG_MISDN_SPEEDFAX is not set +# CONFIG_MISDN_INFINEON is not set +# CONFIG_MISDN_W6692 is not set +# CONFIG_MISDN_NETJET is not set +CONFIG_MISDN_L1LOOP=m +# CONFIG_PHONE is not set + +# +# Input device support +# +CONFIG_INPUT=y +# CONFIG_INPUT_FF_MEMLESS is not set +# CONFIG_INPUT_POLLDEV is not set +# CONFIG_INPUT_SPARSEKMAP is not set + +# +# Userland interfaces +# +CONFIG_INPUT_MOUSEDEV=y +CONFIG_INPUT_MOUSEDEV_PSAUX=y +CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 +CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 +# CONFIG_INPUT_JOYDEV is not set +CONFIG_INPUT_EVDEV=y +# CONFIG_INPUT_EVBUG is not set + +# +# Input Device Drivers +# +CONFIG_INPUT_KEYBOARD=y +# CONFIG_KEYBOARD_ADP5588 is not set +CONFIG_KEYBOARD_ATKBD=y +# CONFIG_KEYBOARD_QT1070 is not set +# CONFIG_KEYBOARD_QT2160 is not set +# CONFIG_KEYBOARD_LKKBD is not set +# CONFIG_KEYBOARD_TCA6416 is not set +# CONFIG_KEYBOARD_LM8323 is not set +# CONFIG_KEYBOARD_MAX7359 is not set +# CONFIG_KEYBOARD_MCS is not set +# CONFIG_KEYBOARD_NEWTON is not set +# CONFIG_KEYBOARD_OPENCORES is not set +# CONFIG_KEYBOARD_STOWAWAY is not set +# CONFIG_KEYBOARD_SUNKBD is not set +# CONFIG_KEYBOARD_XTKBD is not set +CONFIG_INPUT_MOUSE=y +CONFIG_MOUSE_PS2=y +CONFIG_MOUSE_PS2_ALPS=y +CONFIG_MOUSE_PS2_LOGIPS2PP=y +CONFIG_MOUSE_PS2_SYNAPTICS=y +CONFIG_MOUSE_PS2_LIFEBOOK=y +CONFIG_MOUSE_PS2_TRACKPOINT=y +# CONFIG_MOUSE_PS2_ELANTECH is not set +# CONFIG_MOUSE_PS2_SENTELIC is not set +# CONFIG_MOUSE_PS2_TOUCHKIT is not set +# CONFIG_MOUSE_SERIAL is not set +# CONFIG_MOUSE_APPLETOUCH is not set +# CONFIG_MOUSE_BCM5974 is not set +# CONFIG_MOUSE_VSXXXAA is not set +# CONFIG_MOUSE_SYNAPTICS_I2C is not set +# CONFIG_INPUT_JOYSTICK is not set +CONFIG_INPUT_TABLET=y +# CONFIG_TABLET_USB_ACECAD is not set +# CONFIG_TABLET_USB_AIPTEK is not set +# CONFIG_TABLET_USB_GTCO is not set +# CONFIG_TABLET_USB_HANWANG is not set +# CONFIG_TABLET_USB_KBTAB is not set +CONFIG_TABLET_USB_WACOM=y +# CONFIG_INPUT_TOUCHSCREEN is not set +# CONFIG_INPUT_MISC is not set + +# +# Hardware I/O ports +# +CONFIG_SERIO=y +CONFIG_SERIO_I8042=y +CONFIG_SERIO_SERPORT=y +# CONFIG_SERIO_CT82C710 is not set +# CONFIG_SERIO_PCIPS2 is not set +CONFIG_SERIO_LIBPS2=y +# CONFIG_SERIO_RAW is not set +# CONFIG_SERIO_ALTERA_PS2 is not set +# CONFIG_SERIO_PS2MULT is not set +# CONFIG_GAMEPORT is not set + +# +# Character devices +# +CONFIG_VT=y +CONFIG_CONSOLE_TRANSLATIONS=y +CONFIG_VT_CONSOLE=y +CONFIG_HW_CONSOLE=y +# CONFIG_VT_HW_CONSOLE_BINDING is not set +CONFIG_UNIX98_PTYS=y +# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set +# CONFIG_LEGACY_PTYS is not set +# CONFIG_SERIAL_NONSTANDARD is not set +# CONFIG_NOZOMI is not set +# CONFIG_N_GSM is not set +CONFIG_DEVKMEM=y + +# +# Serial drivers +# +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_FIX_EARLYCON_MEM=y +CONFIG_SERIAL_8250_PCI=y +CONFIG_SERIAL_8250_PNP=y +CONFIG_SERIAL_8250_NR_UARTS=4 +CONFIG_SERIAL_8250_RUNTIME_UARTS=4 +# CONFIG_SERIAL_8250_EXTENDED is not set + +# +# Non-8250 serial port support +# +# CONFIG_SERIAL_MFD_HSU is not set +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +CONFIG_CONSOLE_POLL=y +# CONFIG_SERIAL_JSM is not set +# CONFIG_SERIAL_TIMBERDALE is not set +# CONFIG_SERIAL_ALTERA_JTAGUART is not set +# CONFIG_SERIAL_ALTERA_UART is not set +# CONFIG_SERIAL_PCH_UART is not set +# CONFIG_TTY_PRINTK is not set +# CONFIG_IPMI_HANDLER is not set +CONFIG_HW_RANDOM=m +# CONFIG_HW_RANDOM_TIMERIOMEM is not set +CONFIG_HW_RANDOM_INTEL=m +CONFIG_HW_RANDOM_AMD=m +CONFIG_HW_RANDOM_GEODE=m +CONFIG_HW_RANDOM_VIA=m +# CONFIG_NVRAM is not set +# CONFIG_R3964 is not set +# CONFIG_APPLICOM is not set +# CONFIG_SONYPI is not set +# CONFIG_MWAVE is not set +# CONFIG_PC8736x_GPIO is not set +# CONFIG_NSC_GPIO is not set +# CONFIG_RAW_DRIVER is not set +# CONFIG_HPET is not set +# CONFIG_HANGCHECK_TIMER is not set +# CONFIG_TCG_TPM is not set +# CONFIG_TELCLOCK is not set +CONFIG_DEVPORT=y +# CONFIG_RAMOOPS is not set +CONFIG_I2C=y +CONFIG_I2C_BOARDINFO=y +CONFIG_I2C_COMPAT=y +# CONFIG_I2C_CHARDEV is not set +# CONFIG_I2C_MUX is not set +CONFIG_I2C_HELPER_AUTO=y + +# +# I2C Hardware Bus support +# + +# +# PC SMBus host controller drivers +# +# CONFIG_I2C_ALI1535 is not set +# CONFIG_I2C_ALI1563 is not set +# CONFIG_I2C_ALI15X3 is not set +# CONFIG_I2C_AMD756 is not set +# CONFIG_I2C_AMD8111 is not set +CONFIG_I2C_I801=y +# CONFIG_I2C_ISCH is not set +# CONFIG_I2C_PIIX4 is not set +# CONFIG_I2C_NFORCE2 is not set +# CONFIG_I2C_SIS5595 is not set +# CONFIG_I2C_SIS630 is not set +# CONFIG_I2C_SIS96X is not set +# CONFIG_I2C_VIA is not set +# CONFIG_I2C_VIAPRO is not set + +# +# ACPI drivers +# +# CONFIG_I2C_SCMI is not set + +# +# I2C system bus drivers (mostly embedded / system-on-chip) +# +# CONFIG_I2C_INTEL_MID is not set +# CONFIG_I2C_OCORES is not set +# CONFIG_I2C_PCA_PLATFORM is not set +# CONFIG_I2C_PXA_PCI is not set +# CONFIG_I2C_SIMTEC is not set +# CONFIG_I2C_XILINX is not set +# CONFIG_I2C_EG20T is not set + +# +# External I2C/SMBus adapter drivers +# +# CONFIG_I2C_DIOLAN_U2C is not set +# CONFIG_I2C_PARPORT_LIGHT is not set +# CONFIG_I2C_TAOS_EVM is not set +# CONFIG_I2C_TINY_USB is not set + +# +# Other I2C/SMBus bus drivers +# +# CONFIG_I2C_STUB is not set +# CONFIG_SCx200_ACB is not set +# CONFIG_I2C_DEBUG_CORE is not set +# CONFIG_I2C_DEBUG_ALGO is not set +# CONFIG_I2C_DEBUG_BUS is not set +# CONFIG_SPI is not set + +# +# PPS support +# +# CONFIG_PPS is not set + +# +# PPS generators support +# +CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y +# CONFIG_GPIOLIB is not set +# CONFIG_W1 is not set +CONFIG_POWER_SUPPLY=y +# CONFIG_POWER_SUPPLY_DEBUG is not set +# CONFIG_PDA_POWER is not set +# CONFIG_TEST_POWER is not set +# CONFIG_BATTERY_DS2782 is not set +# CONFIG_BATTERY_BQ20Z75 is not set +# CONFIG_BATTERY_BQ27x00 is not set +# CONFIG_BATTERY_MAX17040 is not set +# CONFIG_BATTERY_MAX17042 is not set +CONFIG_HWMON=y +# CONFIG_HWMON_VID is not set +# CONFIG_HWMON_DEBUG_CHIP is not set + +# +# Native drivers +# +# CONFIG_SENSORS_ABITUGURU is not set +# CONFIG_SENSORS_ABITUGURU3 is not set +# CONFIG_SENSORS_AD7414 is not set +# CONFIG_SENSORS_AD7418 is not set +# CONFIG_SENSORS_ADM1021 is not set +# CONFIG_SENSORS_ADM1025 is not set +# CONFIG_SENSORS_ADM1026 is not set +# CONFIG_SENSORS_ADM1029 is not set +# CONFIG_SENSORS_ADM1031 is not set +# CONFIG_SENSORS_ADM9240 is not set +# CONFIG_SENSORS_ADT7411 is not set +# CONFIG_SENSORS_ADT7462 is not set +# CONFIG_SENSORS_ADT7470 is not set +# CONFIG_SENSORS_ADT7475 is not set +# CONFIG_SENSORS_ASC7621 is not set +# CONFIG_SENSORS_K8TEMP is not set +# CONFIG_SENSORS_K10TEMP is not set +# CONFIG_SENSORS_ASB100 is not set +# CONFIG_SENSORS_ATXP1 is not set +# CONFIG_SENSORS_DS620 is not set +# CONFIG_SENSORS_DS1621 is not set +# CONFIG_SENSORS_I5K_AMB is not set +# CONFIG_SENSORS_F71805F is not set +# CONFIG_SENSORS_F71882FG is not set +# CONFIG_SENSORS_F75375S is not set +# CONFIG_SENSORS_FSCHMD is not set +# CONFIG_SENSORS_G760A is not set +# CONFIG_SENSORS_GL518SM is not set +# CONFIG_SENSORS_GL520SM is not set +# CONFIG_SENSORS_CORETEMP is not set +# CONFIG_SENSORS_PKGTEMP is not set +# CONFIG_SENSORS_IT87 is not set +# CONFIG_SENSORS_JC42 is not set +# CONFIG_SENSORS_LINEAGE is not set +# CONFIG_SENSORS_LM63 is not set +# CONFIG_SENSORS_LM73 is not set +# CONFIG_SENSORS_LM75 is not set +# CONFIG_SENSORS_LM77 is not set +# CONFIG_SENSORS_LM78 is not set +# CONFIG_SENSORS_LM80 is not set +# CONFIG_SENSORS_LM83 is not set +# CONFIG_SENSORS_LM85 is not set +# CONFIG_SENSORS_LM87 is not set +# CONFIG_SENSORS_LM90 is not set +# CONFIG_SENSORS_LM92 is not set +# CONFIG_SENSORS_LM93 is not set +# CONFIG_SENSORS_LTC4151 is not set +# CONFIG_SENSORS_LTC4215 is not set +# CONFIG_SENSORS_LTC4245 is not set +# CONFIG_SENSORS_LTC4261 is not set +# CONFIG_SENSORS_LM95241 is not set +# CONFIG_SENSORS_MAX1619 is not set +# CONFIG_SENSORS_MAX6639 is not set +# CONFIG_SENSORS_MAX6650 is not set +# CONFIG_SENSORS_PC87360 is not set +# CONFIG_SENSORS_PC87427 is not set +# CONFIG_SENSORS_PCF8591 is not set +# CONFIG_PMBUS is not set +# CONFIG_SENSORS_SHT21 is not set +# CONFIG_SENSORS_SIS5595 is not set +# CONFIG_SENSORS_SMM665 is not set +# CONFIG_SENSORS_DME1737 is not set +# CONFIG_SENSORS_EMC1403 is not set +# CONFIG_SENSORS_EMC2103 is not set +# CONFIG_SENSORS_SMSC47M1 is not set +# CONFIG_SENSORS_SMSC47M192 is not set +# CONFIG_SENSORS_SMSC47B397 is not set +# CONFIG_SENSORS_SCH5627 is not set +# CONFIG_SENSORS_ADS1015 is not set +# CONFIG_SENSORS_ADS7828 is not set +# CONFIG_SENSORS_AMC6821 is not set +# CONFIG_SENSORS_THMC50 is not set +# CONFIG_SENSORS_TMP102 is not set +# CONFIG_SENSORS_TMP401 is not set +# CONFIG_SENSORS_TMP421 is not set +# CONFIG_SENSORS_VIA_CPUTEMP is not set +# CONFIG_SENSORS_VIA686A is not set +# CONFIG_SENSORS_VT1211 is not set +# CONFIG_SENSORS_VT8231 is not set +# CONFIG_SENSORS_W83781D is not set +# CONFIG_SENSORS_W83791D is not set +# CONFIG_SENSORS_W83792D is not set +# CONFIG_SENSORS_W83793 is not set +# CONFIG_SENSORS_W83795 is not set +# CONFIG_SENSORS_W83L785TS is not set +# CONFIG_SENSORS_W83L786NG is not set +# CONFIG_SENSORS_W83627HF is not set +# CONFIG_SENSORS_W83627EHF is not set +# CONFIG_SENSORS_APPLESMC is not set + +# +# ACPI drivers +# +# CONFIG_SENSORS_ATK0110 is not set +CONFIG_THERMAL=y +# CONFIG_THERMAL_HWMON is not set +CONFIG_WATCHDOG=y +# CONFIG_WATCHDOG_NOWAYOUT is not set + +# +# Watchdog Device Drivers +# +CONFIG_SOFT_WATCHDOG=m +# CONFIG_ACQUIRE_WDT is not set +# CONFIG_ADVANTECH_WDT is not set +# CONFIG_ALIM1535_WDT is not set +# CONFIG_ALIM7101_WDT is not set +# CONFIG_F71808E_WDT is not set +# CONFIG_SP5100_TCO is not set +# CONFIG_SC520_WDT is not set +# CONFIG_SBC_FITPC2_WATCHDOG is not set +# CONFIG_EUROTECH_WDT is not set +# CONFIG_IB700_WDT is not set +# CONFIG_IBMASR is not set +# CONFIG_WAFER_WDT is not set +# CONFIG_I6300ESB_WDT is not set +# CONFIG_ITCO_WDT is not set +# CONFIG_IT8712F_WDT is not set +# CONFIG_IT87_WDT is not set +# CONFIG_HP_WATCHDOG is not set +# CONFIG_SC1200_WDT is not set +# CONFIG_PC87413_WDT is not set +# CONFIG_NV_TCO is not set +# CONFIG_60XX_WDT is not set +# CONFIG_SBC8360_WDT is not set +# CONFIG_SBC7240_WDT is not set +# CONFIG_CPU5_WDT is not set +# CONFIG_SMSC_SCH311X_WDT is not set +# CONFIG_SMSC37B787_WDT is not set +# CONFIG_W83627HF_WDT is not set +# CONFIG_W83697HF_WDT is not set +# CONFIG_W83697UG_WDT is not set +# CONFIG_W83877F_WDT is not set +# CONFIG_W83977F_WDT is not set +# CONFIG_MACHZ_WDT is not set +# CONFIG_SBC_EPX_C3_WATCHDOG is not set + +# +# PCI-based Watchdog Cards +# +# CONFIG_PCIPCWATCHDOG is not set +# CONFIG_WDTPCI is not set + +# +# USB-based Watchdog Cards +# +# CONFIG_USBPCWATCHDOG is not set +CONFIG_SSB_POSSIBLE=y + +# +# Sonics Silicon Backplane +# +# CONFIG_SSB is not set +CONFIG_MFD_SUPPORT=y +# CONFIG_MFD_CORE is not set +# CONFIG_MFD_88PM860X is not set +# CONFIG_MFD_SM501 is not set +# CONFIG_HTC_PASIC3 is not set +# CONFIG_TPS6105X is not set +# CONFIG_TPS6507X is not set +# CONFIG_TWL4030_CORE is not set +# CONFIG_MFD_STMPE is not set +# CONFIG_MFD_TC3589X is not set +# CONFIG_MFD_TMIO is not set +# CONFIG_PMIC_DA903X is not set +# CONFIG_PMIC_ADP5520 is not set +# CONFIG_MFD_MAX8925 is not set +# CONFIG_MFD_MAX8997 is not set +# CONFIG_MFD_MAX8998 is not set +# CONFIG_MFD_WM8400 is not set +# CONFIG_MFD_WM831X_I2C is not set +# CONFIG_MFD_WM8350_I2C is not set +# CONFIG_MFD_WM8994 is not set +# CONFIG_MFD_PCF50633 is not set +# CONFIG_ABX500_CORE is not set +# CONFIG_MFD_CS5535 is not set +# CONFIG_LPC_SCH is not set +# CONFIG_MFD_RDC321X is not set +# CONFIG_MFD_JANZ_CMODIO is not set +# CONFIG_MFD_VX855 is not set +# CONFIG_MFD_WL1273_CORE is not set +# CONFIG_REGULATOR is not set +# CONFIG_MEDIA_SUPPORT is not set + +# +# Graphics support +# +# CONFIG_AGP is not set +CONFIG_VGA_ARB=y +CONFIG_VGA_ARB_MAX_GPUS=16 +# CONFIG_VGA_SWITCHEROO is not set +# CONFIG_DRM is not set +# CONFIG_STUB_POULSBO is not set +# CONFIG_VGASTATE is not set +# CONFIG_VIDEO_OUTPUT_CONTROL is not set +CONFIG_FB=y +# CONFIG_FIRMWARE_EDID is not set +# CONFIG_FB_DDC is not set +# CONFIG_FB_BOOT_VESA_SUPPORT is not set +CONFIG_FB_CFB_FILLRECT=m +CONFIG_FB_CFB_COPYAREA=m +CONFIG_FB_CFB_IMAGEBLIT=m +# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set +# CONFIG_FB_SYS_FILLRECT is not set +# CONFIG_FB_SYS_COPYAREA is not set +# CONFIG_FB_SYS_IMAGEBLIT is not set +# CONFIG_FB_FOREIGN_ENDIAN is not set +# CONFIG_FB_SYS_FOPS is not set +# CONFIG_FB_WMT_GE_ROPS is not set +# CONFIG_FB_SVGALIB is not set +# CONFIG_FB_MACMODES is not set +# CONFIG_FB_BACKLIGHT is not set +CONFIG_FB_MODE_HELPERS=y +# CONFIG_FB_TILEBLITTING is not set + +# +# Frame buffer hardware drivers +# +# CONFIG_FB_CIRRUS is not set +# CONFIG_FB_PM2 is not set +# CONFIG_FB_CYBER2000 is not set +# CONFIG_FB_ARC is not set +# CONFIG_FB_ASILIANT is not set +# CONFIG_FB_IMSTT is not set +# CONFIG_FB_VGA16 is not set +CONFIG_FB_UVESA=m +# CONFIG_FB_VESA is not set +# CONFIG_FB_N411 is not set +# CONFIG_FB_HGA is not set +# CONFIG_FB_S1D13XXX is not set +# CONFIG_FB_NVIDIA is not set +# CONFIG_FB_RIVA is not set +# CONFIG_FB_LE80578 is not set +# CONFIG_FB_MATROX is not set +# CONFIG_FB_RADEON is not set +# CONFIG_FB_ATY128 is not set +# CONFIG_FB_ATY is not set +# CONFIG_FB_S3 is not set +# CONFIG_FB_SAVAGE is not set +# CONFIG_FB_SIS is not set +# CONFIG_FB_VIA is not set +# CONFIG_FB_NEOMAGIC is not set +# CONFIG_FB_KYRO is not set +# CONFIG_FB_3DFX is not set +# CONFIG_FB_VOODOO1 is not set +# CONFIG_FB_VT8623 is not set +# CONFIG_FB_TRIDENT is not set +# CONFIG_FB_ARK is not set +# CONFIG_FB_PM3 is not set +# CONFIG_FB_CARMINE is not set +# CONFIG_FB_GEODE is not set +# CONFIG_FB_UDL is not set +# CONFIG_FB_VIRTUAL is not set +# CONFIG_FB_METRONOME is not set +# CONFIG_FB_MB862XX is not set +# CONFIG_FB_BROADSHEET is not set +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set + +# +# Display device support +# +# CONFIG_DISPLAY_SUPPORT is not set + +# +# Console display driver support +# +CONFIG_VGA_CONSOLE=y +# CONFIG_VGACON_SOFT_SCROLLBACK is not set +CONFIG_DUMMY_CONSOLE=y +CONFIG_FRAMEBUFFER_CONSOLE=y +# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set +# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set +# CONFIG_FONTS is not set +CONFIG_FONT_8x8=y +CONFIG_FONT_8x16=y +# CONFIG_LOGO is not set +CONFIG_SOUND=y +# CONFIG_SOUND_OSS_CORE is not set +CONFIG_SND=y +CONFIG_SND_TIMER=y +CONFIG_SND_PCM=y +# CONFIG_SND_SEQUENCER is not set +# CONFIG_SND_MIXER_OSS is not set +# CONFIG_SND_PCM_OSS is not set +# CONFIG_SND_HRTIMER is not set +CONFIG_SND_DYNAMIC_MINORS=y +CONFIG_SND_SUPPORT_OLD_API=y +CONFIG_SND_VERBOSE_PROCFS=y +# CONFIG_SND_VERBOSE_PRINTK is not set +# CONFIG_SND_DEBUG is not set +CONFIG_SND_VMASTER=y +CONFIG_SND_DMA_SGBUF=y +# CONFIG_SND_RAWMIDI_SEQ is not set +# CONFIG_SND_OPL3_LIB_SEQ is not set +# CONFIG_SND_OPL4_LIB_SEQ is not set +# CONFIG_SND_SBAWE_SEQ is not set +# CONFIG_SND_EMU10K1_SEQ is not set +CONFIG_SND_DRIVERS=y +# CONFIG_SND_PCSP is not set +# CONFIG_SND_DUMMY is not set +# CONFIG_SND_ALOOP is not set +# CONFIG_SND_MTPAV is not set +# CONFIG_SND_SERIAL_U16550 is not set +# CONFIG_SND_MPU401 is not set +CONFIG_SND_PCI=y +# CONFIG_SND_AD1889 is not set +# CONFIG_SND_ALS300 is not set +# CONFIG_SND_ALS4000 is not set +# CONFIG_SND_ALI5451 is not set +# CONFIG_SND_ASIHPI is not set +# CONFIG_SND_ATIIXP is not set +# CONFIG_SND_ATIIXP_MODEM is not set +# CONFIG_SND_AU8810 is not set +# CONFIG_SND_AU8820 is not set +# CONFIG_SND_AU8830 is not set +# CONFIG_SND_AW2 is not set +# CONFIG_SND_AZT3328 is not set +# CONFIG_SND_BT87X is not set +# CONFIG_SND_CA0106 is not set +# CONFIG_SND_CMIPCI is not set +# CONFIG_SND_OXYGEN is not set +# CONFIG_SND_CS4281 is not set +# CONFIG_SND_CS46XX is not set +# CONFIG_SND_CS5530 is not set +# CONFIG_SND_CS5535AUDIO is not set +# CONFIG_SND_CTXFI is not set +# CONFIG_SND_DARLA20 is not set +# CONFIG_SND_GINA20 is not set +# CONFIG_SND_LAYLA20 is not set +# CONFIG_SND_DARLA24 is not set +# CONFIG_SND_GINA24 is not set +# CONFIG_SND_LAYLA24 is not set +# CONFIG_SND_MONA is not set +# CONFIG_SND_MIA is not set +# CONFIG_SND_ECHO3G is not set +# CONFIG_SND_INDIGO is not set +# CONFIG_SND_INDIGOIO is not set +# CONFIG_SND_INDIGODJ is not set +# CONFIG_SND_INDIGOIOX is not set +# CONFIG_SND_INDIGODJX is not set +# CONFIG_SND_EMU10K1 is not set +# CONFIG_SND_EMU10K1X is not set +# CONFIG_SND_ENS1370 is not set +# CONFIG_SND_ENS1371 is not set +# CONFIG_SND_ES1938 is not set +# CONFIG_SND_ES1968 is not set +# CONFIG_SND_FM801 is not set +CONFIG_SND_HDA_INTEL=y +# CONFIG_SND_HDA_HWDEP is not set +# CONFIG_SND_HDA_INPUT_BEEP is not set +# CONFIG_SND_HDA_INPUT_JACK is not set +# CONFIG_SND_HDA_PATCH_LOADER is not set +CONFIG_SND_HDA_CODEC_REALTEK=y +CONFIG_SND_HDA_CODEC_ANALOG=y +CONFIG_SND_HDA_CODEC_SIGMATEL=y +CONFIG_SND_HDA_CODEC_VIA=y +CONFIG_SND_HDA_CODEC_HDMI=y +CONFIG_SND_HDA_CODEC_CIRRUS=y +CONFIG_SND_HDA_CODEC_CONEXANT=y +CONFIG_SND_HDA_CODEC_CA0110=y +CONFIG_SND_HDA_CODEC_CMEDIA=y +CONFIG_SND_HDA_CODEC_SI3054=y +CONFIG_SND_HDA_GENERIC=y +# CONFIG_SND_HDA_POWER_SAVE is not set +# CONFIG_SND_HDSP is not set +# CONFIG_SND_HDSPM is not set +# CONFIG_SND_ICE1712 is not set +# CONFIG_SND_ICE1724 is not set +# CONFIG_SND_INTEL8X0 is not set +# CONFIG_SND_INTEL8X0M is not set +# CONFIG_SND_KORG1212 is not set +# CONFIG_SND_LX6464ES is not set +# CONFIG_SND_MAESTRO3 is not set +# CONFIG_SND_MIXART is not set +# CONFIG_SND_NM256 is not set +# CONFIG_SND_PCXHR is not set +# CONFIG_SND_RIPTIDE is not set +# CONFIG_SND_RME32 is not set +# CONFIG_SND_RME96 is not set +# CONFIG_SND_RME9652 is not set +# CONFIG_SND_SIS7019 is not set +# CONFIG_SND_SONICVIBES is not set +# CONFIG_SND_TRIDENT is not set +# CONFIG_SND_VIA82XX is not set +# CONFIG_SND_VIA82XX_MODEM is not set +# CONFIG_SND_VIRTUOSO is not set +# CONFIG_SND_VX222 is not set +# CONFIG_SND_YMFPCI is not set +CONFIG_SND_USB=y +# CONFIG_SND_USB_AUDIO is not set +# CONFIG_SND_USB_UA101 is not set +# CONFIG_SND_USB_USX2Y is not set +# CONFIG_SND_USB_CAIAQ is not set +# CONFIG_SND_USB_US122L is not set +# CONFIG_SND_USB_6FIRE is not set +# CONFIG_SND_SOC is not set +# CONFIG_SOUND_PRIME is not set +CONFIG_HID_SUPPORT=y +CONFIG_HID=y +# CONFIG_HIDRAW is not set + +# +# USB Input Devices +# +CONFIG_USB_HID=y +# CONFIG_HID_PID is not set +CONFIG_USB_HIDDEV=y + +# +# Special HID drivers +# +# CONFIG_HID_3M_PCT is not set +# CONFIG_HID_A4TECH is not set +# CONFIG_HID_ACRUX is not set +# CONFIG_HID_APPLE is not set +# CONFIG_HID_BELKIN is not set +# CONFIG_HID_CANDO is not set +# CONFIG_HID_CHERRY is not set +# CONFIG_HID_CHICONY is not set +# CONFIG_HID_PRODIKEYS is not set +# CONFIG_HID_CYPRESS is not set +# CONFIG_HID_DRAGONRISE is not set +# CONFIG_HID_EMS_FF is not set +# CONFIG_HID_EZKEY is not set +# CONFIG_HID_KEYTOUCH is not set +# CONFIG_HID_KYE is not set +# CONFIG_HID_UCLOGIC is not set +# CONFIG_HID_WALTOP is not set +# CONFIG_HID_GYRATION is not set +# CONFIG_HID_TWINHAN is not set +# CONFIG_HID_KENSINGTON is not set +# CONFIG_HID_LCPOWER is not set +# CONFIG_HID_LOGITECH is not set +# CONFIG_HID_MICROSOFT is not set +# CONFIG_HID_MOSART is not set +# CONFIG_HID_MONTEREY is not set +# CONFIG_HID_MULTITOUCH is not set +# CONFIG_HID_NTRIG is not set +# CONFIG_HID_ORTEK is not set +# CONFIG_HID_PANTHERLORD is not set +# CONFIG_HID_PETALYNX is not set +# CONFIG_HID_PICOLCD is not set +# CONFIG_HID_QUANTA is not set +# CONFIG_HID_ROCCAT is not set +# CONFIG_HID_ROCCAT_ARVO is not set +# CONFIG_HID_ROCCAT_KONE is not set +# CONFIG_HID_ROCCAT_KONEPLUS is not set +# CONFIG_HID_ROCCAT_KOVAPLUS is not set +# CONFIG_HID_ROCCAT_PYRA is not set +# CONFIG_HID_SAMSUNG is not set +# CONFIG_HID_SONY is not set +# CONFIG_HID_STANTUM is not set +# CONFIG_HID_SUNPLUS is not set +# CONFIG_HID_GREENASIA is not set +# CONFIG_HID_SMARTJOYPLUS is not set +# CONFIG_HID_TOPSEED is not set +# CONFIG_HID_THRUSTMASTER is not set +# CONFIG_HID_ZEROPLUS is not set +# CONFIG_HID_ZYDACRON is not set +CONFIG_USB_SUPPORT=y +CONFIG_USB_ARCH_HAS_HCD=y +CONFIG_USB_ARCH_HAS_OHCI=y +CONFIG_USB_ARCH_HAS_EHCI=y +CONFIG_USB=y +# CONFIG_USB_DEBUG is not set +CONFIG_USB_ANNOUNCE_NEW_DEVICES=y + +# +# Miscellaneous USB options +# +CONFIG_USB_DEVICEFS=y +CONFIG_USB_DEVICE_CLASS=y +# CONFIG_USB_DYNAMIC_MINORS is not set +# CONFIG_USB_OTG_WHITELIST is not set +# CONFIG_USB_OTG_BLACKLIST_HUB is not set +# CONFIG_USB_MON is not set +# CONFIG_USB_WUSB is not set +# CONFIG_USB_WUSB_CBAF is not set + +# +# USB Host Controller Drivers +# +# CONFIG_USB_C67X00_HCD is not set +# CONFIG_USB_XHCI_HCD is not set +# CONFIG_USB_EHCI_HCD is not set +# CONFIG_USB_OXU210HP_HCD is not set +# CONFIG_USB_ISP116X_HCD is not set +# CONFIG_USB_ISP1760_HCD is not set +# CONFIG_USB_ISP1362_HCD is not set +CONFIG_USB_OHCI_HCD=y +# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set +# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set +CONFIG_USB_OHCI_LITTLE_ENDIAN=y +CONFIG_USB_UHCI_HCD=y +# CONFIG_USB_SL811_HCD is not set +# CONFIG_USB_R8A66597_HCD is not set +# CONFIG_USB_WHCI_HCD is not set +# CONFIG_USB_HWA_HCD is not set + +# +# USB Device Class drivers +# +# CONFIG_USB_ACM is not set +# CONFIG_USB_PRINTER is not set +# CONFIG_USB_WDM is not set +# CONFIG_USB_TMC is not set + +# +# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may +# + +# +# also be needed; see USB_STORAGE Help for more info +# +CONFIG_USB_STORAGE=y +# CONFIG_USB_STORAGE_DEBUG is not set +# CONFIG_USB_STORAGE_REALTEK is not set +# CONFIG_USB_STORAGE_DATAFAB is not set +# CONFIG_USB_STORAGE_FREECOM is not set +# CONFIG_USB_STORAGE_ISD200 is not set +# CONFIG_USB_STORAGE_USBAT is not set +# CONFIG_USB_STORAGE_SDDR09 is not set +# CONFIG_USB_STORAGE_SDDR55 is not set +# CONFIG_USB_STORAGE_JUMPSHOT is not set +# CONFIG_USB_STORAGE_ALAUDA is not set +# CONFIG_USB_STORAGE_ONETOUCH is not set +# CONFIG_USB_STORAGE_KARMA is not set +# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set +# CONFIG_USB_STORAGE_ENE_UB6250 is not set +# CONFIG_USB_UAS is not set +# CONFIG_USB_LIBUSUAL is not set + +# +# USB Imaging devices +# +# CONFIG_USB_MDC800 is not set +# CONFIG_USB_MICROTEK is not set + +# +# USB port drivers +# +CONFIG_USB_SERIAL=y +CONFIG_USB_SERIAL_CONSOLE=y +CONFIG_USB_EZUSB=y +CONFIG_USB_SERIAL_GENERIC=y +# CONFIG_USB_SERIAL_AIRCABLE is not set +# CONFIG_USB_SERIAL_ARK3116 is not set +# CONFIG_USB_SERIAL_BELKIN is not set +# CONFIG_USB_SERIAL_CH341 is not set +# CONFIG_USB_SERIAL_WHITEHEAT is not set +# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set +CONFIG_USB_SERIAL_CP210X=y +# CONFIG_USB_SERIAL_CYPRESS_M8 is not set +# CONFIG_USB_SERIAL_EMPEG is not set +CONFIG_USB_SERIAL_FTDI_SIO=y +# CONFIG_USB_SERIAL_FUNSOFT is not set +# CONFIG_USB_SERIAL_VISOR is not set +# CONFIG_USB_SERIAL_IPAQ is not set +# CONFIG_USB_SERIAL_IR is not set +# CONFIG_USB_SERIAL_EDGEPORT is not set +# CONFIG_USB_SERIAL_EDGEPORT_TI is not set +# CONFIG_USB_SERIAL_GARMIN is not set +# CONFIG_USB_SERIAL_IPW is not set +# CONFIG_USB_SERIAL_IUU is not set +# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set +# CONFIG_USB_SERIAL_KEYSPAN is not set +# CONFIG_USB_SERIAL_KLSI is not set +# CONFIG_USB_SERIAL_KOBIL_SCT is not set +# CONFIG_USB_SERIAL_MCT_U232 is not set +# CONFIG_USB_SERIAL_MOS7720 is not set +# CONFIG_USB_SERIAL_MOS7840 is not set +# CONFIG_USB_SERIAL_MOTOROLA is not set +# CONFIG_USB_SERIAL_NAVMAN is not set +CONFIG_USB_SERIAL_PL2303=y +# CONFIG_USB_SERIAL_OTI6858 is not set +# CONFIG_USB_SERIAL_QCAUX is not set +# CONFIG_USB_SERIAL_QUALCOMM is not set +# CONFIG_USB_SERIAL_SPCP8X5 is not set +# CONFIG_USB_SERIAL_HP4X is not set +# CONFIG_USB_SERIAL_SAFE is not set +# CONFIG_USB_SERIAL_SAMBA is not set +# CONFIG_USB_SERIAL_SIEMENS_MPI is not set +# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set +# CONFIG_USB_SERIAL_SYMBOL is not set +# CONFIG_USB_SERIAL_TI is not set +# CONFIG_USB_SERIAL_CYBERJACK is not set +# CONFIG_USB_SERIAL_XIRCOM is not set +# CONFIG_USB_SERIAL_OPTION is not set +# CONFIG_USB_SERIAL_OMNINET is not set +# CONFIG_USB_SERIAL_OPTICON is not set +# CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set +# CONFIG_USB_SERIAL_ZIO is not set +# CONFIG_USB_SERIAL_SSU100 is not set +# CONFIG_USB_SERIAL_DEBUG is not set + +# +# USB Miscellaneous drivers +# +# CONFIG_USB_EMI62 is not set +# CONFIG_USB_EMI26 is not set +# CONFIG_USB_ADUTUX is not set +# CONFIG_USB_SEVSEG is not set +# CONFIG_USB_RIO500 is not set +# CONFIG_USB_LEGOTOWER is not set +# CONFIG_USB_LCD is not set +# CONFIG_USB_LED is not set +# CONFIG_USB_CYPRESS_CY7C63 is not set +# CONFIG_USB_CYTHERM is not set +# CONFIG_USB_IDMOUSE is not set +# CONFIG_USB_FTDI_ELAN is not set +# CONFIG_USB_APPLEDISPLAY is not set +# CONFIG_USB_LD is not set +# CONFIG_USB_TRANCEVIBRATOR is not set +# CONFIG_USB_IOWARRIOR is not set +# CONFIG_USB_TEST is not set +# CONFIG_USB_ISIGHTFW is not set +# CONFIG_USB_YUREX is not set +# CONFIG_USB_ATM is not set +# CONFIG_USB_GADGET is not set + +# +# OTG and related infrastructure +# +# CONFIG_NOP_USB_XCEIV is not set +# CONFIG_UWB is not set +# CONFIG_MMC is not set +# CONFIG_MEMSTICK is not set +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y + +# +# LED drivers +# +# CONFIG_LEDS_LM3530 is not set +# CONFIG_LEDS_ALIX2 is not set +# CONFIG_LEDS_PCA9532 is not set +# CONFIG_LEDS_LP3944 is not set +# CONFIG_LEDS_LP5521 is not set +# CONFIG_LEDS_LP5523 is not set +# CONFIG_LEDS_CLEVO_MAIL is not set +# CONFIG_LEDS_PCA955X is not set +# CONFIG_LEDS_BD2802 is not set +# CONFIG_LEDS_INTEL_SS4200 is not set +CONFIG_LEDS_TRIGGERS=y + +# +# LED Triggers +# +# CONFIG_LEDS_TRIGGER_TIMER is not set +# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set +# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set +# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set + +# +# iptables trigger is under Netfilter config (LED target) +# +# CONFIG_NFC_DEVICES is not set +# CONFIG_ACCESSIBILITY is not set +# CONFIG_INFINIBAND is not set +# CONFIG_EDAC is not set +CONFIG_RTC_LIB=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_HCTOSYS=y +CONFIG_RTC_HCTOSYS_DEVICE="rtc0" +# CONFIG_RTC_DEBUG is not set + +# +# RTC interfaces +# +CONFIG_RTC_INTF_SYSFS=y +CONFIG_RTC_INTF_PROC=y +CONFIG_RTC_INTF_DEV=y +# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set +# CONFIG_RTC_DRV_TEST is not set + +# +# I2C RTC drivers +# +# CONFIG_RTC_DRV_DS1307 is not set +# CONFIG_RTC_DRV_DS1374 is not set +# CONFIG_RTC_DRV_DS1672 is not set +# CONFIG_RTC_DRV_DS3232 is not set +# CONFIG_RTC_DRV_MAX6900 is not set +# CONFIG_RTC_DRV_RS5C372 is not set +# CONFIG_RTC_DRV_ISL1208 is not set +# CONFIG_RTC_DRV_ISL12022 is not set +# CONFIG_RTC_DRV_X1205 is not set +# CONFIG_RTC_DRV_PCF8563 is not set +# CONFIG_RTC_DRV_PCF8583 is not set +# CONFIG_RTC_DRV_M41T80 is not set +# CONFIG_RTC_DRV_BQ32K is not set +# CONFIG_RTC_DRV_S35390A is not set +# CONFIG_RTC_DRV_FM3130 is not set +# CONFIG_RTC_DRV_RX8581 is not set +# CONFIG_RTC_DRV_RX8025 is not set + +# +# SPI RTC drivers +# + +# +# Platform RTC drivers +# +CONFIG_RTC_DRV_CMOS=y +# CONFIG_RTC_DRV_DS1286 is not set +# CONFIG_RTC_DRV_DS1511 is not set +# CONFIG_RTC_DRV_DS1553 is not set +# CONFIG_RTC_DRV_DS1742 is not set +# CONFIG_RTC_DRV_STK17TA8 is not set +# CONFIG_RTC_DRV_M48T86 is not set +# CONFIG_RTC_DRV_M48T35 is not set +# CONFIG_RTC_DRV_M48T59 is not set +# CONFIG_RTC_DRV_MSM6242 is not set +# CONFIG_RTC_DRV_BQ4802 is not set +# CONFIG_RTC_DRV_RP5C01 is not set +# CONFIG_RTC_DRV_V3020 is not set + +# +# on-CPU RTC drivers +# +# CONFIG_DMADEVICES is not set +# CONFIG_AUXDISPLAY is not set +# CONFIG_UIO is not set +# CONFIG_STAGING is not set +CONFIG_X86_PLATFORM_DEVICES=y +# CONFIG_ASUS_LAPTOP is not set +# CONFIG_HP_ACCEL is not set +# CONFIG_THINKPAD_ACPI is not set +# CONFIG_SENSORS_HDAPS is not set +# CONFIG_INTEL_MENLOW is not set +# CONFIG_ACPI_WMI is not set +# CONFIG_ACPI_ASUS is not set +# CONFIG_TOPSTAR_LAPTOP is not set +# CONFIG_TOSHIBA_BT_RFKILL is not set +# CONFIG_ACPI_CMPC is not set +# CONFIG_INTEL_IPS is not set +# CONFIG_IBM_RTL is not set +# CONFIG_XO15_EBOOK is not set + +# +# Firmware Drivers +# +# CONFIG_EDD is not set +CONFIG_FIRMWARE_MEMMAP=y +# CONFIG_DELL_RBU is not set +# CONFIG_DCDBAS is not set +CONFIG_DMIID=y +# CONFIG_DMI_SYSFS is not set +# CONFIG_ISCSI_IBFT_FIND is not set +# CONFIG_SIGMA is not set + +# +# File systems +# +CONFIG_EXT2_FS=y +CONFIG_EXT2_FS_XATTR=y +CONFIG_EXT2_FS_POSIX_ACL=y +# CONFIG_EXT2_FS_SECURITY is not set +# CONFIG_EXT2_FS_XIP is not set +CONFIG_EXT3_FS=y +CONFIG_EXT3_DEFAULTS_TO_ORDERED=y +CONFIG_EXT3_FS_XATTR=y +CONFIG_EXT3_FS_POSIX_ACL=y +# CONFIG_EXT3_FS_SECURITY is not set +CONFIG_EXT4_FS=m +CONFIG_EXT4_FS_XATTR=y +CONFIG_EXT4_FS_POSIX_ACL=y +# CONFIG_EXT4_FS_SECURITY is not set +# CONFIG_EXT4_DEBUG is not set +CONFIG_JBD=y +# CONFIG_JBD_DEBUG is not set +CONFIG_JBD2=m +# CONFIG_JBD2_DEBUG is not set +CONFIG_FS_MBCACHE=y +CONFIG_REISERFS_FS=m +# CONFIG_REISERFS_CHECK is not set +# CONFIG_REISERFS_PROC_INFO is not set +CONFIG_REISERFS_FS_XATTR=y +CONFIG_REISERFS_FS_POSIX_ACL=y +# CONFIG_REISERFS_FS_SECURITY is not set +# CONFIG_JFS_FS is not set +# CONFIG_XFS_FS is not set +# CONFIG_GFS2_FS is not set +CONFIG_OCFS2_FS=m +CONFIG_OCFS2_FS_O2CB=m +CONFIG_OCFS2_FS_STATS=y +CONFIG_OCFS2_DEBUG_MASKLOG=y +# CONFIG_OCFS2_DEBUG_FS is not set +# CONFIG_BTRFS_FS is not set +# CONFIG_NILFS2_FS is not set +CONFIG_FS_POSIX_ACL=y +CONFIG_FILE_LOCKING=y +CONFIG_FSNOTIFY=y +CONFIG_DNOTIFY=y +CONFIG_INOTIFY_USER=y +# CONFIG_FANOTIFY is not set +CONFIG_QUOTA=y +# CONFIG_QUOTA_NETLINK_INTERFACE is not set +CONFIG_PRINT_QUOTA_WARNING=y +# CONFIG_QUOTA_DEBUG is not set +CONFIG_QUOTA_TREE=m +# CONFIG_QFMT_V1 is not set +# CONFIG_QFMT_V2 is not set +CONFIG_QUOTACTL=y +CONFIG_AUTOFS4_FS=m +# CONFIG_FUSE_FS is not set + +# +# Caches +# +# CONFIG_FSCACHE is not set + +# +# CD-ROM/DVD Filesystems +# +# CONFIG_ISO9660_FS is not set +# CONFIG_UDF_FS is not set + +# +# DOS/FAT/NT Filesystems +# +CONFIG_FAT_FS=y +# CONFIG_MSDOS_FS is not set +CONFIG_VFAT_FS=y +CONFIG_FAT_DEFAULT_CODEPAGE=437 +CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" +# CONFIG_NTFS_FS is not set + +# +# Pseudo filesystems +# +CONFIG_PROC_FS=y +CONFIG_PROC_KCORE=y +CONFIG_PROC_SYSCTL=y +CONFIG_PROC_PAGE_MONITOR=y +CONFIG_SYSFS=y +CONFIG_TMPFS=y +# CONFIG_TMPFS_POSIX_ACL is not set +# CONFIG_HUGETLBFS is not set +# CONFIG_HUGETLB_PAGE is not set +CONFIG_CONFIGFS_FS=m +CONFIG_MISC_FILESYSTEMS=y +# CONFIG_ADFS_FS is not set +# CONFIG_AFFS_FS is not set +# CONFIG_ECRYPT_FS is not set +# CONFIG_HFS_FS is not set +# CONFIG_HFSPLUS_FS is not set +# CONFIG_BEFS_FS is not set +# CONFIG_BFS_FS is not set +# CONFIG_EFS_FS is not set +# CONFIG_LOGFS is not set +# CONFIG_CRAMFS is not set +# CONFIG_SQUASHFS is not set +# CONFIG_VXFS_FS is not set +CONFIG_MINIX_FS=m +# CONFIG_OMFS_FS is not set +# CONFIG_HPFS_FS is not set +# CONFIG_QNX4FS_FS is not set +CONFIG_ROMFS_FS=m +CONFIG_ROMFS_BACKED_BY_BLOCK=y +CONFIG_ROMFS_ON_BLOCK=y +# CONFIG_PSTORE is not set +# CONFIG_SYSV_FS is not set +# CONFIG_UFS_FS is not set +CONFIG_NETWORK_FILESYSTEMS=y +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +# CONFIG_NFS_V3_ACL is not set +CONFIG_NFS_V4=y +# CONFIG_NFS_V4_1 is not set +CONFIG_ROOT_NFS=y +# CONFIG_NFS_USE_LEGACY_DNS is not set +CONFIG_NFS_USE_KERNEL_DNS=y +# CONFIG_NFS_USE_NEW_IDMAPPER is not set +# CONFIG_NFSD is not set +CONFIG_LOCKD=y +CONFIG_LOCKD_V4=y +CONFIG_NFS_COMMON=y +CONFIG_SUNRPC=y +CONFIG_SUNRPC_GSS=y +# CONFIG_CEPH_FS is not set +CONFIG_CIFS=m +# CONFIG_CIFS_STATS is not set +# CONFIG_CIFS_WEAK_PW_HASH is not set +# CONFIG_CIFS_UPCALL is not set +CONFIG_CIFS_XATTR=y +CONFIG_CIFS_POSIX=y +# CONFIG_CIFS_DEBUG2 is not set +# CONFIG_CIFS_DFS_UPCALL is not set +# CONFIG_CIFS_ACL is not set +# CONFIG_CIFS_EXPERIMENTAL is not set +# CONFIG_NCP_FS is not set +# CONFIG_CODA_FS is not set +# CONFIG_AFS_FS is not set + +# +# Partition Types +# +# CONFIG_PARTITION_ADVANCED is not set +CONFIG_MSDOS_PARTITION=y +CONFIG_NLS=y +CONFIG_NLS_DEFAULT="iso8859-1" +CONFIG_NLS_CODEPAGE_437=m +CONFIG_NLS_CODEPAGE_737=m +CONFIG_NLS_CODEPAGE_775=m +CONFIG_NLS_CODEPAGE_850=m +CONFIG_NLS_CODEPAGE_852=m +CONFIG_NLS_CODEPAGE_855=m +CONFIG_NLS_CODEPAGE_857=m +CONFIG_NLS_CODEPAGE_860=m +CONFIG_NLS_CODEPAGE_861=m +CONFIG_NLS_CODEPAGE_862=m +CONFIG_NLS_CODEPAGE_863=m +CONFIG_NLS_CODEPAGE_864=m +CONFIG_NLS_CODEPAGE_865=m +CONFIG_NLS_CODEPAGE_866=m +CONFIG_NLS_CODEPAGE_869=m +CONFIG_NLS_CODEPAGE_936=m +CONFIG_NLS_CODEPAGE_950=m +CONFIG_NLS_CODEPAGE_932=m +CONFIG_NLS_CODEPAGE_949=m +CONFIG_NLS_CODEPAGE_874=m +CONFIG_NLS_ISO8859_8=m +CONFIG_NLS_CODEPAGE_1250=m +CONFIG_NLS_CODEPAGE_1251=m +CONFIG_NLS_ASCII=m +CONFIG_NLS_ISO8859_1=m +CONFIG_NLS_ISO8859_2=m +CONFIG_NLS_ISO8859_3=m +CONFIG_NLS_ISO8859_4=m +CONFIG_NLS_ISO8859_5=m +CONFIG_NLS_ISO8859_6=m +CONFIG_NLS_ISO8859_7=m +CONFIG_NLS_ISO8859_9=m +CONFIG_NLS_ISO8859_13=m +CONFIG_NLS_ISO8859_14=m +CONFIG_NLS_ISO8859_15=m +CONFIG_NLS_KOI8_R=m +CONFIG_NLS_KOI8_U=m +CONFIG_NLS_UTF8=m +# CONFIG_DLM is not set + +# +# Kernel hacking +# +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +# CONFIG_PRINTK_TIME is not set +CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 +CONFIG_ENABLE_WARN_DEPRECATED=y +CONFIG_ENABLE_MUST_CHECK=y +CONFIG_FRAME_WARN=1024 +CONFIG_MAGIC_SYSRQ=y +# CONFIG_STRIP_ASM_SYMS is not set +CONFIG_UNUSED_SYMBOLS=y +CONFIG_DEBUG_FS=y +# CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set +CONFIG_DEBUG_KERNEL=y +# CONFIG_DEBUG_SHIRQ is not set +# CONFIG_LOCKUP_DETECTOR is not set +# CONFIG_HARDLOCKUP_DETECTOR is not set +# CONFIG_DETECT_HUNG_TASK is not set +CONFIG_SCHED_DEBUG=y +CONFIG_SCHEDSTATS=y +CONFIG_TIMER_STATS=y +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_SLUB_DEBUG_ON is not set +# CONFIG_SLUB_STATS is not set +# CONFIG_DEBUG_KMEMLEAK is not set +CONFIG_DEBUG_PREEMPT=y +# CONFIG_DEBUG_RT_MUTEXES is not set +# CONFIG_RT_MUTEX_TESTER is not set +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_SPARSE_RCU_POINTER is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_SPINLOCK_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +CONFIG_STACKTRACE=y +# CONFIG_DEBUG_KOBJECT is not set +# CONFIG_DEBUG_HIGHMEM is not set +CONFIG_DEBUG_BUGVERBOSE=y +CONFIG_DEBUG_INFO=y +# CONFIG_DEBUG_INFO_REDUCED is not set +# CONFIG_DEBUG_VM is not set +# CONFIG_DEBUG_VIRTUAL is not set +# CONFIG_DEBUG_WRITECOUNT is not set +# CONFIG_DEBUG_MEMORY_INIT is not set +# CONFIG_DEBUG_LIST is not set +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set +CONFIG_ARCH_WANT_FRAME_POINTERS=y +CONFIG_FRAME_POINTER=y +# CONFIG_BOOT_PRINTK_DELAY is not set +# CONFIG_RCU_TORTURE_TEST is not set +CONFIG_RCU_CPU_STALL_DETECTOR=y +CONFIG_RCU_CPU_STALL_TIMEOUT=60 +CONFIG_RCU_CPU_STALL_DETECTOR_RUNNABLE=y +CONFIG_RCU_CPU_STALL_VERBOSE=y +# CONFIG_KPROBES_SANITY_TEST is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +# CONFIG_LKDTM is not set +# CONFIG_FAULT_INJECTION is not set +CONFIG_LATENCYTOP=y +# CONFIG_SYSCTL_SYSCALL_CHECK is not set +# CONFIG_DEBUG_PAGEALLOC is not set +CONFIG_USER_STACKTRACE_SUPPORT=y +CONFIG_NOP_TRACER=y +CONFIG_HAVE_FTRACE_NMI_ENTER=y +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y +CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_SYSCALL_TRACEPOINTS=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_RING_BUFFER=y +CONFIG_FTRACE_NMI_ENTER=y +CONFIG_EVENT_TRACING=y +CONFIG_EVENT_POWER_TRACING_DEPRECATED=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_RING_BUFFER_ALLOW_SWAP=y +CONFIG_TRACING=y +CONFIG_GENERIC_TRACER=y +CONFIG_TRACING_SUPPORT=y +CONFIG_FTRACE=y +CONFIG_FUNCTION_TRACER=y +CONFIG_FUNCTION_GRAPH_TRACER=y +# CONFIG_IRQSOFF_TRACER is not set +# CONFIG_PREEMPT_TRACER is not set +# CONFIG_SCHED_TRACER is not set +# CONFIG_FTRACE_SYSCALLS is not set +CONFIG_BRANCH_PROFILE_NONE=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set +# CONFIG_PROFILE_ALL_BRANCHES is not set +# CONFIG_STACK_TRACER is not set +# CONFIG_BLK_DEV_IO_TRACE is not set +CONFIG_KPROBE_EVENT=y +CONFIG_DYNAMIC_FTRACE=y +# CONFIG_FUNCTION_PROFILER is not set +CONFIG_FTRACE_MCOUNT_RECORD=y +# CONFIG_FTRACE_STARTUP_TEST is not set +# CONFIG_MMIOTRACE is not set +# CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set +# CONFIG_DYNAMIC_DEBUG is not set +# CONFIG_DMA_API_DEBUG is not set +# CONFIG_ATOMIC64_SELFTEST is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +CONFIG_KGDB=y +CONFIG_KGDB_SERIAL_CONSOLE=y +# CONFIG_KGDB_TESTS is not set +# CONFIG_KGDB_LOW_LEVEL_TRAP is not set +# CONFIG_KGDB_KDB is not set +CONFIG_HAVE_ARCH_KMEMCHECK=y +# CONFIG_TEST_KSTRTOX is not set +# CONFIG_STRICT_DEVMEM is not set +CONFIG_X86_VERBOSE_BOOTUP=y +CONFIG_EARLY_PRINTK=y +# CONFIG_EARLY_PRINTK_DBGP is not set +# CONFIG_DEBUG_STACKOVERFLOW is not set +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_X86_PTDUMP is not set +# CONFIG_DEBUG_RODATA is not set +# CONFIG_DEBUG_SET_MODULE_RONX is not set +# CONFIG_DEBUG_NX_TEST is not set +CONFIG_DOUBLEFAULT=y +# CONFIG_IOMMU_STRESS is not set +CONFIG_HAVE_MMIOTRACE_SUPPORT=y +# CONFIG_X86_DECODER_SELFTEST is not set +CONFIG_IO_DELAY_TYPE_0X80=0 +CONFIG_IO_DELAY_TYPE_0XED=1 +CONFIG_IO_DELAY_TYPE_UDELAY=2 +CONFIG_IO_DELAY_TYPE_NONE=3 +CONFIG_IO_DELAY_0X80=y +# CONFIG_IO_DELAY_0XED is not set +# CONFIG_IO_DELAY_UDELAY is not set +# CONFIG_IO_DELAY_NONE is not set +CONFIG_DEFAULT_IO_DELAY_TYPE=0 +# CONFIG_DEBUG_BOOT_PARAMS is not set +# CONFIG_CPA_DEBUG is not set +# CONFIG_OPTIMIZE_INLINING is not set +# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set + +# +# Security options +# +CONFIG_KEYS=y +# CONFIG_KEYS_DEBUG_PROC_KEYS is not set +# CONFIG_SECURITY_DMESG_RESTRICT is not set +CONFIG_SECURITY=y +# CONFIG_SECURITYFS is not set +# CONFIG_SECURITY_NETWORK is not set +# CONFIG_SECURITY_PATH is not set +# CONFIG_SECURITY_TOMOYO is not set +# CONFIG_SECURITY_APPARMOR is not set +# CONFIG_IMA is not set +CONFIG_DEFAULT_SECURITY_DAC=y +CONFIG_DEFAULT_SECURITY="" +CONFIG_CRYPTO=y + +# +# Crypto core or helper +# +CONFIG_CRYPTO_ALGAPI=y +CONFIG_CRYPTO_ALGAPI2=y +CONFIG_CRYPTO_AEAD=m +CONFIG_CRYPTO_AEAD2=y +CONFIG_CRYPTO_BLKCIPHER=y +CONFIG_CRYPTO_BLKCIPHER2=y +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_HASH2=y +CONFIG_CRYPTO_RNG=m +CONFIG_CRYPTO_RNG2=y +CONFIG_CRYPTO_PCOMP2=y +CONFIG_CRYPTO_MANAGER=y +CONFIG_CRYPTO_MANAGER2=y +CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y +# CONFIG_CRYPTO_GF128MUL is not set +CONFIG_CRYPTO_NULL=m +CONFIG_CRYPTO_WORKQUEUE=y +# CONFIG_CRYPTO_CRYPTD is not set +CONFIG_CRYPTO_AUTHENC=m +CONFIG_CRYPTO_TEST=m + +# +# Authenticated Encryption with Associated Data +# +# CONFIG_CRYPTO_CCM is not set +# CONFIG_CRYPTO_GCM is not set +# CONFIG_CRYPTO_SEQIV is not set + +# +# Block modes +# +CONFIG_CRYPTO_CBC=y +# CONFIG_CRYPTO_CTR is not set +# CONFIG_CRYPTO_CTS is not set +CONFIG_CRYPTO_ECB=y +# CONFIG_CRYPTO_LRW is not set +# CONFIG_CRYPTO_PCBC is not set +# CONFIG_CRYPTO_XTS is not set + +# +# Hash modes +# +CONFIG_CRYPTO_HMAC=y +# CONFIG_CRYPTO_XCBC is not set +# CONFIG_CRYPTO_VMAC is not set + +# +# Digest +# +CONFIG_CRYPTO_CRC32C=m +# CONFIG_CRYPTO_CRC32C_INTEL is not set +# CONFIG_CRYPTO_GHASH is not set +CONFIG_CRYPTO_MD4=m +CONFIG_CRYPTO_MD5=y +CONFIG_CRYPTO_MICHAEL_MIC=m +# CONFIG_CRYPTO_RMD128 is not set +# CONFIG_CRYPTO_RMD160 is not set +# CONFIG_CRYPTO_RMD256 is not set +# CONFIG_CRYPTO_RMD320 is not set +CONFIG_CRYPTO_SHA1=m +CONFIG_CRYPTO_SHA256=m +CONFIG_CRYPTO_SHA512=m +# CONFIG_CRYPTO_TGR192 is not set +CONFIG_CRYPTO_WP512=m + +# +# Ciphers +# +CONFIG_CRYPTO_AES=y +# CONFIG_CRYPTO_AES_586 is not set +# CONFIG_CRYPTO_AES_NI_INTEL is not set +CONFIG_CRYPTO_ANUBIS=m +CONFIG_CRYPTO_ARC4=y +CONFIG_CRYPTO_BLOWFISH=m +# CONFIG_CRYPTO_CAMELLIA is not set +CONFIG_CRYPTO_CAST5=m +CONFIG_CRYPTO_CAST6=m +CONFIG_CRYPTO_DES=y +# CONFIG_CRYPTO_FCRYPT is not set +CONFIG_CRYPTO_KHAZAD=m +# CONFIG_CRYPTO_SALSA20 is not set +# CONFIG_CRYPTO_SALSA20_586 is not set +# CONFIG_CRYPTO_SEED is not set +CONFIG_CRYPTO_SERPENT=m +CONFIG_CRYPTO_TEA=m +CONFIG_CRYPTO_TWOFISH=m +CONFIG_CRYPTO_TWOFISH_COMMON=m +# CONFIG_CRYPTO_TWOFISH_586 is not set + +# +# Compression +# +CONFIG_CRYPTO_DEFLATE=m +# CONFIG_CRYPTO_ZLIB is not set +# CONFIG_CRYPTO_LZO is not set + +# +# Random Number Generation +# +CONFIG_CRYPTO_ANSI_CPRNG=m +# CONFIG_CRYPTO_USER_API_HASH is not set +# CONFIG_CRYPTO_USER_API_SKCIPHER is not set +CONFIG_CRYPTO_HW=y +# CONFIG_CRYPTO_DEV_PADLOCK is not set +# CONFIG_CRYPTO_DEV_GEODE is not set +# CONFIG_CRYPTO_DEV_HIFN_795X is not set +CONFIG_HAVE_KVM=y +CONFIG_VIRTUALIZATION=y +# CONFIG_KVM is not set +# CONFIG_VHOST_NET is not set +# CONFIG_LGUEST is not set +# CONFIG_VIRTIO_PCI is not set +# CONFIG_VIRTIO_BALLOON is not set +CONFIG_BINARY_PRINTF=y + +# +# Library routines +# +CONFIG_BITREVERSE=y +CONFIG_GENERIC_FIND_FIRST_BIT=y +CONFIG_GENERIC_FIND_NEXT_BIT=y +CONFIG_GENERIC_FIND_LAST_BIT=y +CONFIG_CRC_CCITT=y +CONFIG_CRC16=m +# CONFIG_CRC_T10DIF is not set +# CONFIG_CRC_ITU_T is not set +CONFIG_CRC32=y +# CONFIG_CRC7 is not set +CONFIG_LIBCRC32C=m +CONFIG_ZLIB_INFLATE=y +CONFIG_ZLIB_DEFLATE=m +# CONFIG_XZ_DEC is not set +# CONFIG_XZ_DEC_BCJ is not set +CONFIG_DECOMPRESS_GZIP=y +CONFIG_TEXTSEARCH=y +CONFIG_TEXTSEARCH_KMP=m +CONFIG_TEXTSEARCH_BM=m +CONFIG_TEXTSEARCH_FSM=m +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT=y +CONFIG_HAS_DMA=y +CONFIG_NLATTR=y +CONFIG_AVERAGE=y diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index bfa4a757f8..beb4d2066b 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -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 From 6f469116e1d7f07d403f5ffb027fcffa3904084e Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 4 Mar 2014 17:44:48 +0100 Subject: [PATCH 240/908] sysmocom-bsc-ip-image-directdisk: switch from ext3 to ext4 filesystem --- conf/machine/sysmocom-bsc.conf | 2 +- recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb | 2 +- recipes-bsp/linux/files/sysmocom-bsc/defconfig | 2 +- recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/machine/sysmocom-bsc.conf b/conf/machine/sysmocom-bsc.conf index a1900e6a4b..14059e5242 100644 --- a/conf/machine/sysmocom-bsc.conf +++ b/conf/machine/sysmocom-bsc.conf @@ -16,7 +16,7 @@ MACHINE_FEATURES += "kernel26 x86 usbhost pci acpi" KERNEL_IMAGETYPE = "bzImage" -IMAGE_FSTYPES ?= "tar.gz ext3" +IMAGE_FSTYPES ?= "tar.gz ext4" SERIAL_CONSOLE = "38400 ttyS0" MACHINE_CONSOLE = "console=ttyS0,38400n8" diff --git a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb index 8a8ab56d36..3beec905aa 100644 --- a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb +++ b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb @@ -16,5 +16,5 @@ APPEND = " console=ttyS0,38400 " LABELS_append = " ${SYSLINUX_LABELS} " -ROOTFS = "${DEPLOY_DIR_IMAGE}/sysmocom-bsc-ip-image-${MACHINE}.ext3" +ROOTFS = "${DEPLOY_DIR_IMAGE}/sysmocom-bsc-ip-image-${MACHINE}.ext4" do_bootdirectdisk[depends] += "sysmocom-bsc-ip-image:do_rootfs" diff --git a/recipes-bsp/linux/files/sysmocom-bsc/defconfig b/recipes-bsp/linux/files/sysmocom-bsc/defconfig index bd36385f48..600d7c7dba 100644 --- a/recipes-bsp/linux/files/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/files/sysmocom-bsc/defconfig @@ -2372,7 +2372,7 @@ CONFIG_EXT3_DEFAULTS_TO_ORDERED=y CONFIG_EXT3_FS_XATTR=y CONFIG_EXT3_FS_POSIX_ACL=y # CONFIG_EXT3_FS_SECURITY is not set -CONFIG_EXT4_FS=m +CONFIG_EXT4_FS=y CONFIG_EXT4_FS_XATTR=y CONFIG_EXT4_FS_POSIX_ACL=y # CONFIG_EXT4_FS_SECURITY is not set diff --git a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig index a7a2238e0d..d52b15fb4e 100644 --- a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig @@ -2373,7 +2373,7 @@ CONFIG_EXT3_DEFAULTS_TO_ORDERED=y CONFIG_EXT3_FS_XATTR=y CONFIG_EXT3_FS_POSIX_ACL=y # CONFIG_EXT3_FS_SECURITY is not set -CONFIG_EXT4_FS=m +CONFIG_EXT4_FS=y CONFIG_EXT4_FS_XATTR=y CONFIG_EXT4_FS_POSIX_ACL=y # CONFIG_EXT4_FS_SECURITY is not set From 4a9cc7acdb20a39fe4f269dedbcff0f23988c7a7 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 11 Mar 2014 16:41:01 +0100 Subject: [PATCH 241/908] systemd_sysmocom.inc: disable flushing of journald too * bump INC_PR Fixes: SYS#262 --- recipes-fixes/systemd/systemd_sysmocom.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index 7081c87567..e937eb1f24 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -1,7 +1,7 @@ S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" -PRINC="18" +PRINC="19" SRC_URI += "file://journald.conf \ file://0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch \ @@ -39,6 +39,7 @@ pkg_postinst_${PN}_append () { # disable journald because its using to much cpu under stress logging systemctl ${OPTS} mask systemd-journald.socket systemctl ${OPTS} mask systemd-journald.service + systemctl ${OPTS} mask systemd-journal-flush.service } do_install_append() { From 72ce4c5203cb478667d0f42a1794ced2f08bdc93 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Wed, 12 Feb 2014 21:18:12 +0100 Subject: [PATCH 242/908] sysmocom-nitb-image: enable nitb for sysvinit or systemd --- recipes-apps/images/sysmocom-nitb-image.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-apps/images/sysmocom-nitb-image.bb b/recipes-apps/images/sysmocom-nitb-image.bb index fe797d6245..80f90e71f1 100644 --- a/recipes-apps/images/sysmocom-nitb-image.bb +++ b/recipes-apps/images/sysmocom-nitb-image.bb @@ -5,4 +5,8 @@ activate_nitb() { echo "NO_START=0" > ${IMAGE_ROOTFS}/etc/default/osmo-nitb } -IMAGE_PREPROCESS_COMMAND += "activate_nitb; " +activate_systemd_nitb() { + ln -sf ${systemd_unitdir}/system/osmo-nitb.service ${IMAGE_ROOTFS}/etc/systemd/system/multi-user.target.wants/ +} + +IMAGE_PREPROCESS_COMMAND += "${@base_contains('DISTRO_FEATURES','systemd','activate_systemd_nitb','activate_nitb',d)}; " From 36d4e0119a6a60e401d1e3f0a5c2e6d0f19c4c59 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Thu, 6 Mar 2014 23:06:55 +0100 Subject: [PATCH 243/908] sysmocom-bsc-image: enable osmo-bsc for sysvinit or systemd --- recipes-apps/images/sysmocom-bsc-image.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-apps/images/sysmocom-bsc-image.bb b/recipes-apps/images/sysmocom-bsc-image.bb index 63d4dffa8a..0d3df23778 100644 --- a/recipes-apps/images/sysmocom-bsc-image.bb +++ b/recipes-apps/images/sysmocom-bsc-image.bb @@ -5,4 +5,8 @@ activate_bsc() { echo "NO_START=0" > ${IMAGE_ROOTFS}/etc/default/osmo-bsc } -IMAGE_PREPROCESS_COMMAND += "activate_bsc; " +activate_systemd_bsc() { + ln -sf ${systemd_unitdir}/system/osmo-bsc.service ${IMAGE_ROOTFS}/etc/systemd/system/multi-user.target.wants/ +} + +IMAGE_PREPROCESS_COMMAND += "${@base_contains('DISTRO_FEATURES','systemd','activate_systemd_bsc','activate_bsc',d)}; " From 2ba19d8e548874fbdb5806af877da656bb46f1e7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 13 Mar 2014 16:48:03 +0100 Subject: [PATCH 244/908] femtobts-api: Build the latest git of the header files --- recipes-sysmobts/femtobts-api/femtobts-api_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb index 4c0e7ad8d0..c3fba57f1e 100644 --- a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -3,8 +3,8 @@ SECTION = "kernel" LICENSE = "CLOSED" SRC_URI = "git://git.sysmocom.de/sysmo-bts/layer1-api.git;protocol=git;branch=master" -SRCREV = "bcf372be4214e3108c236ba87f487e1a1e8c69f9" -SRCREV_sysmobts-v2 = "bcf372be4214e3108c236ba87f487e1a1e8c69f9" +SRCREV = "bbf213491fdee73af793e73ec2e3cd0f5b57fb7b" +SRCREV_sysmobts-v2 = "bbf213491fdee73af793e73ec2e3cd0f5b57fb7b" SRCREV_sysmobts-v1 = "4dde9443e2aa11868e46a67529cb5ac45462699c" PV = "${SRCREV}+git${SRCPV}" PR = "r4" From ce642cba5378277678920be336c21058f43dbab6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 13 Mar 2014 16:50:45 +0100 Subject: [PATCH 245/908] osmo-bts: Build newer version with handover, agch and manager changes --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 0c729d77c1..8c9f4abb91 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,8 +4,8 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "10aa68ba8ae23336561bd6cb518c47ae9972a0b6" -SRCREV_openbsc = "ca114432be6c9e108f0f3182c564d264b78669e0" +SRCREV_osmobts = "4b614a0246ef3952407e86a89df7a437704275d1" +SRCREV_openbsc = "9e55636fe051f150820086d8dc34d710144fc5bb" PV = "0.3.0+git${SRCPV}" PR = "r4.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 46098bb42eadbe76fb9ba7657dc5f4a401f15d92 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 13 Mar 2014 17:04:51 +0100 Subject: [PATCH 246/908] osmo-pcu: Re-build with some cosmetic and logging changes Make finding use after free more easy and change some log regions to help in detecting what is going on. --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index b0d11ab30b..110d46554f 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=sysmocom/master" -SRCREV = "a0047996990214c72ab20d7a0614d8790f4b9634" +SRCREV = "59fe8f79ccf3c0434fca90089a2a6bab64205d87" PV = "0.3+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 1b769147bd0edec05551d4b0e04ac482519ddbb3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 13 Mar 2014 17:08:17 +0100 Subject: [PATCH 247/908] sysmocom-odu: We want things to be packaed as uImage (do we?) --- conf/machine/sysmocom-odu.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/machine/sysmocom-odu.conf b/conf/machine/sysmocom-odu.conf index 8b833d9f20..5b7238469a 100644 --- a/conf/machine/sysmocom-odu.conf +++ b/conf/machine/sysmocom-odu.conf @@ -31,3 +31,4 @@ UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" # Go back to prefer our kernel PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" +KERNEL_IMAGETYPE = "uImage" From 9ae58a33bfee257f8e19586a0954d6ada855f955 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Mar 2014 16:12:04 +0100 Subject: [PATCH 248/908] osmo-bts: Upgrade the version number to 0.4.0 --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 8c9f4abb91..15c99df72e 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -6,7 +6,7 @@ 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 = "4b614a0246ef3952407e86a89df7a437704275d1" SRCREV_openbsc = "9e55636fe051f150820086d8dc34d710144fc5bb" -PV = "0.3.0+git${SRCPV}" +PV = "0.4.0+git${SRCPV}" PR = "r4.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 7c453471f1617a5ec84f4d7541164f957fe7ffe0 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Mar 2014 16:12:45 +0100 Subject: [PATCH 249/908] osmo-pcu: Bump version number and requirements as well The interface has not knowingly changed but it is good to have comparable versions installed. --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 110d46554f..56074e2300 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -4,14 +4,14 @@ LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=sysmocom/master" SRCREV = "59fe8f79ccf3c0434fca90089a2a6bab64205d87" -PV = "0.3+git${SRCPV}" +PV = "0.4+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" DEPENDS = "libosmocore femtobts-api osmo-bts" # This implements PCU Interface v5 (GPRS RSSI) -RDEPENDS_${PN} = "osmo-bts (>= 0.2.0)" +RDEPENDS_${PN} = "osmo-bts (>= 0.4.0)" EXTRA_OECONF_sysmobts-v2 += "--enable-sysmocom-bts --enable-sysmocom-dsp" From e797a8ac6bf8730d3a25a089f70ae0766ac1bb65 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Mar 2014 16:16:32 +0100 Subject: [PATCH 250/908] sysmobts-firmware: Make the firmware conflict with older bts software We had an upgrade issue where using newer firmware with older osmo-bts binaries didn't work. Make sure that the shiny new 0.4.0 binaries are used with firmware starting from 3.2. Addresses: #158 --- recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb | 3 ++- recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb | 3 ++- recipes-sysmobts/firmware/sysmobts-firmware_3.4.bb | 3 ++- recipes-sysmobts/firmware/sysmobts-firmware_3.6.bb | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb index c011570a98..ada376a7f3 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.2.bb @@ -1,6 +1,7 @@ COMPATIBLE_MACHINE = "sysmobts-v2" FIRMWARE-VERSION = "superfemto_v${PV}" -PR = "r7.${INC_PR}" +PR = "r8.${INC_PR}" +RRCONFLICTS_${PN} = "osmo-bts (< 0.4.0)" require ${PN}.inc diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb index 71cbb674f6..02441d9110 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.3.bb @@ -1,7 +1,8 @@ COMPATIBLE_MACHINE = "(sysmobts-v2|sysmobts-2050)" PACKAGE_ARCH = "sysmobts-v2" FIRMWARE-VERSION = "superfemto_v${PV}" -PR = "r8.${INC_PR}" +PR = "r9.${INC_PR}" +RRCONFLICTS_${PN} = "osmo-bts (< 0.4.0)" require ${PN}.inc diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.4.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.4.bb index 71cbb674f6..02441d9110 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_3.4.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.4.bb @@ -1,7 +1,8 @@ COMPATIBLE_MACHINE = "(sysmobts-v2|sysmobts-2050)" PACKAGE_ARCH = "sysmobts-v2" FIRMWARE-VERSION = "superfemto_v${PV}" -PR = "r8.${INC_PR}" +PR = "r9.${INC_PR}" +RRCONFLICTS_${PN} = "osmo-bts (< 0.4.0)" require ${PN}.inc diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.6.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.6.bb index 71cbb674f6..02441d9110 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_3.6.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.6.bb @@ -1,7 +1,8 @@ COMPATIBLE_MACHINE = "(sysmobts-v2|sysmobts-2050)" PACKAGE_ARCH = "sysmobts-v2" FIRMWARE-VERSION = "superfemto_v${PV}" -PR = "r8.${INC_PR}" +PR = "r9.${INC_PR}" +RRCONFLICTS_${PN} = "osmo-bts (< 0.4.0)" require ${PN}.inc From 5b1ebe6a26c4df30052c9c1208c663779d4f619f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Mar 2014 16:09:52 +0100 Subject: [PATCH 251/908] linux-sysmocom: Local hacks to have NAT/MASQ on 3.2 and 3.10 kernels The name/structure of the NAT configuration was changed. Catch up and put the new names into the old defconfig too. It is an ugly hack to have it work with v3.2 and v3.10 kernels. The sysmobsc has been fixed independently. --- recipes-bsp/linux/files/sysmobts-2050/defconfig | 13 +++++++++++++ recipes-bsp/linux/files/sysmobts-v1/defconfig | 13 +++++++++++++ recipes-bsp/linux/files/sysmobts-v2/defconfig | 13 +++++++++++++ recipes-bsp/linux/linux-sysmocom_git.bb | 2 +- 4 files changed, 40 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/linux/files/sysmobts-2050/defconfig b/recipes-bsp/linux/files/sysmobts-2050/defconfig index 6d8712c297..672a4d2439 100644 --- a/recipes-bsp/linux/files/sysmobts-2050/defconfig +++ b/recipes-bsp/linux/files/sysmobts-2050/defconfig @@ -503,6 +503,19 @@ CONFIG_NF_CONNTRACK_FTP=m CONFIG_NF_CONNTRACK_SIP=m # CONFIG_NF_CONNTRACK_TFTP is not set CONFIG_NF_CT_NETLINK=m +CONFIG_NF_NAT=m +CONFIG_NF_NAT_IPV4=m +CONFIG_IP_NF_TARGET_MASQUERADE=m +CONFIG_IP_NF_TARGET_NETMAP=m +CONFIG_IP_NF_TARGET_REDIRECT=m +CONFIG_NF_NAT_PROTO_DCCP=m +CONFIG_NF_NAT_PROTO_UDPLITE=m +CONFIG_NF_NAT_PROTO_SCTP=m +# CONFIG_NF_NAT_AMANDA is not set +CONFIG_NF_NAT_FTP=m +# CONFIG_NF_NAT_IRC is not set +CONFIG_NF_NAT_SIP=m +# CONFIG_NF_NAT_TFTP is not set # CONFIG_NETFILTER_TPROXY is not set CONFIG_NETFILTER_XTABLES=m diff --git a/recipes-bsp/linux/files/sysmobts-v1/defconfig b/recipes-bsp/linux/files/sysmobts-v1/defconfig index c632b7c8e2..444cec4a73 100644 --- a/recipes-bsp/linux/files/sysmobts-v1/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v1/defconfig @@ -511,6 +511,19 @@ CONFIG_NF_CONNTRACK_FTP=m CONFIG_NF_CONNTRACK_SIP=m # CONFIG_NF_CONNTRACK_TFTP is not set CONFIG_NF_CT_NETLINK=m +CONFIG_NF_NAT=m +CONFIG_NF_NAT_IPV4=m +CONFIG_IP_NF_TARGET_MASQUERADE=m +CONFIG_IP_NF_TARGET_NETMAP=m +CONFIG_IP_NF_TARGET_REDIRECT=m +CONFIG_NF_NAT_PROTO_DCCP=m +CONFIG_NF_NAT_PROTO_UDPLITE=m +CONFIG_NF_NAT_PROTO_SCTP=m +# CONFIG_NF_NAT_AMANDA is not set +CONFIG_NF_NAT_FTP=m +# CONFIG_NF_NAT_IRC is not set +CONFIG_NF_NAT_SIP=m +# CONFIG_NF_NAT_TFTP is not set # CONFIG_NETFILTER_TPROXY is not set CONFIG_NETFILTER_XTABLES=m diff --git a/recipes-bsp/linux/files/sysmobts-v2/defconfig b/recipes-bsp/linux/files/sysmobts-v2/defconfig index a4109aa7ce..436f3d2f82 100644 --- a/recipes-bsp/linux/files/sysmobts-v2/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v2/defconfig @@ -516,6 +516,19 @@ CONFIG_NF_CONNTRACK_FTP=m CONFIG_NF_CONNTRACK_SIP=m # CONFIG_NF_CONNTRACK_TFTP is not set CONFIG_NF_CT_NETLINK=m +CONFIG_NF_NAT=m +CONFIG_NF_NAT_IPV4=m +CONFIG_IP_NF_TARGET_MASQUERADE=m +CONFIG_IP_NF_TARGET_NETMAP=m +CONFIG_IP_NF_TARGET_REDIRECT=m +CONFIG_NF_NAT_PROTO_DCCP=m +CONFIG_NF_NAT_PROTO_UDPLITE=m +CONFIG_NF_NAT_PROTO_SCTP=m +# CONFIG_NF_NAT_AMANDA is not set +CONFIG_NF_NAT_FTP=m +# CONFIG_NF_NAT_IRC is not set +CONFIG_NF_NAT_SIP=m +# CONFIG_NF_NAT_TFTP is not set # CONFIG_NETFILTER_TPROXY is not set CONFIG_NETFILTER_XTABLES=m diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index beb4d2066b..dc5ed16608 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -14,7 +14,7 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "ad70d9a96e62bcdbc184512ae375d5d9b5d318d4" -PR = "r31.3" +PR = "r31.4" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.10 \ From 599e2d367951774752edcc89f03f37276a53a74f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Mar 2014 18:39:05 +0100 Subject: [PATCH 252/908] systemd: Update osmo-bts/osmo-pcu recipes for newer service files Some smaller other fixes in the osmo-pcu code --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 15c99df72e..832a8a19db 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,9 +4,9 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "4b614a0246ef3952407e86a89df7a437704275d1" +SRCREV_osmobts = "ae2473c2ca07cf5173a3dab22bc64e7b135ef848" SRCREV_openbsc = "9e55636fe051f150820086d8dc34d710144fc5bb" -PV = "0.4.0+git${SRCPV}" +PV = "0.4.1+git${SRCPV}" PR = "r4.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 56074e2300..ee5e2edf6c 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=sysmocom/master" -SRCREV = "59fe8f79ccf3c0434fca90089a2a6bab64205d87" +SRCREV = "f81e2f7621c9bc6866035cb47ac09adab4897b55" PV = "0.4+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From c872ce4a460655608156e18f597affa05e240a64 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Mar 2014 19:28:59 +0100 Subject: [PATCH 253/908] osmo-bts: Provide the direct PCU mode for the image --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 832a8a19db..e52d0eafd6 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "ae2473c2ca07cf5173a3dab22bc64e7b135ef848" +SRCREV_osmobts = "83dc54fb95af692a74f749335a9ee9b2b49dc1b9" SRCREV_openbsc = "9e55636fe051f150820086d8dc34d710144fc5bb" PV = "0.4.1+git${SRCPV}" PR = "r4.${META_TELEPHONY_OSMO_INC}" From c5e607febc8de26abef62c4bf3f88ebe33696529 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 11 Mar 2014 20:23:21 +0100 Subject: [PATCH 254/908] sysmocom-bsc-ip-image-directdisk: do not rename the ethernet interfaces to the new scheme Fixes: SYS#277 --- recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb index 3beec905aa..7ad11b673d 100644 --- a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb +++ b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb @@ -12,7 +12,7 @@ SYSLINUX_TIMEOUT = "2" SYSLINUX_SERIAL = "0 38400" SYSLINUX_SERIAL_TTY = "console=ttyS0,38400" SYSLINUX_LABELS = "boot" -APPEND = " console=ttyS0,38400 " +APPEND = "${SYSLINUX_SERIAL_TTY} net.ifnames=0" LABELS_append = " ${SYSLINUX_LABELS} " From 318f4e4e5206bb2238d02e07d09ac9648054e71e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 27 Mar 2014 07:57:45 +0100 Subject: [PATCH 255/908] osmo-bts: Update with max_power_red fixes and apply it This is fixing max_power_reduction for revC hardware and applies a new max_power_reduction when it arrives through OML and the system is already initialized. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index e52d0eafd6..a6bfb7c765 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,8 +4,8 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "83dc54fb95af692a74f749335a9ee9b2b49dc1b9" -SRCREV_openbsc = "9e55636fe051f150820086d8dc34d710144fc5bb" +SRCREV_osmobts = "64a4327c34568628d5eb9bfc63fdcf88f60e1c3f" +SRCREV_openbsc = "8a158bb1ea36d0f88da18d0f034884b30f09fda2" PV = "0.4.1+git${SRCPV}" PR = "r4.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 575be79d5a58b3411a0470a6a577b7cf652aaaec Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 27 Mar 2014 18:13:21 +0100 Subject: [PATCH 256/908] osmo-bts: Fix the AGCH through PCU socket message --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index a6bfb7c765..4223e21cf4 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,8 +4,8 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "64a4327c34568628d5eb9bfc63fdcf88f60e1c3f" -SRCREV_openbsc = "8a158bb1ea36d0f88da18d0f034884b30f09fda2" +SRCREV_osmobts = "14ff9255553f42bada7b042945e86d6b575b28b2" +SRCREV_openbsc = "a27303094ab8bedb0a3b3bfe771daeed10a2e0a9" PV = "0.4.1+git${SRCPV}" PR = "r4.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From b008109769eac2fb525c88c1821f3e89086d76fc Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 28 Mar 2014 21:36:34 +0100 Subject: [PATCH 257/908] linux-sysmocom: We require bc-native for kernel compilation now --- recipes-bsp/linux/linux-sysmocom_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index dc5ed16608..cc77241666 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -1,6 +1,8 @@ inherit kernel require linux-sysmocom.inc +DEPENDS += "bc-native" + # at versions changes do not forget to update conf/machine/include/sysmobts.inc too LINUX_VERSION ?= "3.10.28" LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}" @@ -14,7 +16,7 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "ad70d9a96e62bcdbc184512ae375d5d9b5d318d4" -PR = "r31.4" +PR = "r32" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.10 \ From 5e84042d375a38007b2ea6f24dc3c35209dba739 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 28 Mar 2014 21:55:04 +0100 Subject: [PATCH 258/908] u-boot: Use PV/PR again as PKGV/PKGR didn't fix the AUTOINC in the filename --- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index d6f10d1756..fbc385ea33 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -13,7 +13,7 @@ UBOOT_MACHINE_sysmobts-v2 = "davinci_sysmobts_v2_config" UBOOT_MACHINE_sysmobts-2050 = "davinci_sysmobts_v2_config" COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050)" -UBOOT_IMAGE = "u-boot-${MACHINE}-${PKGV}-${PKGR}" +UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}" UBOOT_SYMLINK = "u-boot-${MACHINE}" do_deploy_prepend () { From 2700d6a64272b1d54675056d19f0315a4aa1468e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 28 Mar 2014 21:55:45 +0100 Subject: [PATCH 259/908] u-boot: Start to use spaces instead of tabs to follow OE --- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index fbc385ea33..d1e1e5d103 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -17,13 +17,13 @@ UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}" UBOOT_SYMLINK = "u-boot-${MACHINE}" do_deploy_prepend () { - install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE}.bin - install ${S}/u-boot ${DEPLOYDIR}/${UBOOT_IMAGE}.elf + install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE}.bin + install ${S}/u-boot ${DEPLOYDIR}/${UBOOT_IMAGE}.elf - cd ${DEPLOYDIR} - rm -f ${UBOOT_SYMLINK}.bin - rm -f ${UBOOT_SYMLINK}.elf - ln -sf ${UBOOT_IMAGE}.bin ${UBOOT_SYMLINK}.bin - ln -sf ${UBOOT_IMAGE}.elf ${UBOOT_SYMLINK}.elf - return + cd ${DEPLOYDIR} + rm -f ${UBOOT_SYMLINK}.bin + rm -f ${UBOOT_SYMLINK}.elf + ln -sf ${UBOOT_IMAGE}.bin ${UBOOT_SYMLINK}.bin + ln -sf ${UBOOT_IMAGE}.elf ${UBOOT_SYMLINK}.elf + return } From d9ebe0579907976bad03ce8cf4eb4bdf0873b841 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 28 Mar 2014 21:56:27 +0100 Subject: [PATCH 260/908] u-boot: Add something that could build for the sysmocom-odu We do not intend to use u-boot right now but at least this version will build. In the first version we will use the barebox images provided to us by the producer of the SoM. --- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index d1e1e5d103..ec2f4e1dd6 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -3,7 +3,14 @@ SRCREV = "40d74c99ac9d741857d1298617b186b1d4e148de" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" -PRINC = "11" +# We can't build the normal build for sysmocom-odu yet.. build the TI branch +SRCREV_sysmocom-odu = "f2dcae2f9e9434392673fea7584641afa98f4232" +UBOOT_MACHINE_sysmocom-odu = "am335x_evm_config" +SPL_BINARY_sysmocom-odu = "MLO" +SPL_UART_BINARY_sysmocom-odu = "u-boot-spl.bin" + + +PRINC = "13" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" @@ -11,7 +18,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ UBOOT_MACHINE_sysmobts-v1 = "davinci_sysmobts_v1_config" UBOOT_MACHINE_sysmobts-v2 = "davinci_sysmobts_v2_config" UBOOT_MACHINE_sysmobts-2050 = "davinci_sysmobts_v2_config" -COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050)" +COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050|sysmocom-odu)" UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}" UBOOT_SYMLINK = "u-boot-${MACHINE}" @@ -25,5 +32,15 @@ do_deploy_prepend () { rm -f ${UBOOT_SYMLINK}.elf ln -sf ${UBOOT_IMAGE}.bin ${UBOOT_SYMLINK}.bin ln -sf ${UBOOT_IMAGE}.elf ${UBOOT_SYMLINK}.elf + + if [ "x${SPL_UART_BINARY}" != "x" ] + then + install ${S}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE} + rm -f ${DEPLOYDIR}/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_SYMLINK} + ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_BINARY} + ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_SYMLINK} + fi + + # Stop the processing now return } From e2853d21b5ff7408454abf4923445a203aff4a37 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 28 Mar 2014 22:32:35 +0100 Subject: [PATCH 261/908] cifs-utils: Add recipe based on the 5.x recipe of meta-networking --- recipes-apps/cifs-utils/cifs-utils_6.2.bb | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes-apps/cifs-utils/cifs-utils_6.2.bb diff --git a/recipes-apps/cifs-utils/cifs-utils_6.2.bb b/recipes-apps/cifs-utils/cifs-utils_6.2.bb new file mode 100644 index 0000000000..8ca0865cc6 --- /dev/null +++ b/recipes-apps/cifs-utils/cifs-utils_6.2.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "A a package of utilities for doing and managing mounts of the Linux CIFS filesystem." +HOMEPAGE = "http://wiki.samba.org/index.php/LinuxCIFS_utils" + +LICENSE = "GPLv3 & LGPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +PR = "r1" + +SRCREV = "ec983ad90408b689408c2c89179bf8f7b35665a6" +SRC_URI = "git://git.samba.org/cifs-utils.git" + +S = "${WORKDIR}/git" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[cap] = "--with-libcap,--without-libcap,libcap" +# when enabled, it creates ${bindir}/cifscreds and --ignore-fail-on-non-empty in do_install_append is needed +PACKAGECONFIG[cifscreds] = "--enable-cifscreds,--disable-cifscreds,keyutils" +# when enabled, it creates ${sbindir}/cifs.upcall and --ignore-fail-on-non-empty in do_install_append is needed +PACKAGECONFIG[cifsupcall] = "--enable-cifsupcall,--disable-cifsupcall,krb5 talloc keyutils" + +inherit autotools pkgconfig + +do_install_append() { + # Remove empty /usr/bin and /usr/sbin directories since the mount helper + # is installed to /sbin + rmdir --ignore-fail-on-non-empty ${D}${bindir} ${D}${sbindir} +} + +RRECOMMENDS_${PN} = "kernel-module-cifs" From 4b1f68ae337f31f9430d10a826f7f6ee91969c71 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 29 Mar 2014 00:17:17 +0100 Subject: [PATCH 262/908] cifs-utils: Move it to the extras like the other extras --- {recipes-apps => recipes-extra}/cifs-utils/cifs-utils_6.2.bb | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {recipes-apps => recipes-extra}/cifs-utils/cifs-utils_6.2.bb (100%) diff --git a/recipes-apps/cifs-utils/cifs-utils_6.2.bb b/recipes-extra/cifs-utils/cifs-utils_6.2.bb similarity index 100% rename from recipes-apps/cifs-utils/cifs-utils_6.2.bb rename to recipes-extra/cifs-utils/cifs-utils_6.2.bb From f23a2cbd9a65e65a98717ddb99ca01dce81397ec Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 29 Mar 2014 10:50:04 +0100 Subject: [PATCH 263/908] sysmocom-odu: Fix the u-boot and linux recipe While the kernel resides in a dedicated kernel partition we will still install the uImage. For u-boot we just want it to be installed. --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 1 - recipes-sysmobts/uboot/u-boot_sysmocom.inc | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index f84bba1eff..c0b30fff99 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -15,7 +15,6 @@ SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" # odu handling. SRCREV_sysmocom-odu = "f770b4d8361682c9ba80ca3aff17b49461932ccd" -FILES_kernel-image_sysmocom-odu = "" LINUX_VERSION_sysmocom-odu = "3.2.55" PR = "r31" diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index ec2f4e1dd6..f228105bf0 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -8,12 +8,13 @@ SRCREV_sysmocom-odu = "f2dcae2f9e9434392673fea7584641afa98f4232" UBOOT_MACHINE_sysmocom-odu = "am335x_evm_config" SPL_BINARY_sysmocom-odu = "MLO" SPL_UART_BINARY_sysmocom-odu = "u-boot-spl.bin" +SPL_UART_SYMLINK_sysmocom-odu = "${SPL_UART_BINARY}-${MACHINE}" PRINC = "13" -LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ - file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" +LIC_FILES_CHKSUM = "file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" +LIC_FILES_CHKSUM_sysmocom-odu = "file://README;beginline=1;endline=22;md5=2687c5ebfd9cb284491c3204b726ea29" UBOOT_MACHINE_sysmobts-v1 = "davinci_sysmobts_v1_config" UBOOT_MACHINE_sysmobts-v2 = "davinci_sysmobts_v2_config" From 6b4cc713b6c9fb129b4766dd1354b59bf1f0afcd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 29 Mar 2014 11:27:53 +0100 Subject: [PATCH 264/908] linux-sysmocom: Enable CGROUPS for the sysmocom-odu --- recipes-bsp/linux/files/sysmocom-odu/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-bsp/linux/files/sysmocom-odu/defconfig b/recipes-bsp/linux/files/sysmocom-odu/defconfig index 7c585cb0ca..74fef38b53 100644 --- a/recipes-bsp/linux/files/sysmocom-odu/defconfig +++ b/recipes-bsp/linux/files/sysmocom-odu/defconfig @@ -7,6 +7,7 @@ CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=16 CONFIG_BLK_DEV_INITRD=y +CONFIG_CGROUPS=y # CONFIG_PERF_EVENTS is not set CONFIG_SLAB=y CONFIG_PROFILING=y From 475b32b3fecb7ebf821593f5baef19a05ce1189e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 29 Mar 2014 13:20:00 +0100 Subject: [PATCH 265/908] u-boot: Fix the deployment of symlinks and install SPL/MLO --- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index f228105bf0..fa8e2f93e0 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -7,6 +7,7 @@ S = "${WORKDIR}/git" SRCREV_sysmocom-odu = "f2dcae2f9e9434392673fea7584641afa98f4232" UBOOT_MACHINE_sysmocom-odu = "am335x_evm_config" SPL_BINARY_sysmocom-odu = "MLO" +SPL_UART_IMAGE_sysmocom-odu = "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}" SPL_UART_BINARY_sysmocom-odu = "u-boot-spl.bin" SPL_UART_SYMLINK_sysmocom-odu = "${SPL_UART_BINARY}-${MACHINE}" @@ -25,6 +26,7 @@ UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}" UBOOT_SYMLINK = "u-boot-${MACHINE}" do_deploy_prepend () { + install -d ${DEPLOYDIR} install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE}.bin install ${S}/u-boot ${DEPLOYDIR}/${UBOOT_IMAGE}.elf @@ -42,6 +44,14 @@ do_deploy_prepend () { ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_SYMLINK} fi + if [ "x${SPL_BINARY}" != "x" ] + then + install ${S}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_IMAGE} + rm -f ${DEPLOYDIR}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_SYMLINK} + ln -sf ${SPL_IMAGE} ${DEPLOYDIR}/${SPL_BINARY} + ln -sf ${SPL_IMAGE} ${DEPLOYDIR}/${SPL_SYMLINK} + fi + # Stop the processing now return } From e06fa2ac4d441481ede63b58c3a15358dcd5eda9 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 1 Apr 2014 16:22:33 +0200 Subject: [PATCH 266/908] linux-sysmocom/sysmocom-bsc: enable EHCI_HCD to get USB 2.0 support --- recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig index d52b15fb4e..6673c87ba7 100644 --- a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig @@ -2093,7 +2093,7 @@ CONFIG_USB_DEVICE_CLASS=y # # CONFIG_USB_C67X00_HCD is not set # CONFIG_USB_XHCI_HCD is not set -# CONFIG_USB_EHCI_HCD is not set +CONFIG_USB_EHCI_HCD=y # CONFIG_USB_OXU210HP_HCD is not set # CONFIG_USB_ISP116X_HCD is not set # CONFIG_USB_ISP1760_HCD is not set From 8f46ba70452ea0c604f4b0d8024696a27a74603c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 4 Apr 2014 13:09:05 +0200 Subject: [PATCH 267/908] busybox: Enable dnsd on all the builds Specially for the sysmobsc it can come in handy to have a DNS server that will return some static addresses. --- recipes-core/busybox/busybox-1.21.1/defconfig | 2 +- recipes-core/busybox/busybox_sysmocom.inc | 2 +- recipes-core/busybox/files/defconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-core/busybox/busybox-1.21.1/defconfig b/recipes-core/busybox/busybox-1.21.1/defconfig index abf67d69d8..ea4226e0f2 100644 --- a/recipes-core/busybox/busybox-1.21.1/defconfig +++ b/recipes-core/busybox/busybox-1.21.1/defconfig @@ -742,7 +742,7 @@ CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y # CONFIG_BRCTL is not set # CONFIG_FEATURE_BRCTL_FANCY is not set # CONFIG_FEATURE_BRCTL_SHOW is not set -# CONFIG_DNSD is not set +CONFIG_DNSD=y # CONFIG_ETHER_WAKE is not set # CONFIG_FAKEIDENTD is not set # CONFIG_FTPD is not set diff --git a/recipes-core/busybox/busybox_sysmocom.inc b/recipes-core/busybox/busybox_sysmocom.inc index b846a2de4b..270a788b63 100644 --- a/recipes-core/busybox/busybox_sysmocom.inc +++ b/recipes-core/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/busybox-${SYSMOCOM_ORIG_PV}:${SYSMOCOM}/files:" -PRINC = "20" +PRINC = "21" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/recipes-core/busybox/files/defconfig b/recipes-core/busybox/files/defconfig index 361e51d93f..7669558cc1 100644 --- a/recipes-core/busybox/files/defconfig +++ b/recipes-core/busybox/files/defconfig @@ -667,7 +667,7 @@ CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y # CONFIG_BRCTL is not set # CONFIG_FEATURE_BRCTL_FANCY is not set # CONFIG_FEATURE_BRCTL_SHOW is not set -# CONFIG_DNSD is not set +CONFIG_DNSD=y # CONFIG_ETHER_WAKE is not set # CONFIG_FAKEIDENTD is not set # CONFIG_FTPD is not set From 4433c53b7603c019600d8d5af1f000f87c3deadd Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 21 Mar 2014 21:04:03 +0100 Subject: [PATCH 268/908] initramfs: modify init-install to install our bsc image Fixes: partly SYS#75 --- .../initrdscripts/files/init-install.sh | 180 ++++++++++++++++++ .../initramfs-live-install_sysmocom.inc | 2 + .../initramfs-live-install_1.0.bbappend | 1 + 3 files changed, 183 insertions(+) create mode 100644 recipes-core/initrdscripts/files/init-install.sh create mode 100644 recipes-core/initrdscripts/initramfs-live-install_sysmocom.inc create mode 100644 yocto-dora/initramfs-live-install_1.0.bbappend diff --git a/recipes-core/initrdscripts/files/init-install.sh b/recipes-core/initrdscripts/files/init-install.sh new file mode 100644 index 0000000000..250b13f5fe --- /dev/null +++ b/recipes-core/initrdscripts/files/init-install.sh @@ -0,0 +1,180 @@ +#!/bin/sh -e +# +# Copyright (C) 2008-2011 Intel, 2014 sysmocom +# install.sh [device_name] [rootfs_name] [video_mode] [vga_mode] +# + +PATH=/sbin:/bin:/usr/sbin:/usr/bin + +# We want a 1 Gig partition on the cf +partition_size=1000 + +# Get a list of hard drives +hdnamelist="" +live_dev_name=${1%%/*} + +echo "Searching for hard drives ..." + +for device in `ls /sys/block/`; do + case $device in + loop*) + # skip loop device + ;; + ram*) + # skip ram device + ;; + *) + # skip the device LiveOS is on + # Add valid hard drive name to the list + if [ $device != $live_dev_name -a -e /dev/$device ]; then + hdnamelist="$hdnamelist $device" + fi + ;; + esac +done + +TARGET_DEVICE_NAME="" +for hdname in $hdnamelist; do + # Display found hard drives and their basic info + echo "-------------------------------" + echo /dev/$hdname + if [ -r /sys/block/$hdname/device/vendor ]; then + echo -n "VENDOR=" + cat /sys/block/$hdname/device/vendor + fi + echo -n "MODEL=" + cat /sys/block/$hdname/device/model + cat /sys/block/$hdname/device/uevent + echo + # Get user choice + while true; do + echo -n "Do you want to install this image there? [y/n] " + read answer + if [ "$answer" = "y" -o "$answer" = "n" ]; then + break + fi + echo "Please answer y or n" + done + if [ "$answer" = "y" ]; then + TARGET_DEVICE_NAME=$hdname + break + fi +done + +if [ -n "$TARGET_DEVICE_NAME" ]; then + echo "Installing image on /dev/$TARGET_DEVICE_NAME ..." +else + echo "No hard drive selected. Installation aborted." + exit 1 +fi + +device=$TARGET_DEVICE_NAME + +# +# The udev automounter can cause pain here, kill it +# +rm -f /etc/udev/rules.d/automount.rules +rm -f /etc/udev/scripts/mount* + +# +# Unmount anything the automounter had mounted +# +umount /dev/${device}* 2> /dev/null || /bin/true + +if [ ! -b /dev/loop0 ] ; then + mknod /dev/loop0 b 7 0 +fi + +mkdir -p /tmp +cat /proc/mounts > /etc/mtab + +# MMC devices are special in a couple of ways +# 1) they use a partition prefix character 'p' +# 2) they are detected asynchronously (need rootwait) +rootwait="" +part_prefix="" +if [ ! "${device#mmcblk}" = "${device}" ]; then + part_prefix="p" + rootwait="rootwait" +fi +rootfs=/dev/${device}${part_prefix}1 + +echo "*****************" +echo "Rootfs partition size: $rootfs_size MB ($rootfs)" +echo "*****************" +echo "Deleting partition table on /dev/${device} ..." +dd if=/dev/zero of=/dev/${device} bs=512 count=2 + +echo "Creating new partition table on /dev/${device} ..." +parted /dev/${device} mklabel msdos + +echo "Creating rootfs partition on $rootfs" +parted /dev/${device} mkpart primary 0% $partition_size + +parted /dev/${device} print + +echo "Formatting $rootfs to ext4..." +mkfs.ext4 $rootfs + +mkdir /tgt_root +mkdir -p /boot + +echo "Copying rootfs files..." +dd if=/media/$1/$2 of=$rootfs bs=1024 + +# Handling of the target root partition +mount $rootfs /tgt_root + +if [ -d /tgt_root/etc/ ] ; then + # We dont want udev to mount our root device while we're booting... + if [ -d /tgt_root/etc/udev/ ] ; then + echo "/dev/${device}" >> /tgt_root/etc/udev/mount.blacklist + fi +fi + +# Handling of the target boot partition +mount --bind /tgt_root/boot /boot +echo "Preparing boot partition..." + +GRUBCFG="/boot/grub/grub.cfg" +mkdir -p $(dirname $GRUBCFG) + +cat > $GRUBCFG << EOF +default=0 +timeout=1 + +serial --unit=0 --speed=38400 +terminal --timeout=2 serial + +terminal_input --append serial +terminal_output --append serial +EOF + +if [ -f /etc/grub.d/40_custom ] ; then + echo "Preparing custom grub2 menu..." + + cat /etc/grub.d/40_custom >> $GRUBCFG + sed -i "s@__ROOTFS__@$rootfs $rootwait@g" $GRUBCFG + sed -i "s/__VIDEO_MODE__/$3/g" $GRUBCFG + sed -i "s/__VGA_MODE__/$4/g" $GRUBCFG + sed -i "s/__CONSOLE__/$5/g" $GRUBCFG + sed -i "/#/d" $GRUBCFG + sed -i "/exec tail/d" $GRUBCFG + chmod 0444 $GRUBCFG +fi + +ln -fs /boot/bzImage /tgt_root/vmlinuz +grub-install /dev/${device} +echo "(hd0) /dev/${device}" > /boot/grub/device.map + +umount /boot +umount /tgt_root + +sync + +echo "Remove your installation media, and press ENTER" + +read enter + +echo "Rebooting..." +reboot -f diff --git a/recipes-core/initrdscripts/initramfs-live-install_sysmocom.inc b/recipes-core/initrdscripts/initramfs-live-install_sysmocom.inc new file mode 100644 index 0000000000..0fca764c27 --- /dev/null +++ b/recipes-core/initrdscripts/initramfs-live-install_sysmocom.inc @@ -0,0 +1,2 @@ +SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" diff --git a/yocto-dora/initramfs-live-install_1.0.bbappend b/yocto-dora/initramfs-live-install_1.0.bbappend new file mode 100644 index 0000000000..69d3d84219 --- /dev/null +++ b/yocto-dora/initramfs-live-install_1.0.bbappend @@ -0,0 +1 @@ +require recipes-core/initrdscripts/${PN}_sysmocom.inc From 45929766a93a46ce6f89b66c222d2d30070cf308 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 1 Apr 2014 19:01:04 +0200 Subject: [PATCH 269/908] core-image-minimal-initramfs: append the image to install charset deps for the vfat kernel modul --- yocto-dora/core-image-minimal-initramfs.bbappend | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 yocto-dora/core-image-minimal-initramfs.bbappend diff --git a/yocto-dora/core-image-minimal-initramfs.bbappend b/yocto-dora/core-image-minimal-initramfs.bbappend new file mode 100644 index 0000000000..380663a41d --- /dev/null +++ b/yocto-dora/core-image-minimal-initramfs.bbappend @@ -0,0 +1,2 @@ +# add needed modules for vfat +IMAGE_INSTALL_append = " kernel-module-nls-iso8859-1 kernel-module-nls-cp437 " From 076f6e1bb0b1d7b79ac71eb9cfbb41eb86b1102e Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 1 Apr 2014 20:19:37 +0200 Subject: [PATCH 270/908] init-install.sh: resize the install partition --- recipes-core/initrdscripts/files/init-install.sh | 4 ++++ yocto-dora/core-image-minimal-initramfs.bbappend | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes-core/initrdscripts/files/init-install.sh b/recipes-core/initrdscripts/files/init-install.sh index 250b13f5fe..e51dc04742 100644 --- a/recipes-core/initrdscripts/files/init-install.sh +++ b/recipes-core/initrdscripts/files/init-install.sh @@ -170,8 +170,12 @@ echo "(hd0) /dev/${device}" > /boot/grub/device.map umount /boot umount /tgt_root +echo "Resizing partition" +resize2fs $rootfs + sync + echo "Remove your installation media, and press ENTER" read enter diff --git a/yocto-dora/core-image-minimal-initramfs.bbappend b/yocto-dora/core-image-minimal-initramfs.bbappend index 380663a41d..6d8febeb06 100644 --- a/yocto-dora/core-image-minimal-initramfs.bbappend +++ b/yocto-dora/core-image-minimal-initramfs.bbappend @@ -1,2 +1,2 @@ -# add needed modules for vfat -IMAGE_INSTALL_append = " kernel-module-nls-iso8859-1 kernel-module-nls-cp437 " +# add needed modules for vfat and e2fsprogs for resize2fs +IMAGE_INSTALL_append = " kernel-module-nls-iso8859-1 kernel-module-nls-cp437 e2fsprogs " From 8ac540640d04a42f60e1bd52ecb69995dad20fc8 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 19 Apr 2014 19:38:35 +0200 Subject: [PATCH 271/908] osmo-bts: Upgrade osmo-bts to fix a stupid handover issue --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 4223e21cf4..a81ce2e7c4 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,8 +4,8 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "14ff9255553f42bada7b042945e86d6b575b28b2" -SRCREV_openbsc = "a27303094ab8bedb0a3b3bfe771daeed10a2e0a9" +SRCREV_osmobts = "3e5b6db2d26f279f9238089f8c79de1d71a997aa" +SRCREV_openbsc = "5dd295ff445334fef92f04434b59ab899a87bd81" PV = "0.4.1+git${SRCPV}" PR = "r4.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 1638def65ea3aa3b07c49a3a917130d4fc30d99c Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 25 Apr 2014 18:41:35 +0200 Subject: [PATCH 272/908] sysmocom-bsc-image: add kernel-module-nls-iso8859-1 and kernel-module-nls-cp437 and disable LINGUAS Fixes: SYS#75 --- recipes-apps/images/sysmocom-bsc-image.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-apps/images/sysmocom-bsc-image.bb b/recipes-apps/images/sysmocom-bsc-image.bb index 0d3df23778..cad29c0528 100644 --- a/recipes-apps/images/sysmocom-bsc-image.bb +++ b/recipes-apps/images/sysmocom-bsc-image.bb @@ -1,5 +1,8 @@ require sysmocom-image.inc +IMAGE_INSTALL += "kernel-module-nls-iso8859-1 kernel-module-nls-cp437" +IMAGE_LINGUAS = " " + # This variant of the image will run osmo-bts and osmo-bsc activate_bsc() { echo "NO_START=0" > ${IMAGE_ROOTFS}/etc/default/osmo-bsc From 22cb9fef1df140063250a46dd3e1d48af0b0b58f Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 25 Apr 2014 19:32:40 +0200 Subject: [PATCH 273/908] init-install.sh: do not rename the network devices after the new kernel/udev scheme Fixes: SYS#75 --- recipes-core/initrdscripts/files/init-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/initrdscripts/files/init-install.sh b/recipes-core/initrdscripts/files/init-install.sh index e51dc04742..18275486dc 100644 --- a/recipes-core/initrdscripts/files/init-install.sh +++ b/recipes-core/initrdscripts/files/init-install.sh @@ -158,6 +158,7 @@ if [ -f /etc/grub.d/40_custom ] ; then sed -i "s/__VIDEO_MODE__/$3/g" $GRUBCFG sed -i "s/__VGA_MODE__/$4/g" $GRUBCFG sed -i "s/__CONSOLE__/$5/g" $GRUBCFG + sed -i "s/quiet/net.ifnames=0 quiet/g" $GRUBCFG sed -i "/#/d" $GRUBCFG sed -i "/exec tail/d" $GRUBCFG chmod 0444 $GRUBCFG From d88a758c4e6585a37b7d637ba0659ef4db97bcdf Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 29 Apr 2014 17:57:52 +0200 Subject: [PATCH 274/908] sysmocom-backup: add the systemd-files for bsc, nitb and sgsn to backup when enabled Fixes: SYS#261 --- recipes-apps/sysmocom-backup/files/sysmocom-backup | 3 +++ recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes-apps/sysmocom-backup/files/sysmocom-backup b/recipes-apps/sysmocom-backup/files/sysmocom-backup index 481f07bf39..4f4b1f8cf7 100755 --- a/recipes-apps/sysmocom-backup/files/sysmocom-backup +++ b/recipes-apps/sysmocom-backup/files/sysmocom-backup @@ -14,6 +14,9 @@ FILES="\ etc/osmocom/osmo-nitb.cfg \ etc/osmocom/osmo-pcu.cfg \ etc/osmocom/osmo-sgsn.cfg \ + etc/systemd/system/multi-user.target.wants/osmo-nitb.service \ + etc/systemd/system/multi-user.target.wants/osmo-bsc.service \ + etc/systemd/system/multi-user.target.wants/osmo-sgsn.service \ etc/ggsn.conf \ etc/default \ var/lib/osmocom/hlr.sqlite3 \ diff --git a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb index 6b0ce5bb59..283abe408e 100644 --- a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb +++ b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb @@ -1,7 +1,7 @@ DESCRIPTION = "sysmocom config backup and restore scripts" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r7" +PR = "r8" SRC_URI = "file://sysmocom-backup file://sysmocom-restore" RDEPENDS_${PN} = "tar" From 7aeb916ea1a15fc8b288ea42326efc3967b6e974 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 16 May 2014 10:36:59 +0200 Subject: [PATCH 275/908] sysmocom-backup: Backup a new opkg config file for starterkits We make the configuration packages for starterkit customers available in a feed. Backup this feed configuration. Fixes: SYS#365 --- recipes-apps/sysmocom-backup/files/sysmocom-backup | 3 ++- recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-apps/sysmocom-backup/files/sysmocom-backup b/recipes-apps/sysmocom-backup/files/sysmocom-backup index 4f4b1f8cf7..1bd6735b9a 100755 --- a/recipes-apps/sysmocom-backup/files/sysmocom-backup +++ b/recipes-apps/sysmocom-backup/files/sysmocom-backup @@ -7,7 +7,8 @@ FILES="\ etc/hostname \ etc/ifplugd.sh \ etc/network/interfaces \ - etc/openvpn + etc/openvpn \ + etc/opkg/sysmocom-config.conf \ etc/osmocom/osmo-bsc-mgcp.cfg \ etc/osmocom/osmo-bsc.cfg \ etc/osmocom/osmo-bts.cfg \ diff --git a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb index 283abe408e..48f4d5cacd 100644 --- a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb +++ b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb @@ -1,7 +1,7 @@ DESCRIPTION = "sysmocom config backup and restore scripts" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r8" +PR = "r9" SRC_URI = "file://sysmocom-backup file://sysmocom-restore" RDEPENDS_${PN} = "tar" From 6f02ca55759c4ecdc3adf164e43893acee74aeb7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 16 May 2014 14:16:22 +0200 Subject: [PATCH 276/908] sysmocom-bsc: Run olddefconfig on a 3.10.40 kernel --- .../linux-sysmocom/sysmocom-bsc/defconfig | 1233 +++++++++++------ 1 file changed, 836 insertions(+), 397 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig index 6673c87ba7..ee9c06627c 100644 --- a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig @@ -1,62 +1,46 @@ # -# Automatically generated make config: don't edit -# Linux/x86 2.6.39.4 Kernel Configuration -# Mon Jun 4 09:28:14 2012 +# Automatically generated file; DO NOT EDIT. +# Linux/x86 3.10.40 Kernel Configuration # # CONFIG_64BIT is not set CONFIG_X86_32=y -# CONFIG_X86_64 is not set CONFIG_X86=y CONFIG_INSTRUCTION_DECODER=y CONFIG_OUTPUT_FORMAT="elf32-i386" CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig" -CONFIG_GENERIC_CMOS_UPDATE=y -CONFIG_CLOCKSOURCE_WATCHDOG=y -CONFIG_GENERIC_CLOCKEVENTS=y -CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_MMU=y -CONFIG_ZONE_DMA=y -# CONFIG_NEED_DMA_MAP_STATE is not set CONFIG_NEED_SG_DMA_LENGTH=y CONFIG_GENERIC_ISA_DMA=y -CONFIG_GENERIC_IOMAP=y CONFIG_GENERIC_BUG=y CONFIG_GENERIC_HWEIGHT=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y -# CONFIG_RWSEM_GENERIC_SPINLOCK is not set CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y CONFIG_GENERIC_CALIBRATE_DELAY=y -# CONFIG_GENERIC_TIME_VSYSCALL is not set CONFIG_ARCH_HAS_CPU_RELAX=y -CONFIG_ARCH_HAS_DEFAULT_IDLE=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y +CONFIG_ARCH_HAS_CPU_AUTOPROBE=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y -# CONFIG_HAVE_CPUMASK_OF_CPU_MAP is not set CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_ZONE_DMA32 is not set -CONFIG_ARCH_POPULATES_NODE_MAP=y # CONFIG_AUDIT_ARCH is not set CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_X86_32_LAZY_GS=y CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-ecx -fcall-saved-edx" -CONFIG_KTIME_SCALAR=y +CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" -CONFIG_CONSTRUCTORS=y -CONFIG_HAVE_IRQ_WORK=y CONFIG_IRQ_WORK=y +CONFIG_BUILDTIME_EXTABLE_SORT=y # # General setup # -CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_CROSS_COMPILE="" @@ -72,15 +56,13 @@ CONFIG_KERNEL_GZIP=y # CONFIG_KERNEL_LZMA is not set # CONFIG_KERNEL_XZ is not set # CONFIG_KERNEL_LZO is not set +CONFIG_DEFAULT_HOSTNAME="(none)" CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y -CONFIG_BSD_PROCESS_ACCT=y -CONFIG_BSD_PROCESS_ACCT_V3=y # CONFIG_FHANDLE is not set -# CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set CONFIG_HAVE_GENERIC_HARDIRQS=y @@ -88,27 +70,55 @@ CONFIG_HAVE_GENERIC_HARDIRQS=y # IRQ subsystem # CONFIG_GENERIC_HARDIRQS=y -CONFIG_HAVE_SPARSE_IRQ=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_IRQ_SHOW=y CONFIG_IRQ_FORCED_THREADING=y -# CONFIG_SPARSE_IRQ is not set +CONFIG_SPARSE_IRQ=y +CONFIG_CLOCKSOURCE_WATCHDOG=y +CONFIG_KTIME_SCALAR=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y +CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y +CONFIG_GENERIC_CMOS_UPDATE=y + +# +# Timers subsystem +# +CONFIG_TICK_ONESHOT=y +CONFIG_HZ_PERIODIC=y +# CONFIG_NO_HZ_IDLE is not set +# CONFIG_NO_HZ is not set +CONFIG_HIGH_RES_TIMERS=y + +# +# CPU/Task time and stats accounting +# +CONFIG_TICK_CPU_ACCOUNTING=y +# CONFIG_IRQ_TIME_ACCOUNTING is not set +CONFIG_BSD_PROCESS_ACCT=y +CONFIG_BSD_PROCESS_ACCT_V3=y +# CONFIG_TASKSTATS is not set # # RCU Subsystem # CONFIG_TREE_PREEMPT_RCU=y -# CONFIG_TINY_RCU is not set # CONFIG_TINY_PREEMPT_RCU is not set CONFIG_PREEMPT_RCU=y -# CONFIG_RCU_TRACE is not set +CONFIG_RCU_STALL_COMMON=y CONFIG_RCU_FANOUT=32 +CONFIG_RCU_FANOUT_LEAF=16 # CONFIG_RCU_FANOUT_EXACT is not set # CONFIG_TREE_RCU_TRACE is not set +# CONFIG_RCU_BOOST is not set +# CONFIG_RCU_NOCB_CPU is not set CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=14 CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y +CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y +CONFIG_ARCH_WANTS_PROT_NUMA_PROT_NONE=y CONFIG_CGROUPS=y # CONFIG_CGROUP_DEBUG is not set # CONFIG_CGROUP_FREEZER is not set @@ -119,7 +129,10 @@ CONFIG_CGROUPS=y # CONFIG_CGROUP_PERF is not set # CONFIG_CGROUP_SCHED is not set # CONFIG_BLK_CGROUP is not set +# CONFIG_CHECKPOINT_RESTORE is not set # CONFIG_NAMESPACES is not set +CONFIG_UIDGID_CONVERTED=y +# CONFIG_UIDGID_STRICT_TYPE_CHECKS is not set # CONFIG_SCHED_AUTOGROUP is not set # CONFIG_SYSFS_DEPRECATED is not set CONFIG_RELAY=y @@ -133,13 +146,15 @@ CONFIG_RD_GZIP=y # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y CONFIG_ANON_INODES=y +CONFIG_HAVE_UID16=y +CONFIG_SYSCTL_EXCEPTION_TRACE=y +CONFIG_HOTPLUG=y +CONFIG_HAVE_PCSPKR_PLATFORM=y CONFIG_EXPERT=y CONFIG_UID16=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y -# CONFIG_KALLSYMS_EXTRA_PASS is not set -CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y @@ -152,6 +167,7 @@ CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y +CONFIG_PCI_QUIRKS=y CONFIG_EMBEDDED=y CONFIG_HAVE_PERF_EVENTS=y @@ -159,10 +175,8 @@ CONFIG_HAVE_PERF_EVENTS=y # Kernel Performance Events And Counters # CONFIG_PERF_EVENTS=y -# CONFIG_PERF_COUNTERS is not set # CONFIG_DEBUG_PERF_USE_VMALLOC is not set CONFIG_VM_EVENT_COUNTERS=y -CONFIG_PCI_QUIRKS=y CONFIG_SLUB_DEBUG=y CONFIG_COMPAT_BRK=y # CONFIG_SLAB is not set @@ -173,23 +187,45 @@ CONFIG_TRACEPOINTS=y CONFIG_OPROFILE=y # CONFIG_OPROFILE_EVENT_MULTIPLEX is not set CONFIG_HAVE_OPROFILE=y +CONFIG_OPROFILE_NMI_TIMER=y CONFIG_KPROBES=y # CONFIG_JUMP_LABEL is not set +CONFIG_KPROBES_ON_FTRACE=y +# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y +CONFIG_ARCH_USE_BUILTIN_BSWAP=y CONFIG_KRETPROBES=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_OPTPROBES=y +CONFIG_HAVE_KPROBES_ON_FTRACE=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y +CONFIG_HAVE_DMA_CONTIGUOUS=y +CONFIG_GENERIC_SMP_IDLE_THREAD=y CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y CONFIG_HAVE_DMA_API_DEBUG=y CONFIG_HAVE_HW_BREAKPOINT=y CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y CONFIG_HAVE_USER_RETURN_NOTIFIER=y CONFIG_HAVE_PERF_EVENTS_NMI=y +CONFIG_HAVE_PERF_REGS=y +CONFIG_HAVE_PERF_USER_STACK_DUMP=y CONFIG_HAVE_ARCH_JUMP_LABEL=y +CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y +CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y +CONFIG_HAVE_CMPXCHG_LOCAL=y +CONFIG_HAVE_CMPXCHG_DOUBLE=y +CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y +CONFIG_HAVE_ARCH_SECCOMP_FILTER=y +CONFIG_SECCOMP_FILTER=y +CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y +CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y +CONFIG_MODULES_USE_ELF_REL=y +CONFIG_CLONE_BACKWARDS=y +CONFIG_OLD_SIGSUSPEND3=y +CONFIG_OLD_SIGACTION=y # # GCOV-based kernel profiling @@ -205,11 +241,20 @@ CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set +# CONFIG_MODULE_SIG is not set CONFIG_BLOCK=y CONFIG_LBDAF=y CONFIG_BLK_DEV_BSG=y +# CONFIG_BLK_DEV_BSGLIB is not set # CONFIG_BLK_DEV_INTEGRITY is not set +# +# Partition Types +# +# CONFIG_PARTITION_ADVANCED is not set +CONFIG_MSDOS_PARTITION=y +CONFIG_EFI_PARTITION=y + # # IO Schedulers # @@ -220,56 +265,26 @@ CONFIG_IOSCHED_CFQ=y CONFIG_DEFAULT_CFQ=y # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="cfq" -# CONFIG_INLINE_SPIN_TRYLOCK is not set -# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set -# CONFIG_INLINE_SPIN_LOCK is not set -# CONFIG_INLINE_SPIN_LOCK_BH is not set -# CONFIG_INLINE_SPIN_LOCK_IRQ is not set -# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set -# CONFIG_INLINE_SPIN_UNLOCK is not set -# CONFIG_INLINE_SPIN_UNLOCK_BH is not set -# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set -# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set -# CONFIG_INLINE_READ_TRYLOCK is not set -# CONFIG_INLINE_READ_LOCK is not set -# CONFIG_INLINE_READ_LOCK_BH is not set -# CONFIG_INLINE_READ_LOCK_IRQ is not set -# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set -# CONFIG_INLINE_READ_UNLOCK is not set -# CONFIG_INLINE_READ_UNLOCK_BH is not set -# CONFIG_INLINE_READ_UNLOCK_IRQ is not set -# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set -# CONFIG_INLINE_WRITE_TRYLOCK is not set -# CONFIG_INLINE_WRITE_LOCK is not set -# CONFIG_INLINE_WRITE_LOCK_BH is not set -# CONFIG_INLINE_WRITE_LOCK_IRQ is not set -# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set -# CONFIG_INLINE_WRITE_UNLOCK is not set -# CONFIG_INLINE_WRITE_UNLOCK_BH is not set -# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set -# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set -# CONFIG_MUTEX_SPIN_ON_OWNER is not set +CONFIG_UNINLINE_SPIN_UNLOCK=y CONFIG_FREEZER=y # # Processor type and features # -CONFIG_TICK_ONESHOT=y -# CONFIG_NO_HZ is not set -CONFIG_HIGH_RES_TIMERS=y -CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +CONFIG_ZONE_DMA=y # CONFIG_SMP is not set CONFIG_X86_MPPARSE=y CONFIG_X86_EXTENDED_PLATFORM=y -# CONFIG_X86_ELAN is not set +# CONFIG_X86_GOLDFISH is not set +# CONFIG_X86_WANT_INTEL_MID is not set +# CONFIG_X86_INTEL_LPSS is not set # CONFIG_X86_RDC321X is not set CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y # CONFIG_X86_32_IRIS is not set CONFIG_SCHED_OMIT_FRAME_POINTER=y -# CONFIG_PARAVIRT_GUEST is not set +# CONFIG_HYPERVISOR_GUEST is not set CONFIG_NO_BOOTMEM=y # CONFIG_MEMTEST is not set -# CONFIG_M386 is not set # CONFIG_M486 is not set # CONFIG_M586 is not set # CONFIG_M586TSC is not set @@ -286,6 +301,7 @@ CONFIG_MPENTIUMM=y # CONFIG_MEFFICEON is not set # CONFIG_MWINCHIPC6 is not set # CONFIG_MWINCHIP3D is not set +# CONFIG_MELAN is not set # CONFIG_MGEODEGX1 is not set # CONFIG_MGEODE_LX is not set # CONFIG_MCYRIXIII is not set @@ -295,14 +311,7 @@ CONFIG_MPENTIUMM=y # CONFIG_MATOM is not set CONFIG_X86_GENERIC=y CONFIG_X86_INTERNODE_CACHE_SHIFT=6 -CONFIG_X86_CMPXCHG=y -CONFIG_CMPXCHG_LOCAL=y CONFIG_X86_L1_CACHE_SHIFT=6 -CONFIG_X86_XADD=y -CONFIG_X86_WP_WORKS_OK=y -CONFIG_X86_INVLPG=y -CONFIG_X86_BSWAP=y -CONFIG_X86_POPAD_OK=y CONFIG_X86_INTEL_USERCOPY=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_TSC=y @@ -319,13 +328,11 @@ CONFIG_CPU_SUP_TRANSMETA_32=y CONFIG_CPU_SUP_UMC_32=y # CONFIG_HPET_TIMER is not set CONFIG_DMI=y -# CONFIG_IOMMU_HELPER is not set -# CONFIG_IOMMU_API is not set CONFIG_NR_CPUS=1 -# CONFIG_IRQ_TIME_ACCOUNTING is not set # CONFIG_PREEMPT_NONE is not set # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y +CONFIG_PREEMPT_COUNT=y CONFIG_X86_UP_APIC=y # CONFIG_X86_UP_IOAPIC is not set CONFIG_X86_LOCAL_APIC=y @@ -344,6 +351,9 @@ CONFIG_MICROCODE=y CONFIG_MICROCODE_INTEL=y # CONFIG_MICROCODE_AMD is not set CONFIG_MICROCODE_OLD_INTERFACE=y +CONFIG_MICROCODE_INTEL_LIB=y +CONFIG_MICROCODE_INTEL_EARLY=y +CONFIG_MICROCODE_EARLY=y CONFIG_X86_MSR=y CONFIG_X86_CPUID=y # CONFIG_NOHIGHMEM is not set @@ -356,8 +366,6 @@ CONFIG_VMSPLIT_3G=y # CONFIG_VMSPLIT_1G is not set CONFIG_PAGE_OFFSET=0xC0000000 CONFIG_HIGHMEM=y -# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set -# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y @@ -369,6 +377,9 @@ CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y CONFIG_SPARSEMEM_STATIC=y CONFIG_HAVE_MEMBLOCK=y +CONFIG_HAVE_MEMBLOCK_NODE_MAP=y +CONFIG_ARCH_DISCARD_MEMBLOCK=y +# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=4 # CONFIG_COMPACTION is not set @@ -381,7 +392,10 @@ CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y # CONFIG_MEMORY_FAILURE is not set # CONFIG_TRANSPARENT_HUGEPAGE is not set +CONFIG_CROSS_MEMORY_ATTACH=y CONFIG_NEED_PER_CPU_KM=y +# CONFIG_CLEANCACHE is not set +# CONFIG_FRONTSWAP is not set # CONFIG_HIGHPTE is not set # CONFIG_X86_CHECK_BIOS_CORRUPTION is not set CONFIG_X86_RESERVE_LOW=64 @@ -392,6 +406,8 @@ CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0 CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 CONFIG_X86_PAT=y CONFIG_ARCH_USES_PG_UNCACHED=y +CONFIG_ARCH_RANDOM=y +CONFIG_X86_SMAP=y # CONFIG_EFI is not set CONFIG_SECCOMP=y # CONFIG_CC_STACKPROTECTOR is not set @@ -418,6 +434,8 @@ CONFIG_SUSPEND=y CONFIG_SUSPEND_FREEZER=y # CONFIG_HIBERNATION is not set CONFIG_PM_SLEEP=y +# CONFIG_PM_AUTOSLEEP is not set +# CONFIG_PM_WAKELOCKS is not set # CONFIG_PM_RUNTIME is not set CONFIG_PM=y # CONFIG_PM_DEBUG is not set @@ -425,7 +443,6 @@ CONFIG_ACPI=y CONFIG_ACPI_SLEEP=y # CONFIG_ACPI_PROCFS is not set # CONFIG_ACPI_PROCFS_POWER is not set -# CONFIG_ACPI_POWER_METER is not set # CONFIG_ACPI_EC_DEBUGFS is not set CONFIG_ACPI_PROC_EVENT=y CONFIG_ACPI_AC=y @@ -433,10 +450,12 @@ CONFIG_ACPI_BATTERY=y CONFIG_ACPI_BUTTON=y CONFIG_ACPI_FAN=y # CONFIG_ACPI_DOCK is not set +CONFIG_ACPI_I2C=y CONFIG_ACPI_PROCESSOR=y # CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set CONFIG_ACPI_THERMAL=y # CONFIG_ACPI_CUSTOM_DSDT is not set +# CONFIG_ACPI_INITRD_TABLE_OVERRIDE is not set CONFIG_ACPI_BLACKLIST_YEAR=0 # CONFIG_ACPI_DEBUG is not set # CONFIG_ACPI_PCI_SLOT is not set @@ -444,6 +463,7 @@ CONFIG_X86_PM_TIMER=y # CONFIG_ACPI_CONTAINER is not set # CONFIG_ACPI_SBS is not set # CONFIG_ACPI_HED is not set +# CONFIG_ACPI_CUSTOM_METHOD is not set # CONFIG_ACPI_APEI is not set # CONFIG_SFI is not set # CONFIG_APM is not set @@ -453,7 +473,9 @@ CONFIG_X86_PM_TIMER=y # # CONFIG_CPU_FREQ is not set CONFIG_CPU_IDLE=y +# CONFIG_CPU_IDLE_MULTIPLE_DRIVERS is not set CONFIG_CPU_IDLE_GOV_LADDER=y +# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set # CONFIG_INTEL_IDLE is not set # @@ -475,17 +497,24 @@ CONFIG_PCIEAER=y # CONFIG_PCIEAER_INJECT is not set CONFIG_PCIEASPM=y # CONFIG_PCIEASPM_DEBUG is not set -# CONFIG_ARCH_SUPPORTS_MSI is not set +CONFIG_PCIEASPM_DEFAULT=y +# CONFIG_PCIEASPM_POWERSAVE is not set +# CONFIG_PCIEASPM_PERFORMANCE is not set # CONFIG_PCI_DEBUG is not set +# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set # CONFIG_PCI_STUB is not set # CONFIG_PCI_IOV is not set +# CONFIG_PCI_PRI is not set +# CONFIG_PCI_PASID is not set CONFIG_PCI_IOAPIC=y CONFIG_PCI_LABEL=y CONFIG_ISA_DMA_API=y # CONFIG_ISA is not set -# CONFIG_MCA is not set # CONFIG_SCx200 is not set # CONFIG_OLPC is not set +# CONFIG_ALIX is not set +# CONFIG_NET5501 is not set +# CONFIG_GEOS is not set CONFIG_AMD_NB=y # CONFIG_PCCARD is not set # CONFIG_HOTPLUG_PCI is not set @@ -495,10 +524,13 @@ CONFIG_AMD_NB=y # Executable file formats / Emulations # CONFIG_BINFMT_ELF=y +CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y +CONFIG_BINFMT_SCRIPT=y CONFIG_HAVE_AOUT=y # CONFIG_BINFMT_AOUT is not set CONFIG_BINFMT_MISC=m +CONFIG_COREDUMP=y CONFIG_HAVE_ATOMIC_IOMAP=y CONFIG_HAVE_TEXT_POKE_SMP=y CONFIG_NET=y @@ -507,8 +539,11 @@ CONFIG_NET=y # Networking options # CONFIG_PACKET=y +# CONFIG_PACKET_DIAG is not set CONFIG_UNIX=y +# CONFIG_UNIX_DIAG is not set CONFIG_XFRM=y +CONFIG_XFRM_ALGO=m CONFIG_XFRM_USER=m CONFIG_XFRM_SUB_POLICY=y CONFIG_XFRM_MIGRATE=y @@ -530,12 +565,14 @@ CONFIG_IP_PNP_BOOTP=y CONFIG_IP_PNP_RARP=y CONFIG_NET_IPIP=m # CONFIG_NET_IPGRE_DEMUX is not set +CONFIG_NET_IP_TUNNEL=m CONFIG_IP_MROUTE=y # CONFIG_IP_MROUTE_MULTIPLE_TABLES is not set CONFIG_IP_PIMSM_V1=y CONFIG_IP_PIMSM_V2=y # CONFIG_ARPD is not set CONFIG_SYN_COOKIES=y +# CONFIG_NET_IPVTI is not set CONFIG_INET_AH=m CONFIG_INET_ESP=m CONFIG_INET_IPCOMP=m @@ -547,6 +584,7 @@ CONFIG_INET_XFRM_MODE_BEET=y CONFIG_INET_LRO=y CONFIG_INET_DIAG=y CONFIG_INET_TCP_DIAG=y +# CONFIG_INET_UDP_DIAG is not set # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic" @@ -569,6 +607,7 @@ CONFIG_IPV6_SIT=m # CONFIG_IPV6_SIT_6RD is not set CONFIG_IPV6_NDISC_NODETYPE=y CONFIG_IPV6_TUNNEL=m +# CONFIG_IPV6_GRE is not set # CONFIG_IPV6_MULTIPLE_TABLES is not set # CONFIG_IPV6_MROUTE is not set # CONFIG_NETLABEL is not set @@ -583,11 +622,15 @@ CONFIG_BRIDGE_NETFILTER=y # Core Netfilter Configuration # CONFIG_NETFILTER_NETLINK=m +# CONFIG_NETFILTER_NETLINK_ACCT is not set CONFIG_NETFILTER_NETLINK_QUEUE=m CONFIG_NETFILTER_NETLINK_LOG=m CONFIG_NF_CONNTRACK=m CONFIG_NF_CONNTRACK_MARK=y +# CONFIG_NF_CONNTRACK_ZONES is not set +CONFIG_NF_CONNTRACK_PROCFS=y # CONFIG_NF_CONNTRACK_EVENTS is not set +# CONFIG_NF_CONNTRACK_TIMEOUT is not set # CONFIG_NF_CONNTRACK_TIMESTAMP is not set # CONFIG_NF_CT_PROTO_DCCP is not set CONFIG_NF_CT_PROTO_GRE=m @@ -605,6 +648,17 @@ CONFIG_NF_CONNTRACK_SANE=m CONFIG_NF_CONNTRACK_SIP=m CONFIG_NF_CONNTRACK_TFTP=m CONFIG_NF_CT_NETLINK=m +# CONFIG_NF_CT_NETLINK_TIMEOUT is not set +# CONFIG_NETFILTER_NETLINK_QUEUE_CT is not set +CONFIG_NF_NAT=m +CONFIG_NF_NAT_NEEDED=y +CONFIG_NF_NAT_PROTO_UDPLITE=m +CONFIG_NF_NAT_PROTO_SCTP=m +CONFIG_NF_NAT_AMANDA=m +CONFIG_NF_NAT_FTP=m +CONFIG_NF_NAT_IRC=m +CONFIG_NF_NAT_SIP=m +CONFIG_NF_NAT_TFTP=m # CONFIG_NETFILTER_TPROXY is not set CONFIG_NETFILTER_XTABLES=m @@ -620,16 +674,20 @@ CONFIG_NETFILTER_XT_CONNMARK=m # CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m CONFIG_NETFILTER_XT_TARGET_CONNMARK=m -# CONFIG_NETFILTER_XT_TARGET_CT is not set +CONFIG_NETFILTER_XT_TARGET_CT=m CONFIG_NETFILTER_XT_TARGET_DSCP=m CONFIG_NETFILTER_XT_TARGET_HL=m +# CONFIG_NETFILTER_XT_TARGET_HMARK is not set # CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set # CONFIG_NETFILTER_XT_TARGET_LED is not set +# CONFIG_NETFILTER_XT_TARGET_LOG is not set CONFIG_NETFILTER_XT_TARGET_MARK=m +CONFIG_NETFILTER_XT_TARGET_NETMAP=m CONFIG_NETFILTER_XT_TARGET_NFLOG=m CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m CONFIG_NETFILTER_XT_TARGET_NOTRACK=m # CONFIG_NETFILTER_XT_TARGET_RATEEST is not set +CONFIG_NETFILTER_XT_TARGET_REDIRECT=m # CONFIG_NETFILTER_XT_TARGET_TEE is not set CONFIG_NETFILTER_XT_TARGET_TRACE=m CONFIG_NETFILTER_XT_TARGET_TCPMSS=m @@ -639,9 +697,11 @@ CONFIG_NETFILTER_XT_TARGET_TCPMSS=m # Xtables matches # # CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set +# CONFIG_NETFILTER_XT_MATCH_BPF is not set # CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set CONFIG_NETFILTER_XT_MATCH_COMMENT=m CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m +# CONFIG_NETFILTER_XT_MATCH_CONNLABEL is not set CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m CONFIG_NETFILTER_XT_MATCH_CONNMARK=m CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m @@ -649,6 +709,7 @@ CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m CONFIG_NETFILTER_XT_MATCH_DCCP=m # CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set CONFIG_NETFILTER_XT_MATCH_DSCP=m +CONFIG_NETFILTER_XT_MATCH_ECN=m CONFIG_NETFILTER_XT_MATCH_ESP=m CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m CONFIG_NETFILTER_XT_MATCH_HELPER=m @@ -659,6 +720,7 @@ CONFIG_NETFILTER_XT_MATCH_LIMIT=m CONFIG_NETFILTER_XT_MATCH_MAC=m CONFIG_NETFILTER_XT_MATCH_MARK=m CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m +# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set # CONFIG_NETFILTER_XT_MATCH_OSF is not set # CONFIG_NETFILTER_XT_MATCH_OWNER is not set CONFIG_NETFILTER_XT_MATCH_POLICY=m @@ -684,30 +746,21 @@ CONFIG_NETFILTER_XT_MATCH_U32=m CONFIG_NF_DEFRAG_IPV4=m CONFIG_NF_CONNTRACK_IPV4=m CONFIG_NF_CONNTRACK_PROC_COMPAT=y -CONFIG_IP_NF_QUEUE=m CONFIG_IP_NF_IPTABLES=m CONFIG_IP_NF_MATCH_AH=m CONFIG_IP_NF_MATCH_ECN=m +# CONFIG_IP_NF_MATCH_RPFILTER is not set CONFIG_IP_NF_MATCH_TTL=m CONFIG_IP_NF_FILTER=m CONFIG_IP_NF_TARGET_REJECT=m -CONFIG_IP_NF_TARGET_LOG=m CONFIG_IP_NF_TARGET_ULOG=m -CONFIG_NF_NAT=m CONFIG_NF_NAT_IPV4=m CONFIG_IP_NF_TARGET_MASQUERADE=m CONFIG_IP_NF_TARGET_NETMAP=m CONFIG_IP_NF_TARGET_REDIRECT=m CONFIG_NF_NAT_PROTO_GRE=m -CONFIG_NF_NAT_PROTO_UDPLITE=m -CONFIG_NF_NAT_PROTO_SCTP=m -CONFIG_NF_NAT_FTP=m -CONFIG_NF_NAT_IRC=m -CONFIG_NF_NAT_TFTP=m -CONFIG_NF_NAT_AMANDA=m CONFIG_NF_NAT_PPTP=m CONFIG_NF_NAT_H323=m -CONFIG_NF_NAT_SIP=m CONFIG_IP_NF_MANGLE=m CONFIG_IP_NF_TARGET_CLUSTERIP=m CONFIG_IP_NF_TARGET_ECN=m @@ -723,7 +776,6 @@ CONFIG_IP_NF_ARP_MANGLE=m # # CONFIG_NF_DEFRAG_IPV6 is not set # CONFIG_NF_CONNTRACK_IPV6 is not set -CONFIG_IP6_NF_QUEUE=m CONFIG_IP6_NF_IPTABLES=m # CONFIG_IP6_NF_MATCH_AH is not set CONFIG_IP6_NF_MATCH_EUI64=m @@ -732,9 +784,9 @@ CONFIG_IP6_NF_MATCH_OPTS=m CONFIG_IP6_NF_MATCH_HL=m CONFIG_IP6_NF_MATCH_IPV6HEADER=m # CONFIG_IP6_NF_MATCH_MH is not set +# CONFIG_IP6_NF_MATCH_RPFILTER is not set CONFIG_IP6_NF_MATCH_RT=m # CONFIG_IP6_NF_TARGET_HL is not set -CONFIG_IP6_NF_TARGET_LOG=m CONFIG_IP6_NF_FILTER=m # CONFIG_IP6_NF_TARGET_REJECT is not set CONFIG_IP6_NF_MANGLE=m @@ -746,13 +798,14 @@ CONFIG_IP_SCTP=m # CONFIG_NET_SCTPPROBE is not set # CONFIG_SCTP_DBG_MSG is not set # CONFIG_SCTP_DBG_OBJCNT is not set -# CONFIG_SCTP_HMAC_NONE is not set -# CONFIG_SCTP_HMAC_SHA1 is not set -CONFIG_SCTP_HMAC_MD5=y +CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y +# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1 is not set +# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set +CONFIG_SCTP_COOKIE_HMAC_MD5=y +# CONFIG_SCTP_COOKIE_HMAC_SHA1 is not set # CONFIG_RDS is not set CONFIG_TIPC=m -# CONFIG_TIPC_ADVANCED is not set -# CONFIG_TIPC_DEBUG is not set +CONFIG_TIPC_PORTS=8191 CONFIG_ATM=m CONFIG_ATM_CLIP=m # CONFIG_ATM_CLIP_NO_ICMP is not set @@ -764,9 +817,11 @@ CONFIG_ATM_BR2684=m CONFIG_STP=m CONFIG_BRIDGE=m CONFIG_BRIDGE_IGMP_SNOOPING=y -# CONFIG_NET_DSA is not set +# CONFIG_BRIDGE_VLAN_FILTERING is not set +CONFIG_HAVE_NET_DSA=y CONFIG_VLAN_8021Q=m # CONFIG_VLAN_8021Q_GVRP is not set +# CONFIG_VLAN_8021Q_MVRP is not set # CONFIG_DECNET is not set CONFIG_LLC=m # CONFIG_LLC2 is not set @@ -774,8 +829,6 @@ CONFIG_LLC=m # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set -# CONFIG_ECONET is not set -CONFIG_WAN_ROUTER=m # CONFIG_PHONET is not set # CONFIG_IEEE802154 is not set CONFIG_NET_SCHED=y @@ -800,6 +853,10 @@ CONFIG_NET_SCHED=y # CONFIG_NET_SCH_DRR is not set # CONFIG_NET_SCH_MQPRIO is not set # CONFIG_NET_SCH_CHOKE is not set +# CONFIG_NET_SCH_QFQ is not set +# CONFIG_NET_SCH_CODEL is not set +# CONFIG_NET_SCH_FQ_CODEL is not set +# CONFIG_NET_SCH_PLUG is not set # # Classification @@ -812,12 +869,19 @@ CONFIG_NET_SCHED=y # CONFIG_NET_CLS_RSVP is not set # CONFIG_NET_CLS_RSVP6 is not set # CONFIG_NET_CLS_FLOW is not set +# CONFIG_NET_CLS_CGROUP is not set # CONFIG_NET_EMATCH is not set # CONFIG_NET_CLS_ACT is not set CONFIG_NET_SCH_FIFO=y # CONFIG_DCB is not set CONFIG_DNS_RESOLVER=y # CONFIG_BATMAN_ADV is not set +# CONFIG_OPENVSWITCH is not set +# CONFIG_VSOCKETS is not set +# CONFIG_NETLINK_MMAP is not set +# CONFIG_NETLINK_DIAG is not set +# CONFIG_NETPRIO_CGROUP is not set +CONFIG_BQL=y # # Network testing @@ -838,11 +902,11 @@ CONFIG_CFG80211=y # CONFIG_NL80211_TESTMODE is not set # CONFIG_CFG80211_DEVELOPER_WARNINGS is not set # CONFIG_CFG80211_REG_DEBUG is not set +# CONFIG_CFG80211_CERTIFICATION_ONUS is not set CONFIG_CFG80211_DEFAULT_PS=y # CONFIG_CFG80211_DEBUGFS is not set # CONFIG_CFG80211_INTERNAL_REGDB is not set CONFIG_CFG80211_WEXT=y -CONFIG_WIRELESS_EXT_SYSFS=y # CONFIG_LIB80211 is not set CONFIG_MAC80211=y CONFIG_MAC80211_HAS_RC=y @@ -854,12 +918,14 @@ CONFIG_MAC80211_RC_DEFAULT="minstrel_ht" # CONFIG_MAC80211_MESH is not set CONFIG_MAC80211_LEDS=y # CONFIG_MAC80211_DEBUGFS is not set +# CONFIG_MAC80211_MESSAGE_TRACING is not set # CONFIG_MAC80211_DEBUG_MENU is not set # CONFIG_WIMAX is not set # CONFIG_RFKILL is not set # CONFIG_NET_9P is not set # CONFIG_CAIF is not set # CONFIG_CEPH_LIB is not set +# CONFIG_NFC is not set # # Device Drivers @@ -876,10 +942,17 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=y CONFIG_FIRMWARE_IN_KERNEL=y CONFIG_EXTRA_FIRMWARE="" +CONFIG_FW_LOADER_USER_HELPER=y # CONFIG_DEBUG_DRIVER is not set # CONFIG_DEBUG_DEVRES is not set # CONFIG_SYS_HYPERVISOR is not set -CONFIG_ARCH_NO_SYSDEV_OPS=y +# CONFIG_GENERIC_CPU_DEVICES is not set +# CONFIG_DMA_SHARED_BUFFER is not set +# CONFIG_CMA is not set + +# +# Bus devices +# CONFIG_CONNECTOR=y CONFIG_PROC_EVENTS=y # CONFIG_MTD is not set @@ -893,17 +966,19 @@ CONFIG_PNP_DEBUG_MESSAGES=y CONFIG_PNPACPI=y CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_FD is not set +# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set # CONFIG_BLK_CPQ_DA is not set # CONFIG_BLK_CPQ_CISS_DA is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_DEV_UMEM is not set # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=m +CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 CONFIG_BLK_DEV_CRYPTOLOOP=m # CONFIG_BLK_DEV_DRBD is not set CONFIG_BLK_DEV_NBD=m +# CONFIG_BLK_DEV_NVME is not set # CONFIG_BLK_DEV_SX8 is not set -# CONFIG_BLK_DEV_UB is not set CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_BLK_DEV_RAM_SIZE=4096 @@ -912,8 +987,61 @@ CONFIG_BLK_DEV_RAM_SIZE=4096 # CONFIG_ATA_OVER_ETH is not set # CONFIG_BLK_DEV_HD is not set # CONFIG_BLK_DEV_RBD is not set +# CONFIG_BLK_DEV_RSXX is not set + +# +# Misc devices +# # CONFIG_SENSORS_LIS3LV02D is not set -# CONFIG_MISC_DEVICES is not set +# CONFIG_AD525X_DPOT is not set +# CONFIG_DUMMY_IRQ is not set +# CONFIG_IBM_ASM is not set +# CONFIG_PHANTOM is not set +# CONFIG_INTEL_MID_PTI is not set +# CONFIG_SGI_IOC4 is not set +# CONFIG_TIFM_CORE is not set +# CONFIG_ICS932S401 is not set +# CONFIG_ATMEL_SSC is not set +# CONFIG_ENCLOSURE_SERVICES is not set +# CONFIG_HP_ILO is not set +# CONFIG_APDS9802ALS is not set +# CONFIG_ISL29003 is not set +# CONFIG_ISL29020 is not set +# CONFIG_SENSORS_TSL2550 is not set +# CONFIG_SENSORS_BH1780 is not set +# CONFIG_SENSORS_BH1770 is not set +# CONFIG_SENSORS_APDS990X is not set +# CONFIG_HMC6352 is not set +# CONFIG_DS1682 is not set +# CONFIG_BMP085_I2C is not set +# CONFIG_PCH_PHUB is not set +# CONFIG_USB_SWITCH_FSA9480 is not set +# CONFIG_SRAM is not set +# CONFIG_FPGADL is not set +# CONFIG_DSPDL is not set +# CONFIG_C2PORT is not set + +# +# EEPROM support +# +# CONFIG_EEPROM_AT24 is not set +# CONFIG_EEPROM_LEGACY is not set +# CONFIG_EEPROM_MAX6875 is not set +# CONFIG_EEPROM_93CX6 is not set +# CONFIG_CB710_CORE is not set + +# +# Texas Instruments shared transport line discipline +# +# CONFIG_SENSORS_LIS3_I2C is not set + +# +# Altera FPGA firmware download module +# +# CONFIG_ALTERA_STAPL is not set +# CONFIG_INTEL_MEI is not set +# CONFIG_INTEL_MEI_ME is not set +# CONFIG_VMWARE_VMCI is not set CONFIG_HAVE_IDE=y # CONFIG_IDE is not set @@ -941,7 +1069,6 @@ CONFIG_BLK_DEV_SD=y # CONFIG_SCSI_CONSTANTS is not set # CONFIG_SCSI_LOGGING is not set # CONFIG_SCSI_SCAN_ASYNC is not set -CONFIG_SCSI_WAIT_SCAN=m # # SCSI Transports @@ -971,6 +1098,7 @@ CONFIG_SCSI_LOWLEVEL=y # CONFIG_SCSI_AIC79XX is not set # CONFIG_SCSI_AIC94XX is not set # CONFIG_SCSI_MVSAS is not set +# CONFIG_SCSI_MVUMI is not set # CONFIG_SCSI_DPT_I2O is not set # CONFIG_SCSI_ADVANSYS is not set # CONFIG_SCSI_ARCMSR is not set @@ -978,6 +1106,8 @@ CONFIG_SCSI_LOWLEVEL=y # CONFIG_MEGARAID_LEGACY is not set # CONFIG_MEGARAID_SAS is not set # CONFIG_SCSI_MPT2SAS is not set +# CONFIG_SCSI_MPT3SAS is not set +# CONFIG_SCSI_UFSHCD is not set # CONFIG_SCSI_HPTIOP is not set # CONFIG_SCSI_BUSLOGIC is not set # CONFIG_VMWARE_PVSCSI is not set @@ -989,6 +1119,7 @@ CONFIG_SCSI_LOWLEVEL=y # CONFIG_SCSI_EATA is not set # CONFIG_SCSI_FUTURE_DOMAIN is not set # CONFIG_SCSI_GDTH is not set +# CONFIG_SCSI_ISCI is not set # CONFIG_SCSI_IPS is not set # CONFIG_SCSI_INITIO is not set # CONFIG_SCSI_INIA100 is not set @@ -1007,12 +1138,14 @@ CONFIG_SCSI_LOWLEVEL=y # CONFIG_SCSI_PM8001 is not set # CONFIG_SCSI_SRP is not set # CONFIG_SCSI_BFA_FC is not set +# CONFIG_SCSI_CHELSIO_FCOE is not set # CONFIG_SCSI_DH is not set # CONFIG_SCSI_OSD_INITIATOR is not set CONFIG_ATA=y # CONFIG_ATA_NONSTANDARD is not set CONFIG_ATA_VERBOSE_ERROR=y CONFIG_ATA_ACPI=y +# CONFIG_SATA_ZPODD is not set CONFIG_SATA_PMP=y # @@ -1037,6 +1170,7 @@ CONFIG_ATA_BMDMA=y # SATA SFF controllers with BMDMA # CONFIG_ATA_PIIX=y +# CONFIG_SATA_HIGHBANK is not set # CONFIG_SATA_MV is not set # CONFIG_SATA_NV is not set # CONFIG_SATA_PROMISE is not set @@ -1052,7 +1186,6 @@ CONFIG_ATA_PIIX=y # # CONFIG_PATA_ALI is not set # CONFIG_PATA_AMD is not set -# CONFIG_PATA_ARASAN_CF is not set # CONFIG_PATA_ARTOP is not set # CONFIG_PATA_ATIIXP is not set # CONFIG_PATA_ATP867X is not set @@ -1116,10 +1249,14 @@ CONFIG_MD_RAID10=y # CONFIG_MD_RAID456 is not set CONFIG_MD_MULTIPATH=y CONFIG_MD_FAULTY=y +# CONFIG_BCACHE is not set +CONFIG_BLK_DEV_DM_BUILTIN=y CONFIG_BLK_DEV_DM=y # CONFIG_DM_DEBUG is not set CONFIG_DM_CRYPT=y CONFIG_DM_SNAPSHOT=y +# CONFIG_DM_THIN_PROVISIONING is not set +# CONFIG_DM_CACHE is not set CONFIG_DM_MIRROR=y # CONFIG_DM_RAID is not set # CONFIG_DM_LOG_USERSPACE is not set @@ -1128,6 +1265,7 @@ CONFIG_DM_ZERO=y # CONFIG_DM_DELAY is not set # CONFIG_DM_UEVENT is not set # CONFIG_DM_FLAKEY is not set +# CONFIG_DM_VERITY is not set # CONFIG_TARGET_CORE is not set # CONFIG_FUSION is not set @@ -1139,181 +1277,22 @@ CONFIG_DM_ZERO=y # CONFIG_I2O is not set # CONFIG_MACINTOSH_DRIVERS is not set CONFIG_NETDEVICES=y -CONFIG_DUMMY=m +CONFIG_NET_CORE=y CONFIG_BONDING=m -# CONFIG_MACVLAN is not set +CONFIG_DUMMY=m # CONFIG_EQUALIZER is not set +# CONFIG_NET_FC is not set +CONFIG_MII=y +# CONFIG_NET_TEAM is not set +# CONFIG_MACVLAN is not set +# CONFIG_VXLAN is not set +CONFIG_NETCONSOLE=y +CONFIG_NETPOLL=y +# CONFIG_NETPOLL_TRAP is not set +CONFIG_NET_POLL_CONTROLLER=y CONFIG_TUN=m # CONFIG_VETH is not set -# CONFIG_NET_SB1000 is not set # CONFIG_ARCNET is not set -CONFIG_MII=y -CONFIG_PHYLIB=y - -# -# MII PHY device drivers -# -# CONFIG_MARVELL_PHY is not set -# CONFIG_DAVICOM_PHY is not set -# CONFIG_QSEMI_PHY is not set -# CONFIG_LXT_PHY is not set -# CONFIG_CICADA_PHY is not set -# CONFIG_VITESSE_PHY is not set -# CONFIG_SMSC_PHY is not set -# CONFIG_BROADCOM_PHY is not set -# CONFIG_BCM63XX_PHY is not set -# CONFIG_ICPLUS_PHY is not set -# CONFIG_REALTEK_PHY is not set -# CONFIG_NATIONAL_PHY is not set -# CONFIG_STE10XP is not set -# CONFIG_LSI_ET1011C_PHY is not set -# CONFIG_MICREL_PHY is not set -# CONFIG_FIXED_PHY is not set -# CONFIG_MDIO_BITBANG is not set -CONFIG_NET_ETHERNET=y -# CONFIG_HAPPYMEAL is not set -# CONFIG_SUNGEM is not set -# CONFIG_CASSINI is not set -# CONFIG_NET_VENDOR_3COM is not set -# CONFIG_ETHOC is not set -# CONFIG_DNET is not set -# CONFIG_NET_TULIP is not set -# CONFIG_HP100 is not set -# CONFIG_IBM_NEW_EMAC_ZMII is not set -# CONFIG_IBM_NEW_EMAC_RGMII is not set -# CONFIG_IBM_NEW_EMAC_TAH is not set -# CONFIG_IBM_NEW_EMAC_EMAC4 is not set -# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set -# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set -# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set -CONFIG_NET_PCI=y -# CONFIG_PCNET32 is not set -# CONFIG_AMD8111_ETH is not set -# CONFIG_ADAPTEC_STARFIRE is not set -# CONFIG_KSZ884X_PCI is not set -# CONFIG_B44 is not set -# CONFIG_FORCEDETH is not set -CONFIG_E100=y -# CONFIG_FEALNX is not set -# CONFIG_NATSEMI is not set -# CONFIG_NE2K_PCI is not set -# CONFIG_8139CP is not set -# CONFIG_8139TOO is not set -# CONFIG_R6040 is not set -# CONFIG_SIS900 is not set -# CONFIG_EPIC100 is not set -# CONFIG_SMSC9420 is not set -# CONFIG_SUNDANCE is not set -# CONFIG_TLAN is not set -# CONFIG_KS8851_MLL is not set -CONFIG_VIA_RHINE=y -CONFIG_VIA_RHINE_MMIO=y -# CONFIG_SC92031 is not set -CONFIG_ATL2=y -CONFIG_NETDEV_1000=y -# CONFIG_ACENIC is not set -# CONFIG_DL2K is not set -CONFIG_E1000=y -CONFIG_E1000E=y -# CONFIG_IP1000 is not set -# CONFIG_IGB is not set -# CONFIG_IGBVF is not set -# CONFIG_NS83820 is not set -# CONFIG_HAMACHI is not set -# CONFIG_YELLOWFIN is not set -# CONFIG_R8169 is not set -# CONFIG_SIS190 is not set -# CONFIG_SKGE is not set -# CONFIG_SKY2 is not set -# CONFIG_VIA_VELOCITY is not set -CONFIG_TIGON3=y -# CONFIG_BNX2 is not set -# CONFIG_CNIC is not set -# CONFIG_QLA3XXX is not set -# CONFIG_ATL1 is not set -# CONFIG_ATL1E is not set -# CONFIG_ATL1C is not set -# CONFIG_JME is not set -# CONFIG_STMMAC_ETH is not set -# CONFIG_PCH_GBE is not set -CONFIG_NETDEV_10000=y -# CONFIG_CHELSIO_T1 is not set -# CONFIG_CHELSIO_T3 is not set -# CONFIG_CHELSIO_T4 is not set -# CONFIG_CHELSIO_T4VF is not set -# CONFIG_ENIC is not set -# CONFIG_IXGBE is not set -# CONFIG_IXGB is not set -# CONFIG_S2IO is not set -# CONFIG_VXGE is not set -# CONFIG_MYRI10GE is not set -# CONFIG_NETXEN_NIC is not set -# CONFIG_NIU is not set -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_CORE is not set -# CONFIG_TEHUTI is not set -# CONFIG_BNX2X is not set -# CONFIG_QLCNIC is not set -# CONFIG_QLGE is not set -# CONFIG_BNA is not set -# CONFIG_SFC is not set -# CONFIG_BE2NET is not set -# CONFIG_TR is not set -CONFIG_WLAN=y -# CONFIG_LIBERTAS_THINFIRM is not set -# CONFIG_AIRO is not set -# CONFIG_ATMEL is not set -# CONFIG_AT76C50X_USB is not set -# CONFIG_PRISM54 is not set -# CONFIG_USB_ZD1201 is not set -# CONFIG_USB_NET_RNDIS_WLAN is not set -# CONFIG_RTL8180 is not set -# CONFIG_RTL8187 is not set -# CONFIG_ADM8211 is not set -# CONFIG_MAC80211_HWSIM is not set -# CONFIG_MWL8K is not set -CONFIG_ATH_COMMON=y -# CONFIG_ATH_DEBUG is not set -CONFIG_ATH5K=y -# CONFIG_ATH5K_DEBUG is not set -# CONFIG_ATH5K_TRACER is not set -CONFIG_ATH5K_PCI=y -# CONFIG_ATH9K is not set -# CONFIG_ATH9K_HTC is not set -# CONFIG_AR9170_USB is not set -# CONFIG_CARL9170 is not set -# CONFIG_B43 is not set -# CONFIG_B43LEGACY is not set -# CONFIG_HOSTAP is not set -# CONFIG_IPW2100 is not set -# CONFIG_IPW2200 is not set -# CONFIG_IWLAGN is not set -# CONFIG_IWL4965 is not set -# CONFIG_IWL3945 is not set -# CONFIG_LIBERTAS is not set -# CONFIG_HERMES is not set -# CONFIG_P54_COMMON is not set -# CONFIG_RT2X00 is not set -# CONFIG_RTL8192CE is not set -# CONFIG_RTL8192CU is not set -# CONFIG_WL1251 is not set -# CONFIG_WL12XX_MENU is not set -# CONFIG_ZD1211RW is not set - -# -# Enable WiMAX (Networking options) to see the WiMAX drivers -# - -# -# USB Network Adapters -# -# CONFIG_USB_CATC is not set -# CONFIG_USB_KAWETH is not set -# CONFIG_USB_PEGASUS is not set -# CONFIG_USB_RTL8150 is not set -# CONFIG_USB_USBNET is not set -# CONFIG_USB_IPHETH is not set -# CONFIG_WAN is not set CONFIG_ATM_DRIVERS=y # CONFIG_ATM_DUMMY is not set # CONFIG_ATM_TCP is not set @@ -1333,29 +1312,228 @@ CONFIG_ATM_DRIVERS=y # # CAIF transport drivers # +# CONFIG_VHOST_NET is not set + +# +# Distributed Switch Architecture drivers +# +# CONFIG_NET_DSA_MV88E6XXX is not set +# CONFIG_NET_DSA_MV88E6060 is not set +# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set +# CONFIG_NET_DSA_MV88E6131 is not set +# CONFIG_NET_DSA_MV88E6123_61_65 is not set +CONFIG_ETHERNET=y +# CONFIG_NET_VENDOR_3COM is not set +CONFIG_NET_VENDOR_ADAPTEC=y +# CONFIG_ADAPTEC_STARFIRE is not set +CONFIG_NET_VENDOR_ALTEON=y +# CONFIG_ACENIC is not set +CONFIG_NET_VENDOR_AMD=y +# CONFIG_AMD8111_ETH is not set +# CONFIG_PCNET32 is not set +CONFIG_NET_VENDOR_ATHEROS=y +CONFIG_ATL2=y +# CONFIG_ATL1 is not set +# CONFIG_ATL1E is not set +# CONFIG_ATL1C is not set +# CONFIG_ALX is not set +CONFIG_NET_CADENCE=y +# CONFIG_ARM_AT91_ETHER is not set +# CONFIG_MACB is not set +CONFIG_NET_VENDOR_BROADCOM=y +# CONFIG_B44 is not set +# CONFIG_BNX2 is not set +# CONFIG_CNIC is not set +CONFIG_TIGON3=y +# CONFIG_BNX2X is not set +CONFIG_NET_VENDOR_BROCADE=y +# CONFIG_BNA is not set +# CONFIG_NET_CALXEDA_XGMAC is not set +CONFIG_NET_VENDOR_CHELSIO=y +# CONFIG_CHELSIO_T1 is not set +# CONFIG_CHELSIO_T3 is not set +# CONFIG_CHELSIO_T4 is not set +# CONFIG_CHELSIO_T4VF is not set +CONFIG_NET_VENDOR_CISCO=y +# CONFIG_ENIC is not set +# CONFIG_DNET is not set +CONFIG_NET_VENDOR_DEC=y +# CONFIG_NET_TULIP is not set +CONFIG_NET_VENDOR_DLINK=y +# CONFIG_DL2K is not set +# CONFIG_SUNDANCE is not set +CONFIG_NET_VENDOR_EMULEX=y +# CONFIG_BE2NET is not set +CONFIG_NET_VENDOR_EXAR=y +# CONFIG_S2IO is not set +# CONFIG_VXGE is not set +CONFIG_NET_VENDOR_HP=y +# CONFIG_HP100 is not set +CONFIG_NET_VENDOR_INTEL=y +CONFIG_E100=y +CONFIG_E1000=y +CONFIG_E1000E=y +# CONFIG_IGB is not set +# CONFIG_IGBVF is not set +# CONFIG_IXGB is not set +# CONFIG_IXGBE is not set +CONFIG_NET_VENDOR_I825XX=y +# CONFIG_IP1000 is not set +# CONFIG_JME is not set +CONFIG_NET_VENDOR_MARVELL=y +# CONFIG_MVMDIO is not set +# CONFIG_SKGE is not set +# CONFIG_SKY2 is not set +CONFIG_NET_VENDOR_MELLANOX=y +# CONFIG_MLX4_EN is not set +# CONFIG_MLX4_CORE is not set +CONFIG_NET_VENDOR_MICREL=y +# CONFIG_KS8851_MLL is not set +# CONFIG_KSZ884X_PCI is not set +CONFIG_NET_VENDOR_MYRI=y +# CONFIG_MYRI10GE is not set +# CONFIG_FEALNX is not set +CONFIG_NET_VENDOR_NATSEMI=y +# CONFIG_NATSEMI is not set +# CONFIG_NS83820 is not set +CONFIG_NET_VENDOR_8390=y +# CONFIG_NE2K_PCI is not set +CONFIG_NET_VENDOR_NVIDIA=y +# CONFIG_FORCEDETH is not set +CONFIG_NET_VENDOR_OKI=y +# CONFIG_PCH_GBE is not set +# CONFIG_ETHOC is not set +CONFIG_NET_PACKET_ENGINE=y +# CONFIG_HAMACHI is not set +# CONFIG_YELLOWFIN is not set +CONFIG_NET_VENDOR_QLOGIC=y +# CONFIG_QLA3XXX is not set +# CONFIG_QLCNIC is not set +# CONFIG_QLGE is not set +# CONFIG_NETXEN_NIC is not set +CONFIG_NET_VENDOR_REALTEK=y +# CONFIG_8139CP is not set +# CONFIG_8139TOO is not set +# CONFIG_R8169 is not set +CONFIG_NET_VENDOR_RDC=y +# CONFIG_R6040 is not set +CONFIG_NET_VENDOR_SEEQ=y +CONFIG_NET_VENDOR_SILAN=y +# CONFIG_SC92031 is not set +CONFIG_NET_VENDOR_SIS=y +# CONFIG_SIS900 is not set +# CONFIG_SIS190 is not set +# CONFIG_SFC is not set +CONFIG_NET_VENDOR_SMSC=y +# CONFIG_EPIC100 is not set +# CONFIG_SMSC9420 is not set +CONFIG_NET_VENDOR_STMICRO=y +# CONFIG_STMMAC_ETH is not set +CONFIG_NET_VENDOR_SUN=y +# CONFIG_HAPPYMEAL is not set +# CONFIG_SUNGEM is not set +# CONFIG_CASSINI is not set +# CONFIG_NIU is not set +CONFIG_NET_VENDOR_TEHUTI=y +# CONFIG_TEHUTI is not set +CONFIG_NET_VENDOR_TI=y +# CONFIG_TLAN is not set +CONFIG_NET_VENDOR_VIA=y +CONFIG_VIA_RHINE=y +CONFIG_VIA_RHINE_MMIO=y +# CONFIG_VIA_VELOCITY is not set +CONFIG_NET_VENDOR_WIZNET=y +# CONFIG_WIZNET_W5100 is not set +# CONFIG_WIZNET_W5300 is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set +# CONFIG_NET_SB1000 is not set +CONFIG_PHYLIB=y + +# +# MII PHY device drivers +# +# CONFIG_AT803X_PHY is not set +# CONFIG_AMD_PHY is not set +# CONFIG_MARVELL_PHY is not set +# CONFIG_DAVICOM_PHY is not set +# CONFIG_QSEMI_PHY is not set +# CONFIG_LXT_PHY is not set +# CONFIG_CICADA_PHY is not set +# CONFIG_VITESSE_PHY is not set +# CONFIG_SMSC_PHY is not set +# CONFIG_BROADCOM_PHY is not set +# CONFIG_BCM87XX_PHY is not set +# CONFIG_ICPLUS_PHY is not set +# CONFIG_REALTEK_PHY is not set +# CONFIG_NATIONAL_PHY is not set +# CONFIG_STE10XP is not set +# CONFIG_LSI_ET1011C_PHY is not set +# CONFIG_MICREL_PHY is not set +# CONFIG_FIXED_PHY is not set +# CONFIG_MDIO_BITBANG is not set CONFIG_PPP=m -CONFIG_PPP_MULTILINK=y +CONFIG_PPP_BSDCOMP=m +CONFIG_PPP_DEFLATE=m CONFIG_PPP_FILTER=y +# CONFIG_PPP_MPPE is not set +CONFIG_PPP_MULTILINK=y +CONFIG_PPPOATM=m +CONFIG_PPPOE=m CONFIG_PPP_ASYNC=m CONFIG_PPP_SYNC_TTY=m -CONFIG_PPP_DEFLATE=m -CONFIG_PPP_BSDCOMP=m -# CONFIG_PPP_MPPE is not set -CONFIG_PPPOE=m -CONFIG_PPPOATM=m CONFIG_SLIP=m -CONFIG_SLIP_COMPRESSED=y CONFIG_SLHC=m +CONFIG_SLIP_COMPRESSED=y CONFIG_SLIP_SMART=y CONFIG_SLIP_MODE_SLIP6=y -# CONFIG_NET_FC is not set -CONFIG_NETCONSOLE=y -# CONFIG_NETCONSOLE_DYNAMIC is not set -CONFIG_NETPOLL=y -# CONFIG_NETPOLL_TRAP is not set -CONFIG_NET_POLL_CONTROLLER=y + +# +# USB Network Adapters +# +# CONFIG_USB_CATC is not set +# CONFIG_USB_KAWETH is not set +# CONFIG_USB_PEGASUS is not set +# CONFIG_USB_RTL8150 is not set +# CONFIG_USB_RTL8152 is not set +# CONFIG_USB_USBNET is not set +# CONFIG_USB_IPHETH is not set +CONFIG_WLAN=y +# CONFIG_LIBERTAS_THINFIRM is not set +# CONFIG_AIRO is not set +# CONFIG_ATMEL is not set +# CONFIG_AT76C50X_USB is not set +# CONFIG_PRISM54 is not set +# CONFIG_USB_ZD1201 is not set +# CONFIG_USB_NET_RNDIS_WLAN is not set +# CONFIG_RTL8180 is not set +# CONFIG_RTL8187 is not set +# CONFIG_ADM8211 is not set +# CONFIG_MAC80211_HWSIM is not set +# CONFIG_MWL8K is not set +# CONFIG_ATH_CARDS is not set +# CONFIG_B43 is not set +# CONFIG_B43LEGACY is not set +# CONFIG_BRCMFMAC is not set +# CONFIG_HOSTAP is not set +# CONFIG_IPW2100 is not set +# CONFIG_IPW2200 is not set +# CONFIG_IWLWIFI is not set +# CONFIG_IWL4965 is not set +# CONFIG_IWL3945 is not set +# CONFIG_LIBERTAS is not set +# CONFIG_HERMES is not set +# CONFIG_P54_COMMON is not set +# CONFIG_RT2X00 is not set +# CONFIG_RTLWIFI is not set +# CONFIG_WL_TI is not set +# CONFIG_ZD1211RW is not set +# CONFIG_MWIFIEX is not set + +# +# Enable WiMAX (Networking options) to see the WiMAX drivers +# +# CONFIG_WAN is not set # CONFIG_VMXNET3 is not set CONFIG_ISDN=y # CONFIG_ISDN_I4L is not set @@ -1377,8 +1555,6 @@ CONFIG_MISDN_DSP=m # CONFIG_MISDN_INFINEON is not set # CONFIG_MISDN_W6692 is not set # CONFIG_MISDN_NETJET is not set -CONFIG_MISDN_L1LOOP=m -# CONFIG_PHONE is not set # # Input device support @@ -1387,6 +1563,7 @@ CONFIG_INPUT=y # CONFIG_INPUT_FF_MEMLESS is not set # CONFIG_INPUT_POLLDEV is not set # CONFIG_INPUT_SPARSEKMAP is not set +# CONFIG_INPUT_MATRIXKMAP is not set # # Userland interfaces @@ -1404,14 +1581,18 @@ CONFIG_INPUT_EVDEV=y # CONFIG_INPUT_KEYBOARD=y # CONFIG_KEYBOARD_ADP5588 is not set +# CONFIG_KEYBOARD_ADP5589 is not set CONFIG_KEYBOARD_ATKBD=y # CONFIG_KEYBOARD_QT1070 is not set # CONFIG_KEYBOARD_QT2160 is not set # CONFIG_KEYBOARD_LKKBD is not set # CONFIG_KEYBOARD_TCA6416 is not set +# CONFIG_KEYBOARD_TCA8418 is not set # CONFIG_KEYBOARD_LM8323 is not set +# CONFIG_KEYBOARD_LM8333 is not set # CONFIG_KEYBOARD_MAX7359 is not set # CONFIG_KEYBOARD_MCS is not set +# CONFIG_KEYBOARD_MPR121 is not set # CONFIG_KEYBOARD_NEWTON is not set # CONFIG_KEYBOARD_OPENCORES is not set # CONFIG_KEYBOARD_STOWAWAY is not set @@ -1422,6 +1603,7 @@ CONFIG_MOUSE_PS2=y CONFIG_MOUSE_PS2_ALPS=y CONFIG_MOUSE_PS2_LOGIPS2PP=y CONFIG_MOUSE_PS2_SYNAPTICS=y +CONFIG_MOUSE_PS2_CYPRESS=y CONFIG_MOUSE_PS2_LIFEBOOK=y CONFIG_MOUSE_PS2_TRACKPOINT=y # CONFIG_MOUSE_PS2_ELANTECH is not set @@ -1430,8 +1612,10 @@ CONFIG_MOUSE_PS2_TRACKPOINT=y # CONFIG_MOUSE_SERIAL is not set # CONFIG_MOUSE_APPLETOUCH is not set # CONFIG_MOUSE_BCM5974 is not set +# CONFIG_MOUSE_CYAPA is not set # CONFIG_MOUSE_VSXXXAA is not set # CONFIG_MOUSE_SYNAPTICS_I2C is not set +# CONFIG_MOUSE_SYNAPTICS_USB is not set # CONFIG_INPUT_JOYSTICK is not set CONFIG_INPUT_TABLET=y # CONFIG_TABLET_USB_ACECAD is not set @@ -1455,14 +1639,17 @@ CONFIG_SERIO_LIBPS2=y # CONFIG_SERIO_RAW is not set # CONFIG_SERIO_ALTERA_PS2 is not set # CONFIG_SERIO_PS2MULT is not set +# CONFIG_SERIO_ARC_PS2 is not set # CONFIG_GAMEPORT is not set # # Character devices # +CONFIG_TTY=y CONFIG_VT=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_VT_CONSOLE=y +CONFIG_VT_CONSOLE_SLEEP=y CONFIG_HW_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set CONFIG_UNIX98_PTYS=y @@ -1471,32 +1658,39 @@ CONFIG_UNIX98_PTYS=y # CONFIG_SERIAL_NONSTANDARD is not set # CONFIG_NOZOMI is not set # CONFIG_N_GSM is not set +# CONFIG_TRACE_SINK is not set CONFIG_DEVKMEM=y # # Serial drivers # CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y +CONFIG_SERIAL_8250_PNP=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_FIX_EARLYCON_MEM=y CONFIG_SERIAL_8250_PCI=y -CONFIG_SERIAL_8250_PNP=y CONFIG_SERIAL_8250_NR_UARTS=4 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 # CONFIG_SERIAL_8250_EXTENDED is not set +# CONFIG_SERIAL_8250_DW is not set # # Non-8250 serial port support # +# CONFIG_SERIAL_KGDB_NMI is not set # CONFIG_SERIAL_MFD_HSU is not set CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_CONSOLE_POLL=y # CONFIG_SERIAL_JSM is not set +# CONFIG_SERIAL_SCCNXP is not set # CONFIG_SERIAL_TIMBERDALE is not set # CONFIG_SERIAL_ALTERA_JTAGUART is not set # CONFIG_SERIAL_ALTERA_UART is not set # CONFIG_SERIAL_PCH_UART is not set +# CONFIG_SERIAL_ARC is not set +# CONFIG_SERIAL_RP2 is not set # CONFIG_TTY_PRINTK is not set # CONFIG_IPMI_HANDLER is not set CONFIG_HW_RANDOM=m @@ -1518,7 +1712,6 @@ CONFIG_HW_RANDOM_VIA=m # CONFIG_TCG_TPM is not set # CONFIG_TELCLOCK is not set CONFIG_DEVPORT=y -# CONFIG_RAMOOPS is not set CONFIG_I2C=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_COMPAT=y @@ -1540,6 +1733,7 @@ CONFIG_I2C_HELPER_AUTO=y # CONFIG_I2C_AMD8111 is not set CONFIG_I2C_I801=y # CONFIG_I2C_ISCH is not set +# CONFIG_I2C_ISMT is not set # CONFIG_I2C_PIIX4 is not set # CONFIG_I2C_NFORCE2 is not set # CONFIG_I2C_SIS5595 is not set @@ -1556,13 +1750,14 @@ CONFIG_I2C_I801=y # # I2C system bus drivers (mostly embedded / system-on-chip) # +# CONFIG_I2C_DESIGNWARE_PCI is not set +# CONFIG_I2C_EG20T is not set # CONFIG_I2C_INTEL_MID is not set # CONFIG_I2C_OCORES is not set # CONFIG_I2C_PCA_PLATFORM is not set # CONFIG_I2C_PXA_PCI is not set # CONFIG_I2C_SIMTEC is not set # CONFIG_I2C_XILINX is not set -# CONFIG_I2C_EG20T is not set # # External I2C/SMBus adapter drivers @@ -1575,33 +1770,68 @@ CONFIG_I2C_I801=y # # Other I2C/SMBus bus drivers # -# CONFIG_I2C_STUB is not set # CONFIG_SCx200_ACB is not set +# CONFIG_I2C_STUB is not set # CONFIG_I2C_DEBUG_CORE is not set # CONFIG_I2C_DEBUG_ALGO is not set # CONFIG_I2C_DEBUG_BUS is not set # CONFIG_SPI is not set +# +# Qualcomm MSM SSBI bus support +# +# CONFIG_SSBI is not set +# CONFIG_HSI is not set + # # PPS support # -# CONFIG_PPS is not set +CONFIG_PPS=y +# CONFIG_PPS_DEBUG is not set +# CONFIG_NTP_PPS is not set + +# +# PPS clients support +# +# CONFIG_PPS_CLIENT_KTIMER is not set +# CONFIG_PPS_CLIENT_LDISC is not set +# CONFIG_PPS_CLIENT_GPIO is not set # # PPS generators support # + +# +# PTP clock support +# +CONFIG_PTP_1588_CLOCK=y + +# +# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks. +# +# CONFIG_PTP_1588_CLOCK_PCH is not set CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y +CONFIG_GPIO_DEVRES=y # CONFIG_GPIOLIB is not set # CONFIG_W1 is not set CONFIG_POWER_SUPPLY=y # CONFIG_POWER_SUPPLY_DEBUG is not set # CONFIG_PDA_POWER is not set # CONFIG_TEST_POWER is not set +# CONFIG_BATTERY_DS2780 is not set +# CONFIG_BATTERY_DS2781 is not set # CONFIG_BATTERY_DS2782 is not set -# CONFIG_BATTERY_BQ20Z75 is not set +# CONFIG_BATTERY_SBS is not set # CONFIG_BATTERY_BQ27x00 is not set # CONFIG_BATTERY_MAX17040 is not set # CONFIG_BATTERY_MAX17042 is not set +# CONFIG_CHARGER_MAX8903 is not set +# CONFIG_CHARGER_LP8727 is not set +# CONFIG_CHARGER_BQ2415X is not set +# CONFIG_CHARGER_SMB347 is not set +# CONFIG_BATTERY_GOLDFISH is not set +# CONFIG_POWER_RESET is not set +# CONFIG_POWER_AVS is not set CONFIG_HWMON=y # CONFIG_HWMON_VID is not set # CONFIG_HWMON_DEBUG_CHIP is not set @@ -1619,6 +1849,7 @@ CONFIG_HWMON=y # CONFIG_SENSORS_ADM1029 is not set # CONFIG_SENSORS_ADM1031 is not set # CONFIG_SENSORS_ADM9240 is not set +# CONFIG_SENSORS_ADT7410 is not set # CONFIG_SENSORS_ADT7411 is not set # CONFIG_SENSORS_ADT7462 is not set # CONFIG_SENSORS_ADT7470 is not set @@ -1626,6 +1857,7 @@ CONFIG_HWMON=y # CONFIG_SENSORS_ASC7621 is not set # CONFIG_SENSORS_K8TEMP is not set # CONFIG_SENSORS_K10TEMP is not set +# CONFIG_SENSORS_FAM15H_POWER is not set # CONFIG_SENSORS_ASB100 is not set # CONFIG_SENSORS_ATXP1 is not set # CONFIG_SENSORS_DS620 is not set @@ -1638,8 +1870,8 @@ CONFIG_HWMON=y # CONFIG_SENSORS_G760A is not set # CONFIG_SENSORS_GL518SM is not set # CONFIG_SENSORS_GL520SM is not set +# CONFIG_SENSORS_HIH6130 is not set # CONFIG_SENSORS_CORETEMP is not set -# CONFIG_SENSORS_PKGTEMP is not set # CONFIG_SENSORS_IT87 is not set # CONFIG_SENSORS_JC42 is not set # CONFIG_SENSORS_LINEAGE is not set @@ -1655,14 +1887,25 @@ CONFIG_HWMON=y # CONFIG_SENSORS_LM90 is not set # CONFIG_SENSORS_LM92 is not set # CONFIG_SENSORS_LM93 is not set +# CONFIG_SENSORS_LTC1695 is not set # CONFIG_SENSORS_LTC4151 is not set # CONFIG_SENSORS_LTC4215 is not set # CONFIG_SENSORS_LTC4245 is not set # CONFIG_SENSORS_LTC4261 is not set +# CONFIG_SENSORS_LM95234 is not set # CONFIG_SENSORS_LM95241 is not set +# CONFIG_SENSORS_LM95245 is not set +# CONFIG_SENSORS_MAX16065 is not set # CONFIG_SENSORS_MAX1619 is not set +# CONFIG_SENSORS_MAX1668 is not set +# CONFIG_SENSORS_MAX197 is not set # CONFIG_SENSORS_MAX6639 is not set +# CONFIG_SENSORS_MAX6642 is not set # CONFIG_SENSORS_MAX6650 is not set +# CONFIG_SENSORS_MAX6697 is not set +# CONFIG_SENSORS_MCP3021 is not set +# CONFIG_SENSORS_NCT6775 is not set +# CONFIG_SENSORS_NTC_THERMISTOR is not set # CONFIG_SENSORS_PC87360 is not set # CONFIG_SENSORS_PC87427 is not set # CONFIG_SENSORS_PCF8591 is not set @@ -1673,13 +1916,18 @@ CONFIG_HWMON=y # CONFIG_SENSORS_DME1737 is not set # CONFIG_SENSORS_EMC1403 is not set # CONFIG_SENSORS_EMC2103 is not set +# CONFIG_SENSORS_EMC6W201 is not set # CONFIG_SENSORS_SMSC47M1 is not set # CONFIG_SENSORS_SMSC47M192 is not set # CONFIG_SENSORS_SMSC47B397 is not set +# CONFIG_SENSORS_SCH56XX_COMMON is not set # CONFIG_SENSORS_SCH5627 is not set +# CONFIG_SENSORS_SCH5636 is not set # CONFIG_SENSORS_ADS1015 is not set # CONFIG_SENSORS_ADS7828 is not set # CONFIG_SENSORS_AMC6821 is not set +# CONFIG_SENSORS_INA209 is not set +# CONFIG_SENSORS_INA2XX is not set # CONFIG_SENSORS_THMC50 is not set # CONFIG_SENSORS_TMP102 is not set # CONFIG_SENSORS_TMP401 is not set @@ -1702,10 +1950,20 @@ CONFIG_HWMON=y # # ACPI drivers # +# CONFIG_SENSORS_ACPI_POWER is not set # CONFIG_SENSORS_ATK0110 is not set CONFIG_THERMAL=y -# CONFIG_THERMAL_HWMON is not set +CONFIG_THERMAL_HWMON=y +CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y +# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set +# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set +# CONFIG_THERMAL_GOV_FAIR_SHARE is not set +CONFIG_THERMAL_GOV_STEP_WISE=y +# CONFIG_THERMAL_GOV_USER_SPACE is not set +# CONFIG_THERMAL_EMULATION is not set +# CONFIG_INTEL_POWERCLAMP is not set CONFIG_WATCHDOG=y +CONFIG_WATCHDOG_CORE=y # CONFIG_WATCHDOG_NOWAYOUT is not set # @@ -1725,6 +1983,7 @@ CONFIG_SOFT_WATCHDOG=m # CONFIG_IBMASR is not set # CONFIG_WAFER_WDT is not set # CONFIG_I6300ESB_WDT is not set +# CONFIG_IE6XX_WDT is not set # CONFIG_ITCO_WDT is not set # CONFIG_IT8712F_WDT is not set # CONFIG_IT87_WDT is not set @@ -1738,6 +1997,7 @@ CONFIG_SOFT_WATCHDOG=m # CONFIG_CPU5_WDT is not set # CONFIG_SMSC_SCH311X_WDT is not set # CONFIG_SMSC37B787_WDT is not set +# CONFIG_VIA_WDT is not set # CONFIG_W83627HF_WDT is not set # CONFIG_W83697HF_WDT is not set # CONFIG_W83697UG_WDT is not set @@ -1762,34 +2022,72 @@ CONFIG_SSB_POSSIBLE=y # Sonics Silicon Backplane # # CONFIG_SSB is not set -CONFIG_MFD_SUPPORT=y +CONFIG_BCMA_POSSIBLE=y + +# +# Broadcom specific AMBA +# +# CONFIG_BCMA is not set + +# +# Multifunction device drivers +# # CONFIG_MFD_CORE is not set -# CONFIG_MFD_88PM860X is not set -# CONFIG_MFD_SM501 is not set -# CONFIG_HTC_PASIC3 is not set -# CONFIG_TPS6105X is not set -# CONFIG_TPS6507X is not set -# CONFIG_TWL4030_CORE is not set -# CONFIG_MFD_STMPE is not set -# CONFIG_MFD_TC3589X is not set -# CONFIG_MFD_TMIO is not set -# CONFIG_PMIC_DA903X is not set +# CONFIG_MFD_CS5535 is not set +# CONFIG_MFD_AS3711 is not set # CONFIG_PMIC_ADP5520 is not set +# CONFIG_MFD_CROS_EC is not set +# CONFIG_PMIC_DA903X is not set +# CONFIG_MFD_DA9052_I2C is not set +# CONFIG_MFD_DA9055 is not set +# CONFIG_MFD_MC13XXX_I2C is not set +# CONFIG_HTC_PASIC3 is not set +# CONFIG_LPC_ICH is not set +# CONFIG_LPC_SCH is not set +# CONFIG_MFD_JANZ_CMODIO is not set +# CONFIG_MFD_88PM800 is not set +# CONFIG_MFD_88PM805 is not set +# CONFIG_MFD_88PM860X is not set +# CONFIG_MFD_MAX77686 is not set +# CONFIG_MFD_MAX77693 is not set +# CONFIG_MFD_MAX8907 is not set # CONFIG_MFD_MAX8925 is not set # CONFIG_MFD_MAX8997 is not set # CONFIG_MFD_MAX8998 is not set +# CONFIG_MFD_VIPERBOARD is not set +# CONFIG_MFD_RETU is not set +# CONFIG_MFD_PCF50633 is not set +# CONFIG_MFD_RDC321X is not set +# CONFIG_MFD_RTSX_PCI is not set +# CONFIG_MFD_RC5T583 is not set +# CONFIG_MFD_SEC_CORE is not set +# CONFIG_MFD_SI476X_CORE is not set +# CONFIG_MFD_SM501 is not set +# CONFIG_MFD_SMSC is not set +# CONFIG_ABX500_CORE is not set +# CONFIG_MFD_STMPE is not set +# CONFIG_MFD_SYSCON is not set +# CONFIG_MFD_TI_AM335X_TSCADC is not set +# CONFIG_MFD_LP8788 is not set +# CONFIG_MFD_PALMAS is not set +# CONFIG_TPS6105X is not set +# CONFIG_TPS6507X is not set +# CONFIG_MFD_TPS65090 is not set +# CONFIG_MFD_TPS65217 is not set +# CONFIG_MFD_TPS6586X is not set +# CONFIG_MFD_TPS80031 is not set +# CONFIG_TWL4030_CORE is not set +# CONFIG_TWL6040_CORE is not set +# CONFIG_MFD_WL1273_CORE is not set +# CONFIG_MFD_LM3533 is not set +# CONFIG_MFD_TC3589X is not set +# CONFIG_MFD_TMIO is not set +# CONFIG_MFD_VX855 is not set +# CONFIG_MFD_ARIZONA_I2C is not set # CONFIG_MFD_WM8400 is not set # CONFIG_MFD_WM831X_I2C is not set # CONFIG_MFD_WM8350_I2C is not set # CONFIG_MFD_WM8994 is not set -# CONFIG_MFD_PCF50633 is not set -# CONFIG_ABX500_CORE is not set -# CONFIG_MFD_CS5535 is not set -# CONFIG_LPC_SCH is not set -# CONFIG_MFD_RDC321X is not set -# CONFIG_MFD_JANZ_CMODIO is not set -# CONFIG_MFD_VX855 is not set -# CONFIG_MFD_WL1273_CORE is not set # CONFIG_REGULATOR is not set # CONFIG_MEDIA_SUPPORT is not set @@ -1801,7 +2099,6 @@ CONFIG_VGA_ARB=y CONFIG_VGA_ARB_MAX_GPUS=16 # CONFIG_VGA_SWITCHEROO is not set # CONFIG_DRM is not set -# CONFIG_STUB_POULSBO is not set # CONFIG_VGASTATE is not set # CONFIG_VIDEO_OUTPUT_CONTROL is not set CONFIG_FB=y @@ -1817,7 +2114,6 @@ CONFIG_FB_CFB_IMAGEBLIT=m # CONFIG_FB_SYS_IMAGEBLIT is not set # CONFIG_FB_FOREIGN_ENDIAN is not set # CONFIG_FB_SYS_FOPS is not set -# CONFIG_FB_WMT_GE_ROPS is not set # CONFIG_FB_SVGALIB is not set # CONFIG_FB_MACMODES is not set # CONFIG_FB_BACKLIGHT is not set @@ -1841,6 +2137,7 @@ CONFIG_FB_UVESA=m # CONFIG_FB_S1D13XXX is not set # CONFIG_FB_NVIDIA is not set # CONFIG_FB_RIVA is not set +# CONFIG_FB_I740 is not set # CONFIG_FB_LE80578 is not set # CONFIG_FB_MATROX is not set # CONFIG_FB_RADEON is not set @@ -1860,18 +2157,17 @@ CONFIG_FB_UVESA=m # CONFIG_FB_PM3 is not set # CONFIG_FB_CARMINE is not set # CONFIG_FB_GEODE is not set +# CONFIG_FB_SMSCUFX is not set # CONFIG_FB_UDL is not set +# CONFIG_FB_GOLDFISH is not set # CONFIG_FB_VIRTUAL is not set # CONFIG_FB_METRONOME is not set # CONFIG_FB_MB862XX is not set # CONFIG_FB_BROADSHEET is not set +# CONFIG_FB_AUO_K190X is not set +# CONFIG_EXYNOS_VIDEO is not set # CONFIG_BACKLIGHT_LCD_SUPPORT is not set -# -# Display device support -# -# CONFIG_DISPLAY_SUPPORT is not set - # # Console display driver support # @@ -1900,6 +2196,7 @@ CONFIG_SND_VERBOSE_PROCFS=y # CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_DEBUG is not set CONFIG_SND_VMASTER=y +CONFIG_SND_KCTL_JACK=y CONFIG_SND_DMA_SGBUF=y # CONFIG_SND_RAWMIDI_SEQ is not set # CONFIG_SND_OPL3_LIB_SEQ is not set @@ -1957,6 +2254,7 @@ CONFIG_SND_PCI=y # CONFIG_SND_ES1968 is not set # CONFIG_SND_FM801 is not set CONFIG_SND_HDA_INTEL=y +CONFIG_SND_HDA_PREALLOC_SIZE=64 # CONFIG_SND_HDA_HWDEP is not set # CONFIG_SND_HDA_INPUT_BEEP is not set # CONFIG_SND_HDA_INPUT_JACK is not set @@ -1969,10 +2267,12 @@ CONFIG_SND_HDA_CODEC_HDMI=y CONFIG_SND_HDA_CODEC_CIRRUS=y CONFIG_SND_HDA_CODEC_CONEXANT=y CONFIG_SND_HDA_CODEC_CA0110=y +CONFIG_SND_HDA_CODEC_CA0132=y +# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set CONFIG_SND_HDA_CODEC_CMEDIA=y CONFIG_SND_HDA_CODEC_SI3054=y CONFIG_SND_HDA_GENERIC=y -# CONFIG_SND_HDA_POWER_SAVE is not set +CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0 # CONFIG_SND_HDSP is not set # CONFIG_SND_HDSPM is not set # CONFIG_SND_ICE1712 is not set @@ -1980,6 +2280,7 @@ CONFIG_SND_HDA_GENERIC=y # CONFIG_SND_INTEL8X0 is not set # CONFIG_SND_INTEL8X0M is not set # CONFIG_SND_KORG1212 is not set +# CONFIG_SND_LOLA is not set # CONFIG_SND_LX6464ES is not set # CONFIG_SND_MAESTRO3 is not set # CONFIG_SND_MIXART is not set @@ -2006,44 +2307,47 @@ CONFIG_SND_USB=y # CONFIG_SND_USB_6FIRE is not set # CONFIG_SND_SOC is not set # CONFIG_SOUND_PRIME is not set -CONFIG_HID_SUPPORT=y -CONFIG_HID=y -# CONFIG_HIDRAW is not set # -# USB Input Devices +# HID support # -CONFIG_USB_HID=y -# CONFIG_HID_PID is not set -CONFIG_USB_HIDDEV=y +CONFIG_HID=y +# CONFIG_HID_BATTERY_STRENGTH is not set +# CONFIG_HIDRAW is not set +# CONFIG_UHID is not set +CONFIG_HID_GENERIC=y # # Special HID drivers # -# CONFIG_HID_3M_PCT is not set # CONFIG_HID_A4TECH is not set # CONFIG_HID_ACRUX is not set # CONFIG_HID_APPLE is not set +# CONFIG_HID_APPLEIR is not set +# CONFIG_HID_AUREAL is not set # CONFIG_HID_BELKIN is not set -# CONFIG_HID_CANDO is not set # CONFIG_HID_CHERRY is not set # CONFIG_HID_CHICONY is not set # CONFIG_HID_PRODIKEYS is not set # CONFIG_HID_CYPRESS is not set # CONFIG_HID_DRAGONRISE is not set # CONFIG_HID_EMS_FF is not set +# CONFIG_HID_ELECOM is not set # CONFIG_HID_EZKEY is not set +# CONFIG_HID_HOLTEK is not set # CONFIG_HID_KEYTOUCH is not set # CONFIG_HID_KYE is not set # CONFIG_HID_UCLOGIC is not set # CONFIG_HID_WALTOP is not set # CONFIG_HID_GYRATION is not set +# CONFIG_HID_ICADE is not set # CONFIG_HID_TWINHAN is not set # CONFIG_HID_KENSINGTON is not set # CONFIG_HID_LCPOWER is not set +# CONFIG_HID_LENOVO_TPKBD is not set # CONFIG_HID_LOGITECH is not set +# CONFIG_HID_MAGICMOUSE is not set # CONFIG_HID_MICROSOFT is not set -# CONFIG_HID_MOSART is not set # CONFIG_HID_MONTEREY is not set # CONFIG_HID_MULTITOUCH is not set # CONFIG_HID_NTRIG is not set @@ -2051,27 +2355,44 @@ CONFIG_USB_HIDDEV=y # CONFIG_HID_PANTHERLORD is not set # CONFIG_HID_PETALYNX is not set # CONFIG_HID_PICOLCD is not set -# CONFIG_HID_QUANTA is not set +# CONFIG_HID_PRIMAX is not set +# CONFIG_HID_PS3REMOTE is not set # CONFIG_HID_ROCCAT is not set -# CONFIG_HID_ROCCAT_ARVO is not set -# CONFIG_HID_ROCCAT_KONE is not set -# CONFIG_HID_ROCCAT_KONEPLUS is not set -# CONFIG_HID_ROCCAT_KOVAPLUS is not set -# CONFIG_HID_ROCCAT_PYRA is not set +# CONFIG_HID_SAITEK is not set # CONFIG_HID_SAMSUNG is not set # CONFIG_HID_SONY is not set -# CONFIG_HID_STANTUM is not set +# CONFIG_HID_SPEEDLINK is not set +# CONFIG_HID_STEELSERIES is not set # CONFIG_HID_SUNPLUS is not set # CONFIG_HID_GREENASIA is not set # CONFIG_HID_SMARTJOYPLUS is not set +# CONFIG_HID_TIVO is not set # CONFIG_HID_TOPSEED is not set +# CONFIG_HID_THINGM is not set # CONFIG_HID_THRUSTMASTER is not set +# CONFIG_HID_WACOM is not set +# CONFIG_HID_WIIMOTE is not set # CONFIG_HID_ZEROPLUS is not set # CONFIG_HID_ZYDACRON is not set -CONFIG_USB_SUPPORT=y -CONFIG_USB_ARCH_HAS_HCD=y +# CONFIG_HID_SENSOR_HUB is not set + +# +# USB HID support +# +CONFIG_USB_HID=y +# CONFIG_HID_PID is not set +CONFIG_USB_HIDDEV=y + +# +# I2C HID support +# +# CONFIG_I2C_HID is not set CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y +CONFIG_USB_ARCH_HAS_XHCI=y +CONFIG_USB_SUPPORT=y +CONFIG_USB_COMMON=y +CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB=y # CONFIG_USB_DEBUG is not set CONFIG_USB_ANNOUNCE_NEW_DEVICES=y @@ -2079,13 +2400,11 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y # # Miscellaneous USB options # -CONFIG_USB_DEVICEFS=y -CONFIG_USB_DEVICE_CLASS=y +CONFIG_USB_DEFAULT_PERSIST=y # CONFIG_USB_DYNAMIC_MINORS is not set # CONFIG_USB_OTG_WHITELIST is not set # CONFIG_USB_OTG_BLACKLIST_HUB is not set # CONFIG_USB_MON is not set -# CONFIG_USB_WUSB is not set # CONFIG_USB_WUSB_CBAF is not set # @@ -2094,19 +2413,22 @@ CONFIG_USB_DEVICE_CLASS=y # CONFIG_USB_C67X00_HCD is not set # CONFIG_USB_XHCI_HCD is not set CONFIG_USB_EHCI_HCD=y +# CONFIG_USB_EHCI_ROOT_HUB_TT is not set +CONFIG_USB_EHCI_TT_NEWSCHED=y +CONFIG_USB_EHCI_PCI=y +# CONFIG_USB_EHCI_HCD_PLATFORM is not set # CONFIG_USB_OXU210HP_HCD is not set # CONFIG_USB_ISP116X_HCD is not set # CONFIG_USB_ISP1760_HCD is not set # CONFIG_USB_ISP1362_HCD is not set CONFIG_USB_OHCI_HCD=y +# CONFIG_USB_OHCI_HCD_PLATFORM is not set # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_UHCI_HCD=y # CONFIG_USB_SL811_HCD is not set # CONFIG_USB_R8A66597_HCD is not set -# CONFIG_USB_WHCI_HCD is not set -# CONFIG_USB_HWA_HCD is not set # # USB Device Class drivers @@ -2138,21 +2460,20 @@ CONFIG_USB_STORAGE=y # CONFIG_USB_STORAGE_KARMA is not set # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set # CONFIG_USB_STORAGE_ENE_UB6250 is not set -# CONFIG_USB_UAS is not set -# CONFIG_USB_LIBUSUAL is not set # # USB Imaging devices # # CONFIG_USB_MDC800 is not set # CONFIG_USB_MICROTEK is not set +# CONFIG_USB_DWC3 is not set +# CONFIG_USB_CHIPIDEA is not set # # USB port drivers # CONFIG_USB_SERIAL=y CONFIG_USB_SERIAL_CONSOLE=y -CONFIG_USB_EZUSB=y CONFIG_USB_SERIAL_GENERIC=y # CONFIG_USB_SERIAL_AIRCABLE is not set # CONFIG_USB_SERIAL_ARK3116 is not set @@ -2170,6 +2491,7 @@ CONFIG_USB_SERIAL_FTDI_SIO=y # CONFIG_USB_SERIAL_IR is not set # CONFIG_USB_SERIAL_EDGEPORT is not set # CONFIG_USB_SERIAL_EDGEPORT_TI is not set +# CONFIG_USB_SERIAL_F81232 is not set # CONFIG_USB_SERIAL_GARMIN is not set # CONFIG_USB_SERIAL_IPW is not set # CONFIG_USB_SERIAL_IUU is not set @@ -2178,6 +2500,7 @@ CONFIG_USB_SERIAL_FTDI_SIO=y # CONFIG_USB_SERIAL_KLSI is not set # CONFIG_USB_SERIAL_KOBIL_SCT is not set # CONFIG_USB_SERIAL_MCT_U232 is not set +# CONFIG_USB_SERIAL_METRO is not set # CONFIG_USB_SERIAL_MOS7720 is not set # CONFIG_USB_SERIAL_MOS7840 is not set # CONFIG_USB_SERIAL_MOTOROLA is not set @@ -2189,7 +2512,6 @@ CONFIG_USB_SERIAL_PL2303=y # CONFIG_USB_SERIAL_SPCP8X5 is not set # CONFIG_USB_SERIAL_HP4X is not set # CONFIG_USB_SERIAL_SAFE is not set -# CONFIG_USB_SERIAL_SAMBA is not set # CONFIG_USB_SERIAL_SIEMENS_MPI is not set # CONFIG_USB_SERIAL_SIERRAWIRELESS is not set # CONFIG_USB_SERIAL_SYMBOL is not set @@ -2200,8 +2522,12 @@ CONFIG_USB_SERIAL_PL2303=y # CONFIG_USB_SERIAL_OMNINET is not set # CONFIG_USB_SERIAL_OPTICON is not set # CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set +# CONFIG_USB_SERIAL_XSENS_MT is not set # CONFIG_USB_SERIAL_ZIO is not set +# CONFIG_USB_SERIAL_WISHBONE is not set +# CONFIG_USB_SERIAL_ZTE is not set # CONFIG_USB_SERIAL_SSU100 is not set +# CONFIG_USB_SERIAL_QT2 is not set # CONFIG_USB_SERIAL_DEBUG is not set # @@ -2220,19 +2546,18 @@ CONFIG_USB_SERIAL_PL2303=y # CONFIG_USB_IDMOUSE is not set # CONFIG_USB_FTDI_ELAN is not set # CONFIG_USB_APPLEDISPLAY is not set +# CONFIG_USB_SISUSBVGA is not set # CONFIG_USB_LD is not set # CONFIG_USB_TRANCEVIBRATOR is not set # CONFIG_USB_IOWARRIOR is not set # CONFIG_USB_TEST is not set # CONFIG_USB_ISIGHTFW is not set # CONFIG_USB_YUREX is not set +# CONFIG_USB_EZUSB_FX2 is not set +# CONFIG_USB_HSIC_USB3503 is not set # CONFIG_USB_ATM is not set +# CONFIG_USB_PHY is not set # CONFIG_USB_GADGET is not set - -# -# OTG and related infrastructure -# -# CONFIG_NOP_USB_XCEIV is not set # CONFIG_UWB is not set # CONFIG_MMC is not set # CONFIG_MEMSTICK is not set @@ -2243,35 +2568,45 @@ CONFIG_LEDS_CLASS=y # LED drivers # # CONFIG_LEDS_LM3530 is not set -# CONFIG_LEDS_ALIX2 is not set +# CONFIG_LEDS_LM3642 is not set # CONFIG_LEDS_PCA9532 is not set # CONFIG_LEDS_LP3944 is not set # CONFIG_LEDS_LP5521 is not set # CONFIG_LEDS_LP5523 is not set +# CONFIG_LEDS_LP5562 is not set # CONFIG_LEDS_CLEVO_MAIL is not set # CONFIG_LEDS_PCA955X is not set +# CONFIG_LEDS_PCA9633 is not set # CONFIG_LEDS_BD2802 is not set # CONFIG_LEDS_INTEL_SS4200 is not set -CONFIG_LEDS_TRIGGERS=y +# CONFIG_LEDS_TCA6507 is not set +# CONFIG_LEDS_LM355x is not set +# CONFIG_LEDS_OT200 is not set +# CONFIG_LEDS_BLINKM is not set # # LED Triggers # +CONFIG_LEDS_TRIGGERS=y # CONFIG_LEDS_TRIGGER_TIMER is not set +# CONFIG_LEDS_TRIGGER_ONESHOT is not set # CONFIG_LEDS_TRIGGER_HEARTBEAT is not set # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set +# CONFIG_LEDS_TRIGGER_CPU is not set # CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set # # iptables trigger is under Netfilter config (LED target) # -# CONFIG_NFC_DEVICES is not set +# CONFIG_LEDS_TRIGGER_TRANSIENT is not set +# CONFIG_LEDS_TRIGGER_CAMERA is not set # CONFIG_ACCESSIBILITY is not set # CONFIG_INFINIBAND is not set # CONFIG_EDAC is not set CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y +CONFIG_RTC_SYSTOHC=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" # CONFIG_RTC_DEBUG is not set @@ -2296,6 +2631,7 @@ CONFIG_RTC_INTF_DEV=y # CONFIG_RTC_DRV_ISL1208 is not set # CONFIG_RTC_DRV_ISL12022 is not set # CONFIG_RTC_DRV_X1205 is not set +# CONFIG_RTC_DRV_PCF8523 is not set # CONFIG_RTC_DRV_PCF8563 is not set # CONFIG_RTC_DRV_PCF8583 is not set # CONFIG_RTC_DRV_M41T80 is not set @@ -2304,6 +2640,8 @@ CONFIG_RTC_INTF_DEV=y # CONFIG_RTC_DRV_FM3130 is not set # CONFIG_RTC_DRV_RX8581 is not set # CONFIG_RTC_DRV_RX8025 is not set +# CONFIG_RTC_DRV_EM3027 is not set +# CONFIG_RTC_DRV_RV3029C2 is not set # # SPI RTC drivers @@ -2325,28 +2663,76 @@ CONFIG_RTC_DRV_CMOS=y # CONFIG_RTC_DRV_BQ4802 is not set # CONFIG_RTC_DRV_RP5C01 is not set # CONFIG_RTC_DRV_V3020 is not set +# CONFIG_RTC_DRV_DS2404 is not set # # on-CPU RTC drivers # + +# +# HID Sensor RTC drivers +# +# CONFIG_RTC_DRV_HID_SENSOR_TIME is not set # CONFIG_DMADEVICES is not set # CONFIG_AUXDISPLAY is not set # CONFIG_UIO is not set +# CONFIG_VIRT_DRIVERS is not set + +# +# Virtio drivers +# +# CONFIG_VIRTIO_PCI is not set +# CONFIG_VIRTIO_MMIO is not set + +# +# Microsoft Hyper-V guest support +# # CONFIG_STAGING is not set CONFIG_X86_PLATFORM_DEVICES=y +# CONFIG_ACERHDF is not set # CONFIG_ASUS_LAPTOP is not set +# CONFIG_CHROMEOS_LAPTOP is not set +# CONFIG_FUJITSU_TABLET is not set # CONFIG_HP_ACCEL is not set # CONFIG_THINKPAD_ACPI is not set # CONFIG_SENSORS_HDAPS is not set # CONFIG_INTEL_MENLOW is not set # CONFIG_ACPI_WMI is not set -# CONFIG_ACPI_ASUS is not set # CONFIG_TOPSTAR_LAPTOP is not set # CONFIG_TOSHIBA_BT_RFKILL is not set # CONFIG_ACPI_CMPC is not set # CONFIG_INTEL_IPS is not set # CONFIG_IBM_RTL is not set # CONFIG_XO15_EBOOK is not set +# CONFIG_SAMSUNG_Q10 is not set +# CONFIG_PVPANIC is not set + +# +# Hardware Spinlock drivers +# +CONFIG_CLKSRC_I8253=y +CONFIG_CLKEVT_I8253=y +CONFIG_I8253_LOCK=y +CONFIG_CLKBLD_I8253=y +# CONFIG_MAILBOX is not set +CONFIG_IOMMU_SUPPORT=y + +# +# Remoteproc drivers +# +# CONFIG_STE_MODEM_RPROC is not set + +# +# Rpmsg drivers +# +# CONFIG_PM_DEVFREQ is not set +# CONFIG_EXTCON is not set +# CONFIG_MEMORY is not set +# CONFIG_IIO is not set +# CONFIG_VME_BUS is not set +# CONFIG_PWM is not set +# CONFIG_IPACK_BUS is not set +# CONFIG_RESET_CONTROLLER is not set # # Firmware Drivers @@ -2358,11 +2744,12 @@ CONFIG_FIRMWARE_MEMMAP=y CONFIG_DMIID=y # CONFIG_DMI_SYSFS is not set # CONFIG_ISCSI_IBFT_FIND is not set -# CONFIG_SIGMA is not set +# CONFIG_GOOGLE_FIRMWARE is not set # # File systems # +CONFIG_DCACHE_WORD_ACCESS=y CONFIG_EXT2_FS=y CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y @@ -2374,13 +2761,12 @@ CONFIG_EXT3_FS_XATTR=y CONFIG_EXT3_FS_POSIX_ACL=y # CONFIG_EXT3_FS_SECURITY is not set CONFIG_EXT4_FS=y -CONFIG_EXT4_FS_XATTR=y CONFIG_EXT4_FS_POSIX_ACL=y # CONFIG_EXT4_FS_SECURITY is not set # CONFIG_EXT4_DEBUG is not set CONFIG_JBD=y # CONFIG_JBD_DEBUG is not set -CONFIG_JBD2=m +CONFIG_JBD2=y # CONFIG_JBD2_DEBUG is not set CONFIG_FS_MBCACHE=y CONFIG_REISERFS_FS=m @@ -2447,6 +2833,7 @@ CONFIG_PROC_PAGE_MONITOR=y CONFIG_SYSFS=y CONFIG_TMPFS=y # CONFIG_TMPFS_POSIX_ACL is not set +# CONFIG_TMPFS_XATTR is not set # CONFIG_HUGETLBFS is not set # CONFIG_HUGETLB_PAGE is not set CONFIG_CONFIGFS_FS=m @@ -2467,28 +2854,32 @@ CONFIG_MINIX_FS=m # CONFIG_OMFS_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set +# CONFIG_QNX6FS_FS is not set CONFIG_ROMFS_FS=m CONFIG_ROMFS_BACKED_BY_BLOCK=y CONFIG_ROMFS_ON_BLOCK=y # CONFIG_PSTORE is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set +# CONFIG_F2FS_FS is not set CONFIG_NETWORK_FILESYSTEMS=y CONFIG_NFS_FS=y +CONFIG_NFS_V2=y CONFIG_NFS_V3=y # CONFIG_NFS_V3_ACL is not set CONFIG_NFS_V4=y +# CONFIG_NFS_SWAP is not set # CONFIG_NFS_V4_1 is not set CONFIG_ROOT_NFS=y # CONFIG_NFS_USE_LEGACY_DNS is not set CONFIG_NFS_USE_KERNEL_DNS=y -# CONFIG_NFS_USE_NEW_IDMAPPER is not set # CONFIG_NFSD is not set CONFIG_LOCKD=y CONFIG_LOCKD_V4=y CONFIG_NFS_COMMON=y CONFIG_SUNRPC=y CONFIG_SUNRPC_GSS=y +# CONFIG_SUNRPC_DEBUG is not set # CONFIG_CEPH_FS is not set CONFIG_CIFS=m # CONFIG_CIFS_STATS is not set @@ -2496,19 +2887,14 @@ CONFIG_CIFS=m # CONFIG_CIFS_UPCALL is not set CONFIG_CIFS_XATTR=y CONFIG_CIFS_POSIX=y +# CONFIG_CIFS_ACL is not set +CONFIG_CIFS_DEBUG=y # CONFIG_CIFS_DEBUG2 is not set # CONFIG_CIFS_DFS_UPCALL is not set -# CONFIG_CIFS_ACL is not set -# CONFIG_CIFS_EXPERIMENTAL is not set +# CONFIG_CIFS_SMB2 is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set - -# -# Partition Types -# -# CONFIG_PARTITION_ADVANCED is not set -CONFIG_MSDOS_PARTITION=y CONFIG_NLS=y CONFIG_NLS_DEFAULT="iso8859-1" CONFIG_NLS_CODEPAGE_437=m @@ -2548,6 +2934,17 @@ CONFIG_NLS_ISO8859_14=m CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m +# CONFIG_NLS_MAC_ROMAN is not set +# CONFIG_NLS_MAC_CELTIC is not set +# CONFIG_NLS_MAC_CENTEURO is not set +# CONFIG_NLS_MAC_CROATIAN is not set +# CONFIG_NLS_MAC_CYRILLIC is not set +# CONFIG_NLS_MAC_GAELIC is not set +# CONFIG_NLS_MAC_GREEK is not set +# CONFIG_NLS_MAC_ICELAND is not set +# CONFIG_NLS_MAC_INUIT is not set +# CONFIG_NLS_MAC_ROMANIAN is not set +# CONFIG_NLS_MAC_TURKISH is not set CONFIG_NLS_UTF8=m # CONFIG_DLM is not set @@ -2562,6 +2959,7 @@ CONFIG_ENABLE_MUST_CHECK=y CONFIG_FRAME_WARN=1024 CONFIG_MAGIC_SYSRQ=y # CONFIG_STRIP_ASM_SYMS is not set +# CONFIG_READABLE_ASM is not set CONFIG_UNUSED_SYMBOLS=y CONFIG_DEBUG_FS=y # CONFIG_HEADERS_CHECK is not set @@ -2569,7 +2967,8 @@ CONFIG_DEBUG_FS=y CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_SHIRQ is not set # CONFIG_LOCKUP_DETECTOR is not set -# CONFIG_HARDLOCKUP_DETECTOR is not set +# CONFIG_PANIC_ON_OOPS is not set +CONFIG_PANIC_ON_OOPS_VALUE=0 # CONFIG_DETECT_HUNG_TASK is not set CONFIG_SCHED_DEBUG=y CONFIG_SCHEDSTATS=y @@ -2577,6 +2976,7 @@ CONFIG_TIMER_STATS=y # CONFIG_DEBUG_OBJECTS is not set # CONFIG_SLUB_DEBUG_ON is not set # CONFIG_SLUB_STATS is not set +CONFIG_HAVE_DEBUG_KMEMLEAK=y # CONFIG_DEBUG_KMEMLEAK is not set CONFIG_DEBUG_PREEMPT=y # CONFIG_DEBUG_RT_MUTEXES is not set @@ -2585,11 +2985,11 @@ CONFIG_DEBUG_PREEMPT=y # CONFIG_DEBUG_MUTEXES is not set # CONFIG_DEBUG_LOCK_ALLOC is not set # CONFIG_PROVE_LOCKING is not set -# CONFIG_SPARSE_RCU_POINTER is not set # CONFIG_LOCK_STAT is not set -# CONFIG_DEBUG_SPINLOCK_SLEEP is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set CONFIG_STACKTRACE=y +# CONFIG_DEBUG_STACK_USAGE is not set # CONFIG_DEBUG_KOBJECT is not set # CONFIG_DEBUG_HIGHMEM is not set CONFIG_DEBUG_BUGVERBOSE=y @@ -2607,35 +3007,42 @@ CONFIG_DEBUG_INFO=y CONFIG_ARCH_WANT_FRAME_POINTERS=y CONFIG_FRAME_POINTER=y # CONFIG_BOOT_PRINTK_DELAY is not set + +# +# RCU Debugging +# +# CONFIG_PROVE_RCU_DELAY is not set +# CONFIG_SPARSE_RCU_POINTER is not set # CONFIG_RCU_TORTURE_TEST is not set -CONFIG_RCU_CPU_STALL_DETECTOR=y CONFIG_RCU_CPU_STALL_TIMEOUT=60 -CONFIG_RCU_CPU_STALL_DETECTOR_RUNNABLE=y CONFIG_RCU_CPU_STALL_VERBOSE=y +# CONFIG_RCU_CPU_STALL_INFO is not set +# CONFIG_RCU_TRACE is not set # CONFIG_KPROBES_SANITY_TEST is not set # CONFIG_BACKTRACE_SELF_TEST is not set # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set # CONFIG_LKDTM is not set +# CONFIG_NOTIFIER_ERROR_INJECTION is not set # CONFIG_FAULT_INJECTION is not set CONFIG_LATENCYTOP=y -# CONFIG_SYSCTL_SYSCALL_CHECK is not set +CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS=y +# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set # CONFIG_DEBUG_PAGEALLOC is not set CONFIG_USER_STACKTRACE_SUPPORT=y CONFIG_NOP_TRACER=y -CONFIG_HAVE_FTRACE_NMI_ENTER=y CONFIG_HAVE_FUNCTION_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_HAVE_SYSCALL_TRACEPOINTS=y CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_TRACE_CLOCK=y CONFIG_RING_BUFFER=y -CONFIG_FTRACE_NMI_ENTER=y CONFIG_EVENT_TRACING=y -CONFIG_EVENT_POWER_TRACING_DEPRECATED=y CONFIG_CONTEXT_SWITCH_TRACER=y CONFIG_RING_BUFFER_ALLOW_SWAP=y CONFIG_TRACING=y @@ -2648,18 +3055,25 @@ CONFIG_FUNCTION_GRAPH_TRACER=y # CONFIG_PREEMPT_TRACER is not set # CONFIG_SCHED_TRACER is not set # CONFIG_FTRACE_SYSCALLS is not set +# CONFIG_TRACER_SNAPSHOT is not set CONFIG_BRANCH_PROFILE_NONE=y # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set # CONFIG_PROFILE_ALL_BRANCHES is not set # CONFIG_STACK_TRACER is not set # CONFIG_BLK_DEV_IO_TRACE is not set CONFIG_KPROBE_EVENT=y +# CONFIG_UPROBE_EVENT is not set +CONFIG_PROBE_EVENTS=y CONFIG_DYNAMIC_FTRACE=y +CONFIG_DYNAMIC_FTRACE_WITH_REGS=y # CONFIG_FUNCTION_PROFILER is not set CONFIG_FTRACE_MCOUNT_RECORD=y # CONFIG_FTRACE_STARTUP_TEST is not set # CONFIG_MMIOTRACE is not set # CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_RING_BUFFER_STARTUP_TEST is not set +# CONFIG_RBTREE_TEST is not set +# CONFIG_INTERVAL_TREE_TEST is not set # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set # CONFIG_DYNAMIC_DEBUG is not set # CONFIG_DMA_API_DEBUG is not set @@ -2672,18 +3086,19 @@ CONFIG_KGDB_SERIAL_CONSOLE=y # CONFIG_KGDB_LOW_LEVEL_TRAP is not set # CONFIG_KGDB_KDB is not set CONFIG_HAVE_ARCH_KMEMCHECK=y +# CONFIG_TEST_STRING_HELPERS is not set # CONFIG_TEST_KSTRTOX is not set # CONFIG_STRICT_DEVMEM is not set CONFIG_X86_VERBOSE_BOOTUP=y CONFIG_EARLY_PRINTK=y # CONFIG_EARLY_PRINTK_DBGP is not set # CONFIG_DEBUG_STACKOVERFLOW is not set -# CONFIG_DEBUG_STACK_USAGE is not set # CONFIG_X86_PTDUMP is not set # CONFIG_DEBUG_RODATA is not set # CONFIG_DEBUG_SET_MODULE_RONX is not set # CONFIG_DEBUG_NX_TEST is not set CONFIG_DOUBLEFAULT=y +# CONFIG_DEBUG_TLBFLUSH is not set # CONFIG_IOMMU_STRESS is not set CONFIG_HAVE_MMIOTRACE_SUPPORT=y # CONFIG_X86_DECODER_SELFTEST is not set @@ -2699,21 +3114,25 @@ CONFIG_DEFAULT_IO_DELAY_TYPE=0 # CONFIG_DEBUG_BOOT_PARAMS is not set # CONFIG_CPA_DEBUG is not set # CONFIG_OPTIMIZE_INLINING is not set -# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set +# CONFIG_DEBUG_NMI_SELFTEST is not set # # Security options # CONFIG_KEYS=y +# CONFIG_ENCRYPTED_KEYS is not set # CONFIG_KEYS_DEBUG_PROC_KEYS is not set # CONFIG_SECURITY_DMESG_RESTRICT is not set CONFIG_SECURITY=y # CONFIG_SECURITYFS is not set # CONFIG_SECURITY_NETWORK is not set # CONFIG_SECURITY_PATH is not set +# CONFIG_SECURITY_SMACK is not set # CONFIG_SECURITY_TOMOYO is not set # CONFIG_SECURITY_APPARMOR is not set +# CONFIG_SECURITY_YAMA is not set # CONFIG_IMA is not set +# CONFIG_EVM is not set CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_DEFAULT_SECURITY="" CONFIG_CRYPTO=y @@ -2734,6 +3153,7 @@ CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_PCOMP2=y CONFIG_CRYPTO_MANAGER=y CONFIG_CRYPTO_MANAGER2=y +# CONFIG_CRYPTO_USER is not set CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y # CONFIG_CRYPTO_GF128MUL is not set CONFIG_CRYPTO_NULL=m @@ -2763,6 +3183,7 @@ CONFIG_CRYPTO_ECB=y # # Hash modes # +# CONFIG_CRYPTO_CMAC is not set CONFIG_CRYPTO_HMAC=y # CONFIG_CRYPTO_XCBC is not set # CONFIG_CRYPTO_VMAC is not set @@ -2770,8 +3191,10 @@ CONFIG_CRYPTO_HMAC=y # # Digest # -CONFIG_CRYPTO_CRC32C=m +CONFIG_CRYPTO_CRC32C=y # CONFIG_CRYPTO_CRC32C_INTEL is not set +# CONFIG_CRYPTO_CRC32 is not set +# CONFIG_CRYPTO_CRC32_PCLMUL is not set # CONFIG_CRYPTO_GHASH is not set CONFIG_CRYPTO_MD4=m CONFIG_CRYPTO_MD5=y @@ -2795,7 +3218,9 @@ CONFIG_CRYPTO_AES=y CONFIG_CRYPTO_ANUBIS=m CONFIG_CRYPTO_ARC4=y CONFIG_CRYPTO_BLOWFISH=m +CONFIG_CRYPTO_BLOWFISH_COMMON=m # CONFIG_CRYPTO_CAMELLIA is not set +CONFIG_CRYPTO_CAST_COMMON=m CONFIG_CRYPTO_CAST5=m CONFIG_CRYPTO_CAST6=m CONFIG_CRYPTO_DES=y @@ -2805,6 +3230,7 @@ CONFIG_CRYPTO_KHAZAD=m # CONFIG_CRYPTO_SALSA20_586 is not set # CONFIG_CRYPTO_SEED is not set CONFIG_CRYPTO_SERPENT=m +# CONFIG_CRYPTO_SERPENT_SSE2_586 is not set CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_TWOFISH_COMMON=m @@ -2827,29 +3253,36 @@ CONFIG_CRYPTO_HW=y # CONFIG_CRYPTO_DEV_PADLOCK is not set # CONFIG_CRYPTO_DEV_GEODE is not set # CONFIG_CRYPTO_DEV_HIFN_795X is not set +# CONFIG_ASYMMETRIC_KEY_TYPE is not set CONFIG_HAVE_KVM=y CONFIG_VIRTUALIZATION=y # CONFIG_KVM is not set -# CONFIG_VHOST_NET is not set # CONFIG_LGUEST is not set -# CONFIG_VIRTIO_PCI is not set -# CONFIG_VIRTIO_BALLOON is not set CONFIG_BINARY_PRINTF=y # # Library routines # CONFIG_BITREVERSE=y +CONFIG_GENERIC_STRNCPY_FROM_USER=y +CONFIG_GENERIC_STRNLEN_USER=y CONFIG_GENERIC_FIND_FIRST_BIT=y -CONFIG_GENERIC_FIND_NEXT_BIT=y -CONFIG_GENERIC_FIND_LAST_BIT=y +CONFIG_GENERIC_PCI_IOMAP=y +CONFIG_GENERIC_IOMAP=y +CONFIG_GENERIC_IO=y CONFIG_CRC_CCITT=y -CONFIG_CRC16=m +CONFIG_CRC16=y # CONFIG_CRC_T10DIF is not set # CONFIG_CRC_ITU_T is not set CONFIG_CRC32=y +# CONFIG_CRC32_SELFTEST is not set +CONFIG_CRC32_SLICEBY8=y +# CONFIG_CRC32_SLICEBY4 is not set +# CONFIG_CRC32_SARWATE is not set +# CONFIG_CRC32_BIT is not set # CONFIG_CRC7 is not set CONFIG_LIBCRC32C=m +# CONFIG_CRC8 is not set CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=m # CONFIG_XZ_DEC is not set @@ -2862,5 +3295,11 @@ CONFIG_TEXTSEARCH_FSM=m CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_DMA=y +CONFIG_CHECK_SIGNATURE=y +CONFIG_DQL=y CONFIG_NLATTR=y +CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y CONFIG_AVERAGE=y +# CONFIG_CORDIC is not set +# CONFIG_DDR is not set +CONFIG_OID_REGISTRY=y From 3213964e17a19cebc28411a713cc595cc133845a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 16 May 2014 14:17:47 +0200 Subject: [PATCH 277/908] linux-sysmocom: Enable SMP support for sysmocom-bsc The new sysmocomNITB product is using a SMP capable system that is needed for some more transcoding power. Enable SMP in the kernel. --- .../linux-sysmocom/sysmocom-bsc/defconfig | 37 +++++++++++++++---- recipes-bsp/linux/linux-sysmocom_git.bb | 2 +- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig index ee9c06627c..dc9ff0b2ed 100644 --- a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig @@ -31,8 +31,11 @@ CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_AUDIT_ARCH is not set CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y +CONFIG_X86_32_SMP=y +CONFIG_X86_HT=y CONFIG_X86_32_LAZY_GS=y CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-ecx -fcall-saved-edx" +CONFIG_ARCH_CPU_PROBE_RELEASE=y CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_IRQ_WORK=y @@ -41,7 +44,6 @@ CONFIG_BUILDTIME_EXTABLE_SORT=y # # General setup # -CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_CROSS_COMPILE="" CONFIG_LOCALVERSION="-yocto-standard" @@ -72,6 +74,7 @@ CONFIG_HAVE_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_GENERIC_PENDING_IRQ=y CONFIG_IRQ_FORCED_THREADING=y CONFIG_SPARSE_IRQ=y CONFIG_CLOCKSOURCE_WATCHDOG=y @@ -203,6 +206,7 @@ CONFIG_HAVE_KPROBES_ON_FTRACE=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y CONFIG_HAVE_DMA_CONTIGUOUS=y +CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_GENERIC_SMP_IDLE_THREAD=y CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y CONFIG_HAVE_DMA_API_DEBUG=y @@ -242,6 +246,7 @@ CONFIG_MODULE_UNLOAD=y # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set # CONFIG_MODULE_SIG is not set +CONFIG_STOP_MACHINE=y CONFIG_BLOCK=y CONFIG_LBDAF=y CONFIG_BLK_DEV_BSG=y @@ -266,19 +271,22 @@ CONFIG_DEFAULT_CFQ=y # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="cfq" CONFIG_UNINLINE_SPIN_UNLOCK=y +CONFIG_MUTEX_SPIN_ON_OWNER=y CONFIG_FREEZER=y # # Processor type and features # CONFIG_ZONE_DMA=y -# CONFIG_SMP is not set +CONFIG_SMP=y CONFIG_X86_MPPARSE=y +# CONFIG_X86_BIGSMP is not set CONFIG_X86_EXTENDED_PLATFORM=y # CONFIG_X86_GOLDFISH is not set # CONFIG_X86_WANT_INTEL_MID is not set # CONFIG_X86_INTEL_LPSS is not set # CONFIG_X86_RDC321X is not set +# CONFIG_X86_32_NON_STANDARD is not set CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y # CONFIG_X86_32_IRIS is not set CONFIG_SCHED_OMIT_FRAME_POINTER=y @@ -328,14 +336,16 @@ CONFIG_CPU_SUP_TRANSMETA_32=y CONFIG_CPU_SUP_UMC_32=y # CONFIG_HPET_TIMER is not set CONFIG_DMI=y -CONFIG_NR_CPUS=1 +CONFIG_NR_CPUS=8 +# CONFIG_SCHED_SMT is not set +CONFIG_SCHED_MC=y # CONFIG_PREEMPT_NONE is not set # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y CONFIG_PREEMPT_COUNT=y -CONFIG_X86_UP_APIC=y -# CONFIG_X86_UP_IOAPIC is not set CONFIG_X86_LOCAL_APIC=y +CONFIG_X86_IO_APIC=y +# CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS is not set CONFIG_X86_MCE=y CONFIG_X86_MCE_INTEL=y CONFIG_X86_MCE_AMD=y @@ -393,7 +403,6 @@ CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y # CONFIG_MEMORY_FAILURE is not set # CONFIG_TRANSPARENT_HUGEPAGE is not set CONFIG_CROSS_MEMORY_ATTACH=y -CONFIG_NEED_PER_CPU_KM=y # CONFIG_CLEANCACHE is not set # CONFIG_FRONTSWAP is not set # CONFIG_HIGHPTE is not set @@ -423,6 +432,9 @@ CONFIG_PHYSICAL_START=0x1000000 CONFIG_RELOCATABLE=y CONFIG_X86_NEED_RELOCS=y CONFIG_PHYSICAL_ALIGN=0x1000000 +CONFIG_HOTPLUG_CPU=y +# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set +# CONFIG_DEBUG_HOTPLUG_CPU0 is not set CONFIG_COMPAT_VDSO=y # CONFIG_CMDLINE_BOOL is not set CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y @@ -434,6 +446,7 @@ CONFIG_SUSPEND=y CONFIG_SUSPEND_FREEZER=y # CONFIG_HIBERNATION is not set CONFIG_PM_SLEEP=y +CONFIG_PM_SLEEP_SMP=y # CONFIG_PM_AUTOSLEEP is not set # CONFIG_PM_WAKELOCKS is not set # CONFIG_PM_RUNTIME is not set @@ -452,6 +465,7 @@ CONFIG_ACPI_FAN=y # CONFIG_ACPI_DOCK is not set CONFIG_ACPI_I2C=y CONFIG_ACPI_PROCESSOR=y +CONFIG_ACPI_HOTPLUG_CPU=y # CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set CONFIG_ACPI_THERMAL=y # CONFIG_ACPI_CUSTOM_DSDT is not set @@ -460,7 +474,7 @@ CONFIG_ACPI_BLACKLIST_YEAR=0 # CONFIG_ACPI_DEBUG is not set # CONFIG_ACPI_PCI_SLOT is not set CONFIG_X86_PM_TIMER=y -# CONFIG_ACPI_CONTAINER is not set +CONFIG_ACPI_CONTAINER=y # CONFIG_ACPI_SBS is not set # CONFIG_ACPI_HED is not set # CONFIG_ACPI_CUSTOM_METHOD is not set @@ -500,9 +514,12 @@ CONFIG_PCIEASPM=y CONFIG_PCIEASPM_DEFAULT=y # CONFIG_PCIEASPM_POWERSAVE is not set # CONFIG_PCIEASPM_PERFORMANCE is not set +CONFIG_ARCH_SUPPORTS_MSI=y +# CONFIG_PCI_MSI is not set # CONFIG_PCI_DEBUG is not set # CONFIG_PCI_REALLOC_ENABLE_AUTO is not set # CONFIG_PCI_STUB is not set +CONFIG_HT_IRQ=y # CONFIG_PCI_IOV is not set # CONFIG_PCI_PRI is not set # CONFIG_PCI_PASID is not set @@ -880,6 +897,9 @@ CONFIG_DNS_RESOLVER=y # CONFIG_VSOCKETS is not set # CONFIG_NETLINK_MMAP is not set # CONFIG_NETLINK_DIAG is not set +CONFIG_RPS=y +CONFIG_RFS_ACCEL=y +CONFIG_XPS=y # CONFIG_NETPRIO_CGROUP is not set CONFIG_BQL=y @@ -3022,6 +3042,7 @@ CONFIG_RCU_CPU_STALL_VERBOSE=y # CONFIG_BACKTRACE_SELF_TEST is not set # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +# CONFIG_DEBUG_PER_CPU_MAPS is not set # CONFIG_LKDTM is not set # CONFIG_NOTIFIER_ERROR_INJECTION is not set # CONFIG_FAULT_INJECTION is not set @@ -3157,6 +3178,7 @@ CONFIG_CRYPTO_MANAGER2=y CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y # CONFIG_CRYPTO_GF128MUL is not set CONFIG_CRYPTO_NULL=m +# CONFIG_CRYPTO_PCRYPT is not set CONFIG_CRYPTO_WORKQUEUE=y # CONFIG_CRYPTO_CRYPTD is not set CONFIG_CRYPTO_AUTHENC=m @@ -3296,6 +3318,7 @@ CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_DMA=y CONFIG_CHECK_SIGNATURE=y +CONFIG_CPU_RMAP=y CONFIG_DQL=y CONFIG_NLATTR=y CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index cc77241666..5bd09bfd97 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -16,7 +16,7 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "ad70d9a96e62bcdbc184512ae375d5d9b5d318d4" -PR = "r32" +PR = "r33" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.10 \ From bb18e3152b28e2e22dbe99ff24962c7d14dfe0f7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 16 May 2014 14:18:31 +0200 Subject: [PATCH 278/908] linux-sysmocom: Rebae and target latest stable version --- recipes-bsp/linux/linux-sysmocom_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 5bd09bfd97..8ba79d2fb7 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -4,7 +4,7 @@ require linux-sysmocom.inc DEPENDS += "bc-native" # at versions changes do not forget to update conf/machine/include/sysmobts.inc too -LINUX_VERSION ?= "3.10.28" +LINUX_VERSION ?= "3.10.40" LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}" # Overrides for the sysmocom bts v1 @@ -14,7 +14,7 @@ BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1" BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" -SRCREV = "ad70d9a96e62bcdbc184512ae375d5d9b5d318d4" +SRCREV = "63f1162771d2ac5581e73cc4912dc1dd0b2279e6" PR = "r33" PV = "${LINUX_VERSION}+git${SRCPV}" From b3c600a3680fbb6befc9ab6bd0bee88de84df373 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 18 May 2014 10:47:57 +0200 Subject: [PATCH 279/908] sysmobts: Fix up the targeting of the 3.10.40 kernel --- conf/machine/include/sysmobts.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index 85d5255a92..bdaa0326af 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -1,7 +1,7 @@ TARGET_ARCH = "arm" PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" -PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.28+git%'), ('1.5.1','3.10.28+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" +PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.40+git%'), ('1.5.1','3.10.40+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" PREFERRED_VERSION_u-boot = "git" From c63ba210da05d449639894ac28ded9eae5222d67 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 18 May 2014 10:50:03 +0200 Subject: [PATCH 280/908] gpsd: Address warning by bitbake about -dev package The .pc files were already covered by the normal -dev package glob. No need to do more work here. Addresses: WARNING: Variable key FILES_${PN}-dev (${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig ${datadir}/aclocal ${base_libdir}/*.o ${libdir}/${BPN}/*.la ${base_libdir}/*.la) replaces original key FILES_gpsd-dev ( ${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc). --- recipes-extra/gpsd/gpsd_3.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/recipes-extra/gpsd/gpsd_3.9.bb b/recipes-extra/gpsd/gpsd_3.9.bb index 6bd5bf5666..1f73054fd9 100644 --- a/recipes-extra/gpsd/gpsd_3.9.bb +++ b/recipes-extra/gpsd/gpsd_3.9.bb @@ -8,7 +8,7 @@ PROVIDES = "virtual/gpsd" EXTRANATIVEPATH += "chrpath-native" -PR = "r3.9" +PR = "r3.10" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ @@ -117,8 +117,6 @@ pkg_postrm_${PN}-conf() { #PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils" PACKAGES =+ "libgps libgpsd gpsd-udev gpsd-conf gpsd-gpsctl gps-utils" -FILES_gpsd-dev += "${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc" - #FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug" RDEPENDS_${PN} = "gpsd-gpsctl" From 30caceef90d60dce83d3625baf74c87d73e57bd5 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 19 May 2014 11:39:52 +0200 Subject: [PATCH 281/908] osmo-bts: Update to current master for CMR in AMR support --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index a81ce2e7c4..63d0967eec 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "3e5b6db2d26f279f9238089f8c79de1d71a997aa" -SRCREV_openbsc = "5dd295ff445334fef92f04434b59ab899a87bd81" +SRCREV_osmobts = "b4280963c0a236f3676ff4d5a191943ad63b7e69" +SRCREV_openbsc = "1b148ec1009c32faea269331836e366cfff7d18e" PV = "0.4.1+git${SRCPV}" -PR = "r4.${META_TELEPHONY_OSMO_INC}" +PR = "r5.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From 6dbc14b02cc230406411f993bd5febd98bfaa863 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 19 May 2014 12:59:32 +0200 Subject: [PATCH 282/908] osmo-bts: Make sure to install osmobts-mgr.cfg --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 63d0967eec..92a0b510aa 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,7 +7,7 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/featu SRCREV_osmobts = "b4280963c0a236f3676ff4d5a191943ad63b7e69" SRCREV_openbsc = "1b148ec1009c32faea269331836e366cfff7d18e" PV = "0.4.1+git${SRCPV}" -PR = "r5.${META_TELEPHONY_OSMO_INC}" +PR = "r6.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" @@ -34,6 +34,7 @@ do_compile_append_sysmobts-v2() { do_install_append() { install -d ${D}${sysconfdir}/osmocom install -m 0660 ${S}/doc/examples/osmo-bts.cfg ${D}${sysconfdir}/osmocom + install -m 0660 ${S}/doc/examples/osmobts-mgr.cfg ${D}${sysconfdir}/osmocom install -m 0755 ${S}/contrib/respawn.sh ${D}${sysconfdir}/osmocom/ install -m 0755 ${S}/contrib/respawn-only.sh ${D}${sysconfdir}/osmocom/ install -m 0644 ${S}/contrib/screenrc-sysmobts ${D}${sysconfdir}/osmocom/ @@ -53,6 +54,7 @@ do_install_append_sysmobts-v2() { } CONFFILES_${PN} = "${sysconfdir}/osmocom/osmo-bts.cfg" +CONFFILES_${PN} = "${sysconfdir}/osmocom/osmobts-mgr.cfg" INITSCRIPT_PACKAGES = "${PN}" INITSCRIPT_NAME_${PN} = "sysmobts" INITSCRIPT_PARAMS_${PN} = "defaults 30 30" From f9697c1e248894f78f953dca9e1aefdbe76c2ac8 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 19 May 2014 13:04:11 +0200 Subject: [PATCH 283/908] osmo-bts: update git to call osmobts-mgr with config file --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 92a0b510aa..73db032b1c 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "b4280963c0a236f3676ff4d5a191943ad63b7e69" +SRCREV_osmobts = "0a1699ff8a5462c167c24e8b28186abb26331698" SRCREV_openbsc = "1b148ec1009c32faea269331836e366cfff7d18e" PV = "0.4.1+git${SRCPV}" PR = "r6.${META_TELEPHONY_OSMO_INC}" From c4956c65a3f8e48fd4ad212544dc6d73ca30ed00 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 19 May 2014 18:49:02 +0200 Subject: [PATCH 284/908] sysmocom-backup: Include /etc/lcr for lcr config files in backup This is needed on all systems where we have customer-specific lcr configuration. --- recipes-apps/sysmocom-backup/files/sysmocom-backup | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-apps/sysmocom-backup/files/sysmocom-backup b/recipes-apps/sysmocom-backup/files/sysmocom-backup index 1bd6735b9a..d7acbd4d4c 100755 --- a/recipes-apps/sysmocom-backup/files/sysmocom-backup +++ b/recipes-apps/sysmocom-backup/files/sysmocom-backup @@ -21,6 +21,7 @@ FILES="\ etc/ggsn.conf \ etc/default \ var/lib/osmocom/hlr.sqlite3 \ + etc/lcr \ " DATE=`date +%Y%m%d` From 08e4e4c26aa1c12bdb2acf753b36d16c8750630e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 19 May 2014 18:51:30 +0200 Subject: [PATCH 285/908] sysmocom-backup: Include udhcpd.conf ... as some customers might have customer specific DHCP adresses/ranges --- recipes-apps/sysmocom-backup/files/sysmocom-backup | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-apps/sysmocom-backup/files/sysmocom-backup b/recipes-apps/sysmocom-backup/files/sysmocom-backup index d7acbd4d4c..403a32ab10 100755 --- a/recipes-apps/sysmocom-backup/files/sysmocom-backup +++ b/recipes-apps/sysmocom-backup/files/sysmocom-backup @@ -22,6 +22,7 @@ FILES="\ etc/default \ var/lib/osmocom/hlr.sqlite3 \ etc/lcr \ + etc/udhcpd.conf \ " DATE=`date +%Y%m%d` From cc45ecae110c56e7e5a189992a146035f5a50ad3 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 19 May 2014 18:53:25 +0200 Subject: [PATCH 286/908] udhcpd.conf: Provide DNS server IP for BTSs If we don't provide a DNS server via DHCP to the BTSs, then their ntpdate will not succeed in contacting pool.ntp.org (resolver failure), which in turn means they have the wrong date, which again in turn leads to failing opkg update or openvpn certificate verification failures. --- .../sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf index 723ad1f2bb..d6a9334f8f 100644 --- a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf +++ b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf @@ -6,3 +6,4 @@ interface eth1 option subnet 10.23.24.0 option router 10.23.24.1 option broadcast 10.23.24.255 +option dns 8.8.8.8 From 7ac3edabb60503ef161af5dfb3d953f289cfec48 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 19 May 2014 18:55:49 +0200 Subject: [PATCH 287/908] update PR for recent changes of sysmocom-backup and udhcpd-config --- recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb | 2 +- recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb index 48f4d5cacd..deb21bc9b5 100644 --- a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb +++ b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb @@ -1,7 +1,7 @@ DESCRIPTION = "sysmocom config backup and restore scripts" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r9" +PR = "r10" SRC_URI = "file://sysmocom-backup file://sysmocom-restore" RDEPENDS_${PN} = "tar" diff --git a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb index e0e1047986..2e3425e6de 100644 --- a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb +++ b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" SRC_URI = "file://udhcpd.conf" -PR = "r2" +PR = "r3" CONFFILES_${PN} = "${sysconfdir}/udhcpd.conf" From f3117eaa22990b42e3614d3d91f0624ca921af4e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 19 May 2014 19:06:40 +0200 Subject: [PATCH 288/908] linux-sysmocom: Enable mtdparts handling for the sysmobts-v2 We will change the MTD partitioning for our devices soon. The kernel needs to honor the cmdline given by the kernel for that. The rootfs will move a few pages to the back with newer bootloaders. --- recipes-bsp/linux/files/sysmobts-v2/defconfig | 3 ++- recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 +- recipes-bsp/linux/linux-sysmocom_git.bb | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/linux/files/sysmobts-v2/defconfig b/recipes-bsp/linux/files/sysmobts-v2/defconfig index 436f3d2f82..a93b0e55da 100644 --- a/recipes-bsp/linux/files/sysmobts-v2/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v2/defconfig @@ -779,8 +779,9 @@ CONFIG_EXTRA_FIRMWARE="" CONFIG_MTD=y # CONFIG_MTD_TESTS is not set # CONFIG_MTD_REDBOOT_PARTS is not set -# CONFIG_MTD_CMDLINE_PARTS is not set +CONFIG_MTD_CMDLINE_PARTS=y # CONFIG_MTD_AFS_PARTS is not set +CONFIG_MTD_OF_PARTS=y # CONFIG_MTD_AR7_PARTS is not set # diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index c0b30fff99..3d1bdf8fb4 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -17,7 +17,7 @@ SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" SRCREV_sysmocom-odu = "f770b4d8361682c9ba80ca3aff17b49461932ccd" LINUX_VERSION_sysmocom-odu = "3.2.55" -PR = "r31" +PR = "r32" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 8ba79d2fb7..d46569dd80 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -16,7 +16,7 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "63f1162771d2ac5581e73cc4912dc1dd0b2279e6" -PR = "r33" +PR = "r34" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.10 \ From 3fbe647e147e7c73f222693aa723af8c6a8e032b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 21 May 2014 17:58:11 +0200 Subject: [PATCH 289/908] osmo-bts: Fix the CONFFILES_${PN} introduced recently Daniel noticed that on upgrade his /etc/osmocom/osmo-bts.cfg was overwritten. This was due the addition of the sysmobts-mgr config file and using an assignment instead of an append. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 73db032b1c..882a7ea312 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,7 +7,7 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/featu SRCREV_osmobts = "0a1699ff8a5462c167c24e8b28186abb26331698" SRCREV_openbsc = "1b148ec1009c32faea269331836e366cfff7d18e" PV = "0.4.1+git${SRCPV}" -PR = "r6.${META_TELEPHONY_OSMO_INC}" +PR = "r7.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" @@ -54,7 +54,7 @@ do_install_append_sysmobts-v2() { } CONFFILES_${PN} = "${sysconfdir}/osmocom/osmo-bts.cfg" -CONFFILES_${PN} = "${sysconfdir}/osmocom/osmobts-mgr.cfg" +CONFFILES_${PN} += "${sysconfdir}/osmocom/osmobts-mgr.cfg" INITSCRIPT_PACKAGES = "${PN}" INITSCRIPT_NAME_${PN} = "sysmobts" INITSCRIPT_PARAMS_${PN} = "defaults 30 30" From 2a1e45a944330220066bdfb2facbeed5af1c4769 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 20 May 2014 17:36:35 +0200 Subject: [PATCH 290/908] sysmocom-bsc-directimage: revert syslinux changes * setting APPEND in the image file overwrites the APPEND from boot-directdisk.bbclass in edison, which creates the syslinux.cfg without "root=" stanza * for dora we do not use syslinux or the image-directdisk so revert this paticular changes Fixes: SYS#373 --- .../images/sysmocom-bsc-ip-image-directdisk.bb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb index 7ad11b673d..cd80ae671c 100644 --- a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb +++ b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb @@ -6,15 +6,5 @@ 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 = "${SYSLINUX_SERIAL_TTY} net.ifnames=0" -LABELS_append = " ${SYSLINUX_LABELS} " - - ROOTFS = "${DEPLOY_DIR_IMAGE}/sysmocom-bsc-ip-image-${MACHINE}.ext4" do_bootdirectdisk[depends] += "sysmocom-bsc-ip-image:do_rootfs" From 9fd7612abd2b508c062642cb2b955ce99a258bea Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 19 May 2014 19:40:24 +0200 Subject: [PATCH 291/908] ubl/u-boot: Upgrade for NAND redundancy patches Let's flash multiple copies of UBL and U-Boot to cope better with NAND bits flipping in these sectors. To fit multiple copies of U-Boot into the flash we had to move the rootfs a bit to the end. --- recipes-sysmobts/ubl/ubl_git.bb | 3 ++- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/ubl/ubl_git.bb b/recipes-sysmobts/ubl/ubl_git.bb index 83f61c684d..ecd40c6a7e 100644 --- a/recipes-sysmobts/ubl/ubl_git.bb +++ b/recipes-sysmobts/ubl/ubl_git.bb @@ -7,7 +7,8 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://ubl.c;beginline=1;endline=22;md5=806283bb3c475d9082e41f09020373ff" SRC_URI = "git://git.sysmocom.de/sysmo-bts/ubl;protocol=git;branch=master" -SRCREV = "d04f24974a5b1e24cb9414ebc2e84a91848982c4" +SRCREV = "e564034a6062e0629c0139c4a4854c4698fcd008" +SRCREV_sysmobts-v1 = "d04f24974a5b1e24cb9414ebc2e84a91848982c4" PV = "v0.2.11+git${SRCPV}" PR = "r3" S = "${WORKDIR}/git" diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index fa8e2f93e0..b70e9ad733 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -1,5 +1,6 @@ SRC_URI = "git://git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=git" -SRCREV = "40d74c99ac9d741857d1298617b186b1d4e148de" +SRCREV = "a031c0833b322258f5d7fe77efc965b9d4eead42" +SRCREV_sysmobts-v1 = "40d74c99ac9d741857d1298617b186b1d4e148de" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" From b895e31fd88f57c76be9e5ae44f998d785c1c202 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 30 May 2014 08:43:23 +0200 Subject: [PATCH 292/908] iperf: Add the iperf utility for GPRS performance tests We really need a sysmocom-feed-packagegroup for all the extra recipes we care about. --- .../iperf-2.0.5/iperf-2.0.5_ManPage.patch | 8 ++++++++ recipes-extra/iperf/iperf_2.0.5.bb | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 recipes-extra/iperf/iperf-2.0.5/iperf-2.0.5_ManPage.patch create mode 100644 recipes-extra/iperf/iperf_2.0.5.bb diff --git a/recipes-extra/iperf/iperf-2.0.5/iperf-2.0.5_ManPage.patch b/recipes-extra/iperf/iperf-2.0.5/iperf-2.0.5_ManPage.patch new file mode 100644 index 0000000000..12e8f46311 --- /dev/null +++ b/recipes-extra/iperf/iperf-2.0.5/iperf-2.0.5_ManPage.patch @@ -0,0 +1,8 @@ +diff --git iperf-2.0.5/man/Makefile.am iperf-2.0.5/man/Makefile.am + index ed97bc6..728873f 100644 +--- iperf-2.0.5/man/Makefile.am ++++ iperf-2.0.5/man/Makefile.am +@@ -1,2 +1 @@ +-man_MANS = iperf.1 +-dist_man_MANS = $(man_MANS) ++dist_man_MANS = iperf.1 diff --git a/recipes-extra/iperf/iperf_2.0.5.bb b/recipes-extra/iperf/iperf_2.0.5.bb new file mode 100644 index 0000000000..a2077162d0 --- /dev/null +++ b/recipes-extra/iperf/iperf_2.0.5.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of various parameters and UDP characteristics" +HOMEPAGE = "http://dast.nlanr.net/Projects/Iperf/" +SECTION = "console/network" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=e8478eae9f479e39bc34975193360298" + +SRC_URI = " ${SOURCEFORGE_MIRROR}/iperf/${PN}-${PV}.tar.gz \ + file://iperf-2.0.5_ManPage.patch \ + " + +SRC_URI[md5sum] = "44b5536b67719f4250faed632a3cd016" +SRC_URI[sha256sum] = "636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b" + +S = "${WORKDIR}/${PN}-${PV}" + +inherit autotools pkgconfig + +EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}" From 70bfea442d0c074f98a74e6f8ff4a17cd66a2bdc Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 1 Jun 2014 12:06:50 +0200 Subject: [PATCH 293/908] osmo-bts: Apply the sysmobts-mgr hotfix onto the last version I take the most conversative route and apply the single sysmobts-mgr patch to get a working "ipaccess-find" again. --- ...-initialization-of-the-BTS-manager-c.patch | 42 +++++++++++++++++++ recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 5 ++- 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 recipes-sysmobts/osmo-bts/files/0001-sysmobts-Fix-the-initialization-of-the-BTS-manager-c.patch diff --git a/recipes-sysmobts/osmo-bts/files/0001-sysmobts-Fix-the-initialization-of-the-BTS-manager-c.patch b/recipes-sysmobts/osmo-bts/files/0001-sysmobts-Fix-the-initialization-of-the-BTS-manager-c.patch new file mode 100644 index 0000000000..f93c2ae5c7 --- /dev/null +++ b/recipes-sysmobts/osmo-bts/files/0001-sysmobts-Fix-the-initialization-of-the-BTS-manager-c.patch @@ -0,0 +1,42 @@ +From a7f9b58e44fa7119e7113269765302a0b8a619d5 Mon Sep 17 00:00:00 2001 +From: Holger Hans Peter Freyther +Date: Fri, 30 May 2014 12:42:31 +0200 +Subject: [PATCH] sysmobts: Fix the initialization of the BTS manager code + +The code should only run for the sysmoBTS 2050 and TRX 0. +If the device is not marked as 2050 the code would attempt +to open /dev/ttyS0 and block forever. +--- + src/osmo-bts-sysmo/misc/sysmobts_mgr.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +Index: git/src/osmo-bts-sysmo/misc/sysmobts_mgr.c +=================================================================== +--- git.orig/src/osmo-bts-sysmo/misc/sysmobts_mgr.c ++++ git/src/osmo-bts-sysmo/misc/sysmobts_mgr.c +@@ -188,16 +188,17 @@ static void initialize_sbts2050(void) + return; + } + +- if (val == 2050) { +- if (sysmobts_par_get_int(SYSMOBTS_PAR_TRX_NR, &val) < 0) { +- LOGP(DFIND, LOGL_ERROR, +- "Failed to get the TRX number\n"); +- return; +- } ++ if (val != 2050) ++ return; + +- if (val != 0) +- return; ++ if (sysmobts_par_get_int(SYSMOBTS_PAR_TRX_NR, &val) < 0) { ++ LOGP(DFIND, LOGL_ERROR, "Failed to get the TRX number\n"); ++ return; + } ++ ++ if (val != 0) ++ return; ++ + trx_nr = val; + + ucontrol0.fd = osmo_serial_init(ucontrol0.path, 115200); diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 882a7ea312..435400059e 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -3,11 +3,12 @@ LICENSE = "AGPLv3" LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ - git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" + git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc \ + file://0001-sysmobts-Fix-the-initialization-of-the-BTS-manager-c.patch" SRCREV_osmobts = "0a1699ff8a5462c167c24e8b28186abb26331698" SRCREV_openbsc = "1b148ec1009c32faea269331836e366cfff7d18e" PV = "0.4.1+git${SRCPV}" -PR = "r7.${META_TELEPHONY_OSMO_INC}" +PR = "r8.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From 205b60bb367cc792eb972f711f6ecd1d62902d08 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 3 Jun 2014 16:41:00 +0200 Subject: [PATCH 294/908] sysmocom-bsc: build nls support into the kernel * to be able to mount vfat formatted usbsticks we need the nls subsystem * providing nls as modules is a bad idea because you need to add them at image creation * better include them into the kernel, like the kernel for bts and bts-2050 does --- .../linux-sysmocom/sysmocom-bsc/defconfig | 49 +++++++++---------- recipes-bsp/linux/linux-sysmocom_git.bb | 2 +- 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig index dc9ff0b2ed..dd01c2ba12 100644 --- a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig @@ -107,7 +107,6 @@ CONFIG_BSD_PROCESS_ACCT_V3=y # RCU Subsystem # CONFIG_TREE_PREEMPT_RCU=y -# CONFIG_TINY_PREEMPT_RCU is not set CONFIG_PREEMPT_RCU=y CONFIG_RCU_STALL_COMMON=y CONFIG_RCU_FANOUT=32 @@ -2917,31 +2916,31 @@ CONFIG_CIFS_DEBUG=y # CONFIG_AFS_FS is not set CONFIG_NLS=y CONFIG_NLS_DEFAULT="iso8859-1" -CONFIG_NLS_CODEPAGE_437=m -CONFIG_NLS_CODEPAGE_737=m -CONFIG_NLS_CODEPAGE_775=m +CONFIG_NLS_CODEPAGE_437=y +# CONFIG_NLS_CODEPAGE_737 is not set +# CONFIG_NLS_CODEPAGE_775 is not set CONFIG_NLS_CODEPAGE_850=m -CONFIG_NLS_CODEPAGE_852=m -CONFIG_NLS_CODEPAGE_855=m -CONFIG_NLS_CODEPAGE_857=m -CONFIG_NLS_CODEPAGE_860=m -CONFIG_NLS_CODEPAGE_861=m -CONFIG_NLS_CODEPAGE_862=m -CONFIG_NLS_CODEPAGE_863=m -CONFIG_NLS_CODEPAGE_864=m -CONFIG_NLS_CODEPAGE_865=m -CONFIG_NLS_CODEPAGE_866=m -CONFIG_NLS_CODEPAGE_869=m -CONFIG_NLS_CODEPAGE_936=m -CONFIG_NLS_CODEPAGE_950=m -CONFIG_NLS_CODEPAGE_932=m -CONFIG_NLS_CODEPAGE_949=m -CONFIG_NLS_CODEPAGE_874=m -CONFIG_NLS_ISO8859_8=m -CONFIG_NLS_CODEPAGE_1250=m -CONFIG_NLS_CODEPAGE_1251=m -CONFIG_NLS_ASCII=m -CONFIG_NLS_ISO8859_1=m +# CONFIG_NLS_CODEPAGE_852 is not set +# CONFIG_NLS_CODEPAGE_855 is not set +# CONFIG_NLS_CODEPAGE_857 is not set +# CONFIG_NLS_CODEPAGE_860 is not set +# CONFIG_NLS_CODEPAGE_861 is not set +# CONFIG_NLS_CODEPAGE_862 is not set +# CONFIG_NLS_CODEPAGE_863 is not set +CONFIG_NLS_CODEPAGE_864=y +# CONFIG_NLS_CODEPAGE_865 is not set +# CONFIG_NLS_CODEPAGE_866 is not set +# CONFIG_NLS_CODEPAGE_869 is not set +# CONFIG_NLS_CODEPAGE_936 is not set +# CONFIG_NLS_CODEPAGE_950 is not set +# CONFIG_NLS_CODEPAGE_932 is not set +# CONFIG_NLS_CODEPAGE_949 is not set +# CONFIG_NLS_CODEPAGE_874 is not set +# CONFIG_NLS_ISO8859_8 is not set +# CONFIG_NLS_CODEPAGE_1250 is not set +# CONFIG_NLS_CODEPAGE_1251 is not set +CONFIG_NLS_ASCII=y +CONFIG_NLS_ISO8859_1=y CONFIG_NLS_ISO8859_2=m CONFIG_NLS_ISO8859_3=m CONFIG_NLS_ISO8859_4=m diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index d46569dd80..53a5a35843 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -16,7 +16,7 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "63f1162771d2ac5581e73cc4912dc1dd0b2279e6" -PR = "r34" +PR = "r35" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.10 \ From 32746ad2ebafe956b6d1bba2fa78d348752e1a59 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 3 Jun 2014 16:46:18 +0200 Subject: [PATCH 295/908] bts-images: Remove the nls modules The nls support to mount fat/vfat filesystems should be enabled in all sysmocomkernel images. Fixes: SYS#371 --- recipes-apps/images/sysmocom-bsc-image.bb | 1 - yocto-dora/core-image-minimal-initramfs.bbappend | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-apps/images/sysmocom-bsc-image.bb b/recipes-apps/images/sysmocom-bsc-image.bb index cad29c0528..6e74f8534b 100644 --- a/recipes-apps/images/sysmocom-bsc-image.bb +++ b/recipes-apps/images/sysmocom-bsc-image.bb @@ -1,6 +1,5 @@ require sysmocom-image.inc -IMAGE_INSTALL += "kernel-module-nls-iso8859-1 kernel-module-nls-cp437" IMAGE_LINGUAS = " " # This variant of the image will run osmo-bts and osmo-bsc diff --git a/yocto-dora/core-image-minimal-initramfs.bbappend b/yocto-dora/core-image-minimal-initramfs.bbappend index 6d8febeb06..09b1baaeb8 100644 --- a/yocto-dora/core-image-minimal-initramfs.bbappend +++ b/yocto-dora/core-image-minimal-initramfs.bbappend @@ -1,2 +1,2 @@ -# add needed modules for vfat and e2fsprogs for resize2fs -IMAGE_INSTALL_append = " kernel-module-nls-iso8859-1 kernel-module-nls-cp437 e2fsprogs " +# add e2fsprogs for resize2fs need for bts installation +IMAGE_INSTALL_append = " e2fsprogs " From 38b6c8ae0e08f99d078ff616101b8302025d0f0d Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 20 May 2014 19:25:45 +0200 Subject: [PATCH 296/908] archiver.bbclass: rename to sysmocom-archiver --- ...ource.bbclass => sysmocom-archive-configured-source.bbclass} | 2 +- ...-source.bbclass => sysmocom-archive-original-source.bbclass} | 2 +- ...d-source.bbclass => sysmocom-archive-patched-source.bbclass} | 2 +- classes/{archiver.bbclass => sysmocom-archiver.bbclass} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename classes/{archive-configured-source.bbclass => sysmocom-archive-configured-source.bbclass} (96%) rename classes/{archive-original-source.bbclass => sysmocom-archive-original-source.bbclass} (96%) rename classes/{archive-patched-source.bbclass => sysmocom-archive-patched-source.bbclass} (96%) rename classes/{archiver.bbclass => sysmocom-archiver.bbclass} (100%) diff --git a/classes/archive-configured-source.bbclass b/classes/sysmocom-archive-configured-source.bbclass similarity index 96% rename from classes/archive-configured-source.bbclass rename to classes/sysmocom-archive-configured-source.bbclass index 1a609b36db..11e9206e26 100644 --- a/classes/archive-configured-source.bbclass +++ b/classes/sysmocom-archive-configured-source.bbclass @@ -2,7 +2,7 @@ # and creating diff file(get all environment variables and functions in building and mapping all content in 's' including patches to xxx.diff.gz. # All archived packages will be deployed in ${DEPLOY_DIR}/sources -inherit archiver +inherit sysmocom-archiver # Get archiving package with configured sources including patches do_configure[postfuncs] += "do_archive_configured_sources " diff --git a/classes/archive-original-source.bbclass b/classes/sysmocom-archive-original-source.bbclass similarity index 96% rename from classes/archive-original-source.bbclass rename to classes/sysmocom-archive-original-source.bbclass index b08553365c..3fc330d2cf 100644 --- a/classes/archive-original-source.bbclass +++ b/classes/sysmocom-archive-original-source.bbclass @@ -2,7 +2,7 @@ # creating diff file(get all environment variables and functions in building and mapping all content in 's' including patches to xxx.diff.gz. # All archived packages will be deployed in ${DEPLOY_DIR}/sources -inherit archiver +inherit sysmocom-archiver # Get original sources archiving package with patches do_unpack[postfuncs] += "do_archive_original_sources_patches " diff --git a/classes/archive-patched-source.bbclass b/classes/sysmocom-archive-patched-source.bbclass similarity index 96% rename from classes/archive-patched-source.bbclass rename to classes/sysmocom-archive-patched-source.bbclass index a6d368f2ca..1119fc2f81 100644 --- a/classes/archive-patched-source.bbclass +++ b/classes/sysmocom-archive-patched-source.bbclass @@ -2,7 +2,7 @@ # creating diff file(get all environment variables and functions in building and mapping all content in 's' including patches to xxx.diff.gz. # All archived packages will be deployed in ${DEPLOY_DIR}/sources -inherit archiver +inherit sysmocom-archiver # Get archiving package with patched sources including patches do_patch[postfuncs] += "do_archive_patched_sources " diff --git a/classes/archiver.bbclass b/classes/sysmocom-archiver.bbclass similarity index 100% rename from classes/archiver.bbclass rename to classes/sysmocom-archiver.bbclass From 4addb52d7b6ef4c7330d13969976b01c6ef7e6dc Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 20 May 2014 19:31:52 +0200 Subject: [PATCH 297/908] sysmocom-archiver: switch from tabs to spaces --- classes/sysmocom-archiver.bbclass | 696 +++++++++++++++--------------- 1 file changed, 348 insertions(+), 348 deletions(-) diff --git a/classes/sysmocom-archiver.bbclass b/classes/sysmocom-archiver.bbclass index 59b58f4403..f1b219150b 100644 --- a/classes/sysmocom-archiver.bbclass +++ b/classes/sysmocom-archiver.bbclass @@ -8,441 +8,441 @@ DISTRO ?= "poky" PATCHES_ARCHIVE_WITH_SERIES = 'TRUE' def get_bb_inc(d): - '''create a directory "script-logs" including .bb and .inc file in ${WORKDIR}''' - import re - import os - import shutil - - bbinc = [] - pat=re.compile('require\s*([^\s]*\.*)(.*)') - work_dir = d.getVar('WORKDIR', True) - bbfile = d.getVar('FILE', True) - bbdir = os.path.dirname(bbfile) - script_logs = os.path.join(work_dir,'script-logs') - bb_inc = os.path.join(script_logs,'bb_inc') - bb.mkdirhier(script_logs) - bb.mkdirhier(bb_inc) - - def find_file(dir,file): - for root, dirs, files in os.walk(dir): - if file in files: - return os.path.join(root,file) - - def get_inc (file): - f = open(file,'r') - for line in f.readlines(): - if 'require' not in line: - bbinc.append(file) - else: - try: - incfile = pat.match(line).group(1) - incfile = bb.data.expand(os.path.basename(incfile),d) - abs_incfile = find_file(bbdir,incfile) - if abs_incfile: - bbinc.append(abs_incfile) - get_inc(abs_incfile) - except AttributeError: - pass - get_inc(bbfile) - bbinc = list(set(bbinc)) - for bbincfile in bbinc: - shutil.copy(bbincfile,bb_inc) + '''create a directory "script-logs" including .bb and .inc file in ${WORKDIR}''' + import re + import os + import shutil + + bbinc = [] + pat=re.compile('require\s*([^\s]*\.*)(.*)') + work_dir = d.getVar('WORKDIR', True) + bbfile = d.getVar('FILE', True) + bbdir = os.path.dirname(bbfile) + script_logs = os.path.join(work_dir,'script-logs') + bb_inc = os.path.join(script_logs,'bb_inc') + bb.mkdirhier(script_logs) + bb.mkdirhier(bb_inc) + + def find_file(dir,file): + for root, dirs, files in os.walk(dir): + if file in files: + return os.path.join(root,file) + + def get_inc (file): + f = open(file,'r') + for line in f.readlines(): + if 'require' not in line: + bbinc.append(file) + else: + try: + incfile = pat.match(line).group(1) + incfile = bb.data.expand(os.path.basename(incfile),d) + abs_incfile = find_file(bbdir,incfile) + if abs_incfile: + bbinc.append(abs_incfile) + get_inc(abs_incfile) + except AttributeError: + pass + get_inc(bbfile) + bbinc = list(set(bbinc)) + for bbincfile in bbinc: + shutil.copy(bbincfile,bb_inc) - try: - bb.mkdirhier(os.path.join(script_logs,'temp')) - oe.path.copytree(os.path.join(work_dir,'temp'), os.path.join(script_logs,'temp')) - except (IOError,AttributeError): - pass - return script_logs + try: + bb.mkdirhier(os.path.join(script_logs,'temp')) + oe.path.copytree(os.path.join(work_dir,'temp'), os.path.join(script_logs,'temp')) + except (IOError,AttributeError): + pass + return script_logs def get_series(d): - '''copy patches and series file to a pointed directory which will be archived to tarball in ${WORKDIR}''' - import shutil - - src_patches=[] - pf = d.getVar('PF', True) - work_dir = d.getVar('WORKDIR', True) - s = d.getVar('S',True) - dest = os.path.join(work_dir, pf + '-series') - shutil.rmtree(dest, ignore_errors=True) - bb.mkdirhier(dest) - - src_uri = d.getVar('SRC_URI', True).split() - fetch = bb.fetch2.Fetch(src_uri, d) - locals = (fetch.localpath(url) for url in fetch.urls) - for local in locals: - src_patches.append(local) - if not cmp(work_dir,s): - tmp_list = src_patches - else: - tmp_list = src_patches[1:] - - for patch in tmp_list: - try: - shutil.copy(patch,dest) - except IOError: - if os.path.isdir(patch): - bb.mkdirhier(os.path.join(dest,patch)) - oe.path.copytree(patch, os.path.join(dest,patch)) - return dest + '''copy patches and series file to a pointed directory which will be archived to tarball in ${WORKDIR}''' + import shutil + + src_patches=[] + pf = d.getVar('PF', True) + work_dir = d.getVar('WORKDIR', True) + s = d.getVar('S',True) + dest = os.path.join(work_dir, pf + '-series') + shutil.rmtree(dest, ignore_errors=True) + bb.mkdirhier(dest) + + src_uri = d.getVar('SRC_URI', True).split() + fetch = bb.fetch2.Fetch(src_uri, d) + locals = (fetch.localpath(url) for url in fetch.urls) + for local in locals: + src_patches.append(local) + if not cmp(work_dir,s): + tmp_list = src_patches + else: + tmp_list = src_patches[1:] + + for patch in tmp_list: + try: + shutil.copy(patch,dest) + except IOError: + if os.path.isdir(patch): + bb.mkdirhier(os.path.join(dest,patch)) + oe.path.copytree(patch, os.path.join(dest,patch)) + return dest def get_applying_patches(d): - """only copy applying patches to a pointed directory which will be archived to tarball""" - import os - import shutil + """only copy applying patches to a pointed directory which will be archived to tarball""" + import os + import shutil - pf = d.getVar('PF', True) - work_dir = d.getVar('WORKDIR', True) - dest = os.path.join(work_dir, pf + '-patches') - shutil.rmtree(dest, ignore_errors=True) - bb.mkdirhier(dest) + pf = d.getVar('PF', True) + work_dir = d.getVar('WORKDIR', True) + dest = os.path.join(work_dir, pf + '-patches') + shutil.rmtree(dest, ignore_errors=True) + bb.mkdirhier(dest) - patches = src_patches(d) - for patch in patches: - _, _, local, _, _, parm = bb.decodeurl(patch) - if local: - shutil.copy(local,dest) - return dest + patches = src_patches(d) + for patch in patches: + _, _, local, _, _, parm = bb.decodeurl(patch) + if local: + shutil.copy(local,dest) + return dest def not_tarball(d): - '''packages including key words 'work-shared','native', 'task-' will be passed''' - import os + '''packages including key words 'work-shared','native', 'task-' will be passed''' + import os - workdir = d.getVar('WORKDIR',True) - s = d.getVar('S',True) - if 'work-shared' in s or 'task-' in workdir or 'native' in workdir: - return True - else: - return False + workdir = d.getVar('WORKDIR',True) + s = d.getVar('S',True) + if 'work-shared' in s or 'task-' in workdir or 'native' in workdir: + return True + else: + return False def get_source_from_downloads(d,stage_name): - '''copy tarball of $P to $WORKDIR when this tarball exists in $DL_DIR''' - if stage_name in 'patched' 'configured': - return - pf = d.getVar('PF', True) - dl_dir = d.getVar('DL_DIR',True) - try: - source = os.path.join(dl_dir,os.path.basename(d.getVar('SRC_URI', True).split()[0])) - if os.path.exists(source) and not os.path.isdir(source): - return source - except (IndexError, OSError): - pass - return '' + '''copy tarball of $P to $WORKDIR when this tarball exists in $DL_DIR''' + if stage_name in 'patched' 'configured': + return + pf = d.getVar('PF', True) + dl_dir = d.getVar('DL_DIR',True) + try: + source = os.path.join(dl_dir,os.path.basename(d.getVar('SRC_URI', True).split()[0])) + if os.path.exists(source) and not os.path.isdir(source): + return source + except (IndexError, OSError): + pass + return '' def do_tarball(workdir,srcdir,tarname): - '''tar "srcdir" under "workdir" to "tarname"''' - import tarfile - - sav_dir = os.getcwd() - os.chdir(workdir) - if (len(os.listdir(srcdir))) != 0: - tar = tarfile.open(tarname, "w:gz") - tar.add(srcdir) - tar.close() - else: - tarname = '' - os.chdir(sav_dir) - return tarname + '''tar "srcdir" under "workdir" to "tarname"''' + import tarfile + + sav_dir = os.getcwd() + os.chdir(workdir) + if (len(os.listdir(srcdir))) != 0: + tar = tarfile.open(tarname, "w:gz") + tar.add(srcdir) + tar.close() + else: + tarname = '' + os.chdir(sav_dir) + return tarname def archive_sources_from_directory(d,stage_name): - '''archive sources codes tree to tarball when tarball of $P doesn't exist in $DL_DIR''' - import shutil - - s = d.getVar('S',True) - work_dir=d.getVar('WORKDIR', True) - PF = d.getVar('PF',True) - tarname = PF + '-' + stage_name + ".tar.gz" + '''archive sources codes tree to tarball when tarball of $P doesn't exist in $DL_DIR''' + import shutil + + s = d.getVar('S',True) + work_dir=d.getVar('WORKDIR', True) + PF = d.getVar('PF',True) + tarname = PF + '-' + stage_name + ".tar.gz" - if os.path.exists(s) and work_dir in s: - try: - source_dir = os.path.join(work_dir,[ i for i in s.replace(work_dir,'').split('/') if i][0]) - except IndexError: - if not cmp(s,work_dir): - return '' - else: - return '' - source = os.path.basename(source_dir) - return do_tarball(work_dir,source,tarname) + if os.path.exists(s) and work_dir in s: + try: + source_dir = os.path.join(work_dir,[ i for i in s.replace(work_dir,'').split('/') if i][0]) + except IndexError: + if not cmp(s,work_dir): + return '' + else: + return '' + source = os.path.basename(source_dir) + return do_tarball(work_dir,source,tarname) def archive_sources(d,stage_name): - '''copy tarball from $DL_DIR to $WORKDIR if have tarball, archive source codes tree in $WORKDIR if $P is directory instead of tarball''' - import shutil - work_dir = d.getVar('WORKDIR',True) - file = get_source_from_downloads(d,stage_name) - if file: - shutil.copy(file,work_dir) - file = os.path.basename(file) - else: - file = archive_sources_from_directory(d,stage_name) - return file + '''copy tarball from $DL_DIR to $WORKDIR if have tarball, archive source codes tree in $WORKDIR if $P is directory instead of tarball''' + import shutil + work_dir = d.getVar('WORKDIR',True) + file = get_source_from_downloads(d,stage_name) + if file: + shutil.copy(file,work_dir) + file = os.path.basename(file) + else: + file = archive_sources_from_directory(d,stage_name) + return file def archive_patches(d,patchdir,series): - '''archive patches to tarball and also include series files if 'series' is True''' - import shutil + '''archive patches to tarball and also include series files if 'series' is True''' + import shutil - s = d.getVar('S',True) - work_dir = d.getVar('WORKDIR', True) - patch_dir = os.path.basename(patchdir) - tarname = patch_dir + ".tar.gz" - if series == 'all' and os.path.exists(os.path.join(s,'patches/series')): - shutil.copy(os.path.join(s,'patches/series'),patchdir) - tarname = do_tarball(work_dir,patch_dir,tarname) - shutil.rmtree(patchdir, ignore_errors=True) - return tarname + s = d.getVar('S',True) + work_dir = d.getVar('WORKDIR', True) + patch_dir = os.path.basename(patchdir) + tarname = patch_dir + ".tar.gz" + if series == 'all' and os.path.exists(os.path.join(s,'patches/series')): + shutil.copy(os.path.join(s,'patches/series'),patchdir) + tarname = do_tarball(work_dir,patch_dir,tarname) + shutil.rmtree(patchdir, ignore_errors=True) + return tarname def select_archive_patches(d,option): - '''select to archive all patches including non-applying and series or applying patches ''' - if option == "all": - patchdir = get_series(d) - elif option == "applying": - patchdir = get_applying_patches(d) - try: - os.rmdir(patchdir) - except OSError: - tarpatch = archive_patches(d,patchdir,option) - return tarpatch - return + '''select to archive all patches including non-applying and series or applying patches ''' + if option == "all": + patchdir = get_series(d) + elif option == "applying": + patchdir = get_applying_patches(d) + try: + os.rmdir(patchdir) + except OSError: + tarpatch = archive_patches(d,patchdir,option) + return tarpatch + return def archive_logs(d,logdir,bbinc=False): - '''archive logs in temp to tarball and .bb and .inc files if bbinc is True ''' - import shutil + '''archive logs in temp to tarball and .bb and .inc files if bbinc is True ''' + import shutil - pf = d.getVar('PF',True) - work_dir = d.getVar('WORKDIR',True) - log_dir = os.path.basename(logdir) - tarname = pf + '-' + log_dir + ".tar.gz" - tarname = do_tarball(work_dir,log_dir,tarname) - if bbinc: - shutil.rmtree(logdir, ignore_errors=True) - return tarname + pf = d.getVar('PF',True) + work_dir = d.getVar('WORKDIR',True) + log_dir = os.path.basename(logdir) + tarname = pf + '-' + log_dir + ".tar.gz" + tarname = do_tarball(work_dir,log_dir,tarname) + if bbinc: + shutil.rmtree(logdir, ignore_errors=True) + return tarname def get_licenses(d): - '''get licenses for running .bb file''' - licenses = d.getVar('LICENSE', 1).replace('&', '|') - licenses = licenses.replace('(', '').replace(')', '') - clean_licenses = "" - for x in licenses.split(): - if x.strip() == '' or x == 'CLOSED': - continue - if x != "|": - clean_licenses += x - if '|' in clean_licenses: - clean_licenses = clean_licenses.replace('|','') - return clean_licenses - + '''get licenses for running .bb file''' + licenses = d.getVar('LICENSE', 1).replace('&', '|') + licenses = licenses.replace('(', '').replace(')', '') + clean_licenses = "" + for x in licenses.split(): + if x.strip() == '' or x == 'CLOSED': + continue + if x != "|": + clean_licenses += x + if '|' in clean_licenses: + clean_licenses = clean_licenses.replace('|','') + return clean_licenses + def move_tarball_deploy(d,tarball_list): - '''move tarball in location to ${DEPLOY_DIR}/sources''' - import shutil - - if tarball_list is []: - return - target_sys = d.getVar('TARGET_SYS', True) - pf = d.getVar('PF', True) - licenses = get_licenses(d) - work_dir = d.getVar('WORKDIR',True) - tar_sources = d.getVar('DEPLOY_DIR', True) + '/sources/' + target_sys + '/' + licenses + '/' + pf - if not os.path.exists(tar_sources): - bb.mkdirhier(tar_sources) - for source in tarball_list: - if source: - if os.path.exists(os.path.join(tar_sources, source)): - os.remove(os.path.join(tar_sources,source)) - shutil.move(os.path.join(work_dir,source),tar_sources) + '''move tarball in location to ${DEPLOY_DIR}/sources''' + import shutil + + if tarball_list is []: + return + target_sys = d.getVar('TARGET_SYS', True) + pf = d.getVar('PF', True) + licenses = get_licenses(d) + work_dir = d.getVar('WORKDIR',True) + tar_sources = d.getVar('DEPLOY_DIR', True) + '/sources/' + target_sys + '/' + licenses + '/' + pf + if not os.path.exists(tar_sources): + bb.mkdirhier(tar_sources) + for source in tarball_list: + if source: + if os.path.exists(os.path.join(tar_sources, source)): + os.remove(os.path.join(tar_sources,source)) + shutil.move(os.path.join(work_dir,source),tar_sources) def check_archiving_type(d): - '''check the type for archiving package('tar' or 'srpm')''' - try: - if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in d.getVar('ARCHIVE_TYPE', True).split(): - raise AttributeError - except AttributeError: - bb.fatal("\"SOURCE_ARCHIVE_PACKAGE_TYPE\" is \'tar\' or \'srpm\', no other types") + '''check the type for archiving package('tar' or 'srpm')''' + try: + if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in d.getVar('ARCHIVE_TYPE', True).split(): + raise AttributeError + except AttributeError: + bb.fatal("\"SOURCE_ARCHIVE_PACKAGE_TYPE\" is \'tar\' or \'srpm\', no other types") def store_package(d,package_name): - '''store tarbablls name to file "tar-package"''' - try: - f = open(os.path.join(d.getVar('WORKDIR',True),'tar-package'),'a') - f.write(package_name + ' ') - f.close() - except IOError: - pass + '''store tarbablls name to file "tar-package"''' + try: + f = open(os.path.join(d.getVar('WORKDIR',True),'tar-package'),'a') + f.write(package_name + ' ') + f.close() + except IOError: + pass def get_package(d): - '''get tarballs name from "tar-package"''' - work_dir = (d.getVar('WORKDIR', True)) - tarpackage = os.path.join(work_dir,'tar-package') - try: - f = open(tarpackage,'r') - line = list(set(f.readline().replace('\n','').split())) - except IOError: - pass - f.close() - return line + '''get tarballs name from "tar-package"''' + work_dir = (d.getVar('WORKDIR', True)) + tarpackage = os.path.join(work_dir,'tar-package') + try: + f = open(tarpackage,'r') + line = list(set(f.readline().replace('\n','').split())) + except IOError: + pass + f.close() + return line def archive_sources_patches(d,stage_name): - '''archive sources and patches to tarball. stage_name will append strings ${stage_name} to ${PR} as middle name. for example, zlib-1.4.6-prepatch(stage_name).tar.gz ''' - import shutil + '''archive sources and patches to tarball. stage_name will append strings ${stage_name} to ${PR} as middle name. for example, zlib-1.4.6-prepatch(stage_name).tar.gz ''' + import shutil - check_archiving_type(d) - if not_tarball(d): - return - - source_tar_name = archive_sources(d,stage_name) - if stage_name == "prepatch": - if d.getVar('PATCHES_ARCHIVE_WITH_SERIES',True).upper() == 'TRUE': - patch_tar_name = select_archive_patches(d,"all") - elif d.getVar('PATCHES_ARCHIVE_WITH_SERIES',True).upper() == 'FALSE': - patch_tar_name = select_archive_patches(d,"applying") - else: - bb.fatal("Please define 'PATCHES_ARCHIVE_WITH_SERIES' is strings 'True' or 'False' ") - else: - patch_tar_name = '' - - if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM': - move_tarball_deploy(d,[source_tar_name,patch_tar_name]) - else: - tarpackage = os.path.join(d.getVar('WORKDIR', True),'tar-package') - if os.path.exists(tarpackage): - os.remove(tarpackage) - for package in os.path.basename(source_tar_name), patch_tar_name: - if package: - store_package(d,str(package) + ' ') + check_archiving_type(d) + if not_tarball(d): + return + + source_tar_name = archive_sources(d,stage_name) + if stage_name == "prepatch": + if d.getVar('PATCHES_ARCHIVE_WITH_SERIES',True).upper() == 'TRUE': + patch_tar_name = select_archive_patches(d,"all") + elif d.getVar('PATCHES_ARCHIVE_WITH_SERIES',True).upper() == 'FALSE': + patch_tar_name = select_archive_patches(d,"applying") + else: + bb.fatal("Please define 'PATCHES_ARCHIVE_WITH_SERIES' is strings 'True' or 'False' ") + else: + patch_tar_name = '' + + if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM': + move_tarball_deploy(d,[source_tar_name,patch_tar_name]) + else: + tarpackage = os.path.join(d.getVar('WORKDIR', True),'tar-package') + if os.path.exists(tarpackage): + os.remove(tarpackage) + for package in os.path.basename(source_tar_name), patch_tar_name: + if package: + store_package(d,str(package) + ' ') def archive_scripts_logs(d): - '''archive scripts and logs. scripts include .bb and .inc files and logs include stuff in "temp".''' + '''archive scripts and logs. scripts include .bb and .inc files and logs include stuff in "temp".''' - work_dir = d.getVar('WORKDIR', True) - temp_dir = os.path.join(work_dir,'temp') - source_archive_log_with_scripts = d.getVar('SOURCE_ARCHIVE_LOG_WITH_SCRIPTS', True) - if source_archive_log_with_scripts == 'logs_with_scripts': - logdir = get_bb_inc(d) - tarlog = archive_logs(d,logdir,True) - elif source_archive_log_with_scripts == 'logs': - if os.path.exists(temp_dir): - tarlog = archive_logs(d,temp_dir,False) - else: - return - - if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM': - move_tarball_deploy(d,[tarlog]) + work_dir = d.getVar('WORKDIR', True) + temp_dir = os.path.join(work_dir,'temp') + source_archive_log_with_scripts = d.getVar('SOURCE_ARCHIVE_LOG_WITH_SCRIPTS', True) + if source_archive_log_with_scripts == 'logs_with_scripts': + logdir = get_bb_inc(d) + tarlog = archive_logs(d,logdir,True) + elif source_archive_log_with_scripts == 'logs': + if os.path.exists(temp_dir): + tarlog = archive_logs(d,temp_dir,False) + else: + return + + if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM': + move_tarball_deploy(d,[tarlog]) - else: - store_package(d,tarlog) + else: + store_package(d,tarlog) def dumpdata(d): - '''dump environment to "${P}-${PR}.showdata.dump" including all kinds of variables and functions when running a task''' - workdir = bb.data.getVar('WORKDIR', d, 1) - distro = bb.data.getVar('DISTRO', d, 1) - s = d.getVar('S', True) - pf = d.getVar('PF', True) - target_sys = d.getVar('TARGET_SYS', True) - licenses = get_licenses(d) - dumpdir = d.getVar('DEPLOY_DIR', True) + '/sources/' + target_sys + '/' + licenses + '/' + pf - if not os.path.exists(dumpdir): - bb.mkdirhier(dumpdir) + '''dump environment to "${P}-${PR}.showdata.dump" including all kinds of variables and functions when running a task''' + workdir = bb.data.getVar('WORKDIR', d, 1) + distro = bb.data.getVar('DISTRO', d, 1) + s = d.getVar('S', True) + pf = d.getVar('PF', True) + target_sys = d.getVar('TARGET_SYS', True) + licenses = get_licenses(d) + dumpdir = d.getVar('DEPLOY_DIR', True) + '/sources/' + target_sys + '/' + licenses + '/' + pf + if not os.path.exists(dumpdir): + bb.mkdirhier(dumpdir) - dumpfile = os.path.join(dumpdir, bb.data.expand("${P}-${PR}.showdata.dump",d)) + dumpfile = os.path.join(dumpdir, bb.data.expand("${P}-${PR}.showdata.dump",d)) - bb.note("Dumping metadata into '%s'" % dumpfile) - f = open(dumpfile, "w") - # emit variables and shell functions - bb.data.emit_env(f, d, True) - # emit the metadata which isnt valid shell - for e in d.keys(): - if bb.data.getVarFlag(e, 'python', d): - f.write("\npython %s () {\n%s}\n" % (e, bb.data.getVar(e, d, 1))) - f.close() + bb.note("Dumping metadata into '%s'" % dumpfile) + f = open(dumpfile, "w") + # emit variables and shell functions + bb.data.emit_env(f, d, True) + # emit the metadata which isnt valid shell + for e in d.keys(): + if bb.data.getVarFlag(e, 'python', d): + f.write("\npython %s () {\n%s}\n" % (e, bb.data.getVar(e, d, 1))) + f.close() def create_diff_gz(d): - '''creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.g gz for mapping all content in 's' including patches to xxx.diff.gz''' - import shutil + '''creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.g gz for mapping all content in 's' including patches to xxx.diff.gz''' + import shutil - work_dir = d.getVar('WORKDIR', True) - exclude_from = d.getVar('ARCHIVE_EXCLUDE_FROM', True).split() - pf = d.getVar('PF', True) - licenses = get_licenses(d) - target_sys = d.getVar('TARGET_SYS', True) - diff_dir = d.getVar('DEPLOY_DIR', True) + '/sources/' + target_sys + '/' + licenses + '/' + pf - diff_file = os.path.join(diff_dir, bb.data.expand("${P}-${PR}.diff.gz",d)) + work_dir = d.getVar('WORKDIR', True) + exclude_from = d.getVar('ARCHIVE_EXCLUDE_FROM', True).split() + pf = d.getVar('PF', True) + licenses = get_licenses(d) + target_sys = d.getVar('TARGET_SYS', True) + diff_dir = d.getVar('DEPLOY_DIR', True) + '/sources/' + target_sys + '/' + licenses + '/' + pf + diff_file = os.path.join(diff_dir, bb.data.expand("${P}-${PR}.diff.gz",d)) - f = open(os.path.join(work_dir,'temp/exclude-from-file'), 'a') - for i in exclude_from: - f.write(i) - f.write("\n") - f.close() + f = open(os.path.join(work_dir,'temp/exclude-from-file'), 'a') + for i in exclude_from: + f.write(i) + f.write("\n") + f.close() - s=d.getVar('S', True) - distro = d.getVar('DISTRO',True) - dest = s + '/' + distro + '/files' - if not os.path.exists(dest): - bb.mkdirhier(dest) - for i in os.listdir(os.getcwd()): - if os.path.isfile(i): - try: - shutil.copy(i, dest) - except IOError: - os.system('fakeroot cp -rf ' + i + " " + dest ) - - bb.note("Creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz") - cmd = "LC_ALL=C TZ=UTC0 diff --exclude-from=" + work_dir + "/temp/exclude-from-file -Naur " + s + '.org' + ' ' + s + " | gzip -c > " + diff_file - d.setVar('DIFF', cmd + "\n") - d.setVarFlag('DIFF', 'func', '1') - bb.build.exec_func('DIFF', d) - shutil.rmtree(s + '.org', ignore_errors=True) + s=d.getVar('S', True) + distro = d.getVar('DISTRO',True) + dest = s + '/' + distro + '/files' + if not os.path.exists(dest): + bb.mkdirhier(dest) + for i in os.listdir(os.getcwd()): + if os.path.isfile(i): + try: + shutil.copy(i, dest) + except IOError: + os.system('fakeroot cp -rf ' + i + " " + dest ) + + bb.note("Creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz") + cmd = "LC_ALL=C TZ=UTC0 diff --exclude-from=" + work_dir + "/temp/exclude-from-file -Naur " + s + '.org' + ' ' + s + " | gzip -c > " + diff_file + d.setVar('DIFF', cmd + "\n") + d.setVarFlag('DIFF', 'func', '1') + bb.build.exec_func('DIFF', d) + shutil.rmtree(s + '.org', ignore_errors=True) # This function will run when user want to get tarball for sources and patches after do_unpack python do_archive_original_sources_patches(){ - archive_sources_patches(d,'prepatch') + archive_sources_patches(d,'prepatch') } # This function will run when user want to get tarball for patched sources after do_patch python do_archive_patched_sources(){ - archive_sources_patches(d,'patched') + archive_sources_patches(d,'patched') } # This function will run when user want to get tarball for configured sources after do_configure python do_archive_configured_sources(){ - archive_sources_patches(d,'configured') + archive_sources_patches(d,'configured') } # This function will run when user want to get tarball for logs or both logs and scripts(.bb and .inc files) python do_archive_scripts_logs(){ - archive_scripts_logs(d) + archive_scripts_logs(d) } # This function will run when user want to know what variable and functions in a running task are and also can get a diff file including # all content a package should include. python do_dumpdata_create_diff_gz(){ - dumpdata(d) - create_diff_gz(d) + dumpdata(d) + create_diff_gz(d) } # This functions prepare for archiving "linux-yocto" because this package create directory 's' before do_patch instead of after do_unpack. # This is special control for archiving linux-yocto only. python do_archive_linux_yocto(){ - s = d.getVar('S', True) - if 'linux-yocto' in s: - source_tar_name = archive_sources(d,'') - if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM': - move_tarball_deploy(d,[source_tar_name,'']) + s = d.getVar('S', True) + if 'linux-yocto' in s: + source_tar_name = archive_sources(d,'') + if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM': + move_tarball_deploy(d,[source_tar_name,'']) } do_kernel_checkout[postfuncs] += "do_archive_linux_yocto " # remove tarball for sources, patches and logs after creating srpm. python do_remove_tarball(){ - if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() == 'SRPM': - work_dir = d.getVar('WORKDIR', True) - try: - for file in os.listdir(os.getcwd()): - if file in get_package(d): - os.remove(file) - os.remove(os.path.join(work_dir,'tar-package')) - except (TypeError,OSError): - pass + if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() == 'SRPM': + work_dir = d.getVar('WORKDIR', True) + try: + for file in os.listdir(os.getcwd()): + if file in get_package(d): + os.remove(file) + os.remove(os.path.join(work_dir,'tar-package')) + except (TypeError,OSError): + pass } do_remove_taball[deptask] = "do_archive_scripts_logs" do_package_write_rpm[postfuncs] += "do_remove_tarball " From 12c250ece554d9491b1baeae3eb19be509066448 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 30 May 2014 16:12:28 +0200 Subject: [PATCH 298/908] sysmocom-archiver: whitelist gcc-cross * archiver discard the source providing for all native and shared-work recipes, so we whitelist gcc-cross, which covers the source code for the runtime libgcc package Fixes: SYS#372 --- classes/sysmocom-archiver.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/classes/sysmocom-archiver.bbclass b/classes/sysmocom-archiver.bbclass index f1b219150b..ff0e093d1e 100644 --- a/classes/sysmocom-archiver.bbclass +++ b/classes/sysmocom-archiver.bbclass @@ -113,6 +113,9 @@ def not_tarball(d): workdir = d.getVar('WORKDIR',True) s = d.getVar('S',True) if 'work-shared' in s or 'task-' in workdir or 'native' in workdir: + pn = bb.data.getVar('PN', d , True) + if pn == 'gcc-cross': + return False return True else: return False From cadbd162ed0ea6de0374add1522189845192a804 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 30 May 2014 17:20:27 +0200 Subject: [PATCH 299/908] sysmocom-archiver: cleanup whitespaces --- classes/sysmocom-archiver.bbclass | 53 +++++++++++++++---------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/classes/sysmocom-archiver.bbclass b/classes/sysmocom-archiver.bbclass index ff0e093d1e..b63e73e448 100644 --- a/classes/sysmocom-archiver.bbclass +++ b/classes/sysmocom-archiver.bbclass @@ -1,6 +1,6 @@ # This file is used for archiving sources ,patches,and logs to tarball. -# It also output building environment to xxx.dump.data and create xxx.diff.gz to record -# all content in ${S} to a diff file. +# It also output building environment to xxx.dump.data and create xxx.diff.gz to record +# all content in ${S} to a diff file. ARCHIVE_EXCLUDE_FROM ?= ".pc autom4te.cache" ARCHIVE_TYPE ?= "TAR SRPM" @@ -12,7 +12,7 @@ def get_bb_inc(d): import re import os import shutil - + bbinc = [] pat=re.compile('require\s*([^\s]*\.*)(.*)') work_dir = d.getVar('WORKDIR', True) @@ -22,12 +22,12 @@ def get_bb_inc(d): bb_inc = os.path.join(script_logs,'bb_inc') bb.mkdirhier(script_logs) bb.mkdirhier(bb_inc) - + def find_file(dir,file): for root, dirs, files in os.walk(dir): if file in files: - return os.path.join(root,file) - + return os.path.join(root,file) + def get_inc (file): f = open(file,'r') for line in f.readlines(): @@ -58,15 +58,15 @@ def get_bb_inc(d): def get_series(d): '''copy patches and series file to a pointed directory which will be archived to tarball in ${WORKDIR}''' import shutil - + src_patches=[] pf = d.getVar('PF', True) work_dir = d.getVar('WORKDIR', True) s = d.getVar('S',True) - dest = os.path.join(work_dir, pf + '-series') + dest = os.path.join(work_dir, pf + '-series') shutil.rmtree(dest, ignore_errors=True) bb.mkdirhier(dest) - + src_uri = d.getVar('SRC_URI', True).split() fetch = bb.fetch2.Fetch(src_uri, d) locals = (fetch.localpath(url) for url in fetch.urls) @@ -76,7 +76,7 @@ def get_series(d): tmp_list = src_patches else: tmp_list = src_patches[1:] - + for patch in tmp_list: try: shutil.copy(patch,dest) @@ -94,7 +94,7 @@ def get_applying_patches(d): pf = d.getVar('PF', True) work_dir = d.getVar('WORKDIR', True) - dest = os.path.join(work_dir, pf + '-patches') + dest = os.path.join(work_dir, pf + '-patches') shutil.rmtree(dest, ignore_errors=True) bb.mkdirhier(dest) @@ -137,7 +137,7 @@ def get_source_from_downloads(d,stage_name): def do_tarball(workdir,srcdir,tarname): '''tar "srcdir" under "workdir" to "tarname"''' import tarfile - + sav_dir = os.getcwd() os.chdir(workdir) if (len(os.listdir(srcdir))) != 0: @@ -149,10 +149,10 @@ def do_tarball(workdir,srcdir,tarname): os.chdir(sav_dir) return tarname -def archive_sources_from_directory(d,stage_name): +def archive_sources_from_directory(d,stage_name): '''archive sources codes tree to tarball when tarball of $P doesn't exist in $DL_DIR''' import shutil - + s = d.getVar('S',True) work_dir=d.getVar('WORKDIR', True) PF = d.getVar('PF',True) @@ -220,12 +220,12 @@ def archive_logs(d,logdir,bbinc=False): tarname = do_tarball(work_dir,log_dir,tarname) if bbinc: shutil.rmtree(logdir, ignore_errors=True) - return tarname + return tarname def get_licenses(d): '''get licenses for running .bb file''' licenses = d.getVar('LICENSE', 1).replace('&', '|') - licenses = licenses.replace('(', '').replace(')', '') + licenses = licenses.replace('(', '').replace(')', '') clean_licenses = "" for x in licenses.split(): if x.strip() == '' or x == 'CLOSED': @@ -235,12 +235,11 @@ def get_licenses(d): if '|' in clean_licenses: clean_licenses = clean_licenses.replace('|','') return clean_licenses - def move_tarball_deploy(d,tarball_list): '''move tarball in location to ${DEPLOY_DIR}/sources''' import shutil - + if tarball_list is []: return target_sys = d.getVar('TARGET_SYS', True) @@ -260,9 +259,9 @@ def check_archiving_type(d): '''check the type for archiving package('tar' or 'srpm')''' try: if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in d.getVar('ARCHIVE_TYPE', True).split(): - raise AttributeError + raise AttributeError except AttributeError: - bb.fatal("\"SOURCE_ARCHIVE_PACKAGE_TYPE\" is \'tar\' or \'srpm\', no other types") + bb.fatal("\"SOURCE_ARCHIVE_PACKAGE_TYPE\" is \'tar\' or \'srpm\', no other types") def store_package(d,package_name): '''store tarbablls name to file "tar-package"''' @@ -290,10 +289,10 @@ def archive_sources_patches(d,stage_name): '''archive sources and patches to tarball. stage_name will append strings ${stage_name} to ${PR} as middle name. for example, zlib-1.4.6-prepatch(stage_name).tar.gz ''' import shutil - check_archiving_type(d) + check_archiving_type(d) if not_tarball(d): return - + source_tar_name = archive_sources(d,stage_name) if stage_name == "prepatch": if d.getVar('PATCHES_ARCHIVE_WITH_SERIES',True).upper() == 'TRUE': @@ -304,7 +303,7 @@ def archive_sources_patches(d,stage_name): bb.fatal("Please define 'PATCHES_ARCHIVE_WITH_SERIES' is strings 'True' or 'False' ") else: patch_tar_name = '' - + if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM': move_tarball_deploy(d,[source_tar_name,patch_tar_name]) else: @@ -329,7 +328,7 @@ def archive_scripts_logs(d): tarlog = archive_logs(d,temp_dir,False) else: return - + if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM': move_tarball_deploy(d,[tarlog]) @@ -389,11 +388,11 @@ def create_diff_gz(d): shutil.copy(i, dest) except IOError: os.system('fakeroot cp -rf ' + i + " " + dest ) - + bb.note("Creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz") cmd = "LC_ALL=C TZ=UTC0 diff --exclude-from=" + work_dir + "/temp/exclude-from-file -Naur " + s + '.org' + ' ' + s + " | gzip -c > " + diff_file d.setVar('DIFF', cmd + "\n") - d.setVarFlag('DIFF', 'func', '1') + d.setVarFlag('DIFF', 'func', '1') bb.build.exec_func('DIFF', d) shutil.rmtree(s + '.org', ignore_errors=True) @@ -417,7 +416,7 @@ python do_archive_scripts_logs(){ archive_scripts_logs(d) } -# This function will run when user want to know what variable and functions in a running task are and also can get a diff file including +# This function will run when user want to know what variable and functions in a running task are and also can get a diff file including # all content a package should include. python do_dumpdata_create_diff_gz(){ dumpdata(d) From edee5f726abb24ca49e858e833ab4b36ffba5d4b Mon Sep 17 00:00:00 2001 From: Henning Date: Tue, 6 May 2014 16:35:00 +0200 Subject: [PATCH 300/908] sysmobts-2050: remove extra defconfig file * the config file from symobts-v2 is enough Fixes: SYS#235 --- .../linux/files/sysmobts-2050/defconfig | 1882 ----------------- 1 file changed, 1882 deletions(-) delete mode 100644 recipes-bsp/linux/files/sysmobts-2050/defconfig diff --git a/recipes-bsp/linux/files/sysmobts-2050/defconfig b/recipes-bsp/linux/files/sysmobts-2050/defconfig deleted file mode 100644 index 672a4d2439..0000000000 --- a/recipes-bsp/linux/files/sysmobts-2050/defconfig +++ /dev/null @@ -1,1882 +0,0 @@ -# -# Automatically generated file; DO NOT EDIT. -# Linux/arm 3.2.19 Kernel Configuration -# -CONFIG_ARM=y -CONFIG_SYS_SUPPORTS_APM_EMULATION=y -CONFIG_GENERIC_GPIO=y -# CONFIG_ARCH_USES_GETTIMEOFFSET is not set -CONFIG_GENERIC_CLOCKEVENTS=y -CONFIG_KTIME_SCALAR=y -CONFIG_HAVE_PROC_CPU=y -CONFIG_STACKTRACE_SUPPORT=y -CONFIG_HAVE_LATENCYTOP_SUPPORT=y -CONFIG_LOCKDEP_SUPPORT=y -CONFIG_TRACE_IRQFLAGS_SUPPORT=y -CONFIG_HARDIRQS_SW_RESEND=y -CONFIG_GENERIC_IRQ_PROBE=y -CONFIG_RWSEM_GENERIC_SPINLOCK=y -CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y -CONFIG_GENERIC_HWEIGHT=y -CONFIG_GENERIC_CALIBRATE_DELAY=y -CONFIG_ZONE_DMA=y -CONFIG_NEED_DMA_MAP_STATE=y -CONFIG_VECTORS_BASE=0xffff0000 -CONFIG_ARM_PATCH_PHYS_VIRT=y -CONFIG_GENERIC_BUG=y -CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" -CONFIG_HAVE_IRQ_WORK=y -CONFIG_IRQ_WORK=y - -# -# General setup -# -CONFIG_EXPERIMENTAL=y -CONFIG_BROKEN_ON_SMP=y -CONFIG_INIT_ENV_ARG_LIMIT=32 -CONFIG_CROSS_COMPILE="" -CONFIG_LOCALVERSION="" -CONFIG_LOCALVERSION_AUTO=y -CONFIG_HAVE_KERNEL_GZIP=y -CONFIG_HAVE_KERNEL_LZMA=y -CONFIG_HAVE_KERNEL_LZO=y -CONFIG_KERNEL_GZIP=y -# CONFIG_KERNEL_LZMA is not set -# CONFIG_KERNEL_LZO is not set -CONFIG_DEFAULT_HOSTNAME="(none)" -# CONFIG_SWAP is not set -CONFIG_SYSVIPC=y -CONFIG_SYSVIPC_SYSCTL=y -CONFIG_POSIX_MQUEUE=y -CONFIG_POSIX_MQUEUE_SYSCTL=y -# CONFIG_BSD_PROCESS_ACCT is not set -# CONFIG_FHANDLE is not set -# CONFIG_TASKSTATS is not set -# CONFIG_AUDIT is not set -CONFIG_HAVE_GENERIC_HARDIRQS=y - -# -# IRQ subsystem -# -CONFIG_GENERIC_HARDIRQS=y -CONFIG_HAVE_SPARSE_IRQ=y -CONFIG_GENERIC_IRQ_SHOW=y -CONFIG_GENERIC_IRQ_CHIP=y -# CONFIG_SPARSE_IRQ is not set - -# -# RCU Subsystem -# -CONFIG_TINY_PREEMPT_RCU=y -CONFIG_PREEMPT_RCU=y -# CONFIG_RCU_TRACE is not set -# CONFIG_TREE_RCU_TRACE is not set -# CONFIG_RCU_BOOST is not set -CONFIG_IKCONFIG=m -CONFIG_IKCONFIG_PROC=y -CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_CGROUPS is not set -# CONFIG_NAMESPACES is not set -# CONFIG_SCHED_AUTOGROUP is not set -# CONFIG_SYSFS_DEPRECATED is not set -# CONFIG_RELAY is not set -# CONFIG_BLK_DEV_INITRD is not set -# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set -CONFIG_SYSCTL=y -CONFIG_ANON_INODES=y -CONFIG_EXPERT=y -CONFIG_UID16=y -CONFIG_SYSCTL_SYSCALL=y -CONFIG_KALLSYMS=y -CONFIG_KALLSYMS_ALL=y -CONFIG_HOTPLUG=y -CONFIG_PRINTK=y -CONFIG_BUG=y -CONFIG_ELF_CORE=y -CONFIG_BASE_FULL=y -CONFIG_FUTEX=y -CONFIG_EPOLL=y -CONFIG_SIGNALFD=y -CONFIG_TIMERFD=y -CONFIG_EVENTFD=y -CONFIG_SHMEM=y -CONFIG_AIO=y -CONFIG_EMBEDDED=y -CONFIG_HAVE_PERF_EVENTS=y -CONFIG_PERF_USE_VMALLOC=y - -# -# Kernel Performance Events And Counters -# -CONFIG_PERF_EVENTS=y -# CONFIG_PERF_COUNTERS is not set -# CONFIG_DEBUG_PERF_USE_VMALLOC is not set -CONFIG_VM_EVENT_COUNTERS=y -CONFIG_SLUB_DEBUG=y -CONFIG_COMPAT_BRK=y -# CONFIG_SLAB is not set -CONFIG_SLUB=y -# CONFIG_SLOB is not set -CONFIG_PROFILING=y -CONFIG_OPROFILE=m -CONFIG_HAVE_OPROFILE=y -# CONFIG_KPROBES is not set -CONFIG_HAVE_KPROBES=y -CONFIG_HAVE_KRETPROBES=y -CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y -CONFIG_HAVE_CLK=y -CONFIG_HAVE_DMA_API_DEBUG=y - -# -# GCOV-based kernel profiling -# -# CONFIG_GCOV_KERNEL is not set -CONFIG_HAVE_GENERIC_DMA_COHERENT=y -CONFIG_SLABINFO=y -CONFIG_RT_MUTEXES=y -CONFIG_BASE_SMALL=0 -CONFIG_MODULES=y -# CONFIG_MODULE_FORCE_LOAD is not set -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_MODVERSIONS=y -# CONFIG_MODULE_SRCVERSION_ALL is not set -CONFIG_BLOCK=y -CONFIG_LBDAF=y -# CONFIG_BLK_DEV_BSG is not set -# CONFIG_BLK_DEV_BSGLIB is not set -# CONFIG_BLK_DEV_INTEGRITY is not set - -# -# IO Schedulers -# -CONFIG_IOSCHED_NOOP=y -# CONFIG_IOSCHED_DEADLINE is not set -# CONFIG_IOSCHED_CFQ is not set -CONFIG_DEFAULT_NOOP=y -CONFIG_DEFAULT_IOSCHED="noop" -# CONFIG_INLINE_SPIN_TRYLOCK is not set -# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set -# CONFIG_INLINE_SPIN_LOCK is not set -# CONFIG_INLINE_SPIN_LOCK_BH is not set -# CONFIG_INLINE_SPIN_LOCK_IRQ is not set -# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set -# CONFIG_INLINE_SPIN_UNLOCK is not set -# CONFIG_INLINE_SPIN_UNLOCK_BH is not set -# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set -# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set -# CONFIG_INLINE_READ_TRYLOCK is not set -# CONFIG_INLINE_READ_LOCK is not set -# CONFIG_INLINE_READ_LOCK_BH is not set -# CONFIG_INLINE_READ_LOCK_IRQ is not set -# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set -# CONFIG_INLINE_READ_UNLOCK is not set -# CONFIG_INLINE_READ_UNLOCK_BH is not set -# CONFIG_INLINE_READ_UNLOCK_IRQ is not set -# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set -# CONFIG_INLINE_WRITE_TRYLOCK is not set -# CONFIG_INLINE_WRITE_LOCK is not set -# CONFIG_INLINE_WRITE_LOCK_BH is not set -# CONFIG_INLINE_WRITE_LOCK_IRQ is not set -# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set -# CONFIG_INLINE_WRITE_UNLOCK is not set -# CONFIG_INLINE_WRITE_UNLOCK_BH is not set -# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set -# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set -# CONFIG_MUTEX_SPIN_ON_OWNER is not set -CONFIG_FREEZER=y - -# -# System Type -# -CONFIG_MMU=y -# CONFIG_ARCH_INTEGRATOR is not set -# CONFIG_ARCH_REALVIEW is not set -# CONFIG_ARCH_VERSATILE is not set -# CONFIG_ARCH_VEXPRESS is not set -# CONFIG_ARCH_AT91 is not set -# CONFIG_ARCH_BCMRING is not set -# CONFIG_ARCH_HIGHBANK is not set -# CONFIG_ARCH_CLPS711X is not set -# CONFIG_ARCH_CNS3XXX is not set -# CONFIG_ARCH_GEMINI is not set -# CONFIG_ARCH_PRIMA2 is not set -# CONFIG_ARCH_EBSA110 is not set -# CONFIG_ARCH_EP93XX is not set -# CONFIG_ARCH_FOOTBRIDGE is not set -# CONFIG_ARCH_MXC is not set -# CONFIG_ARCH_MXS is not set -# CONFIG_ARCH_NETX is not set -# CONFIG_ARCH_H720X is not set -# CONFIG_ARCH_IOP13XX is not set -# CONFIG_ARCH_IOP32X is not set -# CONFIG_ARCH_IOP33X is not set -# CONFIG_ARCH_IXP23XX is not set -# CONFIG_ARCH_IXP2000 is not set -# CONFIG_ARCH_IXP4XX is not set -# CONFIG_ARCH_DOVE is not set -# CONFIG_ARCH_KIRKWOOD is not set -# CONFIG_ARCH_LPC32XX is not set -# CONFIG_ARCH_MV78XX0 is not set -# CONFIG_ARCH_ORION5X is not set -# CONFIG_ARCH_MMP is not set -# CONFIG_ARCH_KS8695 is not set -# CONFIG_ARCH_W90X900 is not set -# CONFIG_ARCH_TEGRA is not set -# CONFIG_ARCH_PICOXCELL is not set -# CONFIG_ARCH_PNX4008 is not set -# CONFIG_ARCH_PXA is not set -# CONFIG_ARCH_MSM is not set -# CONFIG_ARCH_SHMOBILE is not set -# CONFIG_ARCH_RPC is not set -# CONFIG_ARCH_SA1100 is not set -# CONFIG_ARCH_S3C2410 is not set -# CONFIG_ARCH_S3C64XX is not set -# CONFIG_ARCH_S5P64X0 is not set -# CONFIG_ARCH_S5PC100 is not set -# CONFIG_ARCH_S5PV210 is not set -# CONFIG_ARCH_EXYNOS is not set -# CONFIG_ARCH_SHARK is not set -# CONFIG_ARCH_TCC_926 is not set -# CONFIG_ARCH_U300 is not set -# CONFIG_ARCH_U8500 is not set -# CONFIG_ARCH_NOMADIK is not set -CONFIG_ARCH_DAVINCI=y -# CONFIG_ARCH_OMAP is not set -# CONFIG_PLAT_SPEAR is not set -# CONFIG_ARCH_VT8500 is not set -# CONFIG_ARCH_ZYNQ is not set -CONFIG_AINTC=y -CONFIG_ARCH_DAVINCI_DMx=y - -# -# TI DaVinci Implementations -# - -# -# DaVinci Core Type -# -CONFIG_ARCH_DAVINCI_DM644x=y -# CONFIG_ARCH_DAVINCI_DM355 is not set -# CONFIG_ARCH_DAVINCI_DM646x is not set -# CONFIG_ARCH_DAVINCI_DA830 is not set -# CONFIG_ARCH_DAVINCI_DA850 is not set -# CONFIG_ARCH_DAVINCI_DM365 is not set -# CONFIG_ARCH_DAVINCI_TNETV107X is not set - -# -# DaVinci Board Type -# -# CONFIG_MACH_DAVINCI_EVM is not set -# CONFIG_MACH_SFFSDR is not set -# CONFIG_MACH_SYSMOBTS_V1 is not set -CONFIG_MACH_SYSMOBTS_V2=y -# CONFIG_MACH_NEUROS_OSD2 is not set -# CONFIG_GPIO_PCA953X is not set -# CONFIG_KEYBOARD_GPIO_POLLED is not set -# CONFIG_DAVINCI_MUX is not set -# CONFIG_DAVINCI_RESET_CLOCKS is not set - -# -# System MMU -# - -# -# Processor Type -# -CONFIG_CPU_ARM926T=y -CONFIG_CPU_32v5=y -CONFIG_CPU_ABRT_EV5TJ=y -CONFIG_CPU_PABRT_LEGACY=y -CONFIG_CPU_CACHE_VIVT=y -CONFIG_CPU_COPY_V4WB=y -CONFIG_CPU_TLB_V4WBI=y -CONFIG_CPU_CP15=y -CONFIG_CPU_CP15_MMU=y -CONFIG_CPU_USE_DOMAINS=y - -# -# Processor Features -# -CONFIG_ARM_THUMB=y -# CONFIG_CPU_ICACHE_DISABLE is not set -# CONFIG_CPU_DCACHE_DISABLE is not set -# CONFIG_CPU_DCACHE_WRITETHROUGH is not set -# CONFIG_CPU_CACHE_ROUND_ROBIN is not set -CONFIG_ARM_L1_CACHE_SHIFT=5 - -# -# Bus support -# -# CONFIG_PCI_SYSCALL is not set -# CONFIG_ARCH_SUPPORTS_MSI is not set -# CONFIG_PCCARD is not set - -# -# Kernel Features -# -CONFIG_TICK_ONESHOT=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_GENERIC_CLOCKEVENTS_BUILD=y -CONFIG_VMSPLIT_3G=y -# CONFIG_VMSPLIT_2G is not set -# CONFIG_VMSPLIT_1G is not set -CONFIG_PAGE_OFFSET=0xC0000000 -# CONFIG_PREEMPT_NONE is not set -# CONFIG_PREEMPT_VOLUNTARY is not set -CONFIG_PREEMPT=y -CONFIG_PREEMPT_COUNT=y -CONFIG_HZ=100 -CONFIG_AEABI=y -CONFIG_OABI_COMPAT=y -CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y -# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set -# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set -CONFIG_HAVE_ARCH_PFN_VALID=y -# CONFIG_HIGHMEM is not set -CONFIG_SELECT_MEMORY_MODEL=y -CONFIG_FLATMEM_MANUAL=y -CONFIG_FLATMEM=y -CONFIG_FLAT_NODE_MEM_MAP=y -CONFIG_HAVE_MEMBLOCK=y -CONFIG_PAGEFLAGS_EXTENDED=y -CONFIG_SPLIT_PTLOCK_CPUS=999999 -# CONFIG_COMPACTION is not set -# CONFIG_PHYS_ADDR_T_64BIT is not set -CONFIG_ZONE_DMA_FLAG=1 -CONFIG_BOUNCE=y -CONFIG_VIRT_TO_BUS=y -# CONFIG_KSM is not set -CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 -CONFIG_NEED_PER_CPU_KM=y -# CONFIG_CLEANCACHE is not set -CONFIG_FORCE_MAX_ZONEORDER=11 -CONFIG_LEDS=y -CONFIG_LEDS_CPU=y -CONFIG_ALIGNMENT_TRAP=y -# CONFIG_UACCESS_WITH_MEMCPY is not set -# CONFIG_SECCOMP is not set -# CONFIG_CC_STACKPROTECTOR is not set -# CONFIG_DEPRECATED_PARAM_STRUCT is not set - -# -# Boot options -# -# CONFIG_USE_OF is not set -CONFIG_ZBOOT_ROM_TEXT=0x0 -CONFIG_ZBOOT_ROM_BSS=0x0 -CONFIG_CMDLINE="" -# CONFIG_XIP_KERNEL is not set -CONFIG_KEXEC=y -CONFIG_ATAGS_PROC=y -# CONFIG_CRASH_DUMP is not set -# CONFIG_AUTO_ZRELADDR is not set - -# -# CPU Power Management -# -# CONFIG_CPU_IDLE is not set - -# -# Floating point emulation -# - -# -# At least one emulation must be selected -# -# CONFIG_FPE_NWFPE is not set -CONFIG_FPE_FASTFPE=y -# CONFIG_VFP is not set - -# -# Userspace binary formats -# -CONFIG_BINFMT_ELF=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_HAVE_AOUT=y -# CONFIG_BINFMT_AOUT is not set -# CONFIG_BINFMT_MISC is not set - -# -# Power management options -# -CONFIG_SUSPEND=y -CONFIG_SUSPEND_FREEZER=y -CONFIG_PM_SLEEP=y -# CONFIG_PM_RUNTIME is not set -CONFIG_PM=y -# CONFIG_PM_DEBUG is not set -# CONFIG_APM_EMULATION is not set -CONFIG_PM_CLK=y -CONFIG_CPU_PM=y -CONFIG_ARCH_SUSPEND_POSSIBLE=y -CONFIG_ARM_CPU_SUSPEND=y -CONFIG_NET=y - -# -# Networking options -# -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_XFRM=y -CONFIG_XFRM_USER=y -# CONFIG_XFRM_SUB_POLICY is not set -# CONFIG_XFRM_MIGRATE is not set -# CONFIG_XFRM_STATISTICS is not set -CONFIG_NET_KEY=m -# CONFIG_NET_KEY_MIGRATE is not set -CONFIG_INET=y -# CONFIG_IP_MULTICAST is not set -# CONFIG_IP_ADVANCED_ROUTER is not set -CONFIG_IP_ROUTE_CLASSID=y -CONFIG_IP_PNP=y -CONFIG_IP_PNP_DHCP=y -# CONFIG_IP_PNP_BOOTP is not set -# CONFIG_IP_PNP_RARP is not set -# CONFIG_NET_IPIP is not set -# CONFIG_NET_IPGRE_DEMUX is not set -# CONFIG_ARPD is not set -# CONFIG_SYN_COOKIES is not set -CONFIG_INET_AH=y -CONFIG_INET_ESP=y -# CONFIG_INET_IPCOMP is not set -# CONFIG_INET_XFRM_TUNNEL is not set -CONFIG_INET_TUNNEL=y -CONFIG_INET_XFRM_MODE_TRANSPORT=y -CONFIG_INET_XFRM_MODE_TUNNEL=y -CONFIG_INET_XFRM_MODE_BEET=y -# CONFIG_INET_LRO is not set -CONFIG_INET_DIAG=y -CONFIG_INET_TCP_DIAG=y -# CONFIG_TCP_CONG_ADVANCED is not set -CONFIG_TCP_CONG_CUBIC=y -CONFIG_DEFAULT_TCP_CONG="cubic" -# CONFIG_TCP_MD5SIG is not set -CONFIG_IPV6=y -# CONFIG_IPV6_PRIVACY is not set -# CONFIG_IPV6_ROUTER_PREF is not set -# CONFIG_IPV6_OPTIMISTIC_DAD is not set -# CONFIG_INET6_AH is not set -# CONFIG_INET6_ESP is not set -# CONFIG_INET6_IPCOMP is not set -# CONFIG_IPV6_MIP6 is not set -# CONFIG_INET6_XFRM_TUNNEL is not set -# CONFIG_INET6_TUNNEL is not set -CONFIG_INET6_XFRM_MODE_TRANSPORT=y -CONFIG_INET6_XFRM_MODE_TUNNEL=y -CONFIG_INET6_XFRM_MODE_BEET=y -# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set -CONFIG_IPV6_SIT=y -# CONFIG_IPV6_SIT_6RD is not set -CONFIG_IPV6_NDISC_NODETYPE=y -# CONFIG_IPV6_TUNNEL is not set -# CONFIG_IPV6_MULTIPLE_TABLES is not set -# CONFIG_IPV6_MROUTE is not set -# CONFIG_NETWORK_SECMARK is not set -# CONFIG_NETWORK_PHY_TIMESTAMPING is not set -CONFIG_NETFILTER=y -# CONFIG_NETFILTER_DEBUG is not set -CONFIG_NETFILTER_ADVANCED=y - -# -# Core Netfilter Configuration -# -CONFIG_NETFILTER_NETLINK=m -# CONFIG_NETFILTER_NETLINK_QUEUE is not set -CONFIG_NETFILTER_NETLINK_LOG=m -CONFIG_NF_CONNTRACK=m -# CONFIG_NF_CONNTRACK_MARK is not set -# CONFIG_NF_CONNTRACK_EVENTS is not set -# CONFIG_NF_CONNTRACK_TIMESTAMP is not set -CONFIG_NF_CT_PROTO_DCCP=m -CONFIG_NF_CT_PROTO_SCTP=m -CONFIG_NF_CT_PROTO_UDPLITE=m -# CONFIG_NF_CONNTRACK_AMANDA is not set -CONFIG_NF_CONNTRACK_FTP=m -# CONFIG_NF_CONNTRACK_H323 is not set -# CONFIG_NF_CONNTRACK_IRC is not set -# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set -# CONFIG_NF_CONNTRACK_SNMP is not set -# CONFIG_NF_CONNTRACK_PPTP is not set -# CONFIG_NF_CONNTRACK_SANE is not set -CONFIG_NF_CONNTRACK_SIP=m -# CONFIG_NF_CONNTRACK_TFTP is not set -CONFIG_NF_CT_NETLINK=m -CONFIG_NF_NAT=m -CONFIG_NF_NAT_IPV4=m -CONFIG_IP_NF_TARGET_MASQUERADE=m -CONFIG_IP_NF_TARGET_NETMAP=m -CONFIG_IP_NF_TARGET_REDIRECT=m -CONFIG_NF_NAT_PROTO_DCCP=m -CONFIG_NF_NAT_PROTO_UDPLITE=m -CONFIG_NF_NAT_PROTO_SCTP=m -# CONFIG_NF_NAT_AMANDA is not set -CONFIG_NF_NAT_FTP=m -# CONFIG_NF_NAT_IRC is not set -CONFIG_NF_NAT_SIP=m -# CONFIG_NF_NAT_TFTP is not set -# CONFIG_NETFILTER_TPROXY is not set -CONFIG_NETFILTER_XTABLES=m - -# -# Xtables combined modules -# -CONFIG_NETFILTER_XT_MARK=m -# CONFIG_NETFILTER_XT_CONNMARK is not set - -# -# Xtables targets -# -# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set -# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set -# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set -# CONFIG_NETFILTER_XT_TARGET_DSCP is not set -CONFIG_NETFILTER_XT_TARGET_HL=m -# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set -# CONFIG_NETFILTER_XT_TARGET_LED is not set -# CONFIG_NETFILTER_XT_TARGET_MARK is not set -CONFIG_NETFILTER_XT_TARGET_NFLOG=m -# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set -# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set -# CONFIG_NETFILTER_XT_TARGET_TEE is not set -CONFIG_NETFILTER_XT_TARGET_TCPMSS=m -# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set - -# -# Xtables matches -# -# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set -# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set -# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set -# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set -# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set -# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set -# CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set -# CONFIG_NETFILTER_XT_MATCH_CPU is not set -CONFIG_NETFILTER_XT_MATCH_DCCP=m -# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set -CONFIG_NETFILTER_XT_MATCH_DSCP=m -CONFIG_NETFILTER_XT_MATCH_ESP=m -# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set -# CONFIG_NETFILTER_XT_MATCH_HELPER is not set -CONFIG_NETFILTER_XT_MATCH_HL=m -# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set -# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set -CONFIG_NETFILTER_XT_MATCH_LIMIT=m -CONFIG_NETFILTER_XT_MATCH_MAC=m -CONFIG_NETFILTER_XT_MATCH_MARK=m -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m -# CONFIG_NETFILTER_XT_MATCH_OSF is not set -CONFIG_NETFILTER_XT_MATCH_OWNER=m -CONFIG_NETFILTER_XT_MATCH_POLICY=m -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m -CONFIG_NETFILTER_XT_MATCH_QUOTA=m -# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set -CONFIG_NETFILTER_XT_MATCH_REALM=m -# CONFIG_NETFILTER_XT_MATCH_RECENT is not set -CONFIG_NETFILTER_XT_MATCH_SCTP=m -# CONFIG_NETFILTER_XT_MATCH_STATE is not set -# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set -# CONFIG_NETFILTER_XT_MATCH_STRING is not set -CONFIG_NETFILTER_XT_MATCH_TCPMSS=m -# CONFIG_NETFILTER_XT_MATCH_TIME is not set -# CONFIG_NETFILTER_XT_MATCH_U32 is not set -# CONFIG_IP_SET is not set -# CONFIG_IP_VS is not set - -# -# IP: Netfilter Configuration -# -CONFIG_NF_DEFRAG_IPV4=m -CONFIG_NF_CONNTRACK_IPV4=m -CONFIG_NF_CONNTRACK_PROC_COMPAT=y -# CONFIG_IP_NF_QUEUE is not set -CONFIG_IP_NF_IPTABLES=m -CONFIG_IP_NF_MATCH_AH=m -CONFIG_IP_NF_MATCH_ECN=m -CONFIG_IP_NF_MATCH_TTL=m -CONFIG_IP_NF_FILTER=m -CONFIG_IP_NF_TARGET_REJECT=m -CONFIG_IP_NF_TARGET_LOG=m -# CONFIG_IP_NF_TARGET_ULOG is not set -CONFIG_NF_NAT=m -CONFIG_NF_NAT_NEEDED=y -CONFIG_IP_NF_TARGET_MASQUERADE=m -CONFIG_IP_NF_TARGET_NETMAP=m -CONFIG_IP_NF_TARGET_REDIRECT=m -CONFIG_NF_NAT_PROTO_DCCP=m -CONFIG_NF_NAT_PROTO_UDPLITE=m -CONFIG_NF_NAT_PROTO_SCTP=m -CONFIG_NF_NAT_FTP=m -# CONFIG_NF_NAT_IRC is not set -# CONFIG_NF_NAT_TFTP is not set -# CONFIG_NF_NAT_AMANDA is not set -# CONFIG_NF_NAT_PPTP is not set -# CONFIG_NF_NAT_H323 is not set -CONFIG_NF_NAT_SIP=m -CONFIG_IP_NF_MANGLE=m -# CONFIG_IP_NF_TARGET_CLUSTERIP is not set -CONFIG_IP_NF_TARGET_ECN=m -CONFIG_IP_NF_TARGET_TTL=m -# CONFIG_IP_NF_RAW is not set -# CONFIG_IP_NF_ARPTABLES is not set - -# -# IPv6: Netfilter Configuration -# -# CONFIG_NF_DEFRAG_IPV6 is not set -# CONFIG_NF_CONNTRACK_IPV6 is not set -CONFIG_IP6_NF_QUEUE=m -CONFIG_IP6_NF_IPTABLES=m -CONFIG_IP6_NF_MATCH_AH=m -CONFIG_IP6_NF_MATCH_EUI64=m -CONFIG_IP6_NF_MATCH_FRAG=m -CONFIG_IP6_NF_MATCH_OPTS=m -CONFIG_IP6_NF_MATCH_HL=m -CONFIG_IP6_NF_MATCH_IPV6HEADER=m -CONFIG_IP6_NF_MATCH_MH=m -CONFIG_IP6_NF_MATCH_RT=m -CONFIG_IP6_NF_TARGET_HL=m -CONFIG_IP6_NF_TARGET_LOG=m -CONFIG_IP6_NF_FILTER=m -CONFIG_IP6_NF_TARGET_REJECT=m -CONFIG_IP6_NF_MANGLE=m -# CONFIG_IP6_NF_RAW is not set -CONFIG_IP_DCCP=m -CONFIG_INET_DCCP_DIAG=m - -# -# DCCP CCIDs Configuration (EXPERIMENTAL) -# -# CONFIG_IP_DCCP_CCID2_DEBUG is not set -CONFIG_IP_DCCP_CCID3=y -# CONFIG_IP_DCCP_CCID3_DEBUG is not set -CONFIG_IP_DCCP_TFRC_LIB=y - -# -# DCCP Kernel Hacking -# -# CONFIG_IP_DCCP_DEBUG is not set -CONFIG_IP_SCTP=y -# CONFIG_SCTP_DBG_MSG is not set -# CONFIG_SCTP_DBG_OBJCNT is not set -# CONFIG_SCTP_HMAC_NONE is not set -# CONFIG_SCTP_HMAC_SHA1 is not set -CONFIG_SCTP_HMAC_MD5=y -# CONFIG_RDS is not set -# CONFIG_TIPC is not set -# CONFIG_ATM is not set -# CONFIG_L2TP is not set -# CONFIG_BRIDGE is not set -# CONFIG_NET_DSA is not set -CONFIG_VLAN_8021Q=m -# CONFIG_VLAN_8021Q_GVRP is not set -# CONFIG_DECNET is not set -# CONFIG_LLC2 is not set -# CONFIG_IPX is not set -# CONFIG_ATALK is not set -# CONFIG_X25 is not set -# CONFIG_LAPB is not set -# CONFIG_ECONET is not set -# CONFIG_WAN_ROUTER is not set -# CONFIG_PHONET is not set -# CONFIG_IEEE802154 is not set -CONFIG_NET_SCHED=y - -# -# Queueing/Scheduling -# -CONFIG_NET_SCH_CBQ=m -CONFIG_NET_SCH_HTB=m -# CONFIG_NET_SCH_HFSC is not set -CONFIG_NET_SCH_PRIO=m -# CONFIG_NET_SCH_MULTIQ is not set -# CONFIG_NET_SCH_RED is not set -# CONFIG_NET_SCH_SFB is not set -# CONFIG_NET_SCH_SFQ is not set -# CONFIG_NET_SCH_TEQL is not set -CONFIG_NET_SCH_TBF=m -# CONFIG_NET_SCH_GRED is not set -# CONFIG_NET_SCH_DSMARK is not set -# CONFIG_NET_SCH_NETEM is not set -# CONFIG_NET_SCH_DRR is not set -# CONFIG_NET_SCH_MQPRIO is not set -# CONFIG_NET_SCH_CHOKE is not set -# CONFIG_NET_SCH_QFQ is not set - -# -# Classification -# -CONFIG_NET_CLS=y -CONFIG_NET_CLS_BASIC=m -CONFIG_NET_CLS_TCINDEX=m -# CONFIG_NET_CLS_ROUTE4 is not set -CONFIG_NET_CLS_FW=m -CONFIG_NET_CLS_U32=m -# CONFIG_CLS_U32_PERF is not set -# CONFIG_CLS_U32_MARK is not set -# CONFIG_NET_CLS_RSVP is not set -# CONFIG_NET_CLS_RSVP6 is not set -# CONFIG_NET_CLS_FLOW is not set -# CONFIG_NET_EMATCH is not set -# CONFIG_NET_CLS_ACT is not set -# CONFIG_NET_CLS_IND is not set -CONFIG_NET_SCH_FIFO=y -# CONFIG_DCB is not set -# CONFIG_BATMAN_ADV is not set - -# -# Network testing -# -# CONFIG_NET_PKTGEN is not set -# CONFIG_HAMRADIO is not set -# CONFIG_CAN is not set -# CONFIG_IRDA is not set -# CONFIG_BT is not set -# CONFIG_AF_RXRPC is not set -# CONFIG_WIRELESS is not set -# CONFIG_WIMAX is not set -# CONFIG_RFKILL is not set -# CONFIG_NET_9P is not set -# CONFIG_CAIF is not set -# CONFIG_CEPH_LIB is not set -# CONFIG_NFC is not set - -# -# Device Drivers -# - -# -# Generic Driver Options -# -CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" -# CONFIG_DEVTMPFS is not set -# CONFIG_STANDALONE is not set -# CONFIG_PREVENT_FIRMWARE_BUILD is not set -CONFIG_FW_LOADER=y -CONFIG_FIRMWARE_IN_KERNEL=y -CONFIG_EXTRA_FIRMWARE="" -# CONFIG_DEBUG_DRIVER is not set -# CONFIG_DEBUG_DEVRES is not set -# CONFIG_SYS_HYPERVISOR is not set -# CONFIG_CONNECTOR is not set -CONFIG_MTD=y -# CONFIG_MTD_TESTS is not set -# CONFIG_MTD_REDBOOT_PARTS is not set -# CONFIG_MTD_CMDLINE_PARTS is not set -# CONFIG_MTD_AFS_PARTS is not set -# CONFIG_MTD_AR7_PARTS is not set - -# -# User Modules And Translation Layers -# -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLKDEVS=y -CONFIG_MTD_BLOCK=y -# CONFIG_FTL is not set -# CONFIG_NFTL is not set -# CONFIG_INFTL is not set -# CONFIG_RFD_FTL is not set -# CONFIG_SSFDC is not set -# CONFIG_SM_FTL is not set -# CONFIG_MTD_OOPS is not set - -# -# RAM/ROM/Flash chip drivers -# -# CONFIG_MTD_CFI is not set -# CONFIG_MTD_JEDECPROBE is not set -CONFIG_MTD_MAP_BANK_WIDTH_1=y -CONFIG_MTD_MAP_BANK_WIDTH_2=y -CONFIG_MTD_MAP_BANK_WIDTH_4=y -# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set -# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set -# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set -CONFIG_MTD_CFI_I1=y -CONFIG_MTD_CFI_I2=y -# CONFIG_MTD_CFI_I4 is not set -# CONFIG_MTD_CFI_I8 is not set -# CONFIG_MTD_RAM is not set -# CONFIG_MTD_ROM is not set -# CONFIG_MTD_ABSENT is not set - -# -# Mapping drivers for chip access -# -# CONFIG_MTD_COMPLEX_MAPPINGS is not set -# CONFIG_MTD_PLATRAM is not set - -# -# Self-contained MTD device drivers -# -# CONFIG_MTD_SLRAM is not set -# CONFIG_MTD_PHRAM is not set -# CONFIG_MTD_MTDRAM is not set -# CONFIG_MTD_BLOCK2MTD is not set - -# -# Disk-On-Chip Device Drivers -# -# CONFIG_MTD_DOC2000 is not set -# CONFIG_MTD_DOC2001 is not set -# CONFIG_MTD_DOC2001PLUS is not set -# CONFIG_MTD_DOCG3 is not set -CONFIG_MTD_NAND_ECC=y -# CONFIG_MTD_NAND_ECC_SMC is not set -CONFIG_MTD_NAND=y -# CONFIG_MTD_NAND_VERIFY_WRITE is not set -# CONFIG_MTD_NAND_ECC_BCH is not set -# CONFIG_MTD_SM_COMMON is not set -# CONFIG_MTD_NAND_MUSEUM_IDS is not set -# CONFIG_MTD_NAND_GPIO is not set -CONFIG_MTD_NAND_IDS=y -# CONFIG_MTD_NAND_DISKONCHIP is not set -# CONFIG_MTD_NAND_NANDSIM is not set -# CONFIG_MTD_NAND_PLATFORM is not set -CONFIG_MTD_NAND_DAVINCI=y -# CONFIG_MTD_ONENAND is not set - -# -# LPDDR flash memory drivers -# -# CONFIG_MTD_LPDDR is not set -CONFIG_MTD_UBI=y -CONFIG_MTD_UBI_WL_THRESHOLD=4096 -CONFIG_MTD_UBI_BEB_RESERVE=1 -# CONFIG_MTD_UBI_GLUEBI is not set -# CONFIG_MTD_UBI_DEBUG is not set -# CONFIG_PARPORT is not set -CONFIG_BLK_DEV=y -# CONFIG_BLK_DEV_COW_COMMON is not set -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 -# CONFIG_BLK_DEV_CRYPTOLOOP is not set - -# -# DRBD disabled because PROC_FS, INET or CONNECTOR not selected -# -# CONFIG_BLK_DEV_NBD is not set -# CONFIG_BLK_DEV_RAM is not set -# CONFIG_CDROM_PKTCDVD is not set -# CONFIG_ATA_OVER_ETH is not set -# CONFIG_MG_DISK is not set -# CONFIG_BLK_DEV_RBD is not set -# CONFIG_SENSORS_LIS3LV02D is not set -CONFIG_MISC_DEVICES=y -# CONFIG_AD525X_DPOT is not set -# CONFIG_ATMEL_PWM is not set -# CONFIG_ICS932S401 is not set -# CONFIG_ENCLOSURE_SERVICES is not set -# CONFIG_APDS9802ALS is not set -# CONFIG_ISL29003 is not set -# CONFIG_ISL29020 is not set -# CONFIG_SENSORS_TSL2550 is not set -# CONFIG_SENSORS_BH1780 is not set -# CONFIG_SENSORS_BH1770 is not set -# CONFIG_SENSORS_APDS990X is not set -# CONFIG_HMC6352 is not set -# CONFIG_DS1682 is not set -# CONFIG_BMP085 is not set -# CONFIG_USB_SWITCH_FSA9480 is not set -CONFIG_FPGADL=m -CONFIG_FPGADL_PAR=m -CONFIG_DSPDL=m -CONFIG_DSPDL_DM644X=m -CONFIG_SYSMOBTS_FACTORY_RESET=m -# CONFIG_C2PORT is not set - -# -# EEPROM support -# -CONFIG_EEPROM_AT24=y -# CONFIG_EEPROM_LEGACY is not set -# CONFIG_EEPROM_MAX6875 is not set -# CONFIG_EEPROM_93CX6 is not set -# CONFIG_IWMC3200TOP is not set - -# -# Texas Instruments shared transport line discipline -# -# CONFIG_TI_ST is not set -# CONFIG_SENSORS_LIS3_I2C is not set - -# -# Altera FPGA firmware download module -# -# CONFIG_ALTERA_STAPL is not set -CONFIG_HAVE_IDE=y -# CONFIG_IDE is not set - -# -# SCSI device support -# -CONFIG_SCSI_MOD=y -# CONFIG_RAID_ATTRS is not set -# CONFIG_SCSI is not set -# CONFIG_SCSI_DMA is not set -# CONFIG_SCSI_NETLINK is not set -# CONFIG_ATA is not set -# CONFIG_MD is not set -CONFIG_NETDEVICES=y -CONFIG_NET_CORE=y -# CONFIG_BONDING is not set -# CONFIG_DUMMY is not set -# CONFIG_EQUALIZER is not set -# CONFIG_MII is not set -# CONFIG_MACVLAN is not set -CONFIG_NETCONSOLE=y -CONFIG_NETPOLL=y -CONFIG_NETPOLL_TRAP=y -CONFIG_NET_POLL_CONTROLLER=y -CONFIG_TUN=m -# CONFIG_VETH is not set - -# -# CAIF transport drivers -# -CONFIG_ETHERNET=y -CONFIG_NET_VENDOR_BROADCOM=y -# CONFIG_B44 is not set -CONFIG_NET_VENDOR_CHELSIO=y -# CONFIG_DM9000 is not set -# CONFIG_DNET is not set -CONFIG_NET_VENDOR_FARADAY=y -# CONFIG_FTMAC100 is not set -# CONFIG_FTGMAC100 is not set -CONFIG_NET_VENDOR_INTEL=y -CONFIG_NET_VENDOR_I825XX=y -CONFIG_NET_VENDOR_MARVELL=y -CONFIG_NET_VENDOR_MICREL=y -# CONFIG_KS8851_MLL is not set -CONFIG_NET_VENDOR_NATSEMI=y -CONFIG_NET_VENDOR_8390=y -# CONFIG_AX88796 is not set -# CONFIG_ETHOC is not set -CONFIG_NET_VENDOR_SEEQ=y -# CONFIG_SEEQ8005 is not set -CONFIG_NET_VENDOR_SMSC=y -# CONFIG_SMC91X is not set -# CONFIG_SMC911X is not set -# CONFIG_SMSC911X is not set -CONFIG_NET_VENDOR_STMICRO=y -# CONFIG_STMMAC_ETH is not set -CONFIG_NET_VENDOR_TI=y -CONFIG_TI_DAVINCI_EMAC=y -CONFIG_TI_DAVINCI_MDIO=y -CONFIG_TI_DAVINCI_CPDMA=y -CONFIG_PHYLIB=y - -# -# MII PHY device drivers -# -# CONFIG_MARVELL_PHY is not set -# CONFIG_DAVICOM_PHY is not set -# CONFIG_QSEMI_PHY is not set -# CONFIG_LXT_PHY is not set -# CONFIG_CICADA_PHY is not set -# CONFIG_VITESSE_PHY is not set -# CONFIG_SMSC_PHY is not set -# CONFIG_BROADCOM_PHY is not set -# CONFIG_ICPLUS_PHY is not set -CONFIG_REALTEK_PHY=y -# CONFIG_NATIONAL_PHY is not set -# CONFIG_STE10XP is not set -# CONFIG_LSI_ET1011C_PHY is not set -# CONFIG_MICREL_PHY is not set -# CONFIG_FIXED_PHY is not set -# CONFIG_MDIO_BITBANG is not set -# CONFIG_PPP is not set -# CONFIG_SLIP is not set -# CONFIG_WLAN is not set - -# -# Enable WiMAX (Networking options) to see the WiMAX drivers -# -# CONFIG_WAN is not set -CONFIG_ISDN=y -# CONFIG_ISDN_I4L is not set -# CONFIG_ISDN_CAPI is not set -# CONFIG_ISDN_DRV_GIGASET is not set -CONFIG_MISDN=m -CONFIG_MISDN_DSP=m -# CONFIG_MISDN_L1OIP is not set - -# -# mISDN hardware drivers -# -CONFIG_MISDN_L1LOOP=m -# CONFIG_PHONE is not set - -# -# Input device support -# -CONFIG_INPUT=y -# CONFIG_INPUT_FF_MEMLESS is not set -# CONFIG_INPUT_POLLDEV is not set -# CONFIG_INPUT_SPARSEKMAP is not set - -# -# Userland interfaces -# -# CONFIG_INPUT_MOUSEDEV is not set -# CONFIG_INPUT_JOYDEV is not set -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_EVBUG=y - -# -# Input Device Drivers -# -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -# CONFIG_INPUT_JOYSTICK is not set -# CONFIG_INPUT_TABLET is not set -# CONFIG_INPUT_TOUCHSCREEN is not set -# CONFIG_INPUT_MISC is not set - -# -# Hardware I/O ports -# -CONFIG_SERIO=y -CONFIG_SERIO_SERPORT=y -CONFIG_SERIO_LIBPS2=y -# CONFIG_SERIO_RAW is not set -# CONFIG_SERIO_ALTERA_PS2 is not set -# CONFIG_SERIO_PS2MULT is not set -# CONFIG_GAMEPORT is not set - -# -# Character devices -# -CONFIG_VT=y -CONFIG_CONSOLE_TRANSLATIONS=y -CONFIG_VT_CONSOLE=y -CONFIG_VT_CONSOLE_SLEEP=y -CONFIG_HW_CONSOLE=y -# CONFIG_VT_HW_CONSOLE_BINDING is not set -CONFIG_UNIX98_PTYS=y -# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set -# CONFIG_LEGACY_PTYS is not set -# CONFIG_SERIAL_NONSTANDARD is not set -# CONFIG_N_GSM is not set -# CONFIG_TRACE_SINK is not set -CONFIG_DEVKMEM=y - -# -# Serial drivers -# -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_NR_UARTS=5 -CONFIG_SERIAL_8250_RUNTIME_UARTS=5 -# CONFIG_SERIAL_8250_EXTENDED is not set - -# -# Non-8250 serial port support -# -CONFIG_SERIAL_CORE=y -CONFIG_SERIAL_CORE_CONSOLE=y -# CONFIG_SERIAL_TIMBERDALE is not set -# CONFIG_SERIAL_ALTERA_JTAGUART is not set -# CONFIG_SERIAL_ALTERA_UART is not set -# CONFIG_SERIAL_XILINX_PS_UART is not set -# CONFIG_TTY_PRINTK is not set -# CONFIG_HVC_DCC is not set -# CONFIG_IPMI_HANDLER is not set -# CONFIG_HW_RANDOM is not set -# CONFIG_R3964 is not set -# CONFIG_RAW_DRIVER is not set -# CONFIG_TCG_TPM is not set -# CONFIG_RAMOOPS is not set -CONFIG_I2C=y -CONFIG_I2C_BOARDINFO=y -CONFIG_I2C_COMPAT=y -CONFIG_I2C_CHARDEV=y -# CONFIG_I2C_MUX is not set -CONFIG_I2C_HELPER_AUTO=y - -# -# I2C Hardware Bus support -# - -# -# I2C system bus drivers (mostly embedded / system-on-chip) -# -CONFIG_I2C_DAVINCI=y -# CONFIG_I2C_DESIGNWARE_PLATFORM is not set -# CONFIG_I2C_GPIO is not set -# CONFIG_I2C_OCORES is not set -# CONFIG_I2C_PCA_PLATFORM is not set -# CONFIG_I2C_PXA_PCI is not set -# CONFIG_I2C_SIMTEC is not set -# CONFIG_I2C_XILINX is not set - -# -# External I2C/SMBus adapter drivers -# -# CONFIG_I2C_PARPORT_LIGHT is not set -# CONFIG_I2C_TAOS_EVM is not set - -# -# Other I2C/SMBus bus drivers -# -# CONFIG_I2C_STUB is not set -# CONFIG_I2C_DEBUG_CORE is not set -# CONFIG_I2C_DEBUG_ALGO is not set -# CONFIG_I2C_DEBUG_BUS is not set -# CONFIG_SPI is not set - -# -# PPS support -# -# CONFIG_PPS is not set - -# -# PPS generators support -# - -# -# PTP clock support -# - -# -# Enable Device Drivers -> PPS to see the PTP clock options. -# -CONFIG_ARCH_REQUIRE_GPIOLIB=y -CONFIG_GPIOLIB=y -# CONFIG_DEBUG_GPIO is not set -CONFIG_GPIO_SYSFS=y - -# -# Memory mapped GPIO drivers: -# -# CONFIG_GPIO_GENERIC_PLATFORM is not set -# CONFIG_GPIO_IT8761E is not set - -# -# I2C GPIO expanders: -# -# CONFIG_GPIO_MAX7300 is not set -# CONFIG_GPIO_MAX732X is not set -# CONFIG_GPIO_PCF857X is not set -# CONFIG_GPIO_SX150X is not set -# CONFIG_GPIO_ADP5588 is not set - -# -# PCI GPIO expanders: -# - -# -# SPI GPIO expanders: -# -# CONFIG_GPIO_MCP23S08 is not set - -# -# AC97 GPIO expanders: -# - -# -# MODULbus GPIO expanders: -# -# CONFIG_W1 is not set -# CONFIG_POWER_SUPPLY is not set -CONFIG_HWMON=y -# CONFIG_HWMON_VID is not set -# CONFIG_HWMON_DEBUG_CHIP is not set - -# -# Native drivers -# -# CONFIG_SENSORS_AD7414 is not set -# CONFIG_SENSORS_AD7418 is not set -# CONFIG_SENSORS_ADM1021 is not set -# CONFIG_SENSORS_ADM1025 is not set -# CONFIG_SENSORS_ADM1026 is not set -# CONFIG_SENSORS_ADM1029 is not set -# CONFIG_SENSORS_ADM1031 is not set -# CONFIG_SENSORS_ADM9240 is not set -# CONFIG_SENSORS_ADT7411 is not set -# CONFIG_SENSORS_ADT7462 is not set -# CONFIG_SENSORS_ADT7470 is not set -# CONFIG_SENSORS_ADT7475 is not set -# CONFIG_SENSORS_ASC7621 is not set -# CONFIG_SENSORS_ATXP1 is not set -# CONFIG_SENSORS_DS620 is not set -# CONFIG_SENSORS_DS1621 is not set -# CONFIG_SENSORS_F71805F is not set -# CONFIG_SENSORS_F71882FG is not set -# CONFIG_SENSORS_F75375S is not set -# CONFIG_SENSORS_G760A is not set -# CONFIG_SENSORS_GL518SM is not set -# CONFIG_SENSORS_GL520SM is not set -# CONFIG_SENSORS_GPIO_FAN is not set -# CONFIG_SENSORS_IT87 is not set -# CONFIG_SENSORS_JC42 is not set -# CONFIG_SENSORS_LINEAGE is not set -# CONFIG_SENSORS_LM63 is not set -# CONFIG_SENSORS_LM73 is not set -CONFIG_SENSORS_LM75=y -# CONFIG_SENSORS_LM77 is not set -# CONFIG_SENSORS_LM78 is not set -# CONFIG_SENSORS_LM80 is not set -# CONFIG_SENSORS_LM83 is not set -# CONFIG_SENSORS_LM85 is not set -# CONFIG_SENSORS_LM87 is not set -# CONFIG_SENSORS_LM90 is not set -# CONFIG_SENSORS_LM92 is not set -# CONFIG_SENSORS_LM93 is not set -CONFIG_SENSORS_LTC1695=y -# CONFIG_SENSORS_LTC4151 is not set -# CONFIG_SENSORS_LTC4215 is not set -# CONFIG_SENSORS_LTC4245 is not set -# CONFIG_SENSORS_LTC4261 is not set -# CONFIG_SENSORS_LM95241 is not set -# CONFIG_SENSORS_LM95245 is not set -# CONFIG_SENSORS_MAX16065 is not set -# CONFIG_SENSORS_MAX1619 is not set -# CONFIG_SENSORS_MAX1668 is not set -# CONFIG_SENSORS_MAX6639 is not set -# CONFIG_SENSORS_MAX6642 is not set -# CONFIG_SENSORS_MAX6650 is not set -# CONFIG_SENSORS_NTC_THERMISTOR is not set -# CONFIG_SENSORS_PC87360 is not set -# CONFIG_SENSORS_PC87427 is not set -# CONFIG_SENSORS_PCF8591 is not set -# CONFIG_PMBUS is not set -# CONFIG_SENSORS_SHT15 is not set -# CONFIG_SENSORS_SHT21 is not set -# CONFIG_SENSORS_SMM665 is not set -# CONFIG_SENSORS_DME1737 is not set -# CONFIG_SENSORS_EMC1403 is not set -# CONFIG_SENSORS_EMC2103 is not set -# CONFIG_SENSORS_EMC6W201 is not set -# CONFIG_SENSORS_SMSC47M1 is not set -# CONFIG_SENSORS_SMSC47M192 is not set -# CONFIG_SENSORS_SMSC47B397 is not set -# CONFIG_SENSORS_SCH56XX_COMMON is not set -# CONFIG_SENSORS_SCH5627 is not set -# CONFIG_SENSORS_SCH5636 is not set -# CONFIG_SENSORS_ADS1015 is not set -# CONFIG_SENSORS_ADS7828 is not set -# CONFIG_SENSORS_AMC6821 is not set -# CONFIG_SENSORS_THMC50 is not set -# CONFIG_SENSORS_TMP102 is not set -CONFIG_SENSORS_TMP401=y -# CONFIG_SENSORS_TMP421 is not set -# CONFIG_SENSORS_VT1211 is not set -# CONFIG_SENSORS_W83781D is not set -# CONFIG_SENSORS_W83791D is not set -# CONFIG_SENSORS_W83792D is not set -# CONFIG_SENSORS_W83793 is not set -# CONFIG_SENSORS_W83795 is not set -# CONFIG_SENSORS_W83L785TS is not set -# CONFIG_SENSORS_W83L786NG is not set -# CONFIG_SENSORS_W83627HF is not set -# CONFIG_SENSORS_W83627EHF is not set -CONFIG_THERMAL=y -CONFIG_THERMAL_HWMON=y -CONFIG_WATCHDOG=y -# CONFIG_WATCHDOG_CORE is not set -# CONFIG_WATCHDOG_NOWAYOUT is not set - -# -# Watchdog Device Drivers -# -# CONFIG_SOFT_WATCHDOG is not set -# CONFIG_DW_WATCHDOG is not set -CONFIG_DAVINCI_WATCHDOG=m -# CONFIG_MAX63XX_WATCHDOG is not set -CONFIG_SSB_POSSIBLE=y - -# -# Sonics Silicon Backplane -# -# CONFIG_SSB is not set -CONFIG_BCMA_POSSIBLE=y - -# -# Broadcom specific AMBA -# -# CONFIG_BCMA is not set - -# -# Multifunction device drivers -# -# CONFIG_MFD_CORE is not set -# CONFIG_MFD_88PM860X is not set -# CONFIG_MFD_SM501 is not set -# CONFIG_MFD_ASIC3 is not set -# CONFIG_HTC_EGPIO is not set -# CONFIG_HTC_PASIC3 is not set -# CONFIG_HTC_I2CPLD is not set -# CONFIG_TPS6105X is not set -# CONFIG_TPS65010 is not set -# CONFIG_TPS6507X is not set -# CONFIG_MFD_TPS6586X is not set -# CONFIG_MFD_TPS65910 is not set -# CONFIG_MFD_TPS65912_I2C is not set -# CONFIG_TWL4030_CORE is not set -# CONFIG_MFD_STMPE is not set -# CONFIG_MFD_TC3589X is not set -# CONFIG_MFD_TMIO is not set -# CONFIG_MFD_T7L66XB is not set -# CONFIG_MFD_TC6387XB is not set -# CONFIG_MFD_TC6393XB is not set -# CONFIG_PMIC_DA903X is not set -# CONFIG_PMIC_ADP5520 is not set -# CONFIG_MFD_MAX8925 is not set -# CONFIG_MFD_MAX8997 is not set -# CONFIG_MFD_MAX8998 is not set -# CONFIG_MFD_WM8400 is not set -# CONFIG_MFD_WM831X_I2C is not set -# CONFIG_MFD_WM8350_I2C is not set -# CONFIG_MFD_WM8994 is not set -# CONFIG_MFD_PCF50633 is not set -# CONFIG_ABX500_CORE is not set -# CONFIG_MFD_WL1273_CORE is not set -# CONFIG_MFD_AAT2870_CORE is not set -# CONFIG_REGULATOR is not set -# CONFIG_MEDIA_SUPPORT is not set - -# -# Graphics support -# -# CONFIG_DRM is not set -# CONFIG_VGASTATE is not set -# CONFIG_VIDEO_OUTPUT_CONTROL is not set -# CONFIG_FB is not set -# CONFIG_BACKLIGHT_LCD_SUPPORT is not set - -# -# Display device support -# -# CONFIG_DISPLAY_SUPPORT is not set - -# -# Console display driver support -# -CONFIG_DUMMY_CONSOLE=y -# CONFIG_SOUND is not set -# CONFIG_HID_SUPPORT is not set -# CONFIG_USB_SUPPORT is not set -CONFIG_MMC=y -# CONFIG_MMC_DEBUG is not set -# CONFIG_MMC_UNSAFE_RESUME is not set -# CONFIG_MMC_CLKGATE is not set - -# -# MMC/SD/SDIO Card Drivers -# -CONFIG_MMC_BLOCK=y -CONFIG_MMC_BLOCK_MINORS=8 -CONFIG_MMC_BLOCK_BOUNCE=y -# CONFIG_SDIO_UART is not set -# CONFIG_MMC_TEST is not set - -# -# MMC/SD/SDIO Host Controller Drivers -# -# CONFIG_MMC_SDHCI is not set -# CONFIG_MMC_SDHCI_PXAV3 is not set -# CONFIG_MMC_SDHCI_PXAV2 is not set -CONFIG_MMC_DAVINCI=y -# CONFIG_MMC_DW is not set -# CONFIG_MEMSTICK is not set -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y - -# -# LED drivers -# -# CONFIG_LEDS_LM3530 is not set -# CONFIG_LEDS_PCA9532 is not set -CONFIG_LEDS_GPIO=m -# CONFIG_LEDS_LP3944 is not set -# CONFIG_LEDS_LP5521 is not set -# CONFIG_LEDS_LP5523 is not set -# CONFIG_LEDS_PCA955X is not set -# CONFIG_LEDS_BD2802 is not set -# CONFIG_LEDS_LT3593 is not set -# CONFIG_LEDS_RENESAS_TPU is not set -CONFIG_LEDS_TRIGGERS=y - -# -# LED Triggers -# -CONFIG_LEDS_TRIGGER_TIMER=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set -CONFIG_LEDS_TRIGGER_GPIO=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=y - -# -# iptables trigger is under Netfilter config (LED target) -# -# CONFIG_ACCESSIBILITY is not set -CONFIG_RTC_LIB=y -# CONFIG_RTC_CLASS is not set -# CONFIG_DMADEVICES is not set -# CONFIG_AUXDISPLAY is not set -# CONFIG_UIO is not set - -# -# Virtio drivers -# -# CONFIG_VIRTIO_BALLOON is not set -# CONFIG_VIRTIO_MMIO is not set -CONFIG_STAGING=y -# CONFIG_ECHO is not set -# CONFIG_POHMELFS is not set -# CONFIG_IIO is not set -# CONFIG_XVMALLOC is not set -# CONFIG_ZRAM is not set -# CONFIG_FT1000 is not set - -# -# Speakup console speech -# -# CONFIG_SPEAKUP is not set -# CONFIG_TOUCHSCREEN_CLEARPAD_TM1217 is not set -# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set -# CONFIG_STAGING_MEDIA is not set -CONFIG_SYSMOBTS_RTFIFO=m -CONFIG_SYSMOBTS_MSGQUEUE=m -CONFIG_CLKDEV_LOOKUP=y - -# -# Hardware Spinlock drivers -# -CONFIG_IOMMU_SUPPORT=y -# CONFIG_VIRT_DRIVERS is not set -# CONFIG_PM_DEVFREQ is not set - -# -# File systems -# -# CONFIG_EXT2_FS is not set -CONFIG_EXT3_FS=m -CONFIG_EXT3_DEFAULTS_TO_ORDERED=y -CONFIG_EXT3_FS_XATTR=y -# CONFIG_EXT3_FS_POSIX_ACL is not set -# CONFIG_EXT3_FS_SECURITY is not set -CONFIG_EXT4_FS=m -CONFIG_EXT4_USE_FOR_EXT23=y -CONFIG_EXT4_FS_XATTR=y -# CONFIG_EXT4_FS_POSIX_ACL is not set -# CONFIG_EXT4_FS_SECURITY is not set -# CONFIG_EXT4_DEBUG is not set -CONFIG_JBD=m -# CONFIG_JBD_DEBUG is not set -CONFIG_JBD2=m -# CONFIG_JBD2_DEBUG is not set -CONFIG_FS_MBCACHE=m -# CONFIG_REISERFS_FS is not set -# CONFIG_JFS_FS is not set -# CONFIG_XFS_FS is not set -# CONFIG_GFS2_FS is not set -# CONFIG_BTRFS_FS is not set -# CONFIG_NILFS2_FS is not set -# CONFIG_FS_POSIX_ACL is not set -CONFIG_EXPORTFS=y -CONFIG_FILE_LOCKING=y -CONFIG_FSNOTIFY=y -CONFIG_DNOTIFY=y -CONFIG_INOTIFY_USER=y -# CONFIG_FANOTIFY is not set -# CONFIG_QUOTA is not set -# CONFIG_QUOTACTL is not set -CONFIG_AUTOFS4_FS=y -# CONFIG_FUSE_FS is not set - -# -# Caches -# -# CONFIG_FSCACHE is not set - -# -# CD-ROM/DVD Filesystems -# -# CONFIG_ISO9660_FS is not set -# CONFIG_UDF_FS is not set - -# -# DOS/FAT/NT Filesystems -# -CONFIG_FAT_FS=m -CONFIG_MSDOS_FS=m -CONFIG_VFAT_FS=m -CONFIG_FAT_DEFAULT_CODEPAGE=437 -CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" -# CONFIG_NTFS_FS is not set - -# -# Pseudo filesystems -# -CONFIG_PROC_FS=y -CONFIG_PROC_SYSCTL=y -CONFIG_PROC_PAGE_MONITOR=y -CONFIG_SYSFS=y -CONFIG_TMPFS=y -# CONFIG_TMPFS_POSIX_ACL is not set -# CONFIG_TMPFS_XATTR is not set -# CONFIG_HUGETLB_PAGE is not set -# CONFIG_CONFIGFS_FS is not set -CONFIG_MISC_FILESYSTEMS=y -# CONFIG_ADFS_FS is not set -# CONFIG_AFFS_FS is not set -# CONFIG_HFS_FS is not set -# CONFIG_HFSPLUS_FS is not set -# CONFIG_BEFS_FS is not set -# CONFIG_BFS_FS is not set -# CONFIG_EFS_FS is not set -CONFIG_JFFS2_FS=y -CONFIG_JFFS2_FS_DEBUG=0 -CONFIG_JFFS2_FS_WRITEBUFFER=y -# CONFIG_JFFS2_FS_WBUF_VERIFY is not set -# CONFIG_JFFS2_SUMMARY is not set -# CONFIG_JFFS2_FS_XATTR is not set -# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set -CONFIG_JFFS2_ZLIB=y -# CONFIG_JFFS2_LZO is not set -CONFIG_JFFS2_RTIME=y -# CONFIG_JFFS2_RUBIN is not set -CONFIG_UBIFS_FS=y -# CONFIG_UBIFS_FS_XATTR is not set -# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set -CONFIG_UBIFS_FS_LZO=y -CONFIG_UBIFS_FS_ZLIB=y -# CONFIG_UBIFS_FS_DEBUG is not set -# CONFIG_LOGFS is not set -CONFIG_CRAMFS=y -# CONFIG_SQUASHFS is not set -# CONFIG_VXFS_FS is not set -# CONFIG_MINIX_FS is not set -# CONFIG_OMFS_FS is not set -# CONFIG_HPFS_FS is not set -# CONFIG_QNX4FS_FS is not set -# CONFIG_ROMFS_FS is not set -# CONFIG_PSTORE is not set -# CONFIG_SYSV_FS is not set -# CONFIG_UFS_FS is not set -CONFIG_NETWORK_FILESYSTEMS=y -CONFIG_NFS_FS=y -CONFIG_NFS_V3=y -# CONFIG_NFS_V3_ACL is not set -# CONFIG_NFS_V4 is not set -CONFIG_ROOT_NFS=y -CONFIG_NFSD=y -CONFIG_NFSD_V3=y -# CONFIG_NFSD_V3_ACL is not set -# CONFIG_NFSD_V4 is not set -CONFIG_LOCKD=y -CONFIG_LOCKD_V4=y -CONFIG_NFS_COMMON=y -CONFIG_SUNRPC=y -# CONFIG_CEPH_FS is not set -CONFIG_CIFS=y -# CONFIG_CIFS_STATS is not set -# CONFIG_CIFS_WEAK_PW_HASH is not set -# CONFIG_CIFS_XATTR is not set -# CONFIG_CIFS_DEBUG2 is not set -# CONFIG_NCP_FS is not set -# CONFIG_CODA_FS is not set -# CONFIG_AFS_FS is not set - -# -# Partition Types -# -CONFIG_PARTITION_ADVANCED=y -# CONFIG_ACORN_PARTITION is not set -# CONFIG_OSF_PARTITION is not set -# CONFIG_AMIGA_PARTITION is not set -# CONFIG_ATARI_PARTITION is not set -# CONFIG_MAC_PARTITION is not set -CONFIG_MSDOS_PARTITION=y -# CONFIG_BSD_DISKLABEL is not set -# CONFIG_MINIX_SUBPARTITION is not set -# CONFIG_SOLARIS_X86_PARTITION is not set -# CONFIG_UNIXWARE_DISKLABEL is not set -# CONFIG_LDM_PARTITION is not set -# CONFIG_SGI_PARTITION is not set -# CONFIG_ULTRIX_PARTITION is not set -# CONFIG_SUN_PARTITION is not set -# CONFIG_KARMA_PARTITION is not set -# CONFIG_EFI_PARTITION is not set -# CONFIG_SYSV68_PARTITION is not set -CONFIG_NLS=y -CONFIG_NLS_DEFAULT="iso8859-1" -CONFIG_NLS_CODEPAGE_437=y -# CONFIG_NLS_CODEPAGE_737 is not set -# CONFIG_NLS_CODEPAGE_775 is not set -# CONFIG_NLS_CODEPAGE_850 is not set -# CONFIG_NLS_CODEPAGE_852 is not set -# CONFIG_NLS_CODEPAGE_855 is not set -# CONFIG_NLS_CODEPAGE_857 is not set -# CONFIG_NLS_CODEPAGE_860 is not set -# CONFIG_NLS_CODEPAGE_861 is not set -# CONFIG_NLS_CODEPAGE_862 is not set -# CONFIG_NLS_CODEPAGE_863 is not set -# CONFIG_NLS_CODEPAGE_864 is not set -# CONFIG_NLS_CODEPAGE_865 is not set -# CONFIG_NLS_CODEPAGE_866 is not set -# CONFIG_NLS_CODEPAGE_869 is not set -# CONFIG_NLS_CODEPAGE_936 is not set -# CONFIG_NLS_CODEPAGE_950 is not set -# CONFIG_NLS_CODEPAGE_932 is not set -# CONFIG_NLS_CODEPAGE_949 is not set -# CONFIG_NLS_CODEPAGE_874 is not set -# CONFIG_NLS_ISO8859_8 is not set -# CONFIG_NLS_CODEPAGE_1250 is not set -# CONFIG_NLS_CODEPAGE_1251 is not set -CONFIG_NLS_ASCII=m -CONFIG_NLS_ISO8859_1=y -# CONFIG_NLS_ISO8859_2 is not set -# CONFIG_NLS_ISO8859_3 is not set -# CONFIG_NLS_ISO8859_4 is not set -# CONFIG_NLS_ISO8859_5 is not set -# CONFIG_NLS_ISO8859_6 is not set -# CONFIG_NLS_ISO8859_7 is not set -# CONFIG_NLS_ISO8859_9 is not set -# CONFIG_NLS_ISO8859_13 is not set -# CONFIG_NLS_ISO8859_14 is not set -# CONFIG_NLS_ISO8859_15 is not set -# CONFIG_NLS_KOI8_R is not set -# CONFIG_NLS_KOI8_U is not set -CONFIG_NLS_UTF8=m - -# -# Kernel hacking -# -# CONFIG_PRINTK_TIME is not set -CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 -CONFIG_ENABLE_WARN_DEPRECATED=y -CONFIG_ENABLE_MUST_CHECK=y -CONFIG_FRAME_WARN=1024 -CONFIG_MAGIC_SYSRQ=y -# CONFIG_STRIP_ASM_SYMS is not set -# CONFIG_UNUSED_SYMBOLS is not set -CONFIG_DEBUG_FS=y -# CONFIG_HEADERS_CHECK is not set -# CONFIG_DEBUG_SECTION_MISMATCH is not set -CONFIG_DEBUG_KERNEL=y -# CONFIG_DEBUG_SHIRQ is not set -# CONFIG_LOCKUP_DETECTOR is not set -# CONFIG_HARDLOCKUP_DETECTOR is not set -CONFIG_DETECT_HUNG_TASK=y -CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 -# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set -CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 -CONFIG_SCHED_DEBUG=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -# CONFIG_DEBUG_OBJECTS is not set -# CONFIG_SLUB_DEBUG_ON is not set -# CONFIG_SLUB_STATS is not set -# CONFIG_DEBUG_KMEMLEAK is not set -CONFIG_DEBUG_PREEMPT=y -CONFIG_DEBUG_RT_MUTEXES=y -CONFIG_DEBUG_PI_LIST=y -# CONFIG_RT_MUTEX_TESTER is not set -# CONFIG_DEBUG_SPINLOCK is not set -CONFIG_DEBUG_MUTEXES=y -# CONFIG_DEBUG_LOCK_ALLOC is not set -# CONFIG_PROVE_LOCKING is not set -# CONFIG_SPARSE_RCU_POINTER is not set -# CONFIG_LOCK_STAT is not set -# CONFIG_DEBUG_ATOMIC_SLEEP is not set -# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set -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_VM is not set -# CONFIG_DEBUG_WRITECOUNT is not set -# CONFIG_DEBUG_MEMORY_INIT is not set -# CONFIG_DEBUG_LIST is not set -# CONFIG_TEST_LIST_SORT is not set -# CONFIG_DEBUG_SG is not set -# CONFIG_DEBUG_NOTIFIERS is not set -# CONFIG_DEBUG_CREDENTIALS is not set -CONFIG_FRAME_POINTER=y -# CONFIG_BOOT_PRINTK_DELAY is not set -# CONFIG_RCU_TORTURE_TEST is not set -# CONFIG_BACKTRACE_SELF_TEST is not set -# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set -# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set -# CONFIG_LKDTM is not set -# CONFIG_FAULT_INJECTION is not set -CONFIG_LATENCYTOP=y -# CONFIG_SYSCTL_SYSCALL_CHECK is not set -# CONFIG_DEBUG_PAGEALLOC is not set -CONFIG_HAVE_FUNCTION_TRACER=y -CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y -CONFIG_HAVE_DYNAMIC_FTRACE=y -CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y -CONFIG_HAVE_C_RECORDMCOUNT=y -CONFIG_RING_BUFFER=y -CONFIG_RING_BUFFER_ALLOW_SWAP=y -CONFIG_TRACING_SUPPORT=y -CONFIG_FTRACE=y -# CONFIG_FUNCTION_TRACER is not set -# CONFIG_IRQSOFF_TRACER is not set -# CONFIG_PREEMPT_TRACER is not set -# CONFIG_SCHED_TRACER is not set -# CONFIG_ENABLE_DEFAULT_TRACERS is not set -CONFIG_BRANCH_PROFILE_NONE=y -# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set -# CONFIG_PROFILE_ALL_BRANCHES is not set -# CONFIG_STACK_TRACER is not set -# CONFIG_BLK_DEV_IO_TRACE is not set -# CONFIG_RING_BUFFER_BENCHMARK is not set -# CONFIG_DYNAMIC_DEBUG is not set -# CONFIG_DMA_API_DEBUG is not set -# CONFIG_ATOMIC64_SELFTEST is not set -# CONFIG_SAMPLES is not set -CONFIG_HAVE_ARCH_KGDB=y -# CONFIG_KGDB is not set -# CONFIG_TEST_KSTRTOX is not set -# CONFIG_STRICT_DEVMEM is not set -# CONFIG_ARM_UNWIND is not set -CONFIG_DEBUG_USER=y -# CONFIG_DEBUG_LL is not set - -# -# Security options -# -# CONFIG_KEYS is not set -# CONFIG_SECURITY_DMESG_RESTRICT is not set -# CONFIG_SECURITY is not set -# CONFIG_SECURITYFS is not set -CONFIG_DEFAULT_SECURITY_DAC=y -CONFIG_DEFAULT_SECURITY="" -CONFIG_CRYPTO=y - -# -# Crypto core or helper -# -CONFIG_CRYPTO_ALGAPI=y -CONFIG_CRYPTO_ALGAPI2=y -CONFIG_CRYPTO_AEAD=y -CONFIG_CRYPTO_AEAD2=y -CONFIG_CRYPTO_BLKCIPHER=y -CONFIG_CRYPTO_BLKCIPHER2=y -CONFIG_CRYPTO_HASH=y -CONFIG_CRYPTO_HASH2=y -CONFIG_CRYPTO_RNG2=y -CONFIG_CRYPTO_PCOMP2=y -CONFIG_CRYPTO_MANAGER=y -CONFIG_CRYPTO_MANAGER2=y -# CONFIG_CRYPTO_USER is not set -CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y -# CONFIG_CRYPTO_GF128MUL is not set -CONFIG_CRYPTO_NULL=y -CONFIG_CRYPTO_WORKQUEUE=y -# CONFIG_CRYPTO_CRYPTD is not set -CONFIG_CRYPTO_AUTHENC=y -# CONFIG_CRYPTO_TEST is not set - -# -# Authenticated Encryption with Associated Data -# -# CONFIG_CRYPTO_CCM is not set -# CONFIG_CRYPTO_GCM is not set -# CONFIG_CRYPTO_SEQIV is not set - -# -# Block modes -# -CONFIG_CRYPTO_CBC=y -# CONFIG_CRYPTO_CTR is not set -# CONFIG_CRYPTO_CTS is not set -CONFIG_CRYPTO_ECB=y -# CONFIG_CRYPTO_LRW is not set -# CONFIG_CRYPTO_PCBC is not set -# CONFIG_CRYPTO_XTS is not set - -# -# Hash modes -# -CONFIG_CRYPTO_HMAC=y -# CONFIG_CRYPTO_XCBC is not set -# CONFIG_CRYPTO_VMAC is not set - -# -# Digest -# -CONFIG_CRYPTO_CRC32C=y -# CONFIG_CRYPTO_GHASH is not set -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_MD5=y -# CONFIG_CRYPTO_MICHAEL_MIC is not set -# CONFIG_CRYPTO_RMD128 is not set -CONFIG_CRYPTO_RMD160=m -CONFIG_CRYPTO_RMD256=m -# CONFIG_CRYPTO_RMD320 is not set -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=m -# CONFIG_CRYPTO_SHA512 is not set -# CONFIG_CRYPTO_TGR192 is not set -# CONFIG_CRYPTO_WP512 is not set - -# -# Ciphers -# -CONFIG_CRYPTO_AES=y -# CONFIG_CRYPTO_ANUBIS is not set -CONFIG_CRYPTO_ARC4=y -# CONFIG_CRYPTO_BLOWFISH is not set -# CONFIG_CRYPTO_CAMELLIA is not set -# CONFIG_CRYPTO_CAST5 is not set -# CONFIG_CRYPTO_CAST6 is not set -CONFIG_CRYPTO_DES=y -# CONFIG_CRYPTO_FCRYPT is not set -# CONFIG_CRYPTO_KHAZAD is not set -# CONFIG_CRYPTO_SALSA20 is not set -# CONFIG_CRYPTO_SEED is not set -# CONFIG_CRYPTO_SERPENT is not set -# CONFIG_CRYPTO_TEA is not set -# CONFIG_CRYPTO_TWOFISH is not set - -# -# Compression -# -CONFIG_CRYPTO_DEFLATE=y -# CONFIG_CRYPTO_ZLIB is not set -CONFIG_CRYPTO_LZO=y - -# -# Random Number Generation -# -# CONFIG_CRYPTO_ANSI_CPRNG is not set -# CONFIG_CRYPTO_USER_API_HASH is not set -# CONFIG_CRYPTO_USER_API_SKCIPHER is not set -# CONFIG_CRYPTO_HW is not set -# CONFIG_BINARY_PRINTF is not set - -# -# Library routines -# -CONFIG_BITREVERSE=y -CONFIG_CRC_CCITT=y -CONFIG_CRC16=y -CONFIG_CRC_T10DIF=y -# CONFIG_CRC_ITU_T is not set -CONFIG_CRC32=y -# CONFIG_CRC7 is not set -CONFIG_LIBCRC32C=y -# CONFIG_CRC8 is not set -CONFIG_ZLIB_INFLATE=y -CONFIG_ZLIB_DEFLATE=y -CONFIG_LZO_COMPRESS=y -CONFIG_LZO_DECOMPRESS=y -# CONFIG_XZ_DEC is not set -# CONFIG_XZ_DEC_BCJ is not set -CONFIG_GENERIC_ALLOCATOR=y -CONFIG_HAS_IOMEM=y -CONFIG_HAS_IOPORT=y -CONFIG_HAS_DMA=y -CONFIG_NLATTR=y -CONFIG_GENERIC_ATOMIC64=y -# CONFIG_AVERAGE is not set -# CONFIG_CORDIC is not set From e12e68dba6ebeb25ce967d9715bb5d5f49486622 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 13 May 2014 16:41:40 +0200 Subject: [PATCH 301/908] systemd: disable getty on ttyS0 for sysmobts-2050 Fixes: SYS#235 --- recipes-fixes/systemd/systemd_sysmocom.inc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index e937eb1f24..131c68ed4c 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -42,6 +42,20 @@ pkg_postinst_${PN}_append () { systemctl ${OPTS} mask systemd-journal-flush.service } +pkg_postinst_${PN}_append_sysmobts-2050 () { + cd $D${sysconfdir}/init.d + + echo "Disabling ttyS0 for sysmobts-2050:" + + OPTS="" + + if [ -n "$D" ]; then + OPTS="--root=$D" + fi + + systemctl ${OPTS} mask serial-getty@ttyS0.service +} + do_install_append() { install -m 0644 ${WORKDIR}/journald.conf ${D}${sysconfdir}/systemd/ From 6b49d86355c61b7d853ee4996fcf596201993bf4 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 30 May 2014 19:34:16 +0200 Subject: [PATCH 302/908] systemd: silence systemd for sysmobts-2050 * use /etc/systemd/system.conf to silence systemd own log messages * bump PRINC to 20 Fixes: SYS#235 --- .../systemd/systemd/sysmobts-2050/system.conf | 43 +++++++++++++++++++ recipes-fixes/systemd/systemd_sysmocom.inc | 3 +- 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 recipes-fixes/systemd/systemd/sysmobts-2050/system.conf diff --git a/recipes-fixes/systemd/systemd/sysmobts-2050/system.conf b/recipes-fixes/systemd/systemd/sysmobts-2050/system.conf new file mode 100644 index 0000000000..bfdf744c70 --- /dev/null +++ b/recipes-fixes/systemd/systemd/sysmobts-2050/system.conf @@ -0,0 +1,43 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# See systemd.conf(5) for details + +[Manager] +#LogLevel=info +LogTarget=null +#LogColor=yes +#LogLocation=no +#DumpCore=yes +#CrashShell=no +ShowStatus=no +#CrashChVT=1 +#CPUAffinity=1 2 +#DefaultControllers=cpu +DefaultStandardOutput=syslog +DefaultStandardError=syslog +#JoinControllers=cpu,cpuacct,cpuset net_cls,net_prio +RuntimeWatchdogSec=45 +#ShutdownWatchdogSec=10min +#CapabilityBoundingSet= +#TimerSlackNSec= +#DefaultLimitCPU= +#DefaultLimitFSIZE= +#DefaultLimitDATA= +#DefaultLimitSTACK= +#DefaultLimitCORE= +#DefaultLimitRSS= +#DefaultLimitNOFILE= +#DefaultLimitAS= +#DefaultLimitNPROC= +#DefaultLimitMEMLOCK= +#DefaultLimitLOCKS= +#DefaultLimitSIGPENDING= +#DefaultLimitMSGQUEUE= +#DefaultLimitNICE= +#DefaultLimitRTPRIO= +#DefaultLimitRTTIME= diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index 131c68ed4c..fb3ee5bfd2 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -1,7 +1,7 @@ S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" -PRINC="19" +PRINC="20" SRC_URI += "file://journald.conf \ file://0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch \ @@ -9,6 +9,7 @@ SRC_URI += "file://journald.conf \ SRC_URI_append_sysmobts-v1 = " file://system.conf" SRC_URI_append_sysmobts-v2 = " file://system.conf" +SRC_URI_append_sysmobts-2050 = " file://system.conf" # Disable depedency on dbus RDEPENDS_${PN}_remove = "dbus" From ccf75364051f81eecab3f74b0da68506d47d536c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Jun 2014 19:46:50 +0200 Subject: [PATCH 303/908] linux-sysmocom: Build newer kernel for the ODU kernel Partially Fixes: SYS#294 --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index 3d1bdf8fb4..3c1682dd2b 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -14,7 +14,7 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" # odu handling. -SRCREV_sysmocom-odu = "f770b4d8361682c9ba80ca3aff17b49461932ccd" +SRCREV_sysmocom-odu = "9d67c859b9abcdc4cfe750af4963b89fc3a3bf6a" LINUX_VERSION_sysmocom-odu = "3.2.55" PR = "r32" From 0b39eca55997f0e1c7c1832df4a89b7caecba070 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 13 Jun 2014 18:12:07 +0200 Subject: [PATCH 304/908] config: fix python functions for dora 1.5.2 --- conf/layer.conf | 2 +- conf/machine/include/sysmobts.inc | 2 +- conf/machine/sysmocom-bsc.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/layer.conf b/conf/layer.conf index dae822cc65..ad969b02d4 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -9,7 +9,7 @@ BBFILES += "${LAYERDIR}/yocto-shared/*.bbappend" BBFILES += "${BBFILES_SYSMOCOM_BSP}" # selects specific distro or master when DISTRO_VERSION contains SNAPSHOT -BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5','dora'),('1.5.1', 'dora'), ('1.1.2','edison')])[d.getVar('DISTRO_VERSION', True)], 'master']['SNAPSHOT' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" +BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5','dora'), ('1.5.1', 'dora'), ('1.5.2', 'dora'), ('1.1.2','edison')])[d.getVar('DISTRO_VERSION', True)], 'master']['SNAPSHOT' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" BBFILE_COLLECTIONS += "sysmocom-bsp" BBFILE_PATTERN_sysmocom-bsp := "^${LAYERDIR}/" diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index bdaa0326af..43f603a44f 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -1,7 +1,7 @@ TARGET_ARCH = "arm" PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" -PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.40+git%'), ('1.5.1','3.10.40+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" +PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.40+git%'), ('1.5.1','3.10.40+git%'), ('1.5.2','3.10.40+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" PREFERRED_VERSION_u-boot = "git" diff --git a/conf/machine/sysmocom-bsc.conf b/conf/machine/sysmocom-bsc.conf index 14059e5242..de586f1663 100644 --- a/conf/machine/sysmocom-bsc.conf +++ b/conf/machine/sysmocom-bsc.conf @@ -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 = "${@ dict([('1.5','linux-sysmocom'),('1.5.1', 'linux-sysmocom'), ('1.1.2','linux')])[d.getVar('DISTRO_VERSION', True)]}" +PREFERRED_PROVIDER_virtual/kernel = "${@ dict([('1.5','linux-sysmocom'), ('1.5.1', 'linux-sysmocom'), ('1.5.1', 'linux-sysmocom'), ('1.1.2','linux')])[d.getVar('DISTRO_VERSION', True)]}" require conf/machine/include/tune-geode.inc From ea7e222c7be7096b508cd0aadfabd954c7473f9c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 16 Jun 2014 18:29:16 +0200 Subject: [PATCH 305/908] osmo-bts: Revert all sysmobgs-mgr related options The code has not been finished and doesn't meet the quality standards we have for a product. Comment the sysmobts-mgr related files that will be back soon. --- ...-initialization-of-the-BTS-manager-c.patch | 42 ------------------- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 15 +++---- 2 files changed, 8 insertions(+), 49 deletions(-) delete mode 100644 recipes-sysmobts/osmo-bts/files/0001-sysmobts-Fix-the-initialization-of-the-BTS-manager-c.patch diff --git a/recipes-sysmobts/osmo-bts/files/0001-sysmobts-Fix-the-initialization-of-the-BTS-manager-c.patch b/recipes-sysmobts/osmo-bts/files/0001-sysmobts-Fix-the-initialization-of-the-BTS-manager-c.patch deleted file mode 100644 index f93c2ae5c7..0000000000 --- a/recipes-sysmobts/osmo-bts/files/0001-sysmobts-Fix-the-initialization-of-the-BTS-manager-c.patch +++ /dev/null @@ -1,42 +0,0 @@ -From a7f9b58e44fa7119e7113269765302a0b8a619d5 Mon Sep 17 00:00:00 2001 -From: Holger Hans Peter Freyther -Date: Fri, 30 May 2014 12:42:31 +0200 -Subject: [PATCH] sysmobts: Fix the initialization of the BTS manager code - -The code should only run for the sysmoBTS 2050 and TRX 0. -If the device is not marked as 2050 the code would attempt -to open /dev/ttyS0 and block forever. ---- - src/osmo-bts-sysmo/misc/sysmobts_mgr.c | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -Index: git/src/osmo-bts-sysmo/misc/sysmobts_mgr.c -=================================================================== ---- git.orig/src/osmo-bts-sysmo/misc/sysmobts_mgr.c -+++ git/src/osmo-bts-sysmo/misc/sysmobts_mgr.c -@@ -188,16 +188,17 @@ static void initialize_sbts2050(void) - return; - } - -- if (val == 2050) { -- if (sysmobts_par_get_int(SYSMOBTS_PAR_TRX_NR, &val) < 0) { -- LOGP(DFIND, LOGL_ERROR, -- "Failed to get the TRX number\n"); -- return; -- } -+ if (val != 2050) -+ return; - -- if (val != 0) -- return; -+ if (sysmobts_par_get_int(SYSMOBTS_PAR_TRX_NR, &val) < 0) { -+ LOGP(DFIND, LOGL_ERROR, "Failed to get the TRX number\n"); -+ return; - } -+ -+ if (val != 0) -+ return; -+ - trx_nr = val; - - ucontrol0.fd = osmo_serial_init(ucontrol0.path, 115200); diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 435400059e..988a581ffa 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -3,10 +3,9 @@ LICENSE = "AGPLv3" LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ - git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc \ - file://0001-sysmobts-Fix-the-initialization-of-the-BTS-manager-c.patch" -SRCREV_osmobts = "0a1699ff8a5462c167c24e8b28186abb26331698" -SRCREV_openbsc = "1b148ec1009c32faea269331836e366cfff7d18e" + 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}" S = "${WORKDIR}/git" @@ -35,7 +34,6 @@ do_compile_append_sysmobts-v2() { do_install_append() { install -d ${D}${sysconfdir}/osmocom install -m 0660 ${S}/doc/examples/osmo-bts.cfg ${D}${sysconfdir}/osmocom - install -m 0660 ${S}/doc/examples/osmobts-mgr.cfg ${D}${sysconfdir}/osmocom install -m 0755 ${S}/contrib/respawn.sh ${D}${sysconfdir}/osmocom/ install -m 0755 ${S}/contrib/respawn-only.sh ${D}${sysconfdir}/osmocom/ install -m 0644 ${S}/contrib/screenrc-sysmobts ${D}${sysconfdir}/osmocom/ @@ -45,9 +43,12 @@ do_install_append() { # Install systemd and enable on sysinit install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/ install -m 0644 ${S}/contrib/sysmobts.service ${D}${systemd_unitdir}/system/ - install -m 0644 ${S}/contrib/sysmobts-mgr.service ${D}${systemd_unitdir}/system/ ln -sf ../sysmobts.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ - ln -sf ../sysmobts-mgr.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ + + # Future sysmobts-mgr handling + #install -m 0660 ${S}/doc/examples/osmobts-mgr.cfg ${D}${sysconfdir}/osmocom + #install -m 0644 ${S}/contrib/sysmobts-mgr.service ${D}${systemd_unitdir}/system/ + #ln -sf ../sysmobts-mgr.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ } do_install_append_sysmobts-v2() { From ff29b31d6e9c0272562a09f8583b97911cf27381 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 16 Jun 2014 19:27:42 +0200 Subject: [PATCH 306/908] 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. --- .../femtobts-api/femtobts-api_git.bb | 4 ++-- .../firmware/sysmobts-firmware_3.10.bb | 16 ++++++++++++++++ recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 7 ++++--- 3 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 recipes-sysmobts/firmware/sysmobts-firmware_3.10.bb diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb index c3fba57f1e..0ba4bfc2b1 100644 --- a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -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" diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.10.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.10.bb new file mode 100644 index 0000000000..85fb37509a --- /dev/null +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.10.bb @@ -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*" diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 988a581ffa..02ef5418c1 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -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" From dfe8845a4e8112b4d23c9312a77604b6b794844e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 16 Jun 2014 19:40:39 +0200 Subject: [PATCH 307/908] osmo-pcu: Upgrade to a newer test version of the PCU * "upgrade" a TBF that was assigned through the BCCH * Rip-out the non exit code from the PCU. --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index ee5e2edf6c..2d6d15ee85 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=sysmocom/master" -SRCREV = "f81e2f7621c9bc6866035cb47ac09adab4897b55" +SRCREV = "6d8884de490d09902e9e31a90bab9ef490ef5d82" PV = "0.4+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From f8960b7bf29babfc7feea1d98451c097486c41f4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 16 Jun 2014 20:52:39 +0200 Subject: [PATCH 308/908] osmo-bts: Do not mention the osmobts-mgr.cfg in the conf files While the package can be built on dora, it can not be built on edison. We need to comment it. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 02ef5418c1..f3b71799a5 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -57,7 +57,7 @@ do_install_append_sysmobts-v2() { } CONFFILES_${PN} = "${sysconfdir}/osmocom/osmo-bts.cfg" -CONFFILES_${PN} += "${sysconfdir}/osmocom/osmobts-mgr.cfg" +#CONFFILES_${PN} += "${sysconfdir}/osmocom/osmobts-mgr.cfg" INITSCRIPT_PACKAGES = "${PN}" INITSCRIPT_NAME_${PN} = "sysmobts" INITSCRIPT_PARAMS_${PN} = "defaults 30 30" From 85bc905db3f6353d2eaf241539d76f08481e2570 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 16 Jun 2014 21:52:39 +0200 Subject: [PATCH 309/908] osmo-pcu: Avoid crash with BFI indication of the DSP? Add the hotfix to not crash on a bad frame received. --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 2d6d15ee85..82aed14f87 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=sysmocom/master" -SRCREV = "6d8884de490d09902e9e31a90bab9ef490ef5d82" +SRCREV = "f3405e5b0342362d5d592f013014847a4dc135d8" PV = "0.4+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 92c3a7828834ac8a2e8ed2debc594655932600cd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 17 Jun 2014 19:52:43 +0200 Subject: [PATCH 310/908] gpsd: Do not generate an RPATH when we don't need it So far we have used chrpath to fix the rpath we don't want but this creates issues with supporting both dora and edison (we need to depend on different recipes). Instead just force the RPATH to be off. This can be done by setting the internal _RPATH variable. I found this in Tool/gnulink.py. --- .../0004-SConstruct-remove-rpath.patch | 42 ------------------- .../gpsd/gpsd-3.9/no-rpath-please.patch | 12 ++++++ recipes-extra/gpsd/gpsd_3.9.bb | 9 ++-- 3 files changed, 16 insertions(+), 47 deletions(-) delete mode 100644 recipes-extra/gpsd/gpsd-3.9/0004-SConstruct-remove-rpath.patch create mode 100644 recipes-extra/gpsd/gpsd-3.9/no-rpath-please.patch diff --git a/recipes-extra/gpsd/gpsd-3.9/0004-SConstruct-remove-rpath.patch b/recipes-extra/gpsd/gpsd-3.9/0004-SConstruct-remove-rpath.patch deleted file mode 100644 index 83b98bb5ed..0000000000 --- a/recipes-extra/gpsd/gpsd-3.9/0004-SConstruct-remove-rpath.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 7d736bbd517c12d19d7b85a5b0db84732b2f86da Mon Sep 17 00:00:00 2001 -From: Martin Jansa -Date: Tue, 24 Apr 2012 16:24:35 +0200 -Subject: [PATCH 2/2] SConstruct: remove rpath - -* even with correct prefix (without DESTDIR) included it's redundant - WARNING: QA Issue: libgps: - /work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/packages-split/libgps/usr/lib/libgps.so.20.0 - contains probably-redundant RPATH /usr/lib -* and with prefix from scons.bbclass it's invalid - WARNING: QA Issue: package libgps contains bad RPATH - /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/image/usr/lib - in file - /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/packages-split/libgps/usr/lib/libgps.so.20.0 - -Signed-off-by: Martin Jansa -Signed-off-by: Denis 'GNUtoo' Carikli ---- - SConstruct | 7 +++++-- - 1 files changed, 5 insertions(+), 2 deletions(-) - -diff --git a/SConstruct b/SConstruct -index a1bddb9..3e7c607 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -1205,8 +1205,11 @@ if qt_env: - - # We don't use installdir here in order to avoid having DESTDIR affect the rpath - if env["shared"] and env["chrpath"]: -- env.AddPostAction(binaryinstall, '$CHRPATH -r "%s" "$TARGET"' \ -- % (installdir('libdir', False), )) -+ if not env['sysroot']: -+ env.AddPostAction(binaryinstall, '$CHRPATH -r "%s" "$TARGET"' \ -+ % (installdir('libdir', False), )) -+ else: -+ env.AddPostAction(binaryinstall, '$CHRPATH -d "$TARGET"') - - if not env['debug'] and not env['profiling'] and env['strip']: - env.AddPostAction(binaryinstall, '$STRIP $TARGET') --- -1.7.5.4 - diff --git a/recipes-extra/gpsd/gpsd-3.9/no-rpath-please.patch b/recipes-extra/gpsd/gpsd-3.9/no-rpath-please.patch new file mode 100644 index 0000000000..e0735cd759 --- /dev/null +++ b/recipes-extra/gpsd/gpsd-3.9/no-rpath-please.patch @@ -0,0 +1,12 @@ +Index: gpsd-3.9/SConstruct +=================================================================== +--- gpsd-3.9.orig/SConstruct ++++ gpsd-3.9/SConstruct +@@ -223,6 +223,7 @@ env['PYTHON'] = sys.executable + env['STRIP'] = "strip" + env['PKG_CONFIG'] = "pkg-config" + env['CHRPATH'] = 'chrpath' ++env['_RPATH'] = '' + for i in ["AR", "ARFLAGS", "CCFLAGS", "CFLAGS", "CC", "CXX", "CXXFLAGS", "STRIP", "PKG_CONFIG", "CHRPATH", "LD", "TAR"]: + if os.environ.has_key(i): + j = i diff --git a/recipes-extra/gpsd/gpsd_3.9.bb b/recipes-extra/gpsd/gpsd_3.9.bb index 1f73054fd9..f02e436678 100644 --- a/recipes-extra/gpsd/gpsd_3.9.bb +++ b/recipes-extra/gpsd/gpsd_3.9.bb @@ -2,18 +2,16 @@ DESCRIPTION = "A TCP/IP Daemon simplifying the communication with GPS devices" SECTION = "console/network" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800" -DEPENDS = "ncurses chrpath-native python" +DEPENDS = "ncurses python" #DEPENDS = "ncurses libusb1 python" PROVIDES = "virtual/gpsd" -EXTRANATIVEPATH += "chrpath-native" - -PR = "r3.10" +PR = "r3.11" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ - file://0004-SConstruct-remove-rpath.patch \ file://0001-SConstruct-disable-html-and-man-docs-building-becaus.patch \ + file://no-rpath-please.patch \ file://gpsd-tsip-pps.patch \ file://gpsd-default \ file://gpsd \ @@ -61,6 +59,7 @@ EXTRA_OESCONS = " \ tripmate='false' \ usb='false' \ systemd='${SYSTEMD_OESCONS}' \ + chrpath='false' \ " # python='false' \ # this cannot be used, because then chrpath is not found and only static lib is built From 767d7b69393c5a1827523dc15237b04f8de1a4a4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 20 Jun 2014 18:57:55 +0200 Subject: [PATCH 311/908] osmo-bts: Depend on a specific version of the sysmobts-firmware --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index f3b71799a5..d28f1c0138 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,13 +7,12 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/featu SRCREV_osmobts = "a7f9b58e44fa7119e7113269765302a0b8a619d5" SRCREV_openbsc = "421365eeaa104a9781214f9e12c55023c1099bf8" PV = "0.4.2+git${SRCPV}" -PR = "r9.${META_TELEPHONY_OSMO_INC}" +PR = "r10.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" DEPENDS = "libosmocore libosmo-abis femtobts-api" -RDEPENDS_${PN} += "coreutils sysmobts-firmware (>= 3.10)" -RCONFLICTS_${PN} = "sysmobts-firmware (< 3.10)" +RDEPENDS_${PN} += "coreutils sysmobts-firmware (= 3.10)" EXTRA_OECONF += "--enable-sysmocom-bts" From eadc4c52781873cd1ceca75ddf0010b3dbbf2821 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 21 Jun 2014 10:08:11 +0200 Subject: [PATCH 312/908] linux-sysmocom: Build 3.2.0 with patches for the ODU The 3.2.XX kernel doesn't really work. Please see SYS#409 for details and resolution --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index 3c1682dd2b..7431621f7f 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -14,8 +14,8 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" # odu handling. -SRCREV_sysmocom-odu = "9d67c859b9abcdc4cfe750af4963b89fc3a3bf6a" -LINUX_VERSION_sysmocom-odu = "3.2.55" +SRCREV_sysmocom-odu = "f11945e1d688bef5d2a81cc0255b19ed416cab42" +LINUX_VERSION_sysmocom-odu = "3.2.0" PR = "r32" PV = "${LINUX_VERSION}+git${SRCPV}" From bf0c0ad2873fa989dd9d116fac05c8594352ce91 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 22 Jun 2014 10:28:11 +0200 Subject: [PATCH 313/908] Revert "osmo-bts: Depend on a specific version of the sysmobts-firmware" This doesn't work like this. We need to know the _exact_ PV/PR of the package and we don't. Specially with the PR server in dora and later we can not know the version. This reverts commit 767d7b69393c5a1827523dc15237b04f8de1a4a4. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index d28f1c0138..f70b4b8860 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,12 +7,13 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/featu SRCREV_osmobts = "a7f9b58e44fa7119e7113269765302a0b8a619d5" SRCREV_openbsc = "421365eeaa104a9781214f9e12c55023c1099bf8" PV = "0.4.2+git${SRCPV}" -PR = "r10.${META_TELEPHONY_OSMO_INC}" +PR = "r11.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" DEPENDS = "libosmocore libosmo-abis femtobts-api" -RDEPENDS_${PN} += "coreutils sysmobts-firmware (= 3.10)" +RDEPENDS_${PN} += "coreutils sysmobts-firmware (>= 3.10)" +RCONFLICTS_${PN} = "sysmobts-firmware (< 3.10)" EXTRA_OECONF += "--enable-sysmocom-bts" From 2f367aec310bc1a5ccfed29769a3b3ca84400e5a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 24 Jun 2014 20:28:48 +0200 Subject: [PATCH 314/908] gpsd: Upgrade from 3.9 to 3.10 in the hope the TSIP is working better Related: SYS#410 --- ...le-html-and-man-docs-building-becaus.patch | 39 +++++++++---------- ...x-includepy-with-sysroot-and-drop-sy.patch | 0 ...t-respect-sysroot-also-in-SPLINTOPTS.patch | 15 +++---- .../gpsd/gpsd-3.10/gpsd-tsip-pps.patch | 28 +++++++++++++ .../no-rpath-please.patch | 0 .../gpsd/gpsd-3.9/gpsd-tsip-pps.patch | 27 ------------- .../gpsd/{gpsd_3.9.bb => gpsd_3.10.bb} | 4 +- 7 files changed, 54 insertions(+), 59 deletions(-) rename recipes-extra/gpsd/{gpsd-3.9 => gpsd-3.10}/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch (68%) rename recipes-extra/gpsd/{gpsd-3.9 => gpsd-3.10}/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch (100%) rename recipes-extra/gpsd/{gpsd-3.9 => gpsd-3.10}/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch (76%) create mode 100644 recipes-extra/gpsd/gpsd-3.10/gpsd-tsip-pps.patch rename recipes-extra/gpsd/{gpsd-3.9 => gpsd-3.10}/no-rpath-please.patch (100%) delete mode 100644 recipes-extra/gpsd/gpsd-3.9/gpsd-tsip-pps.patch rename recipes-extra/gpsd/{gpsd_3.9.bb => gpsd_3.10.bb} (97%) diff --git a/recipes-extra/gpsd/gpsd-3.9/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch b/recipes-extra/gpsd/gpsd-3.10/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch similarity index 68% rename from recipes-extra/gpsd/gpsd-3.9/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch rename to recipes-extra/gpsd/gpsd-3.10/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch index 9db24326cf..7bdd2be84d 100644 --- a/recipes-extra/gpsd/gpsd-3.9/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch +++ b/recipes-extra/gpsd/gpsd-3.10/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch @@ -25,25 +25,22 @@ Signed-off-by: Martin Jansa SConstruct | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) -diff --git a/SConstruct b/SConstruct -index 9c0f751..8236abb 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -560,12 +560,12 @@ size_t strlcpy(/*@out@*/char *dst, /*@in@*/const char *src, size_t size); +Index: gpsd-3.10/SConstruct +=================================================================== +--- gpsd-3.10.orig/SConstruct ++++ gpsd-3.10/SConstruct +@@ -704,12 +704,12 @@ size_t strlcpy(/*@out@*/char *dst, /*@in - - manbuilder = mangenerator = htmlbuilder = None --if config.CheckXsltproc(): -+if False and config.CheckXsltproc(): - mangenerator = 'xsltproc' - build = "xsltproc --nonet %s $SOURCE >$TARGET" - htmlbuilder = build % docbook_html_uri - manbuilder = build % docbook_man_uri --elif WhereIs("xmlto"): -+elif False and WhereIs("xmlto"): - mangenerator = 'xmlto' - htmlbuilder = "xmlto html-nochunks $SOURCE; mv `basename $TARGET` $TARGET" - manbuilder = "xmlto man $SOURCE; mv `basename $TARGET` $TARGET" --- -1.7.8.6 - + manbuilder = mangenerator = htmlbuilder = None + if env['manbuild']: +- if config.CheckXsltproc(): ++ if False and config.CheckXsltproc(): + mangenerator = 'xsltproc' + build = "xsltproc --nonet %s $SOURCE >$TARGET" + htmlbuilder = build % docbook_html_uri + manbuilder = build % docbook_man_uri +- elif WhereIs("xmlto"): ++ elif False and WhereIs("xmlto"): + mangenerator = 'xmlto' + xmlto = "xmlto %s $SOURCE || mv `basename $TARGET` `dirname $TARGET`" + htmlbuilder = xmlto % "html-nochunks" diff --git a/recipes-extra/gpsd/gpsd-3.9/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch b/recipes-extra/gpsd/gpsd-3.10/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch similarity index 100% rename from recipes-extra/gpsd/gpsd-3.9/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch rename to recipes-extra/gpsd/gpsd-3.10/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch diff --git a/recipes-extra/gpsd/gpsd-3.9/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch b/recipes-extra/gpsd/gpsd-3.10/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch similarity index 76% rename from recipes-extra/gpsd/gpsd-3.9/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch rename to recipes-extra/gpsd/gpsd-3.10/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch index 40baa01947..98c4c6f47e 100644 --- a/recipes-extra/gpsd/gpsd-3.9/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch +++ b/recipes-extra/gpsd/gpsd-3.10/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch @@ -9,14 +9,14 @@ Signed-off-by: Denis 'GNUtoo' Carikli SConstruct | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) -diff --git a/SConstruct b/SConstruct -index a25e88a..a1bddb9 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -1277,7 +1277,10 @@ def Utility(target, source, action): - +Index: gpsd-3.10/SConstruct +=================================================================== +--- gpsd-3.10.orig/SConstruct ++++ gpsd-3.10/SConstruct +@@ -1414,7 +1414,10 @@ def Utility(target, source, action): # Report splint warnings # Note: test_bits.c is unsplintable because of the PRI64 macros. + # If you get preprocessor or fatal errors, add +showscan. -splintopts = "-I/usr/include/libusb-1.0 +quiet" +if not env['sysroot']: + splintopts = "-I/usr/include/libusb-1.0 +quiet" @@ -25,6 +25,3 @@ index a25e88a..a1bddb9 100644 # splint does not know about multi-arch, work around that ma_status, ma = _getstatusoutput('dpkg-architecture -qDEB_HOST_MULTIARCH') if ma_status == 0: --- -1.7.5.4 - diff --git a/recipes-extra/gpsd/gpsd-3.10/gpsd-tsip-pps.patch b/recipes-extra/gpsd/gpsd-3.10/gpsd-tsip-pps.patch new file mode 100644 index 0000000000..31208fe963 --- /dev/null +++ b/recipes-extra/gpsd/gpsd-3.10/gpsd-tsip-pps.patch @@ -0,0 +1,28 @@ +Index: gpsd-3.10/driver_tsip.c +=================================================================== +--- gpsd-3.10.orig/driver_tsip.c ++++ gpsd-3.10/driver_tsip.c +@@ -1201,6 +1201,23 @@ void configuration_packets_generic(struc + /* Request Navigation Configuration */ + putbyte(buf, 0, 0x03); + (void)tsip_write(session, 0xbb, buf, 1); ++ ++ gpsd_report(session->context->debug, ++ LOG_PROG, "Configuring + Enabling 1PPS\n"); ++ /* enable 1pps */ ++ putbyte(buf, 0, 0x4a); ++ putbyte(buf, 1, 0x01); ++ (void)tsip_write(session, 0x8e, buf, 2); ++ ++ /* request PPS only if at least one sat is visible */ ++ putbyte(buf, 0, 0x4e); ++ putbyte(buf, 1, 0x03); ++ (void)tsip_write(session, 0x8e, buf, 2); ++ ++ /* request PPS and TSIP to use UTC time, not GPS */ ++ putbyte(buf, 0, 0xa2); ++ putbyte(buf, 1, 0x03); ++ (void)tsip_write(session, 0x8e, buf, 2); + } + + void configuration_packets_accutime_gold(struct gps_device_t *session) diff --git a/recipes-extra/gpsd/gpsd-3.9/no-rpath-please.patch b/recipes-extra/gpsd/gpsd-3.10/no-rpath-please.patch similarity index 100% rename from recipes-extra/gpsd/gpsd-3.9/no-rpath-please.patch rename to recipes-extra/gpsd/gpsd-3.10/no-rpath-please.patch diff --git a/recipes-extra/gpsd/gpsd-3.9/gpsd-tsip-pps.patch b/recipes-extra/gpsd/gpsd-3.9/gpsd-tsip-pps.patch deleted file mode 100644 index 3f3a1ef0ff..0000000000 --- a/recipes-extra/gpsd/gpsd-3.9/gpsd-tsip-pps.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/driver_tsip.c b/driver_tsip.c -index 3c99138..76cbc82 100644 ---- a/driver_tsip.c -+++ b/driver_tsip.c -@@ -1016,6 +1016,22 @@ static void tsip_event_hook(struct gps_device_t *session, event_t event) - /* Request Navigation Configuration */ - putbyte(buf, 0, 0x03); - (void)tsip_write(session, 0xbb, buf, 1); -+ gpsd_report(LOG_PROG, "Configuring + Enabling 1PPS\n"); -+ /* enable 1pps */ -+ putbyte(buf, 0, 0x4a); -+ putbyte(buf, 1, 0x01); -+ (void)tsip_write(session, 0x8e, buf, 2); -+ -+ /* request PPS only if at least one sat is visible */ -+ putbyte(buf, 0, 0x4e); -+ putbyte(buf, 1, 0x03); -+ (void)tsip_write(session, 0x8e, buf, 2); -+ -+ /* request PPS and TSIP to use UTC time, not GPS */ -+ putbyte(buf, 0, 0xa2); -+ putbyte(buf, 1, 0x03); -+ (void)tsip_write(session, 0x8e, buf, 2); -+ - break; - } - } diff --git a/recipes-extra/gpsd/gpsd_3.9.bb b/recipes-extra/gpsd/gpsd_3.10.bb similarity index 97% rename from recipes-extra/gpsd/gpsd_3.9.bb rename to recipes-extra/gpsd/gpsd_3.10.bb index f02e436678..a3856dc1ff 100644 --- a/recipes-extra/gpsd/gpsd_3.9.bb +++ b/recipes-extra/gpsd/gpsd_3.10.bb @@ -17,8 +17,8 @@ SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://gpsd \ file://60-gpsd.rules \ " -SRC_URI[md5sum] = "53a88f24a0973d23427e82e9a8914f19" -SRC_URI[sha256sum] = "d9b24be838b48db5e8eba66f74edf32d1982fe0fb018c9d9a7ad1ada9f189d5a" +SRC_URI[md5sum] = "fc5b03aae38b9b5b6880b31924d0ace3" +SRC_URI[sha256sum] = "706fc2c1cf3dfbf87c941f543381bccc9c4dc9f8240eec407dcbf2f70b854320" #inherit scons update-rc.d python-dir pythonnative inherit scons update-rc.d From 5084446d222379b1a6c8f754962e95ebfd15b061 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 17 Jun 2014 16:25:45 +0200 Subject: [PATCH 315/908] usb2514: add small tool for setting usbrouting Related: SYS#294 --- recipes-bsp/sob-odu/files/gpio_usb2514 | 51 ++++ recipes-bsp/sob-odu/files/i2c-dev.h | 335 ++++++++++++++++++++++ recipes-bsp/sob-odu/files/usb2514.c | 180 ++++++++++++ recipes-bsp/sob-odu/files/usb2514.service | 9 + recipes-bsp/sob-odu/usb2514_1.bb | 29 ++ 5 files changed, 604 insertions(+) create mode 100644 recipes-bsp/sob-odu/files/gpio_usb2514 create mode 100644 recipes-bsp/sob-odu/files/i2c-dev.h create mode 100644 recipes-bsp/sob-odu/files/usb2514.c create mode 100644 recipes-bsp/sob-odu/files/usb2514.service create mode 100644 recipes-bsp/sob-odu/usb2514_1.bb diff --git a/recipes-bsp/sob-odu/files/gpio_usb2514 b/recipes-bsp/sob-odu/files/gpio_usb2514 new file mode 100644 index 0000000000..adce2f48c8 --- /dev/null +++ b/recipes-bsp/sob-odu/files/gpio_usb2514 @@ -0,0 +1,51 @@ +#!/bin/sh + +cd /sys/class/gpio + +# !mdm1_pwr_ind +echo 22 > export +echo in > ./gpio22/direction + +# mdm1_rst=0 +echo 26 > export +echo out > ./gpio26/direction +echo 0 > ./gpio26/value + +# !mdm1_shdn=1 +echo 59 > export +echo out > ./gpio59/direction +echo 1 > ./gpio59/value + +# mdm_ldo_en=1 +echo 58 > export +echo out > ./gpio58/direction +echo 1 > ./gpio58/value + +# !mdm2_pwr_ind +echo 57 > export +echo in > ./gpio57/direction + +# mdm2_rst=0 +echo 55 > export +echo out > ./gpio55/direction +echo 0 > ./gpio55/value + +# mdm2_on=1 +echo 50 > export +echo out > ./gpio50/direction +echo 1 > ./gpio50/value + +# !gnss_rst=1 +echo 114 > export +echo out > ./gpio114/direction +echo 1 > ./gpio114/value + +# !adsb_rst=1 +echo 53 > export +echo out > ./gpio53/direction +echo 1 > ./gpio53/value + +# adsb_frame +echo 54 > export +echo in > ./gpio54/direction + diff --git a/recipes-bsp/sob-odu/files/i2c-dev.h b/recipes-bsp/sob-odu/files/i2c-dev.h new file mode 100644 index 0000000000..b935817419 --- /dev/null +++ b/recipes-bsp/sob-odu/files/i2c-dev.h @@ -0,0 +1,335 @@ +/* + i2c-dev.h - i2c-bus driver, char device interface + + Copyright (C) 1995-97 Simon G. Vogl + Copyright (C) 1998-99 Frodo Looijaard + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301 USA. +*/ + +/* $Id: i2c-dev.h 5894 2010-12-12 13:22:29Z khali $ */ + +#ifndef LIB_I2CDEV_H +#define LIB_I2CDEV_H + +#include +#include + + +/* -- i2c.h -- */ + + +/* + * I2C Message - used for pure i2c transaction, also from /dev interface + */ +struct i2c_msg { + __u16 addr; /* slave address */ + unsigned short flags; +#define I2C_M_TEN 0x10 /* we have a ten bit chip address */ +#define I2C_M_RD 0x01 +#define I2C_M_NOSTART 0x4000 +#define I2C_M_REV_DIR_ADDR 0x2000 +#define I2C_M_IGNORE_NAK 0x1000 +#define I2C_M_NO_RD_ACK 0x0800 + short len; /* msg length */ + char *buf; /* pointer to msg data */ +}; + +/* To determine what functionality is present */ + +#define I2C_FUNC_I2C 0x00000001 +#define I2C_FUNC_10BIT_ADDR 0x00000002 +#define I2C_FUNC_PROTOCOL_MANGLING 0x00000004 /* I2C_M_{REV_DIR_ADDR,NOSTART,..} */ +#define I2C_FUNC_SMBUS_PEC 0x00000008 +#define I2C_FUNC_SMBUS_BLOCK_PROC_CALL 0x00008000 /* SMBus 2.0 */ +#define I2C_FUNC_SMBUS_QUICK 0x00010000 +#define I2C_FUNC_SMBUS_READ_BYTE 0x00020000 +#define I2C_FUNC_SMBUS_WRITE_BYTE 0x00040000 +#define I2C_FUNC_SMBUS_READ_BYTE_DATA 0x00080000 +#define I2C_FUNC_SMBUS_WRITE_BYTE_DATA 0x00100000 +#define I2C_FUNC_SMBUS_READ_WORD_DATA 0x00200000 +#define I2C_FUNC_SMBUS_WRITE_WORD_DATA 0x00400000 +#define I2C_FUNC_SMBUS_PROC_CALL 0x00800000 +#define I2C_FUNC_SMBUS_READ_BLOCK_DATA 0x01000000 +#define I2C_FUNC_SMBUS_WRITE_BLOCK_DATA 0x02000000 +#define I2C_FUNC_SMBUS_READ_I2C_BLOCK 0x04000000 /* I2C-like block xfer */ +#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK 0x08000000 /* w/ 1-byte reg. addr. */ + +#define I2C_FUNC_SMBUS_BYTE (I2C_FUNC_SMBUS_READ_BYTE | \ + I2C_FUNC_SMBUS_WRITE_BYTE) +#define I2C_FUNC_SMBUS_BYTE_DATA (I2C_FUNC_SMBUS_READ_BYTE_DATA | \ + I2C_FUNC_SMBUS_WRITE_BYTE_DATA) +#define I2C_FUNC_SMBUS_WORD_DATA (I2C_FUNC_SMBUS_READ_WORD_DATA | \ + I2C_FUNC_SMBUS_WRITE_WORD_DATA) +#define I2C_FUNC_SMBUS_BLOCK_DATA (I2C_FUNC_SMBUS_READ_BLOCK_DATA | \ + I2C_FUNC_SMBUS_WRITE_BLOCK_DATA) +#define I2C_FUNC_SMBUS_I2C_BLOCK (I2C_FUNC_SMBUS_READ_I2C_BLOCK | \ + I2C_FUNC_SMBUS_WRITE_I2C_BLOCK) + +/* Old name, for compatibility */ +#define I2C_FUNC_SMBUS_HWPEC_CALC I2C_FUNC_SMBUS_PEC + +/* + * Data for SMBus Messages + */ +#define I2C_SMBUS_BLOCK_MAX 32 /* As specified in SMBus standard */ +#define I2C_SMBUS_I2C_BLOCK_MAX 32 /* Not specified but we use same structure */ +union i2c_smbus_data { + __u8 byte; + __u16 word; + __u8 block[I2C_SMBUS_BLOCK_MAX + 2]; /* block[0] is used for length */ + /* and one more for PEC */ +}; + +/* smbus_access read or write markers */ +#define I2C_SMBUS_READ 1 +#define I2C_SMBUS_WRITE 0 + +/* SMBus transaction types (size parameter in the above functions) + Note: these no longer correspond to the (arbitrary) PIIX4 internal codes! */ +#define I2C_SMBUS_QUICK 0 +#define I2C_SMBUS_BYTE 1 +#define I2C_SMBUS_BYTE_DATA 2 +#define I2C_SMBUS_WORD_DATA 3 +#define I2C_SMBUS_PROC_CALL 4 +#define I2C_SMBUS_BLOCK_DATA 5 +#define I2C_SMBUS_I2C_BLOCK_BROKEN 6 +#define I2C_SMBUS_BLOCK_PROC_CALL 7 /* SMBus 2.0 */ +#define I2C_SMBUS_I2C_BLOCK_DATA 8 + + +/* ----- commands for the ioctl like i2c_command call: + * note that additional calls are defined in the algorithm and hw + * dependent layers - these can be listed here, or see the + * corresponding header files. + */ + /* -> bit-adapter specific ioctls */ +#define I2C_RETRIES 0x0701 /* number of times a device address */ + /* should be polled when not */ + /* acknowledging */ +#define I2C_TIMEOUT 0x0702 /* set timeout - call with int */ + + +/* this is for i2c-dev.c */ +#define I2C_SLAVE 0x0703 /* Change slave address */ + /* Attn.: Slave address is 7 or 10 bits */ +#define I2C_SLAVE_FORCE 0x0706 /* Change slave address */ + /* Attn.: Slave address is 7 or 10 bits */ + /* This changes the address, even if it */ + /* is already taken! */ +#define I2C_TENBIT 0x0704 /* 0 for 7 bit addrs, != 0 for 10 bit */ + +#define I2C_FUNCS 0x0705 /* Get the adapter functionality */ +#define I2C_RDWR 0x0707 /* Combined R/W transfer (one stop only)*/ +#define I2C_PEC 0x0708 /* != 0 for SMBus PEC */ + +#define I2C_SMBUS 0x0720 /* SMBus-level access */ + +/* -- i2c.h -- */ + + +/* Note: 10-bit addresses are NOT supported! */ + +/* This is the structure as used in the I2C_SMBUS ioctl call */ +struct i2c_smbus_ioctl_data { + char read_write; + __u8 command; + int size; + union i2c_smbus_data *data; +}; + +/* This is the structure as used in the I2C_RDWR ioctl call */ +struct i2c_rdwr_ioctl_data { + struct i2c_msg *msgs; /* pointers to i2c_msgs */ + int nmsgs; /* number of i2c_msgs */ +}; + + +static inline __s32 i2c_smbus_access(int file, char read_write, __u8 command, + int size, union i2c_smbus_data *data) +{ + struct i2c_smbus_ioctl_data args; + + args.read_write = read_write; + args.command = command; + args.size = size; + args.data = data; + return ioctl(file,I2C_SMBUS,&args); +} + + +static inline __s32 i2c_smbus_write_quick(int file, __u8 value) +{ + return i2c_smbus_access(file,value,0,I2C_SMBUS_QUICK,NULL); +} + +static inline __s32 i2c_smbus_read_byte(int file) +{ + union i2c_smbus_data data; + if (i2c_smbus_access(file,I2C_SMBUS_READ,0,I2C_SMBUS_BYTE,&data)) + return -1; + else + return 0x0FF & data.byte; +} + +static inline __s32 i2c_smbus_write_byte(int file, __u8 value) +{ + return i2c_smbus_access(file,I2C_SMBUS_WRITE,value, + I2C_SMBUS_BYTE,NULL); +} + +static inline __s32 i2c_smbus_read_byte_data(int file, __u8 command) +{ + union i2c_smbus_data data; + if (i2c_smbus_access(file,I2C_SMBUS_READ,command, + I2C_SMBUS_BYTE_DATA,&data)) + return -1; + else + return 0x0FF & data.byte; +} + +static inline __s32 i2c_smbus_write_byte_data(int file, __u8 command, + __u8 value) +{ + union i2c_smbus_data data; + data.byte = value; + return i2c_smbus_access(file,I2C_SMBUS_WRITE,command, + I2C_SMBUS_BYTE_DATA, &data); +} + +static inline __s32 i2c_smbus_read_word_data(int file, __u8 command) +{ + union i2c_smbus_data data; + if (i2c_smbus_access(file,I2C_SMBUS_READ,command, + I2C_SMBUS_WORD_DATA,&data)) + return -1; + else + return 0x0FFFF & data.word; +} + +static inline __s32 i2c_smbus_write_word_data(int file, __u8 command, + __u16 value) +{ + union i2c_smbus_data data; + data.word = value; + return i2c_smbus_access(file,I2C_SMBUS_WRITE,command, + I2C_SMBUS_WORD_DATA, &data); +} + +static inline __s32 i2c_smbus_process_call(int file, __u8 command, __u16 value) +{ + union i2c_smbus_data data; + data.word = value; + if (i2c_smbus_access(file,I2C_SMBUS_WRITE,command, + I2C_SMBUS_PROC_CALL,&data)) + return -1; + else + return 0x0FFFF & data.word; +} + + +/* Returns the number of read bytes */ +static inline __s32 i2c_smbus_read_block_data(int file, __u8 command, + __u8 *values) +{ + union i2c_smbus_data data; + int i; + if (i2c_smbus_access(file,I2C_SMBUS_READ,command, + I2C_SMBUS_BLOCK_DATA,&data)) + return -1; + else { + for (i = 1; i <= data.block[0]; i++) + values[i-1] = data.block[i]; + return data.block[0]; + } +} + +static inline __s32 i2c_smbus_write_block_data(int file, __u8 command, + __u8 length, const __u8 *values) +{ + union i2c_smbus_data data; + int i; + if (length > 32) + length = 32; + for (i = 1; i <= length; i++) + data.block[i] = values[i-1]; + data.block[0] = length; + return i2c_smbus_access(file,I2C_SMBUS_WRITE,command, + I2C_SMBUS_BLOCK_DATA, &data); +} + +/* Returns the number of read bytes */ +/* Until kernel 2.6.22, the length is hardcoded to 32 bytes. If you + ask for less than 32 bytes, your code will only work with kernels + 2.6.23 and later. */ +static inline __s32 i2c_smbus_read_i2c_block_data(int file, __u8 command, + __u8 length, __u8 *values) +{ + union i2c_smbus_data data; + int i; + + if (length > 32) + length = 32; + data.block[0] = length; + if (i2c_smbus_access(file,I2C_SMBUS_READ,command, + length == 32 ? I2C_SMBUS_I2C_BLOCK_BROKEN : + I2C_SMBUS_I2C_BLOCK_DATA,&data)) + return -1; + else { + for (i = 1; i <= data.block[0]; i++) + values[i-1] = data.block[i]; + return data.block[0]; + } +} + +static inline __s32 i2c_smbus_write_i2c_block_data(int file, __u8 command, + __u8 length, + const __u8 *values) +{ + union i2c_smbus_data data; + int i; + if (length > 32) + length = 32; + for (i = 1; i <= length; i++) + data.block[i] = values[i-1]; + data.block[0] = length; + return i2c_smbus_access(file,I2C_SMBUS_WRITE,command, + I2C_SMBUS_I2C_BLOCK_BROKEN, &data); +} + +/* Returns the number of read bytes */ +static inline __s32 i2c_smbus_block_process_call(int file, __u8 command, + __u8 length, __u8 *values) +{ + union i2c_smbus_data data; + int i; + if (length > 32) + length = 32; + for (i = 1; i <= length; i++) + data.block[i] = values[i-1]; + data.block[0] = length; + if (i2c_smbus_access(file,I2C_SMBUS_WRITE,command, + I2C_SMBUS_BLOCK_PROC_CALL,&data)) + return -1; + else { + for (i = 1; i <= data.block[0]; i++) + values[i-1] = data.block[i]; + return data.block[0]; + } +} + + +#endif /* LIB_I2CDEV_H */ diff --git a/recipes-bsp/sob-odu/files/usb2514.c b/recipes-bsp/sob-odu/files/usb2514.c new file mode 100644 index 0000000000..acc75408dc --- /dev/null +++ b/recipes-bsp/sob-odu/files/usb2514.c @@ -0,0 +1,180 @@ +/* usb2514 - small utility to set configuration of USB2514 hub chip + * (C) 2013-2014 by sysmocom - s.f.m.c. GmbH, Author: Harald Welte + * All Rights Reserved + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#include +#include +#include +#include +#include +#include + +#include +#include + +/* #include */ +#include "i2c-dev.h" + + +#define USB2514_SLAVE_ADDR 0x2C + +/* Default configuration as per data sheet */ +static const uint8_t usb2514_default[256] = { + 0x24, 0x04, 0x14, 0x25, 0xB3, 0x0B, 0x9B, 0x20, /* 0x00 */ + 0x02, 0x00, 0x00, 0x00, 0x01, 0x32, 0x01, 0x32, /* 0x08 */ + 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x20 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x28 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x30 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x38 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x40 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x48 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x50 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x58 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x60 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x68 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x70 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x78 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x80 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x88 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x90 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x98 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa0 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa8 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb0 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb8 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc0 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc8 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd0 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd8 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xe0 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xe8 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xf0 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, /* 0xf8 */ +}; + +/* Default configuration as per data sheet */ +static const uint8_t usb2514_odu[256] = { + 0x24, 0x04, 0x14, 0x25, 0xB3, 0x0B, 0x9B, 0x20, /* 0x00 */ + 0x02, 0x00, 0x00, 0x00, 0x01, 0x32, 0x01, 0x32, /* 0x08 */ + 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x20 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x28 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x30 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x38 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x40 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x48 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x50 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x58 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x60 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x68 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x70 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x78 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x80 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x88 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x90 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x98 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa0 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa8 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb0 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb8 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc0 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc8 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd0 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd8 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xe0 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xe8 */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xf0 */ +#if 1 /* swap modem + AIS ports (1,2,3) */ + 0x00, 0x00, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x01, /* 0xf8 */ +#else + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, /* 0xf8 */ +#endif +}; + + +static int g_fd; + +static unsigned long get_support(void) +{ + int rc; + unsigned long funcs; + + rc = ioctl(g_fd, I2C_FUNCS, funcs); + + printf("supported functions: 0x%lx\n", funcs); + + return funcs; +} + + +static int write_regs(const uint8_t *regs) +{ + unsigned int i; + int rc; + + for (i = 0; i < 256; i+= 32) { + printf("Writing block of %u bytes at index %u\n", 32, i); + rc = i2c_smbus_write_block_data(g_fd, i, 32, regs+i); + if (rc < 0) + fprintf(stderr, "Error writing registers at " + "offset %u: %d\n", i, rc); + } + return rc; +} + +int main(int argc, char **argv) +{ + int rc; + int adapter_nr; + long slave_addr = USB2514_SLAVE_ADDR; + char filename[PATH_MAX]; + + if (argc < 2) { + fprintf(stderr, "You have to specify I2C bus number\n"); + exit(2); + } + + adapter_nr = atoi(argv[1]); + snprintf(filename, sizeof(filename)-1, "/dev/i2c-%d", adapter_nr); + rc = open(filename, O_RDWR); + if (rc < 0) { + fprintf(stderr, "Error opening the device: %d\n", rc); + exit(1); + } + + g_fd = rc; + + get_support(); + + rc = ioctl(g_fd, I2C_SLAVE, slave_addr); + if (rc < 0) { + fprintf(stderr, "Error setting slave addr: %d\n", rc); + exit(1); + } + + rc = write_regs(usb2514_odu); + if (rc < 0) { + fprintf(stderr, "Error writing default regs: %d\n", rc); + exit(1); + } + + exit(0); +} diff --git a/recipes-bsp/sob-odu/files/usb2514.service b/recipes-bsp/sob-odu/files/usb2514.service new file mode 100644 index 0000000000..d16e102d71 --- /dev/null +++ b/recipes-bsp/sob-odu/files/usb2514.service @@ -0,0 +1,9 @@ +[Unit] +Description=Power-on and configurate usb-hub and devices + +[Service] +Type=oneshot +ExecStart=/usr/bin/gpio_usb2514 ; /usr/bin/usb2514 1 + +[Install] +WantedBy=multi-user.target diff --git a/recipes-bsp/sob-odu/usb2514_1.bb b/recipes-bsp/sob-odu/usb2514_1.bb new file mode 100644 index 0000000000..048c676b2e --- /dev/null +++ b/recipes-bsp/sob-odu/usb2514_1.bb @@ -0,0 +1,29 @@ +SUMMARY = "small utility to set configuration of USB2514 hub chip on the sysmo-odu" +HOMEPAGE = "" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://${WORKDIR}/usb2514.c;beginline=1;endline=18;md5=3b8421a1c05d21add65cc20fccfa29cd" +DEPENDS += "lmsensors-apps" + +SRC_URI = "file://usb2514.c \ + file://gpio_usb2514 \ + file://i2c-dev.h \ + file://usb2514.service \ + " + +SRC_URI[md5sum] = "" +SRC_URI[sha256sum] = "" + +do_compile() { + ${CC} -o ${WORKDIR}/usb2514 ${WORKDIR}/usb2514.c +} + +do_install() { + install -d ${D}${bindir}/ + install -m 0755 ${WORKDIR}/usb2514 ${D}${bindir}/ + install -m 0755 ${WORKDIR}/gpio_usb2514 ${D}${bindir}/ + install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/ + install -m 0644 /${WORKDIR}/usb2514.service ${D}${systemd_unitdir}/system/ + ln -sf ../usb2514.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ +} + +FILES_${PN} += "${systemd_unitdir}" From 1a819714c8a196094684b65b11976302bb394d72 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 27 Jun 2014 17:55:04 +0200 Subject: [PATCH 316/908] linux-sysmocom: odu kernel needs CONFIG_USB_ACM Related: SYS#294 --- recipes-bsp/linux/files/sysmocom-odu/defconfig | 1 + recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/linux/files/sysmocom-odu/defconfig b/recipes-bsp/linux/files/sysmocom-odu/defconfig index 74fef38b53..cf2fc15d6b 100644 --- a/recipes-bsp/linux/files/sysmocom-odu/defconfig +++ b/recipes-bsp/linux/files/sysmocom-odu/defconfig @@ -317,3 +317,4 @@ CONFIG_CRC_T10DIF=y CONFIG_CRC_ITU_T=y CONFIG_CRC7=y CONFIG_LIBCRC32C=y +CONFIG_USB_ACM=y diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index 7431621f7f..a598e96c7c 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -17,7 +17,7 @@ SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" SRCREV_sysmocom-odu = "f11945e1d688bef5d2a81cc0255b19ed416cab42" LINUX_VERSION_sysmocom-odu = "3.2.0" -PR = "r32" +PR = "r33" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ From 7aa38f075548d0a69f55fe4a1b89348134a6587c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 11 Jul 2014 12:18:38 +0200 Subject: [PATCH 317/908] uboot/ubl: Build newer version for toshiba flash Build newer version for the toshiba flash. Setting A1CR in the emif has been moved to ubl and depends on the NAND chip that is being used. --- recipes-sysmobts/ubl/ubl_git.bb | 2 +- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/ubl/ubl_git.bb b/recipes-sysmobts/ubl/ubl_git.bb index ecd40c6a7e..7163d481f1 100644 --- a/recipes-sysmobts/ubl/ubl_git.bb +++ b/recipes-sysmobts/ubl/ubl_git.bb @@ -7,7 +7,7 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://ubl.c;beginline=1;endline=22;md5=806283bb3c475d9082e41f09020373ff" SRC_URI = "git://git.sysmocom.de/sysmo-bts/ubl;protocol=git;branch=master" -SRCREV = "e564034a6062e0629c0139c4a4854c4698fcd008" +SRCREV = "43383917fde3cec70d0e09c6ea77302cd32b479f" SRCREV_sysmobts-v1 = "d04f24974a5b1e24cb9414ebc2e84a91848982c4" PV = "v0.2.11+git${SRCPV}" PR = "r3" diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index b70e9ad733..e20956d186 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -1,5 +1,5 @@ SRC_URI = "git://git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=git" -SRCREV = "a031c0833b322258f5d7fe77efc965b9d4eead42" +SRCREV = "910946bf6a6d89e532cd509ebe9e0dbd80950daf" SRCREV_sysmobts-v1 = "40d74c99ac9d741857d1298617b186b1d4e148de" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" From f18a674af3b2c597696b9fb237fbe2035c0411ce Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 11 Jul 2014 18:53:23 +0200 Subject: [PATCH 318/908] barebox: Build a version of barebox for the ODU Build a version of barebox that has support for NAND flash and ubifs. Load the kernel from the device. One needs to flash the *mlo*.img into the xloader partitions and the other image into the barebox partition. erase /dev/nand0.xload.bb erase /dev/nand0.xload_backup1.bb erase /dev/nand0.xload_backup2.bb erase /dev/nand0.xload_backup3.bb cp /mnt/mmc0.0/MLO /dev/nand0.xload.bb cp /mnt/mmc0.0/MLO /dev/nand0.xload_backup1.bb cp /mnt/mmc0.0/MLO /dev/nand0.xload_backup2.bb cp /mnt/mmc0.0/MLO /dev/nand0.xload_backup3.bb --- .../barebox/barebox-sysmocom-mlo_201407.bb | 27 +++++++++++ .../barebox/barebox-sysmocom_201407.bb | 25 ++++++++++ recipes-sysmobts/barebox/barebox.inc | 46 +++++++++++++++++++ 3 files changed, 98 insertions(+) create mode 100644 recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb create mode 100644 recipes-sysmobts/barebox/barebox-sysmocom_201407.bb create mode 100644 recipes-sysmobts/barebox/barebox.inc diff --git a/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb b/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb new file mode 100644 index 0000000000..17213c6059 --- /dev/null +++ b/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb @@ -0,0 +1,27 @@ +SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master" +SRCREV = "21ddb3c528cb1bc3202ad358eb44faaa40e5a899" + +COMPATIBLE_MACHINE="sysmocom-odu" +S = "${WORKDIR}/git" + +BAREBOX_BINARY_OE ?= "barebox-mlo-${MACHINE}-${PV}-${PR}.bin" +BAREBOX_BINARY_SYMLINK ?= "barebox-mlo-${MACHINE}.bin" +BAREBOX_IMAGE ?= "images/barebox-am33xx-phytec-phycore-mlo.img" +BAREBOX_IMAGE_OE ?= "barebox-mlo-${MACHINE}-${PV}-${PR}.img" +BAREBOX_IMAGE_SYMLINK ?= "barebox-mlo-${MACHINE}.img" + +require barebox.inc + +do_pre_configure() { + cp ${S}/arch/arm/configs/am335x_mlo_defconfig_odu ${S}/.config + oe_runmake oldconfig +} + +do_deploy_append() { + install ${S}/${BAREBOX_IMAGE} ${DEPLOY_DIR_IMAGE}/${BAREBOX_IMAGE_OE} + + cd ${DEPLOY_DIR_IMAGE} + rm -f ${BAREBOX_IMAGE_SYMLINK} + ln -sf ${BAREBOX_IMAGE_OE} ${BAREBOX_IMAGE_SYMLINK} +} + diff --git a/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb b/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb new file mode 100644 index 0000000000..f1bf810fe1 --- /dev/null +++ b/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb @@ -0,0 +1,25 @@ +SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master" +SRCREV = "21ddb3c528cb1bc3202ad358eb44faaa40e5a899" + +DEPENDS = "${PN}-mlo" +COMPATIBLE_MACHINE="sysmocom-odu" +S = "${WORKDIR}/git" + +BAREBOX_IMAGE ?= "images/barebox-am33xx-phytec-phycore.img" +BAREBOX_IMAGE_OE ?= "barebox-${MACHINE}-${PV}-${PR}.img" +BAREBOX_IMAGE_SYMLINK ?= "barebox-${MACHINE}.img" + +require barebox.inc + +do_pre_configure() { + cp ${S}/arch/arm/configs/am335x_defconfig_odu ${S}/.config + oe_runmake oldconfig +} + +do_deploy_append() { + install ${S}/${BAREBOX_IMAGE} ${DEPLOY_DIR_IMAGE}/${BAREBOX_IMAGE_OE} + + cd ${DEPLOY_DIR_IMAGE} + rm -f ${BAREBOX_IMAGE_SYMLINK} + ln -sf ${BAREBOX_IMAGE_OE} ${BAREBOX_IMAGE_SYMLINK} +} diff --git a/recipes-sysmobts/barebox/barebox.inc b/recipes-sysmobts/barebox/barebox.inc new file mode 100644 index 0000000000..668e158b91 --- /dev/null +++ b/recipes-sysmobts/barebox/barebox.inc @@ -0,0 +1,46 @@ +DESCRIPTION = "Barebox - a bootloader that inherits the best of U-Boot and the Linux kernel" +HOMEPAGE = "http://www.barebox.org/" +SECTION = "bootloader" +PROVIDES = "virtual/bootloader" +PRIORITY = "optional" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=057bf9e50e1ca857d0eb97bfe4ba8e5d" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit kernel-arch + +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" + +BAREBOX_BINARY ?= "barebox.bin" +BAREBOX_BINARY_OE ?= "barebox-${MACHINE}-${PV}-${PR}.bin" +BAREBOX_BINARY_SYMLINK ?= "barebox-${MACHINE}.bin" + +INSANE_SKIP_${PN} = "True" + +addtask pre_configure before do_configure after do_patch + +do_compile () { + unset LDFLAGS + unset CFLAGS + unset CPPFLAGS + oe_runmake all +} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install ${S}/${BAREBOX_BINARY} ${DEPLOY_DIR_IMAGE}/${BAREBOX_BINARY_OE} + + cd ${DEPLOY_DIR_IMAGE} + rm -f ${BAREBOX_BINARY_SYMLINK} + ln -sf ${BAREBOX_BINARY_OE} ${BAREBOX_BINARY_SYMLINK} + + install -d ${STAGING_BINDIR_NATIVE} + cd ${S} + install -m 755 scripts/mkimage ${STAGING_BINDIR_NATIVE}/ + install -m 755 scripts/bareboxenv ${STAGING_BINDIR_NATIVE}/ +} + +do_deploy[dirs] = "${S}" +addtask deploy before do_build after do_compile + From da3cf64f1efd0041e4026a122c257af9285cba22 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 11 Jul 2014 18:59:24 +0200 Subject: [PATCH 319/908] u-boot: Remove the never working ODU support from u-boot The u-boot port was never tried on a device and was only added to get the image building. Remove now that we have barebox support --- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index e20956d186..c720fd4265 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -4,24 +4,14 @@ SRCREV_sysmobts-v1 = "40d74c99ac9d741857d1298617b186b1d4e148de" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" -# We can't build the normal build for sysmocom-odu yet.. build the TI branch -SRCREV_sysmocom-odu = "f2dcae2f9e9434392673fea7584641afa98f4232" -UBOOT_MACHINE_sysmocom-odu = "am335x_evm_config" -SPL_BINARY_sysmocom-odu = "MLO" -SPL_UART_IMAGE_sysmocom-odu = "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}" -SPL_UART_BINARY_sysmocom-odu = "u-boot-spl.bin" -SPL_UART_SYMLINK_sysmocom-odu = "${SPL_UART_BINARY}-${MACHINE}" - - PRINC = "13" LIC_FILES_CHKSUM = "file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" -LIC_FILES_CHKSUM_sysmocom-odu = "file://README;beginline=1;endline=22;md5=2687c5ebfd9cb284491c3204b726ea29" UBOOT_MACHINE_sysmobts-v1 = "davinci_sysmobts_v1_config" UBOOT_MACHINE_sysmobts-v2 = "davinci_sysmobts_v2_config" UBOOT_MACHINE_sysmobts-2050 = "davinci_sysmobts_v2_config" -COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050|sysmocom-odu)" +COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050)" UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}" UBOOT_SYMLINK = "u-boot-${MACHINE}" From 2371fca7c76a46b07d4f02e981c442b40438fdfc Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 11 Jul 2014 19:01:36 +0200 Subject: [PATCH 320/908] sysmocom-odu: We want to have barebox as bootloader We are using barebox for the sysmocom-odu as the SoM supplier was already using it. --- conf/machine/sysmocom-odu.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/machine/sysmocom-odu.conf b/conf/machine/sysmocom-odu.conf index 5b7238469a..02bf39cbea 100644 --- a/conf/machine/sysmocom-odu.conf +++ b/conf/machine/sysmocom-odu.conf @@ -32,3 +32,5 @@ UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" # Go back to prefer our kernel PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" KERNEL_IMAGETYPE = "uImage" + +PREFERRED_PROVIDER_virtual/bootloader = "barebox-sysmocom" From ff8967feea220c1a88be602773b6c08bd689f567 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 11 Jul 2014 19:37:33 +0200 Subject: [PATCH 321/908] sysmocom-odu: Do not mention u-boot at all --- conf/machine/include/ti33x.inc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc index f29c8b3b72..b55d4bb05d 100644 --- a/conf/machine/include/ti33x.inc +++ b/conf/machine/include/ti33x.inc @@ -18,11 +18,6 @@ GUI_MACHINE_CLASS = "bigscreen" # Increase this everytime you change something in the kernel MACHINE_KERNEL_PR = "r21" -# Default providers, may need to override for specific machines -PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging" -PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" -PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" - KERNEL_IMAGETYPE = "zImage" UBOOT_ARCH = "arm" @@ -35,8 +30,6 @@ UBOOT_LOADADDRESS = "0x80008000" # and u-boot. UBI_VOLNAME = "rootfs" -EXTRA_IMAGEDEPENDS += "u-boot" - # List common SoC features, may need to add touchscreen for specific machines MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx" From 8f1cfa46fe431406b19ba92859f87da847eee74e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 11 Jul 2014 19:45:00 +0200 Subject: [PATCH 322/908] sysmocom-odu: Force a kernel into the image We want to have a /boot/uImage file in the rootfs to be used by the bootloader. This way we can easily upgrade the kernel. --- conf/machine/sysmocom-odu.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/machine/sysmocom-odu.conf b/conf/machine/sysmocom-odu.conf index 02bf39cbea..08a530e534 100644 --- a/conf/machine/sysmocom-odu.conf +++ b/conf/machine/sysmocom-odu.conf @@ -34,3 +34,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" KERNEL_IMAGETYPE = "uImage" PREFERRED_PROVIDER_virtual/bootloader = "barebox-sysmocom" + +MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ + kernel \ +" From ce25d19cdcb51113e79464ba9d2eb22de641e82b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 12 Jul 2014 08:39:45 +0200 Subject: [PATCH 323/908] sysmocom-odu: Force the build of barebox-sysmocom (and then the MLO) --- conf/machine/sysmocom-odu.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/machine/sysmocom-odu.conf b/conf/machine/sysmocom-odu.conf index 08a530e534..d14a7bec34 100644 --- a/conf/machine/sysmocom-odu.conf +++ b/conf/machine/sysmocom-odu.conf @@ -34,6 +34,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" KERNEL_IMAGETYPE = "uImage" PREFERRED_PROVIDER_virtual/bootloader = "barebox-sysmocom" +EXTRA_IMAGEDEPENDS += "barebox-sysmocom" MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ kernel \ From 9fcc062f5515495f625d5956a22df1970af81930 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 Jul 2014 09:32:10 +0200 Subject: [PATCH 324/908] barebox-sysmocom: Have only one provide virtual/bootloader and require lzop --- recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb | 1 + recipes-sysmobts/barebox/barebox.inc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb b/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb index 17213c6059..a96ae01849 100644 --- a/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb +++ b/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb @@ -1,3 +1,4 @@ +PROVIDES = "" SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master" SRCREV = "21ddb3c528cb1bc3202ad358eb44faaa40e5a899" diff --git a/recipes-sysmobts/barebox/barebox.inc b/recipes-sysmobts/barebox/barebox.inc index 668e158b91..417bc730d1 100644 --- a/recipes-sysmobts/barebox/barebox.inc +++ b/recipes-sysmobts/barebox/barebox.inc @@ -1,9 +1,10 @@ DESCRIPTION = "Barebox - a bootloader that inherits the best of U-Boot and the Linux kernel" HOMEPAGE = "http://www.barebox.org/" SECTION = "bootloader" -PROVIDES = "virtual/bootloader" +PROVIDES ?= "virtual/bootloader" PRIORITY = "optional" LICENSE = "GPLv2" +DEPENDS += "lzop-native" LIC_FILES_CHKSUM = "file://COPYING;md5=057bf9e50e1ca857d0eb97bfe4ba8e5d" PACKAGE_ARCH = "${MACHINE_ARCH}" From a4b2ba6a02755a51229132f2977547b15d9b9c98 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 Jul 2014 11:28:41 +0200 Subject: [PATCH 325/908] barebox: Upgrade to a version that could fix ethernet.. --- recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb | 4 +++- recipes-sysmobts/barebox/barebox-sysmocom_201407.bb | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb b/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb index a96ae01849..1fd0254390 100644 --- a/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb +++ b/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb @@ -1,6 +1,7 @@ PROVIDES = "" SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master" -SRCREV = "21ddb3c528cb1bc3202ad358eb44faaa40e5a899" +SRCREV = "79a975077c3844c957f009224a76b5e493cfcb07" +PR = "r1" COMPATIBLE_MACHINE="sysmocom-odu" S = "${WORKDIR}/git" @@ -13,6 +14,7 @@ BAREBOX_IMAGE_SYMLINK ?= "barebox-mlo-${MACHINE}.img" require barebox.inc + do_pre_configure() { cp ${S}/arch/arm/configs/am335x_mlo_defconfig_odu ${S}/.config oe_runmake oldconfig diff --git a/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb b/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb index f1bf810fe1..2e5b77a1c5 100644 --- a/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb +++ b/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb @@ -1,5 +1,6 @@ SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master" -SRCREV = "21ddb3c528cb1bc3202ad358eb44faaa40e5a899" +SRCREV = "79a975077c3844c957f009224a76b5e493cfcb07" +PR = "r1" DEPENDS = "${PN}-mlo" COMPATIBLE_MACHINE="sysmocom-odu" From 71a8ad1c4eaa82e09aeee9ce3cee421b367241be Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 Jul 2014 14:14:19 +0200 Subject: [PATCH 326/908] netbase: Provide a custom interfaces for the odu --- .../netbase/netbase/sysmocom-odu/interfaces | 16 ++++++++++++++++ recipes-bsp/netbase/netbase_sysmocom.inc | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 recipes-bsp/netbase/netbase/sysmocom-odu/interfaces diff --git a/recipes-bsp/netbase/netbase/sysmocom-odu/interfaces b/recipes-bsp/netbase/netbase/sysmocom-odu/interfaces new file mode 100644 index 0000000000..bfb53c8513 --- /dev/null +++ b/recipes-bsp/netbase/netbase/sysmocom-odu/interfaces @@ -0,0 +1,16 @@ +# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) + +auto lo eth0 + +# The loopback interface +iface lo inet loopback + +# eth0 +iface eth0 inet dhcp + +# eth1 +iface eth1 inet static + address 192.168.4.11 + netmask 255.255.255.0 + + diff --git a/recipes-bsp/netbase/netbase_sysmocom.inc b/recipes-bsp/netbase/netbase_sysmocom.inc index 77a15d3ff2..bd2aa4bb68 100644 --- a/recipes-bsp/netbase/netbase_sysmocom.inc +++ b/recipes-bsp/netbase/netbase_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}:" -PRINC = "17" +PRINC = "18" # bug in poky meta/classes/base.bbclass From 907987c41aa272e16c0e963dce3c9293c32b3338 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 Jul 2014 14:28:35 +0200 Subject: [PATCH 327/908] init-ifupdown_sysmocom: Bump the right file for changes to interfaces --- recipes-bsp/netbase/init-ifupdown_sysmocom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/netbase/init-ifupdown_sysmocom.inc b/recipes-bsp/netbase/init-ifupdown_sysmocom.inc index 060fb469f2..aad59f8cf1 100644 --- a/recipes-bsp/netbase/init-ifupdown_sysmocom.inc +++ b/recipes-bsp/netbase/init-ifupdown_sysmocom.inc @@ -1,6 +1,6 @@ # TODO: When dropping netbase for edison we can rename it SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/netbase-${PV}:${SYSMOCOM}/netbase:" -PRINC = "1" +PRINC = "2" From 5b521afd5d7528879d4650961642ee776ab8204c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 Jul 2014 14:48:58 +0200 Subject: [PATCH 328/908] init-ifupdown: Make the script runnable in rc2.d as well systemd doesn't look in /etc/rcS.d for init scripts so we never start networking unless we are using ifplugd. We need to check how this behves on the sysmobts and sysmobsc in case the network is being started twice. --- recipes-bsp/netbase/init-ifupdown_sysmocom.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/netbase/init-ifupdown_sysmocom.inc b/recipes-bsp/netbase/init-ifupdown_sysmocom.inc index aad59f8cf1..257be4c31a 100644 --- a/recipes-bsp/netbase/init-ifupdown_sysmocom.inc +++ b/recipes-bsp/netbase/init-ifupdown_sysmocom.inc @@ -1,6 +1,8 @@ # TODO: When dropping netbase for edison we can rename it SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/netbase-${PV}:${SYSMOCOM}/netbase:" -PRINC = "2" - +PRINC = "3" +# systemd does not look at /etc/rcS.d for the script. Make sure +# there is a symlink available +INITSCRIPT_PARAMS = "start 40 S 2 . stop 40 0 6 1 ." From c5c1d3a313f3f62da6bebb19a305afbec050dedb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 Jul 2014 14:50:43 +0200 Subject: [PATCH 329/908] init-ifupdown: Bring up eth1 as well as it is done in the existing image In the existing image we bring up eth1 do it here too --- recipes-bsp/netbase/init-ifupdown_sysmocom.inc | 2 +- recipes-bsp/netbase/netbase/sysmocom-odu/interfaces | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/netbase/init-ifupdown_sysmocom.inc b/recipes-bsp/netbase/init-ifupdown_sysmocom.inc index 257be4c31a..35ead569d2 100644 --- a/recipes-bsp/netbase/init-ifupdown_sysmocom.inc +++ b/recipes-bsp/netbase/init-ifupdown_sysmocom.inc @@ -1,7 +1,7 @@ # TODO: When dropping netbase for edison we can rename it SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/netbase-${PV}:${SYSMOCOM}/netbase:" -PRINC = "3" +PRINC = "4" # systemd does not look at /etc/rcS.d for the script. Make sure # there is a symlink available diff --git a/recipes-bsp/netbase/netbase/sysmocom-odu/interfaces b/recipes-bsp/netbase/netbase/sysmocom-odu/interfaces index bfb53c8513..d37e3ff897 100644 --- a/recipes-bsp/netbase/netbase/sysmocom-odu/interfaces +++ b/recipes-bsp/netbase/netbase/sysmocom-odu/interfaces @@ -1,6 +1,6 @@ # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) -auto lo eth0 +auto lo eth0 eth1 # The loopback interface iface lo inet loopback From fd9e8b9cc4eb1362605eb3c5edcc9740125b8d46 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 Jul 2014 16:06:52 +0200 Subject: [PATCH 330/908] systemd-compat-units: We require networking to run udhcpc for us On the ODU and probably on the BSC as well we require to have ifupdown configure the network interfaces. This is not done using systemd yet. --- recipes-fixes/systemd/systemd-compat-units_sysmocom.inc | 5 +++++ yocto-dora/systemd-compat-units.bbappend | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 recipes-fixes/systemd/systemd-compat-units_sysmocom.inc create mode 100644 yocto-dora/systemd-compat-units.bbappend diff --git a/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc b/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc new file mode 100644 index 0000000000..b656e1e0ef --- /dev/null +++ b/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc @@ -0,0 +1,5 @@ +PRINC="1" + +# We need networking to run as we have no native services yet +SYSTEMD_DISABLED_SYSV_SERVICES_remove = "networking" + diff --git a/yocto-dora/systemd-compat-units.bbappend b/yocto-dora/systemd-compat-units.bbappend new file mode 100644 index 0000000000..d76e8d1973 --- /dev/null +++ b/yocto-dora/systemd-compat-units.bbappend @@ -0,0 +1,2 @@ +require recipes-fixes/systemd/${PN}_sysmocom.inc + From 26d74189eb2023ce14af8dd41b36cd388ab8bebb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 15 Jul 2014 08:28:42 +0200 Subject: [PATCH 331/908] gpsd: Do not mess with the argv of the process Henning got really confused that the "a.b.c:1234" he passed to gps2udp showed up as "a.b.c 1234" in the kernel cmdline. Use strdup to take a copy of it. Fixes: SYS#424 --- .../gpsd/gpsd-3.10/leave-argv-untouched.patch | 31 +++++++++++++++++++ recipes-extra/gpsd/gpsd_3.10.bb | 3 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 recipes-extra/gpsd/gpsd-3.10/leave-argv-untouched.patch diff --git a/recipes-extra/gpsd/gpsd-3.10/leave-argv-untouched.patch b/recipes-extra/gpsd/gpsd-3.10/leave-argv-untouched.patch new file mode 100644 index 0000000000..361bc0cd6b --- /dev/null +++ b/recipes-extra/gpsd/gpsd-3.10/leave-argv-untouched.patch @@ -0,0 +1,31 @@ +Index: gpsd-3.10/gps2udp.c +=================================================================== +--- gpsd-3.10.orig/gps2udp.c ++++ gpsd-3.10/gps2udp.c +@@ -353,6 +353,7 @@ int main(int argc, char **argv) + bool daemonize = false; + long count = -1; + int option; ++ int i; + char *udphostport[MAX_UDP_DEST]; + + flags = WATCH_ENABLE; +@@ -387,7 +388,7 @@ int main(int argc, char **argv) + "gps2udp: too many UDP destinations (max=%d)\n", + MAX_UDP_DEST); + } else { +- udphostport[udpchannel++] = optarg; ++ udphostport[udpchannel++] = strdup(optarg); + } + break; + case 'v': +@@ -490,6 +491,9 @@ int main(int argc, char **argv) + } // end count + } // end len > 3 + } // end for (;;) ++ ++ for (i = 0; i < udpchannel; ++i) ++ free(udphostport[i]); + + // This is an infinite loop, should never be here + /*@-unreachable@*/ diff --git a/recipes-extra/gpsd/gpsd_3.10.bb b/recipes-extra/gpsd/gpsd_3.10.bb index a3856dc1ff..49b85e25d6 100644 --- a/recipes-extra/gpsd/gpsd_3.10.bb +++ b/recipes-extra/gpsd/gpsd_3.10.bb @@ -6,13 +6,14 @@ DEPENDS = "ncurses python" #DEPENDS = "ncurses libusb1 python" PROVIDES = "virtual/gpsd" -PR = "r3.11" +PR = "r3.12" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ file://0001-SConstruct-disable-html-and-man-docs-building-becaus.patch \ file://no-rpath-please.patch \ file://gpsd-tsip-pps.patch \ + file://leave-argv-untouched.patch \ file://gpsd-default \ file://gpsd \ file://60-gpsd.rules \ From e89bd0a3a1bd5e3024c4b3fd04073888d4a9bf0e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 15 Jul 2014 19:02:52 +0200 Subject: [PATCH 332/908] barebox: Build newer versions for 256mb RAM and flash >= 128 MB We need to build a variant of barebox that deals with only having 256mb of ram and maybe only 128mb of nand flash. --- recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb | 2 +- recipes-sysmobts/barebox/barebox-sysmocom_201407.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb b/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb index 1fd0254390..471f51da1c 100644 --- a/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb +++ b/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb @@ -1,6 +1,6 @@ PROVIDES = "" SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master" -SRCREV = "79a975077c3844c957f009224a76b5e493cfcb07" +SRCREV = "de2b004a2511c4aaeed64d0a9f5bf14d184d1560" PR = "r1" COMPATIBLE_MACHINE="sysmocom-odu" diff --git a/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb b/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb index 2e5b77a1c5..066715250f 100644 --- a/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb +++ b/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb @@ -1,5 +1,5 @@ SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master" -SRCREV = "79a975077c3844c957f009224a76b5e493cfcb07" +SRCREV = "de2b004a2511c4aaeed64d0a9f5bf14d184d1560" PR = "r1" DEPENDS = "${PN}-mlo" From 7de1fc45c1f98184a956080c83c43208ea865486 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 15 Jul 2014 19:13:43 +0200 Subject: [PATCH 333/908] barebox: Bump the PR after our change --- recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb | 2 +- recipes-sysmobts/barebox/barebox-sysmocom_201407.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb b/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb index 471f51da1c..12f8a56577 100644 --- a/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb +++ b/recipes-sysmobts/barebox/barebox-sysmocom-mlo_201407.bb @@ -1,7 +1,7 @@ PROVIDES = "" SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master" SRCREV = "de2b004a2511c4aaeed64d0a9f5bf14d184d1560" -PR = "r1" +PR = "r2" COMPATIBLE_MACHINE="sysmocom-odu" S = "${WORKDIR}/git" diff --git a/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb b/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb index 066715250f..0a50f4419c 100644 --- a/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb +++ b/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb @@ -1,6 +1,6 @@ SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master" SRCREV = "de2b004a2511c4aaeed64d0a9f5bf14d184d1560" -PR = "r1" +PR = "r2" DEPENDS = "${PN}-mlo" COMPATIBLE_MACHINE="sysmocom-odu" From b405fd4d9ae354a5ae42fb9cf77506dd60c4f5ba Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 15 Jul 2014 19:21:50 +0200 Subject: [PATCH 334/908] config: update for dora 1.5.3 * update the anonymous python functions for sysmocom-linux and layer.conf --- conf/layer.conf | 2 +- conf/machine/include/sysmobts.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/layer.conf b/conf/layer.conf index ad969b02d4..4ac4a1bf61 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -9,7 +9,7 @@ BBFILES += "${LAYERDIR}/yocto-shared/*.bbappend" BBFILES += "${BBFILES_SYSMOCOM_BSP}" # selects specific distro or master when DISTRO_VERSION contains SNAPSHOT -BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5','dora'), ('1.5.1', 'dora'), ('1.5.2', 'dora'), ('1.1.2','edison')])[d.getVar('DISTRO_VERSION', True)], 'master']['SNAPSHOT' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" +BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5','dora'), ('1.5.1', 'dora'), ('1.5.2', 'dora'), ('1.5.3', 'dora'), ('1.1.2','edison')])[d.getVar('DISTRO_VERSION', True)], 'master']['SNAPSHOT' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" BBFILE_COLLECTIONS += "sysmocom-bsp" BBFILE_PATTERN_sysmocom-bsp := "^${LAYERDIR}/" diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index 43f603a44f..94f3634458 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -1,7 +1,7 @@ TARGET_ARCH = "arm" PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" -PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.40+git%'), ('1.5.1','3.10.40+git%'), ('1.5.2','3.10.40+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" +PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.40+git%'), ('1.5.1','3.10.40+git%'), ('1.5.2','3.10.40+git%'), ('1.5.3','3.10.40+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" PREFERRED_VERSION_u-boot = "git" From 4bfaa3f7df658c63293f25451d56784e55c235d6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 16 Jul 2014 20:20:54 +0200 Subject: [PATCH 335/908] systemd: Enable the "ShutdownWatchDogSec" and add sysmocom-odu file The TI Davinci DM644x and the TI Sierra AM335x both feature a watchdog. Enable it on the AM335x as well. The next part is that we can enable the watchdog for the shutdown. E.g. in case the system does not reboot after the shutdown. The shutdown is executed last and only after the shutdown target has been reached. For time timeout we need to use the same interval as the watchdog (as both drivers don't allow to change the timeout interval). --- .../systemd/systemd/sysmobts-2050/system.conf | 2 +- .../systemd/systemd/sysmobts-v1/system.conf | 2 +- .../systemd/systemd/sysmobts-v2/system.conf | 2 +- .../systemd/systemd/sysmocom-odu/system.conf | 43 +++++++++++++++++++ recipes-fixes/systemd/systemd_sysmocom.inc | 2 +- 5 files changed, 47 insertions(+), 4 deletions(-) create mode 100644 recipes-fixes/systemd/systemd/sysmocom-odu/system.conf diff --git a/recipes-fixes/systemd/systemd/sysmobts-2050/system.conf b/recipes-fixes/systemd/systemd/sysmobts-2050/system.conf index bfdf744c70..193250995d 100644 --- a/recipes-fixes/systemd/systemd/sysmobts-2050/system.conf +++ b/recipes-fixes/systemd/systemd/sysmobts-2050/system.conf @@ -22,7 +22,7 @@ DefaultStandardOutput=syslog DefaultStandardError=syslog #JoinControllers=cpu,cpuacct,cpuset net_cls,net_prio RuntimeWatchdogSec=45 -#ShutdownWatchdogSec=10min +ShutdownWatchdogSec=45 #CapabilityBoundingSet= #TimerSlackNSec= #DefaultLimitCPU= diff --git a/recipes-fixes/systemd/systemd/sysmobts-v1/system.conf b/recipes-fixes/systemd/systemd/sysmobts-v1/system.conf index 04b57dc948..7c3181ff29 100644 --- a/recipes-fixes/systemd/systemd/sysmobts-v1/system.conf +++ b/recipes-fixes/systemd/systemd/sysmobts-v1/system.conf @@ -22,7 +22,7 @@ #DefaultStandardError=inherit #JoinControllers=cpu,cpuacct,cpuset net_cls,net_prio RuntimeWatchdogSec=45 -#ShutdownWatchdogSec=10min +ShutdownWatchdogSec=45 #CapabilityBoundingSet= #TimerSlackNSec= #DefaultLimitCPU= diff --git a/recipes-fixes/systemd/systemd/sysmobts-v2/system.conf b/recipes-fixes/systemd/systemd/sysmobts-v2/system.conf index 04b57dc948..7c3181ff29 100644 --- a/recipes-fixes/systemd/systemd/sysmobts-v2/system.conf +++ b/recipes-fixes/systemd/systemd/sysmobts-v2/system.conf @@ -22,7 +22,7 @@ #DefaultStandardError=inherit #JoinControllers=cpu,cpuacct,cpuset net_cls,net_prio RuntimeWatchdogSec=45 -#ShutdownWatchdogSec=10min +ShutdownWatchdogSec=45 #CapabilityBoundingSet= #TimerSlackNSec= #DefaultLimitCPU= diff --git a/recipes-fixes/systemd/systemd/sysmocom-odu/system.conf b/recipes-fixes/systemd/systemd/sysmocom-odu/system.conf new file mode 100644 index 0000000000..ff9ecb874e --- /dev/null +++ b/recipes-fixes/systemd/systemd/sysmocom-odu/system.conf @@ -0,0 +1,43 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# See systemd.conf(5) for details + +[Manager] +#LogLevel=info +#LogTarget=journal-or-kmsg +#LogColor=yes +#LogLocation=no +#DumpCore=yes +#CrashShell=no +#ShowStatus=yes +#CrashChVT=1 +#CPUAffinity=1 2 +#DefaultControllers=cpu +#DefaultStandardOutput=journal +#DefaultStandardError=inherit +#JoinControllers=cpu,cpuacct,cpuset net_cls,net_prio +RuntimeWatchdogSec=60 +ShutdownWatchdogSec=60 +#CapabilityBoundingSet= +#TimerSlackNSec= +#DefaultLimitCPU= +#DefaultLimitFSIZE= +#DefaultLimitDATA= +#DefaultLimitSTACK= +#DefaultLimitCORE= +#DefaultLimitRSS= +#DefaultLimitNOFILE= +#DefaultLimitAS= +#DefaultLimitNPROC= +#DefaultLimitMEMLOCK= +#DefaultLimitLOCKS= +#DefaultLimitSIGPENDING= +#DefaultLimitMSGQUEUE= +#DefaultLimitNICE= +#DefaultLimitRTPRIO= +#DefaultLimitRTTIME= diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index fb3ee5bfd2..4a7eeabcaf 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -1,7 +1,7 @@ S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" -PRINC="20" +PRINC="21" SRC_URI += "file://journald.conf \ file://0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch \ From 2c4d15307bff142611244001a2e522d9dd8c37af Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 17 Jul 2014 11:50:19 +0200 Subject: [PATCH 336/908] Add a "feed" package with software we want to make available This should be a task with all the software we want to make available to our customers. Add the software you need and bump the PR. --- recipes-apps/tasks/task-sysmocom-feed.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes-apps/tasks/task-sysmocom-feed.bb diff --git a/recipes-apps/tasks/task-sysmocom-feed.bb b/recipes-apps/tasks/task-sysmocom-feed.bb new file mode 100644 index 0000000000..b21aef1b6a --- /dev/null +++ b/recipes-apps/tasks/task-sysmocom-feed.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Package to force building everything we want to provide" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +ALLOW_EMPTY_${PN} = "1" +PR = "r7" + +RDEPENDS_${PN} = "\ + task-sysmocom-tools \ + task-sysmocom-debug \ + minicom vlan patch procps psmisc \ + ppp rsync sed usbutils " From 25b22a632e5f1c214c70338f9a5bb80684a11694 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 17 Jul 2014 21:08:13 +0200 Subject: [PATCH 337/908] ODU: reset the USB hub before talking to it over I2C --- recipes-bsp/sob-odu/files/gpio_usb2514 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-bsp/sob-odu/files/gpio_usb2514 b/recipes-bsp/sob-odu/files/gpio_usb2514 index adce2f48c8..baa245b411 100644 --- a/recipes-bsp/sob-odu/files/gpio_usb2514 +++ b/recipes-bsp/sob-odu/files/gpio_usb2514 @@ -49,3 +49,9 @@ echo 1 > ./gpio53/value echo 54 > export echo in > ./gpio54/direction +# !hub_reset +echo 62 > export +echo out > ./gpio62/direction +echo 0 > ./gpio62/value +sleep 1 +echo 1 > ./gpio62/value From 909407e02576c8c55bbb394a74e1ecbd3de807b9 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 18 Jul 2014 09:53:26 +0200 Subject: [PATCH 338/908] usb2514: Bump the PR after the recipe change --- recipes-bsp/sob-odu/usb2514_1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-bsp/sob-odu/usb2514_1.bb b/recipes-bsp/sob-odu/usb2514_1.bb index 048c676b2e..b06858beca 100644 --- a/recipes-bsp/sob-odu/usb2514_1.bb +++ b/recipes-bsp/sob-odu/usb2514_1.bb @@ -4,6 +4,8 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://${WORKDIR}/usb2514.c;beginline=1;endline=18;md5=3b8421a1c05d21add65cc20fccfa29cd" DEPENDS += "lmsensors-apps" +PR = "r1" + SRC_URI = "file://usb2514.c \ file://gpio_usb2514 \ file://i2c-dev.h \ From e7fadd8e8eddd60f6e10a9ba92f89ceb3c2d8386 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 18 Jul 2014 09:51:14 +0200 Subject: [PATCH 339/908] linux-sysmocom: Enable the tun device in the odu config --- recipes-bsp/linux/files/sysmocom-odu/defconfig | 1 + recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/linux/files/sysmocom-odu/defconfig b/recipes-bsp/linux/files/sysmocom-odu/defconfig index cf2fc15d6b..fe94ee6d0a 100644 --- a/recipes-bsp/linux/files/sysmocom-odu/defconfig +++ b/recipes-bsp/linux/files/sysmocom-odu/defconfig @@ -132,6 +132,7 @@ CONFIG_BLK_DEV_SD=y CONFIG_SCSI_MULTI_LUN=y CONFIG_SCSI_SCAN_ASYNC=y CONFIG_NETDEVICES=y +CONFIG_TUN=y # CONFIG_NET_VENDOR_BROADCOM is not set # CONFIG_NET_VENDOR_CHELSIO is not set # CONFIG_NET_VENDOR_FARADAY is not set diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index a598e96c7c..523e070a26 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -17,7 +17,7 @@ SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" SRCREV_sysmocom-odu = "f11945e1d688bef5d2a81cc0255b19ed416cab42" LINUX_VERSION_sysmocom-odu = "3.2.0" -PR = "r33" +PR = "r34" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ From 018ef1a59992947a5954db5969d8ea257a5fc467 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 18 Jul 2014 10:59:52 +0200 Subject: [PATCH 340/908] early-date: Introduce a simple hacked up script to set an initial time If the year is smaller than < 2014 an initial date will be set. This has been manually verified by copying ntpdate to ntpdate.off and making sure that the VPN is coming up. Due the short SSL lifetime of CACert we will need to update the script once in a while. But our VPN should now always come up. --- recipes-bsp/early-date/early-date_1.bb | 23 +++++++++++++++++++ recipes-bsp/early-date/files/early-date | 10 ++++++++ .../early-date/files/early-date.service | 14 +++++++++++ 3 files changed, 47 insertions(+) create mode 100644 recipes-bsp/early-date/early-date_1.bb create mode 100755 recipes-bsp/early-date/files/early-date create mode 100644 recipes-bsp/early-date/files/early-date.service diff --git a/recipes-bsp/early-date/early-date_1.bb b/recipes-bsp/early-date/early-date_1.bb new file mode 100644 index 0000000000..a1b22d8ab5 --- /dev/null +++ b/recipes-bsp/early-date/early-date_1.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Set an early date on RTC less systems" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" + +SRC_URI = "\ + file://early-date \ + file://early-date.service" + +FILES_${PN} = "${systemd_unitdir}/system /sbin" +RDPEPENDS_${PN} = "systemd" + +do_install() { + install -d ${D}/sbin + install -d ${D}${systemd_unitdir}/system/basic.target.wants + + # Copy the service file and link it + install -m 0644 ${WORKDIR}/early-date.service ${D}${systemd_unitdir}/system + ln -sf ../early-date.service ${D}${systemd_unitdir}/system/basic.target.wants/ + + # Hardcode to /sbin + # TODO: Set the date as of the build time.. + install -m 0755 ${WORKDIR}/early-date ${D}/sbin +} diff --git a/recipes-bsp/early-date/files/early-date b/recipes-bsp/early-date/files/early-date new file mode 100755 index 0000000000..15a7bbb109 --- /dev/null +++ b/recipes-bsp/early-date/files/early-date @@ -0,0 +1,10 @@ +#!/bin/sh + +# Check if the year is lower than the lowest configured and then +# set a default date +YEAR=`date +%Y` + +if [ $YEAR -lt 2014 ]; then + date -s 2014.07.18-10:00:00 + hwclock -w +fi diff --git a/recipes-bsp/early-date/files/early-date.service b/recipes-bsp/early-date/files/early-date.service new file mode 100644 index 0000000000..9e2bf8758f --- /dev/null +++ b/recipes-bsp/early-date/files/early-date.service @@ -0,0 +1,14 @@ +[Unit] +Description=Early boot time for RTC less systems +DefaultDependencies=no +After=systemd-remount-fs.service +Before=sysinit.target + +[Service] +ExecStart=/sbin/early-date +RemainAfterExit=No +Type=oneshot +StandardOutput=syslog + +[Install] +WantedBy=basic.target From c134a3bbdda9d8189d5965d2f7dfd5faf20c69b8 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Sun, 20 Jul 2014 17:54:44 +0200 Subject: [PATCH 341/908] gpsd: Enable systemd support based on DISTRO_FEATURE Enabling the "systemd" feature will enable the socket activation feature used by systemd. This way we can (re-)start the GPSD based on the socket activation. --- recipes-extra/gpsd/gpsd_3.10.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/recipes-extra/gpsd/gpsd_3.10.bb b/recipes-extra/gpsd/gpsd_3.10.bb index 49b85e25d6..9fae4ce4a2 100644 --- a/recipes-extra/gpsd/gpsd_3.10.bb +++ b/recipes-extra/gpsd/gpsd_3.10.bb @@ -6,7 +6,7 @@ DEPENDS = "ncurses python" #DEPENDS = "ncurses libusb1 python" PROVIDES = "virtual/gpsd" -PR = "r3.12" +PR = "r3.13" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ @@ -27,8 +27,6 @@ inherit scons update-rc.d INITSCRIPT_NAME = "gpsd" INITSCRIPT_PARAMS = "defaults 35" -SYSTEMD_OESCONS ??= "false" - export STAGING_INCDIR export STAGING_LIBDIR @@ -59,7 +57,7 @@ EXTRA_OESCONS = " \ trip='false' \ tripmate='false' \ usb='false' \ - systemd='${SYSTEMD_OESCONS}' \ + systemd='${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}' \ chrpath='false' \ " # python='false' \ From 35ede1bbb3377db84f545e9e976c980ae8c341f5 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 22 Jul 2014 18:35:50 +0200 Subject: [PATCH 342/908] systemd: backport the fsck.repair options * bump the PRINC to 22 Fixes: SYS#276 --- ...o-specify-the-fsck-repair-option-in-.patch | 112 ++++++++++++++++++ recipes-fixes/systemd/systemd_sysmocom.inc | 3 +- 2 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 recipes-fixes/systemd/systemd/0001-RFC-fsck-Allow-to-specify-the-fsck-repair-option-in-.patch diff --git a/recipes-fixes/systemd/systemd/0001-RFC-fsck-Allow-to-specify-the-fsck-repair-option-in-.patch b/recipes-fixes/systemd/systemd/0001-RFC-fsck-Allow-to-specify-the-fsck-repair-option-in-.patch new file mode 100644 index 0000000000..5815f6c4bb --- /dev/null +++ b/recipes-fixes/systemd/systemd/0001-RFC-fsck-Allow-to-specify-the-fsck-repair-option-in-.patch @@ -0,0 +1,112 @@ +Backport to systemd 206 from dora + +From b6cfec4ac1b3dcfc7b996af3730457bff022b6de Mon Sep 17 00:00:00 2001 +From: Holger Hans Peter Freyther +Date: Thu, 15 May 2014 18:58:39 +0200 +Subject: [PATCH] RFC/fsck: Allow to specify the fsck repair option in the + cmdline + +Some unattended systems do not have a console attached and entering +the default rescue mode will not be too helpful. Allow to specify +the "-y" option to attempt to fix all filesystem errors. + +Manually verified by downloading an image.gz of e2fsprogs, using +losetup and running systemd-fsck on the loop device and varying +the fsck.repair=preen|yes|no option. +--- + man/kernel-command-line.xml | 11 +++++++++++ + man/systemd-fsck@.service.xml | 16 ++++++++++++++++ + src/fsck/fsck.c | 14 +++++++++++++- + 3 files changed, 40 insertions(+), 1 deletion(-) + +Index: systemd-206/man/kernel-command-line.xml +=================================================================== +--- systemd-206.orig/man/kernel-command-line.xml 2014-07-22 18:29:48.569399001 +0200 ++++ systemd-206/man/kernel-command-line.xml 2014-07-22 18:29:49.321399001 +0200 +@@ -177,6 +177,17 @@ + + + ++ fsck.repair= ++ ++ ++ Parameter understood by ++ the file system checker ++ services. For details, see ++ systemd-fsck@.service8. ++ ++ ++ ++ + quotacheck.mode= + + +Index: systemd-206/man/systemd-fsck@.service.xml +=================================================================== +--- systemd-206.orig/man/systemd-fsck@.service.xml 2014-07-22 18:29:48.569399001 +0200 ++++ systemd-206/man/systemd-fsck@.service.xml 2014-07-22 18:29:49.321399001 +0200 +@@ -95,6 +95,22 @@ + skips any file system + checks. + ++ ++ ++ fsck.repair= ++ ++ One of ++ preen, ++ yes, ++ no. Controls the ++ mode of operation. The default is ++ preen, and will automatically repair ++ problems that can be safely fixed. yes ++ will answer yes to all questions by ++ fsck and no will answer no to ++ all questions. ++ ++ + + + +Index: systemd-206/src/fsck/fsck.c +=================================================================== +--- systemd-206.orig/src/fsck/fsck.c 2014-07-22 18:29:48.569399001 +0200 ++++ systemd-206/src/fsck/fsck.c 2014-07-22 18:31:45.289410787 +0200 +@@ -4,6 +4,7 @@ + This file is part of systemd. + + Copyright 2010 Lennart Poettering ++ Copyright 2014 Holger Hans Peter Freyther + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by +@@ -40,6 +41,7 @@ + static bool arg_skip = false; + static bool arg_force = false; + static bool arg_show_progress = false; ++static const char *arg_repair = "-a"; + + static void start_target(const char *target) { + DBusMessage *m = NULL, *reply = NULL; +@@ -122,6 +124,12 @@ + arg_force = true; + else if (strneq(w, "fsck.mode=skip", l)) + arg_skip = true; ++ else if (strneq(w, "fsck.repair=preen", l)) ++ arg_repair = "-a"; ++ else if (strneq(w, "fsck.repair=yes", l)) ++ arg_repair = "-y"; ++ else if (strneq(w, "fsck.repair=no", l)) ++ arg_repair = "-n"; + else if (startswith(w, "fsck")) + log_warning("Invalid fsck parameter. Ignoring."); + #ifdef HAVE_SYSV_COMPAT +@@ -326,7 +334,7 @@ + } + + cmdline[i++] = "/sbin/fsck"; +- cmdline[i++] = "-a"; ++ cmdline[i++] = arg_repair; + cmdline[i++] = "-T"; + cmdline[i++] = "-l"; + diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index 4a7eeabcaf..f73361e606 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -1,10 +1,11 @@ S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" -PRINC="21" +PRINC="22" SRC_URI += "file://journald.conf \ file://0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch \ + file://0001-RFC-fsck-Allow-to-specify-the-fsck-repair-option-in-.patch \ " SRC_URI_append_sysmobts-v1 = " file://system.conf" From 1872d0a4887afb8856c8f8959877d7673baa1d54 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 25 Jul 2014 11:14:30 +0200 Subject: [PATCH 343/908] gpsd: Add a default for the sysmobts 2050 device There is a trimble GPS on this device --- recipes-extra/gpsd/gpsd/sysmobts-2050/gpsd-default | 5 +++++ recipes-extra/gpsd/gpsd_3.10.bb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 recipes-extra/gpsd/gpsd/sysmobts-2050/gpsd-default diff --git a/recipes-extra/gpsd/gpsd/sysmobts-2050/gpsd-default b/recipes-extra/gpsd/gpsd/sysmobts-2050/gpsd-default new file mode 100644 index 0000000000..ad4d32a7dd --- /dev/null +++ b/recipes-extra/gpsd/gpsd/sysmobts-2050/gpsd-default @@ -0,0 +1,5 @@ +# If you must specify a non-NMEA driver, uncomment and modify the next line +GPSD_SOCKET="/var/run/gpsd.sock" +GPSD_OPTIONS="" +GPS_DEVICES="/dev/ttyS2" + diff --git a/recipes-extra/gpsd/gpsd_3.10.bb b/recipes-extra/gpsd/gpsd_3.10.bb index 9fae4ce4a2..5d12cd50cc 100644 --- a/recipes-extra/gpsd/gpsd_3.10.bb +++ b/recipes-extra/gpsd/gpsd_3.10.bb @@ -6,7 +6,7 @@ DEPENDS = "ncurses python" #DEPENDS = "ncurses libusb1 python" PROVIDES = "virtual/gpsd" -PR = "r3.13" +PR = "r3.14" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ From 2fb98567ea3b057d5981717e43337fb4b6377226 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 25 Jul 2014 20:03:39 +0200 Subject: [PATCH 344/908] task-sysmocom-bts: Include gpsd/gps-utils in the image For the slave BTS the GPS receiver will not work with the GPSD but we can install it anyway as nothing bad will happen. Fixes: SYS#131 --- recipes-apps/tasks/task-sysmocom-bts.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index 88c85e584b..79093a8c8a 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -4,13 +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 = "r20" +PR = "r21" CALIB = "" CALIB_sysmobts-v2 = "sysmobts-calib sysmobts-util" UTIL = "" -UTIL_sysmobts-2050 = "sbts2050-util" +UTIL_sysmobts-2050 = "sbts2050-util gpsd gps-utils" # TODO: re-add femtobts-calib after it went through the API migration RDEPENDS_${PN} = "\ From f85927359aa0092cb7679552de24bc67e2ebe5cb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 30 Jul 2014 12:46:53 +0200 Subject: [PATCH 345/908] sysmobts: Target firmware version 3.11 * Add sysmobts-firmware 3.11. The firmware will work with the previous osmo-bts software and this one (as we don't use the new primitives) * Build newer version of osmo-bts with support for online calibration and CMR fixes. --- .../femtobts-api/femtobts-api_git.bb | 6 +++--- .../firmware/sysmobts-firmware_3.11.bb | 16 ++++++++++++++++ recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 12 ++++++------ 3 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb diff --git a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb index 0ba4bfc2b1..f1a20b042e 100644 --- a/recipes-sysmobts/femtobts-api/femtobts-api_git.bb +++ b/recipes-sysmobts/femtobts-api/femtobts-api_git.bb @@ -3,11 +3,11 @@ SECTION = "kernel" LICENSE = "CLOSED" SRC_URI = "git://git.sysmocom.de/sysmo-bts/layer1-api.git;protocol=git;branch=master" -SRCREV = "73a3a2f9cfbf597d8c6ed92c5fc2eb6f142e30d8" -SRCREV_sysmobts-v2 = "73a3a2f9cfbf597d8c6ed92c5fc2eb6f142e30d8" +SRCREV = "84e0cf46511f256ef84c0211f3f39a642acceb33" +SRCREV_sysmobts-v2 = "84e0cf46511f256ef84c0211f3f39a642acceb33" SRCREV_sysmobts-v1 = "4dde9443e2aa11868e46a67529cb5ac45462699c" PV = "${SRCREV}+git${SRCPV}" -PR = "r4" +PR = "r5" S = "${WORKDIR}/git" # The API is only a header, nothing to compile diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb new file mode 100644 index 0000000000..39a92bc6a6 --- /dev/null +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb @@ -0,0 +1,16 @@ +COMPATIBLE_MACHINE = "(sysmobts-v2|sysmobts-2050)" +PACKAGE_ARCH = "sysmobts-v2" +FIRMWARE-VERSION = "superfemto_v${PV}" +PR = "r0.${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*" diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index f70b4b8860..23e1a4ef30 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,16 +4,16 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "a7f9b58e44fa7119e7113269765302a0b8a619d5" -SRCREV_openbsc = "421365eeaa104a9781214f9e12c55023c1099bf8" -PV = "0.4.2+git${SRCPV}" -PR = "r11.${META_TELEPHONY_OSMO_INC}" +SRCREV_osmobts = "bc24955e91f050e904851f589400eac4c3443917" +SRCREV_openbsc = "a5cae441e29b85a3f612168106ed61e769b253d7" +PV = "0.4.3+git${SRCPV}" +PR = "r12.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" DEPENDS = "libosmocore libosmo-abis femtobts-api" -RDEPENDS_${PN} += "coreutils sysmobts-firmware (>= 3.10)" -RCONFLICTS_${PN} = "sysmobts-firmware (< 3.10)" +RDEPENDS_${PN} += "coreutils sysmobts-firmware (>= 3.11)" +RCONFLICTS_${PN} = "sysmobts-firmware (< 3.11)" EXTRA_OECONF += "--enable-sysmocom-bts" From ab0b6f424807bb42a2c2d3aab5c0e59478ef7d5a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 30 Jul 2014 15:18:33 +0200 Subject: [PATCH 346/908] linux-sysmocom: Rebase to linux 3.10.50 The kernel has been boot tested to mounting the rootfs and nothing more has been done. --- recipes-bsp/linux/linux-sysmocom_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 53a5a35843..fa31e3e994 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -4,7 +4,7 @@ require linux-sysmocom.inc DEPENDS += "bc-native" # at versions changes do not forget to update conf/machine/include/sysmobts.inc too -LINUX_VERSION ?= "3.10.40" +LINUX_VERSION ?= "3.10.50" LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}" # Overrides for the sysmocom bts v1 @@ -14,7 +14,7 @@ BTS_FIRMWARE_NAME_sysmobts-v1 = "sysmobts-v1" BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" -SRCREV = "63f1162771d2ac5581e73cc4912dc1dd0b2279e6" +SRCREV = "9610e792ffde7fb2599d19ca6d2a03230f2043c6" PR = "r35" PV = "${LINUX_VERSION}+git${SRCPV}" From 4c23137c2ffe05686c8352bfdfe2050e3eec2267 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 31 Jul 2014 12:12:40 +0200 Subject: [PATCH 347/908] sysmobts: Use 3.10.50 as default kernel --- conf/machine/include/sysmobts.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index 94f3634458..4b0c9c6d1e 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -1,7 +1,7 @@ TARGET_ARCH = "arm" PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" -PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.40+git%'), ('1.5.1','3.10.40+git%'), ('1.5.2','3.10.40+git%'), ('1.5.3','3.10.40+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" +PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.50+git%'), ('1.5.1','3.10.50+git%'), ('1.5.2','3.10.50+git%'), ('1.5.3','3.10.50+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" PREFERRED_VERSION_u-boot = "git" From 2b2811005187e5dd64356fb06db44a9e5aca2c84 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 31 Jul 2014 14:46:03 +0200 Subject: [PATCH 348/908] sysmobts-firmware: Remove the circular constraints as opkg can't handle them Having: osmo-bts requires sysmobts-firmware > 3.11 sysmobts-firmware requires osmo-bts > 0.4.2 is something opkg can't resolve in one go. One needs two calls to the opkg command to end up with a fully upgraded version. Make sure that we require/pull newer firmware when installing a new version of osmo-bts. --- recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb index 39a92bc6a6..5ee257df75 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb @@ -1,8 +1,7 @@ COMPATIBLE_MACHINE = "(sysmobts-v2|sysmobts-2050)" PACKAGE_ARCH = "sysmobts-v2" FIRMWARE-VERSION = "superfemto_v${PV}" -PR = "r0.${INC_PR}" -RRCONFLICTS_${PN} = "osmo-bts (< 0.4.2)" +PR = "r1.${INC_PR}" require ${PN}.inc From 808842860d1e2e193fda24a9a5e6916d45016577 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 31 Jul 2014 14:47:40 +0200 Subject: [PATCH 349/908] osmo-bts: Update with direct RTP and power ramp up support --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 23e1a4ef30..dde9d34575 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "bc24955e91f050e904851f589400eac4c3443917" -SRCREV_openbsc = "a5cae441e29b85a3f612168106ed61e769b253d7" +SRCREV_osmobts = "a19912db347af14dd7eec0fea5c897875f1ddf5a" +SRCREV_openbsc = "9b6258059598e1220c0af447c476c205eba619ee" PV = "0.4.3+git${SRCPV}" -PR = "r12.${META_TELEPHONY_OSMO_INC}" +PR = "r13.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From a425d28ed74d973753731cab4e44283e47a63dc2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 31 Jul 2014 15:48:09 +0200 Subject: [PATCH 350/908] misc: Simplify selection based on targeted distro I wish I could have made it more simple but at least only compare the 1.X of the poky version as minor versions generally do not upgrade the core components --- conf/layer.conf | 2 +- conf/machine/sysmocom-bsc.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/layer.conf b/conf/layer.conf index 4ac4a1bf61..ebc850d2d1 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -9,7 +9,7 @@ BBFILES += "${LAYERDIR}/yocto-shared/*.bbappend" BBFILES += "${BBFILES_SYSMOCOM_BSP}" # selects specific distro or master when DISTRO_VERSION contains SNAPSHOT -BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5','dora'), ('1.5.1', 'dora'), ('1.5.2', 'dora'), ('1.5.3', 'dora'), ('1.1.2','edison')])[d.getVar('DISTRO_VERSION', True)], 'master']['SNAPSHOT' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" +BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5', 'dora'), ('1.1','edison')])[d.getVar('DISTRO_VERSION', True)[0:3]], 'master']['SNAPSHOT' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" BBFILE_COLLECTIONS += "sysmocom-bsp" BBFILE_PATTERN_sysmocom-bsp := "^${LAYERDIR}/" diff --git a/conf/machine/sysmocom-bsc.conf b/conf/machine/sysmocom-bsc.conf index de586f1663..93b46ea494 100644 --- a/conf/machine/sysmocom-bsc.conf +++ b/conf/machine/sysmocom-bsc.conf @@ -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 = "${@ dict([('1.5','linux-sysmocom'), ('1.5.1', 'linux-sysmocom'), ('1.5.1', 'linux-sysmocom'), ('1.1.2','linux')])[d.getVar('DISTRO_VERSION', True)]}" +PREFERRED_PROVIDER_virtual/kernel = "${@ dict([('1.5','linux-sysmocom'), ('1.1','linux')])[d.getVar('DISTRO_VERSION', True)[0:3]]}" require conf/machine/include/tune-geode.inc From 5cc6103cc360156bd4741197ed8e6177ca83c3e1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 31 Jul 2014 16:48:00 +0200 Subject: [PATCH 351/908] sysmocom-bsc: Further simplify the selection of the kernel Only on Edison we are stuck with the 'linux' kernel. In Dora and later we will simply use the linux-sysmocom kernel. --- conf/machine/sysmocom-bsc.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/sysmocom-bsc.conf b/conf/machine/sysmocom-bsc.conf index 93b46ea494..49b5d30a58 100644 --- a/conf/machine/sysmocom-bsc.conf +++ b/conf/machine/sysmocom-bsc.conf @@ -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 = "${@ dict([('1.5','linux-sysmocom'), ('1.1','linux')])[d.getVar('DISTRO_VERSION', True)[0:3]]}" +PREFERRED_PROVIDER_virtual/kernel = "${@['linux-sysmocom', 'linux']['1.1' in d.getVar('DISTRO_VERSION', True)]}" require conf/machine/include/tune-geode.inc From afd38eb11a9e7d82cba043accf910a0c6994f58b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 14 Aug 2014 11:01:38 +0200 Subject: [PATCH 352/908] task-sysmocom-feed: Add openvpn to the list of packages we want --- recipes-apps/tasks/task-sysmocom-feed.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-feed.bb b/recipes-apps/tasks/task-sysmocom-feed.bb index b21aef1b6a..d1bfdd4034 100644 --- a/recipes-apps/tasks/task-sysmocom-feed.bb +++ b/recipes-apps/tasks/task-sysmocom-feed.bb @@ -3,10 +3,10 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY_${PN} = "1" -PR = "r7" +PR = "r8" RDEPENDS_${PN} = "\ task-sysmocom-tools \ task-sysmocom-debug \ minicom vlan patch procps psmisc \ - ppp rsync sed usbutils " + ppp rsync sed usbutils openvpn" From c78433d945b3df558d5f5e90a0ee1c9fe2d393a7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 20 Aug 2014 23:33:17 +0200 Subject: [PATCH 353/908] systemd-compat-units: Add alignment service and replicate others We need to replicate the other services that were included with *.service. Install an additional alignment.service that is required for ARM. The actual service file is from Daniel and copied from the postinst and sysmobts service. --- .../systemd-compat-units/alignment.service | 17 +++++++++++++++++ .../systemd/systemd-compat-units_sysmocom.inc | 18 +++++++++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 recipes-fixes/systemd/systemd-compat-units/alignment.service diff --git a/recipes-fixes/systemd/systemd-compat-units/alignment.service b/recipes-fixes/systemd/systemd-compat-units/alignment.service new file mode 100644 index 0000000000..10e13f728e --- /dev/null +++ b/recipes-fixes/systemd/systemd-compat-units/alignment.service @@ -0,0 +1,17 @@ +[Unit] +Description=Handle unaligned access in kernel +DefaultDependencies=no +After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount +Before=sysinit.target +ConditionPathExists=|/proc/cpu/alignment + +[Service] +Type=oneshot +RemainAfterExit=no +ExecStart=/bin/sh -c 'echo 3 > /proc/cpu/alignment' +StandardOutput=syslog +TimeoutSec=0 + +[Install] +WantedBy=basic.target +WantedBy=sysinit.target diff --git a/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc b/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc index b656e1e0ef..b8e86feb29 100644 --- a/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc +++ b/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc @@ -1,5 +1,21 @@ -PRINC="1" +PRINC="2" # We need networking to run as we have no native services yet SYSTEMD_DISABLED_SYSV_SERVICES_remove = "networking" +S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" +SRC_URI = "\ + file://machineid.service \ + file://run-postinsts.service \ + file://alignment.service" + + +do_install_append() { + install -d ${D}${systemd_unitdir}/system/basic.target.wants + install -d ${D}${systemd_unitdir}/system/sysinit.target.wants/ + + install -m 0644 ${WORKDIR}/alignment.service ${D}${systemd_unitdir}/system + ln -sf ../alignment.service ${D}${systemd_unitdir}/system/basic.target.wants/ + ln -sf ../alignment.service ${D}${systemd_unitdir}/system/sysinit.target.wants/ +} From bf2a3bdb18fdca17ee31b0e00a32524fa68c9387 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 21 Aug 2014 15:24:19 +0200 Subject: [PATCH 354/908] osmo-bts: Install the sysmobts-mgr.service and link it Just because the the VTY/alarm handling was broken, we still want to run the sysmobts-mgr.service to gain a response for ipaccess-find. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index dde9d34575..6c1f740d1e 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,7 +7,7 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/featu SRCREV_osmobts = "a19912db347af14dd7eec0fea5c897875f1ddf5a" SRCREV_openbsc = "9b6258059598e1220c0af447c476c205eba619ee" PV = "0.4.3+git${SRCPV}" -PR = "r13.${META_TELEPHONY_OSMO_INC}" +PR = "r14.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" @@ -48,8 +48,8 @@ do_install_append() { # Future sysmobts-mgr handling #install -m 0660 ${S}/doc/examples/osmobts-mgr.cfg ${D}${sysconfdir}/osmocom - #install -m 0644 ${S}/contrib/sysmobts-mgr.service ${D}${systemd_unitdir}/system/ - #ln -sf ../sysmobts-mgr.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ + install -m 0644 ${S}/contrib/sysmobts-mgr.service ${D}${systemd_unitdir}/system/ + ln -sf ../sysmobts-mgr.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ } do_install_append_sysmobts-v2() { From 02b15f6048e872d511ef89cbbb69aeb2b9742c9f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 22 Aug 2014 10:01:19 +0200 Subject: [PATCH 355/908] gpsd: Add custom format for sending data using -l and -m options --- ...bel-timestamp-and-mac-address-to-eac.patch | 140 ++++++++++++++++++ recipes-extra/gpsd/gpsd_3.10.bb | 3 +- 2 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 recipes-extra/gpsd/gpsd-3.10/0001-gps2udp-Add-a-label-timestamp-and-mac-address-to-eac.patch diff --git a/recipes-extra/gpsd/gpsd-3.10/0001-gps2udp-Add-a-label-timestamp-and-mac-address-to-eac.patch b/recipes-extra/gpsd/gpsd-3.10/0001-gps2udp-Add-a-label-timestamp-and-mac-address-to-eac.patch new file mode 100644 index 0000000000..5b90d4f4b2 --- /dev/null +++ b/recipes-extra/gpsd/gpsd-3.10/0001-gps2udp-Add-a-label-timestamp-and-mac-address-to-eac.patch @@ -0,0 +1,140 @@ +From 19a55075d4e60e07d03d49937cd2a4d9239d00a4 Mon Sep 17 00:00:00 2001 +From: Holger Hans Peter Freyther +Date: Fri, 22 Aug 2014 09:55:19 +0200 +Subject: [PATCH] gps2udp: Add a label, timestamp and mac address to each + report + +--- + gps2udp.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- + 1 file changed, 60 insertions(+), 2 deletions(-) + +diff --git a/gps2udp.c b/gps2udp.c +index 313ef36..e1bed05 100644 +--- a/gps2udp.c ++++ b/gps2udp.c +@@ -38,6 +38,8 @@ + #include + #include + #include ++#include ++#include + #endif /* S_SPLINT_S */ + + #define MAX_TIME_LEN 80 +@@ -56,6 +58,9 @@ static struct fixsource_t gpsd_source; + static unsigned int flags; + static int debug = 0; + static bool aisonly = false; ++static const char *label; ++static const char *mac; ++static char *mac_string; + + /*@-statictrans@*/ + /*@observer@*/static char* time2string(void) +@@ -80,6 +85,7 @@ static bool aisonly = false; + + static int send_udp (char *nmeastring, size_t ind) + { ++ char output[1024]; + char message[255]; + char *buffer; + int channel; +@@ -105,12 +111,23 @@ static int send_udp (char *nmeastring, size_t ind) + buffer[ind] = '\r'; ind++; + buffer[ind] = '\0'; + ++ /* copy once more for the label */ ++ if (label) ++ snprintf(output, 1024, "%s,%llu,%s,%s", ++ label, (unsigned long long ) time(NULL), mac_string, buffer); ++ else ++ snprintf(output, 1024, "%s", buffer); ++ ++ output[1023] = '\0'; ++ ind = strlen(output); ++ ++ + /* send message on udp channel */ + /*@-type@*/ + for (channel=0; channel < udpchannel; channel ++) { + ssize_t status; + status = sendto(sock[channel], +- buffer, ++ output, + ind, + 0, + &remote[channel], +@@ -182,6 +199,8 @@ static void usage(void) + "-c [count] exit after count packets.\n" + "-b Run in background as a daemon.\n" + "-d [0-2] 1 display sent packets, 2 ignored packets.\n" ++ "-l [NAME] A label to be used for the output\n" ++ "-m [IF_NAME] The interface to extract the mac from\n" + "-v Print version and exit.\n\n" + "You must specify one, or more, of -r, -R, or -w\n" + ); +@@ -356,7 +375,7 @@ int main(int argc, char **argv) + char *udphostport[MAX_UDP_DEST]; + + flags = WATCH_ENABLE; +- while ((option = getopt(argc, argv, "?habnjcvl:u:d:")) != -1) ++ while ((option = getopt(argc, argv, "?habnjcvl:u:d:l:m:")) != -1) + { + switch (option) { + case 'd': +@@ -390,6 +409,12 @@ int main(int argc, char **argv) + udphostport[udpchannel++] = optarg; + } + break; ++ case 'l': ++ label = optarg; ++ break; ++ case 'm': ++ mac = optarg; ++ break; + case 'v': + (void)fprintf(stderr, "%s: %s (revision %s)\n", + argv[0], VERSION, REVISION); +@@ -402,6 +427,39 @@ int main(int argc, char **argv) + } + } + ++ if (label && !mac) { ++ fprintf(stderr, "Need to specify the ethernet device to find the mac.\n"); ++ exit(EXIT_FAILURE); ++ } ++ if (mac && strlen(mac) >= IFNAMSIZ) { ++ fprintf(stderr, "Interface name is too long.\n"); ++ exit(EXIT_FAILURE); ++ } else if (mac) { ++ struct ifreq addr = { }; ++ int fd, rc; ++ fd = socket(AF_INET, SOCK_DGRAM, 0); ++ if (fd < 0) { ++ fprintf(stderr, "Failed to open socket.\n"); ++ exit(EXIT_FAILURE); ++ } ++ memcpy(&addr.ifr_name, mac, strlen(mac)); ++ rc = ioctl(fd, SIOCGIFHWADDR, &addr); ++ close(fd); ++ if (rc < 0) { ++ fprintf(stderr, "Failed to query address.\n"); ++ exit(EXIT_FAILURE); ++ } ++ mac_string = malloc(40 * sizeof(char)); ++ snprintf(mac_string, 40, ++ "%.2X:%.2X:%.2X:%.2X:%.2X:%.2X", ++ addr.ifr_hwaddr.sa_data[0] & 0xff, ++ addr.ifr_hwaddr.sa_data[1] & 0xff, ++ addr.ifr_hwaddr.sa_data[2] & 0xff, ++ addr.ifr_hwaddr.sa_data[3] & 0xff, ++ addr.ifr_hwaddr.sa_data[4] & 0xff, ++ addr.ifr_hwaddr.sa_data[5] & 0xff); ++ } ++ + /* Grok the server, port, and device. */ + if (optind < argc) + gpsd_source_spec(argv[optind], &gpsd_source); +-- +1.7.10.4 + diff --git a/recipes-extra/gpsd/gpsd_3.10.bb b/recipes-extra/gpsd/gpsd_3.10.bb index 5d12cd50cc..c680ae164f 100644 --- a/recipes-extra/gpsd/gpsd_3.10.bb +++ b/recipes-extra/gpsd/gpsd_3.10.bb @@ -6,7 +6,7 @@ DEPENDS = "ncurses python" #DEPENDS = "ncurses libusb1 python" PROVIDES = "virtual/gpsd" -PR = "r3.14" +PR = "r3.15" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ @@ -14,6 +14,7 @@ SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://no-rpath-please.patch \ file://gpsd-tsip-pps.patch \ file://leave-argv-untouched.patch \ + file://0001-gps2udp-Add-a-label-timestamp-and-mac-address-to-eac.patch \ file://gpsd-default \ file://gpsd \ file://60-gpsd.rules \ From b4d90d25820465c9f97233c11a59c236ca0969bc Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 25 Aug 2014 08:11:59 +0200 Subject: [PATCH 356/908] osmo-bts: Upgrade with control command and improved pwr mgmt This version includes the CTRL interface for clock-calibration and improved/generic power management. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 6c1f740d1e..029d471982 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,8 +4,8 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "a19912db347af14dd7eec0fea5c897875f1ddf5a" -SRCREV_openbsc = "9b6258059598e1220c0af447c476c205eba619ee" +SRCREV_osmobts = "1fb66c8e6a2f79f48b0a79946f6f844e29527817" +SRCREV_openbsc = "5160996d4a24fdb9faf0317c489689b5c31eebee" PV = "0.4.3+git${SRCPV}" PR = "r14.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From e512a0a3632a3e350d301051c3413e86bb4ad4c9 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 25 Aug 2014 08:22:10 +0200 Subject: [PATCH 357/908] osmo-bts: Package the sysmobts-mgr.cfg again The sysmobts-mgr regained VTY support and now has a configuration file again. Install it and declare it as a conffile --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 029d471982..44a57e2710 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,7 +7,7 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/featu SRCREV_osmobts = "1fb66c8e6a2f79f48b0a79946f6f844e29527817" SRCREV_openbsc = "5160996d4a24fdb9faf0317c489689b5c31eebee" PV = "0.4.3+git${SRCPV}" -PR = "r14.${META_TELEPHONY_OSMO_INC}" +PR = "r15.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" @@ -47,7 +47,7 @@ do_install_append() { ln -sf ../sysmobts.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ # Future sysmobts-mgr handling - #install -m 0660 ${S}/doc/examples/osmobts-mgr.cfg ${D}${sysconfdir}/osmocom + install -m 0660 ${S}/doc/examples/sysmobts-mgr.cfg ${D}${sysconfdir}/osmocom install -m 0644 ${S}/contrib/sysmobts-mgr.service ${D}${systemd_unitdir}/system/ ln -sf ../sysmobts-mgr.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ } @@ -57,7 +57,7 @@ do_install_append_sysmobts-v2() { } CONFFILES_${PN} = "${sysconfdir}/osmocom/osmo-bts.cfg" -#CONFFILES_${PN} += "${sysconfdir}/osmocom/osmobts-mgr.cfg" +CONFFILES_${PN} += "${sysconfdir}/osmocom/sysmobts-mgr.cfg" INITSCRIPT_PACKAGES = "${PN}" INITSCRIPT_NAME_${PN} = "sysmobts" INITSCRIPT_PARAMS_${PN} = "defaults 30 30" From 40927204e9201a9c53dc8280791bfe47f3c4221f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 25 Aug 2014 16:17:00 +0200 Subject: [PATCH 358/908] osmo-bts: Fix the VTY generation and output power handling Fix the VTY generation and output power handling for 1100 und 1020 devices have been added. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 44a57e2710..8676f81b59 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,8 +4,8 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "1fb66c8e6a2f79f48b0a79946f6f844e29527817" -SRCREV_openbsc = "5160996d4a24fdb9faf0317c489689b5c31eebee" +SRCREV_osmobts = "04585dd90a1439e256d54affe4ccea113455cbe7" +SRCREV_openbsc = "a4faeb1a79eac3c8d333ded27600228cc5e3a71b" PV = "0.4.3+git${SRCPV}" PR = "r15.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From eda201737101bb0a6c6d13e8ddc7f33ee6381292 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 25 Aug 2014 18:29:42 +0200 Subject: [PATCH 359/908] task-sysmocom-feed: Require iperf as well. We use it for PCU testing --- recipes-apps/tasks/task-sysmocom-feed.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-feed.bb b/recipes-apps/tasks/task-sysmocom-feed.bb index d1bfdd4034..9d81911a60 100644 --- a/recipes-apps/tasks/task-sysmocom-feed.bb +++ b/recipes-apps/tasks/task-sysmocom-feed.bb @@ -3,10 +3,10 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY_${PN} = "1" -PR = "r8" +PR = "r9" RDEPENDS_${PN} = "\ task-sysmocom-tools \ task-sysmocom-debug \ minicom vlan patch procps psmisc \ - ppp rsync sed usbutils openvpn" + ppp rsync sed usbutils openvpn iperf" From 34fc7b631bdb16216a6c3eba85f4fd17f6912201 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 28 Aug 2014 16:51:20 +0200 Subject: [PATCH 360/908] tasks-sysmocom-bts: Install packages for the sysmoBTS as well We want to have a single image that will do the right thing on the various BTS models we have. This means we will install the sbts2050 utilitiy (it clashes with sysmobts-mgr anyway) and the gpsd with a default config for it. The sysmobts-v2 config file was for a specific usecase and is obsolete for all intents and purposes. Make it the default Related: SYS#559 --- recipes-apps/tasks/task-sysmocom-bts.bb | 4 ++-- recipes-extra/gpsd/gpsd/sysmobts-2050/gpsd-default | 5 ----- recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd-default | 4 ++-- 3 files changed, 4 insertions(+), 9 deletions(-) delete mode 100644 recipes-extra/gpsd/gpsd/sysmobts-2050/gpsd-default diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index 79093a8c8a..b9acc81f22 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -4,13 +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 = "r21" +PR = "r22" CALIB = "" CALIB_sysmobts-v2 = "sysmobts-calib sysmobts-util" UTIL = "" -UTIL_sysmobts-2050 = "sbts2050-util gpsd gps-utils" +UTIL_sysmobts-v2 = "sbts2050-util gpsd gps-utils" # TODO: re-add femtobts-calib after it went through the API migration RDEPENDS_${PN} = "\ diff --git a/recipes-extra/gpsd/gpsd/sysmobts-2050/gpsd-default b/recipes-extra/gpsd/gpsd/sysmobts-2050/gpsd-default deleted file mode 100644 index ad4d32a7dd..0000000000 --- a/recipes-extra/gpsd/gpsd/sysmobts-2050/gpsd-default +++ /dev/null @@ -1,5 +0,0 @@ -# If you must specify a non-NMEA driver, uncomment and modify the next line -GPSD_SOCKET="/var/run/gpsd.sock" -GPSD_OPTIONS="" -GPS_DEVICES="/dev/ttyS2" - diff --git a/recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd-default b/recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd-default index e37c3b56dd..ad4d32a7dd 100644 --- a/recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd-default +++ b/recipes-extra/gpsd/gpsd/sysmobts-v2/gpsd-default @@ -1,5 +1,5 @@ # If you must specify a non-NMEA driver, uncomment and modify the next line GPSD_SOCKET="/var/run/gpsd.sock" -GPSD_OPTIONS="" -GPS_DEVICES="udp://127.0.0.1:12345 udp://127.0.0.1:12346" +GPSD_OPTIONS="" +GPS_DEVICES="/dev/ttyS2" From ec3635eed865b093c89db1bf5fb08621347d9018 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 28 Aug 2014 16:54:35 +0200 Subject: [PATCH 361/908] watchdog: Remove sysmobts-2050 configuration file The sysmobts-2050 machine does inherit from the generic bts so we do not need an exact copy of the configuration file. The watchdog is not used in dora or later images as this functionality is integrated into the systemd. Related: SYS#559 --- .../watchdog/sysmobts-2050/watchdog.conf | 41 ------------------- 1 file changed, 41 deletions(-) delete mode 100644 recipes-bsp/watchdog/watchdog/sysmobts-2050/watchdog.conf diff --git a/recipes-bsp/watchdog/watchdog/sysmobts-2050/watchdog.conf b/recipes-bsp/watchdog/watchdog/sysmobts-2050/watchdog.conf deleted file mode 100644 index 2209e90a5e..0000000000 --- a/recipes-bsp/watchdog/watchdog/sysmobts-2050/watchdog.conf +++ /dev/null @@ -1,41 +0,0 @@ -#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 From fbf50895105e1d45fa0110e61cbe28e7d84ec0fa Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 28 Aug 2014 17:48:15 +0200 Subject: [PATCH 362/908] sysmobts-config: Add script with postinst hook Add post install script that will mangle the config to be the right one for the given machine. This will be executed once after the post installation. In case of the getty change the system must re-start once to be fully usable. E.g. for the sysmoBTS2050 the PA might not be powered up on first boot. --- .../files/sysmobts-post-install-config | 23 +++++++++++++++++++ .../sysmobts-config/sysmobts-config_1.bb | 21 +++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 recipes-sysmobts/sysmobts-config/files/sysmobts-post-install-config create mode 100644 recipes-sysmobts/sysmobts-config/sysmobts-config_1.bb diff --git a/recipes-sysmobts/sysmobts-config/files/sysmobts-post-install-config b/recipes-sysmobts/sysmobts-config/files/sysmobts-post-install-config new file mode 100644 index 0000000000..d32f85f689 --- /dev/null +++ b/recipes-sysmobts/sysmobts-config/files/sysmobts-post-install-config @@ -0,0 +1,23 @@ +#!/bin/bash + + +prepare_sysmobts_2050() { + # Disable getty and mangle the config + /bin/systemctl mask serial-getty@ttyS0.service + + # We need to mange the systemd config file + sed -i s,#LogTarget=journal-or-kmsg,LogTarget=null, /etc/systemd/system.conf + sed -i s,#ShowStatus=yes,ShowStatus=no, /etc/systemd/system.conf + sed -i s,#DefaultStandardOutput=journal,DefaultStandardOutput=syslog, /etc/systemd/system.conf + sed -i s,#DefaultStandardError=inherit,DefaultStandardError=syslog, /etc/systemd/system.conf +} + + +# +MODEL=`/usr/bin/sysmobts-util -r model-nr` + +if [ $MODEL -eq "2050" ]; +then + echo "Going to fix the configuration for sysmobts-2050" + prepare_sysmobts_2050 +fi diff --git a/recipes-sysmobts/sysmobts-config/sysmobts-config_1.bb b/recipes-sysmobts/sysmobts-config/sysmobts-config_1.bb new file mode 100644 index 0000000000..8114224df5 --- /dev/null +++ b/recipes-sysmobts/sysmobts-config/sysmobts-config_1.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "Script to mangle the configuration" +SECTION = "core" +LICENSE = "CLOSED" + +SRC_URI = "file://sysmobts-post-install-config" + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${WORKDIR}/sysmobts-post-install-config ${D}${bindir}/ +} + +pkg_postinst_${PN} () { +if test "x$D" != "x"; then + exit 1 +else + echo "Going to run device specific post configuration" + /usr/bin/sysmobts-post-install-config +fi +} + +PACKAGE_ARCH = "all" From 313388cac2ded6345c97b3fc17868609a5c54998 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 28 Aug 2014 17:50:40 +0200 Subject: [PATCH 363/908] task-sysmocom-bts: Include the sysmobts-config application This way we should be able to use a single image on all devices Fixes: SYS#559 --- recipes-apps/tasks/task-sysmocom-bts.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index b9acc81f22..a3095639a6 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY_${PN} = "1" -PR = "r22" +PR = "r23" CALIB = "" CALIB_sysmobts-v2 = "sysmobts-calib sysmobts-util" @@ -18,6 +18,7 @@ RDEPENDS_${PN} = "\ osmo-bts-remote \ osmo-pcu \ lmsensors-scripts \ + sysmobts-config \ ${CALIB} \ ${UTIL} \ " From 4d631d5d71db01f2c1e399fe84632e74c914d1a0 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 28 Aug 2014 17:53:10 +0200 Subject: [PATCH 364/908] sysmobts-2050: Add a deprecation notice for the sysmobts-2050 --- conf/machine/sysmobts-2050.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/machine/sysmobts-2050.conf b/conf/machine/sysmobts-2050.conf index 92261517dd..a58dcd03d6 100644 --- a/conf/machine/sysmobts-2050.conf +++ b/conf/machine/sysmobts-2050.conf @@ -6,6 +6,8 @@ require sysmobts-v2.conf MACHINEOVERRIDES = "${MACHINE}:sysmobts-v2" +# TODO: Remove this file once edison support is dropped from this layer + # 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 From b39db0cdf72267f9f44158e5cdedc7abdcd370b5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 28 Aug 2014 17:57:02 +0200 Subject: [PATCH 365/908] sysmobts-config: Execute sync to be sure ubifs was in sync --- .../sysmobts-config/files/sysmobts-post-install-config | 1 + recipes-sysmobts/sysmobts-config/sysmobts-config_1.bb | 1 + 2 files changed, 2 insertions(+) diff --git a/recipes-sysmobts/sysmobts-config/files/sysmobts-post-install-config b/recipes-sysmobts/sysmobts-config/files/sysmobts-post-install-config index d32f85f689..e2e0575113 100644 --- a/recipes-sysmobts/sysmobts-config/files/sysmobts-post-install-config +++ b/recipes-sysmobts/sysmobts-config/files/sysmobts-post-install-config @@ -10,6 +10,7 @@ prepare_sysmobts_2050() { sed -i s,#ShowStatus=yes,ShowStatus=no, /etc/systemd/system.conf sed -i s,#DefaultStandardOutput=journal,DefaultStandardOutput=syslog, /etc/systemd/system.conf sed -i s,#DefaultStandardError=inherit,DefaultStandardError=syslog, /etc/systemd/system.conf + sync } diff --git a/recipes-sysmobts/sysmobts-config/sysmobts-config_1.bb b/recipes-sysmobts/sysmobts-config/sysmobts-config_1.bb index 8114224df5..c6fd818952 100644 --- a/recipes-sysmobts/sysmobts-config/sysmobts-config_1.bb +++ b/recipes-sysmobts/sysmobts-config/sysmobts-config_1.bb @@ -3,6 +3,7 @@ SECTION = "core" LICENSE = "CLOSED" SRC_URI = "file://sysmobts-post-install-config" +PR = "r1" do_install() { install -d ${D}${bindir} From 497be38b349ae506a473461e5ee90117590ccee3 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 26 Aug 2014 19:28:33 +0200 Subject: [PATCH 366/908] sysmocom-backup: use transform option on restore * when restoring links e.g. for systemd files the links will be created with content// prefix * use transform instead of strip to remove the "content/" prefix * bump PR --- recipes-apps/sysmocom-backup/files/sysmocom-restore | 2 +- recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/sysmocom-backup/files/sysmocom-restore b/recipes-apps/sysmocom-backup/files/sysmocom-restore index 59f865374d..08dafe8ae3 100755 --- a/recipes-apps/sysmocom-backup/files/sysmocom-restore +++ b/recipes-apps/sysmocom-backup/files/sysmocom-restore @@ -5,7 +5,7 @@ do_extract() { SEARCH=`tar -tvf $1 | grep $2` RES=$? if [ $RES = 0 ]; then - tar -C / -xvf $1 --strip=1 $2 + tar --transform='s,^content/,,' -C / -xvf $1 $2 else echo "Directory '$2' is not in backup '$1'." fi diff --git a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb index deb21bc9b5..5d58031a1c 100644 --- a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb +++ b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb @@ -1,7 +1,7 @@ DESCRIPTION = "sysmocom config backup and restore scripts" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r10" +PR = "r11" SRC_URI = "file://sysmocom-backup file://sysmocom-restore" RDEPENDS_${PN} = "tar" From 1b5a3eb3afcdbc3422cfdef95fc8bd9a9decc0e8 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 26 Aug 2014 16:28:02 +0200 Subject: [PATCH 367/908] initramfs: mount external partitions readonly Fixes: SYS#521 --- recipes-core/images/core-image-minimal-initramfs.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 recipes-core/images/core-image-minimal-initramfs.bbappend diff --git a/recipes-core/images/core-image-minimal-initramfs.bbappend b/recipes-core/images/core-image-minimal-initramfs.bbappend new file mode 100644 index 0000000000..26fd5b0491 --- /dev/null +++ b/recipes-core/images/core-image-minimal-initramfs.bbappend @@ -0,0 +1,7 @@ +# we sed the udev automounter so it mounts all partions on the stick/sdcard readonly + +change_udev_automounter_ro() { + sed -i -e 's/\-t auto/\-t auto \-o ro/' ${IMAGE_ROOTFS}/etc/udev/scripts/mount.sh +} + +ROOTFS_POSTPROCESS_COMMAND += "change_udev_automounter_ro ; " From 0cef8c4fc38bf7537d6a79f0921abbba1e9a1a61 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 26 Aug 2014 16:34:55 +0200 Subject: [PATCH 368/908] initramfs: install and run e2fsck -f before resize2fs Fixes: SYS#522 --- recipes-core/initrdscripts/files/init-install.sh | 2 +- recipes-core/initrdscripts/initramfs-live-install_sysmocom.inc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-core/initrdscripts/files/init-install.sh b/recipes-core/initrdscripts/files/init-install.sh index 18275486dc..d33bf37fbe 100644 --- a/recipes-core/initrdscripts/files/init-install.sh +++ b/recipes-core/initrdscripts/files/init-install.sh @@ -172,11 +172,11 @@ umount /boot umount /tgt_root echo "Resizing partition" +e2fsck -f $rootfs || true resize2fs $rootfs sync - echo "Remove your installation media, and press ENTER" read enter diff --git a/recipes-core/initrdscripts/initramfs-live-install_sysmocom.inc b/recipes-core/initrdscripts/initramfs-live-install_sysmocom.inc index 0fca764c27..9ce47b14f6 100644 --- a/recipes-core/initrdscripts/initramfs-live-install_sysmocom.inc +++ b/recipes-core/initrdscripts/initramfs-live-install_sysmocom.inc @@ -1,2 +1,4 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:" + +RDEPENDS_${PN} += "e2fsprogs-e2fsck" From 7b51764cfaa0ceeea2438cc13d9de2c8fdaf5baa Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 26 Aug 2014 17:27:04 +0200 Subject: [PATCH 369/908] initramfs: grub.cfg with rootfs set to readonly Fixes: SYS#528 --- recipes-core/initrdscripts/files/init-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/initrdscripts/files/init-install.sh b/recipes-core/initrdscripts/files/init-install.sh index d33bf37fbe..0a02368188 100644 --- a/recipes-core/initrdscripts/files/init-install.sh +++ b/recipes-core/initrdscripts/files/init-install.sh @@ -159,6 +159,7 @@ if [ -f /etc/grub.d/40_custom ] ; then sed -i "s/__VGA_MODE__/$4/g" $GRUBCFG sed -i "s/__CONSOLE__/$5/g" $GRUBCFG sed -i "s/quiet/net.ifnames=0 quiet/g" $GRUBCFG + sed -i "s/rw/ro/g" $GRUBCFG sed -i "/#/d" $GRUBCFG sed -i "/exec tail/d" $GRUBCFG chmod 0444 $GRUBCFG From 28628cba812bc80937a8edf5fcc5c0dd2adedc6a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 2 Sep 2014 18:30:20 +0200 Subject: [PATCH 370/908] sbts2050-util: Allow to install it on sysmoBTSv2 as well --- recipes-sysmobts/sbts2050-util/sbts2050-util.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/sbts2050-util/sbts2050-util.inc b/recipes-sysmobts/sbts2050-util/sbts2050-util.inc index 01e71ad2ba..a52ae6ebe6 100644 --- a/recipes-sysmobts/sbts2050-util/sbts2050-util.inc +++ b/recipes-sysmobts/sbts2050-util/sbts2050-util.inc @@ -11,7 +11,7 @@ do_compile() { : } -COMPATIBLE_MACHINE = "sysmobts-2050" +COMPATIBLE_MACHINE = "sysmobts-v2" PACKAGE_ARCH = "${MACHINE_ARCH}" INSANE_SKIP_${PN} += "already-stripped ldflags" From a3a743ecb2a96ade123b1237716bd489625b7825 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 26 Aug 2014 18:06:36 +0200 Subject: [PATCH 371/908] initramfs: set baudrate for grub from cmdline * take the baudrate for the grub serial console setting from the kernel-cmdline which the system was booted from * better parsing of the options which the install-script gets from init * Video Mode, VGA mode are not used right now and make it empty right now. --- .../initrdscripts/files/init-install.sh | 37 ++++++++++++++++--- 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/recipes-core/initrdscripts/files/init-install.sh b/recipes-core/initrdscripts/files/init-install.sh index 0a02368188..2399a2496e 100644 --- a/recipes-core/initrdscripts/files/init-install.sh +++ b/recipes-core/initrdscripts/files/init-install.sh @@ -9,9 +9,32 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin # We want a 1 Gig partition on the cf partition_size=1000 +# Parse original arguments coming from the kernel cmdline. +# Then shift the first two arguments which contains +# partition information. +dev_name=$1 +shift +image_name=$1 +shift + +kernel_cmdline_console="" +kernel_cmdline_video_mode="" +kernel_cmdline_vga_mode="" + +while [ "$1" != "" ]; do + + echo "$1" | grep -q "console=" + success_console=$? + if [ $success_console -eq 0 ]; then + kernel_cmdline_console=$1 + fi + shift + +done + # Get a list of hard drives hdnamelist="" -live_dev_name=${1%%/*} +live_dev_name=${dev_name%%/*} echo "Searching for hard drives ..." @@ -120,7 +143,7 @@ mkdir /tgt_root mkdir -p /boot echo "Copying rootfs files..." -dd if=/media/$1/$2 of=$rootfs bs=1024 +dd if=/media/$dev_name/$image_name of=$rootfs bs=1024 # Handling of the target root partition mount $rootfs /tgt_root @@ -139,11 +162,13 @@ echo "Preparing boot partition..." GRUBCFG="/boot/grub/grub.cfg" mkdir -p $(dirname $GRUBCFG) +baudrate=`echo $kernel_cmdline_console | cut -f 2 -d ',' | cut -f 1 -d 'n'` + cat > $GRUBCFG << EOF default=0 timeout=1 -serial --unit=0 --speed=38400 +serial --unit=0 --speed=$baudrate terminal --timeout=2 serial terminal_input --append serial @@ -155,9 +180,9 @@ if [ -f /etc/grub.d/40_custom ] ; then cat /etc/grub.d/40_custom >> $GRUBCFG sed -i "s@__ROOTFS__@$rootfs $rootwait@g" $GRUBCFG - sed -i "s/__VIDEO_MODE__/$3/g" $GRUBCFG - sed -i "s/__VGA_MODE__/$4/g" $GRUBCFG - sed -i "s/__CONSOLE__/$5/g" $GRUBCFG + sed -i "s/__VIDEO_MODE__/$kernel_cmdline_video_mode/g" $GRUBCFG + sed -i "s/__VGA_MODE__/$kernel_cmdline_vga_mode/g" $GRUBCFG + sed -i "s/__CONSOLE__/$kernel_cmdline_console/g" $GRUBCFG sed -i "s/quiet/net.ifnames=0 quiet/g" $GRUBCFG sed -i "s/rw/ro/g" $GRUBCFG sed -i "/#/d" $GRUBCFG From 7a09426da5f120ec64fbd31c01707d5f8b2f9b04 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 26 Aug 2014 19:57:53 +0200 Subject: [PATCH 372/908] initramfs: restore configuration if available The error case of the backup not properly restoring has not been tested. Fixes: SYS#525 --- .../initrdscripts/files/init-install.sh | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/recipes-core/initrdscripts/files/init-install.sh b/recipes-core/initrdscripts/files/init-install.sh index 2399a2496e..4b8919b869 100644 --- a/recipes-core/initrdscripts/files/init-install.sh +++ b/recipes-core/initrdscripts/files/init-install.sh @@ -200,7 +200,28 @@ umount /tgt_root echo "Resizing partition" e2fsck -f $rootfs || true resize2fs $rootfs +sync +echo "Re-mounting the root and trying to apply backup." +mount $rootfs /tgt_root + +echo "Finding backupfiles" +backupfile=`find /media/$dev_name/ -name "sysmocom-backup*.tar" | head -n1` +if [ -n "$backupfile" ]; then + if [ ! -r "$backupfile" ]; then + echo "configurations-file $backupfile it is not readable" + else + echo "restoring $backupfile" + backupfile_basename=`basename $backupfile` + cp $backupfile /tgt_root + chroot /tgt_root /usr/sbin/sysmocom-restore $backupfile_basename + rm /tgt_root/$backupfile_basename + fi +else + echo "No configurations-file found" +fi + +umount /tgt_root sync echo "Remove your installation media, and press ENTER" From 930665f4b10c030fba1430c32c35c77ef3cfe9fc Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Mon, 8 Sep 2014 15:28:17 +0200 Subject: [PATCH 373/908] meta-sysmocom-bsp: Update sysmocom-odu to build wireless-tools and wifi drivers --- conf/machine/sysmocom-odu.conf | 2 ++ recipes-bsp/linux/files/sysmocom-odu/defconfig | 10 ++++++++++ recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/conf/machine/sysmocom-odu.conf b/conf/machine/sysmocom-odu.conf index d14a7bec34..beada11857 100644 --- a/conf/machine/sysmocom-odu.conf +++ b/conf/machine/sysmocom-odu.conf @@ -38,4 +38,6 @@ EXTRA_IMAGEDEPENDS += "barebox-sysmocom" MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ kernel \ + kernel-module-rt2800usb \ + linux-firmware-ralink \ " diff --git a/recipes-bsp/linux/files/sysmocom-odu/defconfig b/recipes-bsp/linux/files/sysmocom-odu/defconfig index fe94ee6d0a..ec141c2660 100644 --- a/recipes-bsp/linux/files/sysmocom-odu/defconfig +++ b/recipes-bsp/linux/files/sysmocom-odu/defconfig @@ -154,6 +154,16 @@ CONFIG_USB_USBNET=y # CONFIG_USB_BELKIN is not set # CONFIG_USB_ARMLINUX is not set # CONFIG_USB_NET_ZAURUS is not set +CONFIG_WLAN=y +CONFIG_RT2X00=m +CONFIG_RT2800USB=m +CONFIG_RT2800USB_RT33XX=y +CONFIG_RT2800USB_RT35XX=y +CONFIG_RT2800_LIB=m +CONFIG_RT2X00_LIB_USB=m +CONFIG_RT2X00_LIB=m +CONFIG_RT2X00_LIB_FIRMWARE=y +CONFIG_RT2X00_LIB_CRYPTO=y CONFIG_WL12XX_MENU=y CONFIG_WL12XX=m CONFIG_WL12XX_SDIO=m diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index 523e070a26..a47f98427a 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -17,7 +17,7 @@ SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" SRCREV_sysmocom-odu = "f11945e1d688bef5d2a81cc0255b19ed416cab42" LINUX_VERSION_sysmocom-odu = "3.2.0" -PR = "r34" +PR = "r35" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ From 1d29e4db37f7e65b28ddb8833ad1c95cac901c7d Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Mon, 8 Sep 2014 18:37:17 +0200 Subject: [PATCH 374/908] wifi2udp: Initial version and as part of a patch to wireless-tools This is using UDP similiar to gps2udp. Holger has pushed for a simple solution like this to be replaced by a proper application that will use AMQP. Fixes: ORT#586 --- .../files/0001-Add-wifi2udp-program.patch | 185 ++++++++++++++++++ .../wireless-tools/files/wifi2udp.service | 7 + .../wireless-tools/wireless-tools_29.bbappend | 21 ++ 3 files changed, 213 insertions(+) create mode 100644 recipes-fixes/wireless-tools/files/0001-Add-wifi2udp-program.patch create mode 100644 recipes-fixes/wireless-tools/files/wifi2udp.service create mode 100644 recipes-fixes/wireless-tools/wireless-tools_29.bbappend diff --git a/recipes-fixes/wireless-tools/files/0001-Add-wifi2udp-program.patch b/recipes-fixes/wireless-tools/files/0001-Add-wifi2udp-program.patch new file mode 100644 index 0000000000..fffcfc896b --- /dev/null +++ b/recipes-fixes/wireless-tools/files/0001-Add-wifi2udp-program.patch @@ -0,0 +1,185 @@ +From 987960ea03c59a2ef9164e4f7309031ef4e0242d Mon Sep 17 00:00:00 2001 +Message-Id: <987960ea03c59a2ef9164e4f7309031ef4e0242d.1410189314.git.daniel@totalueberwachung.de> +From: Daniel Willmann +Date: Mon, 8 Sep 2014 15:53:54 +0200 +Subject: [PATCH 1/1] Add wifi2udp program + +--- + Makefile | 4 +- + wifi2udp.c | 146 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 149 insertions(+), 1 deletion(-) + create mode 100644 wifi2udp.c + +Index: wireless_tools.29/Makefile +=================================================================== +--- wireless_tools.29.orig/Makefile 2014-09-08 17:27:45.000000000 +0200 ++++ wireless_tools.29/Makefile 2014-09-08 17:32:52.065211007 +0200 +@@ -48,7 +48,7 @@ + # Targets to build + STATIC=libiw.a + DYNAMIC=libiw.so.$(WT_VERSION) +-PROGS= iwconfig iwlist iwpriv iwspy iwgetid iwevent ifrename ++PROGS= iwconfig iwlist iwpriv iwspy iwgetid iwevent ifrename wifi2udp + MANPAGES8=iwconfig.8 iwlist.8 iwpriv.8 iwspy.8 iwgetid.8 iwevent.8 ifrename.8 + MANPAGES7=wireless.7 + MANPAGES5=iftab.5 +@@ -135,6 +135,8 @@ + + macaddr: macaddr.o $(IWLIB) + ++wifi2udp: wifi2udp.o $(IWLIB) ++ + iwmulticall: iwmulticall.o + $(CC) $(LDFLAGS) $(STRIPFLAGS) $(XCFLAGS) -o $@ $^ $(LIBS) + +Index: wireless_tools.29/wifi2udp.c +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ wireless_tools.29/wifi2udp.c 2014-09-08 17:30:08.217211001 +0200 +@@ -0,0 +1,146 @@ ++ ++#include ++#include ++#include ++#include ++ ++#include ++ ++static int verbose = 0; ++static int delay = 10; ++ ++static void escape_essid(const char *src, char *dst, ssize_t len) ++{ ++ int i, j; ++ ++ for (i = 0, j = 0; j < len; i++, j++) { ++ if (src[i] == '"') { ++ dst[j] = '\\'; ++ j++; ++ if (j == len) ++ break; ++ } ++ ++ dst[j] = src[i]; ++ ++ if (!src[i]) ++ return; ++ } ++} ++ ++static void scan_wifi(char *iface, const char *oduiface, const char *server, int port) ++{ ++ int sock, rc; ++ iwrange range; ++ struct ifreq buf; ++ char mac[20]; ++ ++ struct sockaddr_in remote; ++ struct hostent *hp; ++ ++ hp = gethostbyname(server); ++ if (!hp) { ++ printf("Could not resolve %s\n", server); ++ exit(-1); ++ } ++ ++ remote.sin_family = AF_INET; ++ memcpy(&remote.sin_addr, hp->h_addr, hp->h_length); ++ remote.sin_port = htons(port); ++ ++ /* Retrieve MAC address of Wifi card */ ++ sock = socket(PF_INET, SOCK_DGRAM, 0); ++ memset(&buf, 0, sizeof(buf)); ++ ++ strcpy(buf.ifr_name, oduiface); ++ ioctl(sock, SIOCGIFHWADDR, &buf); ++ iw_sawap_ntop(&buf.ifr_hwaddr, mac); ++ ++ sock = iw_sockets_open(); ++ ++ rc = iw_get_range_info(sock, iface, &range); ++ if (rc < 0) { ++ printf("iw_get_range_info() returned %i\n", rc); ++ exit(2); ++ } ++ ++ while (1) { ++ time_t now; ++ wireless_scan_head head; ++ wireless_scan *result; ++ /* Scan for wireless networks */ ++ rc = iw_scan(sock, iface, range.we_version_compiled, &head); ++ if (rc < 0) { ++ printf("iw_scan() returned %i\n", rc); ++ exit(2); ++ } ++ ++ now = time(NULL); ++ ++ /* Print the results */ ++ result = head.result; ++ while (NULL != result) { ++ char bssid[20]; ++ char line[1024]; ++ char essid_escaped[50]; ++ iw_sawap_ntop(&result->ap_addr, bssid); ++ ++ escape_essid(result->b.essid, essid_escaped, 50); ++ snprintf(line, 1024, "WIFI,%li,%s,\"%s\";%s;%0.0f;%i\r\n", now, mac, essid_escaped, bssid, result->b.freq/1000000, (int8_t)result->stats.qual.level); ++ if (verbose) ++ printf("%s", line); ++ rc = sendto(sock, line, strlen(line), 0, (struct sockaddr*)&remote, sizeof(remote)); ++ if (rc == -1) ++ printf("Failed to send message: %s\n", strerror(errno)); ++ result = result->next; ++ } ++ sleep(delay); ++ } ++} ++ ++static void usage(void) ++{ ++ printf("Usage: prog [options] host [port]\n"); ++} ++ ++int main(int argc, char *argv[]) ++{ ++ int option; ++ char *wifiiface = NULL, *ifacename = NULL, *server; ++ int port = 20001; ++ ++ while ((option = getopt(argc, argv, "?hvw:i:d:")) != -1) { ++ switch (option) { ++ case 'v': ++ verbose = 1; ++ break; ++ case 'w': ++ wifiiface = optarg; ++ break; ++ case 'i': ++ ifacename = optarg; ++ break; ++ case 'd': ++ delay = atoi(optarg); ++ break; ++ case '?': ++ case 'h': ++ usage(); ++ exit(1); ++ } ++ } ++ ++ if (optind < argc) { ++ server = argv[optind]; ++ optind++; ++ } else { ++ usage(); ++ exit(-1); ++ } ++ if (optind < argc) ++ port = atoi(argv[optind]); ++ ++ scan_wifi(wifiiface, ifacename, server, port); ++ ++ return 0; ++} diff --git a/recipes-fixes/wireless-tools/files/wifi2udp.service b/recipes-fixes/wireless-tools/files/wifi2udp.service new file mode 100644 index 0000000000..93ac78763f --- /dev/null +++ b/recipes-fixes/wireless-tools/files/wifi2udp.service @@ -0,0 +1,7 @@ +[Unit] +Description=WIFI scan service + +[Service] +ExecStart=/usr/sbin/wifi2udp -w wlan0 -i eth0 10.3.0.2 +Restart=always +RestartSec=2 diff --git a/recipes-fixes/wireless-tools/wireless-tools_29.bbappend b/recipes-fixes/wireless-tools/wireless-tools_29.bbappend new file mode 100644 index 0000000000..05543a4d58 --- /dev/null +++ b/recipes-fixes/wireless-tools/wireless-tools_29.bbappend @@ -0,0 +1,21 @@ +THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:" + +PRINC="3" + +SRC_URI += "file://0001-Add-wifi2udp-program.patch \ + file://wifi2udp.service" + +PACKAGES =+ "wireless-tools-wifi2udp" + +FILES_wireless-tools-wifi2udp = "${sbindir}/wifi2udp \ + ${systemd_unitdir}/system/wifi2udp.service \ + ${systemd_unitdir}/system/multi-user.target.wants/wifi2udp.service" + +do_install_append() { + install -m 0755 wifi2udp ${D}${sbindir}/wifi2udp + install -d ${D}${systemd_unitdir}/system/ + install -m 0644 ${WORKDIR}/wifi2udp.service ${D}${systemd_unitdir}/system/ + install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/ + ln -sf ../wifi2udp.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ +} From bc0c670ee3d7f01a5ce18049c0067b7f65b0dce8 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 8 Sep 2014 18:39:39 +0200 Subject: [PATCH 375/908] wireless-tools: Don't break the edison build and only do it on dora --- .../{wireless-tools_29.bbappend => wireless-tools_sysmocom.inc} | 0 yocto-dora/wireless-tools_29.bbappend | 1 + 2 files changed, 1 insertion(+) rename recipes-fixes/wireless-tools/{wireless-tools_29.bbappend => wireless-tools_sysmocom.inc} (100%) create mode 100644 yocto-dora/wireless-tools_29.bbappend diff --git a/recipes-fixes/wireless-tools/wireless-tools_29.bbappend b/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc similarity index 100% rename from recipes-fixes/wireless-tools/wireless-tools_29.bbappend rename to recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc diff --git a/yocto-dora/wireless-tools_29.bbappend b/yocto-dora/wireless-tools_29.bbappend new file mode 100644 index 0000000000..ddc8865d5c --- /dev/null +++ b/yocto-dora/wireless-tools_29.bbappend @@ -0,0 +1 @@ +require recipes-fixes/wireless-tools/${PN}_sysmocom.inc From b84b8a9947eae3ca224cfeb2002fd3e78e0c16ef Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 8 Sep 2014 18:51:03 +0200 Subject: [PATCH 376/908] sysmocom-odu: Pull these in through a task as it depends on model --- conf/machine/sysmocom-odu.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/conf/machine/sysmocom-odu.conf b/conf/machine/sysmocom-odu.conf index beada11857..d14a7bec34 100644 --- a/conf/machine/sysmocom-odu.conf +++ b/conf/machine/sysmocom-odu.conf @@ -38,6 +38,4 @@ EXTRA_IMAGEDEPENDS += "barebox-sysmocom" MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ kernel \ - kernel-module-rt2800usb \ - linux-firmware-ralink \ " From 68e95f14b9930f1759394738182938e37af1a22b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 8 Sep 2014 18:57:08 +0200 Subject: [PATCH 377/908] wifi2udp: Update the format of the output --- .../wireless-tools/files/0001-Add-wifi2udp-program.patch | 2 +- recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-fixes/wireless-tools/files/0001-Add-wifi2udp-program.patch b/recipes-fixes/wireless-tools/files/0001-Add-wifi2udp-program.patch index fffcfc896b..231960b63f 100644 --- a/recipes-fixes/wireless-tools/files/0001-Add-wifi2udp-program.patch +++ b/recipes-fixes/wireless-tools/files/0001-Add-wifi2udp-program.patch @@ -125,7 +125,7 @@ Index: wireless_tools.29/wifi2udp.c + iw_sawap_ntop(&result->ap_addr, bssid); + + escape_essid(result->b.essid, essid_escaped, 50); -+ snprintf(line, 1024, "WIFI,%li,%s,\"%s\";%s;%0.0f;%i\r\n", now, mac, essid_escaped, bssid, result->b.freq/1000000, (int8_t)result->stats.qual.level); ++ snprintf(line, 1024, "WIFI,%li,%s,\"%s\",%s,%0.0f,%i\r\n", now, mac, essid_escaped, bssid, result->b.freq/1000000, (int8_t)result->stats.qual.level); + if (verbose) + printf("%s", line); + rc = sendto(sock, line, strlen(line), 0, (struct sockaddr*)&remote, sizeof(remote)); diff --git a/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc b/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc index 05543a4d58..5b4d52076a 100644 --- a/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc +++ b/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc @@ -1,7 +1,7 @@ THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:" -PRINC="3" +PRINC="4" SRC_URI += "file://0001-Add-wifi2udp-program.patch \ file://wifi2udp.service" From f1296005b230697c9319737e18d490d40d947826 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 8 Sep 2014 20:00:55 +0200 Subject: [PATCH 378/908] wifi2udp: Bring the device up before starting the application --- recipes-fixes/wireless-tools/files/wifi2udp.service | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-fixes/wireless-tools/files/wifi2udp.service b/recipes-fixes/wireless-tools/files/wifi2udp.service index 93ac78763f..710c6c5779 100644 --- a/recipes-fixes/wireless-tools/files/wifi2udp.service +++ b/recipes-fixes/wireless-tools/files/wifi2udp.service @@ -2,6 +2,7 @@ Description=WIFI scan service [Service] +ExecStartPre=/sbin/ifconfig wlan0 up ExecStart=/usr/sbin/wifi2udp -w wlan0 -i eth0 10.3.0.2 Restart=always RestartSec=2 From 731393b05195acbfe6524cf358916518e05ace74 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 8 Sep 2014 20:07:50 +0200 Subject: [PATCH 379/908] wifi2udp: Increase the pr after changing the patch --- recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc b/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc index 5b4d52076a..f7f8dff7cc 100644 --- a/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc +++ b/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc @@ -1,7 +1,7 @@ THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:" -PRINC="4" +PRINC="5" SRC_URI += "file://0001-Add-wifi2udp-program.patch \ file://wifi2udp.service" From 528f1fcce3c5e61b5beb9e8db79116b4a8fce578 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 8 Sep 2014 20:26:15 +0200 Subject: [PATCH 380/908] wifi2udp: Correct the VPN address --- recipes-fixes/wireless-tools/files/wifi2udp.service | 2 +- recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-fixes/wireless-tools/files/wifi2udp.service b/recipes-fixes/wireless-tools/files/wifi2udp.service index 710c6c5779..67dba6c87e 100644 --- a/recipes-fixes/wireless-tools/files/wifi2udp.service +++ b/recipes-fixes/wireless-tools/files/wifi2udp.service @@ -3,6 +3,6 @@ Description=WIFI scan service [Service] ExecStartPre=/sbin/ifconfig wlan0 up -ExecStart=/usr/sbin/wifi2udp -w wlan0 -i eth0 10.3.0.2 +ExecStart=/usr/sbin/wifi2udp -w wlan0 -i eth0 10.3.0.1 Restart=always RestartSec=2 diff --git a/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc b/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc index f7f8dff7cc..7eea7f3dd0 100644 --- a/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc +++ b/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc @@ -1,7 +1,7 @@ THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:" -PRINC="5" +PRINC="6" SRC_URI += "file://0001-Add-wifi2udp-program.patch \ file://wifi2udp.service" From 8d296754e79570cfe22f74b488ad6fe80867f070 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 24 Sep 2014 12:27:44 +0200 Subject: [PATCH 381/908] linux-sysmocom: Upgrade ODU kernel to 3.2.63 This has only been boot tested on the Phytec development board and not our final system. It has not been tested with USB support --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index a47f98427a..f51aeca868 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -14,8 +14,8 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" # odu handling. -SRCREV_sysmocom-odu = "f11945e1d688bef5d2a81cc0255b19ed416cab42" -LINUX_VERSION_sysmocom-odu = "3.2.0" +SRCREV_sysmocom-odu = "6e6273dd4e6c29f9ed23e898393a3ab89647ef15" +LINUX_VERSION_sysmocom-odu = "3.2.63" PR = "r35" PV = "${LINUX_VERSION}+git${SRCPV}" From 4cf72070516556029def23ea673f04e6844fee30 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 24 Sep 2014 15:07:15 +0200 Subject: [PATCH 382/908] gpsd: Bump the PR after the latest config change for sysmobts-v2 --- recipes-extra/gpsd/gpsd_3.10.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extra/gpsd/gpsd_3.10.bb b/recipes-extra/gpsd/gpsd_3.10.bb index c680ae164f..74c5e73ddf 100644 --- a/recipes-extra/gpsd/gpsd_3.10.bb +++ b/recipes-extra/gpsd/gpsd_3.10.bb @@ -6,7 +6,7 @@ DEPENDS = "ncurses python" #DEPENDS = "ncurses libusb1 python" PROVIDES = "virtual/gpsd" -PR = "r3.15" +PR = "r3.16" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ From ddc43d20a70210a00d0eeff948ef505b38648c18 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 24 Sep 2014 15:22:43 +0200 Subject: [PATCH 383/908] tasks-sysmocom-feed: Provide lcr in our package feed as well --- recipes-apps/tasks/task-sysmocom-feed.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-feed.bb b/recipes-apps/tasks/task-sysmocom-feed.bb index 9d81911a60..2ce678cd14 100644 --- a/recipes-apps/tasks/task-sysmocom-feed.bb +++ b/recipes-apps/tasks/task-sysmocom-feed.bb @@ -3,10 +3,11 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY_${PN} = "1" -PR = "r9" +PR = "r10" RDEPENDS_${PN} = "\ task-sysmocom-tools \ task-sysmocom-debug \ minicom vlan patch procps psmisc \ - ppp rsync sed usbutils openvpn iperf" + ppp rsync sed usbutils openvpn iperf \ + lcr" From 2045245f3af053e8edc4518416bb07dde2e2771a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 24 Sep 2014 15:52:02 +0200 Subject: [PATCH 384/908] sysmocom-backup: Allow to back-up more files than the initial config Creating a new file in /etc/sysmocom/backup.d/ that ends with .backup will be read during the backup and then be restored. This way we can easily extend the files to backup. --- recipes-apps/sysmocom-backup/files/sysmocom-backup | 11 +++++++++++ recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/recipes-apps/sysmocom-backup/files/sysmocom-backup b/recipes-apps/sysmocom-backup/files/sysmocom-backup index 403a32ab10..da07557d3c 100755 --- a/recipes-apps/sysmocom-backup/files/sysmocom-backup +++ b/recipes-apps/sysmocom-backup/files/sysmocom-backup @@ -23,7 +23,18 @@ FILES="\ var/lib/osmocom/hlr.sqlite3 \ etc/lcr \ etc/udhcpd.conf \ + etc/sysmocom/backup.d \ " + +# Pick some extra files +if [ -e /etc/sysmocom/backup.d/ ]; then + for extra in `ls /etc/sysmocom/backup.d/*.backup`; + do + echo "Add extras from $extra." + FILES="$FILES `cat $extra`" + done +fi + DATE=`date +%Y%m%d` diff --git a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb index 5d58031a1c..130fcb67cb 100644 --- a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb +++ b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb @@ -1,7 +1,7 @@ DESCRIPTION = "sysmocom config backup and restore scripts" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r11" +PR = "r12" SRC_URI = "file://sysmocom-backup file://sysmocom-restore" RDEPENDS_${PN} = "tar" From 12a661314b69948d93d4cf8421603fb8407a4a2f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 24 Sep 2014 18:24:09 +0200 Subject: [PATCH 385/908] update-rc.d: Use _prepend to add to the extras WARNING: FILESEXTRAPATHS-variable, must always use _prepend (or _append) type of assignment, and don't forget the colon. Please assign it with the format of: FILESEXTRAPATHS_append := ":${THISDIR}/Your_Files_Path" or FILESEXTRAPATHS_prepend := "${THISDIR}/Your_Files_Path:" in your bbappend file --- recipes-fixes/update-rc.d/update-rc.d_angstrom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-fixes/update-rc.d/update-rc.d_angstrom.inc b/recipes-fixes/update-rc.d/update-rc.d_angstrom.inc index 0ec73014dd..966e6d6efe 100644 --- a/recipes-fixes/update-rc.d/update-rc.d_angstrom.inc +++ b/recipes-fixes/update-rc.d/update-rc.d_angstrom.inc @@ -1,4 +1,4 @@ -FILESEXTRAPATHS := "${THISDIR}/files" +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI += "file://0001-update-rc.d-make-s-a-noop-when-systemd-is-present.patch" From 20b1decdd2c830ebe4dfa6b88f6b78f071723fe0 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 24 Sep 2014 18:26:10 +0200 Subject: [PATCH 386/908] dizzy: Begin with the Poky/Yocto 1.7 release We are currently using 1.5 (dora). Copy the bbappends to the yocto-dizzy directory and update the version numbers. For busybox enable all features that were enabled between dora and origin/master. For opkg_svn.bbapend. In dizzy there is a version attached to it. This means we need to remove it from the yocto-shared directory and keep it everywhere else. --- conf/layer.conf | 4 +- .../busybox/busybox-1.22.1/busybox-ifplugd.sh | 36 + recipes-core/busybox/busybox-1.22.1/defconfig | 1020 +++++++++++++++++ .../ifplugd-use-a-larger-netlink-buffer.patch | 62 + yocto-dizzy/busybox_1.22.1.bbappend | 4 + .../core-image-minimal-initramfs.bbappend | 2 + yocto-dizzy/dbus_1.8.2.bbappend | 1 + yocto-dizzy/dropbear_2014.63.bbappend | 1 + yocto-dizzy/init-ifupdown_1.0.bbappend | 1 + .../initramfs-live-install_1.0.bbappend | 1 + yocto-dizzy/netbase_5.2.bbappend | 1 + .../opkg_0.2.2.bbappend | 0 yocto-dizzy/pkgconfig_0.28.bbappend | 1 + yocto-dizzy/systemd-compat-units.bbappend | 2 + yocto-dizzy/systemd_216.bbappend | 1 + yocto-dizzy/u-boot_2013.07.bbappend | 1 + yocto-dizzy/udev_182.bbappend | 1 + yocto-dizzy/update-rc.d_0.7.bbappend | 1 + yocto-dizzy/watchdog_5.13.bbappend | 1 + yocto-dizzy/wireless-tools_30.pre9.bbappend | 1 + yocto-dora/opkg_svn.bbappend | 1 + yocto-edison/opkg_svn.bbappend | 1 + 22 files changed, 1142 insertions(+), 2 deletions(-) create mode 100644 recipes-core/busybox/busybox-1.22.1/busybox-ifplugd.sh create mode 100644 recipes-core/busybox/busybox-1.22.1/defconfig create mode 100644 recipes-core/busybox/busybox-1.22.1/ifplugd-use-a-larger-netlink-buffer.patch create mode 100644 yocto-dizzy/busybox_1.22.1.bbappend create mode 100644 yocto-dizzy/core-image-minimal-initramfs.bbappend create mode 100644 yocto-dizzy/dbus_1.8.2.bbappend create mode 100644 yocto-dizzy/dropbear_2014.63.bbappend create mode 100644 yocto-dizzy/init-ifupdown_1.0.bbappend create mode 100644 yocto-dizzy/initramfs-live-install_1.0.bbappend create mode 100644 yocto-dizzy/netbase_5.2.bbappend rename yocto-shared/opkg_svn.bbappend => yocto-dizzy/opkg_0.2.2.bbappend (100%) create mode 100644 yocto-dizzy/pkgconfig_0.28.bbappend create mode 100644 yocto-dizzy/systemd-compat-units.bbappend create mode 100644 yocto-dizzy/systemd_216.bbappend create mode 100644 yocto-dizzy/u-boot_2013.07.bbappend create mode 100644 yocto-dizzy/udev_182.bbappend create mode 100644 yocto-dizzy/update-rc.d_0.7.bbappend create mode 100644 yocto-dizzy/watchdog_5.13.bbappend create mode 100644 yocto-dizzy/wireless-tools_30.pre9.bbappend create mode 100644 yocto-dora/opkg_svn.bbappend create mode 100644 yocto-edison/opkg_svn.bbappend diff --git a/conf/layer.conf b/conf/layer.conf index ebc850d2d1..62685d4503 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -8,8 +8,8 @@ BBFILES += "${LAYERDIR}/yocto-shared/*.bbappend" # Now we will need to include the matching fixes for a yocto version BBFILES += "${BBFILES_SYSMOCOM_BSP}" -# selects specific distro or master when DISTRO_VERSION contains SNAPSHOT -BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5', 'dora'), ('1.1','edison')])[d.getVar('DISTRO_VERSION', True)[0:3]], 'master']['SNAPSHOT' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" +# selects specific distro or master when DISTRO_VERSION contains snapshot +BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5', 'dora'), ('1.1','edison'), ('1.7', 'dizzy')])[d.getVar('DISTRO_VERSION', True)[0:3]], 'master']['snapshot' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" BBFILE_COLLECTIONS += "sysmocom-bsp" BBFILE_PATTERN_sysmocom-bsp := "^${LAYERDIR}/" diff --git a/recipes-core/busybox/busybox-1.22.1/busybox-ifplugd.sh b/recipes-core/busybox/busybox-1.22.1/busybox-ifplugd.sh new file mode 100644 index 0000000000..05052bcf02 --- /dev/null +++ b/recipes-core/busybox/busybox-1.22.1/busybox-ifplugd.sh @@ -0,0 +1,36 @@ +#!/bin/sh +DAEMON=/usr/sbin/ifplugd +NAME=ifplugd +DESC="Busybox ifplugd Server" +ARGS=" -i eth0 -M -I -r /etc/ifplugd.sh" + +test -f $DAEMON || exit 1 + +set -e + +case "$1" in + start) + echo -n "starting $DESC: $NAME... " + /sbin/start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS + echo "done." + ;; + stop) + echo -n "stopping $DESC: $NAME... " + /sbin/start-stop-daemon -K -n $NAME + echo "done." + ;; + restart) + echo "Not restarting $DESC: $NAME... " + ;; + reload) + echo -n "reloading $DESC: $NAME... " + killall -HUP $(basename ${DAEMON}) + echo "done." + ;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 + ;; +esac + +exit 0 diff --git a/recipes-core/busybox/busybox-1.22.1/defconfig b/recipes-core/busybox/busybox-1.22.1/defconfig new file mode 100644 index 0000000000..684dc02b6d --- /dev/null +++ b/recipes-core/busybox/busybox-1.22.1/defconfig @@ -0,0 +1,1020 @@ +# +# Automatically generated make config: don't edit +# Busybox version: 1.20.2 +# Mon Aug 20 17:01:45 2012 +# +CONFIG_HAVE_DOT_CONFIG=y + +# +# Busybox Settings +# + +# +# General Configuration +# +# CONFIG_DESKTOP is not set +# CONFIG_EXTRA_COMPAT is not set +# CONFIG_INCLUDE_SUSv2 is not set +# CONFIG_USE_PORTABLE_CODE is not set +CONFIG_PLATFORM_LINUX=y +CONFIG_FEATURE_BUFFERS_USE_MALLOC=y +# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set +# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set +CONFIG_SHOW_USAGE=y +# CONFIG_FEATURE_VERBOSE_USAGE is not set +CONFIG_FEATURE_COMPRESS_USAGE=y +# CONFIG_FEATURE_INSTALLER is not set +# CONFIG_INSTALL_NO_USR is not set +# CONFIG_LOCALE_SUPPORT is not set +# CONFIG_UNICODE_SUPPORT is not set +# CONFIG_UNICODE_USING_LOCALE is not set +# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set +CONFIG_SUBST_WCHAR=0 +CONFIG_LAST_SUPPORTED_WCHAR=0 +# CONFIG_UNICODE_COMBINING_WCHARS is not set +# CONFIG_UNICODE_WIDE_WCHARS is not set +# CONFIG_UNICODE_BIDI_SUPPORT is not set +# CONFIG_UNICODE_NEUTRAL_TABLE is not set +# CONFIG_UNICODE_PRESERVE_BROKEN is not set +CONFIG_LONG_OPTS=y +CONFIG_FEATURE_DEVPTS=y +# CONFIG_FEATURE_CLEAN_UP is not set +CONFIG_FEATURE_UTMP=y +# CONFIG_FEATURE_WTMP is not set +CONFIG_FEATURE_PIDFILE=y +CONFIG_FEATURE_SUID=y +CONFIG_FEATURE_SUID_CONFIG=y +CONFIG_FEATURE_SUID_CONFIG_QUIET=y +# CONFIG_SELINUX is not set +# CONFIG_FEATURE_PREFER_APPLETS is not set +CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" +CONFIG_FEATURE_SYSLOG=y +CONFIG_FEATURE_HAVE_RPC=y + +# +# Build Options +# +# CONFIG_STATIC is not set +# CONFIG_PIE is not set +# CONFIG_NOMMU is not set +# CONFIG_BUILD_LIBBUSYBOX is not set +# CONFIG_FEATURE_INDIVIDUAL is not set +# CONFIG_FEATURE_SHARED_BUSYBOX is not set +CONFIG_LFS=y +# CONFIG_CROSS_COMPILER_PREFIX is not set +CONFIG_SYSROOT="" +# CONFIG_EXTRA_CFLAGS is not set +CONFIG_EXTRA_LDFLAGS="" +CONFIG_EXTRA_LDLIBS="" + +# +# Debugging Options +# +# CONFIG_DEBUG is not set +# CONFIG_DEBUG_PESSIMIZE is not set +# CONFIG_WERROR is not set +CONFIG_NO_DEBUG_LIB=y +# CONFIG_DMALLOC is not set +# CONFIG_EFENCE is not set + +# +# Installation Options ("make install" behavior) +# +CONFIG_INSTALL_APPLET_SYMLINKS=y +# CONFIG_INSTALL_APPLET_HARDLINKS is not set +# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set +# CONFIG_INSTALL_APPLET_DONT is not set +# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set +# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set +# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set +CONFIG_PREFIX="./_install" + +# +# Busybox Library Tuning +# +CONFIG_FEATURE_SYSTEMD=y +CONFIG_FEATURE_RTMINMAX=y +CONFIG_PASSWORD_MINLEN=6 +CONFIG_MD5_SMALL=1 +CONFIG_FEATURE_FAST_TOP=y +# CONFIG_FEATURE_ETC_NETWORKS is not set +CONFIG_FEATURE_USE_TERMIOS=y +CONFIG_FEATURE_EDITING=y +CONFIG_FEATURE_EDITING_MAX_LEN=1024 +# CONFIG_FEATURE_EDITING_VI is not set +CONFIG_FEATURE_EDITING_HISTORY=15 +CONFIG_FEATURE_EDITING_SAVEHISTORY=y +# CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is not set +# CONFIG_FEATURE_REVERSE_SEARCH is not set +CONFIG_FEATURE_TAB_COMPLETION=y +CONFIG_FEATURE_USERNAME_COMPLETION=y +CONFIG_FEATURE_EDITING_FANCY_PROMPT=y +# CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set +CONFIG_FEATURE_NON_POSIX_CP=y +# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set +CONFIG_FEATURE_COPYBUF_KB=4 +CONFIG_FEATURE_SKIP_ROOTFS=y +CONFIG_MONOTONIC_SYSCALL=y +CONFIG_IOCTL_HEX2STR_ERROR=y +CONFIG_FEATURE_HWIB=y + +# +# Applets +# + +# +# Archival Utilities +# +CONFIG_FEATURE_SEAMLESS_XZ=y +CONFIG_FEATURE_SEAMLESS_LZMA=y +CONFIG_FEATURE_SEAMLESS_BZ2=y +CONFIG_FEATURE_SEAMLESS_GZ=y +CONFIG_FEATURE_SEAMLESS_Z=y +CONFIG_AR=y +# CONFIG_FEATURE_AR_LONG_FILENAMES is not set +# CONFIG_FEATURE_AR_CREATE is not set +CONFIG_BUNZIP2=y +# CONFIG_BZIP2 is not set +CONFIG_CPIO=y +# CONFIG_FEATURE_CPIO_O is not set +# CONFIG_FEATURE_CPIO_P is not set +# CONFIG_DPKG is not set +# CONFIG_DPKG_DEB is not set +# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set +CONFIG_GUNZIP=y +CONFIG_GZIP=y +# CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set +CONFIG_GZIP_FAST=0 +# CONFIG_LZOP is not set +# CONFIG_LZOP_COMPR_HIGH is not set +# CONFIG_RPM2CPIO is not set +# CONFIG_RPM is not set +CONFIG_TAR=y +CONFIG_FEATURE_TAR_CREATE=y +CONFIG_FEATURE_TAR_AUTODETECT=y +CONFIG_FEATURE_TAR_FROM=y +CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY=y +# CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set +CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y +# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set +# CONFIG_FEATURE_TAR_TO_COMMAND is not set +# CONFIG_FEATURE_TAR_UNAME_GNAME is not set +CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y +# CONFIG_FEATURE_TAR_SELINUX is not set +# CONFIG_UNCOMPRESS is not set +# CONFIG_UNLZMA is not set +# CONFIG_FEATURE_LZMA_FAST is not set +# CONFIG_LZMA is not set +# CONFIG_UNXZ is not set +# CONFIG_XZ is not set +CONFIG_UNZIP=y + +# +# Coreutils +# +CONFIG_BASENAME=y +CONFIG_CAT=y +CONFIG_DATE=y +# CONFIG_FEATURE_DATE_ISOFMT is not set +# CONFIG_FEATURE_DATE_NANO is not set +CONFIG_FEATURE_DATE_COMPAT=y +# CONFIG_HOSTID is not set +CONFIG_ID=y +CONFIG_GROUPS=y +CONFIG_TEST=y +CONFIG_FEATURE_TEST_64=y +CONFIG_TOUCH=y +CONFIG_FEATURE_TOUCH_SUSV3=y +CONFIG_TR=y +CONFIG_FEATURE_TR_CLASSES=y +# CONFIG_FEATURE_TR_EQUIV is not set +# CONFIG_BASE64 is not set +CONFIG_WHO=y +CONFIG_USERS=y +# CONFIG_CAL is not set +# CONFIG_CATV is not set +CONFIG_CHGRP=y +CONFIG_CHMOD=y +CONFIG_CHOWN=y +# CONFIG_FEATURE_CHOWN_LONG_OPTIONS is not set +CONFIG_CHROOT=y +# CONFIG_CKSUM is not set +# CONFIG_COMM is not set +CONFIG_CP=y +# CONFIG_FEATURE_CP_LONG_OPTIONS is not set +CONFIG_CUT=y +CONFIG_DD=y +CONFIG_FEATURE_DD_SIGNAL_HANDLING=y +# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set +# CONFIG_FEATURE_DD_IBS_OBS is not set +CONFIG_DF=y +# CONFIG_FEATURE_DF_FANCY is not set +CONFIG_DIRNAME=y +# CONFIG_DOS2UNIX is not set +# CONFIG_UNIX2DOS is not set +CONFIG_DU=y +CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y +CONFIG_ECHO=y +CONFIG_FEATURE_FANCY_ECHO=y +CONFIG_ENV=y +CONFIG_FEATURE_ENV_LONG_OPTIONS=y +# CONFIG_EXPAND is not set +# CONFIG_FEATURE_EXPAND_LONG_OPTIONS is not set +CONFIG_EXPR=y +CONFIG_EXPR_MATH_SUPPORT_64=y +CONFIG_FALSE=y +# CONFIG_FOLD is not set +# CONFIG_FSYNC is not set +CONFIG_HEAD=y +# CONFIG_FEATURE_FANCY_HEAD is not set +# CONFIG_INSTALL is not set +# CONFIG_FEATURE_INSTALL_LONG_OPTIONS is not set +CONFIG_LN=y +CONFIG_LOGNAME=y +CONFIG_LS=y +CONFIG_FEATURE_LS_FILETYPES=y +CONFIG_FEATURE_LS_FOLLOWLINKS=y +CONFIG_FEATURE_LS_RECURSIVE=y +CONFIG_FEATURE_LS_SORTFILES=y +CONFIG_FEATURE_LS_TIMESTAMPS=y +CONFIG_FEATURE_LS_USERNAME=y +CONFIG_FEATURE_LS_COLOR=y +# CONFIG_FEATURE_LS_COLOR_IS_DEFAULT is not set +CONFIG_MD5SUM=y +CONFIG_MKDIR=y +CONFIG_FEATURE_MKDIR_LONG_OPTIONS=y +CONFIG_MKFIFO=y +CONFIG_MKNOD=y +CONFIG_MV=y +# CONFIG_FEATURE_MV_LONG_OPTIONS is not set +# CONFIG_NICE is not set +CONFIG_NOHUP=y +CONFIG_OD=y +# CONFIG_PRINTENV is not set +CONFIG_PRINTF=y +CONFIG_PWD=y +CONFIG_READLINK=y +CONFIG_FEATURE_READLINK_FOLLOW=y +CONFIG_REALPATH=y +CONFIG_RM=y +CONFIG_RMDIR=y +# CONFIG_FEATURE_RMDIR_LONG_OPTIONS is not set +CONFIG_SEQ=y +# CONFIG_SHA1SUM is not set +# CONFIG_SHA256SUM is not set +# CONFIG_SHA512SUM is not set +CONFIG_SLEEP=y +CONFIG_FEATURE_FANCY_SLEEP=y +# CONFIG_FEATURE_FLOAT_SLEEP is not set +CONFIG_SORT=y +CONFIG_FEATURE_SORT_BIG=y +# CONFIG_SPLIT is not set +# CONFIG_FEATURE_SPLIT_FANCY is not set +CONFIG_STAT=y +CONFIG_FEATURE_STAT_FORMAT=y +CONFIG_STTY=y +# CONFIG_SUM is not set +CONFIG_SYNC=y +# CONFIG_TAC is not set +CONFIG_TAIL=y +CONFIG_FEATURE_FANCY_TAIL=y +CONFIG_TEE=y +# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set +CONFIG_TRUE=y +CONFIG_TTY=y +CONFIG_UNAME=y +# CONFIG_UNEXPAND is not set +# CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS is not set +CONFIG_UNIQ=y +CONFIG_USLEEP=y +# CONFIG_UUDECODE is not set +# CONFIG_UUENCODE is not set +CONFIG_WC=y +# CONFIG_FEATURE_WC_LARGE is not set +CONFIG_WHOAMI=y +CONFIG_YES=y + +# +# Common options for cp and mv +# +# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set + +# +# Common options for ls, more and telnet +# +CONFIG_FEATURE_AUTOWIDTH=y + +# +# Common options for df, du, ls +# +CONFIG_FEATURE_HUMAN_READABLE=y + +# +# Common options for md5sum, sha1sum, sha256sum, sha512sum +# +CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y + +# +# Console Utilities +# +CONFIG_CHVT=y +# CONFIG_FGCONSOLE is not set +CONFIG_CLEAR=y +CONFIG_DEALLOCVT=y +CONFIG_DUMPKMAP=y +# CONFIG_KBD_MODE is not set +CONFIG_LOADFONT=y +CONFIG_LOADKMAP=y +CONFIG_OPENVT=y +CONFIG_RESET=y +# CONFIG_RESIZE is not set +# CONFIG_FEATURE_RESIZE_PRINT is not set +CONFIG_SETCONSOLE=y +# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set +# CONFIG_SETFONT is not set +# CONFIG_FEATURE_SETFONT_TEXTUAL_MAP is not set +CONFIG_DEFAULT_SETFONT_DIR="" +# CONFIG_SETKEYCODES is not set +# CONFIG_SETLOGCONS is not set +# CONFIG_SHOWKEY is not set + +# +# Common options for loadfont and setfont +# +# CONFIG_FEATURE_LOADFONT_PSF2 is not set +# CONFIG_FEATURE_LOADFONT_RAW is not set + +# +# Debian Utilities +# +CONFIG_MKTEMP=y +# CONFIG_PIPE_PROGRESS is not set +CONFIG_RUN_PARTS=y +CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y +# CONFIG_FEATURE_RUN_PARTS_FANCY is not set +CONFIG_START_STOP_DAEMON=y +CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y +CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y +CONFIG_WHICH=y + +# +# Editors +# +CONFIG_PATCH=y +CONFIG_VI=y +CONFIG_FEATURE_VI_MAX_LEN=1024 +CONFIG_FEATURE_VI_8BIT=y +CONFIG_FEATURE_VI_COLON=y +CONFIG_FEATURE_VI_YANKMARK=y +CONFIG_FEATURE_VI_SEARCH=y +# CONFIG_FEATURE_VI_REGEX_SEARCH is not set +CONFIG_FEATURE_VI_USE_SIGNALS=y +# CONFIG_FEATURE_VI_DOT_CMD is not set +# CONFIG_FEATURE_VI_READONLY is not set +# CONFIG_FEATURE_VI_SETOPTS is not set +# CONFIG_FEATURE_VI_SET is not set +CONFIG_FEATURE_VI_WIN_RESIZE=y +# CONFIG_FEATURE_VI_ASK_TERMINAL is not set +CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y +CONFIG_AWK=y +CONFIG_FEATURE_AWK_LIBM=y +CONFIG_CMP=y +CONFIG_DIFF=y +# CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set +CONFIG_FEATURE_DIFF_DIR=y +# CONFIG_ED is not set +CONFIG_SED=y +CONFIG_FEATURE_ALLOW_EXEC=y + +# +# Finding Utilities +# +CONFIG_FIND=y +CONFIG_FEATURE_FIND_PRINT0=y +CONFIG_FEATURE_FIND_MTIME=y +CONFIG_FEATURE_FIND_MMIN=y +CONFIG_FEATURE_FIND_PERM=y +CONFIG_FEATURE_FIND_TYPE=y +CONFIG_FEATURE_FIND_XDEV=y +CONFIG_FEATURE_FIND_MAXDEPTH=y +CONFIG_FEATURE_FIND_NEWER=y +# CONFIG_FEATURE_FIND_INUM is not set +CONFIG_FEATURE_FIND_EXEC=y +CONFIG_FEATURE_FIND_USER=y +CONFIG_FEATURE_FIND_GROUP=y +CONFIG_FEATURE_FIND_NOT=y +CONFIG_FEATURE_FIND_DEPTH=y +CONFIG_FEATURE_FIND_PAREN=y +CONFIG_FEATURE_FIND_SIZE=y +CONFIG_FEATURE_FIND_PRUNE=y +# CONFIG_FEATURE_FIND_DELETE is not set +CONFIG_FEATURE_FIND_PATH=y +CONFIG_FEATURE_FIND_REGEX=y +# CONFIG_FEATURE_FIND_CONTEXT is not set +# CONFIG_FEATURE_FIND_LINKS is not set +CONFIG_GREP=y +CONFIG_FEATURE_GREP_EGREP_ALIAS=y +CONFIG_FEATURE_GREP_FGREP_ALIAS=y +CONFIG_FEATURE_GREP_CONTEXT=y +CONFIG_XARGS=y +# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set +# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set +# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set +# CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set + +# +# Init Utilities +# +# CONFIG_BOOTCHARTD is not set +# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set +# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set +CONFIG_HALT=y +# CONFIG_FEATURE_CALL_TELINIT is not set +CONFIG_TELINIT_PATH="" +# CONFIG_INIT is not set +# CONFIG_FEATURE_USE_INITTAB is not set +# CONFIG_FEATURE_KILL_REMOVED is not set +CONFIG_FEATURE_KILL_DELAY=0 +# CONFIG_FEATURE_INIT_SCTTY is not set +# CONFIG_FEATURE_INIT_SYSLOG is not set +# CONFIG_FEATURE_EXTRA_QUIET is not set +# CONFIG_FEATURE_INIT_COREDUMPS is not set +# CONFIG_FEATURE_INITRD is not set +CONFIG_INIT_TERMINAL_TYPE="" +# CONFIG_MESG is not set +# CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP is not set + +# +# Login/Password Management Utilities +# +# CONFIG_ADD_SHELL is not set +# CONFIG_REMOVE_SHELL is not set +# CONFIG_FEATURE_SHADOWPASSWDS is not set +# CONFIG_USE_BB_PWD_GRP is not set +# CONFIG_USE_BB_SHADOW is not set +CONFIG_USE_BB_CRYPT=y +# CONFIG_USE_BB_CRYPT_SHA is not set +# CONFIG_ADDUSER is not set +# CONFIG_FEATURE_ADDUSER_LONG_OPTIONS is not set +# CONFIG_FEATURE_CHECK_NAMES is not set +CONFIG_FIRST_SYSTEM_ID=100 +CONFIG_LAST_SYSTEM_ID=999 +# CONFIG_ADDGROUP is not set +# CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS is not set +# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set +# CONFIG_DELUSER is not set +# CONFIG_DELGROUP is not set +# CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set +# CONFIG_GETTY is not set +# CONFIG_LOGIN is not set +# CONFIG_LOGIN_SESSION_AS_CHILD is not set +# CONFIG_PAM is not set +# CONFIG_LOGIN_SCRIPTS is not set +# CONFIG_FEATURE_NOLOGIN is not set +# CONFIG_FEATURE_SECURETTY is not set +# CONFIG_PASSWD is not set +# CONFIG_FEATURE_PASSWD_WEAK_CHECK is not set +# CONFIG_CRYPTPW is not set +# CONFIG_CHPASSWD is not set +CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="" +# CONFIG_SU is not set +# CONFIG_FEATURE_SU_SYSLOG is not set +# CONFIG_FEATURE_SU_CHECKS_SHELLS is not set +# CONFIG_SULOGIN is not set +# CONFIG_VLOCK is not set + +# +# Linux Ext2 FS Progs +# +CONFIG_CHATTR=y +CONFIG_FSCK=y +# CONFIG_LSATTR is not set +# CONFIG_TUNE2FS is not set + +# +# Linux Module Utilities +# +# CONFIG_MODINFO is not set +# CONFIG_MODPROBE_SMALL is not set +# CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE is not set +# CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set +CONFIG_INSMOD=y +CONFIG_RMMOD=y +CONFIG_LSMOD=y +# CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set +CONFIG_MODPROBE=y +CONFIG_FEATURE_MODPROBE_BLACKLIST=y +CONFIG_DEPMOD=y + +# +# Options common to multiple modutils +# +# CONFIG_FEATURE_2_4_MODULES is not set +# CONFIG_FEATURE_INSMOD_TRY_MMAP is not set +# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set +# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set +# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set +CONFIG_FEATURE_CHECK_TAINTED_MODULE=y +CONFIG_FEATURE_MODUTILS_ALIAS=y +CONFIG_FEATURE_MODUTILS_SYMBOLS=y +CONFIG_DEFAULT_MODULES_DIR="/lib/modules" +CONFIG_DEFAULT_DEPMOD_FILE="modules.dep" + +# +# Linux System Utilities +# +# CONFIG_BLOCKDEV is not set +# CONFIG_MDEV is not set +# CONFIG_FEATURE_MDEV_CONF is not set +# CONFIG_FEATURE_MDEV_RENAME is not set +# CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set +# CONFIG_FEATURE_MDEV_EXEC is not set +# CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set +# CONFIG_REV is not set +# CONFIG_ACPID is not set +# CONFIG_FEATURE_ACPID_COMPAT is not set +# CONFIG_BLKID is not set +# CONFIG_FEATURE_BLKID_TYPE is not set +CONFIG_DMESG=y +CONFIG_FEATURE_DMESG_PRETTY=y +CONFIG_FBSET=y +CONFIG_FEATURE_FBSET_FANCY=y +CONFIG_FEATURE_FBSET_READMODE=y +# CONFIG_FDFLUSH is not set +# CONFIG_FDFORMAT is not set +CONFIG_FDISK=y +# CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set +CONFIG_FEATURE_FDISK_WRITABLE=y +# CONFIG_FEATURE_AIX_LABEL is not set +# CONFIG_FEATURE_SGI_LABEL is not set +# CONFIG_FEATURE_SUN_LABEL is not set +# CONFIG_FEATURE_OSF_LABEL is not set +# CONFIG_FEATURE_GPT_LABEL is not set +# CONFIG_FEATURE_FDISK_ADVANCED is not set +# CONFIG_FINDFS is not set +CONFIG_FLOCK=y +# CONFIG_FREERAMDISK is not set +CONFIG_FSCK_MINIX=y +# CONFIG_MKFS_EXT2 is not set +CONFIG_MKFS_MINIX=y +CONFIG_FEATURE_MINIX2=y +# CONFIG_MKFS_REISER is not set +# CONFIG_MKFS_VFAT is not set +# CONFIG_GETOPT is not set +# CONFIG_FEATURE_GETOPT_LONG is not set +CONFIG_HEXDUMP=y +# CONFIG_FEATURE_HEXDUMP_REVERSE is not set +# CONFIG_HD is not set +CONFIG_HWCLOCK=y +CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS=y +CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y +# CONFIG_IPCRM is not set +# CONFIG_IPCS is not set +CONFIG_LOSETUP=y +# CONFIG_LSPCI is not set +# CONFIG_LSUSB is not set +CONFIG_MKSWAP=y +# CONFIG_FEATURE_MKSWAP_UUID is not set +CONFIG_MORE=y +CONFIG_MOUNT=y +# CONFIG_FEATURE_MOUNT_FAKE is not set +# CONFIG_FEATURE_MOUNT_VERBOSE is not set +# CONFIG_FEATURE_MOUNT_HELPERS is not set +# CONFIG_FEATURE_MOUNT_LABEL is not set +CONFIG_FEATURE_MOUNT_NFS=y +CONFIG_FEATURE_MOUNT_CIFS=y +CONFIG_FEATURE_MOUNT_FLAGS=y +CONFIG_FEATURE_MOUNT_FSTAB=y +CONFIG_PIVOT_ROOT=y +CONFIG_RDATE=y +# CONFIG_RDEV is not set +# CONFIG_READPROFILE is not set +# CONFIG_RTCWAKE is not set +# CONFIG_SCRIPT is not set +# CONFIG_SCRIPTREPLAY is not set +# CONFIG_SETARCH is not set +CONFIG_SWAPONOFF=y +CONFIG_FEATURE_SWAPON_PRI=y +CONFIG_SWITCH_ROOT=y +CONFIG_UMOUNT=y +CONFIG_FEATURE_UMOUNT_ALL=y + +# +# Common options for mount/umount +# +CONFIG_FEATURE_MOUNT_LOOP=y +CONFIG_FEATURE_MOUNT_LOOP_CREATE=y +# CONFIG_FEATURE_MTAB_SUPPORT is not set +# CONFIG_VOLUMEID is not set +# CONFIG_FEATURE_VOLUMEID_EXT is not set +# CONFIG_FEATURE_VOLUMEID_BTRFS is not set +# CONFIG_FEATURE_VOLUMEID_REISERFS is not set +# CONFIG_FEATURE_VOLUMEID_FAT is not set +# CONFIG_FEATURE_VOLUMEID_HFS is not set +# CONFIG_FEATURE_VOLUMEID_JFS is not set +# CONFIG_FEATURE_VOLUMEID_XFS is not set +# CONFIG_FEATURE_VOLUMEID_NTFS is not set +# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set +# CONFIG_FEATURE_VOLUMEID_UDF is not set +# CONFIG_FEATURE_VOLUMEID_LUKS is not set +# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set +# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set +# CONFIG_FEATURE_VOLUMEID_ROMFS is not set +# CONFIG_FEATURE_VOLUMEID_SYSV is not set +# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set +# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set + +# +# Miscellaneous Utilities +# +# CONFIG_CONSPY is not set +CONFIG_LESS=y +CONFIG_FEATURE_LESS_MAXLINES=9999999 +CONFIG_FEATURE_LESS_BRACKETS=y +CONFIG_FEATURE_LESS_FLAGS=y +# CONFIG_FEATURE_LESS_MARKS is not set +# CONFIG_FEATURE_LESS_REGEXP is not set +# CONFIG_FEATURE_LESS_WINCH is not set +# CONFIG_FEATURE_LESS_ASK_TERMINAL is not set +# CONFIG_FEATURE_LESS_DASHCMD is not set +# CONFIG_FEATURE_LESS_LINENUMS is not set +# CONFIG_NANDWRITE is not set +# CONFIG_NANDDUMP is not set +# CONFIG_SETSERIAL is not set +# CONFIG_UBIATTACH is not set +# CONFIG_UBIDETACH is not set +# CONFIG_UBIMKVOL is not set +# CONFIG_UBIRMVOL is not set +# CONFIG_UBIRSVOL is not set +# CONFIG_UBIUPDATEVOL is not set +# CONFIG_ADJTIMEX is not set +# CONFIG_BBCONFIG is not set +# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set +# CONFIG_BEEP is not set +CONFIG_FEATURE_BEEP_FREQ=0 +CONFIG_FEATURE_BEEP_LENGTH_MS=0 +# CONFIG_CHAT is not set +# CONFIG_FEATURE_CHAT_NOFAIL is not set +# CONFIG_FEATURE_CHAT_TTY_HIFI is not set +# CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set +# CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set +# CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set +# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set +# CONFIG_FEATURE_CHAT_CLR_ABORT is not set +# CONFIG_CHRT is not set +# CONFIG_CROND is not set +# CONFIG_FEATURE_CROND_D is not set +# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set +CONFIG_FEATURE_CROND_DIR="" +# CONFIG_CRONTAB is not set +CONFIG_DC=y +# CONFIG_FEATURE_DC_LIBM is not set +# CONFIG_DEVFSD is not set +# CONFIG_DEVFSD_MODLOAD is not set +# CONFIG_DEVFSD_FG_NP is not set +# CONFIG_DEVFSD_VERBOSE is not set +# CONFIG_FEATURE_DEVFS is not set +# CONFIG_DEVMEM is not set +# CONFIG_EJECT is not set +# CONFIG_FEATURE_EJECT_SCSI is not set +# CONFIG_FBSPLASH is not set +# CONFIG_FLASHCP is not set +# CONFIG_FLASH_LOCK is not set +# CONFIG_FLASH_UNLOCK is not set +# CONFIG_FLASH_ERASEALL is not set +# CONFIG_IONICE is not set +# CONFIG_INOTIFYD is not set +# CONFIG_LAST is not set +# CONFIG_FEATURE_LAST_SMALL is not set +# CONFIG_FEATURE_LAST_FANCY is not set +# CONFIG_HDPARM is not set +# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set +# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set +# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set +# CONFIG_MAKEDEVS is not set +# CONFIG_FEATURE_MAKEDEVS_LEAF is not set +# CONFIG_FEATURE_MAKEDEVS_TABLE is not set +# CONFIG_MAN is not set +CONFIG_MICROCOM=y +# CONFIG_MOUNTPOINT is not set +# CONFIG_MT is not set +# CONFIG_RAIDAUTORUN is not set +# CONFIG_READAHEAD is not set +CONFIG_RFKILL=y +# CONFIG_RUNLEVEL is not set +# CONFIG_RX is not set +# CONFIG_SETSID is not set +CONFIG_STRINGS=y +# CONFIG_TASKSET is not set +# CONFIG_FEATURE_TASKSET_FANCY is not set +CONFIG_TIME=y +# CONFIG_TIMEOUT is not set +# CONFIG_TTYSIZE is not set +# CONFIG_VOLNAME is not set +# CONFIG_WALL is not set +# CONFIG_WATCHDOG is not set + +# +# Networking Utilities +# +# CONFIG_NAMEIF is not set +# CONFIG_FEATURE_NAMEIF_EXTENDED is not set +# CONFIG_NBDCLIENT is not set +CONFIG_NC=y +# CONFIG_NC_SERVER is not set +# CONFIG_NC_EXTRA is not set +# CONFIG_NC_110_COMPAT is not set +CONFIG_PING=y +CONFIG_PING6=y +CONFIG_FEATURE_FANCY_PING=y +# CONFIG_WHOIS is not set +CONFIG_FEATURE_IPV6=y +# CONFIG_FEATURE_UNIX_LOCAL is not set +CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y +# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set +# CONFIG_ARP is not set +# CONFIG_ARPING is not set +# CONFIG_BRCTL is not set +# CONFIG_FEATURE_BRCTL_FANCY is not set +# CONFIG_FEATURE_BRCTL_SHOW is not set +CONFIG_DNSD=y +# CONFIG_ETHER_WAKE is not set +# CONFIG_FAKEIDENTD is not set +# CONFIG_FTPD is not set +# CONFIG_FEATURE_FTP_WRITE is not set +# CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set +# CONFIG_FTPGET is not set +# CONFIG_FTPPUT is not set +# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set +CONFIG_HOSTNAME=y +# CONFIG_HTTPD is not set +# CONFIG_FEATURE_HTTPD_RANGES is not set +# CONFIG_FEATURE_HTTPD_USE_SENDFILE is not set +# CONFIG_FEATURE_HTTPD_SETUID is not set +# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set +# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set +# CONFIG_FEATURE_HTTPD_CGI is not set +# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set +# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set +# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set +# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set +# CONFIG_FEATURE_HTTPD_PROXY is not set +# CONFIG_FEATURE_HTTPD_GZIP is not set +CONFIG_IFCONFIG=y +CONFIG_FEATURE_IFCONFIG_STATUS=y +# CONFIG_FEATURE_IFCONFIG_SLIP is not set +# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set +CONFIG_FEATURE_IFCONFIG_HW=y +# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set +# CONFIG_IFENSLAVE is not set +CONFIG_IFPLUGD=y +CONFIG_IFUPDOWN=y +CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate" +# CONFIG_FEATURE_IFUPDOWN_IP is not set +# CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN is not set +CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN=y +CONFIG_FEATURE_IFUPDOWN_IPV4=y +CONFIG_FEATURE_IFUPDOWN_IPV6=y +CONFIG_FEATURE_IFUPDOWN_MAPPING=y +CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y +# CONFIG_INETD is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set +# CONFIG_FEATURE_INETD_RPC is not set +CONFIG_IP=y +CONFIG_FEATURE_IP_ADDRESS=y +CONFIG_FEATURE_IP_LINK=y +CONFIG_FEATURE_IP_ROUTE=y +CONFIG_FEATURE_IP_TUNNEL=y +# CONFIG_FEATURE_IP_RULE is not set +# CONFIG_FEATURE_IP_SHORT_FORMS is not set +# CONFIG_FEATURE_IP_RARE_PROTOCOLS is not set +# CONFIG_IPADDR is not set +# CONFIG_IPLINK is not set +# CONFIG_IPROUTE is not set +# CONFIG_IPTUNNEL is not set +# CONFIG_IPRULE is not set +# CONFIG_IPCALC is not set +# CONFIG_FEATURE_IPCALC_FANCY is not set +# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set +CONFIG_NETSTAT=y +# CONFIG_FEATURE_NETSTAT_WIDE is not set +# CONFIG_FEATURE_NETSTAT_PRG is not set +CONFIG_NSLOOKUP=y +# CONFIG_NTPD is not set +# CONFIG_FEATURE_NTPD_SERVER is not set +# CONFIG_PSCAN is not set +CONFIG_ROUTE=y +# CONFIG_SLATTACH is not set +# CONFIG_TCPSVD is not set +CONFIG_TELNET=y +# CONFIG_FEATURE_TELNET_TTYPE is not set +CONFIG_FEATURE_TELNET_AUTOLOGIN=y +# CONFIG_TELNETD is not set +# CONFIG_FEATURE_TELNETD_STANDALONE is not set +# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set +CONFIG_TFTP=y +# CONFIG_TFTPD is not set + +# +# Common options for tftp/tftpd +# +CONFIG_FEATURE_TFTP_GET=y +CONFIG_FEATURE_TFTP_PUT=y +# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set +# CONFIG_FEATURE_TFTP_PROGRESS_BAR is not set +# CONFIG_TFTP_DEBUG is not set +CONFIG_TRACEROUTE=y +# CONFIG_TRACEROUTE6 is not set +# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set +# CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set +# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set +# CONFIG_TUNCTL is not set +# CONFIG_FEATURE_TUNCTL_UG is not set +# CONFIG_UDHCPC6 is not set +CONFIG_UDHCPD=y +# CONFIG_DHCPRELAY is not set +CONFIG_DUMPLEASES=y +# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set +# CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC is not set +CONFIG_DHCPD_LEASES_FILE="/var/lib/misc/udhcpd.leases" +CONFIG_UDHCPC=y +CONFIG_FEATURE_UDHCPC_ARPING=y +# CONFIG_FEATURE_UDHCP_PORT is not set +CONFIG_UDHCP_DEBUG=0 +# CONFIG_FEATURE_UDHCP_RFC3397 is not set +# CONFIG_FEATURE_UDHCP_8021Q is not set +CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" +CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +# CONFIG_UDPSVD is not set +# CONFIG_VCONFIG is not set +CONFIG_WGET=y +CONFIG_FEATURE_WGET_STATUSBAR=y +CONFIG_FEATURE_WGET_AUTHENTICATION=y +CONFIG_FEATURE_WGET_LONG_OPTIONS=y +CONFIG_FEATURE_WGET_TIMEOUT=y +# CONFIG_ZCIP is not set + +# +# Print Utilities +# +# CONFIG_LPD is not set +# CONFIG_LPR is not set +# CONFIG_LPQ is not set + +# +# Mail Utilities +# +# CONFIG_MAKEMIME is not set +CONFIG_FEATURE_MIME_CHARSET="" +# CONFIG_POPMAILDIR is not set +# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set +# CONFIG_REFORMIME is not set +# CONFIG_FEATURE_REFORMIME_COMPAT is not set +# CONFIG_SENDMAIL is not set + +# +# Process Utilities +# +# CONFIG_IOSTAT is not set +# CONFIG_LSOF is not set +# CONFIG_MPSTAT is not set +# CONFIG_NMETER is not set +# CONFIG_PMAP is not set +# CONFIG_POWERTOP is not set +# CONFIG_PSTREE is not set +# CONFIG_PWDX is not set +# CONFIG_SMEMCAP is not set +CONFIG_UPTIME=y +# CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set +CONFIG_FREE=y +CONFIG_FUSER=y +CONFIG_KILL=y +CONFIG_KILLALL=y +# CONFIG_KILLALL5 is not set +# CONFIG_PGREP is not set +CONFIG_PIDOF=y +# CONFIG_FEATURE_PIDOF_SINGLE is not set +# CONFIG_FEATURE_PIDOF_OMIT is not set +# CONFIG_PKILL is not set +CONFIG_PS=y +CONFIG_FEATURE_PS_WIDE=y +CONFIG_FEATURE_PS_LONG=y +# CONFIG_FEATURE_PS_TIME is not set +# CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS is not set +# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set +CONFIG_RENICE=y +CONFIG_BB_SYSCTL=y +CONFIG_TOP=y +CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y +CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y +# CONFIG_FEATURE_TOP_SMP_CPU is not set +# CONFIG_FEATURE_TOP_DECIMALS is not set +# CONFIG_FEATURE_TOP_SMP_PROCESS is not set +# CONFIG_FEATURE_TOPMEM is not set +# CONFIG_FEATURE_SHOW_THREADS is not set +CONFIG_WATCH=y + +# +# Runit Utilities +# +# CONFIG_RUNSV is not set +# CONFIG_RUNSVDIR is not set +# CONFIG_FEATURE_RUNSVDIR_LOG is not set +# CONFIG_SV is not set +CONFIG_SV_DEFAULT_SERVICE_DIR="" +# CONFIG_SVLOGD is not set +# CONFIG_CHPST is not set +# CONFIG_SETUIDGID is not set +# CONFIG_ENVUIDGID is not set +# CONFIG_ENVDIR is not set +# CONFIG_SOFTLIMIT is not set +# CONFIG_CHCON is not set +# CONFIG_FEATURE_CHCON_LONG_OPTIONS is not set +# CONFIG_GETENFORCE is not set +# CONFIG_GETSEBOOL is not set +# CONFIG_LOAD_POLICY is not set +# CONFIG_MATCHPATHCON is not set +# CONFIG_RESTORECON is not set +# CONFIG_RUNCON is not set +# CONFIG_FEATURE_RUNCON_LONG_OPTIONS is not set +# CONFIG_SELINUXENABLED is not set +# CONFIG_SETENFORCE is not set +# CONFIG_SETFILES is not set +# CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set +# CONFIG_SETSEBOOL is not set +# CONFIG_SESTATUS is not set + +# +# Shells +# +CONFIG_ASH=y +CONFIG_ASH_BASH_COMPAT=y +# CONFIG_ASH_IDLE_TIMEOUT is not set +CONFIG_ASH_JOB_CONTROL=y +CONFIG_ASH_ALIAS=y +CONFIG_ASH_GETOPTS=y +CONFIG_ASH_BUILTIN_ECHO=y +CONFIG_ASH_BUILTIN_PRINTF=y +CONFIG_ASH_BUILTIN_TEST=y +# CONFIG_ASH_CMDCMD is not set +# CONFIG_ASH_MAIL is not set +CONFIG_ASH_OPTIMIZE_FOR_SIZE=y +# CONFIG_ASH_RANDOM_SUPPORT is not set +CONFIG_ASH_EXPAND_PRMT=y +# CONFIG_CTTYHACK is not set +# CONFIG_HUSH is not set +# CONFIG_HUSH_BASH_COMPAT is not set +# CONFIG_HUSH_BRACE_EXPANSION is not set +# CONFIG_HUSH_HELP is not set +# CONFIG_HUSH_INTERACTIVE is not set +# CONFIG_HUSH_SAVEHISTORY is not set +# CONFIG_HUSH_JOB is not set +# CONFIG_HUSH_TICK is not set +# CONFIG_HUSH_IF is not set +# CONFIG_HUSH_LOOPS is not set +# CONFIG_HUSH_CASE is not set +# CONFIG_HUSH_FUNCTIONS is not set +# CONFIG_HUSH_LOCAL is not set +# CONFIG_HUSH_RANDOM_SUPPORT is not set +# CONFIG_HUSH_EXPORT_N is not set +# CONFIG_HUSH_MODE_X is not set +# CONFIG_MSH is not set +CONFIG_FEATURE_SH_IS_ASH=y +# CONFIG_FEATURE_SH_IS_HUSH is not set +# CONFIG_FEATURE_SH_IS_NONE is not set +# CONFIG_FEATURE_BASH_IS_ASH is not set +# CONFIG_FEATURE_BASH_IS_HUSH is not set +CONFIG_FEATURE_BASH_IS_NONE=y +CONFIG_SH_MATH_SUPPORT=y +# CONFIG_SH_MATH_SUPPORT_64 is not set +CONFIG_FEATURE_SH_EXTRA_QUIET=y +# CONFIG_FEATURE_SH_STANDALONE is not set +# CONFIG_FEATURE_SH_NOFORK is not set +CONFIG_FEATURE_SH_HISTFILESIZE=y + +# +# System Logging Utilities +# +CONFIG_SYSLOGD=y +CONFIG_FEATURE_ROTATE_LOGFILE=y +CONFIG_FEATURE_REMOTE_LOG=y +CONFIG_FEATURE_SYSLOGD_DUP=y +CONFIG_FEATURE_SYSLOGD_CFG=y +CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=256 +CONFIG_FEATURE_IPC_SYSLOG=y +CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=64 +CONFIG_LOGREAD=y +CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y +CONFIG_KLOGD=y +CONFIG_FEATURE_KLOGD_KLOGCTL=y +CONFIG_LOGGER=y diff --git a/recipes-core/busybox/busybox-1.22.1/ifplugd-use-a-larger-netlink-buffer.patch b/recipes-core/busybox/busybox-1.22.1/ifplugd-use-a-larger-netlink-buffer.patch new file mode 100644 index 0000000000..a0670a54f1 --- /dev/null +++ b/recipes-core/busybox/busybox-1.22.1/ifplugd-use-a-larger-netlink-buffer.patch @@ -0,0 +1,62 @@ +Upstream-Status: Backport +Signed-off-by: Henning Heinold + +From da331d779c19d7d5d4ef05152ee467d617913a01 Mon Sep 17 00:00:00 2001 +From: Tito Ragusa +Date: Sun, 4 Aug 2013 18:08:40 +0200 +Subject: [PATCH 001/104] ifplugd: use a larger netlink buffer + +function old new delta +check_existence_through_netlink 310 321 +11 + +Signed-off-by: Tito Ragusa +Signed-off-by: Denys Vlasenko +--- + networking/ifplugd.c | 14 ++++++++++---- + 1 file changed, 10 insertions(+), 4 deletions(-) + +diff --git a/networking/ifplugd.c b/networking/ifplugd.c +index 3cdc2c9..b578f4c 100644 +--- a/networking/ifplugd.c ++++ b/networking/ifplugd.c +@@ -451,20 +451,24 @@ static smallint detect_link(void) + static NOINLINE int check_existence_through_netlink(void) + { + int iface_len; +- char replybuf[1024]; ++ /* Buffer was 1K, but on linux-3.9.9 it was reported to be too small. ++ * netlink.h: "limit to 8K to avoid MSG_TRUNC when PAGE_SIZE is very large". ++ * Note: on error returns (-1) we exit, no need to free replybuf. ++ */ ++ enum { BUF_SIZE = 8 * 1024 }; ++ char *replybuf = xmalloc(BUF_SIZE); + + iface_len = strlen(G.iface); + while (1) { + struct nlmsghdr *mhdr; + ssize_t bytes; + +- bytes = recv(netlink_fd, &replybuf, sizeof(replybuf), MSG_DONTWAIT); ++ bytes = recv(netlink_fd, replybuf, BUF_SIZE, MSG_DONTWAIT); + if (bytes < 0) { + if (errno == EAGAIN) +- return G.iface_exists; ++ goto ret; + if (errno == EINTR) + continue; +- + bb_perror_msg("netlink: recv"); + return -1; + } +@@ -507,6 +511,8 @@ static NOINLINE int check_existence_through_netlink(void) + } + } + ++ ret: ++ free(replybuf); + return G.iface_exists; + } + +-- +1.7.10.4 + diff --git a/yocto-dizzy/busybox_1.22.1.bbappend b/yocto-dizzy/busybox_1.22.1.bbappend new file mode 100644 index 0000000000..641aeb3c75 --- /dev/null +++ b/yocto-dizzy/busybox_1.22.1.bbappend @@ -0,0 +1,4 @@ +# PN/PV are wrong inside the .inc file with 1.19.1 +SYSMOCOM_ORIG_PV := "${PV}" +require recipes-core/busybox/${PN}_sysmocom.inc +require recipes-core/busybox/${PN}_sysmocom_systemd.inc diff --git a/yocto-dizzy/core-image-minimal-initramfs.bbappend b/yocto-dizzy/core-image-minimal-initramfs.bbappend new file mode 100644 index 0000000000..09b1baaeb8 --- /dev/null +++ b/yocto-dizzy/core-image-minimal-initramfs.bbappend @@ -0,0 +1,2 @@ +# add e2fsprogs for resize2fs need for bts installation +IMAGE_INSTALL_append = " e2fsprogs " diff --git a/yocto-dizzy/dbus_1.8.2.bbappend b/yocto-dizzy/dbus_1.8.2.bbappend new file mode 100644 index 0000000000..0ada2aac4f --- /dev/null +++ b/yocto-dizzy/dbus_1.8.2.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom_systemd.inc diff --git a/yocto-dizzy/dropbear_2014.63.bbappend b/yocto-dizzy/dropbear_2014.63.bbappend new file mode 100644 index 0000000000..a3a97a3fa8 --- /dev/null +++ b/yocto-dizzy/dropbear_2014.63.bbappend @@ -0,0 +1 @@ +require recipes-fixes/dropbear/${PN}_sysmocom.inc diff --git a/yocto-dizzy/init-ifupdown_1.0.bbappend b/yocto-dizzy/init-ifupdown_1.0.bbappend new file mode 100644 index 0000000000..5e3605ffef --- /dev/null +++ b/yocto-dizzy/init-ifupdown_1.0.bbappend @@ -0,0 +1 @@ +require recipes-bsp/netbase/${PN}_sysmocom.inc diff --git a/yocto-dizzy/initramfs-live-install_1.0.bbappend b/yocto-dizzy/initramfs-live-install_1.0.bbappend new file mode 100644 index 0000000000..69d3d84219 --- /dev/null +++ b/yocto-dizzy/initramfs-live-install_1.0.bbappend @@ -0,0 +1 @@ +require recipes-core/initrdscripts/${PN}_sysmocom.inc diff --git a/yocto-dizzy/netbase_5.2.bbappend b/yocto-dizzy/netbase_5.2.bbappend new file mode 100644 index 0000000000..5e3605ffef --- /dev/null +++ b/yocto-dizzy/netbase_5.2.bbappend @@ -0,0 +1 @@ +require recipes-bsp/netbase/${PN}_sysmocom.inc diff --git a/yocto-shared/opkg_svn.bbappend b/yocto-dizzy/opkg_0.2.2.bbappend similarity index 100% rename from yocto-shared/opkg_svn.bbappend rename to yocto-dizzy/opkg_0.2.2.bbappend diff --git a/yocto-dizzy/pkgconfig_0.28.bbappend b/yocto-dizzy/pkgconfig_0.28.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-dizzy/pkgconfig_0.28.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc diff --git a/yocto-dizzy/systemd-compat-units.bbappend b/yocto-dizzy/systemd-compat-units.bbappend new file mode 100644 index 0000000000..d76e8d1973 --- /dev/null +++ b/yocto-dizzy/systemd-compat-units.bbappend @@ -0,0 +1,2 @@ +require recipes-fixes/systemd/${PN}_sysmocom.inc + diff --git a/yocto-dizzy/systemd_216.bbappend b/yocto-dizzy/systemd_216.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-dizzy/systemd_216.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc diff --git a/yocto-dizzy/u-boot_2013.07.bbappend b/yocto-dizzy/u-boot_2013.07.bbappend new file mode 100644 index 0000000000..34003acec4 --- /dev/null +++ b/yocto-dizzy/u-boot_2013.07.bbappend @@ -0,0 +1 @@ +require recipes-sysmobts/uboot/${PN}_sysmocom.inc diff --git a/yocto-dizzy/udev_182.bbappend b/yocto-dizzy/udev_182.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-dizzy/udev_182.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc diff --git a/yocto-dizzy/update-rc.d_0.7.bbappend b/yocto-dizzy/update-rc.d_0.7.bbappend new file mode 100644 index 0000000000..ec787dc779 --- /dev/null +++ b/yocto-dizzy/update-rc.d_0.7.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_angstrom.inc diff --git a/yocto-dizzy/watchdog_5.13.bbappend b/yocto-dizzy/watchdog_5.13.bbappend new file mode 100644 index 0000000000..57590dbf4a --- /dev/null +++ b/yocto-dizzy/watchdog_5.13.bbappend @@ -0,0 +1 @@ +require recipes-bsp/watchdog/${PN}_sysmocom.inc diff --git a/yocto-dizzy/wireless-tools_30.pre9.bbappend b/yocto-dizzy/wireless-tools_30.pre9.bbappend new file mode 100644 index 0000000000..ddc8865d5c --- /dev/null +++ b/yocto-dizzy/wireless-tools_30.pre9.bbappend @@ -0,0 +1 @@ +require recipes-fixes/wireless-tools/${PN}_sysmocom.inc diff --git a/yocto-dora/opkg_svn.bbappend b/yocto-dora/opkg_svn.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-dora/opkg_svn.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc diff --git a/yocto-edison/opkg_svn.bbappend b/yocto-edison/opkg_svn.bbappend new file mode 100644 index 0000000000..9e035919af --- /dev/null +++ b/yocto-edison/opkg_svn.bbappend @@ -0,0 +1 @@ +require recipes-fixes/${PN}/${PN}_sysmocom.inc From 906bdccd4fc31595a7d76692ad558b91b122d2a1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 25 Sep 2014 16:15:53 +0200 Subject: [PATCH 387/908] watchdog: Fix the FILESEXTRAPATHS_prepend We need to end our string with a ':' to not interfere with other recipes adding things. --- recipes-bsp/watchdog/watchdog_sysmocom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/watchdog/watchdog_sysmocom.inc b/recipes-bsp/watchdog/watchdog_sysmocom.inc index fbd843b185..670d4e0753 100644 --- a/recipes-bsp/watchdog/watchdog_sysmocom.inc +++ b/recipes-bsp/watchdog/watchdog_sysmocom.inc @@ -1,5 +1,5 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" -FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}" +FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}:" PRINC = "9" inherit update-rc.d From a04f801241196e793531819c155c0da242a060bd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 25 Sep 2014 16:16:51 +0200 Subject: [PATCH 388/908] linux: Select the 3.10 kernel for dizzy as well We need to provide the right name of the branch as otherwise we are not able to find the object in the clone. --- conf/machine/include/sysmobts.inc | 2 +- recipes-bsp/linux/linux-sysmocom_git.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index 4b0c9c6d1e..94be7ef3d9 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -1,7 +1,7 @@ TARGET_ARCH = "arm" PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" -PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.5','3.10.50+git%'), ('1.5.1','3.10.50+git%'), ('1.5.2','3.10.50+git%'), ('1.5.3','3.10.50+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" +PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.7', '3.10.50+git%'), ('1.5','3.10.50+git%'), ('1.5.1','3.10.50+git%'), ('1.5.2','3.10.50+git%'), ('1.5.3','3.10.50+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" PREFERRED_VERSION_u-boot = "git" diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index fa31e3e994..297dc986c0 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -19,7 +19,7 @@ SRCREV = "9610e792ffde7fb2599d19ca6d2a03230f2043c6" PR = "r35" PV = "${LINUX_VERSION}+git${SRCPV}" -SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.10 \ +SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=linux-3.10.50 \ file://defconfig" # tmp disabled.. patch needs to be rebased for 3.10 From 0172c5958a0dda2c168e077ca2f3784506aaf589 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 25 Sep 2014 16:34:42 +0200 Subject: [PATCH 389/908] linux-sysmocom: Use the KERNEL_MODULE_PROBECONF on dizzy This variable doesn't exist on dora and will not break things. Fixes: ERROR: Please ensure module rtfifo is listed in KERNEL_MODULE_PROBECONF since module_conf_rtfifo is set --- recipes-bsp/linux/linux-sysmocom.inc | 2 ++ recipes-bsp/linux/linux-sysmocom_git.bb | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom.inc b/recipes-bsp/linux/linux-sysmocom.inc index 470a19a129..c65bd46e26 100644 --- a/recipes-bsp/linux/linux-sysmocom.inc +++ b/recipes-bsp/linux/linux-sysmocom.inc @@ -11,6 +11,8 @@ module_autoload_mISDN_l1loop = "mISDN_l1loop" module_autoload_mISDN_dsp = "mISDN_dsp" module_conf_mISDN_l1loop = "options mISDN_l1loop pri=1 nchannel=20" +KERNEL_MODULE_PROBECONF_append = "mISDN_l1loop mISDN_dsp" + FILES_${PN} = "" # Remove when using a Poky/OE-Core with that includes e0bf758982843ec1981b74410616b3492c599d06 diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 297dc986c0..5155fe1c57 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -16,7 +16,7 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "9610e792ffde7fb2599d19ca6d2a03230f2043c6" -PR = "r35" +PR = "r36" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=linux-3.10.50 \ @@ -50,6 +50,8 @@ module_autoload_mmc_block = "mmc_block" module_autoload_msgqueue = "msgqueue" module_autoload_rtfifo = "rtfifo" +KERNEL_MODULE_PROBECONF_append = "davinci_mmc davinci_wdt dspdl_dm644x fpgadl_par leds-gpio mmc_block msgqueue 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" From 7aba3280c5363c29a644db9191b03a2c4ffb4658 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 12 Sep 2014 19:13:44 +0200 Subject: [PATCH 390/908] recipes: add functions for generating a rootpasswd The rootpassword can be set via the enviroment variable ROOT_PASS either in the local.conf or on the cmdline before bitbake. Fixes: partly SYS#518 --- recipes-apps/images/image-passwd.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes-apps/images/image-passwd.inc diff --git a/recipes-apps/images/image-passwd.inc b/recipes-apps/images/image-passwd.inc new file mode 100644 index 0000000000..6839d195b4 --- /dev/null +++ b/recipes-apps/images/image-passwd.inc @@ -0,0 +1,16 @@ +DEPENDS += "openssl-native" + +rootpasswd = "${@d.getVar('ROOT_PASS', True) or ""}" + +ROOTFS_POSTPROCESS_COMMAND += "set_root_passwd;" + +set_root_passwd() { + if [ -n "${rootpasswd}" ]; then + HASHED_PASS=`openssl passwd -1 ${rootpasswd}` + if [ -n "${HASHED_PASS}" ]; then + sed -e "s%^root:[^:]*:%root:${HASHED_PASS}:%" \ + -i ${IMAGE_ROOTFS}/etc/shadow + echo "Generated new root-passwd" + fi + fi +} From d6aabdf6b928cdedf1900907f5b62be77b8c187b Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 19 Sep 2014 17:27:44 +0200 Subject: [PATCH 391/908] recipes-images: add fragement to install sshkeys Fixes: partly SYS#518 --- recipes-apps/images/image-sshkey.inc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes-apps/images/image-sshkey.inc diff --git a/recipes-apps/images/image-sshkey.inc b/recipes-apps/images/image-sshkey.inc new file mode 100644 index 0000000000..ecbffff711 --- /dev/null +++ b/recipes-apps/images/image-sshkey.inc @@ -0,0 +1,18 @@ + +hostsshkeysfile = "${@d.getVar('SSH_KEYS_FILE', True) or ''}" + +ROOTFS_POSTPROCESS_COMMAND += "copy_ssh_keys;" + +copy_ssh_keys() { + if [ -n "${hostsshkeysfile}" ]; then + if [ -r "${hostsshkeysfile}" ]; then + echo "Installing sshkeys from ${hostsshkeysfile}" + mkdir -p ${IMAGE_ROOTFS}/home/root/.ssh/ + cat ${hostsshkeysfile} >> ${IMAGE_ROOTFS}/home/root/.ssh/authorized_keys + chown root:root ${IMAGE_ROOTFS}/home/root/.ssh/authorized_keys + chmod 0600 ${IMAGE_ROOTFS}/home/root/.ssh/authorized_keys + else + echo "Could not install sshkeys from ${hostsshkeysfile}" + fi + fi +} From 8e6355d9df8b93d26c80480f85564caa10ddb839 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 25 Sep 2014 18:02:31 +0200 Subject: [PATCH 392/908] packagegroup-core-boot: Continue to provide the old name We are not ready for the task -> packagegroup rename and provide the old. --- yocto-dizzy/packagegroup-core-boot.bbappend | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 yocto-dizzy/packagegroup-core-boot.bbappend diff --git a/yocto-dizzy/packagegroup-core-boot.bbappend b/yocto-dizzy/packagegroup-core-boot.bbappend new file mode 100644 index 0000000000..89e9f2e440 --- /dev/null +++ b/yocto-dizzy/packagegroup-core-boot.bbappend @@ -0,0 +1,5 @@ +# For backwards compatibility after rename +RPROVIDES_${PN} = "task-core-boot" +RREPLACES_${PN} = "task-core-boot" +RCONFLICTS_${PN} = "task-core-boot" + From f028093d924accb6ba9f56d48ac7275f017c88ed Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 25 Sep 2014 20:59:19 +0200 Subject: [PATCH 393/908] sysmobts-2050: These files were never used with edison, remove 2050 We have changed the strategy to support multiple BTS with a single build but don't remove support from files that are used with Edison. Linux 3.10 and systemd were not used with edison though. So we can remove it. As the sysmobts-2050 extended the sysmobts-v2 build most of the -sysmobts-2050 changes are not needed anyway. --- recipes-bsp/linux/linux-sysmocom_git.bb | 3 +-- recipes-fixes/systemd/systemd_sysmocom.inc | 15 --------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 5155fe1c57..5dd674f1d8 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -12,7 +12,6 @@ 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 = "9610e792ffde7fb2599d19ca6d2a03230f2043c6" @@ -27,7 +26,7 @@ SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=linux-3 S = "${WORKDIR}/git" -COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmobts-2050|sysmocom-bsc)" +COMPATIBLE_MACHINE = "(sysmobts-v1|sysmobts-v2|sysmocom-bsc)" EXTRA_OEMAKE += "KALLSYMS_EXTRA_PASS=1" # we do not want to have the kernel image inside the kernel diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index f73361e606..6836395110 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -10,7 +10,6 @@ SRC_URI += "file://journald.conf \ SRC_URI_append_sysmobts-v1 = " file://system.conf" SRC_URI_append_sysmobts-v2 = " file://system.conf" -SRC_URI_append_sysmobts-2050 = " file://system.conf" # Disable depedency on dbus RDEPENDS_${PN}_remove = "dbus" @@ -44,20 +43,6 @@ pkg_postinst_${PN}_append () { systemctl ${OPTS} mask systemd-journal-flush.service } -pkg_postinst_${PN}_append_sysmobts-2050 () { - cd $D${sysconfdir}/init.d - - echo "Disabling ttyS0 for sysmobts-2050:" - - OPTS="" - - if [ -n "$D" ]; then - OPTS="--root=$D" - fi - - systemctl ${OPTS} mask serial-getty@ttyS0.service -} - do_install_append() { install -m 0644 ${WORKDIR}/journald.conf ${D}${sysconfdir}/systemd/ From 40c70870b7e6af342d59255e40f12af837c1f716 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 26 Sep 2014 11:24:16 +0200 Subject: [PATCH 394/908] osmo-bts/osmo-pcu: Specify the right branch for dizzy With a wrong branch name the commit can not be found. Fix it. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 8676f81b59..a6a8d9524d 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -2,7 +2,7 @@ DESCRIPTION = "sysmocom OsmoBTS" LICENSE = "AGPLv3" LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" -SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/features/handover;name=osmobts;destsuffix=git \ +SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" SRCREV_osmobts = "04585dd90a1439e256d54affe4ccea113455cbe7" SRCREV_openbsc = "a4faeb1a79eac3c8d333ded27600228cc5e3a71b" diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index 82aed14f87..be0130c6d3 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Osmocom PCU for sysmoBTS" LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=sysmocom/master" +SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=master" SRCREV = "f3405e5b0342362d5d592f013014847a4dc135d8" PV = "0.4+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" From c44d0265eeedef5489c78e04d6613e327c7bbae1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 26 Sep 2014 11:24:49 +0200 Subject: [PATCH 395/908] osmo-bts/osmo-pcu: Use autotools and pkgconfig to fix the build Without inheriting pkgconfig the PKG_CHECK_MODULES macro can not be expanded in dizzy. Fix it. While being there use "autotools" for the pcu and not autotools_stage. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 3 ++- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index a6a8d9524d..94c2d3c879 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -17,7 +17,8 @@ RCONFLICTS_${PN} = "sysmobts-firmware (< 3.11)" EXTRA_OECONF += "--enable-sysmocom-bts" -inherit autotools update-rc.d +inherit autotools update-rc.d pkgconfig + # Select the API version inherit femtobts_api diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index be0130c6d3..f3ba7972ca 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -15,7 +15,7 @@ RDEPENDS_${PN} = "osmo-bts (>= 0.4.0)" EXTRA_OECONF_sysmobts-v2 += "--enable-sysmocom-bts --enable-sysmocom-dsp" -inherit autotools_stage +inherit autotools pkgconfig # Select the API version inherit femtobts_api From f0be4861714d951f2d8761c286a4821a7b50193c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 26 Sep 2014 11:28:48 +0200 Subject: [PATCH 396/908] systemd: Make sure we install our custom copy of system.conf We had a system.conf for the ODU but it was never installed. Fix it by adding the file to SRC_URI. Fixes: ORT#612 --- recipes-fixes/systemd/systemd_sysmocom.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index 6836395110..817a60f3f5 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -1,7 +1,7 @@ S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" -PRINC="22" +PRINC="23" SRC_URI += "file://journald.conf \ file://0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch \ @@ -10,6 +10,7 @@ SRC_URI += "file://journald.conf \ SRC_URI_append_sysmobts-v1 = " file://system.conf" SRC_URI_append_sysmobts-v2 = " file://system.conf" +SRC_URI_append_sysmocom-odu = " file://system.conf" # Disable depedency on dbus RDEPENDS_${PN}_remove = "dbus" From c9952b51550cd45959a5ead741e99bb40ef61f03 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 7 Oct 2014 16:59:48 +0200 Subject: [PATCH 397/908] task-sysmocom-feed: Provide cronie as a cron implementation --- recipes-apps/tasks/task-sysmocom-feed.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-feed.bb b/recipes-apps/tasks/task-sysmocom-feed.bb index 2ce678cd14..00e3bd450c 100644 --- a/recipes-apps/tasks/task-sysmocom-feed.bb +++ b/recipes-apps/tasks/task-sysmocom-feed.bb @@ -3,11 +3,11 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY_${PN} = "1" -PR = "r10" +PR = "r11" RDEPENDS_${PN} = "\ task-sysmocom-tools \ task-sysmocom-debug \ minicom vlan patch procps psmisc \ ppp rsync sed usbutils openvpn iperf \ - lcr" + lcr cronie" From c9da6c1e1a0de52b949c8beafa0525df636024b9 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 7 Oct 2014 21:18:38 +0200 Subject: [PATCH 398/908] linux-sysmocom: Fix pinmux on the ODU kernel --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index f51aeca868..50c57e3a67 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -14,7 +14,7 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" # odu handling. -SRCREV_sysmocom-odu = "6e6273dd4e6c29f9ed23e898393a3ab89647ef15" +SRCREV_sysmocom-odu = "3ce596259b407fce669ccfc5db3ee2826e924f29" LINUX_VERSION_sysmocom-odu = "3.2.63" PR = "r35" From 35ec4c11d9a948e854cdc84ebb4bc566068af7c6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 7 Oct 2014 21:21:10 +0200 Subject: [PATCH 399/908] task-sysmocom-feed: Provide a real "ip" as well --- recipes-apps/tasks/task-sysmocom-feed.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-feed.bb b/recipes-apps/tasks/task-sysmocom-feed.bb index 00e3bd450c..ae0dc4187c 100644 --- a/recipes-apps/tasks/task-sysmocom-feed.bb +++ b/recipes-apps/tasks/task-sysmocom-feed.bb @@ -3,11 +3,11 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY_${PN} = "1" -PR = "r11" +PR = "r12" RDEPENDS_${PN} = "\ task-sysmocom-tools \ task-sysmocom-debug \ minicom vlan patch procps psmisc \ ppp rsync sed usbutils openvpn iperf \ - lcr cronie" + lcr cronie iproute2" From be040d7322f1b1c1799595de3a27d5d4cdcafc2b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 7 Oct 2014 21:30:22 +0200 Subject: [PATCH 400/908] linux-sysmocom: Fix the building of the kernel (or hope I do) --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index 50c57e3a67..c6205b3de8 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -14,7 +14,7 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" # odu handling. -SRCREV_sysmocom-odu = "3ce596259b407fce669ccfc5db3ee2826e924f29" +SRCREV_sysmocom-odu = "f3f101de1ae8dd606e0b33c9dfa49a5b7a4642b1" LINUX_VERSION_sysmocom-odu = "3.2.63" PR = "r35" From 39a927390d6d63fc1117f5fa7499565962fd2c07 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 14 Oct 2014 11:44:15 +0200 Subject: [PATCH 401/908] linux-sysmocom: Enable netfilter and advanced routing for the odu Allow to use netfilter on the ODU. --- .../linux/files/sysmocom-odu/defconfig | 77 +++++++++++++++++-- recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 +- 2 files changed, 71 insertions(+), 8 deletions(-) diff --git a/recipes-bsp/linux/files/sysmocom-odu/defconfig b/recipes-bsp/linux/files/sysmocom-odu/defconfig index ec141c2660..ec5cc394c2 100644 --- a/recipes-bsp/linux/files/sysmocom-odu/defconfig +++ b/recipes-bsp/linux/files/sysmocom-odu/defconfig @@ -76,6 +76,7 @@ CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_IP_MULTICAST=y +CONFIG_IP_ADVANCED_ROUTER=y CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y CONFIG_IP_PNP_BOOTP=y @@ -87,13 +88,75 @@ CONFIG_IP_PNP_RARP=y # CONFIG_INET_DIAG is not set # CONFIG_IPV6 is not set CONFIG_NETFILTER=y -CONFIG_NF_CONNTRACK=y -CONFIG_NF_CONNTRACK_IPV4=y -CONFIG_IP_NF_IPTABLES=y -CONFIG_IP_NF_FILTER=y -CONFIG_IP_NF_TARGET_LOG=y -CONFIG_NF_NAT=y -CONFIG_IP_NF_TARGET_MASQUERADE=y +CONFIG_NF_CONNTRACK=m +CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m +CONFIG_NETFILTER_XT_TARGET_CONNMARK=m +CONFIG_NETFILTER_XT_TARGET_CT=m +CONFIG_NETFILTER_XT_TARGET_DSCP=m +CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m +CONFIG_NETFILTER_XT_TARGET_MARK=m +CONFIG_NETFILTER_XT_TARGET_NFLOG=m +CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m +CONFIG_NETFILTER_XT_TARGET_TEE=m +CONFIG_NETFILTER_XT_TARGET_TRACE=m +CONFIG_NETFILTER_XT_TARGET_TCPMSS=m +CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m +CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m +CONFIG_NETFILTER_XT_MATCH_CLUSTER=m +CONFIG_NETFILTER_XT_MATCH_COMMENT=m +CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m +CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m +CONFIG_NETFILTER_XT_MATCH_CONNMARK=m +CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m +CONFIG_NETFILTER_XT_MATCH_CPU=m +CONFIG_NETFILTER_XT_MATCH_DCCP=m +CONFIG_NETFILTER_XT_MATCH_DEVGROUP=m +CONFIG_NETFILTER_XT_MATCH_DSCP=m +CONFIG_NETFILTER_XT_MATCH_ESP=m +CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m +CONFIG_NETFILTER_XT_MATCH_HELPER=m +CONFIG_NETFILTER_XT_MATCH_IPRANGE=m +CONFIG_NETFILTER_XT_MATCH_LENGTH=m +CONFIG_NETFILTER_XT_MATCH_LIMIT=m +CONFIG_NETFILTER_XT_MATCH_MAC=m +CONFIG_NETFILTER_XT_MATCH_MARK=m +CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m +CONFIG_NETFILTER_XT_MATCH_OSF=m +CONFIG_NETFILTER_XT_MATCH_OWNER=m +CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m +CONFIG_NETFILTER_XT_MATCH_QUOTA=m +CONFIG_NETFILTER_XT_MATCH_RATEEST=m +CONFIG_NETFILTER_XT_MATCH_REALM=m +CONFIG_NETFILTER_XT_MATCH_RECENT=m +CONFIG_NETFILTER_XT_MATCH_SCTP=m +CONFIG_NETFILTER_XT_MATCH_STATE=m +CONFIG_NETFILTER_XT_MATCH_STATISTIC=m +CONFIG_NETFILTER_XT_MATCH_STRING=m +CONFIG_NETFILTER_XT_MATCH_TCPMSS=m +CONFIG_NETFILTER_XT_MATCH_TIME=m +CONFIG_NETFILTER_XT_MATCH_U32=m +CONFIG_NF_CONNTRACK_IPV4=m +CONFIG_IP_NF_IPTABLES=m +CONFIG_IP_NF_MATCH_AH=m +CONFIG_IP_NF_MATCH_ECN=m +CONFIG_IP_NF_MATCH_TTL=m +CONFIG_IP_NF_FILTER=m +CONFIG_IP_NF_TARGET_REJECT=m +CONFIG_IP_NF_TARGET_LOG=m +CONFIG_IP_NF_TARGET_ULOG=m +CONFIG_NF_NAT=m +CONFIG_IP_NF_TARGET_MASQUERADE=m +CONFIG_IP_NF_TARGET_NETMAP=m +CONFIG_IP_NF_TARGET_REDIRECT=m +CONFIG_IP_NF_MANGLE=m +CONFIG_IP_NF_TARGET_CLUSTERIP=m +CONFIG_IP_NF_TARGET_ECN=m +CONFIG_IP_NF_TARGET_TTL=m +CONFIG_IP_NF_RAW=m +CONFIG_IP_NF_SECURITY=m +CONFIG_IP_NF_ARPTABLES=m +CONFIG_IP_NF_ARPFILTER=m +CONFIG_IP_NF_ARP_MANGLE=m CONFIG_CAN=y CONFIG_CAN_RAW=y CONFIG_CAN_BCM=y diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index c6205b3de8..85fd061ef4 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -17,7 +17,7 @@ SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" SRCREV_sysmocom-odu = "f3f101de1ae8dd606e0b33c9dfa49a5b7a4642b1" LINUX_VERSION_sysmocom-odu = "3.2.63" -PR = "r35" +PR = "r36" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ From 286c8a1166659bf6c5fd0cdd097e10b1468112c9 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 17 Oct 2014 19:58:53 +0200 Subject: [PATCH 402/908] busybox: Make sure we keep re-trying to obtain a lease CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS was set to '-n' which means "Exit with failure if lease cannot be immediately negotiated." What we'd rather want is for udhcpc to continue to run until a lease can finally obtain. Otherwise we have a race condition in case the DHCP server is not reachable for a few seconds during system boot, and end up having a system that is permanently without an IP address. This fixes ORT#639 --- recipes-core/busybox/busybox-1.21.1/defconfig | 2 +- recipes-core/busybox/busybox-1.22.1/defconfig | 2 +- recipes-core/busybox/busybox_sysmocom.inc | 2 +- recipes-core/busybox/files/defconfig | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-core/busybox/busybox-1.21.1/defconfig b/recipes-core/busybox/busybox-1.21.1/defconfig index ea4226e0f2..f8cf66652d 100644 --- a/recipes-core/busybox/busybox-1.21.1/defconfig +++ b/recipes-core/busybox/busybox-1.21.1/defconfig @@ -854,7 +854,7 @@ CONFIG_UDHCP_DEBUG=0 # CONFIG_FEATURE_UDHCP_8021Q is not set CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 -CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b" # CONFIG_UDPSVD is not set # CONFIG_VCONFIG is not set CONFIG_WGET=y diff --git a/recipes-core/busybox/busybox-1.22.1/defconfig b/recipes-core/busybox/busybox-1.22.1/defconfig index 684dc02b6d..4bef60ab24 100644 --- a/recipes-core/busybox/busybox-1.22.1/defconfig +++ b/recipes-core/busybox/busybox-1.22.1/defconfig @@ -854,7 +854,7 @@ CONFIG_UDHCP_DEBUG=0 # CONFIG_FEATURE_UDHCP_8021Q is not set CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 -CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b" # CONFIG_UDPSVD is not set # CONFIG_VCONFIG is not set CONFIG_WGET=y diff --git a/recipes-core/busybox/busybox_sysmocom.inc b/recipes-core/busybox/busybox_sysmocom.inc index 270a788b63..a3b9c967e6 100644 --- a/recipes-core/busybox/busybox_sysmocom.inc +++ b/recipes-core/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/busybox-${SYSMOCOM_ORIG_PV}:${SYSMOCOM}/files:" -PRINC = "21" +PRINC = "22" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" diff --git a/recipes-core/busybox/files/defconfig b/recipes-core/busybox/files/defconfig index 7669558cc1..cfc02e7cab 100644 --- a/recipes-core/busybox/files/defconfig +++ b/recipes-core/busybox/files/defconfig @@ -776,7 +776,7 @@ CONFIG_UDHCP_DEBUG=0 # CONFIG_FEATURE_UDHCP_RFC3397 is not set CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 -CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b" # CONFIG_VCONFIG is not set CONFIG_WGET=y CONFIG_FEATURE_WGET_STATUSBAR=y From 0f9508c9240bb685f8c587a6d22735e281d2acbc Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 24 Oct 2014 15:05:06 +0200 Subject: [PATCH 403/908] linux for ODU: Enable second I2C bus on UEXT connector .. which is needed for the light sensor daughterboard. --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index 85fd061ef4..b5eaf16f07 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -14,10 +14,10 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" # odu handling. -SRCREV_sysmocom-odu = "f3f101de1ae8dd606e0b33c9dfa49a5b7a4642b1" +SRCREV_sysmocom-odu = "aadf22be50ac2abb2a9437b9ad3bba4ccdca540b" LINUX_VERSION_sysmocom-odu = "3.2.63" -PR = "r36" +PR = "r37" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ From 0fe05716831f895f45f4e22ac911ec1d50744b6d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 24 Oct 2014 20:01:30 +0200 Subject: [PATCH 404/908] misc-images: Remove images we are rarely/not using The concept of directdisk image is overhauled as we are now having a initramfs that can flash the next image through USB. The dedicated E1/IP images are rarely to never used and did probably bit-rot. For the next time we provide such a system we can simply (write a script to) install the additional feed. --- .../images/sysmocom-bsc-e1-image-directdisk.bb | 13 ------------- recipes-apps/images/sysmocom-bsc-e1-image.bb | 10 ---------- .../images/sysmocom-bsc-ip-image-directdisk.bb | 10 ---------- recipes-apps/images/sysmocom-bsc-ip-image.bb | 7 ------- 4 files changed, 40 deletions(-) delete mode 100644 recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb delete mode 100644 recipes-apps/images/sysmocom-bsc-e1-image.bb delete mode 100644 recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb delete mode 100644 recipes-apps/images/sysmocom-bsc-ip-image.bb diff --git a/recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb b/recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb deleted file mode 100644 index 4ae1318c69..0000000000 --- a/recipes-apps/images/sysmocom-bsc-e1-image-directdisk.bb +++ /dev/null @@ -1,13 +0,0 @@ -DESCRIPTION = "sysmocom BSC/E1 image" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ - file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" - -LICENSE = "MIT" - -inherit boot-directdisk - - -ROOTFS = "${DEPLOY_DIR_IMAGE}/sysmocom-bsc-e1-image-${MACHINE}.ext3" -do_bootdirectdisk[depends] += "sysmocom-bsc-e1-image:do_rootfs" - - diff --git a/recipes-apps/images/sysmocom-bsc-e1-image.bb b/recipes-apps/images/sysmocom-bsc-e1-image.bb deleted file mode 100644 index f3491eaf6c..0000000000 --- a/recipes-apps/images/sysmocom-bsc-e1-image.bb +++ /dev/null @@ -1,10 +0,0 @@ -IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom \ - task-sysmocom-debug task-sysmocom-tools task-sysmocom-e1 task-gprscore \ - e2fsprogs-mke2fs e2fsprogs-tune2fs e2fsprogs-e2fsck e2fsprogs-fsck \ - kernel-module-nls-iso8859-1 kernel-module-nls-cp437" -IMAGE_LINGUAS = " " -LICENSE = "MIT" - -inherit core-image - -IMAGE_ROOTFS_SIZE = "524288" diff --git a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb b/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb deleted file mode 100644 index cd80ae671c..0000000000 --- a/recipes-apps/images/sysmocom-bsc-ip-image-directdisk.bb +++ /dev/null @@ -1,10 +0,0 @@ -DESCRIPTION = "sysmocom BSC/IP image" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ - file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" - -LICENSE = "MIT" - -inherit boot-directdisk - -ROOTFS = "${DEPLOY_DIR_IMAGE}/sysmocom-bsc-ip-image-${MACHINE}.ext4" -do_bootdirectdisk[depends] += "sysmocom-bsc-ip-image:do_rootfs" diff --git a/recipes-apps/images/sysmocom-bsc-ip-image.bb b/recipes-apps/images/sysmocom-bsc-ip-image.bb deleted file mode 100644 index c52f824dac..0000000000 --- a/recipes-apps/images/sysmocom-bsc-ip-image.bb +++ /dev/null @@ -1,7 +0,0 @@ -IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools task-gprscore sysmocom-udhcpd-config busybox-udhcpd" -IMAGE_LINGUAS = " " -LICENSE = "MIT" - -inherit core-image - -IMAGE_ROOTFS_SIZE = "262144" From 39cbb4ee5117281e73bf116cee0bbf4676c0c39b Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Mon, 8 Sep 2014 15:28:17 +0200 Subject: [PATCH 405/908] meta-sysmocom-bsp: Update sysmocom-odu to build wireless-tools and wifi drivers --- conf/machine/sysmocom-odu.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/machine/sysmocom-odu.conf b/conf/machine/sysmocom-odu.conf index d14a7bec34..beada11857 100644 --- a/conf/machine/sysmocom-odu.conf +++ b/conf/machine/sysmocom-odu.conf @@ -38,4 +38,6 @@ EXTRA_IMAGEDEPENDS += "barebox-sysmocom" MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ kernel \ + kernel-module-rt2800usb \ + linux-firmware-ralink \ " From db14ffd17b33ad58a26ba5d99c89ccea39bc2d94 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 24 Oct 2014 17:28:17 +0200 Subject: [PATCH 406/908] i2c-tools: add the i2c-tools * use the recipe from oe-core master * add it to task-sysmocom-feed Fixes: SYS#692 --- recipes-apps/tasks/task-sysmocom-feed.bb | 4 +- .../i2c-tools/i2c-tools-3.1.1/Module.mk | 72 +++++++++++++++++++ recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb | 34 +++++++++ 3 files changed, 108 insertions(+), 2 deletions(-) create mode 100644 recipes-devtools/i2c-tools/i2c-tools-3.1.1/Module.mk create mode 100644 recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb diff --git a/recipes-apps/tasks/task-sysmocom-feed.bb b/recipes-apps/tasks/task-sysmocom-feed.bb index ae0dc4187c..859dc0e768 100644 --- a/recipes-apps/tasks/task-sysmocom-feed.bb +++ b/recipes-apps/tasks/task-sysmocom-feed.bb @@ -3,11 +3,11 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY_${PN} = "1" -PR = "r12" +PR = "r13" RDEPENDS_${PN} = "\ task-sysmocom-tools \ task-sysmocom-debug \ minicom vlan patch procps psmisc \ ppp rsync sed usbutils openvpn iperf \ - lcr cronie iproute2" + lcr cronie iproute2 i2c-tools" diff --git a/recipes-devtools/i2c-tools/i2c-tools-3.1.1/Module.mk b/recipes-devtools/i2c-tools/i2c-tools-3.1.1/Module.mk new file mode 100644 index 0000000000..fcaf72f22a --- /dev/null +++ b/recipes-devtools/i2c-tools/i2c-tools-3.1.1/Module.mk @@ -0,0 +1,72 @@ +# EEPROMER +# +# Licensed under the GNU General Public License. + +EEPROMER_DIR := eepromer + +EEPROMER_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \ + -Wcast-align -Wwrite-strings -Wnested-externs -Winline \ + -W -Wundef -Wmissing-prototypes -Iinclude + +EEPROMER_TARGETS := eepromer eeprom eeprog + +# +# Programs +# + +$(EEPROMER_DIR)/eepromer: $(EEPROMER_DIR)/eepromer.o + $(CC) $(LDFLAGS) -o $@ $^ + +$(EEPROMER_DIR)/eeprom: $(EEPROMER_DIR)/eeprom.o + $(CC) $(LDFLAGS) -o $@ $^ + +$(EEPROMER_DIR)/eeprog: $(EEPROMER_DIR)/eeprog.o $(EEPROMER_DIR)/24cXX.o + $(CC) $(LDFLAGS) -o $@ $^ + +# +# Objects +# + +$(EEPROMER_DIR)/eepromer.o: $(EEPROMER_DIR)/eepromer.c + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ + +$(EEPROMER_DIR)/eeprom.o: $(EEPROMER_DIR)/eeprom.c + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ + +$(EEPROMER_DIR)/eeprog.o: $(EEPROMER_DIR)/eeprog.c + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ + +$(EEPROMER_DIR)/24cXX.o: $(EEPROMER_DIR)/24cXX.c + $(CC) $(CFLAGS) $(EEPROMER_CFLAGS) -c $< -o $@ + +# +# Commands +# + +all-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) + +strip-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) + strip $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) + +clean-eepromer: + $(RM) $(addprefix $(EEPROMER_DIR)/,*.o $(EEPROMER_TARGETS)) + +install-eepromer: $(addprefix $(EEPROMER_DIR)/,$(EEPROMER_TARGETS)) + $(INSTALL_DIR) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir) + for program in $(EEPROMER_TARGETS) ; do \ + $(INSTALL_PROGRAM) $(EEPROMER_DIR)/$$program $(DESTDIR)$(sbindir) ; done + +uninstall-eepromer: + for program in $(EEPROMER_TARGETS) ; do \ + $(RM) $(DESTDIR)$(sbindir)/$$program ; \ + $(RM) $(DESTDIR)$(man8dir)/$$program.8 ; done + +all: all-eepromer + +strip: strip-eepromer + +clean: clean-eepromer + +install: install-eepromer + +uninstall: uninstall-eepromer diff --git a/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb b/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb new file mode 100644 index 0000000000..3a87534203 --- /dev/null +++ b/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb @@ -0,0 +1,34 @@ +UMMARY = "Set of i2c tools for linux" +SECTION = "base" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/${BP}.tar.bz2 \ + file://Module.mk \ +" +SRC_URI[md5sum] = "0fdbff53ebd0b8d9249256d6c56480b1" +SRC_URI[sha256sum] = "14d4d7d60d1c12e43f2befe239c682a5c44c27682f153d4b58c1e392d2db1700" + +inherit autotools + +do_compile_prepend() { + cp ${WORKDIR}/Module.mk ${S}/eepromer/ + sed -i 's#/usr/local#${exec_prefix}#' ${S}/Makefile + echo "include eepromer/Module.mk" >> ${S}/Makefile +} + +do_install_append() { + install -d ${D}${includedir}/linux + install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h + rm -f ${D}${includedir}/linux/i2c-dev.h +} + +PACKAGES =+ "${PN}-misc" +FILES_${PN}-misc = "${sbindir}/i2c-stub-from-dump \ + ${bindir}/ddcmon \ + ${bindir}/decode-edid \ + ${bindir}/decode-dimms \ + ${bindir}/decode-vaio \ + " +RRECOMMENDS_${PN} += "${PN}-misc" +RDEPENDS_${PN}-misc += "perl" From 074b580797a148df769dea571db8508ed889710b Mon Sep 17 00:00:00 2001 From: Henning Date: Fri, 24 Oct 2014 20:30:31 +0200 Subject: [PATCH 407/908] busybox: make it possible to have permanent logfiles * bump the PRINC [holger: Depending on some global settings /var/log will be a symlink to "volatile". But when we log to a file we want it to be persistent. So make sure /var/log is not pointing to volatile but a real directory] --- .../busybox/busybox-systemd/busybox-syslog.default | 10 ++++++++++ recipes-core/busybox/busybox_sysmocom.inc | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/recipes-core/busybox/busybox-systemd/busybox-syslog.default b/recipes-core/busybox/busybox-systemd/busybox-syslog.default index cbc475915d..7af29532b4 100644 --- a/recipes-core/busybox/busybox-systemd/busybox-syslog.default +++ b/recipes-core/busybox/busybox-systemd/busybox-syslog.default @@ -1,2 +1,12 @@ # source the sysvinit configuration file . /etc/syslog-startup.conf + +# check if we want permanent log files and prepare /var/log +if [ "${DESTINATION}" = "buffer" -a ! -h /var/log ]; then + rm -rf /var/log + cd /var + ln -s volatile/log log +elif [ "${DESTINATION}" = "file" -a -h "/var/log" ]; then + rm -rf /var/log + mkdir /var/log +fi diff --git a/recipes-core/busybox/busybox_sysmocom.inc b/recipes-core/busybox/busybox_sysmocom.inc index a3b9c967e6..13637d3392 100644 --- a/recipes-core/busybox/busybox_sysmocom.inc +++ b/recipes-core/busybox/busybox_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/busybox-${SYSMOCOM_ORIG_PV}:${SYSMOCOM}/files:" -PRINC = "22" +PRINC = "23" SRC_URI += "file://busybox-ifplugd.sh \ file://ifplugd.sh" From 00578db05d2befe424204b835350d4a2e05cd40c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 3 Nov 2014 08:35:44 +0100 Subject: [PATCH 408/908] ubl: Make sure we pass in the real compiler Starting with gcc-4.9.1 we will need to pass the --sysroot variable as otherwise the "stdint.h" of glibc will not be found. --- recipes-sysmobts/ubl/ubl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/ubl/ubl_git.bb b/recipes-sysmobts/ubl/ubl_git.bb index 7163d481f1..a876323a24 100644 --- a/recipes-sysmobts/ubl/ubl_git.bb +++ b/recipes-sysmobts/ubl/ubl_git.bb @@ -27,7 +27,7 @@ do_compile() { unset LDFLAGS unset CFLAGS unset CPPFLAGS - oe_runmake BOARD=${BOARD_NAME} + oe_runmake BOARD=${BOARD_NAME} CC="$CC" } do_deploy() { From 8800a441a152fa242e1a8a91256f75afca741b60 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 4 Nov 2014 17:16:26 +0100 Subject: [PATCH 409/908] sysmocom-udhcpd-config: add systemd startup file Fixes: SYS#735 --- .../files/sysmocom-bsc/udhcpd.service | 9 +++++++++ .../sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb | 10 ++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.service diff --git a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.service b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.service new file mode 100644 index 0000000000..6b92866e96 --- /dev/null +++ b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.service @@ -0,0 +1,9 @@ +[Unit] +Description=UDHCPD + +[Service] +Type=simple +ExecStart=/usr/sbin/udhcpd -fS /etc/udhcpd.conf + +[Install] +WantedBy=multi-user.target diff --git a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb index 2e3425e6de..c246a3c274 100644 --- a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb +++ b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb @@ -3,12 +3,18 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -SRC_URI = "file://udhcpd.conf" -PR = "r3" +SRC_URI = "file://udhcpd.conf \ + file://udhcpd.service \ + " +PR = "r4" CONFFILES_${PN} = "${sysconfdir}/udhcpd.conf" +FILES_${PN} += "${systemd_unitdir}" do_install() { install -d ${D}${sysconfdir} install -m 0644 ${WORKDIR}/udhcpd.conf ${D}${sysconfdir}/ + install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/ + install -m 0644 /${WORKDIR}/udhcpd.service ${D}${systemd_unitdir}/system/ + ln -sf ../udhcpd.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ } From 4fb99f81c4d592c7797e12e6cf1166da2fa4fcbc Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 4 Nov 2014 19:05:28 +0100 Subject: [PATCH 410/908] sysmocom-udhcpd-config: fix network mask * the entry "option subnet" takes the subnet mask not the subnet address, while the busybox dhcp-client was fine with it, the isc-dhcp-client complained with Error: an inet prefix is expected rather than "10.23.24.113/10.23.24.0". --- .../sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf | 2 +- recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf index d6a9334f8f..e29a77d56f 100644 --- a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf +++ b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf @@ -3,7 +3,7 @@ end 10.23.24.254 interface eth1 -option subnet 10.23.24.0 option router 10.23.24.1 +option subnet 255.255.255.0 option broadcast 10.23.24.255 option dns 8.8.8.8 diff --git a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb index c246a3c274..11bb6e190e 100644 --- a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb +++ b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 SRC_URI = "file://udhcpd.conf \ file://udhcpd.service \ " -PR = "r4" +PR = "r5" CONFFILES_${PN} = "${sysconfdir}/udhcpd.conf" FILES_${PN} += "${systemd_unitdir}" From 3e709b24b68f44a68b0fcc38350eade88adb9046 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 8 Nov 2014 14:23:34 +0100 Subject: [PATCH 411/908] interfaces: Remove eth1 configuration from the file While the phytec devboard has multiple external ethernet interfaces the odu has only one to the outside. Remove it from the config. Fixes: ORT#653 --- recipes-bsp/netbase/netbase/sysmocom-odu/interfaces | 8 +------- recipes-bsp/netbase/netbase_sysmocom.inc | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/recipes-bsp/netbase/netbase/sysmocom-odu/interfaces b/recipes-bsp/netbase/netbase/sysmocom-odu/interfaces index d37e3ff897..d1b9f45f3f 100644 --- a/recipes-bsp/netbase/netbase/sysmocom-odu/interfaces +++ b/recipes-bsp/netbase/netbase/sysmocom-odu/interfaces @@ -1,6 +1,6 @@ # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) -auto lo eth0 eth1 +auto lo eth0 # The loopback interface iface lo inet loopback @@ -8,9 +8,3 @@ iface lo inet loopback # eth0 iface eth0 inet dhcp -# eth1 -iface eth1 inet static - address 192.168.4.11 - netmask 255.255.255.0 - - diff --git a/recipes-bsp/netbase/netbase_sysmocom.inc b/recipes-bsp/netbase/netbase_sysmocom.inc index bd2aa4bb68..100ccb7252 100644 --- a/recipes-bsp/netbase/netbase_sysmocom.inc +++ b/recipes-bsp/netbase/netbase_sysmocom.inc @@ -1,6 +1,6 @@ SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}:" -PRINC = "18" +PRINC = "19" # bug in poky meta/classes/base.bbclass From da06a847b588b405136f379ddcd37ae7ac48a4ff Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 2 Nov 2014 09:40:15 +0100 Subject: [PATCH 412/908] misc: poky/LICENSE has changed.. reference a hopefully more stable file Only reference the COPYING.MIT as it is unlikely to change in the next upgrade. --- recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb | 2 +- recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb | 2 +- recipes-apps/tasks/task-gprscore.bb | 2 +- recipes-apps/tasks/task-sysmocom-bts.bb | 2 +- recipes-apps/tasks/task-sysmocom-debug.bb | 2 +- recipes-apps/tasks/task-sysmocom-e1.bb | 2 +- recipes-apps/tasks/task-sysmocom-feed.bb | 2 +- recipes-apps/tasks/task-sysmocom-tools.bb | 2 +- recipes-apps/tasks/task-sysmocom.bb | 2 +- recipes-bsp/early-date/early-date_1.bb | 2 +- recipes-config/openggsn-config/gprs-routing_0.1.bb | 2 +- recipes-config/openggsn-config/sysmocom-ggsn-config_0.1.bb | 2 +- .../sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb | 2 +- recipes-extra/ca-certificates/ca-cacert-rootcert.bb | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb index 130fcb67cb..cc02e02b41 100644 --- a/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb +++ b/recipes-apps/sysmocom-backup/sysmocom-backup_1.0.bb @@ -1,6 +1,6 @@ DESCRIPTION = "sysmocom config backup and restore scripts" LICENSE = "GPLv3+" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" PR = "r12" SRC_URI = "file://sysmocom-backup file://sysmocom-restore" diff --git a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb index 11bb6e190e..3e787feb43 100644 --- a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb +++ b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Task for sysmocom external tools" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ +LIC_FILES_CHKSUM = " \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" SRC_URI = "file://udhcpd.conf \ diff --git a/recipes-apps/tasks/task-gprscore.bb b/recipes-apps/tasks/task-gprscore.bb index fd13ae8240..d455fe406d 100644 --- a/recipes-apps/tasks/task-gprscore.bb +++ b/recipes-apps/tasks/task-gprscore.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Task for GPRS core network" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ +LIC_FILES_CHKSUM = " \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY_${PN} = "1" diff --git a/recipes-apps/tasks/task-sysmocom-bts.bb b/recipes-apps/tasks/task-sysmocom-bts.bb index a3095639a6..73a1d93499 100644 --- a/recipes-apps/tasks/task-sysmocom-bts.bb +++ b/recipes-apps/tasks/task-sysmocom-bts.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Task for sysmoBTS" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ +LIC_FILES_CHKSUM = " \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY_${PN} = "1" diff --git a/recipes-apps/tasks/task-sysmocom-debug.bb b/recipes-apps/tasks/task-sysmocom-debug.bb index c1a7ecd042..274955804a 100644 --- a/recipes-apps/tasks/task-sysmocom-debug.bb +++ b/recipes-apps/tasks/task-sysmocom-debug.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Task for sysmocom development/debugging" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ +LIC_FILES_CHKSUM = " \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY_${PN} = "1" diff --git a/recipes-apps/tasks/task-sysmocom-e1.bb b/recipes-apps/tasks/task-sysmocom-e1.bb index 998824e56c..f451ed1f07 100644 --- a/recipes-apps/tasks/task-sysmocom-e1.bb +++ b/recipes-apps/tasks/task-sysmocom-e1.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Task for E1 based sysmocom" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ +LIC_FILES_CHKSUM = " \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY_${PN} = "1" PR = "r2" diff --git a/recipes-apps/tasks/task-sysmocom-feed.bb b/recipes-apps/tasks/task-sysmocom-feed.bb index 859dc0e768..978e5d7e58 100644 --- a/recipes-apps/tasks/task-sysmocom-feed.bb +++ b/recipes-apps/tasks/task-sysmocom-feed.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Package to force building everything we want to provide" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ +LIC_FILES_CHKSUM = " \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY_${PN} = "1" PR = "r13" diff --git a/recipes-apps/tasks/task-sysmocom-tools.bb b/recipes-apps/tasks/task-sysmocom-tools.bb index 7026a7b745..e808390cd4 100644 --- a/recipes-apps/tasks/task-sysmocom-tools.bb +++ b/recipes-apps/tasks/task-sysmocom-tools.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Task for sysmocom external tools" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ +LIC_FILES_CHKSUM = " \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY_${PN} = "1" PR = "r7" diff --git a/recipes-apps/tasks/task-sysmocom.bb b/recipes-apps/tasks/task-sysmocom.bb index 4f79e54f12..21cb55f363 100644 --- a/recipes-apps/tasks/task-sysmocom.bb +++ b/recipes-apps/tasks/task-sysmocom.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Task for sysmocom" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ +LIC_FILES_CHKSUM = " \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "virtual/kernel" ALLOW_EMPTY_${PN} = "1" diff --git a/recipes-bsp/early-date/early-date_1.bb b/recipes-bsp/early-date/early-date_1.bb index a1b22d8ab5..831e73e710 100644 --- a/recipes-bsp/early-date/early-date_1.bb +++ b/recipes-bsp/early-date/early-date_1.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Set an early date on RTC less systems" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" SRC_URI = "\ file://early-date \ diff --git a/recipes-config/openggsn-config/gprs-routing_0.1.bb b/recipes-config/openggsn-config/gprs-routing_0.1.bb index df053bc065..2d468e7898 100644 --- a/recipes-config/openggsn-config/gprs-routing_0.1.bb +++ b/recipes-config/openggsn-config/gprs-routing_0.1.bb @@ -2,7 +2,7 @@ DESCRIPTION = "OpenGGSN GPRS routing to the real world" RDEPENDS_${PN} = "iptables kernel-module-ipt-masquerade" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" SRC_URI = "file://gprs_routing" diff --git a/recipes-config/openggsn-config/sysmocom-ggsn-config_0.1.bb b/recipes-config/openggsn-config/sysmocom-ggsn-config_0.1.bb index 637719cf3e..8996ce88fe 100644 --- a/recipes-config/openggsn-config/sysmocom-ggsn-config_0.1.bb +++ b/recipes-config/openggsn-config/sysmocom-ggsn-config_0.1.bb @@ -1,7 +1,7 @@ DESCRIPTION = "OpenGGSN config by sysmocom" SRC_URI = "file://ggsn.conf" LICENSE = "closed" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" do_install() { install -d ${D}${sysconfdir} diff --git a/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb b/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb index 733d99b797..3673b68b49 100644 --- a/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb +++ b/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb @@ -2,7 +2,7 @@ HOMEPAGE = "http://www.sysmocom.de" RDEPENDS_${PN} = "openvpn" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" SRC_URI = "file://sysmocom-vpn.conf" PR = "r3" diff --git a/recipes-extra/ca-certificates/ca-cacert-rootcert.bb b/recipes-extra/ca-certificates/ca-cacert-rootcert.bb index 8793c81ea0..271b43c296 100644 --- a/recipes-extra/ca-certificates/ca-cacert-rootcert.bb +++ b/recipes-extra/ca-certificates/ca-cacert-rootcert.bb @@ -2,7 +2,7 @@ CRIPTION = "CACert Root and Class3 PKI" HOMEPAGE = "http://www.cacert.org/index.php?id=3" SECTION = "misc" LICENSE = "RDL-COD14" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" PR = "r6" SRC_URI = "file://root.crt file://class3.crt" From 240b08dde9c263c0ca21b1f8974672205af1b64e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 2 Nov 2014 09:24:10 +0100 Subject: [PATCH 413/908] tcpdump: Upgrade to version 4.6.1 to fix cross-builds Poky dizzy is more strict with -I/usr/include and the old tcpdump could pick-up "/usr/bin/pcap-config" from the host and fail. Just upgrade to a newer version of tcpdump and be done with it. --- .../0001-minimal-IEEE802.15.4-allowed.patch | 22 -------- .../tcpdump/tcpdump-4.1.1/ipv6-cross.patch | 41 --------------- .../tcpdump_configure_no_-O2.patch | 42 --------------- .../tcpdump/tcpdump-4.6.1/add-ptest.patch | 38 ++++++++++++++ .../configure.patch | 0 recipes-extra/tcpdump/tcpdump-4.6.1/run-ptest | 5 ++ .../tcpdump-configure-dlpi.patch | 31 +++++++++++ .../tcpdump-cross-getaddrinfo.patch | 23 +++++++++ .../unnecessary-to-check-libpcap.patch | 33 ++++++++++++ recipes-extra/tcpdump/tcpdump_4.1.1.bb | 41 --------------- recipes-extra/tcpdump/tcpdump_4.6.1.bb | 51 +++++++++++++++++++ 11 files changed, 181 insertions(+), 146 deletions(-) delete mode 100644 recipes-extra/tcpdump/tcpdump-4.1.1/0001-minimal-IEEE802.15.4-allowed.patch delete mode 100644 recipes-extra/tcpdump/tcpdump-4.1.1/ipv6-cross.patch delete mode 100644 recipes-extra/tcpdump/tcpdump-4.1.1/tcpdump_configure_no_-O2.patch create mode 100644 recipes-extra/tcpdump/tcpdump-4.6.1/add-ptest.patch rename recipes-extra/tcpdump/{tcpdump-4.1.1 => tcpdump-4.6.1}/configure.patch (100%) create mode 100644 recipes-extra/tcpdump/tcpdump-4.6.1/run-ptest create mode 100644 recipes-extra/tcpdump/tcpdump-4.6.1/tcpdump-configure-dlpi.patch create mode 100644 recipes-extra/tcpdump/tcpdump-4.6.1/tcpdump-cross-getaddrinfo.patch create mode 100644 recipes-extra/tcpdump/tcpdump-4.6.1/unnecessary-to-check-libpcap.patch delete mode 100644 recipes-extra/tcpdump/tcpdump_4.1.1.bb create mode 100644 recipes-extra/tcpdump/tcpdump_4.6.1.bb diff --git a/recipes-extra/tcpdump/tcpdump-4.1.1/0001-minimal-IEEE802.15.4-allowed.patch b/recipes-extra/tcpdump/tcpdump-4.1.1/0001-minimal-IEEE802.15.4-allowed.patch deleted file mode 100644 index 9d3d60d4d7..0000000000 --- a/recipes-extra/tcpdump/tcpdump-4.1.1/0001-minimal-IEEE802.15.4-allowed.patch +++ /dev/null @@ -1,22 +0,0 @@ -From: Sergey Lapin -Date: Wed, 28 Jan 2009 16:34:15 +0300 -Subject: [PATCH] minimal IEEE802.15.4 allowed - ---- - tcpdump.c | 3 +++ - 1 files changed, 3 insertions(+), 0 deletions(-) - -diff --git a/tcpdump.c b/tcpdump.c -index 06683af..fbc944c 100644 ---- a/tcpdump.c -+++ b/tcpdump.c -@@ -282,6 +282,9 @@ static struct printer printers[] = { - #ifdef DLT_MFR - { mfr_if_print, DLT_MFR }, - #endif -+#ifdef DLT_IEEE802_15_4 -+ { raw_if_print, DLT_IEEE802_15_4 }, -+#endif - #if defined(DLT_BLUETOOTH_HCI_H4_WITH_PHDR) && defined(HAVE_PCAP_BLUETOOTH_H) - { bt_if_print, DLT_BLUETOOTH_HCI_H4_WITH_PHDR}, - #endif diff --git a/recipes-extra/tcpdump/tcpdump-4.1.1/ipv6-cross.patch b/recipes-extra/tcpdump/tcpdump-4.1.1/ipv6-cross.patch deleted file mode 100644 index 7eba2c5a6d..0000000000 --- a/recipes-extra/tcpdump/tcpdump-4.1.1/ipv6-cross.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- - configure.in | 12 ++++++++---- - 1 files changed, 8 insertions(+), 4 deletions(-) - -diff --git a/configure.in b/configure.in -index eb3e5e8..11257c9 100644 ---- a/configure.in -+++ b/configure.in -@@ -181,8 +181,9 @@ yes) AC_MSG_RESULT(yes) - ipv6=no - ;; - esac ], -- -- AC_TRY_RUN([ /* AF_INET6 available check */ -+[ -+ if test x"$cross_compiling" != "xyes"; then -+ AC_TRY_RUN([ /* AF_INET6 avalable check */ - #include - #include - main() -@@ -201,7 +202,10 @@ main() - ipv6=no], - [ AC_MSG_RESULT(no) - ipv6=no] --)) -+ ) -+else -+ AC_MSG_FAILURE([Unable to check for ipv6 when crosscompiling, please specify.]) -+fi]) - - ipv6type=unknown - ipv6lib=none -@@ -316,7 +320,7 @@ if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then - fi - - --if test "$ipv6" = "yes"; then -+if test x"$cross_compiling" != "xyes" -a "$ipv6" = "yes"; then - # - # XXX - on Tru64 UNIX 5.1, there is no "getaddrinfo()" - # function in libc; there are "ngetaddrinfo()" and diff --git a/recipes-extra/tcpdump/tcpdump-4.1.1/tcpdump_configure_no_-O2.patch b/recipes-extra/tcpdump/tcpdump-4.1.1/tcpdump_configure_no_-O2.patch deleted file mode 100644 index 7929da5b1f..0000000000 --- a/recipes-extra/tcpdump/tcpdump-4.1.1/tcpdump_configure_no_-O2.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- - configure | 8 ++++---- - 1 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/configure b/configure -index cb51d19..73d51af 100755 ---- a/configure -+++ b/configure -@@ -2691,13 +2691,13 @@ if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS - elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then -- CFLAGS="-g -O2" -+ CFLAGS="-g" - else - CFLAGS="-g" - fi - else - if test "$GCC" = yes; then -- CFLAGS="-O2" -+ CFLAGS="" - else - CFLAGS= - fi -@@ -2830,7 +2830,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - if test "$GCC" = yes ; then - if test "$SHLICC2" = yes ; then - ac_cv_lbl_gcc_vers=2 -- V_CCOPT="-O2" -+ V_CCOPT="" - else - { echo "$as_me:$LINENO: checking gcc version" >&5 - echo $ECHO_N "checking gcc version... $ECHO_C" >&6; } -@@ -2847,7 +2847,7 @@ fi - { echo "$as_me:$LINENO: result: $ac_cv_lbl_gcc_vers" >&5 - echo "${ECHO_T}$ac_cv_lbl_gcc_vers" >&6; } - if test $ac_cv_lbl_gcc_vers -gt 1 ; then -- V_CCOPT="-O2" -+ V_CCOPT="" - fi - fi - else diff --git a/recipes-extra/tcpdump/tcpdump-4.6.1/add-ptest.patch b/recipes-extra/tcpdump/tcpdump-4.6.1/add-ptest.patch new file mode 100644 index 0000000000..358f6050f6 --- /dev/null +++ b/recipes-extra/tcpdump/tcpdump-4.6.1/add-ptest.patch @@ -0,0 +1,38 @@ +From 7b259580800e259d232229dc89f97058b56e2fe8 Mon Sep 17 00:00:00 2001 +From: "Hongjun.Yang" +Date: Wed, 22 Oct 2014 10:02:48 +0800 +Subject: [PATCH] Add ptest for tcpdump + +Upstream-Status: Pending + +Signed-off-by: Hongjun.Yang +--- + Makefile.in | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index 8c35a45..4fb8ae6 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -428,9 +428,17 @@ distclean: + tests/failure-outputs.txt + rm -rf autom4te.cache tests/DIFF tests/NEW + +-check: tcpdump ++buildtest-TESTS: tcpdump ++ ++runtest-PTEST: + (cd tests && ./TESTrun.sh) + ++install-ptest: ++ cp -r tests $(DESTDIR) ++ cp -r config.h $(DESTDIR) ++ install -m 0755 Makefile $(DESTDIR) ++ ln -sf /usr/sbin/tcpdump $(DESTDIR)/tcpdump ++ + tags: $(TAGFILES) + ctags -wtd $(TAGFILES) + +-- +1.9.1 + diff --git a/recipes-extra/tcpdump/tcpdump-4.1.1/configure.patch b/recipes-extra/tcpdump/tcpdump-4.6.1/configure.patch similarity index 100% rename from recipes-extra/tcpdump/tcpdump-4.1.1/configure.patch rename to recipes-extra/tcpdump/tcpdump-4.6.1/configure.patch diff --git a/recipes-extra/tcpdump/tcpdump-4.6.1/run-ptest b/recipes-extra/tcpdump/tcpdump-4.6.1/run-ptest new file mode 100644 index 0000000000..c03a8b8ef3 --- /dev/null +++ b/recipes-extra/tcpdump/tcpdump-4.6.1/run-ptest @@ -0,0 +1,5 @@ +#!/bin/sh +make -k runtest-PTEST | sed -e '/: passed/ s/^/PASS: /g' \ + -e '/: failed/ s/^/FAIL: /g' \ + -e 's/: passed//g' \ + -e 's/: failed//g' diff --git a/recipes-extra/tcpdump/tcpdump-4.6.1/tcpdump-configure-dlpi.patch b/recipes-extra/tcpdump/tcpdump-4.6.1/tcpdump-configure-dlpi.patch new file mode 100644 index 0000000000..50e2d54399 --- /dev/null +++ b/recipes-extra/tcpdump/tcpdump-4.6.1/tcpdump-configure-dlpi.patch @@ -0,0 +1,31 @@ +[PATCH] tcpdump: cross-compiling not check dlpi. + +For cross-compiling on Linux platforms, we do not need to check libdlpi +since it is only placed on Solaris. +Also, checking libdlpi in native /lib would cause do_qa_configure fail. + +Upstream-Status: Pending. + +Signed-off-by: Xin Ouyang +--- + configure.in | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +diff --git a/configure.in b/configure.in +index 7f9591c..ca277c0 100644 +--- a/configure.in ++++ b/configure.in +@@ -716,7 +716,9 @@ don't.]) + fi + + # libdlpi is needed for Solaris 11 and later. +-AC_CHECK_LIB(dlpi, dlpi_walk, LIBS="$LIBS -ldlpi" LDFLAGS="-L/lib $LDFLAGS", ,-L/lib) ++if test "$cross_compiling" != yes; then ++ AC_CHECK_LIB(dlpi, dlpi_walk, LIBS="$LIBS -ldlpi" LDFLAGS="-L/lib $LDFLAGS", ,-L/lib) ++fi + + dnl portability macros for getaddrinfo/getnameinfo + dnl +-- +1.7.5.4 + diff --git a/recipes-extra/tcpdump/tcpdump-4.6.1/tcpdump-cross-getaddrinfo.patch b/recipes-extra/tcpdump/tcpdump-4.6.1/tcpdump-cross-getaddrinfo.patch new file mode 100644 index 0000000000..b414b72e9d --- /dev/null +++ b/recipes-extra/tcpdump/tcpdump-4.6.1/tcpdump-cross-getaddrinfo.patch @@ -0,0 +1,23 @@ +Fix getaddinfo check when cross compiling + +Upstream-Status: Pending. + +AC_TRY_RUN defaults to td_cv_buggygetaddrinfo=yes when +cross-compiling. So this change indicates that we +are cross-compiling. + +Signed-of-by: Aws Ismail + +diff --git a/configure.in b/configure.in +index ca277c0..283035e 100644 +--- a/configure.in ++++ b/configure.in +@@ -434,7 +434,7 @@ main() + ], + td_cv_buggygetaddrinfo=no, + td_cv_buggygetaddrinfo=yes, +- td_cv_buggygetaddrinfo=yes)]) ++ td_cv_buggygetaddrinfo=cross)]) + if test "$td_cv_buggygetaddrinfo" = no; then + AC_MSG_RESULT(good) + else diff --git a/recipes-extra/tcpdump/tcpdump-4.6.1/unnecessary-to-check-libpcap.patch b/recipes-extra/tcpdump/tcpdump-4.6.1/unnecessary-to-check-libpcap.patch new file mode 100644 index 0000000000..d7a3ac23b1 --- /dev/null +++ b/recipes-extra/tcpdump/tcpdump-4.6.1/unnecessary-to-check-libpcap.patch @@ -0,0 +1,33 @@ +unnecessary to check libpcap + +Upstream-Status: Pending + +since the check of libpcap did not consider the cross-compile, lead to the +below error: + This autoconf log indicates errors, it looked at host include and/or + library paths while determining system capabilities. + +In fact, the libpcap has been added into the tcpdump's DEPENDS, not need to +check if libpcap existed. + +Signed-off-by: Roy Li +--- + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index 06fade1..9125de7 100644 +--- a/configure.in ++++ b/configure.in +@@ -567,7 +567,7 @@ AC_SEARCH_LIBS(getrpcbynumber, nsl, + dnl AC_CHECK_LIB(z, uncompress) + dnl AC_CHECK_HEADERS(zlib.h) + +-AC_LBL_LIBPCAP(V_PCAPDEP, V_INCLS) ++#AC_LBL_LIBPCAP(V_PCAPDEP, V_INCLS) + + # + # Check for these after AC_LBL_LIBPCAP, so we link with the appropriate +-- +1.7.9.5 + diff --git a/recipes-extra/tcpdump/tcpdump_4.1.1.bb b/recipes-extra/tcpdump/tcpdump_4.1.1.bb deleted file mode 100644 index 9fd0ac04bf..0000000000 --- a/recipes-extra/tcpdump/tcpdump_4.1.1.bb +++ /dev/null @@ -1,41 +0,0 @@ -DESCRIPTION = "A sophisticated network protocol analyzer" -HOMEPAGE = "http://www.tcpdump.org/" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867" -SECTION = "console/network" -DEPENDS = "libpcap" -PR = "r1" - -SRC_URI = " \ - http://www.tcpdump.org/release/tcpdump-${PV}.tar.gz \ - file://tcpdump_configure_no_-O2.patch \ - file://0001-minimal-IEEE802.15.4-allowed.patch \ - file://ipv6-cross.patch \ - file://configure.patch \ -" - -inherit autotools -# ac_cv_linux_vers=${ac_cv_linux_vers=2} - -EXTRA_OECONF = "--without-crypto \ - ${@base_contains('DISTRO_FEATURES', 'ipv6', '--enable-ipv6', '--disable-ipv6', d)}" - -do_configure() { - # AC_CHECK_LIB(dlpi.. was looking to host /lib - sed -i 's:-L/lib:-L${STAGING_LIBDIR}:g' ./configure.in - - gnu-configize - autoconf - oe_runconf - sed -i 's:/usr/lib:${STAGING_LIBDIR}:' ./Makefile - sed -i 's:/usr/include:${STAGING_INCDIR}:' ./Makefile -} - -do_install_append() { - # tcpdump 4.0.0 installs a copy to /usr/sbin/tcpdump.4.0.0 - rm -f ${D}${sbindir}/tcpdump.${PV} -} - -SRC_URI[md5sum] = "d0dd58bbd6cd36795e05c6f1f74420b0" -SRC_URI[sha256sum] = "e6cd4bbd61ec7adbb61ba8352c4b4734f67b8caaa845d88cb826bc0b9f1e7f0a" - diff --git a/recipes-extra/tcpdump/tcpdump_4.6.1.bb b/recipes-extra/tcpdump/tcpdump_4.6.1.bb new file mode 100644 index 0000000000..1fdaf308d8 --- /dev/null +++ b/recipes-extra/tcpdump/tcpdump_4.6.1.bb @@ -0,0 +1,51 @@ +SUMMARY = "A sophisticated network protocol analyzer" +HOMEPAGE = "http://www.tcpdump.org/" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867" +SECTION = "console/network" +DEPENDS = "libpcap" + +SRC_URI = " \ + http://www.tcpdump.org/release/${BP}.tar.gz \ + file://configure.patch \ + file://unnecessary-to-check-libpcap.patch \ + file://tcpdump-configure-dlpi.patch \ + file://tcpdump-cross-getaddrinfo.patch \ + file://add-ptest.patch \ + file://run-ptest \ +" +SRC_URI[md5sum] = "dab267ec30216a069747d10314079ec7" +SRC_URI[sha256sum] = "4c88c2a9aeb4047074f344fc9b2b6577b219972d359e192f6d12ccf983a13fd7" +export LIBS=" -lpcap" + +inherit autotools-brokensep ptest +CACHED_CONFIGUREVARS = "ac_cv_linux_vers=${ac_cv_linux_vers=2}" + +PACKAGECONFIG ??= "openssl ipv6" +PACKAGECONFIG[openssl] = "--with-crypto=yes, --without-openssl --without-crypto, openssl" +PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6," + +EXTRA_AUTORECONF += " -I m4" + +do_configure_prepend() { + mkdir -p ${S}/m4 + if [ -f aclocal.m4 ]; then + mv aclocal.m4 ${S}/m4 + fi + # AC_CHECK_LIB(dlpi.. was looking to host /lib + sed -i 's:-L/lib::g' ./configure.in +} +do_configure_append() { + sed -i 's:-L/usr/lib::' ./Makefile + sed -i 's:-Wl,-rpath,${STAGING_LIBDIR}::' ./Makefile + sed -i 's:-I/usr/include::' ./Makefile +} + +do_install_append() { + # tcpdump 4.0.0 installs a copy to /usr/sbin/tcpdump.4.0.0 + rm -f ${D}${sbindir}/tcpdump.${PV} +} + +do_compile_ptest() { + oe_runmake buildtest-TESTS +} From 0755723dd8ee2c1ce1d3880d734603850719aaf5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 3 Nov 2014 08:35:44 +0100 Subject: [PATCH 414/908] sysmobts-firmware: When fetching using http include needed checksum When using HTTP to fetch the firmware we need to have a checksum in our recipe. Add it. --- recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb b/recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb index 5ee257df75..aab425a27b 100644 --- a/recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb +++ b/recipes-sysmobts/firmware/sysmobts-firmware_3.11.bb @@ -3,6 +3,9 @@ PACKAGE_ARCH = "sysmobts-v2" FIRMWARE-VERSION = "superfemto_v${PV}" PR = "r1.${INC_PR}" +SRC_URI[md5sum] = "69993545decb8bdf39fa4dd9e5103ef9" +SRC_URI[sha256sum] = "8b2b19475a298299ef2de1061940ac690c447fa7b5d22b4fdb9dfd62bdc3c4a8" + require ${PN}.inc do_install() { From 2e2d464894ae123b2a6e5cde47acff6a05e0e028 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 8 Nov 2014 19:55:22 +0100 Subject: [PATCH 415/908] tcpdump: Speculative fix for dora In dora there is no autotools-brokensep bbclass. So let's just set the build directory to the source directory ourselves. I have not built the package for dora though/ --- recipes-extra/tcpdump/tcpdump_4.6.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-extra/tcpdump/tcpdump_4.6.1.bb b/recipes-extra/tcpdump/tcpdump_4.6.1.bb index 1fdaf308d8..8065a37d91 100644 --- a/recipes-extra/tcpdump/tcpdump_4.6.1.bb +++ b/recipes-extra/tcpdump/tcpdump_4.6.1.bb @@ -18,7 +18,8 @@ SRC_URI[md5sum] = "dab267ec30216a069747d10314079ec7" SRC_URI[sha256sum] = "4c88c2a9aeb4047074f344fc9b2b6577b219972d359e192f6d12ccf983a13fd7" export LIBS=" -lpcap" -inherit autotools-brokensep ptest +inherit autotools ptest +B = "${S}" CACHED_CONFIGUREVARS = "ac_cv_linux_vers=${ac_cv_linux_vers=2}" PACKAGECONFIG ??= "openssl ipv6" From 050a39766e2c54dafff7efd20a09a250b1c09c91 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 9 Nov 2014 02:34:51 +0100 Subject: [PATCH 416/908] sbts2050-util: Add checksum in case it is fetched through http --- recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb b/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb index d5d7d255e0..fcc3de0646 100644 --- a/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb +++ b/recipes-sysmobts/sbts2050-util/sbts2050-util_2.3.bb @@ -1,6 +1,9 @@ FIRMWARE-VERSION = "${PV}" PR = "r2.${INC_PR}" +SRC_URI[md5sum] = "c7b75b5ebc5bb1185afd2880444b10dd" +SRC_URI[sha256sum] = "c1e9817a4f7163396ee00577877bcb61bab9fbb252947ea05a43ea872d53d515" + require ${PN}.inc do_install() { From c5a267a946e8b23f6603b514a2f7463350fed90e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 1 Nov 2014 14:48:37 +0100 Subject: [PATCH 417/908] systemd: Make it work for dora and master systemd-compat-units does not install any files anymore and the machineid and other scripts are gone. We want to continue to install the alignment file though. This has not been tested on dora systemd yet. --- recipes-fixes/systemd/systemd-compat-units_dora.inc | 6 ++++++ recipes-fixes/systemd/systemd-compat-units_sysmocom.inc | 7 +++---- recipes-fixes/systemd/systemd_sysmocom-206.inc | 3 +++ recipes-fixes/systemd/systemd_sysmocom.inc | 3 +-- yocto-dora/systemd-compat-units.bbappend | 1 + yocto-dora/systemd_206.bbappend | 1 + 6 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 recipes-fixes/systemd/systemd-compat-units_dora.inc create mode 100644 recipes-fixes/systemd/systemd_sysmocom-206.inc diff --git a/recipes-fixes/systemd/systemd-compat-units_dora.inc b/recipes-fixes/systemd/systemd-compat-units_dora.inc new file mode 100644 index 0000000000..9cc0c9e635 --- /dev/null +++ b/recipes-fixes/systemd/systemd-compat-units_dora.inc @@ -0,0 +1,6 @@ +# In dora a SRC_URI = "file://*.service" is done and that doesn't work +# when playing with the FILESPATH +SRC_URI = "\ + file://machineid.service \ + file://run-postinsts.service \ + " diff --git a/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc b/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc index b8e86feb29..3f4a08a714 100644 --- a/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc +++ b/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc @@ -5,11 +5,8 @@ SYSTEMD_DISABLED_SYSV_SERVICES_remove = "networking" S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" -SRC_URI = "\ - file://machineid.service \ - file://run-postinsts.service \ - file://alignment.service" +SRC_URI += "file://alignment.service" do_install_append() { install -d ${D}${systemd_unitdir}/system/basic.target.wants @@ -19,3 +16,5 @@ do_install_append() { ln -sf ../alignment.service ${D}${systemd_unitdir}/system/basic.target.wants/ ln -sf ../alignment.service ${D}${systemd_unitdir}/system/sysinit.target.wants/ } + +FILES_${PN} = "${systemd_unitdir}/system ${bindir}" diff --git a/recipes-fixes/systemd/systemd_sysmocom-206.inc b/recipes-fixes/systemd/systemd_sysmocom-206.inc new file mode 100644 index 0000000000..c60cb95e91 --- /dev/null +++ b/recipes-fixes/systemd/systemd_sysmocom-206.inc @@ -0,0 +1,3 @@ +SRC_URI += " \ + file://0001-RFC-fsck-Allow-to-specify-the-fsck-repair-option-in-.patch \ + " diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index 817a60f3f5..ba573c7839 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -1,11 +1,10 @@ S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" -PRINC="23" +PRINC="24" SRC_URI += "file://journald.conf \ file://0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch \ - file://0001-RFC-fsck-Allow-to-specify-the-fsck-repair-option-in-.patch \ " SRC_URI_append_sysmobts-v1 = " file://system.conf" diff --git a/yocto-dora/systemd-compat-units.bbappend b/yocto-dora/systemd-compat-units.bbappend index d76e8d1973..b2b70a8392 100644 --- a/yocto-dora/systemd-compat-units.bbappend +++ b/yocto-dora/systemd-compat-units.bbappend @@ -1,2 +1,3 @@ +require recipes-fixes/systemd/${PN}_dora.inc require recipes-fixes/systemd/${PN}_sysmocom.inc diff --git a/yocto-dora/systemd_206.bbappend b/yocto-dora/systemd_206.bbappend index 9e035919af..b5369a77c6 100644 --- a/yocto-dora/systemd_206.bbappend +++ b/yocto-dora/systemd_206.bbappend @@ -1 +1,2 @@ +require recipes-fixes/${PN}/${PN}_sysmocom-${PV}.inc require recipes-fixes/${PN}/${PN}_sysmocom.inc From 380d53ece834e4f8356b47b6e1195f85e7c43c50 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 1 Nov 2014 15:09:19 +0100 Subject: [PATCH 418/908] systemd: DISTRO_FEATURES_INITMAN is gone in master The DISTRO_FEATURES_INITMAN variable has been removed, use VIRTUAL-RUNTIME_init_manager which is still present. We have already defined the later in our poky builds --- conf/machine/include/sysmobts.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index 94be7ef3d9..8edf51e515 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -20,7 +20,7 @@ MACHINE_FEATURES = "kernel26 serial" MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ busybox-ifplugd \ - ${@['watchdog', ''][d.getVar('DISTRO_FEATURES_INITMAN', True) == 'systemd']} \ + ${@['watchdog', ''][d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'systemd']} \ kernel \ kernel-module-davinci-wdt \ kernel-module-dspdl \ @@ -38,7 +38,7 @@ IMAGE_FSTYPES ?= "tar.bz2 cpio.gz ubifs ubi jffs2" MACHINE_EXTRA_RDEPENDS = "\ task-sysmocom-bts \ sysmobts-firmware \ - ${@['watchdog', ''][d.getVar('DISTRO_FEATURES_INITMAN', True) == 'systemd']} \ + ${@['watchdog', ''][d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'systemd']} \ " #MACHINE_EXTRA_RRECOMMENDS = "dsplink-module" From d75837883d5f4f612c1fa7e1642233cc5cad268e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 2 Nov 2014 13:13:19 +0100 Subject: [PATCH 419/908] busybox: Only apply the patch on busybox 1.21 The ifplugd patch was backported and doesn't need to be applied on later versions. --- recipes-core/busybox/busybox_sysmocom_1.21.1.inc | 2 ++ recipes-core/busybox/busybox_sysmocom_systemd.inc | 2 -- yocto-dora/busybox_1.21.1.bbappend | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 recipes-core/busybox/busybox_sysmocom_1.21.1.inc diff --git a/recipes-core/busybox/busybox_sysmocom_1.21.1.inc b/recipes-core/busybox/busybox_sysmocom_1.21.1.inc new file mode 100644 index 0000000000..130fab6976 --- /dev/null +++ b/recipes-core/busybox/busybox_sysmocom_1.21.1.inc @@ -0,0 +1,2 @@ +SRC_URI += "file://ifplugd-use-a-larger-netlink-buffer.patch" +PRINC := "${@int(PRINC) + 1}" diff --git a/recipes-core/busybox/busybox_sysmocom_systemd.inc b/recipes-core/busybox/busybox_sysmocom_systemd.inc index 19739f5a15..58b268226b 100644 --- a/recipes-core/busybox/busybox_sysmocom_systemd.inc +++ b/recipes-core/busybox/busybox_sysmocom_systemd.inc @@ -2,5 +2,3 @@ SYSMOCOM_D := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-systemd:${SYSMOCOM_D}/${PN}:" PRINC := "${@int(PRINC) + 3}" - -SRC_URI += "file://ifplugd-use-a-larger-netlink-buffer.patch" diff --git a/yocto-dora/busybox_1.21.1.bbappend b/yocto-dora/busybox_1.21.1.bbappend index 641aeb3c75..0c0790f242 100644 --- a/yocto-dora/busybox_1.21.1.bbappend +++ b/yocto-dora/busybox_1.21.1.bbappend @@ -2,3 +2,4 @@ SYSMOCOM_ORIG_PV := "${PV}" require recipes-core/busybox/${PN}_sysmocom.inc require recipes-core/busybox/${PN}_sysmocom_systemd.inc +require recipes-core/busybox/${PN}_sysmocom_1.21.1.inc From 338900b6303993c42d6bf4831c361db831e34eeb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 9 Nov 2014 14:34:42 +0100 Subject: [PATCH 420/908] sysmobts: Reduce the number of images we build We need a jffs2/ubi depending on the age of the hardware and maybe a tar.bz2 so we can easily inspect an image without playing with mtdram. We almost never need a ubifs and certainly not a cpio. --- conf/machine/include/sysmobts.inc | 2 -- conf/machine/sysmobts-v1.conf | 1 + conf/machine/sysmobts-v2.conf | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index 8edf51e515..4de200d05d 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -33,8 +33,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ kernel-module-nls-utf8 \ kernel-module-rtfifo " -IMAGE_FSTYPES ?= "tar.bz2 cpio.gz ubifs ubi jffs2" - MACHINE_EXTRA_RDEPENDS = "\ task-sysmocom-bts \ sysmobts-firmware \ diff --git a/conf/machine/sysmobts-v1.conf b/conf/machine/sysmobts-v1.conf index 08ebe78897..aa5edb00e3 100644 --- a/conf/machine/sysmobts-v1.conf +++ b/conf/machine/sysmobts-v1.conf @@ -10,5 +10,6 @@ EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 --pagesize=0x800 -- MKUBIFS_ARGS = "-m 2048 -e 129024 -c 400" UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512" +IMAGE_FSTYPES ?= "tar.bz2 jffs2" require conf/machine/include/sysmobts.inc diff --git a/conf/machine/sysmobts-v2.conf b/conf/machine/sysmobts-v2.conf index 586a44c5b0..4c35310882 100644 --- a/conf/machine/sysmobts-v2.conf +++ b/conf/machine/sysmobts-v2.conf @@ -11,4 +11,5 @@ MKUBIFS_ARGS ?= "-m 2048 -e 129024 -c 999" UBINIZE_ARGS ?= "-m 2048 -p 128KiB -s 512" +IMAGE_FSTYPES ?= "tar.bz2 ubi" require conf/machine/include/sysmobts.inc From e38684d612f4d65476f4c34c7aae9e562dd36ae6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 9 Nov 2014 15:19:31 +0100 Subject: [PATCH 421/908] watchdog: Catch up with upstream changes --- yocto-dizzy/{watchdog_5.13.bbappend => watchdog_5.14.bbappend} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename yocto-dizzy/{watchdog_5.13.bbappend => watchdog_5.14.bbappend} (100%) diff --git a/yocto-dizzy/watchdog_5.13.bbappend b/yocto-dizzy/watchdog_5.14.bbappend similarity index 100% rename from yocto-dizzy/watchdog_5.13.bbappend rename to yocto-dizzy/watchdog_5.14.bbappend From cf35573837dfb1b87cf754f761dbe7735addf9ad Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 10 Nov 2014 08:50:11 +0100 Subject: [PATCH 422/908] linux-sysmocom: Remove the branch name as it breaks on dizzy IIRC the branch name is not used in edison and it breaks in dizzy as the commit is noth within the branch. --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index b5eaf16f07..0b59743631 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -20,7 +20,7 @@ LINUX_VERSION_sysmocom-odu = "3.2.63" PR = "r37" PV = "${LINUX_VERSION}+git${SRCPV}" -SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=v3.2 \ +SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git \ file://mISDN_loop.patch;patch=1 \ file://defconfig" S = "${WORKDIR}/git" From 98c407d28c412f631c66240d9310a6c5c57a8298 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 10 Nov 2014 09:58:03 +0100 Subject: [PATCH 423/908] linux-sysmocom: Another speculative compile/fetch fix for dizzy Not specifying a branch leads to "master" being fetched. This means we now need to specify the rightbranch. Do that depending on what we build. --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index 0b59743631..4dd41f07f3 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -14,13 +14,15 @@ BTS_FIRMWARE_NAME_sysmobts-2050 = "sysmobts-v2" SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" # odu handling. +BRANCH="v3.2" SRCREV_sysmocom-odu = "aadf22be50ac2abb2a9437b9ad3bba4ccdca540b" +BRANCH_sysmocom-odu = "sob-odu/linux-3.2.63" LINUX_VERSION_sysmocom-odu = "3.2.63" PR = "r37" PV = "${LINUX_VERSION}+git${SRCPV}" -SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git \ +SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=${BRANCH} \ file://mISDN_loop.patch;patch=1 \ file://defconfig" S = "${WORKDIR}/git" From 682ec7043f1c091394780b7ca6390de5ca6a57e3 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 11 Nov 2014 20:27:19 +0100 Subject: [PATCH 424/908] gpsd: RSUGGESTS the gpsd-udev * switching gpsd-udev to RSUGGESTS on udev, makes it possible to not install gpsd-udev by default * increase minor PR FIXES: SYS#756 --- recipes-extra/gpsd/gpsd_3.10.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-extra/gpsd/gpsd_3.10.bb b/recipes-extra/gpsd/gpsd_3.10.bb index 74c5e73ddf..3fc1a4f026 100644 --- a/recipes-extra/gpsd/gpsd_3.10.bb +++ b/recipes-extra/gpsd/gpsd_3.10.bb @@ -6,7 +6,7 @@ DEPENDS = "ncurses python" #DEPENDS = "ncurses libusb1 python" PROVIDES = "virtual/gpsd" -PR = "r3.16" +PR = "r3.17" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ @@ -119,7 +119,8 @@ PACKAGES =+ "libgps libgpsd gpsd-udev gpsd-conf gpsd-gpsctl gps-utils" #FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug" RDEPENDS_${PN} = "gpsd-gpsctl" -RRECOMMENDS_${PN} = "gpsd-conf gpsd-udev gpsd-machine-conf" +RRECOMMENDS_${PN} = "gpsd-conf gpsd-machine-conf" +RSUGGESTS_${PN} = "gpsd-udev" DESCRIPTION_gpsd-udev = "udev relevant files to use gpsd hotplugging" FILES_gpsd-udev = "${base_libdir}/udev ${sysconfdir}/udev/*" From e7e42a79ae094ceae2281c69544926316c500e11 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 14 Nov 2014 13:58:10 +0100 Subject: [PATCH 425/908] u-boot: Catch up with upstream version bump and rename Not build tested yet. --- yocto-dizzy/{u-boot_2013.07.bbappend => u-boot_2014.07.bbappend} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename yocto-dizzy/{u-boot_2013.07.bbappend => u-boot_2014.07.bbappend} (100%) diff --git a/yocto-dizzy/u-boot_2013.07.bbappend b/yocto-dizzy/u-boot_2014.07.bbappend similarity index 100% rename from yocto-dizzy/u-boot_2013.07.bbappend rename to yocto-dizzy/u-boot_2014.07.bbappend From ffdbc76ae83fdefd08167cfbeb80c3297105fbfe Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 14 Nov 2014 14:16:31 +0100 Subject: [PATCH 426/908] misc: Start using "packagegroup-osmocom" The notion of "task" has been deprecated for a long time because the word is used for different things. The new word is "packagegroup" which describes the usage of "task-*" in a more obvious way. Dora and master builds can fully use packagegroup-* for everything and for edison we would need to spend some time to add a provides for packagegroup-* to the task- group. I don't intend to work on the edison part right now. --- recipes-apps/images/sysmocom-core-image-minimal.bb | 2 +- recipes-apps/images/sysmocom-image.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/images/sysmocom-core-image-minimal.bb b/recipes-apps/images/sysmocom-core-image-minimal.bb index 1561912284..a53b9a2fd1 100644 --- a/recipes-apps/images/sysmocom-core-image-minimal.bb +++ b/recipes-apps/images/sysmocom-core-image-minimal.bb @@ -1,4 +1,4 @@ -IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} task-osmocom task-sysmocom" +IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} packagegroup-osmocom task-sysmocom" IMAGE_LINGUAS = " " LICENSE = "MIT" diff --git a/recipes-apps/images/sysmocom-image.inc b/recipes-apps/images/sysmocom-image.inc index 3dc073fcc1..d7a685d799 100644 --- a/recipes-apps/images/sysmocom-image.inc +++ b/recipes-apps/images/sysmocom-image.inc @@ -1,5 +1,5 @@ DEPENDS = "${MACHINE_EXTRA_RDEPENDS}" -IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools ${MACHINE_EXTRA_RDEPENDS} " +IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} packagegroup-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools ${MACHINE_EXTRA_RDEPENDS} " IMAGE_LINGUAS = " " IMAGE_FEATURES += " package-management " LICENSE = "MIT" From 43d3a03b72d138b0981d86cca0b95e5a0cfc37bb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 14 Nov 2014 14:39:33 +0100 Subject: [PATCH 427/908] packagegroup: Catch up and rename the bbappend as well --- ...pend => packagegroup-core-standalone-osmo-sdk-target.bbappend} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename yocto-shared/{task-core-standalone-osmo-sdk-target.bbappend => packagegroup-core-standalone-osmo-sdk-target.bbappend} (100%) diff --git a/yocto-shared/task-core-standalone-osmo-sdk-target.bbappend b/yocto-shared/packagegroup-core-standalone-osmo-sdk-target.bbappend similarity index 100% rename from yocto-shared/task-core-standalone-osmo-sdk-target.bbappend rename to yocto-shared/packagegroup-core-standalone-osmo-sdk-target.bbappend From e1298b0b9ddba34f4ac1a54735942d42a54eb3ef Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 18 Nov 2014 09:37:53 +0100 Subject: [PATCH 428/908] wireless-tools: Attempt to fix memory leak We would leak all the results for all the scans. At some point in time the kernel OOM would kick-in and kill the process. Enable building with -ggdb3 for debug symbols and remmeber the old list head so we can free it. ==32240== 756 bytes in 3 blocks are definitely lost in loss record 7 of 8 ==32240== at 0x40291CC: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==32240== by 0x804BCF5: iw_process_scanning_token (iwlib.c:3059) ==32240== by 0x804BCF5: iw_process_scan (iwlib.c:3255) ==32240== by 0x804BEAF: iw_scan (iwlib.c:3310) ==32240== by 0x8048FD8: scan_wifi (wifi2udp.c:72) ==32240== by 0x8048DB2: main (wifi2udp.c:143) --- .../files/0001-Add-wifi2udp-program.patch | 30 +++++++++++++------ .../wireless-tools_sysmocom.inc | 2 +- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/recipes-fixes/wireless-tools/files/0001-Add-wifi2udp-program.patch b/recipes-fixes/wireless-tools/files/0001-Add-wifi2udp-program.patch index 231960b63f..11af861c26 100644 --- a/recipes-fixes/wireless-tools/files/0001-Add-wifi2udp-program.patch +++ b/recipes-fixes/wireless-tools/files/0001-Add-wifi2udp-program.patch @@ -10,11 +10,11 @@ Subject: [PATCH 1/1] Add wifi2udp program 2 files changed, 149 insertions(+), 1 deletion(-) create mode 100644 wifi2udp.c -Index: wireless_tools.29/Makefile +Index: wireless_tools.30/Makefile =================================================================== ---- wireless_tools.29.orig/Makefile 2014-09-08 17:27:45.000000000 +0200 -+++ wireless_tools.29/Makefile 2014-09-08 17:32:52.065211007 +0200 -@@ -48,7 +48,7 @@ +--- wireless_tools.30.orig/Makefile ++++ wireless_tools.30/Makefile +@@ -50,7 +50,7 @@ WEXT_HEADER = wireless.$(WE_VERSION).h # Targets to build STATIC=libiw.a DYNAMIC=libiw.so.$(WT_VERSION) @@ -23,7 +23,16 @@ Index: wireless_tools.29/Makefile MANPAGES8=iwconfig.8 iwlist.8 iwpriv.8 iwspy.8 iwgetid.8 iwevent.8 ifrename.8 MANPAGES7=wireless.7 MANPAGES5=iftab.5 -@@ -135,6 +135,8 @@ +@@ -105,7 +105,7 @@ endif + + # Other flags + CFLAGS=-Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow \ +- -Wpointer-arith -Wcast-qual -Winline -I. ++ -Wpointer-arith -Wcast-qual -Winline -I. -ggdb3 + #CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I. + DEPFLAGS=-MMD + XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) $(WELIB_FLAG) $(WEDEF_FLAG) +@@ -137,6 +137,8 @@ ifrename: ifrename.o $(IWLIB) macaddr: macaddr.o $(IWLIB) @@ -32,11 +41,11 @@ Index: wireless_tools.29/Makefile iwmulticall: iwmulticall.o $(CC) $(LDFLAGS) $(STRIPFLAGS) $(XCFLAGS) -o $@ $^ $(LIBS) -Index: wireless_tools.29/wifi2udp.c +Index: wireless_tools.30/wifi2udp.c =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ wireless_tools.29/wifi2udp.c 2014-09-08 17:30:08.217211001 +0200 -@@ -0,0 +1,146 @@ +--- /dev/null ++++ wireless_tools.30/wifi2udp.c +@@ -0,0 +1,149 @@ + +#include +#include @@ -122,6 +131,7 @@ Index: wireless_tools.29/wifi2udp.c + char bssid[20]; + char line[1024]; + char essid_escaped[50]; ++ wireless_scan *old_result; + iw_sawap_ntop(&result->ap_addr, bssid); + + escape_essid(result->b.essid, essid_escaped, 50); @@ -131,7 +141,9 @@ Index: wireless_tools.29/wifi2udp.c + rc = sendto(sock, line, strlen(line), 0, (struct sockaddr*)&remote, sizeof(remote)); + if (rc == -1) + printf("Failed to send message: %s\n", strerror(errno)); ++ old_result = result; + result = result->next; ++ free(old_result); + } + sleep(delay); + } diff --git a/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc b/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc index 7eea7f3dd0..5dc82bd347 100644 --- a/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc +++ b/recipes-fixes/wireless-tools/wireless-tools_sysmocom.inc @@ -1,7 +1,7 @@ THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:" -PRINC="6" +PRINC="7" SRC_URI += "file://0001-Add-wifi2udp-program.patch \ file://wifi2udp.service" From dff7d234e34da6fb4974d87d3159a8dbf3ec88b1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 18 Nov 2014 15:26:46 +0100 Subject: [PATCH 429/908] linux: Enable FHANDLE needed for newer udev Without fhandle the getty for ttyS0 will not work. http://lists.freedesktop.org/archives/systemd-devel/2014-February/016927.html --- recipes-bsp/linux/files/sysmobts-v1/defconfig | 2 +- recipes-bsp/linux/files/sysmobts-v2/defconfig | 2 +- recipes-bsp/linux/files/sysmocom-bsc/defconfig | 2 +- recipes-bsp/linux/files/sysmocom-odu/defconfig | 1 + recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig | 2 +- recipes-bsp/linux/linux-sysmocom_git.bb | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/recipes-bsp/linux/files/sysmobts-v1/defconfig b/recipes-bsp/linux/files/sysmobts-v1/defconfig index 444cec4a73..d37e61785b 100644 --- a/recipes-bsp/linux/files/sysmobts-v1/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v1/defconfig @@ -50,7 +50,7 @@ CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y # CONFIG_BSD_PROCESS_ACCT is not set -# CONFIG_FHANDLE is not set +CONFIG_FHANDLE=y # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set CONFIG_HAVE_GENERIC_HARDIRQS=y diff --git a/recipes-bsp/linux/files/sysmobts-v2/defconfig b/recipes-bsp/linux/files/sysmobts-v2/defconfig index a93b0e55da..0e0412bd51 100644 --- a/recipes-bsp/linux/files/sysmobts-v2/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v2/defconfig @@ -50,7 +50,7 @@ CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y # CONFIG_BSD_PROCESS_ACCT is not set -# CONFIG_FHANDLE is not set +CONFIG_FHANDLE=y # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set CONFIG_HAVE_GENERIC_HARDIRQS=y diff --git a/recipes-bsp/linux/files/sysmocom-bsc/defconfig b/recipes-bsp/linux/files/sysmocom-bsc/defconfig index 600d7c7dba..5a28b29419 100644 --- a/recipes-bsp/linux/files/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/files/sysmocom-bsc/defconfig @@ -79,7 +79,7 @@ CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y -# CONFIG_FHANDLE is not set +CONFIG_FHANDLE=y # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set CONFIG_HAVE_GENERIC_HARDIRQS=y diff --git a/recipes-bsp/linux/files/sysmocom-odu/defconfig b/recipes-bsp/linux/files/sysmocom-odu/defconfig index ec5cc394c2..a34d6aaa1a 100644 --- a/recipes-bsp/linux/files/sysmocom-odu/defconfig +++ b/recipes-bsp/linux/files/sysmocom-odu/defconfig @@ -392,3 +392,4 @@ CONFIG_CRC_ITU_T=y CONFIG_CRC7=y CONFIG_LIBCRC32C=y CONFIG_USB_ACM=y +CONFIG_FHANDLE=y diff --git a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig index dd01c2ba12..4f4ed4cc93 100644 --- a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig @@ -64,7 +64,7 @@ CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y -# CONFIG_FHANDLE is not set +CONFIG_FHANDLE=y # CONFIG_AUDIT is not set CONFIG_HAVE_GENERIC_HARDIRQS=y diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 5dd674f1d8..77ce7f8bc3 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -15,7 +15,7 @@ BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" SRCREV = "9610e792ffde7fb2599d19ca6d2a03230f2043c6" -PR = "r36" +PR = "r37" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=linux-3.10.50 \ From 29294fa7d16835dfa04e105b19e5ea63ee66f372 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Nov 2014 17:40:13 +0100 Subject: [PATCH 430/908] linux-sysmocom: Build the watchdog into the kernel We want to enable the watchdog in the bootloader already and for this to be failsafe we need to have a kernel that can boot and get ethernet without any additional modules. Now systemd would not be able to trigger the watchdog and the system would reboot within 60 seconds. I am not sure how the kernel upgrade will go and we need to try this. Related: SYS#374 --- conf/machine/include/sysmobts.inc | 1 - recipes-bsp/linux/files/sysmobts-v1/defconfig | 2 +- recipes-bsp/linux/files/sysmobts-v2/defconfig | 2 +- recipes-bsp/linux/linux-sysmocom_3.2.bb | 3 +-- recipes-bsp/linux/linux-sysmocom_git.bb | 5 ++--- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index 4de200d05d..ba7261db07 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -22,7 +22,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ busybox-ifplugd \ ${@['watchdog', ''][d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'systemd']} \ kernel \ - kernel-module-davinci-wdt \ kernel-module-dspdl \ kernel-module-dspdl-dm644x \ kernel-module-fpgadl \ diff --git a/recipes-bsp/linux/files/sysmobts-v1/defconfig b/recipes-bsp/linux/files/sysmobts-v1/defconfig index d37e61785b..4fc8450418 100644 --- a/recipes-bsp/linux/files/sysmobts-v1/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v1/defconfig @@ -1287,7 +1287,7 @@ CONFIG_WATCHDOG=y # # CONFIG_SOFT_WATCHDOG is not set # CONFIG_DW_WATCHDOG is not set -CONFIG_DAVINCI_WATCHDOG=m +CONFIG_DAVINCI_WATCHDOG=y # CONFIG_MAX63XX_WATCHDOG is not set CONFIG_SSB_POSSIBLE=y diff --git a/recipes-bsp/linux/files/sysmobts-v2/defconfig b/recipes-bsp/linux/files/sysmobts-v2/defconfig index 0e0412bd51..bbe942c131 100644 --- a/recipes-bsp/linux/files/sysmobts-v2/defconfig +++ b/recipes-bsp/linux/files/sysmobts-v2/defconfig @@ -1300,7 +1300,7 @@ CONFIG_WATCHDOG=y # # CONFIG_SOFT_WATCHDOG is not set # CONFIG_DW_WATCHDOG is not set -CONFIG_DAVINCI_WATCHDOG=m +CONFIG_DAVINCI_WATCHDOG=y # CONFIG_MAX63XX_WATCHDOG is not set CONFIG_SSB_POSSIBLE=y diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index 4dd41f07f3..80776a7c42 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -19,7 +19,7 @@ SRCREV_sysmocom-odu = "aadf22be50ac2abb2a9437b9ad3bba4ccdca540b" BRANCH_sysmocom-odu = "sob-odu/linux-3.2.63" LINUX_VERSION_sysmocom-odu = "3.2.63" -PR = "r37" +PR = "r38" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=${BRANCH} \ @@ -42,7 +42,6 @@ do_configure() { # 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" diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 77ce7f8bc3..3101ecb46e 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -15,7 +15,7 @@ BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" SRCREV = "9610e792ffde7fb2599d19ca6d2a03230f2043c6" -PR = "r37" +PR = "r38" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=linux-3.10.50 \ @@ -41,7 +41,6 @@ do_configure() { # 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" @@ -49,7 +48,7 @@ module_autoload_mmc_block = "mmc_block" module_autoload_msgqueue = "msgqueue" module_autoload_rtfifo = "rtfifo" -KERNEL_MODULE_PROBECONF_append = "davinci_mmc davinci_wdt dspdl_dm644x fpgadl_par leds-gpio mmc_block msgqueue rtfifo" +KERNEL_MODULE_PROBECONF_append = "davinci_mmc dspdl_dm644x fpgadl_par leds-gpio mmc_block msgqueue rtfifo" # module configs (alphabetically sorted) module_conf_dspdl_dm644x = "options dspdl_dm644x fw_name=${BTS_FIRMWARE_NAME}.out debug=0" From 164cd1af2b796aa2bae0184691f6e4879c04838e Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 18 Nov 2014 19:37:05 +0100 Subject: [PATCH 431/908] static-devicenames-odu: add stable device names for the gsm-modems on the odu Fixes: SYS#732 [hfreyther: I removed the MACHINE_ESSENTIAL_EXTRA_RDEPENDS as applications that use the symlinks should rdepend on the package] [hfreyther: Changed mismatch of tabs/spaces] --- .../files/persistens-serial-odu.rules | 23 +++++++++++++++++++ .../static-devicenames-odu_1.bb | 14 +++++++++++ 2 files changed, 37 insertions(+) create mode 100644 recipes-bsp/static-devicenames-odu/files/persistens-serial-odu.rules create mode 100644 recipes-bsp/static-devicenames-odu/static-devicenames-odu_1.bb diff --git a/recipes-bsp/static-devicenames-odu/files/persistens-serial-odu.rules b/recipes-bsp/static-devicenames-odu/files/persistens-serial-odu.rules new file mode 100644 index 0000000000..d942af923f --- /dev/null +++ b/recipes-bsp/static-devicenames-odu/files/persistens-serial-odu.rules @@ -0,0 +1,23 @@ +# do not edit this file, it will be overwritten on update + +ACTION=="remove", GOTO="persistent_serial_odu_end" +SUBSYSTEM!="tty", GOTO="persistent_serial_odu_end" +KERNEL!="ttyACM[0-9]*", GOTO="persistent_serial_odu_end" + +KERNELS=="1-1.2:1.0", SYMLINK+="ttyModemScan0" +KERNELS=="1-1.2:1.2", SYMLINK+="ttyModemScan1" +KERNELS=="1-1.2:1.4", SYMLINK+="ttyModemScan2" +KERNELS=="1-1.2:1.6", SYMLINK+="ttyModemScan3" +KERNELS=="1-1.2:1.8", SYMLINK+="ttyModemScan4" +KERNELS=="1-1.2:1.10", SYMLINK+="ttyModemScan5" +KERNELS=="1-1.2:1.12", SYMLINK+="ttyModemScan6" + +KERNELS=="1-1.3:1.0", SYMLINK+="ttyModemUplink0" +KERNELS=="1-1.3:1.2", SYMLINK+="ttyModemUplink1" +KERNELS=="1-1.3:1.4", SYMLINK+="ttyModemUplink2" +KERNELS=="1-1.3:1.6", SYMLINK+="ttyModemUplink3" +KERNELS=="1-1.3:1.8", SYMLINK+="ttyModemUplink4" +KERNELS=="1-1.3:1.10", SYMLINK+="ttyModemUplink5" +KERNELS=="1-1.3:1.12", SYMLINK+="ttyModemUplink6" + +LABEL="persistent_serial_odu_end" diff --git a/recipes-bsp/static-devicenames-odu/static-devicenames-odu_1.bb b/recipes-bsp/static-devicenames-odu/static-devicenames-odu_1.bb new file mode 100644 index 0000000000..a6d235940c --- /dev/null +++ b/recipes-bsp/static-devicenames-odu/static-devicenames-odu_1.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Udev helper script for static device names on the sysmocom odu" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +SRC_URI = "file://persistens-serial-odu.rules" + +PACKAGES = "${PN}" +FILES_${PN} = "${BASELIB}/udev/rules.d/*" +RDPEPENDS_${PN} = "udev" + +do_install() { + install -d ${D}/${BASELIB}/udev/rules.d + install -m 0644 ${WORKDIR}/persistens-serial-odu.rules ${D}/${BASELIB}/udev/rules.d/70-persistens-serial-odu.rules +} From 7ff5c445d1e9e8a8a64b2756c022b1b5ecbf51b4 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 28 Oct 2014 19:39:53 +0100 Subject: [PATCH 432/908] apu: add networking support the new apu * split out rtl-nic firmware from the big linux-firmware package [hfreyther: For whatever reasons the NIC works without additional firmware as well. I couldn't see in the driver source when that is the case and which features are missing] --- conf/machine/sysmocom-bsc.conf | 2 +- recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig | 5 +++-- yocto-shared/linux-firmware_git.bbappend | 5 +++++ 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 yocto-shared/linux-firmware_git.bbappend diff --git a/conf/machine/sysmocom-bsc.conf b/conf/machine/sysmocom-bsc.conf index 49b5d30a58..c7d81b7dd6 100644 --- a/conf/machine/sysmocom-bsc.conf +++ b/conf/machine/sysmocom-bsc.conf @@ -34,4 +34,4 @@ GLIBC_EXTRA_OECONF = "--with-tls" #MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d" MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ - busybox-ifplugd " + busybox-ifplugd linux-firmware-rtl-nic " diff --git a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig index 4f4ed4cc93..4b69fb7a3d 100644 --- a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 3.10.40 Kernel Configuration +# Linux/x86 3.10.50 Kernel Configuration # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -270,6 +270,7 @@ CONFIG_DEFAULT_CFQ=y # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="cfq" CONFIG_UNINLINE_SPIN_UNLOCK=y +CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y CONFIG_MUTEX_SPIN_ON_OWNER=y CONFIG_FREEZER=y @@ -1433,7 +1434,7 @@ CONFIG_NET_VENDOR_QLOGIC=y CONFIG_NET_VENDOR_REALTEK=y # CONFIG_8139CP is not set # CONFIG_8139TOO is not set -# CONFIG_R8169 is not set +CONFIG_R8169=y CONFIG_NET_VENDOR_RDC=y # CONFIG_R6040 is not set CONFIG_NET_VENDOR_SEEQ=y diff --git a/yocto-shared/linux-firmware_git.bbappend b/yocto-shared/linux-firmware_git.bbappend new file mode 100644 index 0000000000..6e6cee5790 --- /dev/null +++ b/yocto-shared/linux-firmware_git.bbappend @@ -0,0 +1,5 @@ +PACKAGES_prepend = "${PN}-rtl-nic " + +RDEPENDS_${PN}-rtl-nic += "${PN}-rtl-license" + +FILES_${PN}-rtl-nic = "/lib/firmware/rtl_nic/*.fw" From e7ed2b458e78b8a63f0f2661a21b0ddfa1de730d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Nov 2014 20:04:32 +0100 Subject: [PATCH 433/908] barebox-sysmocom: Update with password propmpt Change the name of the config, bump the SRCREV. The new default password is "odu-stop". Fixes: SYS#487 --- recipes-sysmobts/barebox/barebox-sysmocom_201407.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb b/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb index 0a50f4419c..5281a78487 100644 --- a/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb +++ b/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb @@ -1,5 +1,5 @@ SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master" -SRCREV = "de2b004a2511c4aaeed64d0a9f5bf14d184d1560" +SRCREV = "1a06d18910d94e77590838bcc6ad34acd11fd588" PR = "r2" DEPENDS = "${PN}-mlo" @@ -13,8 +13,8 @@ BAREBOX_IMAGE_SYMLINK ?= "barebox-${MACHINE}.img" require barebox.inc do_pre_configure() { - cp ${S}/arch/arm/configs/am335x_defconfig_odu ${S}/.config - oe_runmake oldconfig + cp ${S}/arch/arm/configs/am335x_odu_defconfig ${S}/.config + oe_runmake oldconfig } do_deploy_append() { From dbb3fa65cd85ac5ebd4340ed1e9509753528a399 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Nov 2014 21:51:33 +0100 Subject: [PATCH 434/908] barebox-sysmocom: Upgrade to send LLDP frame during boot One might need to erase the environment but with a default environment barebox will now send a LLDP during boot up. This way we can see if a device is on a local link or not. Fixes: SYS#488 --- recipes-sysmobts/barebox/barebox-sysmocom_201407.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb b/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb index 5281a78487..cd394931b9 100644 --- a/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb +++ b/recipes-sysmobts/barebox/barebox-sysmocom_201407.bb @@ -1,5 +1,5 @@ SRC_URI = "git://git.sysmocom.de/barebox;protocol=git;branch=master" -SRCREV = "1a06d18910d94e77590838bcc6ad34acd11fd588" +SRCREV = "03773b872987fb16725f2eba6536cc87f000eb4d" PR = "r2" DEPENDS = "${PN}-mlo" From 812eceaea35c9f0ca6d85dbc6147a74a9834ab7a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Nov 2014 23:42:42 +0100 Subject: [PATCH 435/908] openvpn: Add OpenVPN 2.3.4 recipe from upstream OpenEmbedded We should use a more recent version of the OpenVPN client. Import it from the meta-networking layer like we did before. The sysvinit script has just minor whitespace differences and wasn't imported. We need to test opkg upgrades of OpenVPN through the VPN. We don't want to kill the tunnel on such upgrade. --- recipes-extra/openvpn/openvpn_2.3.4.bb | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 recipes-extra/openvpn/openvpn_2.3.4.bb diff --git a/recipes-extra/openvpn/openvpn_2.3.4.bb b/recipes-extra/openvpn/openvpn_2.3.4.bb new file mode 100644 index 0000000000..3e52c81606 --- /dev/null +++ b/recipes-extra/openvpn/openvpn_2.3.4.bb @@ -0,0 +1,37 @@ +SUMMARY = "A full-featured SSL VPN solution via tun device." +HOMEPAGE = "http://openvpn.sourceforge.net" +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=5aac200199fde47501876cba7263cb0c" +DEPENDS = "lzo openssl iproute2 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" + +inherit autotools + +SRC_URI = "http://swupdate.openvpn.org/community/releases/openvpn-${PV}.tar.gz \ + file://openvpn" + +SRC_URI[md5sum] = "04d47237907faabe9d046970ffe44b2e" +SRC_URI[sha256sum] = "af506d5f48568fa8d2f2435cb3fad35f9a9a8f263999ea6df3ba296960cec85a" + +CFLAGS += "-fno-inline" + +# I want openvpn to be able to read password from file (hrw) +EXTRA_OECONF += "--enable-password-save --enable-iproute2" +EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'pam', '', '--disable-plugin-auth-pam', d)}" + +# Explicitly specify IPROUTE to bypass the configure-time check for /sbin/ip on the host. +EXTRA_OECONF += "IPROUTE=/sbin/ip" + +do_install_append() { + install -d ${D}/${sysconfdir}/init.d + install -d ${D}/${sysconfdir}/openvpn + install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d +} + +RRECOMMENDS_${PN} = "kernel-module-tun" + +FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug" + + +# We need to test opkg upgrade of OpenVPN through the OpenVPN first +DEFAULT_PREFERENCE = "-1" From 6909960948127bc1f344e62039bd6795543b5b9e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Nov 2014 23:54:02 +0100 Subject: [PATCH 436/908] openvpn: Use the debian generator and service files for OpenVPN We want to use systemd for managing the lifetime of OpenVPN. Take the debian generator (which should work with busybox ash) and the openvpn.service (to inhibit the sysvinit script) and the target file and install it. On systems that have ran "update-rc.d openvpn defaults" one need to manually execute a systemctl enable openvpn.service. This is not done through a post-inst script and I am not sure if we should do it. This means there is a danger of ending with a unit that doesn't start OpenVPN automatically after upgrade! The scripts/packages have not been tested on a device yet. --- .../openvpn/openvpn/openvpn-generator | 40 +++++++++++++++++++ recipes-extra/openvpn/openvpn/openvpn.service | 18 +++++++++ .../openvpn/openvpn/openvpn@.service | 15 +++++++ recipes-extra/openvpn/openvpn_2.3.4.bb | 16 +++++++- 4 files changed, 88 insertions(+), 1 deletion(-) create mode 100755 recipes-extra/openvpn/openvpn/openvpn-generator create mode 100644 recipes-extra/openvpn/openvpn/openvpn.service create mode 100644 recipes-extra/openvpn/openvpn/openvpn@.service diff --git a/recipes-extra/openvpn/openvpn/openvpn-generator b/recipes-extra/openvpn/openvpn/openvpn-generator new file mode 100755 index 0000000000..d6ac1aafb1 --- /dev/null +++ b/recipes-extra/openvpn/openvpn/openvpn-generator @@ -0,0 +1,40 @@ +#!/bin/sh + +# This systemd generator creates dependency symlinks that make all OpenVPN +# tunnels listed in /etc/default/openvpn's AUTOSTART be started/stopped/reloaded +# when openvpn.service is started/stopped/reloaded. + +set -eu + +GENDIR="$1" +WANTDIR="$1/openvpn.service.wants" +SERVICEFILE="/lib/systemd/system/openvpn@.service" +AUTOSTART="all" +CONFIG_DIR=/etc/openvpn + +mkdir -p "$WANTDIR" + +if test -e /etc/default/openvpn ; then + . /etc/default/openvpn +fi + +# No VPNs automatically started +if test "x$AUTOSTART" = "xnone" ; then + exit 0 +fi + +if test "x$AUTOSTART" = "xall" -o -z "$AUTOSTART" ; then + for CONFIG in `cd $CONFIG_DIR; ls *.conf 2> /dev/null`; do + NAME=${CONFIG%%.conf} + ln -s "$SERVICEFILE" "$WANTDIR/openvpn@$NAME.service" + done +else + for NAME in $AUTOSTART ; do + if test -e $CONFIG_DIR/$NAME.conf ; then + ln -s "$SERVICEFILE" "$WANTDIR/openvpn@$NAME.service" + fi + done +fi + +exit 0 + diff --git a/recipes-extra/openvpn/openvpn/openvpn.service b/recipes-extra/openvpn/openvpn/openvpn.service new file mode 100644 index 0000000000..0075cc4434 --- /dev/null +++ b/recipes-extra/openvpn/openvpn/openvpn.service @@ -0,0 +1,18 @@ +# This service is actually a systemd target, +# but we are using a service since targets cannot be reloaded. + +[Unit] +Description=OpenVPN service +After=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/bin/true +ExecReload=/bin/true +WorkingDirectory=/etc/openvpn + +[Install] +WantedBy=multi-user.target + + diff --git a/recipes-extra/openvpn/openvpn/openvpn@.service b/recipes-extra/openvpn/openvpn/openvpn@.service new file mode 100644 index 0000000000..be47429467 --- /dev/null +++ b/recipes-extra/openvpn/openvpn/openvpn@.service @@ -0,0 +1,15 @@ +[Unit] +Description=OpenVPN connection to %i +PartOf=openvpn.service +ReloadPropagatedFrom=openvpn.service + +[Service] +Type=forking +ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf +ExecReload=/bin/kill -HUP $MAINPID +WorkingDirectory=/etc/openvpn + +[Install] +WantedBy=multi-user.target + + diff --git a/recipes-extra/openvpn/openvpn_2.3.4.bb b/recipes-extra/openvpn/openvpn_2.3.4.bb index 3e52c81606..e83c244699 100644 --- a/recipes-extra/openvpn/openvpn_2.3.4.bb +++ b/recipes-extra/openvpn/openvpn_2.3.4.bb @@ -8,7 +8,10 @@ DEPENDS = "lzo openssl iproute2 ${@base_contains('DISTRO_FEATURES', 'pam', 'libp inherit autotools SRC_URI = "http://swupdate.openvpn.org/community/releases/openvpn-${PV}.tar.gz \ - file://openvpn" + file://openvpn \ + file://openvpn-generator \ + file://openvpn@.service \ + file://openvpn.service" SRC_URI[md5sum] = "04d47237907faabe9d046970ffe44b2e" SRC_URI[sha256sum] = "af506d5f48568fa8d2f2435cb3fad35f9a9a8f263999ea6df3ba296960cec85a" @@ -26,12 +29,23 @@ do_install_append() { install -d ${D}/${sysconfdir}/init.d install -d ${D}/${sysconfdir}/openvpn install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d + + # systemd files + install -d ${D}${systemd_unitdir}/system + install -d ${D}${systemd_unitdir}/system-generators + install -m 0644 ${WORKDIR}/openvpn.service ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/openvpn@.service ${D}${systemd_unitdir}/system + install -m 0755 ${WORKDIR}/openvpn-generator ${D}${systemd_unitdir}/system-generators } RRECOMMENDS_${PN} = "kernel-module-tun" FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug" +# Don't go through the systemd.bbclass as we do not want magic to happen +# during install and upgrade. Simply ship the files. +FILES_${PN} += "${systemd_unitdir}" + # We need to test opkg upgrade of OpenVPN through the OpenVPN first DEFAULT_PREFERENCE = "-1" From f7004f33151e2151933eac610672e770019b4d8e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 22 Nov 2014 00:05:29 +0100 Subject: [PATCH 437/908] openvpn: Always restart the OpenVPN service We want the OpenVPN service to be always restarted. I am not sure how "forking" and restart will work together but we will need to give it a try. --- recipes-extra/openvpn/openvpn/openvpn@.service | 2 ++ recipes-extra/openvpn/openvpn_2.3.4.bb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/recipes-extra/openvpn/openvpn/openvpn@.service b/recipes-extra/openvpn/openvpn/openvpn@.service index be47429467..e25199389b 100644 --- a/recipes-extra/openvpn/openvpn/openvpn@.service +++ b/recipes-extra/openvpn/openvpn/openvpn@.service @@ -8,6 +8,8 @@ Type=forking ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf ExecReload=/bin/kill -HUP $MAINPID WorkingDirectory=/etc/openvpn +Restart=always +RestartSec=2 [Install] WantedBy=multi-user.target diff --git a/recipes-extra/openvpn/openvpn_2.3.4.bb b/recipes-extra/openvpn/openvpn_2.3.4.bb index e83c244699..b6465382da 100644 --- a/recipes-extra/openvpn/openvpn_2.3.4.bb +++ b/recipes-extra/openvpn/openvpn_2.3.4.bb @@ -7,6 +7,8 @@ DEPENDS = "lzo openssl iproute2 ${@base_contains('DISTRO_FEATURES', 'pam', 'libp inherit autotools +PR = "r1" + SRC_URI = "http://swupdate.openvpn.org/community/releases/openvpn-${PV}.tar.gz \ file://openvpn \ file://openvpn-generator \ From 188f5fc60c450215a442b9c6b38ed321add27d52 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 22 Nov 2014 13:54:17 +0100 Subject: [PATCH 438/908] Import from meta-oe to have a spatial enabled sqlite --- .../geos-config-Add-includedir-variable.patch | 39 ++++ recipes-extra/geos/geos.inc | 21 ++ recipes-extra/geos/geos_3.4.2.bb | 6 + recipes-extra/libspatialite/libspatialite.inc | 16 ++ .../fix-the-configure-script-and-freexl.patch | 200 ++++++++++++++++++ .../libspatialite/libspatialite_3.0.1.bb | 9 + recipes-extra/proj/proj_4.8.0.bb | 14 ++ 7 files changed, 305 insertions(+) create mode 100644 recipes-extra/geos/files/geos-config-Add-includedir-variable.patch create mode 100644 recipes-extra/geos/geos.inc create mode 100644 recipes-extra/geos/geos_3.4.2.bb create mode 100644 recipes-extra/libspatialite/libspatialite.inc create mode 100644 recipes-extra/libspatialite/libspatialite/fix-the-configure-script-and-freexl.patch create mode 100644 recipes-extra/libspatialite/libspatialite_3.0.1.bb create mode 100644 recipes-extra/proj/proj_4.8.0.bb diff --git a/recipes-extra/geos/files/geos-config-Add-includedir-variable.patch b/recipes-extra/geos/files/geos-config-Add-includedir-variable.patch new file mode 100644 index 0000000000..645e6f62a5 --- /dev/null +++ b/recipes-extra/geos/files/geos-config-Add-includedir-variable.patch @@ -0,0 +1,39 @@ +From 9d51027c228dafd7db2d0cffca1f0fc695e950fd Mon Sep 17 00:00:00 2001 +From: Otavio Salvador +Date: Mon, 2 Dec 2013 11:33:26 -0200 +Subject: [PATCH] geos-config: Add includedir variable + +This fixes cross-compile as it is easier to mangle the includedir +during sysroot generation. + +Upstream-Status: Pending + +Signed-off-by: Otavio Salvador +--- + tools/geos-config.in | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tools/geos-config.in b/tools/geos-config.in +index 9b45b5f..1749892 100644 +--- a/tools/geos-config.in ++++ b/tools/geos-config.in +@@ -1,6 +1,7 @@ + #!/bin/sh + prefix=@prefix@ + exec_prefix=@exec_prefix@ ++includedir=@includedir@ + libdir=@libdir@ + + usage() +@@ -38,7 +39,7 @@ case $1 in + echo @VERSION@ + ;; + --cflags) +- echo -I${prefix}/include ++ echo -I${includedir} + ;; + --libs) + # TODO: make an alias for --clibs +-- +1.7.10.4 + diff --git a/recipes-extra/geos/geos.inc b/recipes-extra/geos/geos.inc new file mode 100644 index 0000000000..2e308b4882 --- /dev/null +++ b/recipes-extra/geos/geos.inc @@ -0,0 +1,21 @@ +DESCRIPTION = "GEOS - Geometry Engine, Open Source" +HOMEPAGE = "http://trac.osgeo.org/geos/" +SECTION = "libs" + +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" + +SRC_URI = "http://download.osgeo.org/geos/geos-${PV}.tar.bz2" + +inherit autotools pkgconfig binconfig + +PACKAGES =+ "geoslib ${PN}-c1" + +DESCRIPTION_${PN}lib = "Geometry engine for Geographic Information Systems - C++ Library" +FILES_${PN}lib += "${libdir}/libgeos-${PV}.so" + +DESCRIPTION_${PN}-c1 = "Geometry engine for Geographic Information Systems - C Library" +FILES_${PN}-c1 += "${libdir}/libgeos_c.so.*" + +ALLOW_EMPTY_${PN} = "1" +RDEPENDS_${PN} += "geoslib ${PN}-c1" diff --git a/recipes-extra/geos/geos_3.4.2.bb b/recipes-extra/geos/geos_3.4.2.bb new file mode 100644 index 0000000000..3a9a028e8f --- /dev/null +++ b/recipes-extra/geos/geos_3.4.2.bb @@ -0,0 +1,6 @@ +require geos.inc + +SRC_URI += "file://geos-config-Add-includedir-variable.patch" + +SRC_URI[md5sum] = "fc5df2d926eb7e67f988a43a92683bae" +SRC_URI[sha256sum] = "15e8bfdf7e29087a957b56ac543ea9a80321481cef4d4f63a7b268953ad26c53" diff --git a/recipes-extra/libspatialite/libspatialite.inc b/recipes-extra/libspatialite/libspatialite.inc new file mode 100644 index 0000000000..c8d7ec1e97 --- /dev/null +++ b/recipes-extra/libspatialite/libspatialite.inc @@ -0,0 +1,16 @@ +DESCRIPTION = "Library extending the SQLite core to support fully fledged Spatial SQL capabilities" +HOMEPAGE = "https://www.gaia-gis.it/fossil/libspatialite/" +SECTION = "libs" +DEPENDS = "proj geos sqlite3" + +INC_PR = "r0" + +LICENSE = "MPLv1.1 GPLv2+ LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=0e92e1a36cc384b60f5b31dde0bdd39e" + +SRC_URI = "http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-${PV}.tar.gz" + +inherit autotools pkgconfig + +EXTRA_OECONF = "--enable-freexl=no" + diff --git a/recipes-extra/libspatialite/libspatialite/fix-the-configure-script-and-freexl.patch b/recipes-extra/libspatialite/libspatialite/fix-the-configure-script-and-freexl.patch new file mode 100644 index 0000000000..0cd0c3f6ac --- /dev/null +++ b/recipes-extra/libspatialite/libspatialite/fix-the-configure-script-and-freexl.patch @@ -0,0 +1,200 @@ +From upstream fossil repo, extracted via git, dropping configure.ac for amalgamation + +From: sandro +Date: Sat, 21 Jan 2012 16:53:28 +0000 +Subject: [PATCH] fixing the ./configure script: --enable-geocallbacks=no is + the new default and fixing some flaws for + --enable-freexl=no + +--- + configure | 20 ++++++++++---------- + configure.ac | 20 ++++++++++---------- + src/shapefiles/shapefiles.c | 2 ++ + 4 files changed, 32 insertions(+), 30 deletions(-) + +diff --git a/configure b/configure +index e8cf620..917bfca 100755 +--- a/configure ++++ b/configure +@@ -1410,7 +1410,7 @@ Optional Features: + optimize for fast installation [default=yes] + --disable-libtool-lock avoid locking (might break parallel builds) + --enable-mathsql enables SQL math functions [default=yes] +- --enable-geocallbacks enables geometry callbacks [default=yes] ++ --enable-geocallbacks enables geometry callbacks [default=no] + --enable-proj enables PROJ.4 inclusion [default=yes] + --enable-geos enables GEOS inclusion [default=yes] + --enable-geosadvanced enables GEOS advanced features [default=yes] +@@ -16980,7 +16980,7 @@ ac_config_files="$ac_config_files Makefile src/Makefile src/headers/Makefile src + if test "${enable_mathsql+set}" = set; then : + enableval=$enable_mathsql; + else +- mathsql=yes ++ enable_mathsql=yes + fi + + if test x"$enable_mathsql" != "xno"; then +@@ -16998,10 +16998,10 @@ fi + if test "${enable_geocallbacks+set}" = set; then : + enableval=$enable_geocallbacks; + else +- geocallbacks=yes ++ enable_geocallbacks=no + fi + +-if test x"$enable_geocallbacks" != "xno"; then ++if test x"$enable_geocallbacks" == "xyes"; then + OMIT_GEOCALLBACKS_FLAGS= + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_rtree_geometry_callback in -lsqlite3" >&5 + $as_echo_n "checking for sqlite3_rtree_geometry_callback in -lsqlite3... " >&6; } +@@ -17063,7 +17063,7 @@ fi + if test "${enable_proj+set}" = set; then : + enableval=$enable_proj; + else +- proj=yes ++ enable_proj=yes + fi + + if test x"$enable_proj" != "xno"; then +@@ -17153,7 +17153,7 @@ fi + if test "${enable_geos+set}" = set; then : + enableval=$enable_geos; + else +- geos=yes ++ enable_geos=yes + fi + + if test x"$enable_geos" != "xno"; then +@@ -17237,7 +17237,7 @@ fi + if test "${enable_geosadvanced+set}" = set; then : + enableval=$enable_geosadvanced; + else +- geosadvanced=yes ++ enable_geosadvanced=yes + fi + + if test x"$enable_geosadvanced" != "xno"; then +@@ -17316,7 +17316,7 @@ fi + if test "${enable_iconv+set}" = set; then : + enableval=$enable_iconv; + else +- geos=yes ++ enable_iconv=yes + fi + + if test x"$enable_iconv" != "xno"; then +@@ -17579,7 +17579,7 @@ fi + if test "${enable_freexl+set}" = set; then : + enableval=$enable_freexl; + else +- proj=yes ++ enable_freexl=yes + fi + + if test x"$enable_freexl" != "xno"; then +@@ -17669,7 +17669,7 @@ fi + if test "${enable_epsg+set}" = set; then : + enableval=$enable_epsg; + else +- epsg=yes ++ enable_epsg=yes + fi + + if test x"$enable_epsg" != "xno"; then +diff --git a/configure.ac b/configure.ac +index 216cc9f..69cb6c5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -79,7 +79,7 @@ AC_CONFIG_FILES([Makefile \ + # + AC_ARG_ENABLE(mathsql, [AS_HELP_STRING( + [--enable-mathsql], [enables SQL math functions [default=yes]])], +- [], [mathsql=yes]) ++ [], [enable_mathsql=yes]) + if test x"$enable_mathsql" != "xno"; then + OMIT_MATHSQL_FLAGS= + else +@@ -92,9 +92,9 @@ AC_SUBST(OMIT_MATHSQL_FLAGS) + # --enable-geocallbacks + # + AC_ARG_ENABLE(geocallbacks, [AS_HELP_STRING( +- [--enable-geocallbacks], [enables geometry callbacks [default=yes]])], +- [], [geocallbacks=yes]) +-if test x"$enable_geocallbacks" != "xno"; then ++ [--enable-geocallbacks], [enables geometry callbacks [default=no]])], ++ [], [enable_geocallbacks=no]) ++if test x"$enable_geocallbacks" == "xyes"; then + OMIT_GEOCALLBACKS_FLAGS= + AC_CHECK_LIB(sqlite3,sqlite3_rtree_geometry_callback,,AC_MSG_ERROR([obsolete 'libsqlite3' (< v.3.7.3). please retry specifying: --disable-geocallbacks]),-lm) + else +@@ -108,7 +108,7 @@ AC_SUBST(OMIT_GEOCALLBACKS_FLAGS) + # + AC_ARG_ENABLE(proj, [AS_HELP_STRING( + [--enable-proj], [enables PROJ.4 inclusion [default=yes]])], +- [], [proj=yes]) ++ [], [enable_proj=yes]) + if test x"$enable_proj" != "xno"; then + OMIT_PROJ_FLAGS= + AC_CHECK_HEADERS(proj_api.h,, [AC_MSG_ERROR([cannot find proj_api.h, bailing out])]) +@@ -124,7 +124,7 @@ AC_SUBST(OMIT_PROJ_FLAGS) + # + AC_ARG_ENABLE(geos, [AS_HELP_STRING( + [--enable-geos], [enables GEOS inclusion [default=yes]])], +- [], [geos=yes]) ++ [], [enable_geos=yes]) + if test x"$enable_geos" != "xno"; then + OMIT_GEOS_FLAGS= + AC_CHECK_HEADERS(geos_c.h,, [AC_MSG_ERROR([cannot find geos_c.h, bailing out])]) +@@ -134,7 +134,7 @@ if test x"$enable_geos" != "xno"; then + # + AC_ARG_ENABLE(geosadvanced, [AS_HELP_STRING( + [--enable-geosadvanced], [enables GEOS advanced features [default=yes]])], +- [], [geosadvanced=yes]) ++ [], [enable_geosadvanced=yes]) + if test x"$enable_geosadvanced" != "xno"; then + GEOSADVANCED_FLAGS=-DGEOS_ADVANCED + AC_SEARCH_LIBS(GEOSCoveredBy,geos_c,,AC_MSG_ERROR([obsolete 'libgeos_c' (< v.3.3.0). please retry specifying: --disable-geosadvanced.]),-lm -lgeos) +@@ -152,7 +152,7 @@ AC_SUBST(OMIT_GEOS_FLAGS) + # + AC_ARG_ENABLE(iconv, [AS_HELP_STRING( + [--enable-iconv], [enables ICONV inclusion [default=yes]])], +- [], [geos=yes]) ++ [], [enable_iconv=yes]) + if test x"$enable_iconv" != "xno"; then + OMIT_ICONV_FLAGS= + AC_CHECK_HEADERS(iconv.h,, [AC_MSG_ERROR([cannot find iconv.h, bailing out])]) +@@ -172,7 +172,7 @@ AC_SUBST(OMIT_ICONV_FLAGS) + # + AC_ARG_ENABLE(freexl, [AS_HELP_STRING( + [--enable-freexl], [enables FreeXL inclusion [default=yes]])], +- [], [proj=yes]) ++ [], [enable_freexl=yes]) + if test x"$enable_freexl" != "xno"; then + OMIT_FREEXL_FLAGS= + AC_CHECK_HEADERS(freexl.h,, [AC_MSG_ERROR([cannot find freexl.h, bailing out])]) +@@ -188,7 +188,7 @@ AC_SUBST(OMIT_FREEXL_FLAGS) + # + AC_ARG_ENABLE(epsg, [AS_HELP_STRING( + [--enable-epsg], [enables full EPSG dataset support [default=yes]])], +- [], [epsg=yes]) ++ [], [enable_epsg=yes]) + if test x"$enable_epsg" != "xno"; then + OMIT_EPSG_FLAGS= + else +diff --git a/src/shapefiles/shapefiles.c b/src/shapefiles/shapefiles.c +index 4bf5fd0..09e3cd3 100644 +--- a/src/shapefiles/shapefiles.c ++++ b/src/shapefiles/shapefiles.c +@@ -62,7 +62,9 @@ the terms of any one of the MPL, the GPL or the LGPL. + #include + #include + ++#ifndef OMIT_FREEXL + #include ++#endif + + #if defined(_WIN32) && !defined(__MINGW32__) + #define strcasecmp _stricmp +-- +1.7.9.1 + diff --git a/recipes-extra/libspatialite/libspatialite_3.0.1.bb b/recipes-extra/libspatialite/libspatialite_3.0.1.bb new file mode 100644 index 0000000000..1cb72e8283 --- /dev/null +++ b/recipes-extra/libspatialite/libspatialite_3.0.1.bb @@ -0,0 +1,9 @@ +require libspatialite.inc + +PR = "${INC_PR}.0" + +SRC_URI[md5sum] = "450d1a0d9da1bd9f770b7db3f2509f69" +SRC_URI[sha256sum] = "4983d6584069fd5ff0cfcccccee1015088dab2db177c0dc7050ce8306b68f8e6" + +SRC_URI =+ "file://fix-the-configure-script-and-freexl.patch" + diff --git a/recipes-extra/proj/proj_4.8.0.bb b/recipes-extra/proj/proj_4.8.0.bb new file mode 100644 index 0000000000..b4bfaf4f39 --- /dev/null +++ b/recipes-extra/proj/proj_4.8.0.bb @@ -0,0 +1,14 @@ +SUMMARY = "PROJ.4 - Cartographic Projections library" +HOMEPAGE = "http://trac.osgeo.org/proj/" +SECTION = "libs" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=74d9aaec5fa0cd734341e8c4dc91b608" + +SRC_URI = "http://download.osgeo.org/proj/proj-${PV}.tar.gz" +SRC_URI[md5sum] = "d815838c92a29179298c126effbb1537" +SRC_URI[sha256sum] = "2db2dbf0fece8d9880679154e0d6d1ce7c694dd8e08b4d091028093d87a9d1b5" + +inherit autotools pkgconfig lib_package + +FILES_${PN} += "${datadir}/proj" From 37deb6091c8c50d0f1b7402774a30cd6965d2aa9 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 22 Nov 2014 15:12:43 +0100 Subject: [PATCH 439/908] libspatialite: Upgrade to version 4.2.0 Package the new sqlite3 plugin into a new package and skip the dev-so qa issue. Add some extra depends that are now used by the library. --- .../libspatialite-4.2.0/geos-config.patch | 13 ++ recipes-extra/libspatialite/libspatialite.inc | 7 +- .../fix-the-configure-script-and-freexl.patch | 200 ------------------ .../libspatialite/libspatialite_3.0.1.bb | 9 - .../libspatialite/libspatialite_4.2.0.bb | 8 + 5 files changed, 27 insertions(+), 210 deletions(-) create mode 100644 recipes-extra/libspatialite/libspatialite-4.2.0/geos-config.patch delete mode 100644 recipes-extra/libspatialite/libspatialite/fix-the-configure-script-and-freexl.patch delete mode 100644 recipes-extra/libspatialite/libspatialite_3.0.1.bb create mode 100644 recipes-extra/libspatialite/libspatialite_4.2.0.bb diff --git a/recipes-extra/libspatialite/libspatialite-4.2.0/geos-config.patch b/recipes-extra/libspatialite/libspatialite-4.2.0/geos-config.patch new file mode 100644 index 0000000000..4e330686da --- /dev/null +++ b/recipes-extra/libspatialite/libspatialite-4.2.0/geos-config.patch @@ -0,0 +1,13 @@ +Index: libspatialite-4.2.0/configure.ac +=================================================================== +--- libspatialite-4.2.0.orig/configure.ac ++++ libspatialite-4.2.0/configure.ac +@@ -260,7 +260,7 @@ if test x"$enable_geos" != "xno"; then + fi + # Extract the linker and include flags + GEOS_LDFLAGS=`$GEOSCONFIG --ldflags` +- GEOS_CFLAGS=-I`$GEOSCONFIG --includes` ++ GEOS_CFLAGS=`$GEOSCONFIG --cflags` + AC_SUBST([GEOS_LDFLAGS]) + AC_SUBST([GEOS_CFLAGS]) + # Ensure that we can parse geos_c.h diff --git a/recipes-extra/libspatialite/libspatialite.inc b/recipes-extra/libspatialite/libspatialite.inc index c8d7ec1e97..fd553e82c6 100644 --- a/recipes-extra/libspatialite/libspatialite.inc +++ b/recipes-extra/libspatialite/libspatialite.inc @@ -1,7 +1,7 @@ DESCRIPTION = "Library extending the SQLite core to support fully fledged Spatial SQL capabilities" HOMEPAGE = "https://www.gaia-gis.it/fossil/libspatialite/" SECTION = "libs" -DEPENDS = "proj geos sqlite3" +DEPENDS = "proj geos sqlite3 libxml2 zlib" INC_PR = "r0" @@ -14,3 +14,8 @@ inherit autotools pkgconfig EXTRA_OECONF = "--enable-freexl=no" + +# A plugins for SQLite3 +PACKAGES += "${PN}-plugin" +INSANE_SKIP_${PN}-plugin = "dev-so" +FILES_${PN}-plugin += "${libdir}/mod_*" diff --git a/recipes-extra/libspatialite/libspatialite/fix-the-configure-script-and-freexl.patch b/recipes-extra/libspatialite/libspatialite/fix-the-configure-script-and-freexl.patch deleted file mode 100644 index 0cd0c3f6ac..0000000000 --- a/recipes-extra/libspatialite/libspatialite/fix-the-configure-script-and-freexl.patch +++ /dev/null @@ -1,200 +0,0 @@ -From upstream fossil repo, extracted via git, dropping configure.ac for amalgamation - -From: sandro -Date: Sat, 21 Jan 2012 16:53:28 +0000 -Subject: [PATCH] fixing the ./configure script: --enable-geocallbacks=no is - the new default and fixing some flaws for - --enable-freexl=no - ---- - configure | 20 ++++++++++---------- - configure.ac | 20 ++++++++++---------- - src/shapefiles/shapefiles.c | 2 ++ - 4 files changed, 32 insertions(+), 30 deletions(-) - -diff --git a/configure b/configure -index e8cf620..917bfca 100755 ---- a/configure -+++ b/configure -@@ -1410,7 +1410,7 @@ Optional Features: - optimize for fast installation [default=yes] - --disable-libtool-lock avoid locking (might break parallel builds) - --enable-mathsql enables SQL math functions [default=yes] -- --enable-geocallbacks enables geometry callbacks [default=yes] -+ --enable-geocallbacks enables geometry callbacks [default=no] - --enable-proj enables PROJ.4 inclusion [default=yes] - --enable-geos enables GEOS inclusion [default=yes] - --enable-geosadvanced enables GEOS advanced features [default=yes] -@@ -16980,7 +16980,7 @@ ac_config_files="$ac_config_files Makefile src/Makefile src/headers/Makefile src - if test "${enable_mathsql+set}" = set; then : - enableval=$enable_mathsql; - else -- mathsql=yes -+ enable_mathsql=yes - fi - - if test x"$enable_mathsql" != "xno"; then -@@ -16998,10 +16998,10 @@ fi - if test "${enable_geocallbacks+set}" = set; then : - enableval=$enable_geocallbacks; - else -- geocallbacks=yes -+ enable_geocallbacks=no - fi - --if test x"$enable_geocallbacks" != "xno"; then -+if test x"$enable_geocallbacks" == "xyes"; then - OMIT_GEOCALLBACKS_FLAGS= - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_rtree_geometry_callback in -lsqlite3" >&5 - $as_echo_n "checking for sqlite3_rtree_geometry_callback in -lsqlite3... " >&6; } -@@ -17063,7 +17063,7 @@ fi - if test "${enable_proj+set}" = set; then : - enableval=$enable_proj; - else -- proj=yes -+ enable_proj=yes - fi - - if test x"$enable_proj" != "xno"; then -@@ -17153,7 +17153,7 @@ fi - if test "${enable_geos+set}" = set; then : - enableval=$enable_geos; - else -- geos=yes -+ enable_geos=yes - fi - - if test x"$enable_geos" != "xno"; then -@@ -17237,7 +17237,7 @@ fi - if test "${enable_geosadvanced+set}" = set; then : - enableval=$enable_geosadvanced; - else -- geosadvanced=yes -+ enable_geosadvanced=yes - fi - - if test x"$enable_geosadvanced" != "xno"; then -@@ -17316,7 +17316,7 @@ fi - if test "${enable_iconv+set}" = set; then : - enableval=$enable_iconv; - else -- geos=yes -+ enable_iconv=yes - fi - - if test x"$enable_iconv" != "xno"; then -@@ -17579,7 +17579,7 @@ fi - if test "${enable_freexl+set}" = set; then : - enableval=$enable_freexl; - else -- proj=yes -+ enable_freexl=yes - fi - - if test x"$enable_freexl" != "xno"; then -@@ -17669,7 +17669,7 @@ fi - if test "${enable_epsg+set}" = set; then : - enableval=$enable_epsg; - else -- epsg=yes -+ enable_epsg=yes - fi - - if test x"$enable_epsg" != "xno"; then -diff --git a/configure.ac b/configure.ac -index 216cc9f..69cb6c5 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -79,7 +79,7 @@ AC_CONFIG_FILES([Makefile \ - # - AC_ARG_ENABLE(mathsql, [AS_HELP_STRING( - [--enable-mathsql], [enables SQL math functions [default=yes]])], -- [], [mathsql=yes]) -+ [], [enable_mathsql=yes]) - if test x"$enable_mathsql" != "xno"; then - OMIT_MATHSQL_FLAGS= - else -@@ -92,9 +92,9 @@ AC_SUBST(OMIT_MATHSQL_FLAGS) - # --enable-geocallbacks - # - AC_ARG_ENABLE(geocallbacks, [AS_HELP_STRING( -- [--enable-geocallbacks], [enables geometry callbacks [default=yes]])], -- [], [geocallbacks=yes]) --if test x"$enable_geocallbacks" != "xno"; then -+ [--enable-geocallbacks], [enables geometry callbacks [default=no]])], -+ [], [enable_geocallbacks=no]) -+if test x"$enable_geocallbacks" == "xyes"; then - OMIT_GEOCALLBACKS_FLAGS= - AC_CHECK_LIB(sqlite3,sqlite3_rtree_geometry_callback,,AC_MSG_ERROR([obsolete 'libsqlite3' (< v.3.7.3). please retry specifying: --disable-geocallbacks]),-lm) - else -@@ -108,7 +108,7 @@ AC_SUBST(OMIT_GEOCALLBACKS_FLAGS) - # - AC_ARG_ENABLE(proj, [AS_HELP_STRING( - [--enable-proj], [enables PROJ.4 inclusion [default=yes]])], -- [], [proj=yes]) -+ [], [enable_proj=yes]) - if test x"$enable_proj" != "xno"; then - OMIT_PROJ_FLAGS= - AC_CHECK_HEADERS(proj_api.h,, [AC_MSG_ERROR([cannot find proj_api.h, bailing out])]) -@@ -124,7 +124,7 @@ AC_SUBST(OMIT_PROJ_FLAGS) - # - AC_ARG_ENABLE(geos, [AS_HELP_STRING( - [--enable-geos], [enables GEOS inclusion [default=yes]])], -- [], [geos=yes]) -+ [], [enable_geos=yes]) - if test x"$enable_geos" != "xno"; then - OMIT_GEOS_FLAGS= - AC_CHECK_HEADERS(geos_c.h,, [AC_MSG_ERROR([cannot find geos_c.h, bailing out])]) -@@ -134,7 +134,7 @@ if test x"$enable_geos" != "xno"; then - # - AC_ARG_ENABLE(geosadvanced, [AS_HELP_STRING( - [--enable-geosadvanced], [enables GEOS advanced features [default=yes]])], -- [], [geosadvanced=yes]) -+ [], [enable_geosadvanced=yes]) - if test x"$enable_geosadvanced" != "xno"; then - GEOSADVANCED_FLAGS=-DGEOS_ADVANCED - AC_SEARCH_LIBS(GEOSCoveredBy,geos_c,,AC_MSG_ERROR([obsolete 'libgeos_c' (< v.3.3.0). please retry specifying: --disable-geosadvanced.]),-lm -lgeos) -@@ -152,7 +152,7 @@ AC_SUBST(OMIT_GEOS_FLAGS) - # - AC_ARG_ENABLE(iconv, [AS_HELP_STRING( - [--enable-iconv], [enables ICONV inclusion [default=yes]])], -- [], [geos=yes]) -+ [], [enable_iconv=yes]) - if test x"$enable_iconv" != "xno"; then - OMIT_ICONV_FLAGS= - AC_CHECK_HEADERS(iconv.h,, [AC_MSG_ERROR([cannot find iconv.h, bailing out])]) -@@ -172,7 +172,7 @@ AC_SUBST(OMIT_ICONV_FLAGS) - # - AC_ARG_ENABLE(freexl, [AS_HELP_STRING( - [--enable-freexl], [enables FreeXL inclusion [default=yes]])], -- [], [proj=yes]) -+ [], [enable_freexl=yes]) - if test x"$enable_freexl" != "xno"; then - OMIT_FREEXL_FLAGS= - AC_CHECK_HEADERS(freexl.h,, [AC_MSG_ERROR([cannot find freexl.h, bailing out])]) -@@ -188,7 +188,7 @@ AC_SUBST(OMIT_FREEXL_FLAGS) - # - AC_ARG_ENABLE(epsg, [AS_HELP_STRING( - [--enable-epsg], [enables full EPSG dataset support [default=yes]])], -- [], [epsg=yes]) -+ [], [enable_epsg=yes]) - if test x"$enable_epsg" != "xno"; then - OMIT_EPSG_FLAGS= - else -diff --git a/src/shapefiles/shapefiles.c b/src/shapefiles/shapefiles.c -index 4bf5fd0..09e3cd3 100644 ---- a/src/shapefiles/shapefiles.c -+++ b/src/shapefiles/shapefiles.c -@@ -62,7 +62,9 @@ the terms of any one of the MPL, the GPL or the LGPL. - #include - #include - -+#ifndef OMIT_FREEXL - #include -+#endif - - #if defined(_WIN32) && !defined(__MINGW32__) - #define strcasecmp _stricmp --- -1.7.9.1 - diff --git a/recipes-extra/libspatialite/libspatialite_3.0.1.bb b/recipes-extra/libspatialite/libspatialite_3.0.1.bb deleted file mode 100644 index 1cb72e8283..0000000000 --- a/recipes-extra/libspatialite/libspatialite_3.0.1.bb +++ /dev/null @@ -1,9 +0,0 @@ -require libspatialite.inc - -PR = "${INC_PR}.0" - -SRC_URI[md5sum] = "450d1a0d9da1bd9f770b7db3f2509f69" -SRC_URI[sha256sum] = "4983d6584069fd5ff0cfcccccee1015088dab2db177c0dc7050ce8306b68f8e6" - -SRC_URI =+ "file://fix-the-configure-script-and-freexl.patch" - diff --git a/recipes-extra/libspatialite/libspatialite_4.2.0.bb b/recipes-extra/libspatialite/libspatialite_4.2.0.bb new file mode 100644 index 0000000000..74a77e89a6 --- /dev/null +++ b/recipes-extra/libspatialite/libspatialite_4.2.0.bb @@ -0,0 +1,8 @@ +require libspatialite.inc + +PR = "${INC_PR}.0" + +SRC_URI[md5sum] = "83305ed694a77152120d1f74c5151779" +SRC_URI[sha256sum] = "9f138a6854740c7827fdee53845eb1485fce3e805a7aa9fc9151f8046ebd312d" + +SRC_URI += "file://geos-config.patch" From d43fa5e76f28a56e35e6b5b5de1298411c8940b6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 22 Nov 2014 21:50:24 +0100 Subject: [PATCH 440/908] openvpn: I have no idea who creates the /run/openvpn directory I have no idea who creates the /run/openvpn directory on Debian. The path is not in a tmpfiles.d and I don't see the generator creating it or the service file indicating that it needs to be created. Place the file with openvpn.NAME.status into the /run directory which appears to work on the device. --- recipes-extra/openvpn/openvpn/openvpn@.service | 2 +- recipes-extra/openvpn/openvpn_2.3.4.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-extra/openvpn/openvpn/openvpn@.service b/recipes-extra/openvpn/openvpn/openvpn@.service index e25199389b..75b02986dc 100644 --- a/recipes-extra/openvpn/openvpn/openvpn@.service +++ b/recipes-extra/openvpn/openvpn/openvpn@.service @@ -5,7 +5,7 @@ ReloadPropagatedFrom=openvpn.service [Service] Type=forking -ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf +ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn.%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf ExecReload=/bin/kill -HUP $MAINPID WorkingDirectory=/etc/openvpn Restart=always diff --git a/recipes-extra/openvpn/openvpn_2.3.4.bb b/recipes-extra/openvpn/openvpn_2.3.4.bb index b6465382da..8d42e0c8e2 100644 --- a/recipes-extra/openvpn/openvpn_2.3.4.bb +++ b/recipes-extra/openvpn/openvpn_2.3.4.bb @@ -7,7 +7,7 @@ DEPENDS = "lzo openssl iproute2 ${@base_contains('DISTRO_FEATURES', 'pam', 'libp inherit autotools -PR = "r1" +PR = "r2" SRC_URI = "http://swupdate.openvpn.org/community/releases/openvpn-${PV}.tar.gz \ file://openvpn \ From 52f8db743cdca36310e82e3a7d894dffe7ad3d8c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 26 Nov 2014 20:57:58 +0100 Subject: [PATCH 441/908] sysmobts: Simplify and work with all versions of 1.5 Similiae to the layer code we simplify the machine include to work for all versions of a 1.5 release. Poky 1.5.4 has been released and we don't want to continue to play this game. --- conf/machine/include/sysmobts.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/include/sysmobts.inc b/conf/machine/include/sysmobts.inc index ba7261db07..49bd228034 100644 --- a/conf/machine/include/sysmobts.inc +++ b/conf/machine/include/sysmobts.inc @@ -1,7 +1,7 @@ TARGET_ARCH = "arm" PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom" -PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.7', '3.10.50+git%'), ('1.5','3.10.50+git%'), ('1.5.1','3.10.50+git%'), ('1.5.2','3.10.50+git%'), ('1.5.3','3.10.50+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)]}" +PREFERRED_VERSION_linux-sysmocom = "${@ dict([('1.7', '3.10.50+git%'), ('1.5','3.10.50+git%'), ('1.1.2','')])[d.getVar('DISTRO_VERSION', True)[0:3]]}" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" PREFERRED_VERSION_u-boot = "git" From 74c9120eeb51e6277e1ef3f95bd13ae26beaf627 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 26 Nov 2014 21:00:24 +0100 Subject: [PATCH 442/908] master/dizzy: Catch up with upstream renames Latest upstream has moved to newer version of netbase and opkg. Catch up with these renames. --- yocto-dizzy/{netbase_5.2.bbappend => netbase_5.3.bbappend} | 0 yocto-dizzy/{opkg_0.2.2.bbappend => opkg_0.2.4.bbappend} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename yocto-dizzy/{netbase_5.2.bbappend => netbase_5.3.bbappend} (100%) rename yocto-dizzy/{opkg_0.2.2.bbappend => opkg_0.2.4.bbappend} (100%) diff --git a/yocto-dizzy/netbase_5.2.bbappend b/yocto-dizzy/netbase_5.3.bbappend similarity index 100% rename from yocto-dizzy/netbase_5.2.bbappend rename to yocto-dizzy/netbase_5.3.bbappend diff --git a/yocto-dizzy/opkg_0.2.2.bbappend b/yocto-dizzy/opkg_0.2.4.bbappend similarity index 100% rename from yocto-dizzy/opkg_0.2.2.bbappend rename to yocto-dizzy/opkg_0.2.4.bbappend From 1c59f2af080b2b3d5c781342b4561715e0057bce Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 4 Dec 2014 19:46:38 +0100 Subject: [PATCH 443/908] dbus: Catch up with master changes of Poky tonight --- yocto-dizzy/{dbus_1.8.2.bbappend => dbus_1.8.10.bbappend} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename yocto-dizzy/{dbus_1.8.2.bbappend => dbus_1.8.10.bbappend} (100%) diff --git a/yocto-dizzy/dbus_1.8.2.bbappend b/yocto-dizzy/dbus_1.8.10.bbappend similarity index 100% rename from yocto-dizzy/dbus_1.8.2.bbappend rename to yocto-dizzy/dbus_1.8.10.bbappend From 036d66a47c9f638871b8cb2b6170c7a3a17ad12e Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 12 Dec 2014 16:44:30 +0100 Subject: [PATCH 444/908] odu-static-devicenames: rename static-devicenames-odu to odu-static-devicenames [hfreyther: I asked to follow machine-name pattern] Related: SYS#732 --- .../files/odu-persistens-serial.rules} | 8 ++++---- .../odu-static-devicenames_1.bb} | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) rename recipes-bsp/{static-devicenames-odu/files/persistens-serial-odu.rules => odu-static-devicenames/files/odu-persistens-serial.rules} (79%) rename recipes-bsp/{static-devicenames-odu/static-devicenames-odu_1.bb => odu-static-devicenames/odu-static-devicenames_1.bb} (67%) diff --git a/recipes-bsp/static-devicenames-odu/files/persistens-serial-odu.rules b/recipes-bsp/odu-static-devicenames/files/odu-persistens-serial.rules similarity index 79% rename from recipes-bsp/static-devicenames-odu/files/persistens-serial-odu.rules rename to recipes-bsp/odu-static-devicenames/files/odu-persistens-serial.rules index d942af923f..007075d62f 100644 --- a/recipes-bsp/static-devicenames-odu/files/persistens-serial-odu.rules +++ b/recipes-bsp/odu-static-devicenames/files/odu-persistens-serial.rules @@ -1,8 +1,8 @@ # do not edit this file, it will be overwritten on update -ACTION=="remove", GOTO="persistent_serial_odu_end" -SUBSYSTEM!="tty", GOTO="persistent_serial_odu_end" -KERNEL!="ttyACM[0-9]*", GOTO="persistent_serial_odu_end" +ACTION=="remove", GOTO="odu_persistent_serial_end" +SUBSYSTEM!="tty", GOTO="odu_persistent_serial_end" +KERNEL!="ttyACM[0-9]*", GOTO="odu_persistent_serial_end" KERNELS=="1-1.2:1.0", SYMLINK+="ttyModemScan0" KERNELS=="1-1.2:1.2", SYMLINK+="ttyModemScan1" @@ -20,4 +20,4 @@ KERNELS=="1-1.3:1.8", SYMLINK+="ttyModemUplink4" KERNELS=="1-1.3:1.10", SYMLINK+="ttyModemUplink5" KERNELS=="1-1.3:1.12", SYMLINK+="ttyModemUplink6" -LABEL="persistent_serial_odu_end" +LABEL="odu_persistent_serial_end" diff --git a/recipes-bsp/static-devicenames-odu/static-devicenames-odu_1.bb b/recipes-bsp/odu-static-devicenames/odu-static-devicenames_1.bb similarity index 67% rename from recipes-bsp/static-devicenames-odu/static-devicenames-odu_1.bb rename to recipes-bsp/odu-static-devicenames/odu-static-devicenames_1.bb index a6d235940c..781e4b20d8 100644 --- a/recipes-bsp/static-devicenames-odu/static-devicenames-odu_1.bb +++ b/recipes-bsp/odu-static-devicenames/odu-static-devicenames_1.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Udev helper script for static device names on the sysmocom odu" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -SRC_URI = "file://persistens-serial-odu.rules" +SRC_URI = "file://odu-persistens-serial.rules" PACKAGES = "${PN}" FILES_${PN} = "${BASELIB}/udev/rules.d/*" @@ -10,5 +10,5 @@ RDPEPENDS_${PN} = "udev" do_install() { install -d ${D}/${BASELIB}/udev/rules.d - install -m 0644 ${WORKDIR}/persistens-serial-odu.rules ${D}/${BASELIB}/udev/rules.d/70-persistens-serial-odu.rules + install -m 0644 ${WORKDIR}/odu-persistens-serial.rules ${D}/${BASELIB}/udev/rules.d/70-odu-persistens-serial.rules } From 1ed9350964d1ca448aec0fcb9aa737b137fb3b7a Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 12 Dec 2014 17:40:05 +0100 Subject: [PATCH 445/908] sysmocom-udhcpd-config: start the udhcpd on the sysmocom-bsc only when eth1 is present * the change affects the config file, so the package number is bumped Related: SYS#735 --- .../sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.service | 2 ++ ...{sysmocom-udhcpd-config_1.bb => sysmocom-udhcpd-config_2.bb} | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) rename recipes-apps/sysmocom-udhcpd-config/{sysmocom-udhcpd-config_1.bb => sysmocom-udhcpd-config_2.bb} (98%) diff --git a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.service b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.service index 6b92866e96..745b78af8a 100644 --- a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.service +++ b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.service @@ -1,5 +1,7 @@ [Unit] Description=UDHCPD +Requires=sys-subsystem-net-devices-eth1.device +After=sys-subsystem-net-devices-eth1.device [Service] Type=simple diff --git a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_2.bb similarity index 98% rename from recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb rename to recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_2.bb index 3e787feb43..1b4feab7ae 100644 --- a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb +++ b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_2.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = " \ SRC_URI = "file://udhcpd.conf \ file://udhcpd.service \ " -PR = "r5" +PR = "r0" CONFFILES_${PN} = "${sysconfdir}/udhcpd.conf" FILES_${PN} += "${systemd_unitdir}" From 078c48f8f13b6b79ca6b7a8aa9282546d844f019 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 12 Dec 2014 19:19:29 +0100 Subject: [PATCH 446/908] openvpn: update 2.3.4 to 2.3.6 Fixes: SYS#836 --- .../openvpn/{openvpn_2.3.4.bb => openvpn_2.3.6.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename recipes-extra/openvpn/{openvpn_2.3.4.bb => openvpn_2.3.6.bb} (92%) diff --git a/recipes-extra/openvpn/openvpn_2.3.4.bb b/recipes-extra/openvpn/openvpn_2.3.6.bb similarity index 92% rename from recipes-extra/openvpn/openvpn_2.3.4.bb rename to recipes-extra/openvpn/openvpn_2.3.6.bb index 8d42e0c8e2..bb00043ea5 100644 --- a/recipes-extra/openvpn/openvpn_2.3.4.bb +++ b/recipes-extra/openvpn/openvpn_2.3.6.bb @@ -7,7 +7,7 @@ DEPENDS = "lzo openssl iproute2 ${@base_contains('DISTRO_FEATURES', 'pam', 'libp inherit autotools -PR = "r2" +PR = "r3" SRC_URI = "http://swupdate.openvpn.org/community/releases/openvpn-${PV}.tar.gz \ file://openvpn \ @@ -15,8 +15,8 @@ SRC_URI = "http://swupdate.openvpn.org/community/releases/openvpn-${PV}.tar.gz \ file://openvpn@.service \ file://openvpn.service" -SRC_URI[md5sum] = "04d47237907faabe9d046970ffe44b2e" -SRC_URI[sha256sum] = "af506d5f48568fa8d2f2435cb3fad35f9a9a8f263999ea6df3ba296960cec85a" +SRC_URI[md5sum] = "6ca03fe0fd093e0d01601abee808835c" +SRC_URI[sha256sum] = "7baed2ff39c12e1a1a289ec0b46fcc49ff094ca58b8d8d5f29b36ac649ee5b26" CFLAGS += "-fno-inline" From 5c189003c59177ee5353dd8b5035c10e86a0357b Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 12 Dec 2014 20:56:23 +0100 Subject: [PATCH 447/908] openvpn: clean update from sysv-rc to systemd for the startup files [hfreyther: We assume that the user might install OpenVPN with a different priority but that it will always be available in the runlevel two (e.g. even if the user changed the default runlevel)] Related: SYS#517 --- recipes-extra/openvpn/openvpn_2.3.6.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/recipes-extra/openvpn/openvpn_2.3.6.bb b/recipes-extra/openvpn/openvpn_2.3.6.bb index bb00043ea5..ed3376dc01 100644 --- a/recipes-extra/openvpn/openvpn_2.3.6.bb +++ b/recipes-extra/openvpn/openvpn_2.3.6.bb @@ -40,6 +40,7 @@ do_install_append() { install -m 0755 ${WORKDIR}/openvpn-generator ${D}${systemd_unitdir}/system-generators } +RDEPENDS_${PN} += "update-rc.d" RRECOMMENDS_${PN} = "kernel-module-tun" FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug" @@ -48,6 +49,18 @@ FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug" # during install and upgrade. Simply ship the files. FILES_${PN} += "${systemd_unitdir}" +pkg_postinst_${PN} () { + if [ "x$D" != "x" ]; then + exit 1 + fi + + if [ -L /etc/rc2.d/S*openvpn ]; then + update-rc.d -f openvpn remove + if [ ! -L /etc/systemd/system/multi-user.target.wants/openvpn.service ]; then + ln -s '/lib/systemd/system/openvpn.service' '/etc/systemd/system/multi-user.target.wants/openvpn.service' + fi + fi +} # We need to test opkg upgrade of OpenVPN through the OpenVPN first DEFAULT_PREFERENCE = "-1" From eefee096cd9dc29e2fe2d5fa41cc89789d5737e2 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 18 Dec 2014 23:22:57 +0100 Subject: [PATCH 448/908] usb2514: Support for board v3+ We use the new sysfs file to obtain the board version number and configure the port swapping accordingly. If the board_version sysfs attribute is not present, we default to v2. We also integrate resetting the hub chip from within this tool right befeore writing the new register values via I2C. --- recipes-bsp/sob-odu/files/usb2514.c | 81 ++++++++++++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/sob-odu/files/usb2514.c b/recipes-bsp/sob-odu/files/usb2514.c index acc75408dc..2669a2066c 100644 --- a/recipes-bsp/sob-odu/files/usb2514.c +++ b/recipes-bsp/sob-odu/files/usb2514.c @@ -33,6 +33,10 @@ #define USB2514_SLAVE_ADDR 0x2C +#define BOARD_VER_PATH "/sys/devices/platform/sob-odu.0/board_version" +#define RESET_PATH "/sys/devices/platform/sob-odu.0/gpio_hub_reset/value" +#define RESET_PATH_OLD "/sys/class/gpio/gpio62/value" + /* Default configuration as per data sheet */ static const uint8_t usb2514_default[256] = { 0x24, 0x04, 0x14, 0x25, 0xB3, 0x0B, 0x9B, 0x20, /* 0x00 */ @@ -70,7 +74,7 @@ static const uint8_t usb2514_default[256] = { }; /* Default configuration as per data sheet */ -static const uint8_t usb2514_odu[256] = { +static uint8_t usb2514_odu[256] = { 0x24, 0x04, 0x14, 0x25, 0xB3, 0x0B, 0x9B, 0x20, /* 0x00 */ 0x02, 0x00, 0x00, 0x00, 0x01, 0x32, 0x01, 0x32, /* 0x08 */ 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10 */ @@ -140,9 +144,61 @@ static int write_regs(const uint8_t *regs) return rc; } +/* attempt to obtain the board version from sysfs */ +static int get_board_version(void) +{ + FILE *f; + unsigned int ver; + + f = fopen(BOARD_VER_PATH, "r"); + if (!f) + return -1; + + if (fscanf(f, "%u", &ver) != 1) { + fclose(f); + return -2; + } + + fclose(f); + + return ver; +} + +/* attempt to reset the hub via sysfs */ +static int reset_hub(void) +{ + FILE *f; + int invert_logic = 0; + + f = fopen(RESET_PATH, "w"); + if (!f) { + f = fopen(RESET_PATH_OLD, "w"); + if (!f) + return -1; + invert_logic = 1; + } + + if (invert_logic) + fputs("0", f); + else + fputs("1", f); + + usleep(10000); + rewind(f); + + if (invert_logic) + fputs("1", f); + else + fputs("0", f); + + fclose(f); + return 0; +} + int main(int argc, char **argv) { int rc; + int board_version; int adapter_nr; long slave_addr = USB2514_SLAVE_ADDR; char filename[PATH_MAX]; @@ -164,12 +220,35 @@ int main(int argc, char **argv) get_support(); + board_version = get_board_version(); + if (board_version >= 3) { + /* on board version 3 and later we don't need to swap + * USB downlink port 1 */ + printf("Detected board >= v3, not swapping DN1\n"); + usb2514_odu[0xFA] = 0x0C; + } else if (board_version == 1) { + /* ports are still swapped in hardware */ + printf("Detected board v1, not swapping any ports\n"); + usb2514_odu[0xFA] = 0x00; + } else if (board_version == 2) { + printf("Detected board v2, swapping DN1, DN2 and DN3\n"); + /* default */ + } else { + printf("Assuming board v2, swapping DN1, DN2 and DN3\n"); + /* default */ + } + rc = ioctl(g_fd, I2C_SLAVE, slave_addr); if (rc < 0) { fprintf(stderr, "Error setting slave addr: %d\n", rc); exit(1); } + /* First reset the USB hub before loading data into it */ + if (reset_hub() < 0) { + fprintf(stderr, "Couldn't reset the USB hub!\n"); + } + rc = write_regs(usb2514_odu); if (rc < 0) { fprintf(stderr, "Error writing default regs: %d\n", rc); From 53f89ad74d8dc382d50e9901fed5f720449e4a2c Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 18 Dec 2014 23:29:06 +0100 Subject: [PATCH 449/908] usb2514: skip gpio script on kernels that export GPIOs themselves --- recipes-bsp/sob-odu/files/gpio_usb2514 | 7 +++++++ recipes-bsp/sob-odu/usb2514_1.bb | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/sob-odu/files/gpio_usb2514 b/recipes-bsp/sob-odu/files/gpio_usb2514 index baa245b411..befde708b3 100644 --- a/recipes-bsp/sob-odu/files/gpio_usb2514 +++ b/recipes-bsp/sob-odu/files/gpio_usb2514 @@ -1,5 +1,12 @@ #!/bin/sh +# in more recent kernels the kernel is itself taking care of exporting +# the right GPIOs and setting their direction and level. We can detect +# this by checking for the below sysfs path +if [ -d /sys/devices/platform/sob-odu.0 ]; then + exit 0 +fi + cd /sys/class/gpio # !mdm1_pwr_ind diff --git a/recipes-bsp/sob-odu/usb2514_1.bb b/recipes-bsp/sob-odu/usb2514_1.bb index b06858beca..e73366e23c 100644 --- a/recipes-bsp/sob-odu/usb2514_1.bb +++ b/recipes-bsp/sob-odu/usb2514_1.bb @@ -4,7 +4,7 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://${WORKDIR}/usb2514.c;beginline=1;endline=18;md5=3b8421a1c05d21add65cc20fccfa29cd" DEPENDS += "lmsensors-apps" -PR = "r1" +PR = "r2" SRC_URI = "file://usb2514.c \ file://gpio_usb2514 \ From 45ed0caa7982490b01a7674a116c12083fde4687 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 18 Dec 2014 23:55:37 +0100 Subject: [PATCH 450/908] update to recent sob-odu kernel, including v3 hardware support --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index 80776a7c42..cc81563a0e 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -15,7 +15,7 @@ SRCREV = "bcc4fa827be7f59486ff305d664b42a142025f9b" # odu handling. BRANCH="v3.2" -SRCREV_sysmocom-odu = "aadf22be50ac2abb2a9437b9ad3bba4ccdca540b" +SRCREV_sysmocom-odu = "20547dac08c962e43a64ef5d4f182b20b2edd172" BRANCH_sysmocom-odu = "sob-odu/linux-3.2.63" LINUX_VERSION_sysmocom-odu = "3.2.63" From 121196bbd418e173ddc0c2a220d1efc0ba919990 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 19 Dec 2014 18:09:39 +0100 Subject: [PATCH 451/908] ODU: add new odu-gpiotool script The odu-gpiotool is a small script created by roh to selectively reset individual peripherals of the system by the administrator. It originates from ticket https://projects.sysmocom.de/ortelius/issues/655 --- recipes-bsp/sob-odu/files/odu-gpiotool | 113 +++++++++++++++++++++++++ recipes-bsp/sob-odu/usb2514_1.bb | 4 +- 2 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 recipes-bsp/sob-odu/files/odu-gpiotool diff --git a/recipes-bsp/sob-odu/files/odu-gpiotool b/recipes-bsp/sob-odu/files/odu-gpiotool new file mode 100644 index 0000000000..5ac8c0376f --- /dev/null +++ b/recipes-bsp/sob-odu/files/odu-gpiotool @@ -0,0 +1,113 @@ +#!/bin/sh + +USB2514=/usr/bin/usb2514 +GPIODIR=/sys/devices/platform/sob-odu.0 + +DEBUG=0 +DRYRUN=0 + +test -x ${USB2514} +if [ $? -ne 0 ]; +then + echo "ERROR - ${USB2514} does not exist or is not exeutable" + echo +fi + +if [ $DRYRUN -ne 0 ] || [ $DEBUG -ne 0 ]; then + echo "DEBUG=$DEBUG\nDRYRUN=$DRYRUN\n" +fi; + +### helper +echodeb() { + if [ $DEBUG -ne 0 ]; then + echo "DEBUG - $*" + fi; +} + +gpioecho() { + echodeb "echo ${1} > ${2}" + if [ $DRYRUN -eq 0 ]; then + echo ${1} > ${2} + fi; +} + +# $1 gpio $2 direction +init_pin() { + echodeb init_pin $1 $2 + gpioecho ${1} "${GPIODIR}/export" + gpioecho ${2} "${GPIODIR}/gpio$_{1}/direction" +} + +# $1 gpio $2 value +set_pin() { + echodeb set_pin $1 $2 + gpioecho ${2} "${GPIODIR}/gpio_${1}/value" +} + +# $1 pin $2 tempvalue $3 endvalue +toggle_pin() { + set_pin ${1} ${2} + sleep 1 + set_pin ${1} ${3} +} + +### +reset_modem1() { + toggle_pin mdm1_rst 1 0 +} + +reset_modem2() { + toggle_pin mdm2_rst 1 0 +} + +reset_gnss() { + toggle_pin gnss_rst 1 0 +} + +reset_adsb() { + toggle_pin adsb_rst 1 0 +} + +reset_ais() { + toggle_pin ais_off 1 0 +} + +reset_usb() { + # usb2514 now has internal code to assert/de-assert !hub_reset + ${USB2514} 1 +} + +reset_all() { + reset_modem1 + reset_modem2 + reset_gnss + reset_adsb + reset_ais + reset_usb +} + +print_help() { + echo $0 v0.2 + echo + echo "help - this text" + echo "reset [device] - reset all/one device(s)" + echo +} +case "$1" in +start) + ;; +reset) + if [ -n "$2" ]; then + reset_${2} + else + reset_all + fi + ;; +restart) + ${0} reset + ;; +*) + print_help + ;; +esac + diff --git a/recipes-bsp/sob-odu/usb2514_1.bb b/recipes-bsp/sob-odu/usb2514_1.bb index e73366e23c..1b25e6506b 100644 --- a/recipes-bsp/sob-odu/usb2514_1.bb +++ b/recipes-bsp/sob-odu/usb2514_1.bb @@ -4,10 +4,11 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://${WORKDIR}/usb2514.c;beginline=1;endline=18;md5=3b8421a1c05d21add65cc20fccfa29cd" DEPENDS += "lmsensors-apps" -PR = "r2" +PR = "r3" SRC_URI = "file://usb2514.c \ file://gpio_usb2514 \ + file://odu-gpiotool \ file://i2c-dev.h \ file://usb2514.service \ " @@ -23,6 +24,7 @@ do_install() { install -d ${D}${bindir}/ install -m 0755 ${WORKDIR}/usb2514 ${D}${bindir}/ install -m 0755 ${WORKDIR}/gpio_usb2514 ${D}${bindir}/ + install -m 0755 ${WORKDIR}/odu-gpiotool ${D}${bindir}/ install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/ install -m 0644 /${WORKDIR}/usb2514.service ${D}${systemd_unitdir}/system/ ln -sf ../usb2514.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ From 6bd60417a189510058d18abda71d51edaadd949e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 20 Dec 2014 16:13:41 +0100 Subject: [PATCH 452/908] update gpsdate to version permitting non-standard gpsd ports --- recipes-extra/gpsdate/gpsdate_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extra/gpsdate/gpsdate_git.bb b/recipes-extra/gpsdate/gpsdate_git.bb index ab2eea4981..6a4b05d7d7 100644 --- a/recipes-extra/gpsdate/gpsdate_git.bb +++ b/recipes-extra/gpsdate/gpsdate_git.bb @@ -11,7 +11,7 @@ PV = "0.1+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/gpsdate.git;branch=master \ " -SRCREV = "c77a9b3342af3f15142162655268d1e55ca598f1" +SRCREV = "019d2535b60d574c22513726024e1742e6dc4909" S = "${WORKDIR}/git" INITSCRIPT_NAME = "gpsdate" From c19888095e11b5ea8d88148f709888b80a52a8f9 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 20 Dec 2014 21:30:24 +0100 Subject: [PATCH 453/908] ODU: remove RTC driver for AM335x internal RTC We actually only use the PMIC (TPS65910) RTC in the hardware, and not the AM335x RTC. Having a driver for a hardware that doesn't receive actual backup voltage doesn't make sense. --- recipes-bsp/linux/files/sysmocom-odu/defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/linux/files/sysmocom-odu/defconfig b/recipes-bsp/linux/files/sysmocom-odu/defconfig index a34d6aaa1a..0382da64d9 100644 --- a/recipes-bsp/linux/files/sysmocom-odu/defconfig +++ b/recipes-bsp/linux/files/sysmocom-odu/defconfig @@ -343,9 +343,9 @@ CONFIG_MMC_UNSAFE_RESUME=y CONFIG_SDIO_UART=y CONFIG_MMC_OMAP_HS=y CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_M41T80=y +# CONFIG_RTC_DRV_M41T80 is not set CONFIG_RTC_DRV_TPS65910=y -CONFIG_RTC_DRV_OMAP=y +# CONFIG_RTC_DRV_OMAP is not set # CONFIG_IOMMU_SUPPORT is not set CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y From 1e2ecae72ce69e5823d6f80da14b95b9fe778d33 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 22 Dec 2014 15:14:18 +0100 Subject: [PATCH 454/908] linux-sysmocom: Force building a new kernel after the last commit After the defconfig was changed we should build a new kernel. Bump the PR to force a build. --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index cc81563a0e..ef45848325 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -19,7 +19,7 @@ SRCREV_sysmocom-odu = "20547dac08c962e43a64ef5d4f182b20b2edd172" BRANCH_sysmocom-odu = "sob-odu/linux-3.2.63" LINUX_VERSION_sysmocom-odu = "3.2.63" -PR = "r38" +PR = "r39" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=${BRANCH} \ From 5c2c0db8421fd4c2f4e6918404fe32121dcc67a7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 22 Dec 2014 15:19:06 +0100 Subject: [PATCH 455/908] sdk: Put gpsd-dev into the sdk as well This will pull ncurses and python into the SDK as well but for the sysmobts-mgr we need to use libgps and don't have much of an option. --- .../packagegroup-core-standalone-osmo-sdk-target.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yocto-shared/packagegroup-core-standalone-osmo-sdk-target.bbappend b/yocto-shared/packagegroup-core-standalone-osmo-sdk-target.bbappend index 446a22e2d0..c898c51b90 100644 --- a/yocto-shared/packagegroup-core-standalone-osmo-sdk-target.bbappend +++ b/yocto-shared/packagegroup-core-standalone-osmo-sdk-target.bbappend @@ -1,3 +1,3 @@ -SDK-OSMO_append = "femtobts-api-dev" +SDK-OSMO_append = "femtobts-api-dev gpsd-dev" -PRINC = "1" +PRINC = "2" From 8f84c9539d2cc66c9796e3ffc458c30aa3e9a166 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 25 Dec 2014 09:51:14 +0100 Subject: [PATCH 456/908] barebox: Add a git revision to the recipe as well Make sure that the source version changes so new code is being fetched. This should fix the build breakaage for the ODU build. --- recipes-sysmobts/barebox/barebox.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-sysmobts/barebox/barebox.inc b/recipes-sysmobts/barebox/barebox.inc index 417bc730d1..0fe33e2461 100644 --- a/recipes-sysmobts/barebox/barebox.inc +++ b/recipes-sysmobts/barebox/barebox.inc @@ -9,6 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=057bf9e50e1ca857d0eb97bfe4ba8e5d" PACKAGE_ARCH = "${MACHINE_ARCH}" +PV = "201407+git${SRCPV}" + inherit kernel-arch EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" From 015f7bc6e87ccc4eaacbef1092f4bceea6c9c390 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 25 Dec 2014 14:09:29 +0100 Subject: [PATCH 457/908] linux-sysmocom: Catch-up with poky master OE-Core seems to unpack the kernel sources into another directory now (e.g. to share the sources with builds for modules). Use the kernel.bbclass kernel_do_configure and copy the .config to the build directory. The kernel is now built in a dedicated build directory. --- recipes-bsp/linux/linux-sysmocom_git.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 3101ecb46e..51896603c9 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -34,9 +34,8 @@ FILES_kernel-image_sysmobts-v1 = "" require linux-tools.inc -do_configure() { - install -m 0644 ${WORKDIR}/defconfig ${S}/.config - oe_runmake oldconfig +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig ${B}/.config } # autoload defaults (alphabetically sorted) From 09899de8b9aa3d8d12320af5ad34c97c53c1615a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 25 Dec 2014 18:04:27 +0100 Subject: [PATCH 458/908] osmo-pcu: Update with the TBF changes of Daniel We really want to test it on the 31C3. Update it. --- recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb index f3ba7972ca..1194749f83 100644 --- a/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb +++ b/recipes-sysmobts/osmo-pcu/osmo-pcu_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://git.osmocom.org/osmo-pcu.git;protocol=git;branch=master" -SRCREV = "f3405e5b0342362d5d592f013014847a4dc135d8" +SRCREV = "49f26bf6e8285cd99f7e5d71d9f902f10b9212a1" PV = "0.4+git${SRCPV}" PR = "r2.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 17eb891cc163a66ddc60a38c7b851ae16cfe13eb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 25 Dec 2014 18:10:55 +0100 Subject: [PATCH 459/908] osmo-bts: Upgrade osmo-bts to latest master We want to have the sysmobts-mgr that will do temperature management and protect us from overheating. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 94c2d3c879..8136e90442 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "04585dd90a1439e256d54affe4ccea113455cbe7" +SRCREV_osmobts = "c265bef48c414ca6c135f803c0c5dfdecbeece72" SRCREV_openbsc = "a4faeb1a79eac3c8d333ded27600228cc5e3a71b" PV = "0.4.3+git${SRCPV}" PR = "r15.${META_TELEPHONY_OSMO_INC}" From 7d7622db400ffac0522fc9ac380f86951017dad0 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 26 Dec 2014 12:20:07 +0100 Subject: [PATCH 460/908] linux-sysmocom: Support ${S} != ${B} builds of yocto master Go back to have our own do_configure. The kernel.bbclass would execute "oldnoconfig" where we simply executed "oldconfig". Keep on using our old way (for the legacy of it). E.g. with the question how we ended up having SMP enabled in the BSC build this might be the answer. --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 4 ++-- recipes-bsp/linux/linux-sysmocom_git.bb | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index ef45848325..7883cc8b85 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -36,8 +36,8 @@ FILES_kernel-image_sysmobts-v1 = "" require linux-tools.inc do_configure() { - install -m 0644 ${WORKDIR}/defconfig ${S}/.config - oe_runmake oldconfig + install -m 0644 ${WORKDIR}/defconfig ${B}/.config + oe_runmake -C ${S} O=${B} oldconfig } # autoload defaults (alphabetically sorted) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 51896603c9..7649db1f33 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -15,7 +15,7 @@ BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" SRCREV = "9610e792ffde7fb2599d19ca6d2a03230f2043c6" -PR = "r38" +PR = "r39" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=linux-3.10.50 \ @@ -34,8 +34,9 @@ FILES_kernel-image_sysmobts-v1 = "" require linux-tools.inc -do_configure_prepend() { +do_configure() { install -m 0644 ${WORKDIR}/defconfig ${B}/.config + oe_runmake -C ${S} O=${B} oldconfig } # autoload defaults (alphabetically sorted) From 5fd8dab863e731de073ee215a1db0affdb31f892 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 26 Dec 2014 16:29:16 +0100 Subject: [PATCH 461/908] osmo-bts: Build a WIP commit for the 31C3 field trial Allow to set a unit-id from the eeprom. This way we have a single config that still identifies a unit uniquely to the NITB. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 8136e90442..f3382a104f 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -2,9 +2,9 @@ DESCRIPTION = "sysmocom OsmoBTS" LICENSE = "AGPLv3" LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" -SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=master;name=osmobts;destsuffix=git \ +SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=shared/31c3;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "c265bef48c414ca6c135f803c0c5dfdecbeece72" +SRCREV_osmobts = "5a906c7b725af6d73d5b38f666833d1e56c3a673" SRCREV_openbsc = "a4faeb1a79eac3c8d333ded27600228cc5e3a71b" PV = "0.4.3+git${SRCPV}" PR = "r15.${META_TELEPHONY_OSMO_INC}" From c2c4b576ffb229b2e14bcc8ada083aad73f88423 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 30 Dec 2014 12:11:12 +0100 Subject: [PATCH 462/908] osmo-bts: Build with CBCH support --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index f3382a104f..9719e430c0 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -4,8 +4,8 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=shared/31c3;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "5a906c7b725af6d73d5b38f666833d1e56c3a673" -SRCREV_openbsc = "a4faeb1a79eac3c8d333ded27600228cc5e3a71b" +SRCREV_osmobts = "c328371b54ad76585a6427401a02e6846d139bff" +SRCREV_openbsc = "cc5208d8b1d89854bf733497dd90bad34601e021" PV = "0.4.3+git${SRCPV}" PR = "r15.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 7f2807877ca1f2f0ec0823906c359ecd772ca4f7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 30 Dec 2014 12:18:35 +0100 Subject: [PATCH 463/908] osmo-bts: Correct the OpenBSC git revision --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 9719e430c0..69e1cf12f9 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -3,9 +3,9 @@ LICENSE = "AGPLv3" LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=shared/31c3;name=osmobts;destsuffix=git \ - git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" + git://git.osmocom.org/openbsc;protocol=git;branch=shared/31c3;name=openbsc;destsuffix=openbsc" SRCREV_osmobts = "c328371b54ad76585a6427401a02e6846d139bff" -SRCREV_openbsc = "cc5208d8b1d89854bf733497dd90bad34601e021" +SRCREV_openbsc = "ffcdd0da7e2e05eed4eb77bcf51861fbcf89fb5c" PV = "0.4.3+git${SRCPV}" PR = "r15.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From 5fac86dde424e3ac99f9cbfc756a9b71d2adeb59 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 30 Dec 2014 12:24:55 +0100 Subject: [PATCH 464/908] osmo-bts: Fix it once again --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 69e1cf12f9..a3009b9733 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -3,9 +3,9 @@ LICENSE = "AGPLv3" LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=shared/31c3;name=osmobts;destsuffix=git \ - git://git.osmocom.org/openbsc;protocol=git;branch=shared/31c3;name=openbsc;destsuffix=openbsc" + git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" SRCREV_osmobts = "c328371b54ad76585a6427401a02e6846d139bff" -SRCREV_openbsc = "ffcdd0da7e2e05eed4eb77bcf51861fbcf89fb5c" +SRCREV_openbsc = "142d12d829d4207e2fe7dee34b8d82dd89015615" PV = "0.4.3+git${SRCPV}" PR = "r15.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" From e068851a66eec3e7e67385bf1f8c51778e96289e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 25 Dec 2014 09:53:59 +0100 Subject: [PATCH 465/908] openvpn: Move to OpenVPN v2.3.6 and systemd service files Systems that had OpenVPN enabled by default will be migrated (at least that is the aim). --- recipes-extra/openvpn/openvpn_2.1.3.bb | 28 -------------------------- recipes-extra/openvpn/openvpn_2.3.6.bb | 3 --- 2 files changed, 31 deletions(-) delete mode 100644 recipes-extra/openvpn/openvpn_2.1.3.bb diff --git a/recipes-extra/openvpn/openvpn_2.1.3.bb b/recipes-extra/openvpn/openvpn_2.1.3.bb deleted file mode 100644 index fd481f6b1b..0000000000 --- a/recipes-extra/openvpn/openvpn_2.1.3.bb +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION = "A full-featured SSL VPN solution via tun device." -HOMEPAGE = "http://openvpn.sourceforge.net" -SECTION = "console/network" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=5aac200199fde47501876cba7263cb0c" -DEPENDS = "lzo openssl" -RRECOMMENDS_${PN} = "kernel-module-tun" - -PR = "r1" - -inherit autotools - -SRC_URI = "http://openvpn.net/release/openvpn-${PV}.tar.gz \ - file://openvpn" - -CFLAGS += "-fno-inline" - -# I want openvpn to be able to read password from file (hrw) -EXTRA_OECONF += "--enable-password-save" - -do_install_append() { - install -d ${D}/${sysconfdir}/init.d - install -d ${D}/${sysconfdir}/openvpn - install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d -} - -SRC_URI[md5sum] = "7486d3e270ba4b033e311d3e022a0ad7" -SRC_URI[sha257sum] = "5185181df2e6043bd667377bc92e36ea5a5bd7600af209654f109b6403ca5b36" diff --git a/recipes-extra/openvpn/openvpn_2.3.6.bb b/recipes-extra/openvpn/openvpn_2.3.6.bb index ed3376dc01..844b369457 100644 --- a/recipes-extra/openvpn/openvpn_2.3.6.bb +++ b/recipes-extra/openvpn/openvpn_2.3.6.bb @@ -61,6 +61,3 @@ pkg_postinst_${PN} () { fi fi } - -# We need to test opkg upgrade of OpenVPN through the OpenVPN first -DEFAULT_PREFERENCE = "-1" From aef7cf84616a6f6c8d959d89d59b41a505627a75 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 25 Dec 2014 09:59:50 +0100 Subject: [PATCH 466/908] openvpn: Force the server to have a server certificate This addresses the following warning of OpenVPN: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. --- .../sysmocom-openvpn-config/sysmocom-vpn.conf | 1 + .../sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config/sysmocom-vpn.conf b/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config/sysmocom-vpn.conf index aabbc7fb0a..145f8b17b3 100644 --- a/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config/sysmocom-vpn.conf +++ b/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config/sysmocom-vpn.conf @@ -1,6 +1,7 @@ #OpenVPN client conf tls-client client +ns-cert-type server dev tun proto udp tun-mtu 1500 diff --git a/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb b/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb index 3673b68b49..e1518e6ba9 100644 --- a/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb +++ b/recipes-config/sysmocom-openvpn-config/sysmocom-openvpn-config_1.bb @@ -5,7 +5,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" SRC_URI = "file://sysmocom-vpn.conf" -PR = "r3" +PR = "r4" CONFFILES_${PN} = "${sysconfdir}/openvpn/sysmocom-vpn.conf" PACKAGE_ARCH = "all" From 418db40fb60e09450153f1c368fecb0e48ac97fd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 6 Jan 2015 19:24:31 +0100 Subject: [PATCH 467/908] osmo-bts: Build with calibration support on the BTS --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index a3009b9733..c98eefd470 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -2,12 +2,12 @@ DESCRIPTION = "sysmocom OsmoBTS" LICENSE = "AGPLv3" LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" -SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=shared/31c3;name=osmobts;destsuffix=git \ +SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=zecke/sysmobts-calibration;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc" -SRCREV_osmobts = "c328371b54ad76585a6427401a02e6846d139bff" +SRCREV_osmobts = "83a549a153a30b8bc7122e0ca2f99ea6fcb1ea44" SRCREV_openbsc = "142d12d829d4207e2fe7dee34b8d82dd89015615" PV = "0.4.3+git${SRCPV}" -PR = "r15.${META_TELEPHONY_OSMO_INC}" +PR = "r16.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" From 8595fee2b237416bbd550335483df53a23f93060 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 11 Jan 2015 21:32:37 +0100 Subject: [PATCH 468/908] osmo-bts: Fix the normal bts build The sysmobts-mgr is now linking to libgps. This means we need to DEPEND on gpsd to have this library available. The tracking build for both dora and master is broken due this. --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index c98eefd470..9a2eafedde 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -7,11 +7,11 @@ SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=zecke/sysmobts SRCREV_osmobts = "83a549a153a30b8bc7122e0ca2f99ea6fcb1ea44" SRCREV_openbsc = "142d12d829d4207e2fe7dee34b8d82dd89015615" PV = "0.4.3+git${SRCPV}" -PR = "r16.${META_TELEPHONY_OSMO_INC}" +PR = "r17.${META_TELEPHONY_OSMO_INC}" S = "${WORKDIR}/git" SRCREV_FORMAT = "openbsc-rosmobts" -DEPENDS = "libosmocore libosmo-abis femtobts-api" +DEPENDS = "libosmocore libosmo-abis femtobts-api gpsd" RDEPENDS_${PN} += "coreutils sysmobts-firmware (>= 3.11)" RCONFLICTS_${PN} = "sysmobts-firmware (< 3.11)" From d6b62f1548b931e59b9094742ef35ef857156166 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 12 Jan 2015 23:04:44 +0100 Subject: [PATCH 469/908] Drop our dropbear extension * The upstream sysvinit file looks good * We are using systemd service files anyway * The 2014.63 version doesn't exist and there is no point in renaming the file. --- yocto-dizzy/dropbear_2014.63.bbappend | 1 - 1 file changed, 1 deletion(-) delete mode 100644 yocto-dizzy/dropbear_2014.63.bbappend diff --git a/yocto-dizzy/dropbear_2014.63.bbappend b/yocto-dizzy/dropbear_2014.63.bbappend deleted file mode 100644 index a3a97a3fa8..0000000000 --- a/yocto-dizzy/dropbear_2014.63.bbappend +++ /dev/null @@ -1 +0,0 @@ -require recipes-fixes/dropbear/${PN}_sysmocom.inc From dbe4d9513a9b6397cba8cfefb41740afcfa56e12 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 4 Feb 2015 08:34:56 +0100 Subject: [PATCH 470/908] linux-sysmocom: Change defconfig to allow to use backported module We want to use backported modules this means we need to make some thing a module for it to work. Take Daniel's .config file, run make savedefconfig and update our defconfig. Related: SYS#850 --- .../linux/files/sysmocom-odu/defconfig | 29 ++++++++----------- recipes-bsp/linux/linux-sysmocom_3.2.bb | 2 +- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/recipes-bsp/linux/files/sysmocom-odu/defconfig b/recipes-bsp/linux/files/sysmocom-odu/defconfig index 0382da64d9..f06028a3de 100644 --- a/recipes-bsp/linux/files/sysmocom-odu/defconfig +++ b/recipes-bsp/linux/files/sysmocom-odu/defconfig @@ -3,11 +3,12 @@ CONFIG_LOCALVERSION="-PD13.1.2" CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y CONFIG_BSD_PROCESS_ACCT=y +CONFIG_FHANDLE=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=16 -CONFIG_BLK_DEV_INITRD=y CONFIG_CGROUPS=y +CONFIG_BLK_DEV_INITRD=y # CONFIG_PERF_EVENTS is not set CONFIG_SLAB=y CONFIG_PROFILING=y @@ -162,8 +163,8 @@ CONFIG_CAN_RAW=y CONFIG_CAN_BCM=y CONFIG_CAN_D_CAN=y CONFIG_CAN_D_CAN_PLATFORM=y -CONFIG_CFG80211=y -CONFIG_MAC80211=y +CONFIG_CFG80211=m +CONFIG_MAC80211=m CONFIG_RFKILL=y CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=y @@ -217,17 +218,9 @@ CONFIG_USB_USBNET=y # CONFIG_USB_BELKIN is not set # CONFIG_USB_ARMLINUX is not set # CONFIG_USB_NET_ZAURUS is not set -CONFIG_WLAN=y CONFIG_RT2X00=m CONFIG_RT2800USB=m -CONFIG_RT2800USB_RT33XX=y -CONFIG_RT2800USB_RT35XX=y -CONFIG_RT2800_LIB=m -CONFIG_RT2X00_LIB_USB=m -CONFIG_RT2X00_LIB=m -CONFIG_RT2X00_LIB_FIRMWARE=y -CONFIG_RT2X00_LIB_CRYPTO=y -CONFIG_WL12XX_MENU=y +CONFIG_WL12XX_MENU=m CONFIG_WL12XX=m CONFIG_WL12XX_SDIO=m CONFIG_INPUT_EVDEV=y @@ -327,12 +320,13 @@ CONFIG_USB_OTG=y CONFIG_USB_MUSB_HDRC=y CONFIG_USB_MUSB_TI81XX_GLUE=y CONFIG_MUSB_PIO_ONLY=y +CONFIG_USB_ACM=y CONFIG_USB_STORAGE=y CONFIG_USB_SERIAL=y CONFIG_USB_SERIAL_FTDI_SIO=m CONFIG_USB_SERIAL_PL2303=m CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MUSB_HDRC=y +CONFIG_USB_GADGET_MUSB_HDRC=m CONFIG_USB_ZERO=m CONFIG_USB_ETH=m CONFIG_USB_FILE_STORAGE=m @@ -342,10 +336,10 @@ CONFIG_MMC=y CONFIG_MMC_UNSAFE_RESUME=y CONFIG_SDIO_UART=y CONFIG_MMC_OMAP_HS=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_M41T80 is not set CONFIG_RTC_DRV_TPS65910=y -# CONFIG_RTC_DRV_OMAP is not set # CONFIG_IOMMU_SUPPORT is not set CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y @@ -382,8 +376,11 @@ CONFIG_DEBUG_LL=y CONFIG_EARLY_PRINTK=y CONFIG_DEBUG_JTAG_ENABLE=y CONFIG_SECURITY=y +CONFIG_CRYPTO_CTR=y CONFIG_CRYPTO_ECB=y CONFIG_CRYPTO_MICHAEL_MIC=y +CONFIG_CRYPTO_AES=y +CONFIG_CRYPTO_ARC4=y # CONFIG_CRYPTO_ANSI_CPRNG is not set # CONFIG_CRYPTO_HW is not set CONFIG_CRC_CCITT=y @@ -391,5 +388,3 @@ CONFIG_CRC_T10DIF=y CONFIG_CRC_ITU_T=y CONFIG_CRC7=y CONFIG_LIBCRC32C=y -CONFIG_USB_ACM=y -CONFIG_FHANDLE=y diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index 7883cc8b85..fd7ccbf991 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -19,7 +19,7 @@ SRCREV_sysmocom-odu = "20547dac08c962e43a64ef5d4f182b20b2edd172" BRANCH_sysmocom-odu = "sob-odu/linux-3.2.63" LINUX_VERSION_sysmocom-odu = "3.2.63" -PR = "r39" +PR = "r40" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=${BRANCH} \ From 0efdefba34c485168e4d94336912df17251ef6cc Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 5 Feb 2015 16:46:45 +0100 Subject: [PATCH 471/908] sysmocom-idu: Introduce another machine that optimizes for core2 Harald wants to benefit from i686, sse2 and other optimizations. Create a new machine (that extends the sysmocom-bsc) to build for core2. --- conf/machine/sysmocom-idu.conf | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 conf/machine/sysmocom-idu.conf diff --git a/conf/machine/sysmocom-idu.conf b/conf/machine/sysmocom-idu.conf new file mode 100644 index 0000000000..9b650cea65 --- /dev/null +++ b/conf/machine/sysmocom-idu.conf @@ -0,0 +1,39 @@ +#@TYPE: Machine +#@NAME: common_pc +#@DESCRIPTION: Machine configuration for running a common x86 + +require conf/machine/include/tune-core2.inc +require conf/machine/include/genericx86-common.inc + + +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-sysmocom', 'linux']['1.1' in d.getVar('DISTRO_VERSION', True)]}" + +MACHINE_FEATURES += "kernel26 x86 usbhost pci acpi" + +KERNEL_IMAGETYPE = "bzImage" + +IMAGE_FSTYPES ?= "tar.gz ext4" + +SERIAL_CONSOLE = "38400 ttyS0" +MACHINE_CONSOLE = "console=ttyS0,38400n8" + +# We bypass swrast but we need it to be present for X to load correctly +XSERVER ?= "xserver-xf86-dri-lite \ + mesa-dri-driver-swrast \ + xf86-input-vmmouse \ + xf86-input-keyboard \ + xf86-input-evdev \ + xf86-video-vmware" + +GLIBC_ADDONS = "nptl" +GLIBC_EXTRA_OECONF = "--with-tls" + +#MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d" +MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ + busybox-ifplugd linux-firmware-rtl-nic " + +MACHINEOVERRIDES = "${MACHINE}:sysmocom-bsc" From d819f596494b13a16d5b9533470b3df38956f4a3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 5 Feb 2015 19:13:41 +0100 Subject: [PATCH 472/908] ubl: Prepare for revision F support of the system Update to the latest version of UBL to get revision F support. This allows us to toggle the GPIO. It has only been verified on revision F hardware. --- recipes-sysmobts/ubl/ubl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/ubl/ubl_git.bb b/recipes-sysmobts/ubl/ubl_git.bb index a876323a24..dcb651a6d4 100644 --- a/recipes-sysmobts/ubl/ubl_git.bb +++ b/recipes-sysmobts/ubl/ubl_git.bb @@ -7,7 +7,7 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://ubl.c;beginline=1;endline=22;md5=806283bb3c475d9082e41f09020373ff" SRC_URI = "git://git.sysmocom.de/sysmo-bts/ubl;protocol=git;branch=master" -SRCREV = "43383917fde3cec70d0e09c6ea77302cd32b479f" +SRCREV = "0974846c2d2eb506d1443ee338aad4400f59bc70" SRCREV_sysmobts-v1 = "d04f24974a5b1e24cb9414ebc2e84a91848982c4" PV = "v0.2.11+git${SRCPV}" PR = "r3" From b99d5d2d501b705c7e932ad1fc7e483e4b34d18c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 5 Feb 2015 20:34:20 +0100 Subject: [PATCH 473/908] u-boot: Build new version with "nand rem.nwp" Now reading the command it should probably be add.nwp or rem.wp but so is life. We can add an alias for add.nwp in a future version. The boot, recovery and fwup command have been changed to issue nand rem.nwp before touching the flash. --- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index c720fd4265..989991e710 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -1,5 +1,5 @@ SRC_URI = "git://git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=git" -SRCREV = "910946bf6a6d89e532cd509ebe9e0dbd80950daf" +SRCREV = "6653c39fc53350d21b3477573926da6969d034de" SRCREV_sysmobts-v1 = "40d74c99ac9d741857d1298617b186b1d4e148de" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" From 35c33239eb6ecfdd1ca5592ad01c848072133055 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 6 Feb 2015 12:36:18 +0100 Subject: [PATCH 474/908] u-boot: Move the removal of the write protect to the beginning ubi part will write to the NAND as well so we should lift the write protect earlier. --- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index 989991e710..d25c1ebb82 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -1,5 +1,5 @@ SRC_URI = "git://git.sysmocom.de/sysmo-bts/u-boot;branch=v2011.12;protocol=git" -SRCREV = "6653c39fc53350d21b3477573926da6969d034de" +SRCREV = "71497512280c9eac9be739ae0ca20eb21556bb92" SRCREV_sysmobts-v1 = "40d74c99ac9d741857d1298617b186b1d4e148de" PV = "v2011.12+git${SRCPV}" S = "${WORKDIR}/git" From b66bf237e9e6aad7c446e8241cd9cb46d20569c3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Feb 2015 07:47:18 +0100 Subject: [PATCH 475/908] atftp: Import the version from meta-networking --- recipes-extra/atftp/atftp_git.bb | 61 ++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 recipes-extra/atftp/atftp_git.bb diff --git a/recipes-extra/atftp/atftp_git.bb b/recipes-extra/atftp/atftp_git.bb new file mode 100644 index 0000000000..ee84f77252 --- /dev/null +++ b/recipes-extra/atftp/atftp_git.bb @@ -0,0 +1,61 @@ +SUMMARY = "Advanced TFTP server and client" +SECTION = "network" +HOMEPAGE = "http://packages.debian.org/atftp" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" +PV = "0.7.1+git${SRCPV}" +PR = "r3" + +SRCREV = "be3291a18c069ae23a124ffdc56d64a5ff0bbec7" + +SRC_URI = "git://git.code.sf.net/p/atftp/code \ + file://atftpd-0.7_circumvent_tftp_size_restrictions.patch \ + file://atftpd-0.7_unprotected_assignments_crash.patch \ + file://atftpd.init \ + file://atftpd.service \ + file://atftp-0.7-sorcerers_apprentice.patch \ +" +S = "${WORKDIR}/git" + +inherit autotools update-rc.d useradd systemd + +PACKAGECONFIG ??= "tcp-wrappers" +PACKAGECONFIG[pcre] = "--enable-libpcre,--disable-libpcre,libpcre" +PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" +PACKAGECONFIG[readline] = "--enable-libreadline,--disable-libreadline,readline" + +INITSCRIPT_PACKAGES = "${PN}d" +INITSCRIPT_NAME_${PN}d = "atftpd" +INITSCRIPT_PARAMS_${PN}d = "defaults 80" + +USERADD_PACKAGES = "${PN}d" +USERADD_PARAM_${PN}d = "--system --no-create-home --shell /bin/false \ + --user-group nobody" + +do_install_append() { + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/atftpd.init ${D}${sysconfdir}/init.d/atftpd + + install -d ${D}/srv/tftp + + rm ${D}${sbindir}/in.tftpd + + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/atftpd.service ${D}${systemd_unitdir}/system +} + +PACKAGES =+ "${PN}d" + +FILES_${PN} = "${bindir}/*" + +FILES_${PN}d = "${sbindir}/* \ + ${sysconfdir} \ + /srv/tftp \ + ${systemd_unitdir}/system/atftpd.service \ +" + +SYSTEMD_PACKAGES = "${PN}d" +SYSTEMD_SERVICE_${PN}d = "atftpd.service" +RPROVIDES_${PN}d += "${PN}d-systemd" +RREPLACES_${PN}d += "${PN}d-systemd" +RCONFLICTS_${PN}d += "${PN}d-systemd" From cfc0c70237a989b529346e77a8821ed61c5569a5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Feb 2015 07:54:04 +0100 Subject: [PATCH 476/908] atftp: Add files needed by the recipe --- .../atftp-0.7-sorcerers_apprentice.patch | 94 ++++++++++ ....7_circumvent_tftp_size_restrictions.patch | 163 ++++++++++++++++++ ...pd-0.7_unprotected_assignments_crash.patch | 152 ++++++++++++++++ recipes-extra/atftp/files/atftpd.init | 37 ++++ recipes-extra/atftp/files/atftpd.service | 10 ++ 5 files changed, 456 insertions(+) create mode 100644 recipes-extra/atftp/files/atftp-0.7-sorcerers_apprentice.patch create mode 100644 recipes-extra/atftp/files/atftpd-0.7_circumvent_tftp_size_restrictions.patch create mode 100644 recipes-extra/atftp/files/atftpd-0.7_unprotected_assignments_crash.patch create mode 100644 recipes-extra/atftp/files/atftpd.init create mode 100644 recipes-extra/atftp/files/atftpd.service diff --git a/recipes-extra/atftp/files/atftp-0.7-sorcerers_apprentice.patch b/recipes-extra/atftp/files/atftp-0.7-sorcerers_apprentice.patch new file mode 100644 index 0000000000..fc64291cd3 --- /dev/null +++ b/recipes-extra/atftp/files/atftp-0.7-sorcerers_apprentice.patch @@ -0,0 +1,94 @@ +atftp exhibits the well known "Sorcerer's Apprentice Syndrome"(SAS) problem. +According to RFC 1350, the fix to SAS is quite simple: further copies of the +acknowledgment for a particular data block would be ignored. + +Patch originally from OpenSUSE: +https://build.opensuse.org/package/view_file?file=atftp-0.7-sorcerers_apprentice.patch&package=atftp.539&project=openSUSE%3A12.1%3AUpdate&rev=84569792975e00573d7df597d2a6e895 + +Upstream-Status: Pending + +Signed-off-by: Roy.Li +Index: atftp-0.7/tftp_file.c +=================================================================== +--- atftp-0.7.orig/tftp_file.c 2011-11-22 15:12:53.792744083 +0100 ++++ atftp-0.7/tftp_file.c 2011-11-22 15:13:51.706421893 +0100 +@@ -605,6 +605,7 @@ + int timeout_state = state; /* what state should we go on when timeout */ + int result; + long block_number = 0; ++ long last_requested_block = -1; + long last_block = -1; + int data_size; /* size of data received */ + int sockfd = data->sockfd; /* just to simplify calls */ +@@ -765,6 +766,17 @@ + connected = 1; + } + block_number = ntohs(tftphdr->th_block); ++ ++ if (last_requested_block >= block_number) ++ { ++ if (data->trace) ++ fprintf(stderr, "received duplicated ACK = %ld>\n", ++ last_requested_block, block_number); ++ break; ++ } ++ else ++ last_requested_block = block_number; ++ + if (data->trace) + fprintf(stderr, "received ACK \n", + block_number); +Index: atftp-0.7/tftpd_file.c +=================================================================== +--- atftp-0.7.orig/tftpd_file.c 2011-11-22 15:12:53.793744112 +0100 ++++ atftp-0.7/tftpd_file.c 2011-11-22 15:15:04.617534260 +0100 +@@ -403,6 +403,7 @@ + int timeout_state = state; + int result; + long block_number = 0; ++ long last_requested_block = -1; + long last_block = -1; + int block_loops = 0; + int data_size; +@@ -859,6 +860,32 @@ + { + logger(LOG_DEBUG, "received ACK ", block_number); + } ++ ++ /* check whether the block request isn't already fulfilled */ ++ ++ /* multicast, block numbers could contain gaps */ ++ if (multicast) { ++ if (last_requested_block >= block_number) ++ { ++ if (data->trace) ++ logger(LOG_DEBUG, "received duplicated ACK = %d>", last_requested_block, block_number); ++ break; ++ } ++ else ++ last_requested_block = block_number; ++ /* unicast, blocks should be requested one after another */ ++ } else { ++ if (last_requested_block + 1 != block_number && last_requested_block != -1) ++ { ++ if (data->trace) ++ logger(LOG_DEBUG, "received out of order ACK ", last_requested_block + 1, block_number); ++ break; ++ } ++ else ++ last_requested_block = block_number; ++ } ++ ++ + if (ntohs(tftphdr->th_block) == 65535) + { + block_loops++; +@@ -958,6 +985,8 @@ + /* nedd to send an oack to that client */ + state = S_SEND_OACK; + fseek(fp, 0, SEEK_SET); ++ /* reset the last block received counter */ ++ last_requested_block = -1; + } + else + { diff --git a/recipes-extra/atftp/files/atftpd-0.7_circumvent_tftp_size_restrictions.patch b/recipes-extra/atftp/files/atftpd-0.7_circumvent_tftp_size_restrictions.patch new file mode 100644 index 0000000000..280b570b22 --- /dev/null +++ b/recipes-extra/atftp/files/atftpd-0.7_circumvent_tftp_size_restrictions.patch @@ -0,0 +1,163 @@ +Fate #303031: Circumvent TFTP size restrictions in atftpd +The size of a single image file that can be transferred with TFTP is limited to +2^(2*8) *BLOCKSIZE (as per RFC 1350 there are only two bytes for the block +counter). This is problematic for one of our customers who needs to transfer +100+ MB Windows images using a TFTP client (NT bootloader) which has a +hardwared BLOCKSIZE setting of 1432). + +block rollover +http://www.compuphase.com/tftp.htm + +Patch originally from OpenSUSE: +https://build.opensuse.org/package/show?package=atftp&project=openSUSE%3A12.2 + +Upstream-Status: Pending + +Index: git/tftp_def.h +=================================================================== +--- git.orig/tftp_def.h 2012-11-19 16:28:50.221027144 -0800 ++++ git/tftp_def.h 2012-11-20 17:40:54.391206979 -0800 +@@ -32,6 +32,7 @@ + #define TIMEOUT 5 /* Client timeout */ + #define S_TIMEOUT 5 /* Server timout. */ + #define NB_OF_RETRY 5 ++#define MAXBLOCKS 1000000 /* maximum number of blocks in a download */ + + /* definition to use tftp_options structure */ + #define OPT_FILENAME 0 +Index: git/tftp_file.c +=================================================================== +--- git.orig/tftp_file.c 2012-11-19 16:28:50.221027144 -0800 ++++ git/tftp_file.c 2012-11-19 16:28:51.201027167 -0800 +@@ -622,8 +622,8 @@ + int state = S_SEND_REQ; /* current state in the state machine */ + int timeout_state = state; /* what state should we go on when timeout */ + int result; +- int block_number = 0; +- int last_block = -1; ++ long block_number = 0; ++ long last_block = -1; + int data_size; /* size of data received */ + int sockfd = data->sockfd; /* just to simplify calls */ + struct sockaddr_storage sa; /* a copy of data.sa_peer */ +@@ -637,8 +637,8 @@ + int convert = 0; /* if true, do netascii convertion */ + char string[MAXLEN]; + +- int prev_block_number = 0; /* needed to support netascii convertion */ +- int prev_file_pos = 0; ++ long prev_block_number = 0; /* needed to support netascii convertion */ ++ long prev_file_pos = 0; + int temp = 0; + + data->file_size = 0; +@@ -745,7 +745,7 @@ + data_size, data->data_buffer); + data->file_size += data_size; + if (data->trace) +- fprintf(stderr, "sent DATA \n", ++ fprintf(stderr, "sent DATA \n", + block_number + 1, data_size - 4); + state = S_WAIT_PACKET; + break; +@@ -785,7 +785,7 @@ + } + block_number = ntohs(tftphdr->th_block); + if (data->trace) +- fprintf(stderr, "received ACK \n", ++ fprintf(stderr, "received ACK \n", + block_number); + if ((last_block != -1) && (block_number > last_block)) + { +Index: git/tftp_io.c +=================================================================== +--- git.orig/tftp_io.c 2012-11-19 16:28:50.221027144 -0800 ++++ git/tftp_io.c 2012-11-19 16:28:51.201027167 -0800 +@@ -350,8 +350,8 @@ + /* + * Read from file and do netascii conversion if needed + */ +-int tftp_file_read(FILE *fp, char *data_buffer, int data_buffer_size, int block_number, +- int convert, int *prev_block_number, int *prev_file_pos, int *temp) ++int tftp_file_read(FILE *fp, char *data_buffer, int data_buffer_size, long block_number, ++ int convert, long *prev_block_number, long *prev_file_pos, int *temp) + { + int i; + int c; +Index: git/tftp_io.h +=================================================================== +--- git.orig/tftp_io.h 2012-11-19 16:28:50.221027144 -0800 ++++ git/tftp_io.h 2012-11-19 16:28:51.201027167 -0800 +@@ -52,8 +52,8 @@ + int tftp_get_packet(int sock1, int sock2, int *sock, struct sockaddr_storage *sa, + struct sockaddr_storage *from, struct sockaddr_storage *to, + int timeout, int *size, char *data); +-int tftp_file_read(FILE *fp, char *buffer, int buffer_size, int block_number, int convert, +- int *prev_block_number, int *prev_file_pos, int *temp); ++int tftp_file_read(FILE *fp, char *buffer, int buffer_size, long block_number, int convert, ++ long *prev_block_number, long *prev_file_pos, int *temp); + int tftp_file_write(FILE *fp, char *data_buffer, int data_buffer_size, int block_number, + int data_size, int convert, int *prev_block_number, int *temp); + #endif +Index: git/tftpd_file.c +=================================================================== +--- git.orig/tftpd_file.c 2012-11-19 16:28:50.225027144 -0800 ++++ git/tftpd_file.c 2012-11-19 16:28:51.201027167 -0800 +@@ -407,8 +407,9 @@ + int state = S_BEGIN; + int timeout_state = state; + int result; +- int block_number = 0; +- int last_block = -1; ++ long block_number = 0; ++ long last_block = -1; ++ int block_loops = 0; + int data_size; + struct sockaddr_storage *sa = &data->client_info->client; + struct sockaddr_storage from; +@@ -431,8 +432,8 @@ + struct client_info *client_old = NULL; + struct tftp_opt options[OPT_NUMBER]; + +- int prev_block_number = 0; /* needed to support netascii convertion */ +- int prev_file_pos = 0; ++ long prev_block_number = 0; /* needed to support netascii convertion */ ++ long prev_file_pos = 0; + int temp = 0; + + /* look for mode option */ +@@ -565,11 +566,12 @@ + logger(LOG_INFO, "blksize option -> %d", result); + } + +- /* Verify that the file can be sent in 2^16 block of BLKSIZE octets */ +- if ((file_stat.st_size / (data->data_buffer_size - 4)) > 65535) ++ /* Verify that the file can be sent in MAXBLOCKS blocks of BLKSIZE octets */ ++ if ((file_stat.st_size / (data->data_buffer_size - 4)) > MAXBLOCKS) + { + tftp_send_error(sockfd, sa, EUNDEF, data->data_buffer, data->data_buffer_size); +- logger(LOG_NOTICE, "Requested file to big, increase BLKSIZE"); ++ logger(LOG_NOTICE, "Requested file too big, increase BLKSIZE"); ++ logger(LOG_NOTICE, "Only %d blocks of %d bytes can be served.", MAXBLOCKS, data->data_buffer_size); + if (data->trace) + logger(LOG_DEBUG, "sent ERROR ", EUNDEF, + tftp_errmsg[EUNDEF]); +@@ -880,10 +882,15 @@ + } + /* The ACK is from the current client */ + number_of_timeout = 0; +- block_number = ntohs(tftphdr->th_block); ++ block_number = (block_loops * 65536) + ntohs(tftphdr->th_block); + if (data->trace) +- logger(LOG_DEBUG, "received ACK ", +- block_number); ++ { ++ logger(LOG_DEBUG, "received ACK ", block_number); ++ } ++ if (ntohs(tftphdr->th_block) == 65535) ++ { ++ block_loops++; ++ }; + if ((last_block != -1) && (block_number > last_block)) + { + state = S_END; diff --git a/recipes-extra/atftp/files/atftpd-0.7_unprotected_assignments_crash.patch b/recipes-extra/atftp/files/atftpd-0.7_unprotected_assignments_crash.patch new file mode 100644 index 0000000000..28fba6cf50 --- /dev/null +++ b/recipes-extra/atftp/files/atftpd-0.7_unprotected_assignments_crash.patch @@ -0,0 +1,152 @@ +Avoid assigning thread data outside of mutex lock + +Patch originally from OpenSUSE: +https://build.opensuse.org/package/show?package=atftp&project=openSUSE%3A12.2 + +Upstream-Status: Pending + +Index: git/tftpd_list.c +=================================================================== +--- git.orig/tftpd_list.c 2012-10-24 21:48:47.000000000 -0700 ++++ git/tftpd_list.c 2012-10-24 21:52:04.266205076 -0700 +@@ -49,11 +49,11 @@ + */ + int tftpd_list_add(struct thread_data *new) + { +- struct thread_data *current = thread_data; ++ struct thread_data *current; + int ret; + + pthread_mutex_lock(&thread_list_mutex); +- ++ current = thread_data; + number_of_thread++; + + ret = number_of_thread; +@@ -81,11 +81,13 @@ + */ + int tftpd_list_remove(struct thread_data *old) + { +- struct thread_data *current = thread_data; ++ struct thread_data *current; + int ret; + + pthread_mutex_lock(&thread_list_mutex); + ++ current = thread_data; ++ + number_of_thread--; + ret = number_of_thread; + +@@ -137,23 +139,26 @@ + struct thread_data *data, + struct client_info *client) + { +- struct thread_data *current = thread_data; /* head of the list */ +- struct tftp_opt *tftp_options = data->tftp_options; ++ struct thread_data *current; /* head of the list */ ++ struct tftp_opt *tftp_options; + struct client_info *tmp; + char options[MAXLEN]; + char string[MAXLEN]; + char *index; + int len; + ++ /* lock the whole list before walking it */ ++ pthread_mutex_lock(&thread_list_mutex); ++ + *thread = NULL; + ++ current = thread_data; ++ tftp_options = data->tftp_options; ++ + opt_request_to_string(tftp_options, options, MAXLEN); + index = strstr(options, "multicast"); + len = (int)index - (int)options; + +- /* lock the whole list before walking it */ +- pthread_mutex_lock(&thread_list_mutex); +- + while (current) + { + if (current != data) +@@ -214,9 +219,10 @@ + void tftpd_clientlist_remove(struct thread_data *thread, + struct client_info *client) + { +- struct client_info *tmp = thread->client_info; ++ struct client_info *tmp; + + pthread_mutex_lock(&thread->client_mutex); ++ tmp = thread->client_info; + while ((tmp->next != client) && (tmp->next != NULL)) + tmp = tmp->next; + if (tmp->next == NULL) +@@ -231,9 +237,11 @@ + void tftpd_clientlist_free(struct thread_data *thread) + { + struct client_info *tmp; +- struct client_info *head = thread->client_info; ++ struct client_info *head; + + pthread_mutex_lock(&thread->client_mutex); ++ head = thread->client_info; ++ + while (head) + { + tmp = head; +@@ -250,9 +258,10 @@ + struct client_info *client, + struct sockaddr_storage *sock) + { +- struct client_info *head = thread->client_info; ++ struct client_info *head; + + pthread_mutex_lock(&thread->client_mutex); ++ head = thread->client_info; + + if (client) + { +@@ -334,10 +343,10 @@ + + void tftpd_list_kill_threads(void) + { +- struct thread_data *current = thread_data; /* head of list */ ++ struct thread_data *current; /* head of list */ + + pthread_mutex_lock(&thread_list_mutex); +- ++ current = thread_data; + + while (current != NULL) + { +Index: git/tftpd_mcast.c +=================================================================== +--- git.orig/tftpd_mcast.c 2012-10-24 21:48:47.000000000 -0700 ++++ git/tftpd_mcast.c 2012-10-24 21:49:11.570201582 -0700 +@@ -51,9 +51,11 @@ + */ + int tftpd_mcast_get_tid(char **addr, short *port) + { +- struct tid *current = tid_list; ++ struct tid *current; + + pthread_mutex_lock(&mcast_tid_list); ++ current = tid_list; ++ + /* walk the list for a free tid */ + while (current != NULL) + { +@@ -74,9 +76,11 @@ + + int tftpd_mcast_free_tid(char *addr, short port) + { +- struct tid *current = tid_list; ++ struct tid *current; + + pthread_mutex_lock(&mcast_tid_list); ++ current = tid_list; ++ + while (current != NULL) + { + if ((current->used == 1) && (current->port == port) && diff --git a/recipes-extra/atftp/files/atftpd.init b/recipes-extra/atftp/files/atftpd.init new file mode 100644 index 0000000000..161d97aca7 --- /dev/null +++ b/recipes-extra/atftp/files/atftpd.init @@ -0,0 +1,37 @@ +#! /bin/sh +# +# This is an init script for openembedded +# Copy it to /etc/init.d/atftpd and type +# > update-rc.d atftpd defaults 60 +# + + +test -f /usr/sbin/atftpd || exit 0 + +test -d /srv/tftp || mkdir -p /srv/tftp + +case "$1" in + start) + echo -n "Starting tftp daemon: atftpd" + start-stop-daemon --start --quiet --exec /usr/sbin/atftpd -- --daemon --port 69 + echo "." + ;; + stop) + echo -n "Stopping tftp daemon: atftpd" + start-stop-daemon --stop --quiet --exec /usr/sbin/atftpd + echo "." + ;; + reload|force-reload) + start-stop-daemon --stop --quiet --signal 1 --exec /usr/sbin/atftpd + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "Usage: /etc/init.d/atftpd {start|stop|reload|restart|force-reload}" + exit 1 +esac + +exit 0 diff --git a/recipes-extra/atftp/files/atftpd.service b/recipes-extra/atftp/files/atftpd.service new file mode 100644 index 0000000000..480bc702e9 --- /dev/null +++ b/recipes-extra/atftp/files/atftpd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Advanced TFTP Server +After=syslog.target network.target + +[Service] +Type=forking +ExecStart=/usr/sbin/atftpd --daemon --port 69 + +[Install] +WantedBy=multi-user.target From 53d7c53805943102d44f9108f85f115adba5f1c7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Feb 2015 14:58:09 +0100 Subject: [PATCH 477/908] sysmocom-idu: Listen on localhost for NMEA frames Listen on localhost for NMEA frames. The frames will be received on a system and then forwarded to a local gpsd. --- recipes-extra/gpsd/gpsd/sysmocom-idu/gpsd-default | 5 +++++ recipes-extra/gpsd/gpsd_3.10.bb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 recipes-extra/gpsd/gpsd/sysmocom-idu/gpsd-default diff --git a/recipes-extra/gpsd/gpsd/sysmocom-idu/gpsd-default b/recipes-extra/gpsd/gpsd/sysmocom-idu/gpsd-default new file mode 100644 index 0000000000..ed1d01eb37 --- /dev/null +++ b/recipes-extra/gpsd/gpsd/sysmocom-idu/gpsd-default @@ -0,0 +1,5 @@ +# If you must specify a non-NMEA driver, uncomment and modify the next line +GPSD_SOCKET="/var/run/gpsd.sock" +GPSD_OPTIONS="" +GPS_DEVICES="udp://127.0.0.1:12345" + diff --git a/recipes-extra/gpsd/gpsd_3.10.bb b/recipes-extra/gpsd/gpsd_3.10.bb index 3fc1a4f026..5aa264adf7 100644 --- a/recipes-extra/gpsd/gpsd_3.10.bb +++ b/recipes-extra/gpsd/gpsd_3.10.bb @@ -6,7 +6,7 @@ DEPENDS = "ncurses python" #DEPENDS = "ncurses libusb1 python" PROVIDES = "virtual/gpsd" -PR = "r3.17" +PR = "r3.18" SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ From 3cdbc49cbb0875fe7d2f0813e5304b6c581010b2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 10 Feb 2015 14:59:23 +0100 Subject: [PATCH 478/908] linux-sysmocom: Add some crazy checks to debug a race Somehow the do_shared_workdir tries to access a file that should be created by do_configure but isn't present then. Add these items to see what happens during the build. --- recipes-bsp/linux/linux-sysmocom_git.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 7649db1f33..9e633ce49e 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -37,6 +37,28 @@ require linux-tools.inc do_configure() { install -m 0644 ${WORKDIR}/defconfig ${B}/.config oe_runmake -C ${S} O=${B} oldconfig + ls -la ${B}/include/config/kernel.release || true + stat ${B}/include/config/kernel.release || true +} + +do_compile_prepend() { + ls -la ${B}/include/config/kernel.release || true + stat ${B}/include/config/kernel.release || true +} + +do_compile_append() { + ls -la ${B}/include/config/kernel.release || true + stat ${B}/include/config/kernel.release || true +} + +do_compile_kernelmodules_prepend() { + ls -la ${B}/include/config/kernel.release || true + stat ${B}/include/config/kernel.release || true +} + +do_compile_kernelmodules_append() { + ls -la ${B}/include/config/kernel.release || true + stat ${B}/include/config/kernel.release || true } # autoload defaults (alphabetically sorted) From c257a57e17d3826ad9456f864d85a19d1f648541 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 10 Feb 2015 19:45:05 +0100 Subject: [PATCH 479/908] dnsmasq: It might be eaisier to use dnsmasq than the monsters dnsmasq allows us to replace bind, dhcpd and atftpd with a very small binary. Let's do that. --- recipes-extra/dnsmasq/dnsmasq.inc | 66 ++++ recipes-extra/dnsmasq/dnsmasq/lua.patch | 29 ++ .../dnsmasq/dnsmasq/parallel-make.patch | 19 ++ recipes-extra/dnsmasq/dnsmasq_2.72.bb | 10 + recipes-extra/dnsmasq/files/dnsmasq.conf | 293 ++++++++++++++++++ recipes-extra/dnsmasq/files/dnsmasq.service | 13 + recipes-extra/dnsmasq/files/init | 52 ++++ 7 files changed, 482 insertions(+) create mode 100644 recipes-extra/dnsmasq/dnsmasq.inc create mode 100644 recipes-extra/dnsmasq/dnsmasq/lua.patch create mode 100644 recipes-extra/dnsmasq/dnsmasq/parallel-make.patch create mode 100644 recipes-extra/dnsmasq/dnsmasq_2.72.bb create mode 100755 recipes-extra/dnsmasq/files/dnsmasq.conf create mode 100644 recipes-extra/dnsmasq/files/dnsmasq.service create mode 100644 recipes-extra/dnsmasq/files/init diff --git a/recipes-extra/dnsmasq/dnsmasq.inc b/recipes-extra/dnsmasq/dnsmasq.inc new file mode 100644 index 0000000000..1335245986 --- /dev/null +++ b/recipes-extra/dnsmasq/dnsmasq.inc @@ -0,0 +1,66 @@ +SUMMARY = "Lightweight, easy to configure DNS forwarder and DHCP server" +HOMEPAGE = "http://www.thekelleys.org.uk/dnsmasq/doc.html" +SECTION = "console/network" +# GPLv3 was added in version 2.41 as license option +LICENSE = "GPLv2 | GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ + file://COPYING-v3;md5=d32239bcb673463ab874e80d47fae504" + +#at least versions 2.15 and prior are moved to the archive folder on the server +SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(d.getVar('PV',1).split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \ + file://init \ + file://dnsmasq.conf \ + file://dnsmasq.service \ +" + +inherit pkgconfig update-rc.d systemd + +INITSCRIPT_NAME = "dnsmasq" +INITSCRIPT_PARAMS = "defaults" + +PACKAGECONFIG ?= "" +PACKAGECONFIG[dbus] = ",,dbus" +PACKAGECONFIG[idn] = ",,libidn" +PACKAGECONFIG[conntrack] = ",,libnetfilter-conntrack" +PACKAGECONFIG[lua] = ",,lua" +EXTRA_OEMAKE = "\ + 'COPTS=${@base_contains('PACKAGECONFIG', 'dbus', '-DHAVE_DBUS', '', d)} \ + ${@base_contains('PACKAGECONFIG', 'idn', '-DHAVE_IDN', '', d)} \ + ${@base_contains('PACKAGECONFIG', 'conntrack', '-DHAVE_CONNTRACK', '', d)} \ + ${@base_contains('PACKAGECONFIG', 'lua', '-DHAVE_LUASCRIPT', '', d)}' \ + 'CFLAGS=${CFLAGS}' \ + 'LDFLAGS=${LDFLAGS}' \ +" + +do_compile_append() { + # build dhcp_release + cd ${S}/contrib/wrt + oe_runmake +} + +do_install () { + oe_runmake "PREFIX=${D}${prefix}" \ + "BINDIR=${D}${bindir}" \ + "MANDIR=${D}${mandir}" \ + install + install -d ${D}${sysconfdir}/ ${D}${sysconfdir}/init.d ${D}${sysconfdir}/dnsmasq.d + install -m 644 ${WORKDIR}/dnsmasq.conf ${D}${sysconfdir}/ + install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/dnsmasq + + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/dnsmasq.service ${D}${systemd_unitdir}/system + + install -m 0755 ${S}/contrib/wrt/dhcp_release ${D}${bindir} + + if [ "${@base_contains('PACKAGECONFIG', 'dbus', 'dbus', '', d)}" != "" ]; then + install -d ${D}${sysconfdir}/dbus-1/system.d + install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/ + fi +} + +CONFFILES_${PN} = "${sysconfdir}/dnsmasq.conf" + +RPROVIDES_${PN} += "${PN}-systemd" +RREPLACES_${PN} += "${PN}-systemd" +RCONFLICTS_${PN} += "${PN}-systemd" +SYSTEMD_SERVICE_${PN} = "dnsmasq.service" diff --git a/recipes-extra/dnsmasq/dnsmasq/lua.patch b/recipes-extra/dnsmasq/dnsmasq/lua.patch new file mode 100644 index 0000000000..918c0b6d56 --- /dev/null +++ b/recipes-extra/dnsmasq/dnsmasq/lua.patch @@ -0,0 +1,29 @@ +From 1e5be0a0bcf85913d63408030dec038d360a5fa6 Mon Sep 17 00:00:00 2001 +From: Joe MacDonald +Date: Tue, 9 Sep 2014 10:24:58 -0400 +Subject: [PATCH] Upstream-status: Inappropriate [OE specific] + +Signed-off-by: Christopher Larson + +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index fc38393..a79f8bf 100644 +--- a/Makefile ++++ b/Makefile +@@ -57,8 +57,8 @@ idn_cflags = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_IDN $(PKG_CONFIG) - + idn_libs = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_IDN $(PKG_CONFIG) --libs libidn` + ct_cflags = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_CONNTRACK $(PKG_CONFIG) --cflags libnetfilter_conntrack` + ct_libs = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_CONNTRACK $(PKG_CONFIG) --libs libnetfilter_conntrack` +-lua_cflags = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_LUASCRIPT $(PKG_CONFIG) --cflags lua5.1` +-lua_libs = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_LUASCRIPT $(PKG_CONFIG) --libs lua5.1` ++lua_cflags = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_LUASCRIPT $(PKG_CONFIG) --cflags lua` ++lua_libs = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_LUASCRIPT $(PKG_CONFIG) --libs lua` + nettle_cflags = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_DNSSEC $(PKG_CONFIG) --cflags nettle hogweed` + nettle_libs = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_DNSSEC $(PKG_CONFIG) --libs nettle hogweed` + gmp_libs = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_DNSSEC $(PKG_CONFIG) --copy -lgmp` +-- +1.7.9.5 + diff --git a/recipes-extra/dnsmasq/dnsmasq/parallel-make.patch b/recipes-extra/dnsmasq/dnsmasq/parallel-make.patch new file mode 100644 index 0000000000..6d5b722eab --- /dev/null +++ b/recipes-extra/dnsmasq/dnsmasq/parallel-make.patch @@ -0,0 +1,19 @@ +The dnsmasq target depends on .configured and $(objs). .configured does an rm +-f *.o. Yet the only thing telling make to build the .configured target before +the $(objs) target was the order of the dependencies of the dnsmasq target. We +can't rely on that order when doing a paralllel make build, so add an explicit +rule to enforce that order. + +Signed-off-by: Christopher Larson +Upstream-status: Pending + +--- dnsmasq-2.68.orig/Makefile ++++ dnsmasq-2.68/Makefile +@@ -139,6 +139,8 @@ bloatcheck : $(BUILDDIR)/dnsmasq_baselin + @rm -f *.o + @touch $@ + ++$(objs): .configured ++ + $(objs:.o=.c) $(hdrs): + ln -s $(top)/$(SRC)/$@ . diff --git a/recipes-extra/dnsmasq/dnsmasq_2.72.bb b/recipes-extra/dnsmasq/dnsmasq_2.72.bb new file mode 100644 index 0000000000..bd5919492e --- /dev/null +++ b/recipes-extra/dnsmasq/dnsmasq_2.72.bb @@ -0,0 +1,10 @@ +require dnsmasq.inc + +SRC_URI += "\ + file://parallel-make.patch \ + file://lua.patch \ +" + +SRC_URI[dnsmasq-2.72.md5sum] = "cf82f81cf09ad3d47612985012240483" +SRC_URI[dnsmasq-2.72.sha256sum] = "635f1b47417d17cf32e45cfcfd0213ac39fd09918479a25373ba9b2ce4adc05d" + diff --git a/recipes-extra/dnsmasq/files/dnsmasq.conf b/recipes-extra/dnsmasq/files/dnsmasq.conf new file mode 100755 index 0000000000..1a198a3791 --- /dev/null +++ b/recipes-extra/dnsmasq/files/dnsmasq.conf @@ -0,0 +1,293 @@ +# Configuration file for dnsmasq. +# +# Format is one option per line, legal options are the same +# as the long options legal on the command line. See +# "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details. + +# Change these lines if you want dnsmasq to serve MX records. +# Only one of mx-host and mx-target need be set, the other defaults +# to the name of the host running dnsmasq. +#mx-host= +#mx-target= +#selfmx +#localmx + +# The following two options make you a better netizen, since they +# tell dnsmasq to filter out queries which the public DNS cannot +# answer, and which load the servers (especially the root servers) +# uneccessarily. If you have a dial-on-demand link they also stop +# these requests from bringing up the link uneccessarily. + +# Never forward plain names (with a dot or domain part) +domain-needed +# Never forward addresses in the non-routed address spaces. +bogus-priv + + +# Uncomment this to filter useless windows-originated DNS requests +# which can trigger dial-on-demand links needlessly. +# Note that (amongst other things) this blocks all SRV requests, +# so don't use it if you use eg Kerberos. +#filterwin2k + +# Change this line if you want dns to get its upstream servers from +# somewhere other that /etc/resolv.conf +#resolv-file= + +# By default, dnsmasq will send queries to any of the upstream +# servers it knows about and tries to favour servers to are known +# to be up. Uncommenting this forces dnsmasq to try each query +# with each server strictly in the order they appear in +# /etc/resolv.conf +#strict-order + +# If you don't want dnsmasq to read /etc/resolv.conf or any other +# file, getting its servers for this file instead (see below), then +# uncomment this +#no-resolv + +# If you don't want dnsmasq to poll /etc/resolv.conf or other resolv +# files for changes and re-read them then uncomment this. +#no-poll + +# Add other name servers here, with domain specs if they are for +# non-public domains. +#server=/localnet/192.168.0.1 + +# Add local-only domains here, queries in these domains are answered +# from /etc/hosts or DHCP only. +#local=/localnet/ + +# Add domains which you want to force to an IP address here. +# The example below send any host in doubleclick.net to a local +# webserver. +#address=/doubleclick.net/127.0.0.1 + +# You no longer (as of version 1.7) need to set these to enable +# dnsmasq to read /etc/ppp/resolv.conf since dnsmasq now uses the +# "dip" group to achieve this. +#user= +#group= + +# If you want dnsmasq to listen for requests only on specified interfaces +# (and the loopback) give the name of the interface (eg eth0) here. +# Repeat the line for more than one interface. +#interface= +# Or you can specify which interface _not_ to listen on +#except-interface= +# Or which to listen on by address (remember to include 127.0.0.1 if +# you use this.) +#listen-address= + +# On systems which support it, dnsmasq binds the wildcard address, +# even when it is listening on only some interfaces. It then discards +# requests that it shouldn't reply to. This has the advantage of +# working even when interfaces come and go and change address. If you +# want dnsmasq to really bind only the interfaces it is listening on, +# uncomment this option. About the only time you may need this is when +# running another nameserver on the same machine. +#bind-interfaces + +# If you don't want dnsmasq to read /etc/hosts, uncomment the +# following line. +#no-hosts +# or if you want it to read another file, as well as /etc/hosts, use +# this. +#addn-hosts=/etc/banner_add_hosts + +# Set this (and domain: see below) if you want to have a domain +# automatically added to simple names in a hosts-file. +#expand-hosts + +# Set the domain for dnsmasq. this is optional, but if it is set, it +# does the following things. +# 1) Allows DHCP hosts to have fully qualified domain names, as long +# as the domain part matches this setting. +# 2) Sets the "domain" DHCP option thereby potentially setting the +# domain of all systems configured by DHCP +# 3) Provides the domain part for "expand-hosts" +#domain=thekelleys.org.uk + +# Uncomment this to enable the integrated DHCP server, you need +# to supply the range of addresses available for lease and optionally +# a lease time. If you have more than one network, you will need to +# repeat this for each network on which you want to supply DHCP +# service. +#dhcp-range=192.168.0.50,192.168.0.150,12h +dhcp-range=10.0.0.10,10.0.0.200,2h + +# This is an example of a DHCP range where the netmask is given. This +# is needed for networks we reach the dnsmasq DHCP server via a relay +# agent. If you don't know what a DHCP relay agent is, you probably +# don't need to worry about this. +#dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h + +# This is an example of a DHCP range with a network-id, so that +# some DHCP options may be set only for this network. +#dhcp-range=red,192.168.0.50,192.168.0.150 + +# Supply parameters for specified hosts using DHCP. There are lots +# of valid alternatives, so we will give examples of each. Note that +# IP addresses DO NOT have to be in the range given above, they just +# need to be on the same network. The order of the parameters in these +# do not matter, it's permissble to give name,adddress and MAC in any order + +# Always allocate the host with ethernet address 11:22:33:44:55:66 +# The IP address 192.168.0.60 +#dhcp-host=11:22:33:44:55:66,192.168.0.60 + +# Always set the name of the host with hardware address +# 11:22:33:44:55:66 to be "fred" +#dhcp-host=11:22:33:44:55:66,fred + +# Always give the host with ethernet address 11:22:33:44:55:66 +# the name fred and IP address 192.168.0.60 and lease time 45 minutes +#dhcp-host=11:22:33:44:55:66,fred,192.168.0.60,45m + +# Give the machine which says it's name is "bert" IP address +# 192.168.0.70 and an infinite lease +#dhcp-host=bert,192.168.0.70,infinite + +# Always give the host with client identifier 01:02:02:04 +# the IP address 192.168.0.60 +#dhcp-host=id:01:02:02:04,192.168.0.60 + +# Always give the host with client identifier "marjorie" +# the IP address 192.168.0.60 +#dhcp-host=id:marjorie,192.168.0.60 + +# Enable the address given for "judge" in /etc/hosts +# to be given to a machine presenting the name "judge" when +# it asks for a DHCP lease. +#dhcp-host=judge + +# Never offer DHCP service to a machine whose ethernet +# address is 11:22:33:44:55:66 +#dhcp-host=11:22:33:44:55:66,ignore + +# Ignore any client-id presented by the machine with ethernet +# address 11:22:33:44:55:66. This is useful to prevent a machine +# being treated differently when running under different OS's or +# between PXE boot and OS boot. +#dhcp-host=11:22:33:44:55:66,id:* + +# Send extra options which are tagged as "red" to +# the machine with ethernet address 11:22:33:44:55:66 +#dhcp-host=11:22:33:44:55:66,net:red + +# Send extra options which are tagged as "red" to any machine whose +# DHCP vendorclass string includes the substring "Linux" +#dhcp-vendorclass=red,Linux + +# Send extra options which are tagged as "red" to any machine one +# of whose DHCP userclass strings includes the substring "accounts" +#dhcp-userclass=red,accounts + +# If this line is uncommented, dnsmasq will read /etc/ethers and act +# on the ethernet-address/IP pairs found there just as if they had +# been given as --dhcp-host options. Useful if you keep +# MAC-address/host mappings there for other purposes. +#read-ethers + +# Send options to hosts which ask for a DHCP lease. +# See RFC 2132 for details of available options. +# Note that all the common settings, such as netmask and +# broadcast address, DNS server and default route, are given +# sane defaults by dnsmasq. You very likely will not need any +# any dhcp-options. If you use Windows clients and Samba, there +# are some options which are recommended, they are detailed at the +# end of this section. +# For reference, the common options are: +# subnet mask - 1 +# default router - 3 +# DNS server - 6 +# broadcast address - 28 + +# Set the NTP time server addresses to 192.168.0.4 and 10.10.0.5 +#dhcp-option=42,192.168.0.4,10.10.0.5 + +# Set the NTP time server address to be the same machine as +# is running dnsmasq +#dhcp-option=42,0.0.0.0 + +# Set the NIS domain name to "welly" +#dhcp-option=40,welly + +# Set the default time-to-live to 50 +#dhcp-option=23,50 + +# Set the "all subnets are local" flag +#dhcp-option=27,1 + +# Send the etherboot magic flag and then etherboot options (a string). +#dhcp-option=128,e4:45:74:68:00:00 +#dhcp-option=129,NIC=eepro100 + +# Specify an option which will only be sent to the "red" network +# (see dhcp-range for the declaration of the "red" network) +#dhcp-option=red,42,192.168.1.1 + +# The following DHCP options set up dnsmasq in the same way as is specified +# for the ISC dhcpcd in +# http://www.samba.org/samba/ftp/docs/textdocs/DHCP-Server-Configuration.txt +# adapted for a typical dnsmasq installation where the host running +# dnsmasq is also the host running samba. +# you may want to uncomment them if you use Windows clients and Samba. +#dhcp-option=19,0 # option ip-forwarding off +#dhcp-option=44,0.0.0.0 # set netbios-over-TCP/IP nameserver(s) aka WINS server(s) +#dhcp-option=45,0.0.0.0 # netbios datagram distribution server +#dhcp-option=46,8 # netbios node type +#dhcp-option=47 # empty netbios scope. + + +# Set the boot filename and tftpd server name and address +# for BOOTP. You will only need this is you want to +# boot machines over the network. +#dhcp-boot=/var/ftpd/pxelinux.0,boothost,192.168.0.3 + +# Set the limit on DHCP leases, the default is 150 +#dhcp-lease-max=150 + +# The DHCP server needs somewhere on disk to keep its lease database. +# This defaults to a sane location, but if you want to change it, use +# the line below. +#dhcp-leasefile=/var/lib/misc/dnsmasq.leases + +# Set the cachesize here. +#cache-size=150 + +# If you want to disable negative caching, uncomment this. +#no-negcache + +# Normally responses which come form /etc/hosts and the DHCP lease +# file have Time-To-Live set as zero, which conventionally means +# do not cache further. If you are happy to trade lower load on the +# server for potentially stale date, you can set a time-to-live (in +# seconds) here. +#local-ttl= + +# If you want dnsmasq to detect attempts by Verisign to send queries +# to unregistered .com and .net hosts to its sitefinder service and +# have dnsmasq instead return the correct NXDOMAIN response, uncomment +# this line. You can add similar lines to do the same for other +# registries which have implemented wildcard A records. +#bogus-nxdomain=64.94.110.11 + +# If you want to fix up DNS results from upstream servers, use the +# alias option. This only works for IPv4. +# This alias makes a result of 1.2.3.4 appear as 5.6.7.8 +#alias=1.2.3.4,5.6.7.8 +# and this maps 1.2.3.x to 5.6.7.x +#alias=1.2.3.0,5.6.7.0,255.255.255.0 + +# For debugging purposes, log each DNS query as it passes through +# dnsmasq. +#log-queries + +# Include a another lot of configuration options. +#conf-file=/etc/dnsmasq.more.conf + + + + + diff --git a/recipes-extra/dnsmasq/files/dnsmasq.service b/recipes-extra/dnsmasq/files/dnsmasq.service new file mode 100644 index 0000000000..549e15e2b2 --- /dev/null +++ b/recipes-extra/dnsmasq/files/dnsmasq.service @@ -0,0 +1,13 @@ +[Unit] +Description=DNS forwarder and DHCP server +After=network.target + +[Service] +Type=forking +PIDFile=/run/dnsmasq.pid +ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid +ExecReload=/bin/kill -HUP $(/bin/cat /run/dnsmasq.pid) + +[Install] +WantedBy=multi-user.target + diff --git a/recipes-extra/dnsmasq/files/init b/recipes-extra/dnsmasq/files/init new file mode 100644 index 0000000000..d1aa9e517d --- /dev/null +++ b/recipes-extra/dnsmasq/files/init @@ -0,0 +1,52 @@ +#!/bin/sh +DAEMON=/usr/bin/dnsmasq +NAME=dnsmasq +DESC="DNS forwarder and DHCP server" +ARGS="-7 /etc/dnsmasq.d" + +test -f $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "starting $DESC: $NAME... " + test -d /var/lib/misc/ || mkdir /var/lib/misc/ + start-stop-daemon -S -x $DAEMON -- $ARGS + echo "done." + ;; + stop) + echo -n "stopping $DESC: $NAME... " + start-stop-daemon -K -x $DAEMON + echo "done." + ;; + status) + echo -n "dnsmasq " + start-stop-daemon -q -K -t -x $DAEMON + RET=$? + if [ "$RET" = "0" ]; then + PID=`cat /var/run/dnsmasq.pid` + echo "($PID) is running" + else + echo "is not running" + exit $RET + fi + ;; + restart) + echo "restarting $DESC: $NAME... " + $0 stop + $0 start + echo "done." + ;; + reload) + echo -n "reloading $DESC: $NAME... " + killall -HUP $(basename ${DAEMON}) + echo "done." + ;; + *) + echo "Usage: $0 {start|stop|status|restart|reload}" + exit 1 + ;; +esac + +exit 0 From 6314605bd42e589cd0f49c9fae5bb05f9c06705b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 10 Feb 2015 19:47:01 +0100 Subject: [PATCH 480/908] Revert "linux-sysmocom: Add some crazy checks to debug a race" Okay "make modules" will lead to the kernel.release file being re-created. So kernel.bbclass of Yocto master needs to be fixed. This reverts commit 3cdbc49cbb0875fe7d2f0813e5304b6c581010b2. --- recipes-bsp/linux/linux-sysmocom_git.bb | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 9e633ce49e..7649db1f33 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -37,28 +37,6 @@ require linux-tools.inc do_configure() { install -m 0644 ${WORKDIR}/defconfig ${B}/.config oe_runmake -C ${S} O=${B} oldconfig - ls -la ${B}/include/config/kernel.release || true - stat ${B}/include/config/kernel.release || true -} - -do_compile_prepend() { - ls -la ${B}/include/config/kernel.release || true - stat ${B}/include/config/kernel.release || true -} - -do_compile_append() { - ls -la ${B}/include/config/kernel.release || true - stat ${B}/include/config/kernel.release || true -} - -do_compile_kernelmodules_prepend() { - ls -la ${B}/include/config/kernel.release || true - stat ${B}/include/config/kernel.release || true -} - -do_compile_kernelmodules_append() { - ls -la ${B}/include/config/kernel.release || true - stat ${B}/include/config/kernel.release || true } # autoload defaults (alphabetically sorted) From a0f0c463859ef4575a4fd924368df2361dac2508 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 12 Feb 2015 16:24:16 +0100 Subject: [PATCH 481/908] tasks-symocom-feed: Make CU available --- recipes-apps/tasks/task-sysmocom-feed.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-feed.bb b/recipes-apps/tasks/task-sysmocom-feed.bb index 978e5d7e58..b994b3770f 100644 --- a/recipes-apps/tasks/task-sysmocom-feed.bb +++ b/recipes-apps/tasks/task-sysmocom-feed.bb @@ -3,11 +3,11 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = " \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY_${PN} = "1" -PR = "r13" +PR = "r14" RDEPENDS_${PN} = "\ task-sysmocom-tools \ task-sysmocom-debug \ minicom vlan patch procps psmisc \ ppp rsync sed usbutils openvpn iperf \ - lcr cronie iproute2 i2c-tools" + lcr cronie iproute2 i2c-tools cu" From f5e3916424a7f839a4a142d0348af41e41f28d44 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 12 Feb 2015 16:27:02 +0100 Subject: [PATCH 482/908] python-pyserial: Import from meta-python --- recipes-extra/python/python-pyserial_2.4.bb | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes-extra/python/python-pyserial_2.4.bb diff --git a/recipes-extra/python/python-pyserial_2.4.bb b/recipes-extra/python/python-pyserial_2.4.bb new file mode 100644 index 0000000000..2263b2ccc0 --- /dev/null +++ b/recipes-extra/python/python-pyserial_2.4.bb @@ -0,0 +1,22 @@ +SUMMARY = "Serial Port Support for Python" +SECTION = "devel/python" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7424386ffe323e815ee62ee9ad591dd8" +SRCNAME = "pyserial" +PR = "ml4" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +# FIXME might stop packaging serialwin32 and serialjava files + +RDEPENDS_${PN} = "\ + python-fcntl \ + python-io \ + python-stringold \ +" + +SRC_URI[md5sum] = "eec19df59fd75ba5a136992897f8e468" +SRC_URI[sha256sum] = "6b6a9e3d2fd5978c92c843e0109918a4bcac481eecae316254481c0e0f7e73c8" From 8f7cc4bd9a30dee3c6f31a393f3a57acb8ce8e67 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 12 Feb 2015 16:29:38 +0100 Subject: [PATCH 483/908] pythom-pexpect: Import from meta-python --- recipes-extra/python/python-pexpect_2.3.bb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes-extra/python/python-pexpect_2.3.bb diff --git a/recipes-extra/python/python-pexpect_2.3.bb b/recipes-extra/python/python-pexpect_2.3.bb new file mode 100644 index 0000000000..d4c2ba477d --- /dev/null +++ b/recipes-extra/python/python-pexpect_2.3.bb @@ -0,0 +1,23 @@ +SUMMARY = "A Pure Python Expect like Module for Python" +SECTION = "devel/python" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=04a2bf11b85ce49d4a8c0c413fd34404" +SRCNAME = "pexpect" +PR = "ml3" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +RDEPENDS_${PN} = "\ + python-core \ + python-io \ + python-terminal \ + python-resource \ + python-fcntl \ +" + + +SRC_URI[md5sum] = "bf107cf54e67bc6dec5bea1f3e6a65c3" +SRC_URI[sha256sum] = "d315e7f3a8544fd85034d7e17fd7c5854e8f0828f5791f83cf313f8fa5740b75" From 53c20998d83531081ca33a1709a5985adb83fcab Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 12 Feb 2015 16:28:09 +0100 Subject: [PATCH 484/908] task-sysmocom-feed: Add python-pyserial/python-pexpect as well --- recipes-apps/tasks/task-sysmocom-feed.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-apps/tasks/task-sysmocom-feed.bb b/recipes-apps/tasks/task-sysmocom-feed.bb index b994b3770f..6ca398124d 100644 --- a/recipes-apps/tasks/task-sysmocom-feed.bb +++ b/recipes-apps/tasks/task-sysmocom-feed.bb @@ -3,11 +3,12 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = " \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY_${PN} = "1" -PR = "r14" +PR = "r15" RDEPENDS_${PN} = "\ task-sysmocom-tools \ task-sysmocom-debug \ minicom vlan patch procps psmisc \ ppp rsync sed usbutils openvpn iperf \ - lcr cronie iproute2 i2c-tools cu" + lcr cronie iproute2 i2c-tools cu \ + python-pyserial python-pexpect" From 8f8dae9938e5d7792d99205e40fad1f232c429a1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 13 Feb 2015 00:40:34 +0100 Subject: [PATCH 485/908] edison: Remove edison support from meta-sysmocom-bsp This means that currently only Yocto Dora and Yocto Master are being targeted. The amount of maintenance to get it to work on Edison again is too high and it is better to focus on a systemd only world. Remove the symlinks for yocto-edison. A quick look and some notes from henning pointed me to wget which is in the default layers, the sysmobts-2050 which is now handle dby sysmobts and some older notes that are unlikely to be addressed. --- conf/layer.conf | 2 +- conf/machine/sysmobts-2050.conf | 18 ------ .../netbase/init-ifupdown_sysmocom.inc | 1 - .../wget/wget-1.13.4/fix_makefile.patch | 59 ------------------- recipes-extra/wget/wget.inc | 20 ------- recipes-extra/wget/wget_1.13.4.bb | 9 --- yocto-edison/busybox_1.18.5.bbappend | 3 - yocto-edison/dropbear_0.52.bbappend | 1 - yocto-edison/netbase_4.45.bbappend | 1 - yocto-edison/opkg_svn.bbappend | 1 - yocto-edison/pkgconfig_0.25.bbappend | 1 - yocto-edison/task-core-boot.bbappend | 1 - yocto-edison/task-sdk-host-nativesdk.bbappend | 13 ---- yocto-edison/u-boot_2011.03.bbappend | 1 - yocto-edison/udev_164.bbappend | 1 - yocto-edison/watchdog_5.9.bbappend | 1 - 16 files changed, 1 insertion(+), 132 deletions(-) delete mode 100644 conf/machine/sysmobts-2050.conf delete mode 100644 recipes-extra/wget/wget-1.13.4/fix_makefile.patch delete mode 100644 recipes-extra/wget/wget.inc delete mode 100644 recipes-extra/wget/wget_1.13.4.bb delete mode 100644 yocto-edison/busybox_1.18.5.bbappend delete mode 100644 yocto-edison/dropbear_0.52.bbappend delete mode 100644 yocto-edison/netbase_4.45.bbappend delete mode 100644 yocto-edison/opkg_svn.bbappend delete mode 100644 yocto-edison/pkgconfig_0.25.bbappend delete mode 100644 yocto-edison/task-core-boot.bbappend delete mode 100644 yocto-edison/task-sdk-host-nativesdk.bbappend delete mode 100644 yocto-edison/u-boot_2011.03.bbappend delete mode 100644 yocto-edison/udev_164.bbappend delete mode 100644 yocto-edison/watchdog_5.9.bbappend diff --git a/conf/layer.conf b/conf/layer.conf index 62685d4503..74ac0c01a2 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -9,7 +9,7 @@ BBFILES += "${LAYERDIR}/yocto-shared/*.bbappend" BBFILES += "${BBFILES_SYSMOCOM_BSP}" # selects specific distro or master when DISTRO_VERSION contains snapshot -BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5', 'dora'), ('1.1','edison'), ('1.7', 'dizzy')])[d.getVar('DISTRO_VERSION', True)[0:3]], 'master']['snapshot' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" +BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5', 'dora'), ('1.7', 'dizzy')])[d.getVar('DISTRO_VERSION', True)[0:3]], 'master']['snapshot' in d.getVar('DISTRO_VERSION', True)]}/*.bbappend" BBFILE_COLLECTIONS += "sysmocom-bsp" BBFILE_PATTERN_sysmocom-bsp := "^${LAYERDIR}/" diff --git a/conf/machine/sysmobts-2050.conf b/conf/machine/sysmobts-2050.conf deleted file mode 100644 index a58dcd03d6..0000000000 --- a/conf/machine/sysmobts-2050.conf +++ /dev/null @@ -1,18 +0,0 @@ -#@TYPE: Machine -#@NAME: sysmoBTS 2050 -#@DESCRIPTION: sysmocom GmbH sysmoBTS 2050 family - -require sysmobts-v2.conf - -MACHINEOVERRIDES = "${MACHINE}:sysmobts-v2" - -# TODO: Remove this file once edison support is dropped from this layer - -# 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" diff --git a/recipes-bsp/netbase/init-ifupdown_sysmocom.inc b/recipes-bsp/netbase/init-ifupdown_sysmocom.inc index 35ead569d2..9e1ff4919d 100644 --- a/recipes-bsp/netbase/init-ifupdown_sysmocom.inc +++ b/recipes-bsp/netbase/init-ifupdown_sysmocom.inc @@ -1,4 +1,3 @@ -# TODO: When dropping netbase for edison we can rename it SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESEXTRAPATHS_prepend := "${SYSMOCOM}/netbase-${PV}:${SYSMOCOM}/netbase:" PRINC = "4" diff --git a/recipes-extra/wget/wget-1.13.4/fix_makefile.patch b/recipes-extra/wget/wget-1.13.4/fix_makefile.patch deleted file mode 100644 index 3f34c7690b..0000000000 --- a/recipes-extra/wget/wget-1.13.4/fix_makefile.patch +++ /dev/null @@ -1,59 +0,0 @@ - -Upstream-Status: Pending - -Signed-off-by: Saul Wold - -Index: wget-1.12/po/Makefile.in.in -=================================================================== ---- wget-1.12.orig/po/Makefile.in.in 2009-09-04 09:31:54.000000000 -0700 -+++ wget-1.12/po/Makefile.in.in 2011-10-19 20:32:53.714812160 -0700 -@@ -8,8 +8,8 @@ - # Please note that the actual code of GNU gettext is covered by the GNU - # General Public License and is *not* in the public domain. - # --# Origin: gettext-0.17 --GETTEXT_MACRO_VERSION = 0.17 -+# Origin: gettext-0.18 -+GETTEXT_MACRO_VERSION = 0.18 - - PACKAGE = @PACKAGE@ - VERSION = @VERSION@ -Index: wget-1.12/configure.ac -=================================================================== ---- wget-1.12.orig/configure.ac 2009-09-22 09:39:49.000000000 -0700 -+++ wget-1.12/configure.ac 2011-10-19 20:32:53.714812160 -0700 -@@ -110,7 +110,7 @@ - dnl Gettext - dnl - AM_GNU_GETTEXT([external],[need-ngettext]) --AM_GNU_GETTEXT_VERSION([0.17]) -+AM_GNU_GETTEXT_VERSION([0.18]) - - AC_PROG_RANLIB - -Index: wget-1.12/configure -=================================================================== ---- wget-1.12.orig/configure 2009-09-22 09:40:13.000000000 -0700 -+++ wget-1.12/configure 2011-10-19 20:33:46.578812174 -0700 -@@ -5297,7 +5297,7 @@ - - - -- GETTEXT_MACRO_VERSION=0.17 -+ GETTEXT_MACRO_VERSION=0.18 - - - -Index: wget-1.12/m4/po.m4 -=================================================================== ---- wget-1.12.orig/m4/po.m4 2009-09-04 09:31:54.000000000 -0700 -+++ wget-1.12/m4/po.m4 2011-10-19 20:33:53.426812176 -0700 -@@ -30,7 +30,7 @@ - - dnl Release version of the gettext macros. This is used to ensure that - dnl the gettext macros and po/Makefile.in.in are in sync. -- AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) -+ AC_SUBST([GETTEXT_MACRO_VERSION], [0.18]) - - dnl Perform the following tests also if --disable-nls has been given, - dnl because they are needed for "make dist" to work. diff --git a/recipes-extra/wget/wget.inc b/recipes-extra/wget/wget.inc deleted file mode 100644 index 450d5193c0..0000000000 --- a/recipes-extra/wget/wget.inc +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION = "A console URL download utility featuring HTTP, FTP, and more." -SECTION = "console/network" -LICENSE = "GPLv3+" -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -DEPENDS = "openssl" - -INC_PR = "r13" - -inherit autotools gettext update-alternatives - -EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl" - -do_install_append () { - mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN} -} - -ALTERNATIVE_NAME = "wget" -ALTERNATIVE_LINK = "${bindir}/wget" -ALTERNATIVE_PATH = "${bindir}/wget.${PN}" -ALTERNATIVE_PRIORITY = "100" diff --git a/recipes-extra/wget/wget_1.13.4.bb b/recipes-extra/wget/wget_1.13.4.bb deleted file mode 100644 index b2da52f7bd..0000000000 --- a/recipes-extra/wget/wget_1.13.4.bb +++ /dev/null @@ -1,9 +0,0 @@ -PR = "${INC_PR}.1" - -SRC_URI = "${GNU_MIRROR}/wget/wget-${PV}.tar.gz \ - file://fix_makefile.patch \ - " -SRC_URI[md5sum] = "1df489976a118b9cbe1b03502adbfc27" -SRC_URI[sha256sum] = "24c7710bc9f220ce23d8a9e0f5673b0efc1cace62db6de0239b5863ecc934dcd" - -require wget.inc diff --git a/yocto-edison/busybox_1.18.5.bbappend b/yocto-edison/busybox_1.18.5.bbappend deleted file mode 100644 index 1d33444ef1..0000000000 --- a/yocto-edison/busybox_1.18.5.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -# PN/PV are wrong inside the .inc file with 1.19.1 -SYSMOCOM_ORIG_PV := "${PV}" -require recipes-core/busybox/${PN}_sysmocom.inc diff --git a/yocto-edison/dropbear_0.52.bbappend b/yocto-edison/dropbear_0.52.bbappend deleted file mode 100644 index a3a97a3fa8..0000000000 --- a/yocto-edison/dropbear_0.52.bbappend +++ /dev/null @@ -1 +0,0 @@ -require recipes-fixes/dropbear/${PN}_sysmocom.inc diff --git a/yocto-edison/netbase_4.45.bbappend b/yocto-edison/netbase_4.45.bbappend deleted file mode 100644 index 5e3605ffef..0000000000 --- a/yocto-edison/netbase_4.45.bbappend +++ /dev/null @@ -1 +0,0 @@ -require recipes-bsp/netbase/${PN}_sysmocom.inc diff --git a/yocto-edison/opkg_svn.bbappend b/yocto-edison/opkg_svn.bbappend deleted file mode 100644 index 9e035919af..0000000000 --- a/yocto-edison/opkg_svn.bbappend +++ /dev/null @@ -1 +0,0 @@ -require recipes-fixes/${PN}/${PN}_sysmocom.inc diff --git a/yocto-edison/pkgconfig_0.25.bbappend b/yocto-edison/pkgconfig_0.25.bbappend deleted file mode 100644 index 9e035919af..0000000000 --- a/yocto-edison/pkgconfig_0.25.bbappend +++ /dev/null @@ -1 +0,0 @@ -require recipes-fixes/${PN}/${PN}_sysmocom.inc diff --git a/yocto-edison/task-core-boot.bbappend b/yocto-edison/task-core-boot.bbappend deleted file mode 100644 index 562a0478ef..0000000000 --- a/yocto-edison/task-core-boot.bbappend +++ /dev/null @@ -1 +0,0 @@ -require recipes-apps/tasks/${PN}_sysmocom.inc diff --git a/yocto-edison/task-sdk-host-nativesdk.bbappend b/yocto-edison/task-sdk-host-nativesdk.bbappend deleted file mode 100644 index 850e4b1b3b..0000000000 --- a/yocto-edison/task-sdk-host-nativesdk.bbappend +++ /dev/null @@ -1,13 +0,0 @@ -# There is no point in packing qemu... -PRINC = "1" - -# qemu removed -RDEPENDS_${PN} = "\ - pkgconfig-nativesdk \ - pseudo-nativesdk \ - unfs-server-nativesdk \ - opkg-nativesdk \ - libtool-nativesdk \ - autoconf-nativesdk \ - automake-nativesdk \ - " diff --git a/yocto-edison/u-boot_2011.03.bbappend b/yocto-edison/u-boot_2011.03.bbappend deleted file mode 100644 index 34003acec4..0000000000 --- a/yocto-edison/u-boot_2011.03.bbappend +++ /dev/null @@ -1 +0,0 @@ -require recipes-sysmobts/uboot/${PN}_sysmocom.inc diff --git a/yocto-edison/udev_164.bbappend b/yocto-edison/udev_164.bbappend deleted file mode 100644 index 9e035919af..0000000000 --- a/yocto-edison/udev_164.bbappend +++ /dev/null @@ -1 +0,0 @@ -require recipes-fixes/${PN}/${PN}_sysmocom.inc diff --git a/yocto-edison/watchdog_5.9.bbappend b/yocto-edison/watchdog_5.9.bbappend deleted file mode 100644 index 57590dbf4a..0000000000 --- a/yocto-edison/watchdog_5.9.bbappend +++ /dev/null @@ -1 +0,0 @@ -require recipes-bsp/watchdog/${PN}_sysmocom.inc From d3d30ca98ac4ced9e1d5ab2ad96f86f5a3420a23 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 27 Jan 2015 17:53:38 +0100 Subject: [PATCH 486/908] socat: update to 1.7.3.0 * the license in README has a new checksum, it now clarifies to GPLv2 * bump the layer priority otherwise we could not use the latest version, because the yocto layers have a higher priority Related: SYS#732 --- conf/layer.conf | 2 +- recipes-extra/socat/files/compile.patch | 946 ------------------------ recipes-extra/socat/socat_1.7.2.0.bb | 28 - recipes-extra/socat/socat_1.7.3.0.bb | 35 + 4 files changed, 36 insertions(+), 975 deletions(-) delete mode 100644 recipes-extra/socat/files/compile.patch delete mode 100644 recipes-extra/socat/socat_1.7.2.0.bb create mode 100644 recipes-extra/socat/socat_1.7.3.0.bb diff --git a/conf/layer.conf b/conf/layer.conf index 74ac0c01a2..d2190855b1 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -13,5 +13,5 @@ BBFILES_SYSMOCOM_BSP = "${LAYERDIR}/yocto-${@ [dict([('1.5', 'dora'), ('1.7', 'd BBFILE_COLLECTIONS += "sysmocom-bsp" BBFILE_PATTERN_sysmocom-bsp := "^${LAYERDIR}/" -BBFILE_PRIORITY_sysmocom-bsp = "1" +BBFILE_PRIORITY_sysmocom-bsp = "6" diff --git a/recipes-extra/socat/files/compile.patch b/recipes-extra/socat/files/compile.patch deleted file mode 100644 index 4d1a0b65cb..0000000000 --- a/recipes-extra/socat/files/compile.patch +++ /dev/null @@ -1,946 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - -The patch is from http://git.openembedded.org/openembedded/tree/recipes/socat/files/compile.patch -and was rebased to socat-1.7.2.0. - -Signed-off-by: Dexuan Cui -Fri Dec 16 17:12:17 CST 2011 - -diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in ---- socat-1.7.2.0.orig/configure.in 2011-12-04 21:34:16.000000000 +0800 -+++ socat-1.7.2.0/configure.in 2011-12-16 17:08:59.698367071 +0800 -@@ -88,7 +88,7 @@ - - - dnl Check for extra socket library (for Solaris) --AC_CHECK_FUNC(hstrerror, , AC_CHECK_LIB(resolv, hstrerror, [LIBS="$LIBS -lresolv"; AC_DEFINE(HAVE_HSTRERROR)])) -+AC_CHECK_FUNC(hstrerror, , AC_CHECK_LIB(resolv, hstrerror, [LIBS="$LIBS -lresolv"; AC_DEFINE(HAVE_HSTRERROR, [1], [STRERROR])])) - AC_CHECK_FUNC(gethostent, , AC_CHECK_LIB(nsl, gethostent)) - AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt)) - -@@ -102,7 +102,7 @@ - [sc_cv_have_prototype_hstrerror=yes]); - CFLAGS="$CFLAGS1"]) - if test $sc_cv_have_prototype_hstrerror = yes; then -- AC_DEFINE(HAVE_PROTOTYPE_HSTRERROR) -+ AC_DEFINE(HAVE_PROTOTYPE_HSTRERROR, [1], [Has Strerror]) - fi - AC_MSG_RESULT($sc_cv_have_prototype_hstrerror) - -@@ -111,83 +111,83 @@ - AC_ARG_ENABLE(help, [ --disable-help disable help], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_HELP) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_HELP, [1], [With help]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_HELP) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_HELP, [1], [With help]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include STDIO support) - AC_ARG_ENABLE(stdio, [ --disable-stdio disable STDIO support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_STDIO) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_STDIO, [1], [With stdio]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_STDIO) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_STDIO, [1], [With stdio]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include FD-number support) - AC_ARG_ENABLE(fdnum, [ --disable-fdnum disable FD-number support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_FDNUM) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_FDNUM, [1], [With fdnum]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_FDNUM) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_FDNUM, [1], [With fdnum]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include direct file support) - AC_ARG_ENABLE(file, [ --disable-file disable direct file support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_FILE) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_FILE, [1], [With file]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_FILE) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_FILE, [1], [With file]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include direct create support) - AC_ARG_ENABLE(creat, [ --disable-creat disable direct create support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_CREAT) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_CREAT, [1], [With creat]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_CREAT) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_CREAT, [1], [With creat]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include gopen support) - AC_ARG_ENABLE(gopen, [ --disable-gopen disable open for UNIX socket support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_GOPEN) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_GOPEN, [1], [With gopen]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_GOPEN) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_GOPEN, [1], [With gopen]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include explicit pipe support) - AC_ARG_ENABLE(pipe, [ --disable-pipe disable pipe support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_PIPE) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_PIPE, [1], [With pipe]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_PIPE) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_PIPE, [1], [With pipe]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include explicit termios support) - AC_ARG_ENABLE(termios, [ --disable-termios disable termios support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_TERMIOS) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_TERMIOS, [1], [With termios]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_TERMIOS) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_TERMIOS, [1], [With termios]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include UNIX socket support) - AC_ARG_ENABLE(unix, [ --disable-unix disable UNIX domain socket support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_UNIX) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_UNIX, [1], [With unix]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_UNIX) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_UNIX, [1], [With unix]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include abstract UNIX socket support) - AC_ARG_ENABLE(abstract_unixsocket, [ --disable-abstract-unixsocket disable abstract UNIX domain socket support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_ABSTRACT_UNIXSOCKET) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_ABSTRACT_UNIXSOCKET, [1], [With abstract unix socket]) AC_MSG_RESULT(yes);; - esac], - [ case "`uname`" in - Linux) -- AC_DEFINE(WITH_ABSTRACT_UNIXSOCKET) AC_MSG_RESULT(yes);; -+ AC_DEFINE(WITH_ABSTRACT_UNIXSOCKET, [1], [With abstract unix socket]) AC_MSG_RESULT(yes);; - *) - AC_MSG_RESULT(no);; - esac]) -@@ -196,9 +196,9 @@ - AC_ARG_ENABLE(ip4, [ --disable-ip4 disable IPv4 support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_IP4) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_IP4, [1], [with ipv4]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_IP4) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_IP4, [1], [with ipv4]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include IPv6 support) - AC_ARG_ENABLE(ip6, [ --disable-ip6 disable IPv6 support], -@@ -209,7 +209,7 @@ - [ AC_MSG_RESULT(yes); WITH_IP6=1 ]) - if test "$WITH_IP6"; then - AC_CHECK_HEADERS([netinet/ip6.h], -- [AC_DEFINE(HAVE_NETINET_IP6_H) AC_DEFINE(WITH_IP6)], -+ [AC_DEFINE(HAVE_NETINET_IP6_H) AC_DEFINE(WITH_IP6, [1], [with ipv6])], - [AC_MSG_WARN([include file netinet/ip6.h not found, disabling IP6])], - [AC_INCLUDES_DEFAULT - #ifdef HAVE_NETINET_IN_H -@@ -242,17 +242,17 @@ - AC_ARG_ENABLE(rawip, [ --disable-rawip disable raw IP support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_RAWIP) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_RAWIP, [1], [With reawip]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_RAWIP) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_RAWIP, [1], [With rawip]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include generic socket support) - AC_ARG_ENABLE(rawsocket, [ --disable-genericsocket disable generic socket support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_GENERICSOCKET) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_GENERICSOCKET, [1], [With genericsocket]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_GENERICSOCKET) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_GENERICSOCKET, [1], [With genericsocket]) AC_MSG_RESULT(yes)]) - AC_MSG_CHECKING(whether to include raw network interface support) - AC_ARG_ENABLE(interface, [ --disable-interface disable network interface support], - [case "$enableval" in -@@ -262,35 +262,35 @@ - [AC_MSG_RESULT(yes); WITH_INTERFACE=1 ]) - if test "$WITH_INTERFACE"; then - AC_CHECK_HEADER(netpacket/packet.h, -- AC_DEFINE(HAVE_NETPACKET_PACKET_H), -+ AC_DEFINE(HAVE_NETPACKET_PACKET_H, [1], [Has packet.h]), - [WITH_INTERFACE=; - AC_MSG_WARN([include file netpacket/packet.h not found, disabling interface])]) - fi - if test "$WITH_INTERFACE"; then - AC_CHECK_HEADER(netinet/if_ether.h, -- AC_DEFINE(HAVE_NETINET_IF_ETHER_H), -+ AC_DEFINE(HAVE_NETINET_IF_ETHER_H, [1], [Has if_ether.h]), - [WITH_INTERFACE=; - AC_MSG_WARN([include file netinet/if_ether.h not found, disabling interface])]) - fi - if test "$WITH_INTERFACE"; then -- AC_DEFINE(WITH_INTERFACE) -+ AC_DEFINE(WITH_INTERFACE, [1], [Wither interface]) - fi - - AC_MSG_CHECKING(whether to include TCP support) - AC_ARG_ENABLE(tcp, [ --disable-tcp disable TCP support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_TCP) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_TCP, [1], [With TCP]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_TCP) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_TCP, [1], [With TCP]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include UDP support) - AC_ARG_ENABLE(udp, [ --disable-udp disable UDP support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_UDP) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_UDP, [1], [With UDP]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_UDP) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_UDP, [1], [With UDP]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include SCTP support) - AC_ARG_ENABLE(sctp, [ --disable-sctp disable SCTP support], -@@ -310,7 +310,7 @@ - [sc_cv_define_ipproto_sctp=no])]) - AC_MSG_RESULT($sc_cv_define_ipproto_sctp) - if test $sc_cv_define_ipproto_sctp = yes; then -- AC_DEFINE(WITH_SCTP) -+ AC_DEFINE(WITH_SCTP, [1], [With SCTP]) - else - AC_MSG_WARN([IPPROTO_SCTP undefined, disabling SCTP support]) - fi -@@ -320,65 +320,65 @@ - AC_ARG_ENABLE(listen, [ --disable-listen disable listen support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_LISTEN) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_LISTEN, [1], [With listen]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_LISTEN) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_LISTEN, [1], [With listen]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include socks4 support) - AC_ARG_ENABLE(socks4, [ --disable-socks4 disable socks4 support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_SOCKS4) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_SOCKS4, [1], [With socks]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_SOCKS4) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_SOCKS4, [1], [With socks]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include socks4a support) - AC_ARG_ENABLE(socks4a, [ --disable-socks4a disable socks4a support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_SOCKS4A) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_SOCKS4A, [1], [With socks4a]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_SOCKS4A) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_SOCKS4A, [1], [With socks4a]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include proxy connect support) - AC_ARG_ENABLE(proxy, [ --disable-proxy disable proxy connect support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_PROXY) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_PROXY, [1], [With proxy]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_PROXY) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_PROXY, [1], [With proxy]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include exec support) - AC_ARG_ENABLE(exec, [ --disable-exec disable exec support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_EXEC) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_EXEC, [1], [With exec]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_EXEC) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_EXEC, [1], [With exec]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING([whether to include system (shell) support]) - AC_ARG_ENABLE(system, [ --disable-system disable system (shell) support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_SYSTEM) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_SYSTEM, [1], [With system]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_SYSTEM) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_SYSTEM, [1], [With system]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include pty address support) - AC_ARG_ENABLE(pty, [ --disable-pty disable pty support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_PTY) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_PTY, [1], [With pty]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_PTY) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_PTY, [1], [With pty]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include ext2 fs attributes support) - AC_ARG_ENABLE(ext2, [ --disable-ext2 disable ext2 fs attributes support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_EXT2) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_EXT2, [1], [With ext2]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_EXT2) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_EXT2, [1], [With ext2]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(whether to include readline support) - AC_ARG_ENABLE(readline, [ --disable-readline disable readline support], -@@ -423,10 +423,10 @@ - - if test -n "$sc_usable_readline_found"; then - AC_MSG_RESULT(yes) -- AC_DEFINE(HAVE_READLINE_READLINE_H,1) -- AC_DEFINE(HAVE_READLINE_HISTORY_H,1) -- AC_DEFINE(HAVE_LIBREADLINE,1) -- AC_DEFINE(WITH_READLINE,1) -+ AC_DEFINE(HAVE_READLINE_READLINE_H,1, [have readline]) -+ AC_DEFINE(HAVE_READLINE_HISTORY_H,1, [have history]) -+ AC_DEFINE(HAVE_LIBREADLINE,1, [have readline]) -+ AC_DEFINE(WITH_READLINE,1, [with readline]) - break - else - AC_MSG_RESULT(no) -@@ -469,7 +469,7 @@ - done]) - ]) - if test "$sc_cv_have_openssl_ssl_h" = "yes"; then -- AC_DEFINE(HAVE_OPENSSL_SSL_H) -+ AC_DEFINE(HAVE_OPENSSL_SSL_H, [1], [have openssl.h]) - fi - AC_MSG_NOTICE(checked for openssl/ssl.h... $sc_cv_have_openssl_ssl_h) - fi # end checking for openssl/ssl.h -@@ -501,7 +501,7 @@ - ] - ) - if test "$sc_cv_have_libssl" = 'yes'; then -- AC_DEFINE(HAVE_LIBSSL) -+ AC_DEFINE(HAVE_LIBSSL, [1], [libssl]) - fi - AC_MSG_RESULT($sc_cv_have_libssl) - fi -@@ -529,7 +529,7 @@ - #fi - if test -n "$WITH_OPENSSL"; then - if test "$sc_cv_have_openssl_ssl_h" = "yes" -a "$sc_cv_have_libssl" = "yes"; then -- AC_DEFINE(WITH_OPENSSL) -+ AC_DEFINE(WITH_OPENSSL, [1], [With openssl]) - else - AC_MSG_WARN([not all components of OpenSSL found, disabling it]); - fi -@@ -577,7 +577,7 @@ - )] - ) - if test "$sv_cv_have_openssl_fips_h" = "yes"; then -- AC_DEFINE(HAVE_OPENSSL_FIPS_H) -+ AC_DEFINE(HAVE_OPENSSL_FIPS_H, [1], [OpenSSL fips.h]) - fi - AC_MSG_NOTICE(checked for openssl/fips.h... $sc_cv_have_openssl_ssl_h) - fi -@@ -608,15 +608,15 @@ - ] - ) - if test "$sc_cv_have_libcrypto" = 'yes'; then -- AC_DEFINE(HAVE_LIBCRYPTO) -+ AC_DEFINE(HAVE_LIBCRYPTO, [1], [libcrypto]) - fi - AC_MSG_RESULT($sc_cv_have_libcrypto) - fi - - if test -n "$WITH_FIPS"; then - if test "$sc_cv_have_openssl_fips_h" = 'yes' -a "$sc_cv_have_libcrypto" = 'yes'; then -- AC_DEFINE(WITH_FIPS) -- AC_DEFINE(OPENSSL_FIPS) -+ AC_DEFINE(WITH_FIPS, [1], [With fips]) -+ AC_DEFINE(OPENSSL_FIPS, [1], [openssl fips]) - else - AC_MSG_WARN([not all components of OpenSSL FIPS found, disabling it]); - fi -@@ -637,17 +637,17 @@ - fi - # - if test -n "$WITH_TUN"; then -- AC_DEFINE(WITH_TUN) -+ AC_DEFINE(WITH_TUN, [1], [with tun]) - fi - - AC_MSG_CHECKING(whether to include system call tracing) - AC_ARG_ENABLE(sycls, [ --disable-sycls disable system call tracing], - [case "$enableval" in - no) SYCLS=""; SSLCLS=""; AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_SYCLS) -+ *) AC_DEFINE(WITH_SYCLS, [1], [syscls]) - SYCLS="sycls.c"; SSLCLS="sslcls.c"; AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_SYCLS) -+ [AC_DEFINE(WITH_SYCLS, [1], [syscls]) - SYCLS="sycls.c"; SSLCLS="sslcls.c"; AC_MSG_RESULT(yes)]) - AC_SUBST(SYCLS) - AC_SUBST(SSLCLS) -@@ -656,31 +656,31 @@ - AC_ARG_ENABLE(filan, [ --disable-filan disable file descriptor analyzer], - [case "$enableval" in - no) FILAN=""; AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_FILAN) FILAN="filan.c"; AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_FILAN, [1], [filan]) FILAN="filan.c"; AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_FILAN) FILAN="filan.c"; AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_FILAN, [1], [filan]) FILAN="filan.c"; AC_MSG_RESULT(yes)]) - AC_SUBST(FILAN) - - AC_MSG_CHECKING(whether to include retry support) - AC_ARG_ENABLE(retry, [ --disable-retry disable retry support], - [case "$enableval" in - no) AC_MSG_RESULT(no);; -- *) AC_DEFINE(WITH_RETRY) AC_MSG_RESULT(yes);; -+ *) AC_DEFINE(WITH_RETRY, [1], [retry]) AC_MSG_RESULT(yes);; - esac], -- [AC_DEFINE(WITH_RETRY) AC_MSG_RESULT(yes)]) -+ [AC_DEFINE(WITH_RETRY, [1], [retry]) AC_MSG_RESULT(yes)]) - - AC_MSG_CHECKING(included message level) - AC_ARG_ENABLE(msglevel, [ --enable-msglevel=N set max verbosity to debug,info,notice,warn,error,fatal], - [case "$enableval" in -- debug) AC_DEFINE(WITH_MSGLEVEL,0) AC_MSG_RESULT(debug);; -- info) AC_DEFINE(WITH_MSGLEVEL,1) AC_MSG_RESULT(info);; -- notice) AC_DEFINE(WITH_MSGLEVEL,2) AC_MSG_RESULT(notice);; -- warn) AC_DEFINE(WITH_MSGLEVEL,3) AC_MSG_RESULT(warn);; -- error) AC_DEFINE(WITH_MSGLEVEL,4) AC_MSG_RESULT(error);; -- fatal) AC_DEFINE(WITH_MSGLEVEL,5) AC_MSG_RESULT(fatal);; -- *) AC_DEFINE(WITH_MSGLEVEL,0) AC_MSG_RESULT(debug);; -+ debug) AC_DEFINE(WITH_MSGLEVEL,0, [msglevel]) AC_MSG_RESULT(debug);; -+ info) AC_DEFINE(WITH_MSGLEVEL,1, [msglevel]) AC_MSG_RESULT(info);; -+ notice) AC_DEFINE(WITH_MSGLEVEL,2, [msglevel]) AC_MSG_RESULT(notice);; -+ warn) AC_DEFINE(WITH_MSGLEVEL,3, [msglevel]) AC_MSG_RESULT(warn);; -+ error) AC_DEFINE(WITH_MSGLEVEL,4, [msglevel]) AC_MSG_RESULT(error);; -+ fatal) AC_DEFINE(WITH_MSGLEVEL,5, [msglevel]) AC_MSG_RESULT(fatal);; -+ *) AC_DEFINE(WITH_MSGLEVEL,0, [msglevel]) AC_MSG_RESULT(debug);; - esac], -- [AC_DEFINE(WITH_MSGLEVEL,0) AC_MSG_RESULT(debug)]) -+ [AC_DEFINE(WITH_MSGLEVEL,0, [msglevel]) AC_MSG_RESULT(debug)]) - - #AC_SUBST(V_INCL) - -@@ -697,7 +697,7 @@ - AC_HEADER_TIME - - dnl Check for extra realtime library (for Solaris) --AC_CHECK_FUNC(nanosleep, AC_DEFINE(HAVE_NANOSLEEP), AC_CHECK_LIB(rt, nanosleep, [LIBS="-lrt $LIBS"; AC_DEFINE(HAVE_NANOSLEEP)])) -+AC_CHECK_FUNC(nanosleep, AC_DEFINE(HAVE_NANOSLEEP, [1], [have nanosleep]), AC_CHECK_LIB(rt, nanosleep, [LIBS="-lrt $LIBS"; AC_DEFINE(HAVE_NANOSLEEP, [1], [have nanosleep])])) - #AC_CHECK_FUNC(nanosleep, , AC_CHECK_LIB(rt, nanosleep)) - - dnl Checks for library functions. -@@ -719,7 +719,7 @@ - [sc_cv_type_longlong=yes], - [sc_cv_type_longlong=no])]) - if test $sc_cv_type_longlong = yes; then -- AC_DEFINE(HAVE_TYPE_LONGLONG) -+ AC_DEFINE(HAVE_TYPE_LONGLONG, [1], [have type long long]) - fi - AC_MSG_RESULT($sc_cv_type_longlong) - -@@ -735,7 +735,7 @@ - [sc_cv_type_socklen=yes], - [sc_cv_type_socklen=no])]) - if test $sc_cv_type_socklen = yes; then -- AC_DEFINE(HAVE_TYPE_SOCKLEN) -+ AC_DEFINE(HAVE_TYPE_SOCKLEN, [1], [Has Socklen]) - fi - AC_MSG_RESULT($sc_cv_type_socklen) - -@@ -745,7 +745,7 @@ - [sc_cv_type_stat64=yes], - [sc_cv_type_stat64=no])]) - if test $sc_cv_type_stat64 = yes; then -- AC_DEFINE(HAVE_TYPE_STAT64) -+ AC_DEFINE(HAVE_TYPE_STAT64, [1], [Has stat64]) - fi - AC_MSG_RESULT($sc_cv_type_stat64) - -@@ -755,7 +755,7 @@ - [sc_cv_type_off64=yes], - [sc_cv_type_off64=no])]) - if test $sc_cv_type_off64 = yes; then -- AC_DEFINE(HAVE_TYPE_OFF64) -+ AC_DEFINE(HAVE_TYPE_OFF64, [1], [have off64]) - fi - AC_MSG_RESULT($sc_cv_type_off64) - -@@ -765,7 +765,7 @@ - [sc_cv_type_sighandler=yes], - [sc_cv_type_sighandler=no])]) - if test $sc_cv_type_sighandler = yes; then -- AC_DEFINE(HAVE_TYPE_SIGHANDLER) -+ AC_DEFINE(HAVE_TYPE_SIGHANDLER, [1], [have type sighandler]) - fi - AC_MSG_RESULT($sc_cv_type_socklen) - -@@ -783,7 +783,7 @@ - [sc_cv_type_uint8=yes], - [sc_cv_type_uint8=no])]) - if test $sc_cv_type_uint8 = yes; then -- AC_DEFINE(HAVE_TYPE_UINT8) -+ AC_DEFINE(HAVE_TYPE_UINT8, [1], [have uint8]) - fi - AC_MSG_RESULT($sc_cv_type_uint8) - -@@ -801,7 +801,7 @@ - [sc_cv_type_uint16=yes], - [sc_cv_type_uint16=no])]) - if test $sc_cv_type_uint16 = yes; then -- AC_DEFINE(HAVE_TYPE_UINT16) -+ AC_DEFINE(HAVE_TYPE_UINT16, [1], [have uint16t]) - fi - AC_MSG_RESULT($sc_cv_type_uint16) - -@@ -819,7 +819,7 @@ - [sc_cv_type_uint32=yes], - [sc_cv_type_uint32=no])]) - if test $sc_cv_type_uint32 = yes; then -- AC_DEFINE(HAVE_TYPE_UINT32) -+ AC_DEFINE(HAVE_TYPE_UINT32, [1], [have uint32]) - fi - AC_MSG_RESULT($sc_cv_type_uint32) - -@@ -837,7 +837,7 @@ - [sc_cv_type_uint64=yes], - [sc_cv_type_uint64=no])]) - if test $sc_cv_type_uint64 = yes; then -- AC_DEFINE(HAVE_TYPE_UINT64) -+ AC_DEFINE(HAVE_TYPE_UINT64, [1], [have uint64] ) - fi - AC_MSG_RESULT($sc_cv_type_uint64) - -@@ -859,7 +859,7 @@ - #include - #endif], - [fd_set s; s.fds_bits[0]=0;], --[AC_MSG_RESULT(yes); AC_DEFINE(HAVE_FDS_BITS)], -+[AC_MSG_RESULT(yes); AC_DEFINE(HAVE_FDS_BITS, [1], [have fds bits])], - [AC_MSG_RESULT(no);]) - - AC_MSG_CHECKING(for sa_family_t) -@@ -870,7 +870,7 @@ - [sc_cv_type_sa_family_t=yes], - [sc_cv_type_sa_family_t=no])]) - if test $sc_cv_type_sa_family_t = yes; then -- AC_DEFINE(HAVE_TYPE_SA_FAMILY_T) -+ AC_DEFINE(HAVE_TYPE_SA_FAMILY_T, [1], [have sa family_t type]) - fi - AC_MSG_RESULT($sc_cv_type_sa_family_t) - -@@ -880,7 +880,7 @@ - [sc_cv_struct_sigaction_sa_sigaction=yes], - [sc_cv_struct_sigaction_sa_sigaction=no])]) - if test $sc_cv_struct_sigaction_sa_sigaction = yes; then -- AC_DEFINE(HAVE_STRUCT_SIGACTION_SA_SIGACTION) -+ AC_DEFINE(HAVE_STRUCT_SIGACTION_SA_SIGACTION, [1], [sigaction]) - fi - AC_MSG_RESULT($sc_cv_struct_sigaction_sa_sigaction) - -@@ -888,11 +888,11 @@ - AC_MSG_CHECKING(for termios.c_ispeed) - AC_CACHE_VAL(sc_cv_termios_ispeed, - [AC_TRY_COMPILE([#include ], --[struct termios t; t.c_ispeed=0;], -+[struct termios t; t.c_ispeed=ISPEED_OFFSET; t.c_ospeed=OSPEED_OFFSET;], - [sc_cv_termios_ispeed=yes], - [sc_cv_termios_ispeed=no])]) - if test $sc_cv_termios_ispeed = yes; then -- AC_DEFINE(HAVE_TERMIOS_ISPEED) -+ AC_DEFINE(HAVE_TERMIOS_ISPEED, [1], [have ispeed]) - fi - AC_MSG_RESULT($sc_cv_termios_ispeed) - -@@ -923,7 +923,7 @@ - LIBS="$LIBS1" - AC_MSG_RESULT($ac_cv_ispeed_offset) - if test $ac_cv_ispeed_offset -ge 0; then -- AC_DEFINE_UNQUOTED(ISPEED_OFFSET, $ac_cv_ispeed_offset) -+ AC_DEFINE_UNQUOTED(ISPEED_OFFSET, $ac_cv_ispeed_offset, [have ispeed]) - fi - fi - -@@ -942,7 +942,7 @@ - )] - )]) - if test $ac_cv_svid3 = yes; then -- AC_DEFINE(_SVID3) -+ AC_DEFINE(_SVID3, [1], [svid3]) - fi - AC_MSG_RESULT($ac_cv_svid3) - -@@ -957,7 +957,7 @@ - [sc_cv_struct_timespec=yes], - [sc_cv_struct_timespec=no])]) - if test $sc_cv_struct_timespec = yes; then -- AC_DEFINE(HAVE_STRUCT_TIMESPEC) -+ AC_DEFINE(HAVE_STRUCT_TIMESPEC, [1], [struct timespec]) - fi - AC_MSG_RESULT($sc_cv_struct_timespec) - -@@ -970,7 +970,7 @@ - [sc_cv_struct_linger=yes], - [sc_cv_struct_linger=no])]) - if test $sc_cv_struct_linger = yes; then -- AC_DEFINE(HAVE_STRUCT_LINGER) -+ AC_DEFINE(HAVE_STRUCT_LINGER, [1], [struct linger]) - fi - AC_MSG_RESULT($sc_cv_struct_linger) - -@@ -984,7 +984,7 @@ - [sc_cv_struct_ip_mreq=yes], - [sc_cv_struct_ip_mreq=no])]) - if test $sc_cv_struct_ip_mreq = yes; then -- AC_DEFINE(HAVE_STRUCT_IP_MREQ) -+ AC_DEFINE(HAVE_STRUCT_IP_MREQ, [1], [have struct ip mreq]) - fi - AC_MSG_RESULT($sc_cv_struct_ip_mreq) - -@@ -997,7 +997,7 @@ - [sc_cv_struct_ip_mreqn=yes], - [sc_cv_struct_ip_mreqn=no])]) - if test $sc_cv_struct_ip_mreqn = yes; then -- AC_DEFINE(HAVE_STRUCT_IP_MREQN) -+ AC_DEFINE(HAVE_STRUCT_IP_MREQN, [1], [have struct ip mreqn]) - fi - AC_MSG_RESULT($sc_cv_struct_ip_mreqn) - -@@ -1010,7 +1010,7 @@ - [sc_cv_struct_ipv6_mreq=yes], - [sc_cv_struct_ipv6_mreq=no])]) - if test $sc_cv_struct_ipv6_mreq = yes; then -- AC_DEFINE(HAVE_STRUCT_IPV6_MREQ) -+ AC_DEFINE(HAVE_STRUCT_IPV6_MREQ, [1], [have struct ipv5 mreq]) - fi - AC_MSG_RESULT($sc_cv_struct_ipv6_mreq) - -@@ -1024,7 +1024,7 @@ - [sc_cv_struct_ifreq=yes], - [sc_cv_struct_ifreq=no])]) - if test $sc_cv_struct_ifreq = yes; then -- AC_DEFINE(HAVE_STRUCT_IFREQ) -+ AC_DEFINE(HAVE_STRUCT_IFREQ, [1], [have struct ifreq]) - fi - AC_MSG_RESULT($sc_cv_struct_ifreq) - -@@ -1039,7 +1039,7 @@ - [sc_cv_struct_ifreq_ifr_index=yes], - [sc_cv_struct_ifreq_ifr_index=no])]) - if test $sc_cv_struct_ifreq_ifr_index = yes; then -- AC_DEFINE(HAVE_STRUCT_IFREQ_IFR_INDEX) -+ AC_DEFINE(HAVE_STRUCT_IFREQ_IFR_INDEX, [1], [have struct ifreq ifr]) - fi - AC_MSG_RESULT($sc_cv_struct_ifreq_ifr_index) - -@@ -1054,7 +1054,7 @@ - [sc_cv_struct_ifreq_ifr_ifindex=yes], - [sc_cv_struct_ifreq_ifr_ifindex=no])]) - if test $sc_cv_struct_ifreq_ifr_ifindex = yes; then -- AC_DEFINE(HAVE_STRUCT_IFREQ_IFR_IFINDEX) -+ AC_DEFINE(HAVE_STRUCT_IFREQ_IFR_IFINDEX, [1], [have struct ifreq ifindex]) - fi - AC_MSG_RESULT($sc_cv_struct_ifreq_ifr_ifindex) - -@@ -1069,7 +1069,7 @@ - [sc_cv_struct_sockaddr_salen=yes], - [sc_cv_struct_sockaddr_salen=no])]) - if test $sc_cv_struct_sockaddr_salen = yes; then -- AC_DEFINE(HAVE_STRUCT_SOCKADDR_SALEN) -+ AC_DEFINE(HAVE_STRUCT_SOCKADDR_SALEN, [1], [sockaddr salen]) - fi - AC_MSG_RESULT($sc_cv_struct_sockaddr_salen) - -@@ -1080,31 +1080,31 @@ - #include ], - [struct sockaddr_in6 sa6;sa6.sin6_addr.s6_addr[0]=0;], - [AC_MSG_RESULT(s6_addr); -- AC_DEFINE(HAVE_IP6_SOCKADDR, 0)], -+ AC_DEFINE(HAVE_IP6_SOCKADDR, 0, [ip6 sockaddr])], - [AC_TRY_COMPILE([#include - #include ], - [struct sockaddr_in6 sa6;sa6.sin6_addr.u6_addr.u6_addr16[0]=0;], - [AC_MSG_RESULT(u6_addr.u6_addr16); -- AC_DEFINE(HAVE_IP6_SOCKADDR, 1)], -+ AC_DEFINE(HAVE_IP6_SOCKADDR, 1, [ip6 sockaddr])], - [AC_TRY_COMPILE([#include - #include ], - [struct sockaddr_in6 sa6;sa6.sin6_addr.u6_addr16[0]=0;], -- [AC_MSG_RESULT(u6_addr16); AC_DEFINE(HAVE_IP6_SOCKADDR, 2)], -+ [AC_MSG_RESULT(u6_addr16); AC_DEFINE(HAVE_IP6_SOCKADDR, 2, [ip6 sockaddr])], - [AC_TRY_COMPILE([#include - #include ], - [struct sockaddr_in6 sa6;sa6.sin6_addr.in6_u.u6_addr16[0]=0;], - [AC_MSG_RESULT(in6_u.u6_addr16); -- AC_DEFINE(HAVE_IP6_SOCKADDR, 3)], -+ AC_DEFINE(HAVE_IP6_SOCKADDR, 3, [ip6 sockaddr])], - [AC_TRY_COMPILE([#include - #include ], - [struct sockaddr_in6 sa6;sa6.sin6_addr._S6_un._S6_u32[0]=0;], - [AC_MSG_RESULT(_S6_un._S6_u32); -- AC_DEFINE(HAVE_IP6_SOCKADDR, 4)], -+ AC_DEFINE(HAVE_IP6_SOCKADDR, 4, [ip6 sockaddr])], - [AC_TRY_COMPILE([#include - #include ], - [struct sockaddr_in6 sa6;sa6.sin6_addr.__u6_addr.__u6_addr32[0]=0;], - [AC_MSG_RESULT(__u6_addr.__u6_addr32); -- AC_DEFINE(HAVE_IP6_SOCKADDR, 5)], -+ AC_DEFINE(HAVE_IP6_SOCKADDR, 5, [ip6 sockaddr])], - - [AC_MSG_RESULT([none or unknown])] - )])])])])]) -@@ -1116,7 +1116,7 @@ - [sc_cv_struct_iovec=yes], - [sc_cv_struct_iovec=no])]) - if test $sc_cv_struct_iovec = yes; then -- AC_DEFINE(HAVE_STRUCT_IOVEC) -+ AC_DEFINE(HAVE_STRUCT_IOVEC, [1], [have struct iovec]) - fi - AC_MSG_RESULT($sc_cv_struct_iovec) - -@@ -1129,7 +1129,7 @@ - [sc_cv_struct_msghdr_msgcontrol=yes], - [sc_cv_struct_msghdr_msgcontrol=no])]) - if test $sc_cv_struct_msghdr_msgcontrol = yes; then -- AC_DEFINE(HAVE_STRUCT_MSGHDR_MSGCONTROL) -+ AC_DEFINE(HAVE_STRUCT_MSGHDR_MSGCONTROL, [1], [have struct msgcontrol]) - fi - AC_MSG_RESULT($sc_cv_struct_msghdr_msgcontrol) - -@@ -1142,7 +1142,7 @@ - [sc_cv_struct_msghdr_msgcontrollen=yes], - [sc_cv_struct_msghdr_msgcontrollen=no])]) - if test $sc_cv_struct_msghdr_msgcontrollen = yes; then -- AC_DEFINE(HAVE_STRUCT_MSGHDR_MSGCONTROLLEN) -+ AC_DEFINE(HAVE_STRUCT_MSGHDR_MSGCONTROLLEN, [1], [have struct msghdr msgcontrollen]) - fi - AC_MSG_RESULT($sc_cv_struct_msghdr_msgcontrollen) - -@@ -1155,7 +1155,7 @@ - [sc_cv_struct_msghdr_msgflags=yes], - [sc_cv_struct_msghdr_msgflags=no])]) - if test $sc_cv_struct_msghdr_msgflags = yes; then -- AC_DEFINE(HAVE_STRUCT_MSGHDR_MSGFLAGS) -+ AC_DEFINE(HAVE_STRUCT_MSGHDR_MSGFLAGS, [1], [msgflags]) - fi - AC_MSG_RESULT($sc_cv_struct_msghdr_msgflags) - -@@ -1168,7 +1168,7 @@ - [sc_cv_struct_cmsghdr=yes], - [sc_cv_struct_cmsghdr=no])]) - if test $sc_cv_struct_cmsghdr = yes; then -- AC_DEFINE(HAVE_STRUCT_CMSGHDR) -+ AC_DEFINE(HAVE_STRUCT_CMSGHDR, [1], [have cmshdr]) - fi - AC_MSG_RESULT($sc_cv_struct_cmsghdr) - -@@ -1181,7 +1181,7 @@ - [sc_cv_struct_in_pktinfo=yes], - [sc_cv_struct_in_pktinfo=no])]) - if test $sc_cv_struct_in_pktinfo = yes; then -- AC_DEFINE(HAVE_STRUCT_IN_PKTINFO) -+ AC_DEFINE(HAVE_STRUCT_IN_PKTINFO, [1], [pktinfo]) - fi - AC_MSG_RESULT($sc_cv_struct_in_pktinfo) - -@@ -1211,7 +1211,7 @@ - [sc_cv_struct_ip_ip_hl=yes], - [sc_cv_struct_ip_ip_hl=no])]) - if test $sc_cv_struct_ip_ip_hl = yes; then -- AC_DEFINE(HAVE_STRUCT_IP_IP_HL) -+ AC_DEFINE(HAVE_STRUCT_IP_IP_HL, [1], [foo]) - fi - AC_MSG_RESULT($sc_cv_struct_ip_ip_hl) - -@@ -1219,19 +1219,19 @@ - dnl Library function checks - - dnl Check sigaction() --AC_CHECK_FUNC(sigaction, AC_DEFINE(HAVE_SIGACTION)) -+AC_CHECK_FUNC(sigaction, AC_DEFINE(HAVE_SIGACTION, [1], [foo])) - - dnl Check for 64bit versions of system calls --AC_CHECK_FUNC(stat64, AC_DEFINE(HAVE_STAT64)) --AC_CHECK_FUNC(fstat64, AC_DEFINE(HAVE_FSTAT64)) --AC_CHECK_FUNC(lstat64, AC_DEFINE(HAVE_LSTAT64)) --AC_CHECK_FUNC(lseek64, AC_DEFINE(HAVE_LSEEK64)) --AC_CHECK_FUNC(truncate64, AC_DEFINE(HAVE_TRUNCATE64)) --AC_CHECK_FUNC(ftruncate64, AC_DEFINE(HAVE_FTRUNCATE64)) -- --AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL)) --AC_CHECK_FUNC(hstrerror, AC_DEFINE(HAVE_HSTRERROR)) --AC_CHECK_FUNC(inet_ntop, AC_DEFINE(HAVE_INET_NTOP)) -+AC_CHECK_FUNC(stat64, AC_DEFINE(HAVE_STAT64, [1], [foo])) -+AC_CHECK_FUNC(fstat64, AC_DEFINE(HAVE_FSTAT64, [1], [foo])) -+AC_CHECK_FUNC(lstat64, AC_DEFINE(HAVE_LSTAT64, [1], [foo])) -+AC_CHECK_FUNC(lseek64, AC_DEFINE(HAVE_LSEEK64, [1], [foo])) -+AC_CHECK_FUNC(truncate64, AC_DEFINE(HAVE_TRUNCATE64, [1], [foo])) -+AC_CHECK_FUNC(ftruncate64, AC_DEFINE(HAVE_FTRUNCATE64, [1], [foo])) -+ -+AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL, [1], [foo])) -+AC_CHECK_FUNC(hstrerror, AC_DEFINE(HAVE_HSTRERROR, [1], [foo])) -+AC_CHECK_FUNC(inet_ntop, AC_DEFINE(HAVE_INET_NTOP, [1], [foo])) - - #if test "$ac_cv_func_hstrerror" = "yes"; then - # AC_MSG_CHECKING(if _XOPEN_SOURCE_EXTENDED is helpful) -@@ -1254,25 +1254,26 @@ - - dnl Search for openpty() - # MacOS --AC_CHECK_FUNC(openpty, AC_DEFINE(HAVE_OPENPTY)) -+AC_CHECK_FUNC(openpty, AC_DEFINE(HAVE_OPENPTY, [1], [foo])) - # AIX - AC_CHECK_LIB(bsd, openpty, -- [LIBS="-lbsd $LIBS"; AC_DEFINE(HAVE_OPENPTY)]) -+ [LIBS="-lbsd $LIBS"; AC_DEFINE(HAVE_OPENPTY, [1], [foo])]) - # Linux 2.4 - AC_CHECK_LIB(util, openpty, -- [LIBS="-lutil $LIBS"; AC_DEFINE(HAVE_OPENPTY)]) -+ [LIBS="-lutil $LIBS"; AC_DEFINE(HAVE_OPENPTY, [1], [foo])]) -+ - - dnl Search for flock() - # with Linux it's in libc, with AIX in libbsd --AC_CHECK_FUNC(flock, AC_DEFINE(HAVE_FLOCK), -+AC_CHECK_FUNC(flock, AC_DEFINE(HAVE_FLOCK, [1], [have flock]), - AC_CHECK_LIB(bsd, flock, [LIBS="-lbsd $LIBS"])) - - dnl Search for setenv() --AC_CHECK_FUNC(setenv, AC_DEFINE(HAVE_SETENV), -+AC_CHECK_FUNC(setenv, AC_DEFINE(HAVE_SETENV, [1], [have setenv]), - AC_CHECK_LIB(isode, setenv, [LIBS="-lisode $LIBS"])) - - dnl Search for unsetenv() --AC_CHECK_FUNC(unsetenv, AC_DEFINE(HAVE_UNSETENV)) -+AC_CHECK_FUNC(unsetenv, AC_DEFINE(HAVE_UNSETENV, [1], [have unsetenv])) - - dnl Search for SSLv2_client_method, SSLv2_server_method - AC_CHECK_FUNC(SSLv3_client_method, AC_DEFINE(HAVE_SSLv3_client_method), AC_CHECK_LIB(crypt, SSLv3_client_method, [LIBS=-lcrypt $LIBS])) -@@ -1295,7 +1296,7 @@ - [ac_cv_have_z_modifier=no], - [ac_cv_have_z_modifier=no])]) - if test $ac_cv_have_z_modifier = yes; then -- AC_DEFINE(HAVE_FORMAT_Z) -+ AC_DEFINE(HAVE_FORMAT_Z, [1], [have format z]) - fi - AC_MSG_RESULT($ac_cv_have_z_modifier) - -@@ -1334,7 +1335,8 @@ - [$2=-1] - ) - LIBS="$LIBS1"]) --AC_DEFINE_UNQUOTED($1_SHIFT, ${$2}) -+SHIFT_NAME="$1"_SHIFT -+AC_DEFINE_UNQUOTED($SHIFT_NAME, ${$2}, [foo]) - if test "$2" = -1; then - AC_MSG_WARN(please determine $1_SHIFT manually) - fi -@@ -1374,7 +1376,7 @@ - [$4="0 /* unknown, taking default */" - ]) ]) ]) ]) ]) ]) ]) ]) - CFLAGS="$CFLAGS1" ]) --AC_DEFINE_UNQUOTED($3, ${$4}) -+AC_DEFINE_UNQUOTED($3, ${$4}, [foo]) - ]) - - dnl find what physical type (basic C type) describes the given struct or union -@@ -1406,7 +1408,7 @@ - [$5="0 /* unknown, taking default */" - ]) ]) ]) ]) ]) ]) ]) ]) - CFLAGS="$CFLAGS1" ]) --AC_DEFINE_UNQUOTED($4, ${$5}) -+AC_DEFINE_UNQUOTED($4, ${$5}, [foo]) - ]) - - AC_BASIC_TYPE([#include ], size_t, HAVE_BASIC_SIZE_T, sc_cv_type_sizet_basic) -@@ -1465,13 +1467,13 @@ - - AC_MSG_CHECKING(for /dev/ptmx) - if test -c /dev/ptmx; then -- AC_DEFINE(HAVE_DEV_PTMX, 1) -+ AC_DEFINE(HAVE_DEV_PTMX, 1, [ptmx]) - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - AC_MSG_CHECKING(for /dev/ptc) - if test -c /dev/ptc; then -- AC_DEFINE(HAVE_DEV_PTC) -+ AC_DEFINE(HAVE_DEV_PTC, 1, [ptc]) - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) -@@ -1480,7 +1482,7 @@ - - AC_MSG_CHECKING(for /proc) - if test -d /proc; then -- AC_DEFINE(HAVE_PROC_DIR, 1) -+ AC_DEFINE(HAVE_PROC_DIR, 1, [procdir]) - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) -@@ -1488,7 +1490,7 @@ - - AC_MSG_CHECKING(for /proc/*/fd) - if test -d /proc/$$/fd; then -- AC_DEFINE(HAVE_PROC_DIR_FD, 1) -+ AC_DEFINE(HAVE_PROC_DIR_FD, 1, [procdir fd]) - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) -@@ -1528,7 +1530,7 @@ - done]) - ]) - if test "$sc_cv_have_tcpd_h" = "yes"; then -- AC_DEFINE(HAVE_TCPD_H) -+ AC_DEFINE(HAVE_TCPD_H, [1], [have tcpd]) - fi - AC_MSG_NOTICE(checked for tcpd.h... $sc_cv_have_tcpd_h) - fi # end checking for tcpd.h -@@ -1561,14 +1563,14 @@ - ] - ) - if test "$sc_cv_have_libwrap" = 'yes'; then -- AC_DEFINE(HAVE_LIBWRAP) -+ AC_DEFINE(HAVE_LIBWRAP, [1], [libwrap]) - fi - AC_MSG_RESULT($sc_cv_have_libwrap) - fi - # - if test -n "$WITH_LIBWRAP"; then - if test "$sc_cv_have_tcpd_h" = "yes" -a "$sc_cv_have_libwrap" = "yes"; then -- AC_DEFINE(WITH_LIBWRAP) -+ AC_DEFINE(WITH_LIBWRAP, [1], [libwrap]) - else - AC_MSG_WARN([not all components of tcp wrappers found, disabling it]); - fi -@@ -1583,7 +1585,7 @@ - [sc_cv_have_hosts_allow_table=yes], - [sc_cv_have_hosts_allow_table=no])]) - if test $sc_cv_have_hosts_allow_table = yes; then -- AC_DEFINE(HAVE_HOSTS_ALLOW_TABLE) -+ AC_DEFINE(HAVE_HOSTS_ALLOW_TABLE, [1], [hosts allow table]) - fi - AC_MSG_RESULT($sc_cv_have_hosts_allow_table) - fi # test -n "$WITH_LIBWRAP" diff --git a/recipes-extra/socat/socat_1.7.2.0.bb b/recipes-extra/socat/socat_1.7.2.0.bb deleted file mode 100644 index 1273dcf0f2..0000000000 --- a/recipes-extra/socat/socat_1.7.2.0.bb +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION = "Socat is a relay for bidirectional data \ -transfer between two independent data channels." -HOMEPAGE = "http://www.dest-unreach.org/socat/" - -SECTION = "console/network" - -DEPENDS = "openssl" - -LICENSE = "GPL-2.0+-with-OpenSSL-exception" - -PR = "r0" -SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2;name=src \ - file://compile.patch" - -LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760 \ - file://README;beginline=252;endline=282;md5=79246f11a1db0b6ccec54d1fb711c01e" - -SRC_URI[src.md5sum] = "eb563dd00b9d39a49fb62a677fc941fe" -SRC_URI[src.sha256sum] = "59b3bde927c14fbc3f9e42c782971710da8a89bbf46f7531f09a681754041802" - -EXTRA_OECONF = " --disable-termios " - -inherit autotools - -do_install_prepend () { - mkdir -p ${D}${bindir} - install -d ${D}${bindir} ${D}${mandir}/man1 -} diff --git a/recipes-extra/socat/socat_1.7.3.0.bb b/recipes-extra/socat/socat_1.7.3.0.bb new file mode 100644 index 0000000000..f2d7addaf6 --- /dev/null +++ b/recipes-extra/socat/socat_1.7.3.0.bb @@ -0,0 +1,35 @@ +SUMMARY = "Multipurpose relay for bidirectional data transfer" +DESCRIPTION = "Socat is a relay for bidirectional data \ +transfer between two independent data channels." +HOMEPAGE = "http://www.dest-unreach.org/socat/" + +SECTION = "console/network" + +DEPENDS = "openssl readline" + +LICENSE = "GPL-2.0+-with-OpenSSL-exception" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://README;beginline=257;endline=287;md5=338c05eadd013872abb1d6e198e10a3f" + +SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2" + +SRC_URI[md5sum] = "b607edb65bc6c57f4a43f06247504274" +SRC_URI[sha256sum] = "0767e850c0329b9fdf711c6cd468565cbbb28786ba1a8a1cbd5531d4016b3e04" + +inherit autotools + +EXTRA_AUTORECONF += "--exclude=autoheader" + +EXTRA_OECONF += "ac_cv_have_z_modifier=yes sc_cv_sys_crdly_shift=9 \ + sc_cv_sys_tabdly_shift=11 sc_cv_sys_csize_shift=4 \ + ac_cv_ispeed_offset=13 \ + ac_cv_header_bsd_libutil_h=no \ +" + +PACKAGECONFIG ??= "tcp-wrappers" +PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" + +do_install_prepend () { + mkdir -p ${D}${bindir} + install -d ${D}${bindir} ${D}${mandir}/man1 +} From a090c556c59abb4c3b908428f8e6af20cb5b60e7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 13 Feb 2015 01:57:36 +0100 Subject: [PATCH 487/908] systemd-compat-units: No reason to mask out dnsmasq dnsmasq installts a dnsmasq.service and it shouldn't be masked by default! --- recipes-fixes/systemd/systemd-compat-units_sysmocom.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc b/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc index 3f4a08a714..e7aad924ba 100644 --- a/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc +++ b/recipes-fixes/systemd/systemd-compat-units_sysmocom.inc @@ -1,7 +1,7 @@ -PRINC="2" +PRINC="3" # We need networking to run as we have no native services yet -SYSTEMD_DISABLED_SYSV_SERVICES_remove = "networking" +SYSTEMD_DISABLED_SYSV_SERVICES_remove = "networking dnsmasq" S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:" From 6059b2b27585187291bbc3a1e0911bd608e0ddf6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 13 Feb 2015 02:01:22 +0100 Subject: [PATCH 488/908] chrpath: Do not override/replace the default chrpath Ever since the priority of this layer was raised we shadow some recipes of the default yocto. Now that we don't need to target edison, remove some of the legacy work. --- .../chrpath/chrpath/standarddoc.patch | 19 -------------- recipes-devtools/chrpath/chrpath_0.14.bb | 26 ------------------- 2 files changed, 45 deletions(-) delete mode 100644 recipes-devtools/chrpath/chrpath/standarddoc.patch delete mode 100644 recipes-devtools/chrpath/chrpath_0.14.bb diff --git a/recipes-devtools/chrpath/chrpath/standarddoc.patch b/recipes-devtools/chrpath/chrpath/standarddoc.patch deleted file mode 100644 index f96f104fad..0000000000 --- a/recipes-devtools/chrpath/chrpath/standarddoc.patch +++ /dev/null @@ -1,19 +0,0 @@ -Upstream-Status: Pending - -autoconf/automake set docdir automatically, use their value ensuring -doc files are placed into $datadir/doc, not $prefix/doc. - -RP 5/7/2011 - -Index: chrpath-0.13/Makefile.am -=================================================================== ---- chrpath-0.13.orig/Makefile.am 2011-07-05 23:40:14.769920254 +0100 -+++ chrpath-0.13/Makefile.am 2011-07-05 23:40:19.819920635 +0100 -@@ -1,7 +1,5 @@ - SUBDIRS = testsuite deb - --docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION) -- - doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README - - bin_PROGRAMS = chrpath diff --git a/recipes-devtools/chrpath/chrpath_0.14.bb b/recipes-devtools/chrpath/chrpath_0.14.bb deleted file mode 100644 index 533e974fe9..0000000000 --- a/recipes-devtools/chrpath/chrpath_0.14.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "Tool to edit rpath in ELF binaries" -DESCRIPTION = "chrpath allows you to change the rpath (where the \ -application looks for libraries) in an application. It does not \ -(yet) allow you to add an rpath if there isn't one already." -HOMEPAGE = "http://alioth.debian.org/projects/chrpath/" -BUGTRACKER = "http://alioth.debian.org/tracker/?atid=412807&group_id=31052" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" -PR = "r0" - -SRC_URI = "http://alioth.debian.org/frs/download.php/3648/chrpath-${PV}.tar.gz \ - file://standarddoc.patch" - -SRC_URI[md5sum] = "ea6b212b23393bf58b0ef9bcf6491b86" -SRC_URI[sha256sum] = "a1bc9abc42d2b97efc3a0ced7c5dbed37d5debff600386193750315fa5823eaa" - -inherit autotools - -# We don't have a staged chrpath-native for ensuring our binary is -# relocatable, so use the one we've just built -CHRPATH_BIN_class-native = "${S}/chrpath" - -PROVIDES_append_class-native = " chrpath-replacement-native" -NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" - -BBCLASSEXTEND = "native nativesdk" From e69ac76dc0785acc9288f131ecdd77952fff7fff Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 13 Feb 2015 09:43:01 +0100 Subject: [PATCH 489/908] dnsmasq: Begin with a sysmocom-idu specific config --- recipes-extra/dnsmasq/dnsmasq.inc | 2 + .../dnsmasq/files/sysmocom-idu/dnsmasq.conf | 293 ++++++++++++++++++ 2 files changed, 295 insertions(+) create mode 100755 recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf diff --git a/recipes-extra/dnsmasq/dnsmasq.inc b/recipes-extra/dnsmasq/dnsmasq.inc index 1335245986..a921263ad0 100644 --- a/recipes-extra/dnsmasq/dnsmasq.inc +++ b/recipes-extra/dnsmasq/dnsmasq.inc @@ -15,6 +15,8 @@ SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(d.getV inherit pkgconfig update-rc.d systemd +PR = "r1" + INITSCRIPT_NAME = "dnsmasq" INITSCRIPT_PARAMS = "defaults" diff --git a/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf b/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf new file mode 100755 index 0000000000..1a198a3791 --- /dev/null +++ b/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf @@ -0,0 +1,293 @@ +# Configuration file for dnsmasq. +# +# Format is one option per line, legal options are the same +# as the long options legal on the command line. See +# "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details. + +# Change these lines if you want dnsmasq to serve MX records. +# Only one of mx-host and mx-target need be set, the other defaults +# to the name of the host running dnsmasq. +#mx-host= +#mx-target= +#selfmx +#localmx + +# The following two options make you a better netizen, since they +# tell dnsmasq to filter out queries which the public DNS cannot +# answer, and which load the servers (especially the root servers) +# uneccessarily. If you have a dial-on-demand link they also stop +# these requests from bringing up the link uneccessarily. + +# Never forward plain names (with a dot or domain part) +domain-needed +# Never forward addresses in the non-routed address spaces. +bogus-priv + + +# Uncomment this to filter useless windows-originated DNS requests +# which can trigger dial-on-demand links needlessly. +# Note that (amongst other things) this blocks all SRV requests, +# so don't use it if you use eg Kerberos. +#filterwin2k + +# Change this line if you want dns to get its upstream servers from +# somewhere other that /etc/resolv.conf +#resolv-file= + +# By default, dnsmasq will send queries to any of the upstream +# servers it knows about and tries to favour servers to are known +# to be up. Uncommenting this forces dnsmasq to try each query +# with each server strictly in the order they appear in +# /etc/resolv.conf +#strict-order + +# If you don't want dnsmasq to read /etc/resolv.conf or any other +# file, getting its servers for this file instead (see below), then +# uncomment this +#no-resolv + +# If you don't want dnsmasq to poll /etc/resolv.conf or other resolv +# files for changes and re-read them then uncomment this. +#no-poll + +# Add other name servers here, with domain specs if they are for +# non-public domains. +#server=/localnet/192.168.0.1 + +# Add local-only domains here, queries in these domains are answered +# from /etc/hosts or DHCP only. +#local=/localnet/ + +# Add domains which you want to force to an IP address here. +# The example below send any host in doubleclick.net to a local +# webserver. +#address=/doubleclick.net/127.0.0.1 + +# You no longer (as of version 1.7) need to set these to enable +# dnsmasq to read /etc/ppp/resolv.conf since dnsmasq now uses the +# "dip" group to achieve this. +#user= +#group= + +# If you want dnsmasq to listen for requests only on specified interfaces +# (and the loopback) give the name of the interface (eg eth0) here. +# Repeat the line for more than one interface. +#interface= +# Or you can specify which interface _not_ to listen on +#except-interface= +# Or which to listen on by address (remember to include 127.0.0.1 if +# you use this.) +#listen-address= + +# On systems which support it, dnsmasq binds the wildcard address, +# even when it is listening on only some interfaces. It then discards +# requests that it shouldn't reply to. This has the advantage of +# working even when interfaces come and go and change address. If you +# want dnsmasq to really bind only the interfaces it is listening on, +# uncomment this option. About the only time you may need this is when +# running another nameserver on the same machine. +#bind-interfaces + +# If you don't want dnsmasq to read /etc/hosts, uncomment the +# following line. +#no-hosts +# or if you want it to read another file, as well as /etc/hosts, use +# this. +#addn-hosts=/etc/banner_add_hosts + +# Set this (and domain: see below) if you want to have a domain +# automatically added to simple names in a hosts-file. +#expand-hosts + +# Set the domain for dnsmasq. this is optional, but if it is set, it +# does the following things. +# 1) Allows DHCP hosts to have fully qualified domain names, as long +# as the domain part matches this setting. +# 2) Sets the "domain" DHCP option thereby potentially setting the +# domain of all systems configured by DHCP +# 3) Provides the domain part for "expand-hosts" +#domain=thekelleys.org.uk + +# Uncomment this to enable the integrated DHCP server, you need +# to supply the range of addresses available for lease and optionally +# a lease time. If you have more than one network, you will need to +# repeat this for each network on which you want to supply DHCP +# service. +#dhcp-range=192.168.0.50,192.168.0.150,12h +dhcp-range=10.0.0.10,10.0.0.200,2h + +# This is an example of a DHCP range where the netmask is given. This +# is needed for networks we reach the dnsmasq DHCP server via a relay +# agent. If you don't know what a DHCP relay agent is, you probably +# don't need to worry about this. +#dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h + +# This is an example of a DHCP range with a network-id, so that +# some DHCP options may be set only for this network. +#dhcp-range=red,192.168.0.50,192.168.0.150 + +# Supply parameters for specified hosts using DHCP. There are lots +# of valid alternatives, so we will give examples of each. Note that +# IP addresses DO NOT have to be in the range given above, they just +# need to be on the same network. The order of the parameters in these +# do not matter, it's permissble to give name,adddress and MAC in any order + +# Always allocate the host with ethernet address 11:22:33:44:55:66 +# The IP address 192.168.0.60 +#dhcp-host=11:22:33:44:55:66,192.168.0.60 + +# Always set the name of the host with hardware address +# 11:22:33:44:55:66 to be "fred" +#dhcp-host=11:22:33:44:55:66,fred + +# Always give the host with ethernet address 11:22:33:44:55:66 +# the name fred and IP address 192.168.0.60 and lease time 45 minutes +#dhcp-host=11:22:33:44:55:66,fred,192.168.0.60,45m + +# Give the machine which says it's name is "bert" IP address +# 192.168.0.70 and an infinite lease +#dhcp-host=bert,192.168.0.70,infinite + +# Always give the host with client identifier 01:02:02:04 +# the IP address 192.168.0.60 +#dhcp-host=id:01:02:02:04,192.168.0.60 + +# Always give the host with client identifier "marjorie" +# the IP address 192.168.0.60 +#dhcp-host=id:marjorie,192.168.0.60 + +# Enable the address given for "judge" in /etc/hosts +# to be given to a machine presenting the name "judge" when +# it asks for a DHCP lease. +#dhcp-host=judge + +# Never offer DHCP service to a machine whose ethernet +# address is 11:22:33:44:55:66 +#dhcp-host=11:22:33:44:55:66,ignore + +# Ignore any client-id presented by the machine with ethernet +# address 11:22:33:44:55:66. This is useful to prevent a machine +# being treated differently when running under different OS's or +# between PXE boot and OS boot. +#dhcp-host=11:22:33:44:55:66,id:* + +# Send extra options which are tagged as "red" to +# the machine with ethernet address 11:22:33:44:55:66 +#dhcp-host=11:22:33:44:55:66,net:red + +# Send extra options which are tagged as "red" to any machine whose +# DHCP vendorclass string includes the substring "Linux" +#dhcp-vendorclass=red,Linux + +# Send extra options which are tagged as "red" to any machine one +# of whose DHCP userclass strings includes the substring "accounts" +#dhcp-userclass=red,accounts + +# If this line is uncommented, dnsmasq will read /etc/ethers and act +# on the ethernet-address/IP pairs found there just as if they had +# been given as --dhcp-host options. Useful if you keep +# MAC-address/host mappings there for other purposes. +#read-ethers + +# Send options to hosts which ask for a DHCP lease. +# See RFC 2132 for details of available options. +# Note that all the common settings, such as netmask and +# broadcast address, DNS server and default route, are given +# sane defaults by dnsmasq. You very likely will not need any +# any dhcp-options. If you use Windows clients and Samba, there +# are some options which are recommended, they are detailed at the +# end of this section. +# For reference, the common options are: +# subnet mask - 1 +# default router - 3 +# DNS server - 6 +# broadcast address - 28 + +# Set the NTP time server addresses to 192.168.0.4 and 10.10.0.5 +#dhcp-option=42,192.168.0.4,10.10.0.5 + +# Set the NTP time server address to be the same machine as +# is running dnsmasq +#dhcp-option=42,0.0.0.0 + +# Set the NIS domain name to "welly" +#dhcp-option=40,welly + +# Set the default time-to-live to 50 +#dhcp-option=23,50 + +# Set the "all subnets are local" flag +#dhcp-option=27,1 + +# Send the etherboot magic flag and then etherboot options (a string). +#dhcp-option=128,e4:45:74:68:00:00 +#dhcp-option=129,NIC=eepro100 + +# Specify an option which will only be sent to the "red" network +# (see dhcp-range for the declaration of the "red" network) +#dhcp-option=red,42,192.168.1.1 + +# The following DHCP options set up dnsmasq in the same way as is specified +# for the ISC dhcpcd in +# http://www.samba.org/samba/ftp/docs/textdocs/DHCP-Server-Configuration.txt +# adapted for a typical dnsmasq installation where the host running +# dnsmasq is also the host running samba. +# you may want to uncomment them if you use Windows clients and Samba. +#dhcp-option=19,0 # option ip-forwarding off +#dhcp-option=44,0.0.0.0 # set netbios-over-TCP/IP nameserver(s) aka WINS server(s) +#dhcp-option=45,0.0.0.0 # netbios datagram distribution server +#dhcp-option=46,8 # netbios node type +#dhcp-option=47 # empty netbios scope. + + +# Set the boot filename and tftpd server name and address +# for BOOTP. You will only need this is you want to +# boot machines over the network. +#dhcp-boot=/var/ftpd/pxelinux.0,boothost,192.168.0.3 + +# Set the limit on DHCP leases, the default is 150 +#dhcp-lease-max=150 + +# The DHCP server needs somewhere on disk to keep its lease database. +# This defaults to a sane location, but if you want to change it, use +# the line below. +#dhcp-leasefile=/var/lib/misc/dnsmasq.leases + +# Set the cachesize here. +#cache-size=150 + +# If you want to disable negative caching, uncomment this. +#no-negcache + +# Normally responses which come form /etc/hosts and the DHCP lease +# file have Time-To-Live set as zero, which conventionally means +# do not cache further. If you are happy to trade lower load on the +# server for potentially stale date, you can set a time-to-live (in +# seconds) here. +#local-ttl= + +# If you want dnsmasq to detect attempts by Verisign to send queries +# to unregistered .com and .net hosts to its sitefinder service and +# have dnsmasq instead return the correct NXDOMAIN response, uncomment +# this line. You can add similar lines to do the same for other +# registries which have implemented wildcard A records. +#bogus-nxdomain=64.94.110.11 + +# If you want to fix up DNS results from upstream servers, use the +# alias option. This only works for IPv4. +# This alias makes a result of 1.2.3.4 appear as 5.6.7.8 +#alias=1.2.3.4,5.6.7.8 +# and this maps 1.2.3.x to 5.6.7.x +#alias=1.2.3.0,5.6.7.0,255.255.255.0 + +# For debugging purposes, log each DNS query as it passes through +# dnsmasq. +#log-queries + +# Include a another lot of configuration options. +#conf-file=/etc/dnsmasq.more.conf + + + + + From d1bca38043dbcace2e3153dd39af3446765c727d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 13 Feb 2015 09:48:22 +0100 Subject: [PATCH 490/908] dnsmasq: Initial configuration for sysmocom This is untested but in the assembled IDU eth2 is the NJB link and the range/netmask was taken from the ISC DHCPD configuration file. --- recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf b/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf index 1a198a3791..1aa4f39006 100755 --- a/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf +++ b/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf @@ -72,7 +72,7 @@ bogus-priv # If you want dnsmasq to listen for requests only on specified interfaces # (and the loopback) give the name of the interface (eg eth0) here. # Repeat the line for more than one interface. -#interface= +interface=eth2 # Or you can specify which interface _not_ to listen on #except-interface= # Or which to listen on by address (remember to include 127.0.0.1 if @@ -114,13 +114,14 @@ bogus-priv # repeat this for each network on which you want to supply DHCP # service. #dhcp-range=192.168.0.50,192.168.0.150,12h -dhcp-range=10.0.0.10,10.0.0.200,2h +#dhcp-range=10.0.0.10,10.0.0.200,2h # This is an example of a DHCP range where the netmask is given. This # is needed for networks we reach the dnsmasq DHCP server via a relay # agent. If you don't know what a DHCP relay agent is, you probably # don't need to worry about this. #dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h +dhcp-range=172.16.2.2,172.16.3.254,255.255.254.0,168h # This is an example of a DHCP range with a network-id, so that # some DHCP options may be set only for this network. From 8cff63899391ae081a1f66fc23158396c7600e88 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 13 Feb 2015 10:17:50 +0100 Subject: [PATCH 491/908] bridge-utils: Import from meta-oe --- recipes-apps/tasks/task-sysmocom-feed.bb | 4 +- recipes-extra/bridge-utils/bridge-utils.inc | 28 ++++++ ...ck-error-returns-from-write-to-sysfs.patch | 87 +++++++++++++++++++ ...-error-message-for-incorrect-command.patch | 33 +++++++ ...-1.5-fix-incorrect-command-in-manual.patch | 33 +++++++ .../bridge-utils/kernel-headers.patch | 22 +++++ .../bridge-utils/bridge-utils_1.5.bb | 11 +++ 7 files changed, 216 insertions(+), 2 deletions(-) create mode 100644 recipes-extra/bridge-utils/bridge-utils.inc create mode 100644 recipes-extra/bridge-utils/bridge-utils/bridge-utils-1.5-check-error-returns-from-write-to-sysfs.patch create mode 100644 recipes-extra/bridge-utils/bridge-utils/bridge-utils-1.5-fix-error-message-for-incorrect-command.patch create mode 100644 recipes-extra/bridge-utils/bridge-utils/bridge-utils-1.5-fix-incorrect-command-in-manual.patch create mode 100644 recipes-extra/bridge-utils/bridge-utils/kernel-headers.patch create mode 100644 recipes-extra/bridge-utils/bridge-utils_1.5.bb diff --git a/recipes-apps/tasks/task-sysmocom-feed.bb b/recipes-apps/tasks/task-sysmocom-feed.bb index 6ca398124d..d659bc6b95 100644 --- a/recipes-apps/tasks/task-sysmocom-feed.bb +++ b/recipes-apps/tasks/task-sysmocom-feed.bb @@ -3,7 +3,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = " \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" ALLOW_EMPTY_${PN} = "1" -PR = "r15" +PR = "r16" RDEPENDS_${PN} = "\ task-sysmocom-tools \ @@ -11,4 +11,4 @@ RDEPENDS_${PN} = "\ minicom vlan patch procps psmisc \ ppp rsync sed usbutils openvpn iperf \ lcr cronie iproute2 i2c-tools cu \ - python-pyserial python-pexpect" + python-pyserial python-pexpect bridge-utils" diff --git a/recipes-extra/bridge-utils/bridge-utils.inc b/recipes-extra/bridge-utils/bridge-utils.inc new file mode 100644 index 0000000000..feeba74350 --- /dev/null +++ b/recipes-extra/bridge-utils/bridge-utils.inc @@ -0,0 +1,28 @@ +SUMMARY = "Tools for ethernet bridging" +HOMEPAGE = "http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge" +SECTION = "console/network" +LICENSE = "GPLv2" + +DEPENDS = "sysfsutils" + +SRC_URI = "${SOURCEFORGE_MIRROR}/bridge/bridge-utils-${PV}.tar.gz \ + file://bridge-utils-1.5-check-error-returns-from-write-to-sysfs.patch \ + file://bridge-utils-1.5-fix-error-message-for-incorrect-command.patch \ + file://bridge-utils-1.5-fix-incorrect-command-in-manual.patch \ +" + +inherit autotools-brokensep update-alternatives + +ALTERNATIVE_${PN} = "brctl" +ALTERNATIVE_PRIORITY[brctl] = "100" +ALTERNATIVE_LINK_NAME[brctl] = "${sbindir}/brctl" + +EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}" + +do_install_append () { + install -d ${D}/${datadir}/bridge-utils + install -d ${D}/${sysconfdir}/network/if-pre-up.d + install -d ${D}/${sysconfdir}/network/if-post-down.d +} + +RRECOMMENDS_${PN} = "kernel-module-bridge" diff --git a/recipes-extra/bridge-utils/bridge-utils/bridge-utils-1.5-check-error-returns-from-write-to-sysfs.patch b/recipes-extra/bridge-utils/bridge-utils/bridge-utils-1.5-check-error-returns-from-write-to-sysfs.patch new file mode 100644 index 0000000000..d00af9c159 --- /dev/null +++ b/recipes-extra/bridge-utils/bridge-utils/bridge-utils-1.5-check-error-returns-from-write-to-sysfs.patch @@ -0,0 +1,87 @@ +Upstream-status: BackPort [http://pkgs.fedoraproject.org/cgit/bridge-utils.git/diff/bridge-utils-1.5-check-error-returns-from-write-to-sysfs.patch?id=b0d10717fd7cebf5d85eed3f941b409fa0384f08] + +Signed-off-by: Roy.Li + +From bb9970a9df95837e39d680021b1f73d231e85406 Mon Sep 17 00:00:00 2001 +From: Stephen Hemminger +Date: Tue, 3 May 2011 09:52:43 -0700 +Subject: [PATCH 3/3] Check error returns from write to sysfs + +Add helper function to check write to sysfs files. + +Signed-off-by: Petr Sabata +--- + libbridge/libbridge_devif.c | 37 +++++++++++++++++++++++-------------- + 1 files changed, 23 insertions(+), 14 deletions(-) + +diff --git a/libbridge/libbridge_devif.c b/libbridge/libbridge_devif.c +index aa8bc36..1e83925 100644 +--- a/libbridge/libbridge_devif.c ++++ b/libbridge/libbridge_devif.c +@@ -280,25 +280,38 @@ fallback: + return old_get_port_info(brname, port, info); + } + ++static int set_sysfs(const char *path, unsigned long value) ++{ ++ int fd, ret = 0, cc; ++ char buf[32]; ++ ++ fd = open(path, O_WRONLY); ++ if (fd < 0) ++ return -1; ++ ++ cc = snprintf(buf, sizeof(buf), "%lu\n", value); ++ if (write(fd, buf, cc) < 0) ++ ret = -1; ++ close(fd); ++ ++ return ret; ++} ++ + + static int br_set(const char *bridge, const char *name, + unsigned long value, unsigned long oldcode) + { + int ret; + char path[SYSFS_PATH_MAX]; +- FILE *f; + +- snprintf(path, SYSFS_PATH_MAX, SYSFS_CLASS_NET "%s/%s", bridge, name); ++ snprintf(path, SYSFS_PATH_MAX, SYSFS_CLASS_NET "%s/bridge/%s", ++ bridge, name); + +- f = fopen(path, "w"); +- if (f) { +- ret = fprintf(f, "%ld\n", value); +- fclose(f); +- } else { ++ if ((ret = set_sysfs(path, value)) < 0) { + /* fallback to old ioctl */ + struct ifreq ifr; + unsigned long args[4] = { oldcode, value, 0, 0 }; +- ++ + strncpy(ifr.ifr_name, bridge, IFNAMSIZ); + ifr.ifr_data = (char *) &args; + ret = ioctl(br_socket_fd, SIOCDEVPRIVATE, &ifr); +@@ -348,14 +361,10 @@ static int port_set(const char *bridge, const char *ifname, + { + int ret; + char path[SYSFS_PATH_MAX]; +- FILE *f; + + snprintf(path, SYSFS_PATH_MAX, SYSFS_CLASS_NET "%s/brport/%s", ifname, name); +- f = fopen(path, "w"); +- if (f) { +- ret = fprintf(f, "%ld\n", value); +- fclose(f); +- } else { ++ ++ if ((ret = set_sysfs(path, value)) < 0) { + int index = get_portno(bridge, ifname); + + if (index < 0) +-- +1.7.5.2 + diff --git a/recipes-extra/bridge-utils/bridge-utils/bridge-utils-1.5-fix-error-message-for-incorrect-command.patch b/recipes-extra/bridge-utils/bridge-utils/bridge-utils-1.5-fix-error-message-for-incorrect-command.patch new file mode 100644 index 0000000000..2d0494e533 --- /dev/null +++ b/recipes-extra/bridge-utils/bridge-utils/bridge-utils-1.5-fix-error-message-for-incorrect-command.patch @@ -0,0 +1,33 @@ +Upstream-status: BackPort [http://pkgs.fedoraproject.org/cgit/bridge-utils.git/diff/bridge-utils-1.5-fix-error-message-for-incorrect-command.patch?id=b0d10717fd7cebf5d85eed3f941b409fa0384f08] + +Signed-off-by: Roy.Li + +From c7ed0996ef58b497d3d30be802ab5ae6c37099b5 Mon Sep 17 00:00:00 2001 +From: Stephen Hemminger +Date: Tue, 3 May 2011 09:49:57 -0700 +Subject: [PATCH 2/3] Fix error message for incorrect command + +Debian bug 406907 +Error message was refering to incorrect command argument. + +Signed-off-by: Petr Sabata +--- + brctl/brctl.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/brctl/brctl.c b/brctl/brctl.c +index 454b8dd..46ca352 100644 +--- a/brctl/brctl.c ++++ b/brctl/brctl.c +@@ -69,7 +69,7 @@ int main(int argc, char *const* argv) + argc -= optind; + argv += optind; + if ((cmd = command_lookup(*argv)) == NULL) { +- fprintf(stderr, "never heard of command [%s]\n", argv[1]); ++ fprintf(stderr, "never heard of command [%s]\n", *argv); + goto help; + } + +-- +1.7.5.2 + diff --git a/recipes-extra/bridge-utils/bridge-utils/bridge-utils-1.5-fix-incorrect-command-in-manual.patch b/recipes-extra/bridge-utils/bridge-utils/bridge-utils-1.5-fix-incorrect-command-in-manual.patch new file mode 100644 index 0000000000..6f6d6d4235 --- /dev/null +++ b/recipes-extra/bridge-utils/bridge-utils/bridge-utils-1.5-fix-incorrect-command-in-manual.patch @@ -0,0 +1,33 @@ +Upstream-status: BackPort [http://pkgs.fedoraproject.org/cgit/bridge-utils.git/diff/bridge-utils-1.5-fix-incorrect-command-in-manual.patch?id=b0d10717fd7cebf5d85eed3f941b409fa0384f08] + +Signed-off-by: Roy.Li + +From 8ef7b77562b636efcbd8b759eb324d6c069200f2 Mon Sep 17 00:00:00 2001 +From: Stephen Hemminger +Date: Tue, 3 May 2011 09:48:40 -0700 +Subject: [PATCH 1/3] Fix incorrect command in manual + +Command is "setageing" not "setageingtime"; fix man page. +Debian bug report. + +Signed-off-by: Petr Sabata +--- + doc/brctl.8 | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/doc/brctl.8 b/doc/brctl.8 +index d904047..771f323 100644 +--- a/doc/brctl.8 ++++ b/doc/brctl.8 +@@ -89,7 +89,7 @@ data. Machines can move to other ports, network cards can be replaced + .B brctl showmacs + shows a list of learned MAC addresses for this bridge. + +-.B brctl setageingtime