Commit 896cb438974a637d451e79c93acb3a861370325f

Authored by Eric Lee
0 parents
Exists in master

Yocto rocko meta layer support for SMARC-FiMX7, initial commit

Showing 25 changed files with 2119 additions and 0 deletions Side-by-side Diff

... ... @@ -0,0 +1,20 @@
  1 +The Embedian Yocto rocko software layer for SMARC-FiMX7 Computer On Module platforms based on Freescale i.MX7 Solo and Dual Core.
  2 +
  3 +It is hosted on git.embedian.com with the source repository at
  4 +git@git.embedian.com:developer/meta-smarcfimx7-rocko.git
  5 +
  6 +This layer depends on:
  7 +
  8 +URI: git://git.yoctoproject.org/meta-fsl-arm
  9 +branch: Rocko
  10 +revision: HEAD
  11 +layers: meta-fsl-bsp-release
  12 +
  13 +URI: git://git.freescale.com/imx/meta-fsl-bsp-release
  14 +branch: imx-rocko
  15 +revision: HEAD
  16 +
  17 +Send pull requests, patches, comments or questions to eric.lee@embedian.com
  18 +
  19 +Maintainers: Eric Lee <eric.lee<at>embediandotcom>
  20 + Max Lin <max.lin<at>embediandotcom>
... ... @@ -0,0 +1,25 @@
  1 +# We have a conf and classes directory, add to BBPATH
  2 +BBPATH .= ":${LAYERDIR}"
  3 +
  4 +# We have a packages directory, add to BBFILES
  5 +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
  6 + ${LAYERDIR}/recipes-*/*/*.bbappend"
  7 +
  8 +BBFILE_COLLECTIONS += "smarcfimx7"
  9 +BBFILE_PATTERN_smarcfimx7 := "^${LAYERDIR}/"
  10 +BBFILE_PRIORITY_smarcfimx7 = "16"
  11 +
  12 +BBMASK += "meta-freescale/recipes-graphics/clutter/clutter-1.0_%.bbappend"
  13 +BBMASK += "meta-freescale/recipes-graphics/cogl/cogl-1.0_%.bbappend"
  14 +BBMASK += "meta-freescale/recipes-graphics/mesa/mesa-demos_%.bbappend"
  15 +BBMASK += "meta-freescale/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_5.0.11.p8.6.bb"
  16 +
  17 +HOSTTOOLS_NONFATAL_append = " sha384sum"
  18 +
  19 +EMB_UBOOT_MIRROR ?= "git://git@git.embedian.com/developer/smarc-t335x-uboot.git"
  20 +EMB_KERNEL_MIRROR ?= "git://git@git.embedian.com/developer/smarc-fsl-linux-kernel.git"
  21 +
  22 +MIRRORS += " \
  23 +${EMB_UBOOT_MIRROR} git://github.com/embedian/smarc-uboot.git;protocol=git;branch=${SRCBRANCH} \n \
  24 +${EMB_KERNEL_MIRROR} git://github.com/embedian/smarc-fsl-linux-kernel.git;protocol=git;branch=${SRCBRANCH} \n \
  25 +"
conf/machine/imx7d2gsmarc.conf
... ... @@ -0,0 +1,54 @@
  1 +#@TYPE: Machine
  2 +#@NAME: Embedian i.MX7D SMARC-FiMX7 SMARC 2.0 Module
  3 +#@SOC: i.MX7D
  4 +#@DESCRIPTION: Machine configuration for Embedian i.MX7D SMARC-FiMX7-D-2G dual core Computer on Modules with 2GB DDR3L
  5 +#@MAINTAINER: Eric Lee <eric.lee@embedian.com>
  6 +
  7 +MACHINEOVERRIDES =. "mx7:mx7d:"
  8 +
  9 +require conf/machine/include/imx-base.inc
  10 +require conf/machine/include/tune-cortexa7.inc
  11 +
  12 +MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee"
  13 +
  14 +# Use linux kernel SMARC-FiMX7
  15 +PREFERRED_PROVIDER_virtual/kernel_imx7d2gsmarc = "linux-smarcfimx7"
  16 +PREFERRED_VERSION_linux-smarcfimx7_imx7d2gsmarc = "4.9.88"
  17 +
  18 +KERNEL_DEVICETREE = "imx7s-smarcfimx7.dtb imx7d-smarcfimx7.dtb"
  19 +
  20 +IMAGE_BOOTFILES_DEPENDS += "imx-m4-demos:do_deploy"
  21 +IMAGE_BOOTFILES += "imx7d_sabresd_m4_TCM_Pingpang.bin imx7d_sabresd_m4_TCM_helloworld.bin imx7d_sabresd_m4_TCM_mcctty.bin"
  22 +
  23 +PREFERRED_PROVIDER_virtual/bootloader_imx7d2gsmarc = "u-boot-smarcfimx7"
  24 +PREFERRED_PROVIDER_u-boot_imx7d2gsmarc = "u-boot-smarcfimx7"
  25 +PREFERRED_VERSION_u-boot_imx7d2gsmarc = "2017.03"
  26 +UBOOT_CONFIG ??= "sd"
  27 +UBOOT_CONFIG[sd] = "smarcfimx7d_2g_ser3_defconfig,sdcard"
  28 +
  29 +OPTEE_BIN_EXT = "7dsmarc"
  30 +
  31 +MACHINE_EXTRA_RDEPENDS += " \
  32 + pm-utils \
  33 + kmod \
  34 + hdparm \
  35 + gptfdisk \
  36 + lftp \
  37 + vim \
  38 + ntp \
  39 + boost \
  40 + nodejs \
  41 + networkmanager \
  42 + "
  43 +
  44 +XSERVER += "mesa-driver-swrast"
  45 +
  46 +IMAGE_FSTYPES_remove = "sdcard"
  47 +IMAGE_FSTYPES = "tar.bz2"
  48 +
  49 +# Ship all kernel modules by default
  50 +MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
  51 +
  52 +MACHINE_FIRMWARE_append_mx8 = " linux-firmware-ath10k"
  53 +
  54 +BOOT_SPACE = "10240"
conf/machine/imx7dsmarc.conf
... ... @@ -0,0 +1,53 @@
  1 +#@TYPE: Machine
  2 +#@NAME: Embedian i.MX7D SMARC-FiMX7 SMARC 2.0 Module
  3 +#@SOC: i.MX7D
  4 +#@DESCRIPTION: Machine configuration for Embedian i.MX7D SMARC-FiMX7-D dual core Computer on Modules
  5 +#@MAINTAINER: Eric Lee <eric.lee@embedian.com>
  6 +
  7 +MACHINEOVERRIDES =. "mx7:mx7d:"
  8 +
  9 +require conf/machine/include/imx-base.inc
  10 +require conf/machine/include/tune-cortexa7.inc
  11 +
  12 +MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi pci alsa serial usbhost optee"
  13 +
  14 +# Use linux kernel SMARC-FiMX7
  15 +PREFERRED_PROVIDER_virtual/kernel_imx7dsmarc = "linux-smarcfimx7"
  16 +PREFERRED_VERSION_linux-smarcfimx7_imx7dsmarc = "4.9.88"
  17 +
  18 +KERNEL_DEVICETREE = "imx7s-smarcfimx7.dtb imx7d-smarcfimx7.dtb"
  19 +
  20 +IMAGE_BOOTFILES_DEPENDS += "imx-m4-demos:do_deploy"
  21 +IMAGE_BOOTFILES += "imx7d_sabresd_m4_TCM_Pingpang.bin imx7d_sabresd_m4_TCM_helloworld.bin imx7d_sabresd_m4_TCM_mcctty.bin"
  22 +
  23 +PREFERRED_PROVIDER_virtual/bootloader_imx7dsmarc = "u-boot-smarcfimx7"
  24 +PREFERRED_PROVIDER_u-boot_imx7dsmarc = "u-boot-smarcfimx7"
  25 +PREFERRED_VERSION_u-boot_imx7dsmarc = "2017.03"
  26 +UBOOT_CONFIG ??= "sd"
  27 +UBOOT_CONFIG[sd] = "smarcfimx7d_ser3_defconfig,sdcard"
  28 +
  29 +OPTEE_BIN_EXT = "7dsmarc"
  30 +
  31 +MACHINE_EXTRA_RDEPENDS += " \
  32 + pm-utils \
  33 + kmod \
  34 + hdparm \
  35 + gptfdisk \
  36 + lftp \
  37 + vim \
  38 + ntp \
  39 + boost \
  40 + nodejs \
  41 + networkmanager \
  42 + "
  43 +
  44 +XSERVER += "mesa-driver-swrast"
  45 +
  46 +IMAGE_FSTYPES = "tar.bz2"
  47 +
  48 +# Ship all kernel modules by default
  49 +MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
  50 +
  51 +MACHINE_FIRMWARE_append_mx8 = " linux-firmware-ath10k"
  52 +
  53 +BOOT_SPACE = "10240"
conf/machine/imx7ssmarc.conf
... ... @@ -0,0 +1,54 @@
  1 +#@TYPE: Machine
  2 +#@NAME: Embedian i.MX7S SMARC-FiMX7 SMARC 2.0 Module
  3 +#@SOC: i.MX7S
  4 +#@DESCRIPTION: Machine configuration for Embedian i.MX7S SMARC-FiMX7-S solo core Computer on Modules
  5 +#@MAINTAINER: Eric Lee <eric.lee@embedian.com>
  6 +
  7 +MACHINEOVERRIDES =. "mx7:mx7d:"
  8 +
  9 +require conf/machine/include/imx-base.inc
  10 +require conf/machine/include/tune-cortexa7.inc
  11 +
  12 +MACHINE_FEATURES += " screen usbgadget vfat ext2 bluetooth wifi alsa serial usbhost optee"
  13 +
  14 +# Use linux kernel SMARC-FiMX7
  15 +PREFERRED_PROVIDER_virtual/kernel_imx7ssmarc = "linux-smarcfimx7"
  16 +PREFERRED_VERSION_linux-smarcfimx7_imx7ssmarc = "4.9.88"
  17 +
  18 +KERNEL_DEVICETREE = "imx7s-smarcfimx7.dtb imx7d-smarcfimx7.dtb"
  19 +
  20 +IMAGE_BOOTFILES_DEPENDS += "imx-m4-demos:do_deploy"
  21 +IMAGE_BOOTFILES += "imx7d_sabresd_m4_TCM_Pingpang.bin imx7d_sabresd_m4_TCM_helloworld.bin imx7d_sabresd_m4_TCM_mcctty.bin"
  22 +
  23 +PREFERRED_PROVIDER_virtual/bootloader_imx7ssmarc = "u-boot-smarcfimx7"
  24 +PREFERRED_PROVIDER_u-boot_imx7smarc = "u-boot-smarcfimx7"
  25 +PREFERRED_VERSION_u-boot_imx7ssmarc = "2017.03"
  26 +UBOOT_CONFIG ??= "sd"
  27 +UBOOT_CONFIG[sd] = "smarcfimx7s_ser3_defconfig,sdcard"
  28 +
  29 +OPTEE_BIN_EXT = "7ssmarc"
  30 +
  31 +MACHINE_EXTRA_RDEPENDS += " \
  32 + pm-utils \
  33 + kmod \
  34 + hdparm \
  35 + gptfdisk \
  36 + lftp \
  37 + vim \
  38 + ntp \
  39 + boost \
  40 + nodejs \
  41 + networkmanager \
  42 + "
  43 +
  44 +XSERVER += "mesa-driver-swrast"
  45 +
  46 +IMAGE_FSTYPES_remove = "sdcard"
  47 +IMAGE_FSTYPES = "tar.bz2"
  48 +
  49 +# Ship all kernel modules by default
  50 +MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
  51 +
  52 +MACHINE_FIRMWARE_append_mx8 = " linux-firmware-ath10k"
  53 +
  54 +BOOT_SPACE = "10240"
... ... @@ -0,0 +1,58 @@
  1 +#
  2 +# local.conf covers user settings, site.conf covers site specific information
  3 +# such as proxy server addresses and optionally any shared download location
  4 +#
  5 +# SITE_CONF_VERSION is increased each time build/conf/site.conf
  6 +# changes incompatibly
  7 +SCONF_VERSION = "1"
  8 +
  9 +# Uncomment to cause CVS to use the proxy host specified
  10 +#CVS_PROXY_HOST = "proxy.example.com"
  11 +#CVS_PROXY_PORT = "81"
  12 +
  13 +# For svn, you need to create ~/.subversion/servers containing:
  14 +#[global]
  15 +#http-proxy-host = proxy.example.com
  16 +#http-proxy-port = 81
  17 +#
  18 +
  19 +# Uncomment to cause git to use the proxy host specificed
  20 +# although this only works for http
  21 +#GIT_PROXY_HOST = "proxy.example.com"
  22 +#GIT_PROXY_PORT = "81"
  23 +#export GIT_PROXY_COMMAND = "${COREBASE}/scripts/oe-git-proxy-command"
  24 +
  25 +# Set to yes to have a gitconfig generated for handling proxies; you
  26 +# might not want this if you have all that set in your global git
  27 +# configuration. If you don't enable it, the rest of the entries
  28 +# (_PROXY_IGNORE, etc) don't really work that well
  29 +#GIT_CORE_CONFIG = "Yes"
  30 +
  31 +# Space separate list of hosts to ignore for GIT proxy
  32 +#GIT_PROXY_IGNORE = "host.server.com another.server.com"
  33 +
  34 +# If SOCKS is available run the following command to comple a simple transport
  35 +# gcc scripts/oe-git-proxy-socks.c -o oe-git-proxy-socks
  36 +# and then share that binary somewhere in PATH, then use the following settings
  37 +#GIT_PROXY_HOST = "proxy.example.com"
  38 +#GIT_PROXY_PORT = "81"
  39 +
  40 +# GIT_PROXY_COMMAND is used by git to override all proxy settings from
  41 +# configuration files, so we prefix OE_ to avoid breaking havoc on the
  42 +# generated (or local) gitconfig's.
  43 +#OE_GIT_PROXY_COMMAND = "${COREBASE}/scripts/oe-git-proxy-socks-command"
  44 +
  45 +
  46 +# Uncomment this to use a shared download directory
  47 +#DL_DIR = "/some/shared/download/directory/"
  48 +
  49 +# Uncomment this to use shared state information.
  50 +#SSTATE_MIRRORS ?= " \
  51 +# file://.* http://www.embedian.com/oe-sstate-cache/PATH "
  52 +
  53 +PREMIRRORS_prepend = " \
  54 + svn://.*/.* http://www.embedian.com/oe-downloads/ \n \
  55 + git://.*/.* http://www.embedian.com/oe-downloads/ \n \
  56 + ftp://.*/.* http://www.embedian.com/oe-downloads/ \n \
  57 + http://.*/.* http://www.embedian.com/oe-downloads/ \n \
  58 + https://.*/.* http://www.embedian.com/oe-downloads/ \n \"
