From ca10632f28531c8b3532024ee30e33575035557a Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Fri, 28 Oct 2016 20:18:04 +0200 Subject: [PATCH 1/8] Added BT loader for Banana M2+ --- extras/tools.sh | 5 +++- scripts/ap6212-bluetooth | 61 ++++++++++++++++++++++++++++++++++++++++ scripts/firstrun | 3 ++ 3 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 scripts/ap6212-bluetooth diff --git a/extras/tools.sh b/extras/tools.sh index 880cab03e7d8..9a8a8fd06ec2 100644 --- a/extras/tools.sh +++ b/extras/tools.sh @@ -47,9 +47,12 @@ compile_tools() # brcm cp $tmpdir/brcm/{brcm_bt_reset,brcm_patchram_plus} $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH}/usr/bin # brcm configs and service - install -m 644 $SRC/lib/scripts/brcm40183 $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH}/etc/default + install -m 644 $SRC/lib/scripts/brcm40183 $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH}/etc/default install -m 755 $SRC/lib/scripts/brcm40183-patch $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH}/etc/init.d + # ap6212 BT + install -m 644 $SRC/lib/scripts/ap6212-bluetooth $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH}/etc/init.d + cd $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH} find . -type f ! -regex '.*.hg.*' ! -regex '.*?debian-binary.*' ! -regex '.*?DEBIAN.*' -printf '%P ' | xargs md5sum > DEBIAN/md5sums cd $tmpdir diff --git a/scripts/ap6212-bluetooth b/scripts/ap6212-bluetooth new file mode 100644 index 000000000000..b7af5b651032 --- /dev/null +++ b/scripts/ap6212-bluetooth @@ -0,0 +1,61 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: ap6212-bluetooth +# Required-Start: $local_fs +# Required-Stop: +# X-Start-Before: bluetooth +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Patch firmware for ap6212 adapter +# Description: Patch firmware for ap6212 adapter +### END INIT INFO + +# exit if bluetooth utils are not installed +[ -f "/bin/hciconfig" ] || exit 0 + +# copy firmware + +if [ -f "/lib/firmware/ap6212/bcm43438a0.hcd" ] && [ ! -f /etc/firmware/ap6212/4343A0.hcd ]; then + mkdir -p /etc/firmware/ap6212 + cp /lib/firmware/ap6212/bcm43438a0.hcd /etc/firmware/ap6212/4343A0.hcd +fi + + +. /lib/lsb/init-functions + +do_start () { + +if [ ! -z $(hciconfig | /bin/grep UART | /usr/bin/cut -d: -f1) ] +then + echo "ap6212 BT device allready initialized" + hcitool dev + else + # Start patching + rfkill unblock all + echo "0" > /sys/class/rfkill/rfkill0/state + echo "1" > /sys/class/rfkill/rfkill0/state + echo " " > /dev/ttyS1 + hciattach /dev/ttyS1 bcm43xx 115200 + hciconfig hci0 up +fi +} + +case "$1" in + start) + do_start + ;; + restart|reload|force-reload) + echo "Error: argument '$1' not supported" >&2 + exit 3 + ;; + stop) + # No-op + ;; + status) + hcitool dev + ;; + *) + echo "Usage: ap6212-bluetooth [start|stop|status]" >&2 + exit 3 + ;; +esac \ No newline at end of file diff --git a/scripts/firstrun b/scripts/firstrun index 0a5852f6e5d9..7b699fe44795 100644 --- a/scripts/firstrun +++ b/scripts/firstrun @@ -84,6 +84,9 @@ collect_information() { # enable BT on cubietruck [[ "$BOARD" == "cubietruck" ]] && update-rc.d brcm40183-patch defaults + + # enable BT on Banana M2+ + [[ "$BOARD" == "bananapim2plus" ]] && update-rc.d ap6212-bluetooth defaults # enable BT on Solidrun boards [[ "$BOARD" == "Cubox i2eX/i4" ]] && update-rc.d brcm4330-patch defaults && /etc/init.d/brcm4330-patch start From 785247430cc34eb7bb9fb92d7d187be88340f5d1 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Fri, 28 Oct 2016 20:53:51 +0200 Subject: [PATCH 2/8] Tiny fix - wrong file mode for the script --- extras/tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/tools.sh b/extras/tools.sh index 9a8a8fd06ec2..99232cf5db18 100644 --- a/extras/tools.sh +++ b/extras/tools.sh @@ -51,7 +51,7 @@ compile_tools() install -m 755 $SRC/lib/scripts/brcm40183-patch $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH}/etc/init.d # ap6212 BT - install -m 644 $SRC/lib/scripts/ap6212-bluetooth $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH}/etc/init.d + install -m 755 $SRC/lib/scripts/ap6212-bluetooth $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH}/etc/init.d cd $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH} find . -type f ! -regex '.*.hg.*' ! -regex '.*?debian-binary.*' ! -regex '.*?DEBIAN.*' -printf '%P ' | xargs md5sum > DEBIAN/md5sums From ee15d6ecf53eef8b132fd505ae665af5937b5346 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Sat, 29 Oct 2016 07:57:16 +0200 Subject: [PATCH 3/8] Added missing desktop packages - LibreOffice writer ugly interface fix --- configuration.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration.sh b/configuration.sh index b18a00c78cf7..ada1dc12e865 100644 --- a/configuration.sh +++ b/configuration.sh @@ -142,7 +142,7 @@ case $RELEASE in ;; jessie) PACKAGE_LIST_RELEASE="less makedev kbd libpam-systemd iperf3 software-properties-common libnss-myhostname f2fs-tools" - PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP mozo pluma iceweasel libreoffice-writer icedove policykit-1 policykit-1-gnome eject" + PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP mozo pluma iceweasel libreoffice-writer libreoffice-style-tango libreoffice-gtk libreoffice-gtk3icedove policykit-1 policykit-1-gnome eject" ;; trusty) PACKAGE_LIST_RELEASE="man-db wget nano software-properties-common iperf f2fs-tools acpid" @@ -150,7 +150,7 @@ case $RELEASE in ;; xenial) PACKAGE_LIST_RELEASE="man-db wget nano libpam-systemd software-properties-common libnss-myhostname f2fs-tools iperf3 paprefs" - PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP libreoffice-writer thunderbird firefox gnome-icon-theme-full tango-icon-theme policykit-1" + PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP libreoffice-writer libreoffice-style-tango libreoffice-gtk libreoffice-gtk3icedove thunderbird firefox gnome-icon-theme-full tango-icon-theme policykit-1" ;; esac From 709acc6b3848dfdbd712178ea755c37ed34ae992 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Sat, 29 Oct 2016 08:27:02 +0200 Subject: [PATCH 4/8] Added BT service to Nano Pi AIR, enabled by default, random MAC at start --- extras/tools.sh | 3 ++- scripts/ap6212 | 11 +++++++++++ scripts/ap6212-bluetooth | 26 +++++++++++++++++++++++--- scripts/firstrun | 11 +++++++---- 4 files changed, 43 insertions(+), 8 deletions(-) create mode 100644 scripts/ap6212 diff --git a/extras/tools.sh b/extras/tools.sh index 99232cf5db18..f586fdf24573 100644 --- a/extras/tools.sh +++ b/extras/tools.sh @@ -50,7 +50,8 @@ compile_tools() install -m 644 $SRC/lib/scripts/brcm40183 $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH}/etc/default install -m 755 $SRC/lib/scripts/brcm40183-patch $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH}/etc/init.d - # ap6212 BT + # ap6212 configs and service + install -m 644 $SRC/lib/scripts/ap6212 $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH}/etc/default install -m 755 $SRC/lib/scripts/ap6212-bluetooth $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH}/etc/init.d cd $tmpdir/armbian-tools-${RELEASE}_${REVISION}_${ARCH} diff --git a/scripts/ap6212 b/scripts/ap6212 new file mode 100644 index 000000000000..e87d5d8b07fe --- /dev/null +++ b/scripts/ap6212 @@ -0,0 +1,11 @@ +# +# Default it is called to be uncertain wich MAC address the chipset has. +# Therefore it is recommendable to set the MAC address manually. +# This can be done by setting the variable MAC_ADDR with a chosen value. +# If this variable is empty or not set the default 11:22:33:44:55:66 will be chosen. + +MAC_ADDR=43:29:B1:55:01:01 + +# + +PORT=ttyS1 diff --git a/scripts/ap6212-bluetooth b/scripts/ap6212-bluetooth index b7af5b651032..d4078a4edc95 100644 --- a/scripts/ap6212-bluetooth +++ b/scripts/ap6212-bluetooth @@ -10,6 +10,14 @@ # Description: Patch firmware for ap6212 adapter ### END INIT INFO +DEFAULTS="/etc/default/ap6212" + +# Include ap6212 defaults if available +if [ -r "${DEFAULTS}" ] +then + . "${DEFAULTS}" +fi + # exit if bluetooth utils are not installed [ -f "/bin/hciconfig" ] || exit 0 @@ -30,12 +38,24 @@ then echo "ap6212 BT device allready initialized" hcitool dev else - # Start patching + # Select MAC address + if [ -z "$MAC_ADDR" ]; then + MAC_OPTIONS="11:22:33:44:55:66" + else + MAC_OPTIONS="$MAC_ADDR" + fi + # Select tty port + if [ -z "$PORT" ]; then + log_warning_msg "No PORT set in /etc/default/ap6212, will use ttyS1" + PORT="ttyS1" + fi + + # Start patching rfkill unblock all echo "0" > /sys/class/rfkill/rfkill0/state echo "1" > /sys/class/rfkill/rfkill0/state - echo " " > /dev/ttyS1 - hciattach /dev/ttyS1 bcm43xx 115200 + echo " " > /dev/$PORT + hciattach /dev/$PORT bcm43xx 115200 flow bdaddr $MAC_OPTIONS hciconfig hci0 up fi } diff --git a/scripts/firstrun b/scripts/firstrun index 7b699fe44795..d7cad549f50d 100644 --- a/scripts/firstrun +++ b/scripts/firstrun @@ -86,7 +86,7 @@ collect_information() { [[ "$BOARD" == "cubietruck" ]] && update-rc.d brcm40183-patch defaults # enable BT on Banana M2+ - [[ "$BOARD" == "bananapim2plus" ]] && update-rc.d ap6212-bluetooth defaults + [[ "$BOARD" == "bananapim2plus" || "$BOARD" == "nanopiair" ]] && update-rc.d ap6212-bluetooth defaults # enable BT on Solidrun boards [[ "$BOARD" == "Cubox i2eX/i4" ]] && update-rc.d brcm4330-patch defaults && /etc/init.d/brcm4330-patch start @@ -114,14 +114,17 @@ collect_information() { adjust_sunxi_settings() { # set some mac address for BT - [[ "$(lsmod | grep bcmdhd)" != "" ]] && \ + [[ "$(lsmod | grep dhd)" != "" ]] && \ (MACADDR=$(printf '43:29:B1:%02X:%02X:%02X\n' $[RANDOM%256] $[RANDOM%256] $[RANDOM%256]) ; \ - sed -i "s/^MAC_ADDR=.*/MAC_ADDR=${MACADDR}/" /etc/default/brcm40183 \ + sed -i "s/^MAC_ADDR=.*/MAC_ADDR=${MACADDR}/" /etc/default/brcm40183 ;\ + sed -i "s/^MAC_ADDR=.*/MAC_ADDR=${MACADDR}/" /etc/default/ap6212 \ echo -e "\n### [firstrun] Use MAC address ${MACADDR} for Bluetooth from now" >>${Log}) - # relink /etc/network/interfaces on OPi Lite and NanoPi Air + # change serial port for BT on NanoPi Air + # relink /etc/network/interfaces on OPi Lite and NanoPi Air case ${BOARD_NAME} in "NanoPi Air"|"Orange Pi Lite") + sed -i "s/^PORT=.*/PORT=ttyS3/" /etc/default/ap6212 cd /etc/network/ && ln -sf interfaces.network-manager interfaces ;; esac From cce2cd7f783b7b7557459129e90afc9a48601aa3 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Sat, 29 Oct 2016 09:20:46 +0200 Subject: [PATCH 5/8] Bugfix - removing package which not exists in Jessie package base --- configuration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.sh b/configuration.sh index ada1dc12e865..5c3600ac911b 100644 --- a/configuration.sh +++ b/configuration.sh @@ -142,7 +142,7 @@ case $RELEASE in ;; jessie) PACKAGE_LIST_RELEASE="less makedev kbd libpam-systemd iperf3 software-properties-common libnss-myhostname f2fs-tools" - PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP mozo pluma iceweasel libreoffice-writer libreoffice-style-tango libreoffice-gtk libreoffice-gtk3icedove policykit-1 policykit-1-gnome eject" + PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP mozo pluma iceweasel libreoffice-writer libreoffice-style-tango libreoffice-gtk policykit-1 policykit-1-gnome eject" ;; trusty) PACKAGE_LIST_RELEASE="man-db wget nano software-properties-common iperf f2fs-tools acpid" From 5e67f4326bee5d50105e0c908954ec78bf87db16 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Sat, 29 Oct 2016 10:42:18 +0200 Subject: [PATCH 6/8] This package is also missing --- configuration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.sh b/configuration.sh index 5c3600ac911b..58ec31f49610 100644 --- a/configuration.sh +++ b/configuration.sh @@ -150,7 +150,7 @@ case $RELEASE in ;; xenial) PACKAGE_LIST_RELEASE="man-db wget nano libpam-systemd software-properties-common libnss-myhostname f2fs-tools iperf3 paprefs" - PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP libreoffice-writer libreoffice-style-tango libreoffice-gtk libreoffice-gtk3icedove thunderbird firefox gnome-icon-theme-full tango-icon-theme policykit-1" + PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP libreoffice-writer libreoffice-style-tango libreoffice-gtk thunderbird firefox gnome-icon-theme-full tango-icon-theme policykit-1" ;; esac From 5312145917e37ee3f7c55d14a79b2677c4ea41c7 Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Sat, 29 Oct 2016 13:50:57 +0300 Subject: [PATCH 7/8] Switch sun8i-dev branch to sun8i-emac-wip-v5 --- config/kernel/linux-sun8i-dev.config | 195 +++++++++++++++++++-------- config/sources/sun8i.conf | 4 +- 2 files changed, 139 insertions(+), 60 deletions(-) diff --git a/config/kernel/linux-sun8i-dev.config b/config/kernel/linux-sun8i-dev.config index 364df55809ca..dfcf9f09e82d 100644 --- a/config/kernel/linux-sun8i-dev.config +++ b/config/kernel/linux-sun8i-dev.config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.8.1 Kernel Configuration +# Linux/arm 4.9.0 Kernel Configuration # CONFIG_ARM=y CONFIG_ARM_HAS_SG_CHAIN=y @@ -72,6 +72,7 @@ CONFIG_HANDLE_DOMAIN_IRQ=y CONFIG_IRQ_DOMAIN_DEBUG=y CONFIG_IRQ_FORCED_THREADING=y CONFIG_SPARSE_IRQ=y +CONFIG_ARCH_CLOCKSOURCE_DATA=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_ARCH_HAS_TICK_BROADCAST=y @@ -254,6 +255,7 @@ CONFIG_CLONE_BACKWARDS=y CONFIG_OLD_SIGSUSPEND3=y CONFIG_OLD_SIGACTION=y # CONFIG_CPU_NO_EFFICIENT_FFS is not set +# CONFIG_HAVE_ARCH_VMAP_STACK is not set # # GCOV-based kernel profiling @@ -443,6 +445,7 @@ CONFIG_ARM_THUMB=y # CONFIG_ARM_THUMBEE is not set CONFIG_ARM_VIRT_EXT=y CONFIG_SWP_EMULATE=y +# CONFIG_CPU_BIG_ENDIAN is not set # CONFIG_CPU_ICACHE_DISABLE is not set # CONFIG_CPU_BPREDICT_DISABLE is not set CONFIG_KUSER_HELPERS=y @@ -451,6 +454,7 @@ CONFIG_OUTER_CACHE=y CONFIG_OUTER_CACHE_SYNC=y CONFIG_MIGHT_HAVE_CACHE_L2X0=y CONFIG_CACHE_L2X0=y +# CONFIG_CACHE_L2X0_PMU is not set # CONFIG_PL310_ERRATA_588369 is not set # CONFIG_PL310_ERRATA_727915 is not set # CONFIG_PL310_ERRATA_753970 is not set @@ -459,6 +463,7 @@ CONFIG_ARM_L1_CACHE_SHIFT_6=y CONFIG_ARM_L1_CACHE_SHIFT=6 CONFIG_ARM_DMA_MEM_BUFFERABLE=y CONFIG_ARM_HEAVY_MB=y +CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y CONFIG_DEBUG_RODATA=y CONFIG_DEBUG_ALIGN_RODATA=y CONFIG_MULTI_IRQ_HANDLER=y @@ -660,6 +665,9 @@ CONFIG_BINFMT_ELF=y CONFIG_ELFCORE=y CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y CONFIG_BINFMT_SCRIPT=y +CONFIG_BINFMT_FLAT=y +CONFIG_BINFMT_ZFLAT=y +CONFIG_BINFMT_SHARED_FLAT=y # CONFIG_HAVE_AOUT is not set CONFIG_BINFMT_MISC=m CONFIG_COREDUMP=y @@ -762,6 +770,7 @@ CONFIG_TCP_CONG_YEAH=y CONFIG_TCP_CONG_ILLINOIS=y # CONFIG_TCP_CONG_DCTCP is not set # CONFIG_TCP_CONG_CDG is not set +# CONFIG_TCP_CONG_BBR is not set # CONFIG_DEFAULT_BIC is not set CONFIG_DEFAULT_CUBIC=y # CONFIG_DEFAULT_HTCP is not set @@ -861,9 +870,10 @@ CONFIG_NF_TABLES_INET=m CONFIG_NF_TABLES_NETDEV=m CONFIG_NFT_EXTHDR=m CONFIG_NFT_META=m +# CONFIG_NFT_NUMGEN is not set CONFIG_NFT_CT=m -CONFIG_NFT_RBTREE=m -CONFIG_NFT_HASH=m +# CONFIG_NFT_SET_RBTREE is not set +# CONFIG_NFT_SET_HASH is not set CONFIG_NFT_COUNTER=m CONFIG_NFT_LOG=m CONFIG_NFT_LIMIT=m @@ -871,9 +881,11 @@ CONFIG_NFT_MASQ=m CONFIG_NFT_REDIR=m CONFIG_NFT_NAT=m CONFIG_NFT_QUEUE=m +# CONFIG_NFT_QUOTA is not set CONFIG_NFT_REJECT=m CONFIG_NFT_REJECT_INET=m CONFIG_NFT_COMPAT=m +CONFIG_NFT_HASH=m # CONFIG_NF_DUP_NETDEV is not set # CONFIG_NFT_DUP_NETDEV is not set # CONFIG_NFT_FWD_NETDEV is not set @@ -1029,7 +1041,6 @@ CONFIG_IP_VS_PE_SIP=m # CONFIG_NF_DEFRAG_IPV4=m CONFIG_NF_CONNTRACK_IPV4=m -# CONFIG_NF_CONNTRACK_PROC_COMPAT is not set CONFIG_NF_TABLES_IPV4=m CONFIG_NFT_CHAIN_ROUTE_IPV4=m CONFIG_NFT_REJECT_IPV4=m @@ -1280,7 +1291,9 @@ CONFIG_NET_ACT_CSUM=m CONFIG_NET_ACT_VLAN=m CONFIG_NET_ACT_BPF=m CONFIG_NET_ACT_CONNMARK=m +# CONFIG_NET_ACT_SKBMOD is not set # CONFIG_NET_ACT_IFE is not set +# CONFIG_NET_ACT_TUNNEL_KEY is not set CONFIG_NET_CLS_IND=y CONFIG_NET_SCH_FIFO=y CONFIG_DCB=y @@ -1455,6 +1468,7 @@ CONFIG_BT_HCIUART_LL=y # CONFIG_BT_HCIUART_BCM is not set # CONFIG_BT_HCIUART_QCA is not set # CONFIG_BT_HCIUART_AG6XX is not set +# CONFIG_BT_HCIUART_MRVL is not set CONFIG_BT_HCIBCM203X=m CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBFUSB=m @@ -1463,9 +1477,12 @@ CONFIG_BT_MRVL=m CONFIG_BT_MRVL_SDIO=m CONFIG_BT_ATH3K=m CONFIG_AF_RXRPC=m +# CONFIG_AF_RXRPC_IPV6 is not set +# CONFIG_AF_RXRPC_INJECT_LOSS is not set # CONFIG_AF_RXRPC_DEBUG is not set CONFIG_RXKAD=y # CONFIG_AF_KCM is not set +# CONFIG_STREAM_PARSER is not set CONFIG_FIB_RULES=y CONFIG_WIRELESS=y CONFIG_WIRELESS_EXT=y @@ -1537,6 +1554,7 @@ CONFIG_ALLOW_DEV_COREDUMP=y CONFIG_DEV_COREDUMP=y # CONFIG_DEBUG_DRIVER is not set # CONFIG_DEBUG_DEVRES is not set +# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set # CONFIG_SYS_HYPERVISOR is not set # CONFIG_GENERIC_CPU_DEVICES is not set CONFIG_REGMAP=y @@ -1568,6 +1586,7 @@ CONFIG_ARM_CCI400_PMU=y # CONFIG_ARM_CCI5xx_PMU is not set # CONFIG_ARM_CCN is not set # CONFIG_BRCMSTB_GISB_ARB is not set +# CONFIG_QCOM_EBI2 is not set # CONFIG_SIMPLE_PM_BUS is not set CONFIG_SUNXI_RSB=y # CONFIG_VEXPRESS_CONFIG is not set @@ -1654,7 +1673,6 @@ CONFIG_OF_ADDRESS=y CONFIG_OF_IRQ=y CONFIG_OF_NET=y CONFIG_OF_MDIO=y -CONFIG_OF_MTD=y CONFIG_OF_RESERVED_MEM=y CONFIG_OF_RESOLVE=y CONFIG_OF_OVERLAY=y @@ -1701,9 +1719,6 @@ CONFIG_SENSORS_TSL2550=m # CONFIG_HMC6352 is not set # CONFIG_DS1682 is not set # CONFIG_TI_DAC7512 is not set -CONFIG_BMP085=m -CONFIG_BMP085_I2C=m -# CONFIG_BMP085_SPI is not set # CONFIG_USB_SWITCH_FSA9480 is not set # CONFIG_LATTICE_ECP3_CONFIG is not set # CONFIG_SRAM is not set @@ -1899,7 +1914,6 @@ CONFIG_IFB=m # CONFIG_NET_TEAM is not set CONFIG_MACVLAN=m CONFIG_MACVTAP=m -CONFIG_IPVLAN=m CONFIG_VXLAN=m # CONFIG_GENEVE is not set # CONFIG_GTP is not set @@ -1926,11 +1940,13 @@ CONFIG_ATM_DRIVERS=y # CONFIG_NET_DSA_BCM_SF2 is not set # CONFIG_B53 is not set # CONFIG_NET_DSA_MV88E6XXX is not set +# CONFIG_NET_DSA_QCA8K is not set CONFIG_ETHERNET=y CONFIG_NET_VENDOR_ALLWINNER=y CONFIG_SUN4I_EMAC=y CONFIG_SUN8I_EMAC=y # CONFIG_ALTERA_TSE is not set +# CONFIG_NET_VENDOR_AMAZON is not set # CONFIG_NET_VENDOR_ARC is not set # CONFIG_NET_VENDOR_AURORA is not set # CONFIG_NET_CADENCE is not set @@ -1961,6 +1977,7 @@ CONFIG_NET_VENDOR_NETRONOME=y # CONFIG_ETHOC is not set CONFIG_NET_VENDOR_QUALCOMM=y # CONFIG_QCA7000 is not set +# CONFIG_QCOM_EMAC is not set CONFIG_NET_VENDOR_RENESAS=y # CONFIG_SH_ETH is not set # CONFIG_RAVB is not set @@ -1972,6 +1989,7 @@ CONFIG_NET_VENDOR_STMICRO=y CONFIG_STMMAC_ETH=y CONFIG_STMMAC_PLATFORM=y CONFIG_DWMAC_GENERIC=y +# CONFIG_DWMAC_STM32 is not set CONFIG_DWMAC_SUNXI=y CONFIG_NET_VENDOR_SYNOPSYS=y CONFIG_SYNOPSYS_DWC_ETH_QOS=m @@ -1980,41 +1998,47 @@ CONFIG_SYNOPSYS_DWC_ETH_QOS=m CONFIG_PHYLIB=y CONFIG_SWPHY=y +# +# MDIO bus device drivers +# +# CONFIG_MDIO_BCM_UNIMAC is not set +# CONFIG_MDIO_BITBANG is not set +# CONFIG_MDIO_BUS_MUX_GPIO is not set +# CONFIG_MDIO_BUS_MUX_MMIOREG is not set +# CONFIG_MDIO_HISI_FEMAC is not set +CONFIG_MDIO_SUN4I=y + # # MII PHY device drivers # +CONFIG_AMD_PHY=m CONFIG_AQUANTIA_PHY=m CONFIG_AT803X_PHY=m -CONFIG_AMD_PHY=m -CONFIG_MARVELL_PHY=m -CONFIG_DAVICOM_PHY=m -CONFIG_QSEMI_PHY=m -CONFIG_LXT_PHY=m -CONFIG_CICADA_PHY=m -CONFIG_VITESSE_PHY=m -CONFIG_TERANETICS_PHY=m -CONFIG_SMSC_PHY=m -CONFIG_BCM_NET_PHYLIB=m -CONFIG_BROADCOM_PHY=m # CONFIG_BCM7XXX_PHY is not set CONFIG_BCM87XX_PHY=m -CONFIG_ICPLUS_PHY=m -CONFIG_REALTEK_PHY=m -CONFIG_NATIONAL_PHY=m -CONFIG_STE10XP=m -CONFIG_LSI_ET1011C_PHY=m -CONFIG_MICREL_PHY=m +CONFIG_BCM_NET_PHYLIB=m +CONFIG_BROADCOM_PHY=m +CONFIG_CICADA_PHY=m +CONFIG_DAVICOM_PHY=m CONFIG_DP83848_PHY=m # CONFIG_DP83867_PHY is not set -CONFIG_MICROCHIP_PHY=y CONFIG_FIXED_PHY=y -# CONFIG_MDIO_BITBANG is not set -CONFIG_MDIO_SUN4I=y -# CONFIG_MDIO_BUS_MUX_GPIO is not set -# CONFIG_MDIO_BUS_MUX_MMIOREG is not set -# CONFIG_MDIO_BCM_UNIMAC is not set +CONFIG_ICPLUS_PHY=m # CONFIG_INTEL_XWAY_PHY is not set -# CONFIG_MDIO_HISI_FEMAC is not set +CONFIG_LSI_ET1011C_PHY=m +CONFIG_LXT_PHY=m +CONFIG_MARVELL_PHY=m +CONFIG_MICREL_PHY=m +CONFIG_MICROCHIP_PHY=y +# CONFIG_MICROSEMI_PHY is not set +CONFIG_NATIONAL_PHY=m +CONFIG_QSEMI_PHY=m +CONFIG_REALTEK_PHY=m +CONFIG_SMSC_PHY=m +CONFIG_STE10XP=m +CONFIG_TERANETICS_PHY=m +CONFIG_VITESSE_PHY=m +# CONFIG_XILINX_GMII2RGMII is not set # CONFIG_MICREL_KS8995MA is not set # CONFIG_PLIP is not set CONFIG_PPP=m @@ -2224,6 +2248,7 @@ CONFIG_INPUT_EVDEV=m # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y +# CONFIG_KEYBOARD_ADC is not set # CONFIG_KEYBOARD_ADP5588 is not set # CONFIG_KEYBOARD_ADP5589 is not set CONFIG_KEYBOARD_ATKBD=y @@ -2292,11 +2317,11 @@ CONFIG_TOUCHSCREEN_CHIPONE_ICN8318=m # CONFIG_TOUCHSCREEN_EETI is not set # CONFIG_TOUCHSCREEN_EGALAX is not set # CONFIG_TOUCHSCREEN_EGALAX_SERIAL is not set -# CONFIG_TOUCHSCREEN_FT6236 is not set # CONFIG_TOUCHSCREEN_FUJITSU is not set CONFIG_TOUCHSCREEN_GOODIX=m # CONFIG_TOUCHSCREEN_ILI210X is not set # CONFIG_TOUCHSCREEN_GUNZE is not set +# CONFIG_TOUCHSCREEN_EKTF2127 is not set # CONFIG_TOUCHSCREEN_ELAN is not set # CONFIG_TOUCHSCREEN_ELO is not set # CONFIG_TOUCHSCREEN_WACOM_W8001 is not set @@ -2344,6 +2369,7 @@ CONFIG_INPUT_MISC=y # CONFIG_INPUT_GP2A is not set # CONFIG_INPUT_GPIO_BEEPER is not set # CONFIG_INPUT_GPIO_TILT_POLLED is not set +# CONFIG_INPUT_GPIO_DECODER is not set # CONFIG_INPUT_ATI_REMOTE2 is not set # CONFIG_INPUT_KEYSPAN_REMOTE is not set # CONFIG_INPUT_KXTJ9 is not set @@ -2604,6 +2630,7 @@ CONFIG_PINCTRL_SUNXI=y CONFIG_PINCTRL_SUN4I_A10=y CONFIG_PINCTRL_SUN5I_A10S=y CONFIG_PINCTRL_SUN5I_A13=y +CONFIG_PINCTRL_GR8=y CONFIG_PINCTRL_SUN6I_A31=y CONFIG_PINCTRL_SUN6I_A31S=y CONFIG_PINCTRL_SUN6I_A31_R=y @@ -2633,6 +2660,7 @@ CONFIG_GPIO_ALTERA=m # CONFIG_GPIO_EM is not set # CONFIG_GPIO_GENERIC_PLATFORM is not set # CONFIG_GPIO_GRGPIO is not set +# CONFIG_GPIO_MOCKUP is not set # CONFIG_GPIO_MPC8XXX is not set # CONFIG_GPIO_RCAR is not set CONFIG_GPIO_SYSCON=m @@ -2651,10 +2679,12 @@ CONFIG_GPIO_SYSCON=m CONFIG_GPIO_PCF857X=m # CONFIG_GPIO_SX150X is not set # CONFIG_GPIO_TPIC2810 is not set +# CONFIG_GPIO_TS4900 is not set # # MFD GPIO expanders # +# CONFIG_HTC_EGPIO is not set # CONFIG_GPIO_UCB1400 is not set # @@ -2701,6 +2731,19 @@ CONFIG_W1_SLAVE_DS2433=m # CONFIG_W1_SLAVE_DS2781 is not set # CONFIG_W1_SLAVE_DS28E04 is not set # CONFIG_W1_SLAVE_BQ27000 is not set +CONFIG_POWER_AVS=y +CONFIG_POWER_RESET=y +# CONFIG_POWER_RESET_BRCMKONA is not set +# CONFIG_POWER_RESET_BRCMSTB is not set +# CONFIG_POWER_RESET_GPIO is not set +# CONFIG_POWER_RESET_GPIO_RESTART is not set +# CONFIG_POWER_RESET_LTC2952 is not set +# CONFIG_POWER_RESET_RESTART is not set +CONFIG_POWER_RESET_VERSATILE=y +# CONFIG_POWER_RESET_SYSCON is not set +CONFIG_POWER_RESET_SYSCON_POWEROFF=y +# CONFIG_POWER_RESET_RMOBILE is not set +# CONFIG_SYSCON_REBOOT_MODE is not set CONFIG_POWER_SUPPLY=y # CONFIG_POWER_SUPPLY_DEBUG is not set # CONFIG_PDA_POWER is not set @@ -2728,19 +2771,6 @@ CONFIG_POWER_SUPPLY=y CONFIG_BATTERY_GAUGE_LTC2941=m CONFIG_BATTERY_RT5033=m # CONFIG_CHARGER_RT9455 is not set -CONFIG_POWER_RESET=y -# CONFIG_POWER_RESET_BRCMKONA is not set -# CONFIG_POWER_RESET_BRCMSTB is not set -# CONFIG_POWER_RESET_GPIO is not set -# CONFIG_POWER_RESET_GPIO_RESTART is not set -# CONFIG_POWER_RESET_LTC2952 is not set -# CONFIG_POWER_RESET_RESTART is not set -CONFIG_POWER_RESET_VERSATILE=y -# CONFIG_POWER_RESET_SYSCON is not set -CONFIG_POWER_RESET_SYSCON_POWEROFF=y -# CONFIG_POWER_RESET_RMOBILE is not set -# CONFIG_SYSCON_REBOOT_MODE is not set -CONFIG_POWER_AVS=y CONFIG_HWMON=y CONFIG_HWMON_VID=m # CONFIG_HWMON_DEBUG_CHIP is not set @@ -2887,13 +2917,12 @@ CONFIG_CPU_THERMAL=y CONFIG_CLOCK_THERMAL=y # CONFIG_DEVFREQ_THERMAL is not set # CONFIG_THERMAL_EMULATION is not set -# CONFIG_IMX_THERMAL is not set +# CONFIG_QORIQ_THERMAL is not set # CONFIG_RCAR_THERMAL is not set # # ACPI INT340X thermal drivers # -CONFIG_SUN8I_THS=m # CONFIG_TANGO_THERMAL is not set # CONFIG_GENERIC_ADC_THERMAL is not set CONFIG_WATCHDOG=y @@ -2921,6 +2950,11 @@ CONFIG_SUNXI_WATCHDOG=y # USB-based Watchdog Cards # # CONFIG_USBPCWATCHDOG is not set + +# +# Watchdog Pretimeout Governors +# +# CONFIG_WATCHDOG_PRETIMEOUT_GOV is not set CONFIG_SSB_POSSIBLE=y # @@ -2957,6 +2991,7 @@ CONFIG_MFD_CORE=y # CONFIG_MFD_ATMEL_FLEXCOM is not set # CONFIG_MFD_ATMEL_HLCDC is not set # CONFIG_MFD_BCM590XX is not set +# CONFIG_MFD_AC100 is not set # CONFIG_MFD_AXP20X_I2C is not set # CONFIG_MFD_AXP20X_RSB is not set # CONFIG_MFD_CROS_EC is not set @@ -2969,10 +3004,10 @@ CONFIG_MFD_DA9062=m # CONFIG_MFD_DA9063 is not set CONFIG_MFD_DA9150=m # CONFIG_MFD_DLN2 is not set +# CONFIG_MFD_EXYNOS_LPASS is not set # CONFIG_MFD_MC13XXX_SPI is not set # CONFIG_MFD_MC13XXX_I2C is not set # CONFIG_MFD_HI6421_PMIC is not set -# CONFIG_HTC_EGPIO is not set # CONFIG_HTC_PASIC3 is not set # CONFIG_HTC_I2CPLD is not set # CONFIG_INTEL_SOC_PMIC is not set @@ -3021,6 +3056,7 @@ CONFIG_MFD_SYSCON=y # CONFIG_MFD_TPS65086 is not set # CONFIG_MFD_TPS65090 is not set # CONFIG_MFD_TPS65217 is not set +# CONFIG_MFD_TI_LP873X is not set # CONFIG_MFD_TPS65218 is not set # CONFIG_MFD_TPS6586X is not set # CONFIG_MFD_TPS65910 is not set @@ -3063,6 +3099,7 @@ CONFIG_REGULATOR_GPIO=y # CONFIG_REGULATOR_LP872X is not set # CONFIG_REGULATOR_LP8755 is not set # CONFIG_REGULATOR_LTC3589 is not set +# CONFIG_REGULATOR_LTC3676 is not set # CONFIG_REGULATOR_MAX1586 is not set # CONFIG_REGULATOR_MAX8649 is not set # CONFIG_REGULATOR_MAX8660 is not set @@ -3078,7 +3115,6 @@ CONFIG_REGULATOR_MT6397=m CONFIG_REGULATOR_PWM=m CONFIG_REGULATOR_RT5033=m CONFIG_REGULATOR_SKY81452=m -CONFIG_REGULATOR_SY8106A=y # CONFIG_REGULATOR_TPS51632 is not set # CONFIG_REGULATOR_TPS62360 is not set # CONFIG_REGULATOR_TPS65023 is not set @@ -3247,6 +3283,7 @@ CONFIG_VIDEO_TM6000_DVB=m # CONFIG_DVB_USB=m # CONFIG_DVB_USB_DEBUG is not set +CONFIG_DVB_USB_DIB3000MC=m CONFIG_DVB_USB_A800=m CONFIG_DVB_USB_DIBUSB_MB=m CONFIG_DVB_USB_DIBUSB_MB_FAULTY=y @@ -3366,14 +3403,14 @@ CONFIG_SMS_SIANO_DEBUGFS=y CONFIG_VIDEO_V4L2_TPG=m # -# Media ancillary drivers (tuners, sensors, i2c, frontends) +# Media ancillary drivers (tuners, sensors, i2c, spi, frontends) # # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set CONFIG_MEDIA_ATTACH=y CONFIG_VIDEO_IR_I2C=m # -# Encoders, decoders, sensors and other helper chips +# I2C Encoders, decoders, sensors and other helper chips # # @@ -3412,6 +3449,7 @@ CONFIG_VIDEO_BT856=m CONFIG_VIDEO_BT866=m CONFIG_VIDEO_KS0127=m CONFIG_VIDEO_ML86V7667=m +# CONFIG_VIDEO_AD5820 is not set CONFIG_VIDEO_SAA7110=m CONFIG_VIDEO_SAA711X=m CONFIG_VIDEO_TC358743=m @@ -3452,6 +3490,7 @@ CONFIG_VIDEO_THS8200=m # CONFIG_VIDEO_OV9650 is not set # CONFIG_VIDEO_VS6624 is not set # CONFIG_VIDEO_MT9M032 is not set +# CONFIG_VIDEO_MT9M111 is not set # CONFIG_VIDEO_MT9P031 is not set # CONFIG_VIDEO_MT9T001 is not set # CONFIG_VIDEO_MT9V011 is not set @@ -3494,6 +3533,11 @@ CONFIG_VIDEO_M52790=m # # Sensors used on soc_camera driver # + +# +# SPI helper chips +# +# CONFIG_VIDEO_GS1662 is not set CONFIG_MEDIA_TUNER=y # @@ -3865,7 +3909,6 @@ CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y # # CONFIG_SND_SOC_SH4_FSI is not set # CONFIG_SND_SOC_RCAR is not set -# CONFIG_SND_SOC_RSRC_CARD is not set # # Allwinner SoC Audio support @@ -3956,8 +3999,10 @@ CONFIG_SND_SOC_I2C_AND_SPI=m # CONFIG_SND_SOC_WM8974 is not set # CONFIG_SND_SOC_WM8978 is not set # CONFIG_SND_SOC_WM8985 is not set +# CONFIG_SND_SOC_NAU8810 is not set # CONFIG_SND_SOC_TPA6130A2 is not set # CONFIG_SND_SIMPLE_CARD is not set +# CONFIG_SND_SIMPLE_SCU_CARD is not set # CONFIG_SOUND_PRIME is not set CONFIG_AC97_BUS=m @@ -4091,7 +4136,7 @@ CONFIG_USB_OTG=y # CONFIG_USB_OTG_WHITELIST is not set # CONFIG_USB_OTG_BLACKLIST_HUB is not set # CONFIG_USB_OTG_FSM is not set -CONFIG_USB_ULPI_BUS=m +CONFIG_USB_LEDS_TRIGGER_USBPORT=y CONFIG_USB_MON=m # CONFIG_USB_WUSB_CBAF is not set @@ -4159,6 +4204,8 @@ CONFIG_USB_UAS=m # CONFIG_USB_MICROTEK is not set CONFIG_USBIP_CORE=m CONFIG_USBIP_VHCI_HCD=m +CONFIG_USBIP_VHCI_HC_PORTS=8 +CONFIG_USBIP_VHCI_NR_HCS=1 CONFIG_USBIP_HOST=m # CONFIG_USBIP_VUDC is not set # CONFIG_USBIP_DEBUG is not set @@ -4282,6 +4329,7 @@ CONFIG_USB_FTDI_ELAN=m # CONFIG_USB_YUREX is not set CONFIG_USB_EZUSB_FX2=m # CONFIG_USB_HSIC_USB3503 is not set +# CONFIG_USB_HSIC_USB4604 is not set # CONFIG_USB_LINK_LAYER_TEST is not set CONFIG_USB_CHAOSKEY=m # CONFIG_USB_ATM is not set @@ -4376,6 +4424,7 @@ CONFIG_USB_G_HID=m # CONFIG_USB_G_DBGP is not set CONFIG_USB_G_WEBCAM=m CONFIG_USB_LED_TRIG=y +CONFIG_USB_ULPI_BUS=m # CONFIG_UWB is not set CONFIG_MMC=y # CONFIG_MMC_DEBUG is not set @@ -4436,6 +4485,7 @@ CONFIG_LEDS_REGULATOR=m # CONFIG_LEDS_TLC591XX is not set # CONFIG_LEDS_LM355x is not set # CONFIG_LEDS_KTD2692 is not set +# CONFIG_LEDS_IS31FL319X is not set # CONFIG_LEDS_IS31FL32XX is not set # @@ -4491,6 +4541,7 @@ CONFIG_RTC_DRV_ABB5ZES3=m CONFIG_RTC_DRV_ABX80X=m CONFIG_RTC_DRV_DS1307=m CONFIG_RTC_DRV_DS1307_HWMON=y +# CONFIG_RTC_DRV_DS1307_CENTURY is not set # CONFIG_RTC_DRV_DS1374 is not set # CONFIG_RTC_DRV_DS1672 is not set # CONFIG_RTC_DRV_HYM8563 is not set @@ -4498,7 +4549,6 @@ CONFIG_RTC_DRV_DS1307_HWMON=y # CONFIG_RTC_DRV_RS5C372 is not set # CONFIG_RTC_DRV_ISL1208 is not set # CONFIG_RTC_DRV_ISL12022 is not set -# CONFIG_RTC_DRV_ISL12057 is not set # CONFIG_RTC_DRV_X1205 is not set # CONFIG_RTC_DRV_PCF8523 is not set # CONFIG_RTC_DRV_PCF85063 is not set @@ -4638,7 +4688,6 @@ CONFIG_STAGING=y CONFIG_R8712U=m CONFIG_R8188EU=m CONFIG_88EU_AP_MODE=y -# CONFIG_R8723AU is not set # CONFIG_VT6656 is not set # @@ -4782,6 +4831,7 @@ CONFIG_HDM_DIM2=m CONFIG_HDM_I2C=m CONFIG_HDM_USB=m # CONFIG_KS7010 is not set +# CONFIG_GREYBUS is not set # CONFIG_GOLDFISH is not set # CONFIG_CHROME_PLATFORMS is not set CONFIG_CLKDEV_LOOKUP=y @@ -4802,18 +4852,24 @@ CONFIG_CLK_QORIQ=y CONFIG_COMMON_CLK_PWM=m # CONFIG_COMMON_CLK_PXA is not set # CONFIG_COMMON_CLK_PIC32 is not set +# CONFIG_COMMON_CLK_MT8135 is not set +# CONFIG_COMMON_CLK_MT8173 is not set CONFIG_CLK_RENESAS_CPG_MSTP=y CONFIG_SUNXI_CCU=y CONFIG_SUNXI_CCU_DIV=y CONFIG_SUNXI_CCU_FRAC=y CONFIG_SUNXI_CCU_GATE=y CONFIG_SUNXI_CCU_MUX=y +CONFIG_SUNXI_CCU_MULT=y CONFIG_SUNXI_CCU_PHASE=y CONFIG_SUNXI_CCU_NK=y CONFIG_SUNXI_CCU_NKM=y CONFIG_SUNXI_CCU_NKMP=y CONFIG_SUNXI_CCU_NM=y CONFIG_SUNXI_CCU_MP=y +CONFIG_SUN6I_A31_CCU=y +CONFIG_SUN8I_A23_CCU=y +CONFIG_SUN8I_A33_CCU=y CONFIG_SUN8I_H3_CCU=y # @@ -4897,6 +4953,7 @@ CONFIG_EXTCON=y # CONFIG_EXTCON_ADC_JACK is not set CONFIG_EXTCON_GPIO=m # CONFIG_EXTCON_MAX3355 is not set +# CONFIG_EXTCON_QCOM_SPMI_MISC is not set CONFIG_EXTCON_RT8973A=m CONFIG_EXTCON_SM5502=m CONFIG_EXTCON_USB_GPIO=m @@ -4914,10 +4971,13 @@ CONFIG_IIO=m # CONFIG_BMA180 is not set # CONFIG_BMA220 is not set # CONFIG_BMC150_ACCEL is not set +# CONFIG_DMARD06 is not set +# CONFIG_DMARD09 is not set # CONFIG_HID_SENSOR_ACCEL_3D is not set # CONFIG_IIO_ST_ACCEL_3AXIS is not set # CONFIG_KXSD9 is not set # CONFIG_KXCJK1013 is not set +# CONFIG_MC3230 is not set # CONFIG_MMA7455_I2C is not set # CONFIG_MMA7455_SPI is not set # CONFIG_MMA7660 is not set @@ -4945,6 +5005,7 @@ CONFIG_IIO=m # CONFIG_DA9150_GPADC is not set # CONFIG_HI8435 is not set # CONFIG_INA2XX_ADC is not set +# CONFIG_LTC2485 is not set # CONFIG_MAX1027 is not set # CONFIG_MAX1363 is not set # CONFIG_MCP320X is not set @@ -4952,7 +5013,9 @@ CONFIG_IIO=m # CONFIG_NAU7802 is not set # CONFIG_TI_ADC081C is not set # CONFIG_TI_ADC0832 is not set +# CONFIG_TI_ADC12138 is not set # CONFIG_TI_ADC128S052 is not set +# CONFIG_TI_ADC161S626 is not set # CONFIG_TI_ADS1015 is not set # CONFIG_TI_ADS8688 is not set # CONFIG_VF610_ADC is not set @@ -4998,6 +5061,7 @@ CONFIG_IIO=m # CONFIG_AD5764 is not set # CONFIG_AD5791 is not set # CONFIG_AD7303 is not set +# CONFIG_AD8801 is not set # CONFIG_M62332 is not set # CONFIG_MAX517 is not set # CONFIG_MAX5821 is not set @@ -5091,6 +5155,7 @@ CONFIG_IIO=m # CONFIG_MAX44000 is not set # CONFIG_OPT3001 is not set # CONFIG_PA12203001 is not set +# CONFIG_SI1145 is not set # CONFIG_STK3310 is not set # CONFIG_TCS3414 is not set # CONFIG_TCS3472 is not set @@ -5103,6 +5168,7 @@ CONFIG_IIO=m # # Magnetometer sensors # +# CONFIG_AK8974 is not set # CONFIG_AK8975 is not set # CONFIG_AK09911 is not set # CONFIG_BMC150_MAGN_I2C is not set @@ -5132,6 +5198,7 @@ CONFIG_IIO=m # # Pressure sensors # +# CONFIG_BMP280 is not set # CONFIG_HID_SENSOR_PRESS is not set # CONFIG_HP03 is not set # CONFIG_MPL115_I2C is not set @@ -5142,6 +5209,7 @@ CONFIG_IIO=m # CONFIG_IIO_ST_PRESS is not set # CONFIG_T5403 is not set # CONFIG_HP206C is not set +# CONFIG_ZPA2326 is not set # # Lightning sensors @@ -5157,6 +5225,7 @@ CONFIG_IIO=m # # Temperature sensors # +# CONFIG_MAXIM_THERMOCOUPLE is not set # CONFIG_MLX90614 is not set # CONFIG_TMP006 is not set # CONFIG_TSYS01 is not set @@ -5177,7 +5246,16 @@ CONFIG_TANGO_IRQ=y # CONFIG_IPACK_BUS is not set CONFIG_ARCH_HAS_RESET_CONTROLLER=y CONFIG_RESET_CONTROLLER=y +# CONFIG_RESET_ATH79 is not set +# CONFIG_RESET_BERLIN is not set +# CONFIG_RESET_LPC18XX is not set +# CONFIG_RESET_MESON is not set +# CONFIG_RESET_PISTACHIO is not set +# CONFIG_RESET_SOCFPGA is not set +# CONFIG_RESET_STM32 is not set +CONFIG_RESET_SUNXI=y # CONFIG_TI_SYSCON_RESET is not set +# CONFIG_RESET_ZYNQ is not set # CONFIG_FMC is not set # @@ -5627,6 +5705,7 @@ CONFIG_TEST_HEXDUMP=m # CONFIG_SAMPLES is not set CONFIG_HAVE_ARCH_KGDB=y # CONFIG_KGDB is not set +# CONFIG_ARCH_WANTS_UBSAN_NO_NULL is not set # CONFIG_UBSAN is not set CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y # CONFIG_STRICT_DEVMEM is not set @@ -5912,7 +5991,6 @@ CONFIG_DQL=y CONFIG_GLOB=y # CONFIG_GLOB_SELFTEST is not set CONFIG_NLATTR=y -CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y CONFIG_CLZ_TAB=y # CONFIG_CORDIC is not set # CONFIG_DDR is not set @@ -5927,6 +6005,7 @@ CONFIG_FONT_8x16=y # CONFIG_SG_SPLIT is not set CONFIG_SG_POOL=y CONFIG_ARCH_HAS_SG_CHAIN=y +CONFIG_SBITMAP=y CONFIG_VIRTUALIZATION=y # CONFIG_VHOST_NET is not set # CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set diff --git a/config/sources/sun8i.conf b/config/sources/sun8i.conf index ad5bae398a6e..7950d56b4dbc 100644 --- a/config/sources/sun8i.conf +++ b/config/sources/sun8i.conf @@ -17,8 +17,8 @@ case $BRANCH in ;; dev) - KERNELSOURCE='https://github.com/megous/linux' - KERNELBRANCH='branch:orange-pi-4.8' + KERNELSOURCE='https://github.com/montjoie/linux/' + KERNELBRANCH='branch:sun8i-emac-wip-v5' KERNELDIR='linux-sun8i-mainline' ;; esac From 0e6cfdedbc6a0280d81bea4150f4cdb72343974e Mon Sep 17 00:00:00 2001 From: martinayotte Date: Sat, 29 Oct 2016 11:49:45 -0400 Subject: [PATCH 8/8] Add add_missing_SPI_for-H3_v4.9.x.patch (#525) --- ...d_missing_SPI_for-H3_v4.9.x.patch-disabled | 90 +++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 patch/kernel/sun8i-dev/add_missing_SPI_for-H3_v4.9.x.patch-disabled diff --git a/patch/kernel/sun8i-dev/add_missing_SPI_for-H3_v4.9.x.patch-disabled b/patch/kernel/sun8i-dev/add_missing_SPI_for-H3_v4.9.x.patch-disabled new file mode 100644 index 000000000000..c555afce5c00 --- /dev/null +++ b/patch/kernel/sun8i-dev/add_missing_SPI_for-H3_v4.9.x.patch-disabled @@ -0,0 +1,90 @@ +diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi +index cc2a8b4..70b2607 100644 +--- a/arch/arm/boot/dts/sun8i-h3.dtsi ++++ b/arch/arm/boot/dts/sun8i-h3.dtsi +@@ -50,6 +50,11 @@ + / { + interrupt-parent = <&gic>; + ++ aliases { ++ spi0 = &spi0; ++ spi1 = &spi1; ++ }; ++ + cpus { + #address-cells = <1>; + #size-cells = <0>; +@@ -398,6 +403,34 @@ + allwinner,pull = ; + }; + ++ spi0_pins_a: spi0@0 { ++ allwinner,pins = "PC0", "PC1", "PC2"; ++ allwinner,function = "spi0"; ++ allwinner,drive = ; ++ allwinner,pull = ; ++ }; ++ ++ spi0_cs0_pins_a: spi0_cs0@0 { ++ allwinner,pins = "PC3"; ++ allwinner,function = "spi0"; ++ allwinner,drive = ; ++ allwinner,pull = ; ++ }; ++ ++ spi1_pins_a: spi1@0 { ++ allwinner,pins = "PA15", "PA16", "PA14"; ++ allwinner,function = "spi1"; ++ allwinner,drive = ; ++ allwinner,pull = ; ++ }; ++ ++ spi1_cs0_pins_a: spi1_cs0@0 { ++ allwinner,pins = "PA13"; ++ allwinner,function = "spi1"; ++ allwinner,drive = ; ++ allwinner,pull = ; ++ }; ++ + uart0_pins_a: uart0@0 { + allwinner,pins = "PA4", "PA5"; + allwinner,function = "uart0"; +@@ -547,6 +580,38 @@ + #size-cells = <0>; + }; + ++ spi0: spi@01c68000 { ++ compatible = "allwinner,sun6i-a31-spi"; ++ reg = <0x01c68000 0x1000>; ++ interrupts = ; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi0_pins_a>, <&spi0_cs0_pins_a>; ++ clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>; ++ clock-names = "ahb", "mod"; ++ dmas = <&dma 23>, <&dma 23>; ++ dma-names = "rx", "tx"; ++ resets = <&ccu RST_BUS_SPI0>; ++ status = "disabled"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ }; ++ ++ spi1: spi@01c69000 { ++ compatible = "allwinner,sun6i-a31-spi"; ++ reg = <0x01c69000 0x1000>; ++ interrupts = ; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&spi1_pins_a>, <&spi1_cs0_pins_a>; ++ clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>; ++ clock-names = "ahb", "mod"; ++ dmas = <&dma 24>, <&dma 24>; ++ dma-names = "rx", "tx"; ++ resets = <&ccu RST_BUS_SPI1>; ++ status = "disabled"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ }; ++ + emac: ethernet@1c30000 { + compatible = "allwinner,sun8i-h3-emac"; + syscon = <&syscon>;