From 9912d988b92567e97f7602a0fa59e9da9bd9cbb8 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 12 Aug 2014 09:15:02 +0200 Subject: [PATCH] linux-yocto 3.10 bbappend: make FRI2 actually useful Enable bluetooth, wifi, RTC and disable things like PS/2. Signed-off-by: Koen Kooi --- recipes-tweaks/linux/fragment.cfg | 3 + recipes-tweaks/linux/linux-yocto/bt.cfg | 21 ++ recipes-tweaks/linux/linux-yocto/hwmon.cfg | 2 + recipes-tweaks/linux/linux-yocto/iotop.cfg | 4 + recipes-tweaks/linux/linux-yocto/no8042.cfg | 3 + recipes-tweaks/linux/linux-yocto/nopchcan.cfg | 1 + recipes-tweaks/linux/linux-yocto/rtc-iio.cfg | 204 ++++++++++++++++++ .../linux/linux-yocto_3.10.bbappend | 21 ++ 8 files changed, 259 insertions(+) create mode 100644 recipes-tweaks/linux/fragment.cfg create mode 100644 recipes-tweaks/linux/linux-yocto/bt.cfg create mode 100644 recipes-tweaks/linux/linux-yocto/hwmon.cfg create mode 100644 recipes-tweaks/linux/linux-yocto/iotop.cfg create mode 100644 recipes-tweaks/linux/linux-yocto/no8042.cfg create mode 100644 recipes-tweaks/linux/linux-yocto/nopchcan.cfg create mode 100644 recipes-tweaks/linux/linux-yocto/rtc-iio.cfg create mode 100644 recipes-tweaks/linux/linux-yocto_3.10.bbappend diff --git a/recipes-tweaks/linux/fragment.cfg b/recipes-tweaks/linux/fragment.cfg new file mode 100644 index 0000000..2c99b50 --- /dev/null +++ b/recipes-tweaks/linux/fragment.cfg @@ -0,0 +1,3 @@ +++ .config 2014-06-05 11:42:23.763165402 +0200 +# Linux/x86 3.10.38-ltsi Kernel Configuration +# CONFIG_PCH_CAN is not set diff --git a/recipes-tweaks/linux/linux-yocto/bt.cfg b/recipes-tweaks/linux/linux-yocto/bt.cfg new file mode 100644 index 0000000..f39aa88 --- /dev/null +++ b/recipes-tweaks/linux/linux-yocto/bt.cfg @@ -0,0 +1,21 @@ +CONFIG_BT_RFCOMM=m +CONFIG_BT_RFCOMM_TTY=y +CONFIG_BT_BNEP=m +CONFIG_BT_BNEP_MC_FILTER=y +CONFIG_BT_BNEP_PROTO_FILTER=y +CONFIG_BT_HIDP=m +CONFIG_BT_HCIBTUSB=m +CONFIG_BT_HCIBTSDIO=m +CONFIG_BT_HCIUART=m +CONFIG_BT_HCIUART_H4=y +CONFIG_BT_HCIUART_BCSP=y +CONFIG_BT_HCIUART_ATH3K=y +CONFIG_BT_HCIUART_LL=y +CONFIG_BT_HCIUART_3WIRE=y +CONFIG_BT_HCIBCM203X=m +CONFIG_BT_HCIBPA10X=m +CONFIG_BT_HCIBFUSB=m +CONFIG_BT_HCIVHCI=m +CONFIG_BT_MRVL=m +CONFIG_BT_MRVL_SDIO=m +CONFIG_BT_ATH3K=m diff --git a/recipes-tweaks/linux/linux-yocto/hwmon.cfg b/recipes-tweaks/linux/linux-yocto/hwmon.cfg new file mode 100644 index 0000000..d40f7e4 --- /dev/null +++ b/recipes-tweaks/linux/linux-yocto/hwmon.cfg @@ -0,0 +1,2 @@ +CONFIG_SENSORS_CORETEMP=y +CONFIG_SENSORS_ACPI_POWER=y diff --git a/recipes-tweaks/linux/linux-yocto/iotop.cfg b/recipes-tweaks/linux/linux-yocto/iotop.cfg new file mode 100644 index 0000000..5015239 --- /dev/null +++ b/recipes-tweaks/linux/linux-yocto/iotop.cfg @@ -0,0 +1,4 @@ +CONFIG_TASKSTATS=y +CONFIG_TASK_DELAY_ACCT=y +CONFIG_TASK_XACCT=y +CONFIG_TASK_IO_ACCOUNTING=y diff --git a/recipes-tweaks/linux/linux-yocto/no8042.cfg b/recipes-tweaks/linux/linux-yocto/no8042.cfg new file mode 100644 index 0000000..360cdee --- /dev/null +++ b/recipes-tweaks/linux/linux-yocto/no8042.cfg @@ -0,0 +1,3 @@ +# CONFIG_KEYBOARD_ATKBD is not set +# CONFIG_MOUSE_PS2 is not set +# CONFIG_SERIO_I8042 is not set diff --git a/recipes-tweaks/linux/linux-yocto/nopchcan.cfg b/recipes-tweaks/linux/linux-yocto/nopchcan.cfg new file mode 100644 index 0000000..dda5e35 --- /dev/null +++ b/recipes-tweaks/linux/linux-yocto/nopchcan.cfg @@ -0,0 +1 @@ +# CONFIG_PCH_CAN is not set diff --git a/recipes-tweaks/linux/linux-yocto/rtc-iio.cfg b/recipes-tweaks/linux/linux-yocto/rtc-iio.cfg new file mode 100644 index 0000000..4d598d6 --- /dev/null +++ b/recipes-tweaks/linux/linux-yocto/rtc-iio.cfg @@ -0,0 +1,204 @@ +CONFIG_HPET_EMULATE_RTC=y +# CONFIG_PM_TEST_SUSPEND is not set +CONFIG_REGMAP=y +CONFIG_REGMAP_I2C=m +CONFIG_REGMAP_SPI=m +CONFIG_GENERIC_ADC_BATTERY=m +CONFIG_SENSORS_IIO_HWMON=m +CONFIG_HID_SENSOR_HUB=m +CONFIG_RTC_CLASS=y +CONFIG_RTC_HCTOSYS=y +CONFIG_RTC_SYSTOHC=y +CONFIG_RTC_HCTOSYS_DEVICE="rtc0" +# CONFIG_RTC_DEBUG is not set + +# +# RTC interfaces +# +CONFIG_RTC_INTF_SYSFS=y +# CONFIG_RTC_INTF_PROC is not set +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=y +CONFIG_RTC_DRV_DS1374=m +CONFIG_RTC_DRV_DS1672=m +CONFIG_RTC_DRV_DS3232=m +CONFIG_RTC_DRV_MAX6900=m +CONFIG_RTC_DRV_RS5C372=m +CONFIG_RTC_DRV_ISL1208=m +CONFIG_RTC_DRV_ISL12022=m +CONFIG_RTC_DRV_X1205=m +CONFIG_RTC_DRV_PCF8523=m +CONFIG_RTC_DRV_PCF8563=m +CONFIG_RTC_DRV_PCF8583=m +CONFIG_RTC_DRV_M41T80=m +CONFIG_RTC_DRV_M41T80_WDT=y +CONFIG_RTC_DRV_BQ32K=m +CONFIG_RTC_DRV_S35390A=m +CONFIG_RTC_DRV_FM3130=m +CONFIG_RTC_DRV_RX8581=m +CONFIG_RTC_DRV_RX8025=m +CONFIG_RTC_DRV_EM3027=m +CONFIG_RTC_DRV_RV3029C2=m + +# +# SPI RTC drivers +# +CONFIG_RTC_DRV_M41T93=m +CONFIG_RTC_DRV_M41T94=m +CONFIG_RTC_DRV_DS1305=m +CONFIG_RTC_DRV_DS1390=m +CONFIG_RTC_DRV_MAX6902=m +CONFIG_RTC_DRV_R9701=m +CONFIG_RTC_DRV_RS5C348=m +CONFIG_RTC_DRV_DS3234=m +CONFIG_RTC_DRV_PCF2123=m +CONFIG_RTC_DRV_RX4581=m + +# +# Platform RTC drivers +# +CONFIG_RTC_DRV_CMOS=y +CONFIG_RTC_DRV_DS1286=m +CONFIG_RTC_DRV_DS1511=m +CONFIG_RTC_DRV_DS1553=m +CONFIG_RTC_DRV_DS1742=m +CONFIG_RTC_DRV_STK17TA8=m +CONFIG_RTC_DRV_M48T86=m +CONFIG_RTC_DRV_M48T35=m +CONFIG_RTC_DRV_M48T59=m +CONFIG_RTC_DRV_MSM6242=m +CONFIG_RTC_DRV_BQ4802=m +CONFIG_RTC_DRV_RP5C01=m +CONFIG_RTC_DRV_V3020=m +CONFIG_RTC_DRV_DS2404=m + +# +# on-CPU RTC drivers +# + +# +# HID Sensor RTC drivers +# +CONFIG_RTC_DRV_HID_SENSOR_TIME=m +@@ -3831,7 3917,121 @@ +CONFIG_IIO=m +CONFIG_IIO_BUFFER=y +CONFIG_IIO_BUFFER_CB=y +CONFIG_IIO_KFIFO_BUF=m +CONFIG_IIO_TRIGGERED_BUFFER=m +CONFIG_IIO_TRIGGER=y +CONFIG_IIO_CONSUMERS_PER_TRIGGER=2 + +# +# Accelerometers +# +CONFIG_HID_SENSOR_ACCEL_3D=m +CONFIG_KXSD9=m +CONFIG_IIO_ST_ACCEL_3AXIS=m +CONFIG_IIO_ST_ACCEL_I2C_3AXIS=m +CONFIG_IIO_ST_ACCEL_SPI_3AXIS=m + +# +# Analog to digital converters +# +CONFIG_AD_SIGMA_DELTA=m +CONFIG_AD7266=m +CONFIG_AD7298=m +CONFIG_AD7923=m +CONFIG_AD7791=m +CONFIG_AD7793=m +CONFIG_AD7476=m +CONFIG_AD7887=m +CONFIG_MAX1363=m +CONFIG_TI_ADC081C=m + +# +# Amplifiers +# +CONFIG_AD8366=m + +# +# Hid Sensor IIO Common +# +CONFIG_HID_SENSOR_IIO_COMMON=m +CONFIG_HID_SENSOR_IIO_TRIGGER=m +# CONFIG_HID_SENSOR_ENUM_BASE_QUIRKS is not set +CONFIG_IIO_ST_SENSORS_I2C=m +CONFIG_IIO_ST_SENSORS_SPI=m +CONFIG_IIO_ST_SENSORS_CORE=m + +# +# Digital to analog converters +# +CONFIG_AD5064=m +CONFIG_AD5360=m +CONFIG_AD5380=m +CONFIG_AD5421=m +CONFIG_AD5624R_SPI=m +CONFIG_AD5446=m +CONFIG_AD5449=m +CONFIG_AD5504=m +CONFIG_AD5755=m +CONFIG_AD5764=m +CONFIG_AD5791=m +CONFIG_AD5686=m +CONFIG_MAX517=m +CONFIG_MCP4725=m + +# +# Frequency Synthesizers DDS/PLL +# + +# +# Clock Generator/Distribution +# +# CONFIG_AD9523 is not set + +# +# Phase-Locked Loop (PLL) frequency synthesizers +# +# CONFIG_ADF4350 is not set + +# +# Digital gyroscope sensors +# +# CONFIG_ADIS16080 is not set +CONFIG_ADIS16136=m +CONFIG_ADXRS450=m +CONFIG_HID_SENSOR_GYRO_3D=m +CONFIG_IIO_ST_GYRO_3AXIS=m +CONFIG_IIO_ST_GYRO_I2C_3AXIS=m +CONFIG_IIO_ST_GYRO_SPI_3AXIS=m +CONFIG_ITG3200=m + +# +# Inertial measurement units +# +CONFIG_ADIS16400=m +CONFIG_ADIS16480=m +CONFIG_IIO_ADIS_LIB=m +CONFIG_IIO_ADIS_LIB_BUFFER=y +CONFIG_INV_MPU6050_IIO=m + +# +# Light sensors +# +CONFIG_ADJD_S311=m +CONFIG_SENSORS_TSL2563=m +CONFIG_VCNL4000=m +CONFIG_HID_SENSOR_ALS=m + +# +# Magnetometer sensors +# +CONFIG_AK8975=m +CONFIG_HID_SENSOR_MAGNETOMETER_3D=m +CONFIG_IIO_ST_MAGN_3AXIS=m +CONFIG_IIO_ST_MAGN_I2C_3AXIS=m +CONFIG_IIO_ST_MAGN_SPI_3AXIS=m diff --git a/recipes-tweaks/linux/linux-yocto_3.10.bbappend b/recipes-tweaks/linux/linux-yocto_3.10.bbappend new file mode 100644 index 0000000..8714ed1 --- /dev/null +++ b/recipes-tweaks/linux/linux-yocto_3.10.bbappend @@ -0,0 +1,21 @@ +# Enable more linux-yocto features for various machines + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI_append_fri2 = " file://bt.cfg \ + file://rtc-iio.cfg \ + file://hwmon.cfg \ + file://iotop.cfg \ + file://no8042.cfg \ + file://nopchcan.cfg \ + " +KERNEL_FEATURES_append_fri2 = " \ + features/netfilter/netfilter.scc \ + features/usb-net/usb-net.scc \ + features/wifi/wifi-all.scc \ + features/media/media-all.scc \ + features/leds/leds \ + features/rfkill/rfkill \ + " + +