recipes-bsp/pm-utils/pm-utils_%.bbappend
... ... @@ -0,0 +1,7 @@
  1 +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
  2 +
  3 +FILES_${PN} += "/etc/pm/sleep.d/*"
  4 +
  5 +do_install_append() {
  6 + install -d ${D}/${sysconfdir}/pm/sleep.d
  7 +}
recipes-bsp/u-boot/u-boot-smarcfimx7_2017.03.bb
... ... @@ -0,0 +1,55 @@
  1 +# Copyright (C) 2013-2016 Freescale Semiconductor
  2 +# Copyright 2017-2018 NXP
  3 +
  4 +DESCRIPTION = "i.MX U-Boot suppporting i.MX reference boards."
  5 +require recipes-bsp/u-boot/u-boot.inc
  6 +inherit pythonnative
  7 +
  8 +PROVIDES += "u-boot"
  9 +DEPENDS_append = " python dtc-native"
  10 +
  11 +LICENSE = "GPLv2+"
  12 +LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
  13 +
  14 +UBOOT_SRC ?= "git://git@git.embedian.com/developer/smarc-t335x-uboot.git;protocol=ssh"
  15 +SRCBRANCH = "smarc-imx7_v2017.03_4.9.11_1.0.0_ga"
  16 +SRC_URI = "${EMB_UBOOT_MIRROR};protocol=ssh;branch=${SRCBRANCH}"
  17 +SRCREV = "2a2968413cc1971ced465c5b2bdce12c3f857d9e"
  18 +
  19 +S = "${WORKDIR}/git"
  20 +
  21 +inherit fsl-u-boot-localversion
  22 +
  23 +LOCALVERSION ?= "-${SRCBRANCH}"
  24 +
  25 +BOOT_TOOLS = "imx-boot-tools"
  26 +
  27 +do_deploy_append_mx8mq () {
  28 + # Deploy the mkimage, u-boot-nodtb.bin and fsl-imx8mq-XX.dtb for mkimage to generate boot binary
  29 + if [ -n "${UBOOT_CONFIG}" ]
  30 + then
  31 + for config in ${UBOOT_MACHINE}; do
  32 + i=$(expr $i + 1);
  33 + for type in ${UBOOT_CONFIG}; do
  34 + j=$(expr $j + 1);
  35 + if [ $j -eq $i ]
  36 + then
  37 + install -d ${DEPLOYDIR}/${BOOT_TOOLS}
  38 + install -m 0777 ${B}/${config}/arch/arm/dts/fsl-smarcimx8mq.dtb ${DEPLOYDIR}/${BOOT_TOOLS}
  39 + install -m 0777 ${B}/${config}/tools/mkimage ${DEPLOYDIR}/${BOOT_TOOLS}/mkimage_uboot
  40 + install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}
  41 + fi
  42 + done
  43 + unset j
  44 + done
  45 + unset i
  46 + fi
  47 +
  48 +}
  49 +
  50 +PACKAGE_ARCH = "${MACHINE_ARCH}"
  51 +COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
  52 +
  53 +UBOOT_NAME_mx6 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}"
  54 +UBOOT_NAME_mx7 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}"
  55 +UBOOT_NAME_mx8 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}"
recipes-connectivity/connman/connman/connman
... ... @@ -0,0 +1,87 @@
  1 +#!/bin/sh
  2 +
  3 +DAEMON=/usr/sbin/connmand
  4 +PIDFILE=/var/run/connmand.pid
  5 +DESC="Connection Manager"
  6 +
  7 +if [ -f /etc/default/connman ] ; then
  8 + . /etc/default/connman
  9 +fi
  10 +
  11 +set -e
  12 +
  13 +nfsroot=0
  14 +
  15 +exec 9<&0 < /proc/mounts
  16 +while read dev mtpt fstype rest; do
  17 + if test $mtpt = "/" ; then
  18 + case $fstype in
  19 + nfs | nfs4)
  20 + nfsroot=1
  21 + break
  22 + ;;
  23 + *)
  24 + ;;
  25 + esac
  26 + fi
  27 +done
  28 +
  29 +do_start() {
  30 + EXTRA_PARAM=""
  31 + if test $nfsroot -eq 1 ; then
  32 + NET_DEVS=`cat /proc/net/dev | sed -ne 's/^\([a-zA-Z0-9 ]*\):.*$/\1/p'`
  33 + NET_ADDR=`cat /proc/cmdline | sed -ne 's/^.*ip=\([^ :]*\).*$/\1/p'`
  34 +
  35 + if [ -z "$NET_ADDR" ]; then
  36 + NET_ADDR=`cat /proc/cmdline | sed -ne 's/^.*eth[0-9]:\([^ :]*\).*$/\1/p'`
  37 + fi
  38 +
  39 + if [ ! -z "$NET_ADDR" ]; then
  40 + if [ "$NET_ADDR" = dhcp ]; then
  41 + ethn=`dmesg | grep "device=eth" | sed -e "s/^.*\(eth[0-9]\)\(.*\)/\1/"`
  42 + if [ ! -z "$ethn" ]; then
  43 + EXTRA_PARAM="-I $ethn"
  44 + fi
  45 + else
  46 + for i in $NET_DEVS; do
  47 + ADDR=`ifconfig $i | sed 's/addr://g' | sed -ne 's/^.*inet \([0-9.]*\) .*$/\1/p'`
  48 + if [ "$NET_ADDR" = "$ADDR" ]; then
  49 + EXTRA_PARAM="-I $i"
  50 + break
  51 + fi
  52 + done
  53 + fi
  54 + fi
  55 + fi
  56 + if [ -f @DATADIR@/connman/wired-setup ] ; then
  57 + . @DATADIR@/connman/wired-setup
  58 + fi
  59 + $DAEMON $EXTRA_PARAM
  60 +}
  61 +
  62 +do_stop() {
  63 + start-stop-daemon --stop --name connmand --quiet
  64 +}
  65 +
  66 +case "$1" in
  67 + start)
  68 + echo "Starting $DESC"
  69 + do_start
  70 + ;;
  71 + stop)
  72 + echo "Stopping $DESC"
  73 + do_stop
  74 + ;;
  75 + restart|force-reload)
  76 + echo "Restarting $DESC"
  77 + do_stop
  78 + sleep 1
  79 + do_start
  80 + ;;
  81 + *)
  82 + echo "Usage: $0 {start|stop|restart|force-reload}" >&2
  83 + exit 1
  84 + ;;
  85 +esac
  86 +
  87 +exit 0
recipes-connectivity/connman/connman/connman-env.service
... ... @@ -0,0 +1,14 @@
  1 +[Unit]
  2 +Description=Generate options for connection service
  3 +Before=connman.service
  4 +ConditionKernelCommandLine=root=/dev/nfs
  5 +After=syslog.target
  6 +
  7 +[Service]
  8 +Type=oneshot
  9 +ExecStart=@SBINDIR@/connmand-env
  10 +StandardOutput=null
  11 +
  12 +[Install]
  13 +WantedBy=connman.service
  14 +
recipes-connectivity/connman/connman/connmand-env
... ... @@ -0,0 +1,51 @@
  1 +#!/bin/sh
  2 +
  3 +nfsroot=0
  4 +
  5 +exec 9<&0 < /proc/mounts
  6 +while read dev mtpt fstype rest; do
  7 + if test $mtpt = "/" ; then
  8 + case $fstype in
  9 + nfs | nfs4)
  10 + nfsroot=1
  11 + break
  12 + ;;
  13 + *)
  14 + ;;
  15 + esac
  16 + fi
  17 +done
  18 +
  19 +EXTRA_PARAM=""
  20 +if test $nfsroot -eq 1 ; then
  21 + NET_DEVS=`cat /proc/net/dev | sed -ne 's/^\([a-zA-Z0-9 ]*\):.*$/\1/p'`
  22 + NET_ADDR=`cat /proc/cmdline | sed -ne 's/^.*ip=\([^ :]*\).*$/\1/p'`
  23 +
  24 + if [ -z "$NET_ADDR" ]; then
  25 + NET_ADDR=`cat /proc/cmdline | sed -ne 's/^.*eth[0-9]:\([^ :]*\).*$/\1/p'`
  26 + fi
  27 +
  28 + if [ ! -z "$NET_ADDR" ]; then
  29 + if [ "$NET_ADDR" = dhcp ]; then
  30 + ethn=`dmesg | grep "device=eth" | sed -e "s/^.*\(eth[0-9]\)\(.*\)/\1/"`
  31 + if [ ! -z "$ethn" ]; then
  32 + EXTRA_PARAM="-I $ethn"
  33 + fi
  34 + else
  35 + for i in $NET_DEVS; do
  36 + ADDR=`ifconfig $i | sed 's/addr://g' | sed -ne 's/^.*inet \([0-9.]*\) .*$/\1/p'`
  37 + if [ "$NET_ADDR" = "$ADDR" ]; then
  38 + EXTRA_PARAM="-I $i"
  39 + break
  40 + fi
  41 + done
  42 + fi
  43 + fi
  44 +fi
  45 +
  46 +#if [ -f @DATADIR@/connman/wired-setup ] ; then
  47 +# . @DATADIR@/connman/wired-setup
  48 +#fi
  49 +
  50 +[ ! -d /run/connmand ] && mkdir -p /run/connmand
  51 +echo "CONNMAND_OPTS=$EXTRA_PARAM">/run/connmand/connmand.env
