From a4be782c490af56ca90108fe4c3873f5cb53f46f Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Sat, 15 Jan 2022 02:26:25 +0100 Subject: [PATCH] Updated config --- sys-kernel/pinephone-pro-sources/files/config | 81 +++++++++++++------ .../pinephone-pro-sources-5.16.0.ebuild | 2 +- 2 files changed, 57 insertions(+), 26 deletions(-) diff --git a/sys-kernel/pinephone-pro-sources/files/config b/sys-kernel/pinephone-pro-sources/files/config index 7467912..a62ad07 100644 --- a/sys-kernel/pinephone-pro-sources/files/config +++ b/sys-kernel/pinephone-pro-sources/files/config @@ -1,19 +1,20 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm64 5.16.0-4 Kernel Configuration +# Linux/arm64 5.16.0-pinephone Kernel Configuration # -CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0" +CONFIG_CC_VERSION_TEXT="gcc (Gentoo 11.2.0 p1) 11.2.0" CONFIG_CC_IS_GCC=y -CONFIG_GCC_VERSION=100200 +CONFIG_GCC_VERSION=110200 CONFIG_CLANG_VERSION=0 CONFIG_AS_IS_GNU=y -CONFIG_AS_VERSION=23500 +CONFIG_AS_VERSION=23700 CONFIG_LD_IS_BFD=y -CONFIG_LD_VERSION=23500 +CONFIG_LD_VERSION=23700 CONFIG_LLD_VERSION=0 CONFIG_CC_CAN_LINK=y CONFIG_CC_CAN_LINK_STATIC=y CONFIG_CC_HAS_ASM_GOTO=y +CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y CONFIG_CC_HAS_ASM_INLINE=y CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y CONFIG_IRQ_WORK=y @@ -26,8 +27,8 @@ CONFIG_THREAD_INFO_IN_TASK=y CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_COMPILE_TEST is not set # CONFIG_WERROR is not set -CONFIG_LOCALVERSION="-MANJARO-ARM" -# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_LOCALVERSION="-gentoo-arm64" +CONFIG_LOCALVERSION_AUTO=y CONFIG_BUILD_SALT="" CONFIG_DEFAULT_INIT="" CONFIG_DEFAULT_HOSTNAME="(none)" @@ -39,8 +40,9 @@ CONFIG_POSIX_MQUEUE_SYSCTL=y # CONFIG_WATCH_QUEUE is not set CONFIG_CROSS_MEMORY_ATTACH=y # CONFIG_USELIB is not set -# CONFIG_AUDIT is not set +CONFIG_AUDIT=y CONFIG_HAVE_ARCH_AUDITSYSCALL=y +CONFIG_AUDITSYSCALL=y # # IRQ subsystem @@ -89,9 +91,12 @@ CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y # # BPF subsystem # -# CONFIG_BPF_SYSCALL is not set +CONFIG_BPF_SYSCALL=y CONFIG_BPF_JIT=y +# CONFIG_BPF_JIT_ALWAYS_ON is not set CONFIG_BPF_JIT_DEFAULT_ON=y +CONFIG_BPF_UNPRIV_DEFAULT_OFF=y +# CONFIG_BPF_PRELOAD is not set # end of BPF subsystem CONFIG_PREEMPT_BUILD=y @@ -131,6 +136,7 @@ CONFIG_SRCU=y CONFIG_TREE_SRCU=y CONFIG_TASKS_RCU_GENERIC=y CONFIG_TASKS_RCU=y +CONFIG_TASKS_TRACE_RCU=y CONFIG_RCU_STALL_COMMON=y CONFIG_RCU_NEED_SEGCBLIST=y # end of RCU Subsystem @@ -176,7 +182,9 @@ CONFIG_PROC_PID_CPUSET=y CONFIG_CGROUP_DEVICE=y CONFIG_CGROUP_CPUACCT=y CONFIG_CGROUP_PERF=y +CONFIG_CGROUP_BPF=y # CONFIG_CGROUP_MISC is not set +CONFIG_SOCK_CGROUP_DATA=y CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_TIME_NS=y @@ -905,6 +913,7 @@ CONFIG_XFRM_ESP=m CONFIG_XFRM_IPCOMP=m CONFIG_NET_KEY=m # CONFIG_NET_KEY_MIGRATE is not set +# CONFIG_XDP_SOCKETS is not set CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y @@ -1027,6 +1036,7 @@ CONFIG_NETFILTER_XT_CONNMARK=m # # Xtables targets # +# CONFIG_NETFILTER_XT_TARGET_AUDIT is not set CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m # CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set # CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set @@ -1224,6 +1234,7 @@ CONFIG_XPS=y # CONFIG_CGROUP_NET_CLASSID is not set CONFIG_NET_RX_BUSY_POLL=y CONFIG_BQL=y +# CONFIG_BPF_STREAM_PARSER is not set CONFIG_NET_FLOW_LIMIT=y # @@ -1330,6 +1341,7 @@ CONFIG_NET_9P=y CONFIG_DST_CACHE=y CONFIG_GRO_CELLS=y CONFIG_NET_SELFTESTS=y +CONFIG_NET_SOCK_MSG=y CONFIG_PAGE_POOL=y CONFIG_FAILOVER=y CONFIG_ETHTOOL_NETLINK=y @@ -1583,7 +1595,6 @@ CONFIG_SENSORS_LIS3LV02D=m CONFIG_SRAM=y # CONFIG_XILINX_SDFEC is not set # CONFIG_HISI_HIKEY_USB is not set -# CONFIG_MODEM_POWER is not set # CONFIG_C2PORT is not set # @@ -1732,6 +1743,7 @@ CONFIG_DM_CRYPT=y # CONFIG_DM_SWITCH is not set # CONFIG_DM_LOG_WRITES is not set # CONFIG_DM_INTEGRITY is not set +# CONFIG_DM_AUDIT is not set CONFIG_TARGET_CORE=m # CONFIG_TCM_IBLOCK is not set # CONFIG_TCM_FILEIO is not set @@ -3086,7 +3098,6 @@ CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set # CONFIG_REGULATOR_USERSPACE_CONSUMER is not set -# CONFIG_REGULATOR_USERSPACE_CONSUMER_OF is not set # CONFIG_REGULATOR_88PG86X is not set # CONFIG_REGULATOR_ACT8865 is not set # CONFIG_REGULATOR_AD5398 is not set @@ -3157,7 +3168,6 @@ CONFIG_REGULATOR_S2MPS11=y CONFIG_REGULATOR_VCTRL=m # CONFIG_REGULATOR_VEXPRESS is not set # CONFIG_REGULATOR_QCOM_LABIBB is not set -# CONFIG_REGULATOR_TP65185X is not set CONFIG_RC_CORE=m # CONFIG_RC_MAP is not set # CONFIG_LIRC is not set @@ -3474,8 +3484,6 @@ CONFIG_VIDEO_OV5640=y # CONFIG_VIDEO_CCS is not set # CONFIG_VIDEO_ET8EK8 is not set # CONFIG_VIDEO_S5C73M3 is not set -# CONFIG_VIDEO_HM5065 is not set -# CONFIG_VIDEO_GC2145 is not set # end of Camera sensor devices # @@ -3728,7 +3736,6 @@ CONFIG_FB_MODE_HELPERS=y CONFIG_FB_ARMCLCD=y # CONFIG_FB_OPENCORES is not set # CONFIG_FB_S1D13XXX is not set -# CONFIG_FB_SUN5I_EINK is not set # CONFIG_FB_SMSCUFX is not set CONFIG_FB_UDL=m # CONFIG_FB_IBM_GXT4500 is not set @@ -3949,7 +3956,6 @@ CONFIG_SND_SOC_BT_SCO=m CONFIG_SND_SOC_DA7219=m CONFIG_SND_SOC_DMIC=m CONFIG_SND_SOC_HDMI_CODEC=m -# CONFIG_SND_SOC_EC25 is not set # CONFIG_SND_SOC_ES7134 is not set # CONFIG_SND_SOC_ES7241 is not set CONFIG_SND_SOC_ES8316=m @@ -4533,7 +4539,6 @@ CONFIG_TYPEC_FUSB302=y CONFIG_TYPEC_UCSI=y # CONFIG_UCSI_CCG is not set # CONFIG_TYPEC_TPS6598X is not set -# CONFIG_TYPEC_ANX7688 is not set # CONFIG_TYPEC_HD3SS3220 is not set # CONFIG_TYPEC_STUSB160X is not set CONFIG_TYPEC_EXTCON=y @@ -4644,8 +4649,6 @@ CONFIG_LEDS_SYSCON=y # CONFIG_LEDS_USER is not set # CONFIG_LEDS_SPI_BYTE is not set # CONFIG_LEDS_TI_LMU_COMMON is not set -CONFIG_LEDS_SGM3140=m -# CONFIG_LEDS_AXP20X is not set # # Flash and Torch LED drivers @@ -4656,6 +4659,7 @@ CONFIG_LEDS_SGM3140=m # CONFIG_LEDS_LM3601X is not set # CONFIG_LEDS_RT4505 is not set # CONFIG_LEDS_RT8515 is not set +CONFIG_LEDS_SGM3140=m # # LED Triggers @@ -4986,7 +4990,6 @@ CONFIG_BCM_VIDEOCORE=y # CONFIG_XIL_AXIS_FIFO is not set # CONFIG_FIELDBUS_DEV is not set # CONFIG_WFX is not set -# CONFIG_RTL8723CS is not set # CONFIG_GOLDFISH is not set CONFIG_CHROME_PLATFORMS=y CONFIG_CROS_EC=y @@ -5769,7 +5772,6 @@ CONFIG_PHY_ROCKCHIP_INNO_HDMI=y CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PHY_ROCKCHIP_INNO_CSIDPHY=y CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY=y -# CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY is not set CONFIG_PHY_ROCKCHIP_PCIE=y CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PHY_ROCKCHIP_USB=m @@ -6063,7 +6065,7 @@ CONFIG_SUNRPC_GSS=y CONFIG_SUNRPC_BACKCHANNEL=y # CONFIG_SUNRPC_DEBUG is not set # CONFIG_CEPH_FS is not set -CONFIG_CIFS=m +CONFIG_CIFS=y # CONFIG_CIFS_STATS2 is not set CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y # CONFIG_CIFS_UPCALL is not set @@ -6074,8 +6076,9 @@ CONFIG_CIFS_DEBUG=y # CONFIG_CIFS_DEBUG_DUMP_KEYS is not set # CONFIG_CIFS_DFS_UPCALL is not set # CONFIG_CIFS_SWN_UPCALL is not set +# CONFIG_CIFS_ROOT is not set # CONFIG_SMB_SERVER is not set -CONFIG_SMBFS_COMMON=m +CONFIG_SMBFS_COMMON=y # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set CONFIG_9P_FS=y @@ -6165,6 +6168,7 @@ CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y # CONFIG_SECURITY_LANDLOCK is not set CONFIG_INTEGRITY=y # CONFIG_INTEGRITY_SIGNATURE is not set +CONFIG_INTEGRITY_AUDIT=y # CONFIG_IMA is not set # CONFIG_EVM is not set CONFIG_DEFAULT_SECURITY_DAC=y @@ -6184,6 +6188,8 @@ CONFIG_INIT_STACK_NONE=y # CONFIG_GCC_PLUGIN_STACKLEAK is not set # CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set +CONFIG_CC_HAS_ZERO_CALL_USED_REGS=y +# CONFIG_ZERO_CALL_USED_REGS is not set # end of Memory initialization # end of Kernel hardening options # end of Security options @@ -6253,7 +6259,7 @@ CONFIG_CRYPTO_CBC=y # CONFIG_CRYPTO_CFB is not set CONFIG_CRYPTO_CTR=y # CONFIG_CRYPTO_CTS is not set -CONFIG_CRYPTO_ECB=m +CONFIG_CRYPTO_ECB=y # CONFIG_CRYPTO_LRW is not set # CONFIG_CRYPTO_OFB is not set # CONFIG_CRYPTO_PCBC is not set @@ -6282,7 +6288,7 @@ CONFIG_CRYPTO_CRCT10DIF=y CONFIG_CRYPTO_GHASH=y # CONFIG_CRYPTO_POLY1305 is not set CONFIG_CRYPTO_MD4=m -CONFIG_CRYPTO_MD5=m +CONFIG_CRYPTO_MD5=y # CONFIG_CRYPTO_MICHAEL_MIC is not set # CONFIG_CRYPTO_RMD160 is not set CONFIG_CRYPTO_SHA1=y @@ -6389,6 +6395,8 @@ CONFIG_SYSTEM_TRUSTED_KEYS="" # CONFIG_SYSTEM_BLACKLIST_KEYRING is not set # end of Certificates for signature checking +CONFIG_BINARY_PRINTF=y + # # Library routines # @@ -6426,7 +6434,9 @@ CONFIG_CRC7=y CONFIG_LIBCRC32C=y CONFIG_CRC8=y CONFIG_XXHASH=y +CONFIG_AUDIT_GENERIC=y CONFIG_AUDIT_ARCH_COMPAT_GENERIC=y +CONFIG_AUDIT_COMPAT_GENERIC=y # CONFIG_RANDOM32_SELFTEST is not set CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=y @@ -6560,6 +6570,7 @@ CONFIG_DEBUG_FS_ALLOW_ALL=y CONFIG_HAVE_ARCH_KGDB=y CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y # CONFIG_UBSAN is not set +CONFIG_HAVE_KCSAN_COMPILER=y # end of Generic Kernel Debugging Instruments # CONFIG_DEBUG_KERNEL is not set @@ -6585,6 +6596,7 @@ CONFIG_HAVE_ARCH_KASAN_SW_TAGS=y CONFIG_HAVE_ARCH_KASAN_HW_TAGS=y CONFIG_HAVE_ARCH_KASAN_VMALLOC=y CONFIG_CC_HAS_KASAN_GENERIC=y +CONFIG_CC_HAS_KASAN_SW_TAGS=y CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y # CONFIG_KASAN is not set CONFIG_HAVE_ARCH_KFENCE=y @@ -6699,3 +6711,22 @@ CONFIG_ARCH_USE_MEMTEST=y CONFIG_MEMTEST=y # end of Kernel Testing and Coverage # end of Kernel hacking + +# +# Gentoo Linux +# +CONFIG_GENTOO_LINUX=y +CONFIG_GENTOO_LINUX_UDEV=y +CONFIG_GENTOO_LINUX_PORTAGE=y + +# +# Support for init systems, system and service managers +# +# CONFIG_GENTOO_LINUX_INIT_SCRIPT is not set +CONFIG_GENTOO_LINUX_INIT_SYSTEMD=y +# end of Support for init systems, system and service managers + +# CONFIG_GENTOO_KERNEL_SELF_PROTECTION is not set +CONFIG_GENTOO_PRINT_FIRMWARE_INFO=y +# end of Gentoo Linux + diff --git a/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.0.ebuild b/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.0.ebuild index ac8dee9..5155062 100644 --- a/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.0.ebuild +++ b/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.0.ebuild @@ -21,7 +21,7 @@ DESCRIPTION="Full sources for the Linux kernel with gentoo patchset and with meg SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" PATCHES=( - # Mobian Patches + # Mobian PinePhone Pro Patches ${FILESDIR}/0001-base-property-Swap-order-of-search-for-connection-to.patch ${FILESDIR}/0002-clk-rk3399-Export-SCLK_CIF_OUT_SRC-to-device-tree.patch ${FILESDIR}/0003-media-rockchip-rga-Fix-probe-bugs.patch