recipes-connectivity/connman/connman_%.bbappend
... ... @@ -0,0 +1,46 @@
  1 +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
  2 +
  3 +# Using the enhanced verison of connman script.
  4 +# - Fixes the issue that 2 Ethernet port board failed to mount nfs rootfs
  5 +# - Support below kernel IP cfg parameters: ip=:::::eth0:dhcp
  6 +# (Support static ip address like: ip=10.192.242.179:10.192.242.47:10.192.242.254:255.255.255.0:imx:eth0:off)
  7 +
  8 +SRC_URI += " \
  9 + file://connmand-env \
  10 + file://connman-env.service \
  11 +"
  12 +
  13 +HAS_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}"
  14 +
  15 +do_install_append () {
  16 + if ${HAS_SYSTEMD}; then
  17 + install -m 0755 ${WORKDIR}/connmand-env ${D}${sbindir}/
  18 + install -m 0644 ${WORKDIR}/connman-env.service ${D}/${systemd_unitdir}/system/
  19 + sed -i -e 's,@SBINDIR@,${sbindir},g' \
  20 + -e 's,@LIBDIR@,${libdir},g' \
  21 + -e 's,@LOCALSTATEDIR@,${localstatedir},g' \
  22 + ${D}${systemd_unitdir}/system/*.service
  23 + fi
  24 +}
  25 +
  26 +MASK_CONNMAN = "false"
  27 +MASK_CONNMAN_imx6dlsabreauto = "true"
  28 +MASK_CONNMAN_imx6sllevk = "true"
  29 +MASK_CONNMAN_imx7dsabresd = "true"
  30 +MASK_CONNMAN_imx7dsmarc = "true"
  31 +MASK_CONNMAN_imx7ssmarc = "true"
  32 +MASK_CONNMAN_imx7d2gsmarc = "true"
  33 +MASK_CONNMAN_imx7ulpevk = "true"
  34 +
  35 +pkg_postinst_${PN} () {
  36 + if ${HAS_SYSTEMD} && ${MASK_CONNMAN}; then
  37 + if [ -n "$D" ]; then
  38 + OPTS="--root=$D"
  39 + fi
  40 + systemctl $OPTS mask connman.service
  41 + fi
  42 +}
  43 +
  44 +SYSTEMD_SERVICE_${PN} += "connman-env.service"
  45 +
  46 +FILES_${PN} += "${systemd_unitdir}/system/connman-env.service"
recipes-core/busybox/busybox/defconfig
Changes suppressed. Click to show
... ... @@ -0,0 +1,1073 @@
  1 +#
  2 +# Automatically generated make config: don't edit
  3 +# Busybox version: 1.24.1
  4 +# Sat Dec 1 13:47:19 2018
  5 +#
  6 +CONFIG_HAVE_DOT_CONFIG=y
  7 +
  8 +#
  9 +# Busybox Settings
  10 +#
  11 +
  12 +#
  13 +# General Configuration
  14 +#
  15 +# CONFIG_DESKTOP is not set
  16 +# CONFIG_EXTRA_COMPAT is not set
  17 +CONFIG_INCLUDE_SUSv2=y
  18 +CONFIG_USE_PORTABLE_CODE=y
  19 +CONFIG_PLATFORM_LINUX=y
  20 +CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
  21 +# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set
  22 +# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
  23 +CONFIG_SHOW_USAGE=y
  24 +# CONFIG_FEATURE_VERBOSE_USAGE is not set
  25 +CONFIG_FEATURE_COMPRESS_USAGE=y
  26 +CONFIG_FEATURE_INSTALLER=y
  27 +# CONFIG_INSTALL_NO_USR is not set
  28 +CONFIG_LOCALE_SUPPORT=y
  29 +CONFIG_UNICODE_SUPPORT=y
  30 +# CONFIG_UNICODE_USING_LOCALE is not set
  31 +# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set
  32 +CONFIG_SUBST_WCHAR=0
  33 +CONFIG_LAST_SUPPORTED_WCHAR=0
  34 +# CONFIG_UNICODE_COMBINING_WCHARS is not set
  35 +# CONFIG_UNICODE_WIDE_WCHARS is not set
  36 +# CONFIG_UNICODE_BIDI_SUPPORT is not set
  37 +# CONFIG_UNICODE_NEUTRAL_TABLE is not set
  38 +# CONFIG_UNICODE_PRESERVE_BROKEN is not set
  39 +# CONFIG_PAM is not set
  40 +CONFIG_FEATURE_USE_SENDFILE=y
  41 +CONFIG_LONG_OPTS=y
  42 +CONFIG_FEATURE_DEVPTS=y
  43 +# CONFIG_FEATURE_CLEAN_UP is not set
  44 +CONFIG_FEATURE_UTMP=y
  45 +# CONFIG_FEATURE_WTMP is not set
  46 +CONFIG_FEATURE_PIDFILE=y
  47 +CONFIG_PID_FILE_PATH="/var/run"
  48 +CONFIG_FEATURE_SUID=y
  49 +CONFIG_FEATURE_SUID_CONFIG=y
  50 +CONFIG_FEATURE_SUID_CONFIG_QUIET=y
  51 +# CONFIG_SELINUX is not set
  52 +# CONFIG_FEATURE_PREFER_APPLETS is not set
  53 +CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
  54 +CONFIG_FEATURE_SYSLOG=y
  55 +# CONFIG_FEATURE_HAVE_RPC is not set
  56 +
  57 +#
  58 +# Build Options
  59 +#
  60 +# CONFIG_STATIC is not set
  61 +# CONFIG_PIE is not set
  62 +# CONFIG_NOMMU is not set
  63 +# CONFIG_BUILD_LIBBUSYBOX is not set
  64 +# CONFIG_FEATURE_INDIVIDUAL is not set
  65 +# CONFIG_FEATURE_SHARED_BUSYBOX is not set
  66 +CONFIG_LFS=y
  67 +CONFIG_CROSS_COMPILER_PREFIX=""
  68 +CONFIG_SYSROOT=""
  69 +CONFIG_EXTRA_CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types "
  70 +CONFIG_EXTRA_LDFLAGS=""
  71 +CONFIG_EXTRA_LDLIBS=""
  72 +
  73 +#
  74 +# Debugging Options
  75 +#
  76 +# CONFIG_DEBUG is not set
  77 +# CONFIG_DEBUG_PESSIMIZE is not set
  78 +# CONFIG_UNIT_TEST is not set
  79 +# CONFIG_WERROR is not set
  80 +CONFIG_NO_DEBUG_LIB=y
  81 +# CONFIG_DMALLOC is not set
  82 +# CONFIG_EFENCE is not set
  83 +
  84 +#
  85 +# Installation Options ("make install" behavior)
  86 +#
  87 +CONFIG_INSTALL_APPLET_SYMLINKS=y
  88 +# CONFIG_INSTALL_APPLET_HARDLINKS is not set
  89 +# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set
  90 +# CONFIG_INSTALL_APPLET_DONT is not set
  91 +# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set
  92 +# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set
  93 +# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set
  94 +CONFIG_PREFIX="./_install"
  95 +
  96 +#
  97 +# Busybox Library Tuning
  98 +#
  99 +CONFIG_FEATURE_SYSTEMD=y
  100 +CONFIG_FEATURE_RTMINMAX=y
  101 +CONFIG_PASSWORD_MINLEN=6
  102 +CONFIG_MD5_SMALL=1
  103 +CONFIG_SHA3_SMALL=1
  104 +CONFIG_FEATURE_FAST_TOP=y
  105 +# CONFIG_FEATURE_ETC_NETWORKS is not set
  106 +CONFIG_FEATURE_USE_TERMIOS=y
  107 +CONFIG_FEATURE_EDITING=y
  108 +CONFIG_FEATURE_EDITING_MAX_LEN=1024
  109 +# CONFIG_FEATURE_EDITING_VI is not set
  110 +CONFIG_FEATURE_EDITING_HISTORY=15
  111 +CONFIG_FEATURE_EDITING_SAVEHISTORY=y
  112 +# CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is not set
  113 +# CONFIG_FEATURE_REVERSE_SEARCH is not set
  114 +CONFIG_FEATURE_TAB_COMPLETION=y
  115 +CONFIG_FEATURE_USERNAME_COMPLETION=y
  116 +CONFIG_FEATURE_EDITING_FANCY_PROMPT=y
  117 +# CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set
  118 +CONFIG_FEATURE_NON_POSIX_CP=y
  119 +# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set
  120 +CONFIG_FEATURE_COPYBUF_KB=4
  121 +CONFIG_FEATURE_SKIP_ROOTFS=y
  122 +CONFIG_MONOTONIC_SYSCALL=y
  123 +CONFIG_IOCTL_HEX2STR_ERROR=y
  124 +CONFIG_FEATURE_HWIB=y
  125 +
  126 +#
  127 +# Applets
  128 +#
  129 +
  130 +#
  131 +# Archival Utilities
  132 +#
  133 +CONFIG_FEATURE_SEAMLESS_XZ=y
  134 +CONFIG_FEATURE_SEAMLESS_LZMA=y
  135 +CONFIG_FEATURE_SEAMLESS_BZ2=y
  136 +CONFIG_FEATURE_SEAMLESS_GZ=y
  137 +CONFIG_FEATURE_SEAMLESS_Z=y
  138 +# CONFIG_AR is not set
  139 +# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
  140 +# CONFIG_FEATURE_AR_CREATE is not set
  141 +# CONFIG_UNCOMPRESS is not set
  142 +CONFIG_GUNZIP=y
  143 +CONFIG_BUNZIP2=y
  144 +# CONFIG_UNLZMA is not set
  145 +# CONFIG_FEATURE_LZMA_FAST is not set
  146 +# CONFIG_LZMA is not set
  147 +# CONFIG_UNXZ is not set
  148 +# CONFIG_XZ is not set
  149 +# CONFIG_BZIP2 is not set
  150 +CONFIG_CPIO=y
  151 +# CONFIG_FEATURE_CPIO_O is not set
  152 +# CONFIG_FEATURE_CPIO_P is not set
  153 +# CONFIG_DPKG is not set
  154 +# CONFIG_DPKG_DEB is not set
  155 +# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set
  156 +CONFIG_GZIP=y
  157 +# CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set
  158 +CONFIG_GZIP_FAST=0
  159 +# CONFIG_FEATURE_GZIP_LEVELS is not set
  160 +# CONFIG_LZOP is not set
  161 +# CONFIG_LZOP_COMPR_HIGH is not set
  162 +# CONFIG_RPM is not set
  163 +# CONFIG_RPM2CPIO is not set
  164 +CONFIG_TAR=y
  165 +CONFIG_FEATURE_TAR_CREATE=y
  166 +CONFIG_FEATURE_TAR_AUTODETECT=y
  167 +CONFIG_FEATURE_TAR_FROM=y
  168 +CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY=y
  169 +# CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set
  170 +CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
  171 +# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
  172 +# CONFIG_FEATURE_TAR_TO_COMMAND is not set
  173 +# CONFIG_FEATURE_TAR_UNAME_GNAME is not set
  174 +CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y
  175 +# CONFIG_FEATURE_TAR_SELINUX is not set
  176 +CONFIG_UNZIP=y
  177 +
  178 +#
  179 +# Coreutils
  180 +#
  181 +CONFIG_BASENAME=y
  182 +CONFIG_CAT=y
  183 +CONFIG_DATE=y
  184 +# CONFIG_FEATURE_DATE_ISOFMT is not set
  185 +# CONFIG_FEATURE_DATE_NANO is not set
  186 +CONFIG_FEATURE_DATE_COMPAT=y
  187 +CONFIG_DD=y
  188 +CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
  189 +# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set
  190 +CONFIG_FEATURE_DD_IBS_OBS=y
  191 +# CONFIG_FEATURE_DD_STATUS is not set
  192 +# CONFIG_HOSTID is not set
  193 +CONFIG_ID=y
  194 +CONFIG_GROUPS=y
  195 +CONFIG_SHUF=y
  196 +CONFIG_SYNC=y
  197 +# CONFIG_FEATURE_SYNC_FANCY is not set
  198 +CONFIG_TEST=y
  199 +CONFIG_FEATURE_TEST_64=y
  200 +CONFIG_TOUCH=y
  201 +CONFIG_FEATURE_TOUCH_NODEREF=y
  202 +CONFIG_FEATURE_TOUCH_SUSV3=y
  203 +CONFIG_TR=y
  204 +CONFIG_FEATURE_TR_CLASSES=y
  205 +# CONFIG_FEATURE_TR_EQUIV is not set
  206 +# CONFIG_TRUNCATE is not set
  207 +CONFIG_UNLINK=y
  208 +# CONFIG_BASE64 is not set
  209 +CONFIG_WHO=y
  210 +CONFIG_USERS=y
  211 +# CONFIG_CAL is not set
  212 +# CONFIG_CATV is not set
  213 +CONFIG_CHGRP=y
  214 +CONFIG_CHMOD=y
  215 +CONFIG_CHOWN=y
  216 +# CONFIG_FEATURE_CHOWN_LONG_OPTIONS is not set
  217 +CONFIG_CHROOT=y
  218 +# CONFIG_CKSUM is not set
  219 +# CONFIG_COMM is not set
  220 +CONFIG_CP=y
  221 +# CONFIG_FEATURE_CP_LONG_OPTIONS is not set
  222 +CONFIG_CUT=y
  223 +CONFIG_DF=y
  224 +# CONFIG_FEATURE_DF_FANCY is not set
  225 +CONFIG_DIRNAME=y
  226 +# CONFIG_DOS2UNIX is not set
  227 +# CONFIG_UNIX2DOS is not set
  228 +CONFIG_DU=y
  229 +CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
  230 +CONFIG_ECHO=y
  231 +CONFIG_FEATURE_FANCY_ECHO=y
  232 +CONFIG_ENV=y
  233 +CONFIG_FEATURE_ENV_LONG_OPTIONS=y
  234 +# CONFIG_EXPAND is not set
  235 +# CONFIG_FEATURE_EXPAND_LONG_OPTIONS is not set
  236 +CONFIG_EXPR=y
  237 +CONFIG_EXPR_MATH_SUPPORT_64=y
  238 +CONFIG_FALSE=y
  239 +# CONFIG_FOLD is not set
  240 +# CONFIG_FSYNC is not set
  241 +CONFIG_HEAD=y
  242 +# CONFIG_FEATURE_FANCY_HEAD is not set
  243 +# CONFIG_INSTALL is not set
  244 +# CONFIG_FEATURE_INSTALL_LONG_OPTIONS is not set
  245 +CONFIG_LN=y
  246 +CONFIG_LOGNAME=y
  247 +CONFIG_LS=y
  248 +CONFIG_FEATURE_LS_FILETYPES=y
  249 +CONFIG_FEATURE_LS_FOLLOWLINKS=y
  250 +CONFIG_FEATURE_LS_RECURSIVE=y
  251 +CONFIG_FEATURE_LS_SORTFILES=y
  252 +CONFIG_FEATURE_LS_TIMESTAMPS=y
  253 +CONFIG_FEATURE_LS_USERNAME=y
  254 +CONFIG_FEATURE_LS_COLOR=y
  255 +# CONFIG_FEATURE_LS_COLOR_IS_DEFAULT is not set
  256 +CONFIG_MD5SUM=y
  257 +CONFIG_MKDIR=y
  258 +CONFIG_FEATURE_MKDIR_LONG_OPTIONS=y
  259 +CONFIG_MKFIFO=y
  260 +CONFIG_MKNOD=y
  261 +CONFIG_MV=y
  262 +# CONFIG_FEATURE_MV_LONG_OPTIONS is not set
  263 +# CONFIG_NICE is not set
  264 +CONFIG_NOHUP=y
  265 +CONFIG_OD=y
  266 +# CONFIG_PRINTENV is not set
  267 +CONFIG_PRINTF=y
  268 +CONFIG_PWD=y
  269 +CONFIG_READLINK=y
  270 +CONFIG_FEATURE_READLINK_FOLLOW=y
  271 +CONFIG_REALPATH=y
  272 +CONFIG_RM=y
  273 +CONFIG_RMDIR=y
  274 +# CONFIG_FEATURE_RMDIR_LONG_OPTIONS is not set
  275 +CONFIG_SEQ=y
  276 +CONFIG_SHA1SUM=y
  277 +CONFIG_SHA256SUM=y
  278 +# CONFIG_SHA512SUM is not set
  279 +# CONFIG_SHA3SUM is not set
  280 +CONFIG_SLEEP=y
  281 +CONFIG_FEATURE_FANCY_SLEEP=y
  282 +CONFIG_FEATURE_FLOAT_SLEEP=y
  283 +CONFIG_SORT=y
  284 +CONFIG_FEATURE_SORT_BIG=y
  285 +# CONFIG_SPLIT is not set
  286 +# CONFIG_FEATURE_SPLIT_FANCY is not set
  287 +CONFIG_STAT=y
  288 +CONFIG_FEATURE_STAT_FORMAT=y
  289 +CONFIG_STTY=y
  290 +# CONFIG_SUM is not set
  291 +# CONFIG_TAC is not set
  292 +CONFIG_TAIL=y
  293 +CONFIG_FEATURE_FANCY_TAIL=y
  294 +CONFIG_TEE=y
  295 +# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set
  296 +CONFIG_TRUE=y
  297 +CONFIG_TTY=y
  298 +CONFIG_UNAME=y
  299 +CONFIG_UNAME_OSNAME="GNU/Linux"
  300 +# CONFIG_UNEXPAND is not set
  301 +# CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS is not set
  302 +CONFIG_UNIQ=y
  303 +CONFIG_USLEEP=y
  304 +# CONFIG_UUDECODE is not set
  305 +# CONFIG_UUENCODE is not set
  306 +CONFIG_WC=y
  307 +# CONFIG_FEATURE_WC_LARGE is not set
  308 +CONFIG_WHOAMI=y
  309 +CONFIG_YES=y
  310 +
  311 +#
  312 +# Common options
  313 +#
  314 +CONFIG_FEATURE_VERBOSE=y
  315 +
  316 +#
  317 +# Common options for cp and mv
  318 +#
  319 +# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set
  320 +
  321 +#
  322 +# Common options for ls, more and telnet
  323 +#
  324 +CONFIG_FEATURE_AUTOWIDTH=y
  325 +
  326 +#
  327 +# Common options for df, du, ls
  328 +#
  329 +CONFIG_FEATURE_HUMAN_READABLE=y
  330 +
  331 +#
  332 +# Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum
  333 +#
  334 +CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
  335 +
  336 +#
  337 +# Console Utilities
  338 +#
  339 +CONFIG_CHVT=y
  340 +# CONFIG_FGCONSOLE is not set
  341 +CONFIG_CLEAR=y
  342 +CONFIG_DEALLOCVT=y
  343 +CONFIG_DUMPKMAP=y
  344 +# CONFIG_KBD_MODE is not set
  345 +CONFIG_LOADFONT=y
  346 +CONFIG_LOADKMAP=y
  347 +CONFIG_OPENVT=y
  348 +CONFIG_RESET=y
  349 +CONFIG_RESIZE=y
  350 +CONFIG_FEATURE_RESIZE_PRINT=y
  351 +CONFIG_SETCONSOLE=y
  352 +# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set
  353 +# CONFIG_SETFONT is not set
  354 +# CONFIG_FEATURE_SETFONT_TEXTUAL_MAP is not set
  355 +CONFIG_DEFAULT_SETFONT_DIR=""
  356 +# CONFIG_SETKEYCODES is not set
  357 +# CONFIG_SETLOGCONS is not set
  358 +# CONFIG_SHOWKEY is not set
  359 +
  360 +#
  361 +# Common options for loadfont and setfont
  362 +#
  363 +# CONFIG_FEATURE_LOADFONT_PSF2 is not set
  364 +# CONFIG_FEATURE_LOADFONT_RAW is not set
  365 +
  366 +#
  367 +# Debian Utilities
  368 +#
  369 +CONFIG_MKTEMP=y
  370 +# CONFIG_PIPE_PROGRESS is not set
  371 +CONFIG_RUN_PARTS=y
  372 +CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y
  373 +# CONFIG_FEATURE_RUN_PARTS_FANCY is not set
  374 +CONFIG_START_STOP_DAEMON=y
  375 +CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y
  376 +CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y
  377 +CONFIG_WHICH=y
  378 +
  379 +#
  380 +# Editors
  381 +#
  382 +CONFIG_AWK=y
  383 +CONFIG_FEATURE_AWK_LIBM=y
  384 +CONFIG_FEATURE_AWK_GNU_EXTENSIONS=y
  385 +CONFIG_CMP=y
  386 +CONFIG_DIFF=y
  387 +# CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set
  388 +CONFIG_FEATURE_DIFF_DIR=y
  389 +# CONFIG_ED is not set
  390 +CONFIG_PATCH=y
  391 +CONFIG_SED=y
  392 +CONFIG_VI=y
  393 +CONFIG_FEATURE_VI_MAX_LEN=1024
  394 +CONFIG_FEATURE_VI_8BIT=y
  395 +CONFIG_FEATURE_VI_COLON=y
  396 +CONFIG_FEATURE_VI_YANKMARK=y
  397 +CONFIG_FEATURE_VI_SEARCH=y
  398 +# CONFIG_FEATURE_VI_REGEX_SEARCH is not set
  399 +CONFIG_FEATURE_VI_USE_SIGNALS=y
  400 +# CONFIG_FEATURE_VI_DOT_CMD is not set
  401 +# CONFIG_FEATURE_VI_READONLY is not set
  402 +# CONFIG_FEATURE_VI_SETOPTS is not set
  403 +# CONFIG_FEATURE_VI_SET is not set
  404 +CONFIG_FEATURE_VI_WIN_RESIZE=y
  405 +# CONFIG_FEATURE_VI_ASK_TERMINAL is not set
  406 +CONFIG_FEATURE_VI_UNDO=y
  407 +CONFIG_FEATURE_VI_UNDO_QUEUE=y
  408 +CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=256
  409 +CONFIG_FEATURE_ALLOW_EXEC=y
  410 +
  411 +#
  412 +# Finding Utilities
  413 +#
  414 +CONFIG_FIND=y
  415 +CONFIG_FEATURE_FIND_PRINT0=y
  416 +CONFIG_FEATURE_FIND_MTIME=y
  417 +CONFIG_FEATURE_FIND_MMIN=y
  418 +CONFIG_FEATURE_FIND_PERM=y
  419 +CONFIG_FEATURE_FIND_TYPE=y
  420 +CONFIG_FEATURE_FIND_XDEV=y
  421 +CONFIG_FEATURE_FIND_MAXDEPTH=y
  422 +CONFIG_FEATURE_FIND_NEWER=y
  423 +# CONFIG_FEATURE_FIND_INUM is not set
  424 +CONFIG_FEATURE_FIND_EXEC=y
  425 +CONFIG_FEATURE_FIND_EXEC_PLUS=y
  426 +CONFIG_FEATURE_FIND_USER=y
  427 +CONFIG_FEATURE_FIND_GROUP=y
  428 +CONFIG_FEATURE_FIND_NOT=y
  429 +CONFIG_FEATURE_FIND_DEPTH=y
  430 +CONFIG_FEATURE_FIND_PAREN=y
  431 +CONFIG_FEATURE_FIND_SIZE=y
  432 +CONFIG_FEATURE_FIND_PRUNE=y
  433 +# CONFIG_FEATURE_FIND_DELETE is not set
  434 +CONFIG_FEATURE_FIND_PATH=y
  435 +CONFIG_FEATURE_FIND_REGEX=y
  436 +# CONFIG_FEATURE_FIND_CONTEXT is not set
  437 +# CONFIG_FEATURE_FIND_LINKS is not set
  438 +CONFIG_GREP=y
  439 +CONFIG_FEATURE_GREP_EGREP_ALIAS=y
  440 +CONFIG_FEATURE_GREP_FGREP_ALIAS=y
  441 +CONFIG_FEATURE_GREP_CONTEXT=y
  442 +CONFIG_XARGS=y
  443 +# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
  444 +# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set
  445 +# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set
  446 +# CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set
  447 +CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y
  448 +
  449 +#
  450 +# Init Utilities
  451 +#
  452 +# CONFIG_BOOTCHARTD is not set
  453 +# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set
  454 +# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set
  455 +CONFIG_HALT=y
  456 +# CONFIG_FEATURE_CALL_TELINIT is not set
  457 +CONFIG_TELINIT_PATH=""
  458 +# CONFIG_INIT is not set
  459 +# CONFIG_FEATURE_USE_INITTAB is not set
  460 +# CONFIG_FEATURE_KILL_REMOVED is not set
  461 +CONFIG_FEATURE_KILL_DELAY=0
  462 +# CONFIG_FEATURE_INIT_SCTTY is not set
  463 +# CONFIG_FEATURE_INIT_SYSLOG is not set
  464 +# CONFIG_FEATURE_EXTRA_QUIET is not set
  465 +# CONFIG_FEATURE_INIT_COREDUMPS is not set
  466 +# CONFIG_FEATURE_INITRD is not set
  467 +CONFIG_INIT_TERMINAL_TYPE=""
  468 +CONFIG_MESG=y
  469 +# CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP is not set
  470 +
  471 +#
  472 +# Login/Password Management Utilities
  473 +#
  474 +# CONFIG_ADD_SHELL is not set
  475 +# CONFIG_REMOVE_SHELL is not set
  476 +CONFIG_FEATURE_SHADOWPASSWDS=y
  477 +# CONFIG_USE_BB_PWD_GRP is not set
  478 +# CONFIG_USE_BB_SHADOW is not set
  479 +CONFIG_USE_BB_CRYPT=y
  480 +# CONFIG_USE_BB_CRYPT_SHA is not set
  481 +CONFIG_ADDUSER=y
  482 +CONFIG_FEATURE_ADDUSER_LONG_OPTIONS=y
  483 +# CONFIG_FEATURE_CHECK_NAMES is not set
  484 +CONFIG_LAST_ID=60000
  485 +CONFIG_FIRST_SYSTEM_ID=100
  486 +CONFIG_LAST_SYSTEM_ID=999
  487 +CONFIG_ADDGROUP=y
  488 +CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS=y
  489 +# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set
  490 +CONFIG_DELUSER=y
  491 +CONFIG_DELGROUP=y
  492 +# CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set
  493 +CONFIG_GETTY=y
  494 +CONFIG_LOGIN=y
  495 +# CONFIG_LOGIN_SESSION_AS_CHILD is not set
  496 +# CONFIG_LOGIN_SCRIPTS is not set
  497 +# CONFIG_FEATURE_NOLOGIN is not set
  498 +# CONFIG_FEATURE_SECURETTY is not set
  499 +CONFIG_PASSWD=y
  500 +# CONFIG_FEATURE_PASSWD_WEAK_CHECK is not set
  501 +# CONFIG_CRYPTPW is not set
  502 +# CONFIG_CHPASSWD is not set
  503 +CONFIG_FEATURE_DEFAULT_PASSWD_ALGO=""
  504 +CONFIG_SU=y
  505 +# CONFIG_FEATURE_SU_SYSLOG is not set
  506 +# CONFIG_FEATURE_SU_CHECKS_SHELLS is not set
  507 +CONFIG_SULOGIN=y
  508 +CONFIG_VLOCK=y
  509 +
  510 +#
  511 +# Linux Ext2 FS Progs
  512 +#
  513 +CONFIG_CHATTR=y
  514 +CONFIG_FSCK=y
  515 +# CONFIG_LSATTR is not set
  516 +# CONFIG_TUNE2FS is not set
  517 +
  518 +#
  519 +# Linux Module Utilities
  520 +#
  521 +# CONFIG_MODINFO is not set
  522 +# CONFIG_MODPROBE_SMALL is not set
  523 +# CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE is not set
  524 +# CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set
  525 +CONFIG_INSMOD=y
  526 +CONFIG_RMMOD=y
  527 +CONFIG_LSMOD=y
  528 +# CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set
  529 +CONFIG_MODPROBE=y
  530 +# CONFIG_FEATURE_MODPROBE_BLACKLIST is not set
  531 +CONFIG_DEPMOD=y
  532 +
  533 +#
  534 +# Options common to multiple modutils
  535 +#
  536 +# CONFIG_FEATURE_2_4_MODULES is not set
  537 +# CONFIG_FEATURE_INSMOD_TRY_MMAP is not set
  538 +# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
  539 +# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set
  540 +# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
  541 +# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set
  542 +# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set
  543 +CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
  544 +CONFIG_FEATURE_MODUTILS_ALIAS=y
  545 +CONFIG_FEATURE_MODUTILS_SYMBOLS=y
  546 +CONFIG_DEFAULT_MODULES_DIR="/lib/modules"
  547 +CONFIG_DEFAULT_DEPMOD_FILE="modules.dep"
  548 +
  549 +#
  550 +# Linux System Utilities
  551 +#
  552 +# CONFIG_BLOCKDEV is not set
  553 +# CONFIG_FATATTR is not set
  554 +CONFIG_FSTRIM=y
  555 +# CONFIG_MDEV is not set
  556 +# CONFIG_FEATURE_MDEV_CONF is not set
  557 +# CONFIG_FEATURE_MDEV_RENAME is not set
  558 +# CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set
  559 +# CONFIG_FEATURE_MDEV_EXEC is not set
  560 +# CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set
  561 +CONFIG_MOUNT=y
  562 +# CONFIG_FEATURE_MOUNT_FAKE is not set
  563 +# CONFIG_FEATURE_MOUNT_VERBOSE is not set
  564 +# CONFIG_FEATURE_MOUNT_HELPERS is not set
  565 +CONFIG_FEATURE_MOUNT_LABEL=y
  566 +# CONFIG_FEATURE_MOUNT_NFS is not set
  567 +# CONFIG_FEATURE_MOUNT_CIFS is not set
  568 +CONFIG_FEATURE_MOUNT_FLAGS=y
  569 +CONFIG_FEATURE_MOUNT_FSTAB=y
  570 +# CONFIG_FEATURE_MOUNT_OTHERTAB is not set
  571 +# CONFIG_REV is not set
  572 +# CONFIG_UEVENT is not set
  573 +# CONFIG_ACPID is not set
  574 +# CONFIG_FEATURE_ACPID_COMPAT is not set
  575 +CONFIG_BLKID=y
  576 +CONFIG_FEATURE_BLKID_TYPE=y
  577 +CONFIG_DMESG=y
  578 +CONFIG_FEATURE_DMESG_PRETTY=y
  579 +CONFIG_FBSET=y
  580 +CONFIG_FEATURE_FBSET_FANCY=y
  581 +CONFIG_FEATURE_FBSET_READMODE=y
  582 +# CONFIG_FDFLUSH is not set
  583 +# CONFIG_FDFORMAT is not set
  584 +CONFIG_FDISK=y
  585 +# CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set
  586 +CONFIG_FEATURE_FDISK_WRITABLE=y
  587 +# CONFIG_FEATURE_AIX_LABEL is not set
  588 +# CONFIG_FEATURE_SGI_LABEL is not set
  589 +# CONFIG_FEATURE_SUN_LABEL is not set
  590 +# CONFIG_FEATURE_OSF_LABEL is not set
  591 +# CONFIG_FEATURE_GPT_LABEL is not set
  592 +# CONFIG_FEATURE_FDISK_ADVANCED is not set
  593 +# CONFIG_FINDFS is not set
  594 +CONFIG_FLOCK=y
  595 +# CONFIG_FREERAMDISK is not set
  596 +# CONFIG_FSCK_MINIX is not set
  597 +# CONFIG_MKFS_EXT2 is not set
  598 +# CONFIG_MKFS_MINIX is not set
  599 +# CONFIG_FEATURE_MINIX2 is not set
  600 +# CONFIG_MKFS_REISER is not set
  601 +# CONFIG_MKFS_VFAT is not set
  602 +CONFIG_GETOPT=y
  603 +CONFIG_FEATURE_GETOPT_LONG=y
  604 +CONFIG_HEXDUMP=y
  605 +CONFIG_FEATURE_HEXDUMP_REVERSE=y
  606 +# CONFIG_HD is not set
  607 +CONFIG_HWCLOCK=y
  608 +CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS=y
  609 +CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y
  610 +# CONFIG_IPCRM is not set
  611 +# CONFIG_IPCS is not set
  612 +CONFIG_LOSETUP=y
  613 +# CONFIG_LSPCI is not set
  614 +# CONFIG_LSUSB is not set
  615 +CONFIG_MKSWAP=y
  616 +# CONFIG_FEATURE_MKSWAP_UUID is not set
  617 +CONFIG_MORE=y
  618 +CONFIG_PIVOT_ROOT=y
  619 +CONFIG_RDATE=y
  620 +# CONFIG_RDEV is not set
  621 +# CONFIG_READPROFILE is not set
  622 +# CONFIG_RTCWAKE is not set
  623 +# CONFIG_SCRIPT is not set
  624 +# CONFIG_SCRIPTREPLAY is not set
  625 +# CONFIG_SETARCH is not set
  626 +CONFIG_SWAPONOFF=y
  627 +CONFIG_FEATURE_SWAPON_DISCARD=y
  628 +CONFIG_FEATURE_SWAPON_PRI=y
  629 +CONFIG_SWITCH_ROOT=y
  630 +CONFIG_UMOUNT=y
  631 +CONFIG_FEATURE_UMOUNT_ALL=y
  632 +
  633 +#
  634 +# Common options for mount/umount
  635 +#
  636 +CONFIG_FEATURE_MOUNT_LOOP=y
  637 +CONFIG_FEATURE_MOUNT_LOOP_CREATE=y
  638 +# CONFIG_FEATURE_MTAB_SUPPORT is not set
  639 +CONFIG_VOLUMEID=y
  640 +
  641 +#
  642 +# Filesystem/Volume identification
  643 +#
  644 +CONFIG_FEATURE_VOLUMEID_BTRFS=y
  645 +# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set
  646 +# CONFIG_FEATURE_VOLUMEID_EXFAT is not set
  647 +CONFIG_FEATURE_VOLUMEID_EXT=y
  648 +CONFIG_FEATURE_VOLUMEID_F2FS=y
  649 +CONFIG_FEATURE_VOLUMEID_FAT=y
  650 +# CONFIG_FEATURE_VOLUMEID_HFS is not set
  651 +# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set
  652 +# CONFIG_FEATURE_VOLUMEID_JFS is not set
  653 +# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set
  654 +# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set
  655 +# CONFIG_FEATURE_VOLUMEID_LUKS is not set
  656 +# CONFIG_FEATURE_VOLUMEID_NILFS is not set
  657 +# CONFIG_FEATURE_VOLUMEID_NTFS is not set
  658 +# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set
  659 +# CONFIG_FEATURE_VOLUMEID_REISERFS is not set
  660 +# CONFIG_FEATURE_VOLUMEID_ROMFS is not set
  661 +CONFIG_FEATURE_VOLUMEID_SQUASHFS=y
  662 +# CONFIG_FEATURE_VOLUMEID_SYSV is not set
  663 +# CONFIG_FEATURE_VOLUMEID_UDF is not set
  664 +# CONFIG_FEATURE_VOLUMEID_XFS is not set
  665 +
  666 +#
  667 +# Miscellaneous Utilities
  668 +#
  669 +# CONFIG_CONSPY is not set
  670 +# CONFIG_CROND is not set
  671 +# CONFIG_FEATURE_CROND_D is not set
  672 +# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
  673 +CONFIG_FEATURE_CROND_DIR=""
  674 +# CONFIG_I2CGET is not set
  675 +# CONFIG_I2CSET is not set
  676 +# CONFIG_I2CDUMP is not set
  677 +# CONFIG_I2CDETECT is not set
  678 +CONFIG_LESS=y
  679 +CONFIG_FEATURE_LESS_MAXLINES=9999999
  680 +CONFIG_FEATURE_LESS_BRACKETS=y
  681 +CONFIG_FEATURE_LESS_FLAGS=y
  682 +# CONFIG_FEATURE_LESS_TRUNCATE is not set
  683 +# CONFIG_FEATURE_LESS_MARKS is not set
  684 +# CONFIG_FEATURE_LESS_REGEXP is not set
  685 +# CONFIG_FEATURE_LESS_WINCH is not set
  686 +# CONFIG_FEATURE_LESS_ASK_TERMINAL is not set
  687 +# CONFIG_FEATURE_LESS_DASHCMD is not set
  688 +# CONFIG_FEATURE_LESS_LINENUMS is not set
  689 +# CONFIG_NANDWRITE is not set
  690 +# CONFIG_NANDDUMP is not set
  691 +CONFIG_RFKILL=y
  692 +# CONFIG_SETSERIAL is not set
  693 +# CONFIG_TASKSET is not set
  694 +# CONFIG_FEATURE_TASKSET_FANCY is not set
  695 +# CONFIG_UBIATTACH is not set
  696 +# CONFIG_UBIDETACH is not set
  697 +# CONFIG_UBIMKVOL is not set
  698 +# CONFIG_UBIRMVOL is not set
  699 +# CONFIG_UBIRSVOL is not set
  700 +# CONFIG_UBIUPDATEVOL is not set
  701 +# CONFIG_WALL is not set
  702 +# CONFIG_ADJTIMEX is not set
  703 +# CONFIG_BBCONFIG is not set
  704 +# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set
  705 +# CONFIG_BEEP is not set
  706 +CONFIG_FEATURE_BEEP_FREQ=0
  707 +CONFIG_FEATURE_BEEP_LENGTH_MS=0
  708 +# CONFIG_CHAT is not set
  709 +# CONFIG_FEATURE_CHAT_NOFAIL is not set
  710 +# CONFIG_FEATURE_CHAT_TTY_HIFI is not set
  711 +# CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set
  712 +# CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set
  713 +# CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set
  714 +# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set
  715 +# CONFIG_FEATURE_CHAT_CLR_ABORT is not set
  716 +# CONFIG_CHRT is not set
  717 +# CONFIG_CRONTAB is not set
  718 +CONFIG_DC=y
  719 +# CONFIG_FEATURE_DC_LIBM is not set
  720 +# CONFIG_DEVFSD is not set
  721 +# CONFIG_DEVFSD_MODLOAD is not set
  722 +# CONFIG_DEVFSD_FG_NP is not set
  723 +# CONFIG_DEVFSD_VERBOSE is not set
  724 +# CONFIG_FEATURE_DEVFS is not set
  725 +# CONFIG_DEVMEM is not set
  726 +# CONFIG_EJECT is not set
  727 +# CONFIG_FEATURE_EJECT_SCSI is not set
  728 +# CONFIG_FBSPLASH is not set
  729 +# CONFIG_FLASHCP is not set
  730 +# CONFIG_FLASH_LOCK is not set
  731 +# CONFIG_FLASH_UNLOCK is not set
  732 +# CONFIG_FLASH_ERASEALL is not set
  733 +# CONFIG_IONICE is not set
  734 +# CONFIG_INOTIFYD is not set
  735 +# CONFIG_LAST is not set
  736 +# CONFIG_FEATURE_LAST_SMALL is not set
  737 +# CONFIG_FEATURE_LAST_FANCY is not set
  738 +# CONFIG_HDPARM is not set
  739 +# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set
  740 +# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set
  741 +# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set
  742 +# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set
  743 +# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set
  744 +# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set
  745 +# CONFIG_MAKEDEVS is not set
  746 +# CONFIG_FEATURE_MAKEDEVS_LEAF is not set
  747 +# CONFIG_FEATURE_MAKEDEVS_TABLE is not set
  748 +# CONFIG_MAN is not set
  749 +CONFIG_MICROCOM=y
  750 +# CONFIG_MOUNTPOINT is not set
  751 +# CONFIG_MT is not set
  752 +# CONFIG_RAIDAUTORUN is not set
  753 +# CONFIG_READAHEAD is not set
  754 +# CONFIG_RUNLEVEL is not set
  755 +# CONFIG_RX is not set
  756 +# CONFIG_SETSID is not set
  757 +CONFIG_STRINGS=y
  758 +CONFIG_TIME=y
  759 +# CONFIG_TIMEOUT is not set
  760 +# CONFIG_TTYSIZE is not set
  761 +# CONFIG_VOLNAME is not set
  762 +# CONFIG_WATCHDOG is not set
  763 +
  764 +#
  765 +# Networking Utilities
  766 +#
  767 +# CONFIG_NAMEIF is not set
  768 +# CONFIG_FEATURE_NAMEIF_EXTENDED is not set
  769 +# CONFIG_NBDCLIENT is not set
  770 +CONFIG_NC=y
  771 +# CONFIG_NC_SERVER is not set
  772 +# CONFIG_NC_EXTRA is not set
  773 +# CONFIG_NC_110_COMPAT is not set
  774 +CONFIG_PING=y
  775 +CONFIG_PING6=y
  776 +CONFIG_FEATURE_FANCY_PING=y
  777 +CONFIG_WGET=y
  778 +CONFIG_FEATURE_WGET_STATUSBAR=y
  779 +CONFIG_FEATURE_WGET_AUTHENTICATION=y
  780 +CONFIG_FEATURE_WGET_LONG_OPTIONS=y
  781 +CONFIG_FEATURE_WGET_TIMEOUT=y
  782 +# CONFIG_FEATURE_WGET_OPENSSL is not set
  783 +# CONFIG_FEATURE_WGET_SSL_HELPER is not set
  784 +# CONFIG_WHOIS is not set
  785 +CONFIG_FEATURE_IPV6=y
  786 +# CONFIG_FEATURE_UNIX_LOCAL is not set
  787 +CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y
  788 +# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set
  789 +# CONFIG_ARP is not set
  790 +# CONFIG_ARPING is not set
  791 +# CONFIG_BRCTL is not set
  792 +# CONFIG_FEATURE_BRCTL_FANCY is not set
  793 +# CONFIG_FEATURE_BRCTL_SHOW is not set
  794 +# CONFIG_DNSD is not set
  795 +# CONFIG_ETHER_WAKE is not set
  796 +# CONFIG_FAKEIDENTD is not set
  797 +# CONFIG_FTPD is not set
  798 +# CONFIG_FEATURE_FTP_WRITE is not set
  799 +# CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set
  800 +# CONFIG_FEATURE_FTP_AUTHENTICATION is not set
  801 +CONFIG_FTPGET=y
  802 +CONFIG_FTPPUT=y
  803 +CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS=y
  804 +CONFIG_HOSTNAME=y
  805 +# CONFIG_HTTPD is not set
  806 +# CONFIG_FEATURE_HTTPD_RANGES is not set
  807 +# CONFIG_FEATURE_HTTPD_SETUID is not set
  808 +# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
  809 +# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set
  810 +# CONFIG_FEATURE_HTTPD_CGI is not set
  811 +# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set
  812 +# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set
  813 +# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set
  814 +# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set
  815 +# CONFIG_FEATURE_HTTPD_PROXY is not set
  816 +# CONFIG_FEATURE_HTTPD_GZIP is not set
  817 +CONFIG_IFCONFIG=y
  818 +CONFIG_FEATURE_IFCONFIG_STATUS=y
  819 +# CONFIG_FEATURE_IFCONFIG_SLIP is not set
  820 +# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
  821 +CONFIG_FEATURE_IFCONFIG_HW=y
  822 +# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
  823 +# CONFIG_IFENSLAVE is not set
  824 +# CONFIG_IFPLUGD is not set
  825 +CONFIG_IFUPDOWN=y
  826 +CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate"
  827 +CONFIG_FEATURE_IFUPDOWN_IP=y
  828 +CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
  829 +# CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN is not set
  830 +CONFIG_FEATURE_IFUPDOWN_IPV4=y
  831 +CONFIG_FEATURE_IFUPDOWN_IPV6=y
  832 +CONFIG_FEATURE_IFUPDOWN_MAPPING=y
  833 +CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y
  834 +# CONFIG_INETD is not set
  835 +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set
  836 +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set
  837 +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set
  838 +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set
  839 +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set
  840 +# CONFIG_FEATURE_INETD_RPC is not set
  841 +CONFIG_IP=y
  842 +CONFIG_FEATURE_IP_ADDRESS=y
  843 +CONFIG_FEATURE_IP_LINK=y
  844 +CONFIG_FEATURE_IP_ROUTE=y
  845 +CONFIG_FEATURE_IP_ROUTE_DIR="/etc/iproute2"
  846 +CONFIG_FEATURE_IP_TUNNEL=y
  847 +# CONFIG_FEATURE_IP_RULE is not set
  848 +# CONFIG_FEATURE_IP_SHORT_FORMS is not set
  849 +# CONFIG_FEATURE_IP_RARE_PROTOCOLS is not set
  850 +# CONFIG_IPADDR is not set
  851 +# CONFIG_IPLINK is not set
  852 +# CONFIG_IPROUTE is not set
  853 +# CONFIG_IPTUNNEL is not set
  854 +# CONFIG_IPRULE is not set
  855 +# CONFIG_IPCALC is not set
  856 +# CONFIG_FEATURE_IPCALC_FANCY is not set
  857 +# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set
  858 +CONFIG_NETSTAT=y
  859 +# CONFIG_FEATURE_NETSTAT_WIDE is not set
  860 +# CONFIG_FEATURE_NETSTAT_PRG is not set
  861 +CONFIG_NSLOOKUP=y
  862 +# CONFIG_NTPD is not set
  863 +# CONFIG_FEATURE_NTPD_SERVER is not set
  864 +# CONFIG_FEATURE_NTPD_CONF is not set
  865 +# CONFIG_PSCAN is not set
  866 +CONFIG_ROUTE=y
  867 +# CONFIG_SLATTACH is not set
  868 +# CONFIG_TCPSVD is not set
  869 +CONFIG_TELNET=y
  870 +CONFIG_FEATURE_TELNET_TTYPE=y
  871 +CONFIG_FEATURE_TELNET_AUTOLOGIN=y
  872 +# CONFIG_TELNETD is not set
  873 +# CONFIG_FEATURE_TELNETD_STANDALONE is not set
  874 +# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set
  875 +CONFIG_TFTP=y
  876 +CONFIG_TFTPD=y
  877 +
  878 +#
  879 +# Common options for tftp/tftpd
  880 +#
  881 +CONFIG_FEATURE_TFTP_GET=y
  882 +CONFIG_FEATURE_TFTP_PUT=y
  883 +# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
  884 +# CONFIG_FEATURE_TFTP_PROGRESS_BAR is not set
  885 +# CONFIG_TFTP_DEBUG is not set
  886 +CONFIG_TRACEROUTE=y
  887 +# CONFIG_TRACEROUTE6 is not set
  888 +# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
  889 +# CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set
  890 +# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set
  891 +# CONFIG_TUNCTL is not set
  892 +# CONFIG_FEATURE_TUNCTL_UG is not set
  893 +# CONFIG_UDHCPC6 is not set
  894 +# CONFIG_UDHCPD is not set
  895 +# CONFIG_DHCPRELAY is not set
  896 +CONFIG_DUMPLEASES=y
  897 +# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set
  898 +# CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC is not set
  899 +CONFIG_DHCPD_LEASES_FILE=""
  900 +CONFIG_UDHCPC=y
  901 +CONFIG_FEATURE_UDHCPC_ARPING=y
  902 +CONFIG_FEATURE_UDHCPC_SANITIZEOPT=y
  903 +# CONFIG_FEATURE_UDHCP_PORT is not set
  904 +CONFIG_UDHCP_DEBUG=0
  905 +# CONFIG_FEATURE_UDHCP_RFC3397 is not set
  906 +# CONFIG_FEATURE_UDHCP_8021Q is not set
  907 +CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"
  908 +CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
  909 +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"
  910 +# CONFIG_UDPSVD is not set
  911 +# CONFIG_VCONFIG is not set
  912 +# CONFIG_ZCIP is not set
  913 +
  914 +#
  915 +# Print Utilities
  916 +#
  917 +# CONFIG_LPD is not set
  918 +# CONFIG_LPR is not set
  919 +# CONFIG_LPQ is not set
  920 +
  921 +#
  922 +# Mail Utilities
  923 +#
  924 +# CONFIG_MAKEMIME is not set
  925 +CONFIG_FEATURE_MIME_CHARSET=""
  926 +# CONFIG_POPMAILDIR is not set
  927 +# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set
  928 +# CONFIG_REFORMIME is not set
  929 +# CONFIG_FEATURE_REFORMIME_COMPAT is not set
  930 +# CONFIG_SENDMAIL is not set
  931 +
  932 +#
  933 +# Process Utilities
  934 +#
  935 +# CONFIG_IOSTAT is not set
  936 +# CONFIG_LSOF is not set
  937 +# CONFIG_MPSTAT is not set
  938 +# CONFIG_NMETER is not set
  939 +# CONFIG_PMAP is not set
  940 +# CONFIG_POWERTOP is not set
  941 +# CONFIG_PSTREE is not set
  942 +# CONFIG_PWDX is not set
  943 +# CONFIG_SMEMCAP is not set
  944 +CONFIG_TOP=y
  945 +CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
  946 +CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y
  947 +# CONFIG_FEATURE_TOP_SMP_CPU is not set
  948 +# CONFIG_FEATURE_TOP_DECIMALS is not set
  949 +# CONFIG_FEATURE_TOP_SMP_PROCESS is not set
  950 +# CONFIG_FEATURE_TOPMEM is not set
  951 +CONFIG_UPTIME=y
  952 +# CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set
  953 +CONFIG_FREE=y
  954 +CONFIG_FUSER=y
  955 +CONFIG_KILL=y
  956 +CONFIG_KILLALL=y
  957 +# CONFIG_KILLALL5 is not set
  958 +# CONFIG_PGREP is not set
  959 +CONFIG_PIDOF=y
  960 +# CONFIG_FEATURE_PIDOF_SINGLE is not set
  961 +# CONFIG_FEATURE_PIDOF_OMIT is not set
  962 +# CONFIG_PKILL is not set
  963 +CONFIG_PS=y
  964 +CONFIG_FEATURE_PS_WIDE=y
  965 +CONFIG_FEATURE_PS_LONG=y
  966 +# CONFIG_FEATURE_PS_TIME is not set
  967 +# CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS is not set
  968 +# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set
  969 +CONFIG_RENICE=y
  970 +CONFIG_BB_SYSCTL=y
  971 +# CONFIG_FEATURE_SHOW_THREADS is not set
  972 +CONFIG_WATCH=y
  973 +
  974 +#
  975 +# Runit Utilities
  976 +#
  977 +# CONFIG_RUNSV is not set
  978 +# CONFIG_RUNSVDIR is not set
  979 +# CONFIG_FEATURE_RUNSVDIR_LOG is not set
  980 +# CONFIG_SV is not set
  981 +CONFIG_SV_DEFAULT_SERVICE_DIR=""
  982 +# CONFIG_SVLOGD is not set
  983 +# CONFIG_CHPST is not set
  984 +# CONFIG_SETUIDGID is not set
  985 +# CONFIG_ENVUIDGID is not set
  986 +# CONFIG_ENVDIR is not set
  987 +# CONFIG_SOFTLIMIT is not set
  988 +# CONFIG_CHCON is not set
  989 +# CONFIG_FEATURE_CHCON_LONG_OPTIONS is not set
  990 +# CONFIG_GETENFORCE is not set
  991 +# CONFIG_GETSEBOOL is not set
  992 +# CONFIG_LOAD_POLICY is not set
  993 +# CONFIG_MATCHPATHCON is not set
  994 +# CONFIG_RESTORECON is not set
  995 +# CONFIG_RUNCON is not set
  996 +# CONFIG_FEATURE_RUNCON_LONG_OPTIONS is not set
  997 +# CONFIG_SELINUXENABLED is not set
  998 +# CONFIG_SETENFORCE is not set
  999 +# CONFIG_SETFILES is not set
  1000 +# CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set
  1001 +# CONFIG_SETSEBOOL is not set
  1002 +# CONFIG_SESTATUS is not set
  1003 +
  1004 +#
  1005 +# Shells
  1006 +#
  1007 +CONFIG_ASH=y
  1008 +CONFIG_ASH_BASH_COMPAT=y
  1009 +# CONFIG_ASH_IDLE_TIMEOUT is not set
  1010 +CONFIG_ASH_JOB_CONTROL=y
  1011 +CONFIG_ASH_ALIAS=y
  1012 +CONFIG_ASH_GETOPTS=y
  1013 +CONFIG_ASH_BUILTIN_ECHO=y
  1014 +CONFIG_ASH_BUILTIN_PRINTF=y
  1015 +CONFIG_ASH_BUILTIN_TEST=y
  1016 +CONFIG_ASH_HELP=y
  1017 +CONFIG_ASH_CMDCMD=y
  1018 +# CONFIG_ASH_MAIL is not set
  1019 +CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
  1020 +# CONFIG_ASH_RANDOM_SUPPORT is not set
  1021 +CONFIG_ASH_EXPAND_PRMT=y
  1022 +# CONFIG_CTTYHACK is not set
  1023 +# CONFIG_HUSH is not set
  1024 +# CONFIG_HUSH_BASH_COMPAT is not set
  1025 +# CONFIG_HUSH_BRACE_EXPANSION is not set
  1026 +# CONFIG_HUSH_HELP is not set
  1027 +# CONFIG_HUSH_INTERACTIVE is not set
  1028 +# CONFIG_HUSH_SAVEHISTORY is not set
  1029 +# CONFIG_HUSH_JOB is not set
  1030 +# CONFIG_HUSH_TICK is not set
  1031 +# CONFIG_HUSH_IF is not set
  1032 +# CONFIG_HUSH_LOOPS is not set
  1033 +# CONFIG_HUSH_CASE is not set
  1034 +# CONFIG_HUSH_FUNCTIONS is not set
  1035 +# CONFIG_HUSH_LOCAL is not set
  1036 +# CONFIG_HUSH_RANDOM_SUPPORT is not set
  1037 +# CONFIG_HUSH_EXPORT_N is not set
  1038 +# CONFIG_HUSH_MODE_X is not set
  1039 +# CONFIG_MSH is not set
  1040 +CONFIG_FEATURE_SH_IS_ASH=y
  1041 +# CONFIG_FEATURE_SH_IS_HUSH is not set
  1042 +# CONFIG_FEATURE_SH_IS_NONE is not set
  1043 +# CONFIG_FEATURE_BASH_IS_ASH is not set
  1044 +# CONFIG_FEATURE_BASH_IS_HUSH is not set
  1045 +CONFIG_FEATURE_BASH_IS_NONE=y
  1046 +CONFIG_SH_MATH_SUPPORT=y
  1047 +# CONFIG_SH_MATH_SUPPORT_64 is not set
  1048 +CONFIG_FEATURE_SH_EXTRA_QUIET=y
  1049 +# CONFIG_FEATURE_SH_STANDALONE is not set
  1050 +# CONFIG_FEATURE_SH_NOFORK is not set
  1051 +CONFIG_FEATURE_SH_HISTFILESIZE=y
  1052 +
  1053 +#
  1054 +# System Logging Utilities
  1055 +#
  1056 +CONFIG_SYSLOGD=y
  1057 +CONFIG_FEATURE_ROTATE_LOGFILE=y
  1058 +CONFIG_FEATURE_REMOTE_LOG=y
  1059 +CONFIG_FEATURE_SYSLOGD_DUP=y
  1060 +CONFIG_FEATURE_SYSLOGD_CFG=y
  1061 +CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=256
  1062 +CONFIG_FEATURE_IPC_SYSLOG=y
  1063 +CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=64
  1064 +CONFIG_LOGREAD=y
  1065 +CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y
  1066 +CONFIG_FEATURE_KMSG_SYSLOG=y
  1067 +CONFIG_KLOGD=y
  1068 +
  1069 +#
  1070 +# klogd should not be used together with syslog to kernel printk buffer
  1071 +#
  1072 +CONFIG_FEATURE_KLOGD_KLOGCTL=y
  1073 +CONFIG_LOGGER=y
recipes-core/busybox/busybox/ftpget.cfg
... ... @@ -0,0 +1,4 @@
  1 +CONFIG_FTPGET=y
  2 +CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS=y
  3 +CONFIG_FEATURE_DD_IBS_OBS=y
  4 +CONFIG_FEATURE_HEXDUMP_REVERSE=y
recipes-core/busybox/busybox_%.bbappend
... ... @@ -0,0 +1,6 @@
  1 +# Cinfigure Busybox
  2 +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
  3 +
  4 +SRC_URI += "file://defconfig \
  5 + file://ftpget.cfg \
  6 + "
recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
... ... @@ -0,0 +1,5 @@
  1 +RDEPENDS_${PN}_remove = "\
  2 + connman-tools \
  3 + connman-tests \
  4 + connman-client \
  5 + "
recipes-kernel/linux/linux-smarcfimx7_4.9.88.bb
... ... @@ -0,0 +1,54 @@
  1 +# Copyright (C) 2013-2016 Freescale Semiconductor
  2 +# Copyright 2017 NXP
  3 +# Copyright 2018 Embedian, Inc..
  4 +# Released under the MIT license (see COPYING.MIT for the terms)
  5 +
  6 +SUMMARY = "Linux Kernel for SMARC-FiMX7 and supported by Embedian"
  7 +DESCRIPTION = "Linux Kernel provided and supported by Embedian with focus on \
  8 +SMARC-FiMX7 Family Computer on Modules."
  9 +
  10 +LICENSE = "GPLv2"
  11 +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
  12 +
  13 +require recipes-kernel/linux/linux-imx.inc
  14 +
  15 +DEPENDS += "lzop-native bc-native"
  16 +
  17 +DEFAULT_PREFERENCE = "1"
  18 +
  19 +DO_CONFIG_V7_COPY = "no"
  20 +DO_CONFIG_V7_COPY_mx6 = "yes"
  21 +DO_CONFIG_V7_COPY_mx7 = "yes"
  22 +DO_CONFIG_V7_COPY_mx8 = "no"
  23 +
  24 +SRCBRANCH = "smarc-imx7_4.9.88_2.0.0_ga"
  25 +
  26 +LOCALVERSION = "-${SRCBRANCH}"
  27 +DEFCONFIG_mx7 = "smarcfimx7_defconfig"
  28 +
  29 +KERNEL_SRC ?= "git@git.embedian.com:developer/smarc-fsl-linux-kernel.git;protocol=git"
  30 +SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH}"
  31 +SRCREV = "9f503a4b89833562be086674bf5a80297ab60485"
  32 +
  33 +S = "${WORKDIR}/git"
  34 +
  35 +addtask copy_defconfig after do_unpack before do_preconfigure
  36 +do_copy_defconfig () {
  37 + install -d ${B}
  38 + if [ ${DO_CONFIG_V7_COPY} = "yes" ]; then
  39 + # copy latest imx_v7_defconfig to use for mx6, mx6ul and mx7
  40 + mkdir -p ${B}
  41 + cp ${S}/arch/arm/configs/${DEFCONFIG_mx7} ${B}/.config
  42 + cp ${S}/arch/arm/configs/${DEFCONFIG_mx7} ${B}/../defconfig
  43 + else
  44 + # copy latest defconfig to use for mx8
  45 + mkdir -p ${B}
  46 + cp ${S}/arch/arm64/configs/${DEFCONFIG_mx8} ${B}/.config
  47 + cp ${S}/arch/arm64/configs/${DEFCONFIG_mx8} ${B}/../defconfig
  48 + fi
  49 +}
  50 +
  51 +COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
  52 +EXTRA_OEMAKE_append_mx6 = " ARCH=arm"
  53 +EXTRA_OEMAKE_append_mx7 = " ARCH=arm"
  54 +EXTRA_OEMAKE_append_mx8 = " ARCH=arm64"
recipes-multimedia/gst-plugins-good/files/increase_min_buffers.patch
... ... @@ -0,0 +1,13 @@
  1 +diff --git a/sys/v4l2/gstv4l2object.h b/sys/v4l2/gstv4l2object.h
  2 +index 231b1ab..58c9d8b 100644
  3 +--- a/sys/v4l2/gstv4l2object.h
  4 ++++ b/sys/v4l2/gstv4l2object.h
  5 +@@ -39,7 +39,7 @@ typedef struct _GstV4l2Xv GstV4l2Xv;
  6 + #include <gstv4l2bufferpool.h>
  7 +
  8 + /* size of v4l2 buffer pool in streaming case */
  9 +-#define GST_V4L2_MIN_BUFFERS 2
  10 ++#define GST_V4L2_MIN_BUFFERS 6
  11 +
  12 + /* max frame width/height */
  13 + #define GST_V4L2_MAX_SIZE (1<<15) /* 2^15 == 32768 */
recipes-multimedia/gst-plugins-good/gstreamer1.0-plugins-good_1.12.%.bbappend
... ... @@ -0,0 +1,6 @@
  1 +FILESEXTRAPATHS_prepend := "${THISDIR}/files/:"
  2 +
  3 +SRC_URI += " \
  4 + file://increase_min_buffers.patch \
  5 +"
  6 +
recipes-multimedia/pulseaudio/pulseaudio/default.pa
... ... @@ -0,0 +1,170 @@
  1 +#!/usr/bin/pulseaudio -nF
  2 +#
  3 +# This file is part of PulseAudio.
  4 +#
  5 +# PulseAudio is free software; you can redistribute it and/or modify it
  6 +# under the terms of the GNU Lesser General Public License as published by
  7 +# the Free Software Foundation; either version 2 of the License, or
  8 +# (at your option) any later version.
  9 +#
  10 +# PulseAudio is distributed in the hope that it will be useful, but
  11 +# WITHOUT ANY WARRANTY; without even the implied warranty of
  12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13 +# General Public License for more details.
  14 +#
  15 +# You should have received a copy of the GNU Lesser General Public License
  16 +# along with PulseAudio; if not, write to the Free Software Foundation,
  17 +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  18 +
  19 +# This startup script is used only if PulseAudio is started per-user
  20 +# (i.e. not in system mode)
  21 +
  22 +.nofail
  23 +
  24 +### Load something into the sample cache
  25 +#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
  26 +#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
  27 +#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
  28 +#load-sample-lazy pulse-access /usr/share/sounds/generic.wav
  29 +
  30 +.fail
  31 +
  32 +### Automatically restore the volume of streams and devices
  33 +load-module module-device-restore
  34 +load-module module-stream-restore
  35 +load-module module-card-restore
  36 +
  37 +### Automatically augment property information from .desktop files
  38 +### stored in /usr/share/application
  39 +load-module module-augment-properties
  40 +
  41 +### Should be after module-*-restore but before module-*-detect
  42 +load-module module-switch-on-port-available
  43 +
  44 +### Load audio drivers statically
  45 +### (it's probably better to not load these drivers manually, but instead
  46 +### use module-udev-detect -- see below -- for doing this automatically)
  47 +load-module module-alsa-sink
  48 +load-module module-alsa-source device=hw:0,0
  49 +#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
  50 +#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
  51 +#load-module module-null-sink
  52 +#load-module module-pipe-sink
  53 +
  54 +### Automatically load driver modules depending on the hardware available
  55 +#.ifexists module-udev-detect.so
  56 +#load-module module-udev-detect tsched=0
  57 +#.else
  58 +### Use the static hardware detection module (for systems that lack udev support)
  59 +#load-module module-detect
  60 +#.endif
  61 +
  62 +### Automatically connect sink and source if JACK server is present
  63 +.ifexists module-jackdbus-detect.so
  64 +.nofail
  65 +load-module module-jackdbus-detect channels=2
  66 +.fail
  67 +.endif
  68 +
  69 +### Automatically load driver modules for Bluetooth hardware
  70 +.ifexists module-bluetooth-policy.so
  71 +load-module module-bluetooth-policy
  72 +.endif
  73 +
  74 +.ifexists module-bluetooth-discover.so
  75 +load-module module-bluetooth-discover
  76 +.endif
  77 +
  78 +### Load several protocols
  79 +.ifexists module-esound-protocol-unix.so
  80 +load-module module-esound-protocol-unix
  81 +.endif
  82 +load-module module-native-protocol-unix
  83 +
  84 +### Network access (may be configured with paprefs, so leave this commented
  85 +### here if you plan to use paprefs)
  86 +#load-module module-esound-protocol-tcp
  87 +#load-module module-native-protocol-tcp
  88 +#load-module module-zeroconf-publish
  89 +
  90 +### Load the RTP receiver module (also configured via paprefs, see above)
  91 +#load-module module-rtp-recv
  92 +
  93 +### Load the RTP sender module (also configured via paprefs, see above)
  94 +#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
  95 +#load-module module-rtp-send source=rtp.monitor
  96 +
  97 +### Load additional modules from GConf settings. This can be configured with the paprefs tool.
  98 +### Please keep in mind that the modules configured by paprefs might conflict with manually
  99 +### loaded modules.
  100 +.ifexists module-gconf.so
  101 +.nofail
  102 +load-module module-gconf
  103 +.fail
  104 +.endif
  105 +
  106 +### Automatically restore the default sink/source when changed by the user
  107 +### during runtime
  108 +### NOTE: This should be loaded as early as possible so that subsequent modules
  109 +### that look up the default sink/source get the right value
  110 +load-module module-default-device-restore
  111 +
  112 +### Automatically move streams to the default sink if the sink they are
  113 +### connected to dies, similar for sources
  114 +load-module module-rescue-streams
  115 +
  116 +### Make sure we always have a sink around, even if it is a null sink.
  117 +load-module module-always-sink
  118 +
  119 +### Honour intended role device property
  120 +load-module module-intended-roles
  121 +
  122 +### Automatically suspend sinks/sources that become idle for too long
  123 +load-module module-suspend-on-idle
  124 +
  125 +### If autoexit on idle is enabled we want to make sure we only quit
  126 +### when no local session needs us anymore.
  127 +.ifexists module-console-kit.so
  128 +load-module module-console-kit
  129 +.endif
  130 +.ifexists module-systemd-login.so
  131 +load-module module-systemd-login
  132 +.endif
  133 +
  134 +### Enable positioned event sounds
  135 +load-module module-position-event-sounds
  136 +
  137 +### Cork music/video streams when a phone stream is active
  138 +load-module module-role-cork
  139 +
  140 +### Modules to allow autoloading of filters (such as echo cancellation)
  141 +### on demand. module-filter-heuristics tries to determine what filters
  142 +### make sense, and module-filter-apply does the heavy-lifting of
  143 +### loading modules and rerouting streams.
  144 +load-module module-filter-heuristics
  145 +load-module module-filter-apply
  146 +
  147 +### Load DBus protocol
  148 +.ifexists module-dbus-protocol.so
  149 +load-module module-dbus-protocol
  150 +.endif
  151 +
  152 +# X11 modules should not be started from default.pa so that one daemon
  153 +# can be shared by multiple sessions.
  154 +
  155 +### Load X11 bell module
  156 +#load-module module-x11-bell sample=bell-windowing-system
  157 +
  158 +### Register ourselves in the X11 session manager
  159 +#load-module module-x11-xsmp
  160 +
  161 +### Publish connection data in the X11 root window
  162 +#.ifexists module-x11-publish.so
  163 +#.nofail
  164 +#load-module module-x11-publish
  165 +#.fail
  166 +#.endif
  167 +
  168 +### Make some devices default
  169 +#set-default-sink output
  170 +#set-default-source input
recipes-multimedia/pulseaudio/pulseaudio/init
... ... @@ -0,0 +1,45 @@
  1 +#!/bin/sh
  2 +
  3 +DAEMON=/usr/bin/pulseaudio
  4 +PIDDIR=/var/run/pulse
  5 +PIDFILE=$PIDDIR/pid
  6 +DAEMONUSER=pulse
  7 +
  8 +pulseaudio_start() {
  9 +
  10 + if [ ! -d ${PIDDIR} ]; then
  11 + mkdir -p ${PIDDIR}
  12 + chown ${DAEMONUSER}:${DAEMONUSER} ${PIDDIR}
  13 + fi
  14 +
  15 + start-stop-daemon -x ${DAEMON} -p ${PIDFILE} --start -- \
  16 + --system --disallow-exit --disable-shm --exit-idle-time=-1 \
  17 + --daemonize --log-target=syslog
  18 +}
  19 +
  20 +pulseaudio_stop() {
  21 + start-stop-daemon -p ${PIDFILE} --stop --retry 5 || echo -n "...which is not running"
  22 +}
  23 +
  24 +case "$1" in
  25 + start|stop)
  26 + pulseaudio_${1}
  27 + ;;
  28 + restart|force-reload)
  29 + if [ -s ${PIDFILE} ] && kill -0 $(cat ${PIDFILE}) >/dev/null 2>&1; then
  30 + pulseaudio_stop
  31 + pulseaudio_start
  32 + fi
  33 + ;;
  34 + force-stop)
  35 + pulseaudio_stop
  36 + killall pulseaudio || true
  37 + sleep 2
  38 + killall -9 pulseaudio || true
  39 + ;;
  40 + *)
  41 + echo "Usage: /etc/init.d/pulseaudio {start|stop|force-stop|restart|force-reload}"
  42 + exit 1
  43 + ;;
  44 +esac
  45 +
recipes-multimedia/pulseaudio/pulseaudio/pulseaudio-bluetooth.conf
... ... @@ -0,0 +1,8 @@
  1 +<busconfig>
  2 +
  3 + <policy user="pulse">
  4 + <allow send_destination="org.bluez"/>
  5 + </policy>
  6 +
  7 +</busconfig>
  8 +
recipes-multimedia/pulseaudio/pulseaudio/pulseaudio.service
... ... @@ -0,0 +1,10 @@
  1 +[Unit]
  2 +Description=PulseAudio system server
  3 +
  4 +[Service]
  5 +Type=forking
  6 +PIDFile=/var/run/pulse/pid
  7 +ExecStart=/usr/bin/pulseaudio --system --disallow-exit --disable-shm --exit-idle-time=-1 --daemonize
  8 +
  9 +[Install]
  10 +WantedBy=multi-user.target
recipes-multimedia/pulseaudio/pulseaudio/system.pa
... ... @@ -0,0 +1,170 @@
  1 +#!/usr/bin/pulseaudio -nF
  2 +#
  3 +# This file is part of PulseAudio.
  4 +#
  5 +# PulseAudio is free software; you can redistribute it and/or modify it
  6 +# under the terms of the GNU Lesser General Public License as published by
  7 +# the Free Software Foundation; either version 2 of the License, or
  8 +# (at your option) any later version.
  9 +#
  10 +# PulseAudio is distributed in the hope that it will be useful, but
  11 +# WITHOUT ANY WARRANTY; without even the implied warranty of
  12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13 +# General Public License for more details.
  14 +#
  15 +# You should have received a copy of the GNU Lesser General Public License
  16 +# along with PulseAudio; if not, write to the Free Software Foundation,
  17 +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  18 +
  19 +# This startup script is used only if PulseAudio is started per-user
  20 +# (i.e. not in system mode)
  21 +
  22 +.nofail
  23 +
  24 +### Load something into the sample cache
  25 +#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
  26 +#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
  27 +#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
  28 +#load-sample-lazy pulse-access /usr/share/sounds/generic.wav
  29 +
  30 +.fail
  31 +
  32 +### Automatically restore the volume of streams and devices
  33 +load-module module-device-restore
  34 +load-module module-stream-restore
  35 +load-module module-card-restore
  36 +
  37 +### Automatically augment property information from .desktop files
  38 +### stored in /usr/share/application
  39 +#load-module module-augment-properties
  40 +
  41 +### Should be after module-*-restore but before module-*-detect
  42 +load-module module-switch-on-port-available
  43 +
  44 +### Load audio drivers statically
  45 +### (it's probably better to not load these drivers manually, but instead
  46 +### use module-udev-detect -- see below -- for doing this automatically)
  47 +load-module module-alsa-sink
  48 +load-module module-alsa-source device=hw:0,0
  49 +#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
  50 +#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
  51 +#load-module module-null-sink
  52 +#load-module module-pipe-sink
  53 +
  54 +### Load driver modules for Bluetooth hardware
  55 +.ifexists module-bluetooth-policy.so
  56 +load-module module-bluetooth-policy
  57 +.endif
  58 +
  59 +.ifexists module-bluetooth-discover.so
  60 +load-module module-bluetooth-discover
  61 +.endif
  62 +
  63 +### Automatically load driver modules depending on the hardware available
  64 +#.ifexists module-udev-detect.so
  65 +#load-module module-udev-detect tsched=0
  66 +#.else
  67 +### Use the static hardware detection module (for systems that lack udev support)
  68 +#load-module module-detect
  69 +#.endif
  70 +
  71 +### Automatically connect sink and source if JACK server is present
  72 +.ifexists module-jackdbus-detect.so
  73 +.nofail
  74 +load-module module-jackdbus-detect channels=2
  75 +.fail
  76 +.endif
  77 +
  78 +### Load several protocols
  79 +.ifexists module-esound-protocol-unix.so
  80 +load-module module-esound-protocol-unix
  81 +.endif
  82 +load-module module-native-protocol-unix auth-anonymous=1
  83 +
  84 +### Network access (may be configured with paprefs, so leave this commented
  85 +### here if you plan to use paprefs)
  86 +#load-module module-esound-protocol-tcp
  87 +#load-module module-native-protocol-tcp
  88 +#load-module module-zeroconf-publish
  89 +
  90 +### Load the RTP receiver module (also configured via paprefs, see above)
  91 +#load-module module-rtp-recv
  92 +
  93 +### Load the RTP sender module (also configured via paprefs, see above)
  94 +#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
  95 +#load-module module-rtp-send source=rtp.monitor
  96 +
  97 +### Load additional modules from GConf settings. This can be configured with the paprefs tool.
  98 +### Please keep in mind that the modules configured by paprefs might conflict with manually
  99 +### loaded modules.
  100 +#.ifexists module-gconf.so
  101 +#.nofail
  102 +#load-module module-gconf
  103 +#.fail
  104 +#.endif
  105 +
  106 +### Automatically restore the default sink/source when changed by the user
  107 +### during runtime
  108 +### NOTE: This should be loaded as early as possible so that subsequent modules
  109 +### that look up the default sink/source get the right value
  110 +load-module module-default-device-restore
  111 +
  112 +### Automatically move streams to the default sink if the sink they are
  113 +### connected to dies, similar for sources
  114 +load-module module-rescue-streams
  115 +
  116 +### Make sure we always have a sink around, even if it is a null sink.
  117 +load-module module-always-sink
  118 +
  119 +### Honour intended role device property
  120 +load-module module-intended-roles
  121 +
  122 +### Automatically suspend sinks/sources that become idle for too long
  123 +load-module module-suspend-on-idle
  124 +
  125 +### If autoexit on idle is enabled we want to make sure we only quit
  126 +### when no local session needs us anymore.
  127 +#.ifexists module-console-kit.so
  128 +#load-module module-console-kit
  129 +#.endif
  130 +#.ifexists module-systemd-login.so
  131 +#load-module module-systemd-login
  132 +#.endif
  133 +
  134 +### Enable positioned event sounds
  135 +load-module module-position-event-sounds
  136 +
  137 +### Cork music/video streams when a phone stream is active
  138 +load-module module-role-cork
  139 +
  140 +### Modules to allow autoloading of filters (such as echo cancellation)
  141 +### on demand. module-filter-heuristics tries to determine what filters
  142 +### make sense, and module-filter-apply does the heavy-lifting of
  143 +### loading modules and rerouting streams.
  144 +load-module module-filter-heuristics
  145 +load-module module-filter-apply
  146 +
  147 +### Load DBus protocol
  148 +.ifexists module-dbus-protocol.so
  149 +load-module module-dbus-protocol
  150 +.endif
  151 +
  152 +# X11 modules should not be started from default.pa so that one daemon
  153 +# can be shared by multiple sessions.
  154 +
  155 +### Load X11 bell module
  156 +#load-module module-x11-bell sample=bell-windowing-system
  157 +
  158 +### Register ourselves in the X11 session manager
  159 +#load-module module-x11-xsmp
  160 +
  161 +### Publish connection data in the X11 root window
  162 +#.ifexists module-x11-publish.so
  163 +#.nofail
  164 +#load-module module-x11-publish
  165 +#.fail
  166 +#.endif
  167 +
  168 +### Make some devices default
  169 +#set-default-sink output
  170 +#set-default-source input
recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
... ... @@ -0,0 +1,31 @@
  1 +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/:"
  2 +
  3 +SRC_URI += " \
  4 + file://init \
  5 + file://pulseaudio-bluetooth.conf \
  6 + file://system.pa \
  7 + file://pulseaudio.service \
  8 +"
  9 +
  10 +FILES_${PN} += "${sysconfdir}/systemd/system/*"
  11 +
  12 +do_install_append() {
  13 + install -d ${D}/${sysconfdir}/dbus-1/system.d
  14 + install -d ${D}/${sysconfdir}/pulse
  15 +
  16 + install -m 0644 ${WORKDIR}/pulseaudio-bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d
  17 + install -m 0644 ${WORKDIR}/system.pa ${D}/${sysconfdir}/pulse
  18 +
  19 + if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
  20 + install -d ${D}${sysconfdir}/systemd/system/multi-user.target.wants
  21 + install -m 0644 ${WORKDIR}/pulseaudio.service ${D}${sysconfdir}/systemd/system
  22 + ln -sf ${sysconfdir}/systemd/system/pulseaudio.service \
  23 + ${D}${sysconfdir}/systemd/system/multi-user.target.wants/pulseaudio.service
  24 + else
  25 + install -d ${D}/${sysconfdir}/init.d
  26 + install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/pulseaudio
  27 + update-rc.d -r ${D} pulseaudio defaults
  28 + fi
  29 +
  30 + rm -f ${D}/${sysconfdir}/xdg/autostart/pulseaudio.desktop
  31 +}