From b90fa2fef9deb2d278b4a84f0d329a15202e7ccb Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Mon, 8 Aug 2022 12:59:16 +0200 Subject: Disabled debugfs and removed cmdline.txt. --- PKGBUILD | 8 ++------ cmdline.txt | 1 - config | 31 ++++++------------------------- 3 files changed, 8 insertions(+), 32 deletions(-) delete mode 100644 cmdline.txt diff --git a/PKGBUILD b/PKGBUILD index 19e4949..7e66828 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgbase=linux-raspberrypi4 pkgver=5.19.0.rpi2 -pkgrel=1 +pkgrel=2 pkgdesc='Raspberry Pi 4 Linux' _srctag=v${pkgver%.*}-${pkgver##*.} url="https://git.kent-dobias.com/system/linux/log/?h=$_srctag" @@ -20,7 +20,6 @@ _srcname=raspberrypi4-linux source=( "$_srcname::git+https://git.kent-dobias.com/system/linux?signed#tag=$_srctag" config - cmdline.txt ) validpgpkeys=( 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds @@ -29,8 +28,7 @@ validpgpkeys=( '0E3A444DD0760E65901BF59679E824090BD31086' # Jaron Kent-Dobias ) sha256sums=('SKIP' - '24c6e444087820447151903089c9cd3d121881fba821801554801bde64c1189e' - '4525594b37c19582ccbcbaa70c92f344fb752c58bbdd24eebc888282c7fc3a05') + 'afead850a6e0df75a2a12400cf105cd19e22724683a3656937fd39cb0d60a1a5') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase @@ -102,8 +100,6 @@ _package() { # remove build and source links rm "$modulesdir"/{source,build} - - install -m644 ../cmdline.txt "${pkgdir}/boot/cmdline.txt" } pkgname=("$pkgbase") diff --git a/cmdline.txt b/cmdline.txt deleted file mode 100644 index 34a07ba..0000000 --- a/cmdline.txt +++ /dev/null @@ -1 +0,0 @@ -root=/dev/mmcblk0p2 rw rootwait console=serial0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=serial0,115200 diff --git a/config b/config index d9b74af..ad97bba 100644 --- a/config +++ b/config @@ -61,7 +61,6 @@ CONFIG_GENERIC_MSI_IRQ=y CONFIG_GENERIC_MSI_IRQ_DOMAIN=y CONFIG_IRQ_FORCED_THREADING=y CONFIG_SPARSE_IRQ=y -# CONFIG_GENERIC_IRQ_DEBUGFS is not set # end of IRQ subsystem CONFIG_GENERIC_TIME_VSYSCALL=y @@ -145,7 +144,6 @@ CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=17 CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13 -# CONFIG_PRINTK_INDEX is not set CONFIG_GENERIC_SCHED_CLOCK=y # @@ -697,7 +695,6 @@ CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y CONFIG_STRICT_MODULE_RWX=y CONFIG_HAVE_ARCH_COMPILER_H=y CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y -# CONFIG_LOCK_EVENT_COUNTS is not set CONFIG_ARCH_HAS_RELR=y CONFIG_RELR=y CONFIG_HAVE_PREEMPT_DYNAMIC=y @@ -709,7 +706,6 @@ CONFIG_ARCH_SUPPORTS_PAGE_TABLE_CHECK=y # # GCOV-based kernel profiling # -# CONFIG_GCOV_KERNEL is not set CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y # end of GCOV-based kernel profiling @@ -750,8 +746,6 @@ CONFIG_BLK_WBT_MQ=y # CONFIG_BLK_CGROUP_IOLATENCY is not set # CONFIG_BLK_CGROUP_IOCOST is not set # CONFIG_BLK_CGROUP_IOPRIO is not set -CONFIG_BLK_DEBUG_FS=y -CONFIG_BLK_DEBUG_FS_ZONED=y CONFIG_BLK_SED_OPAL=y # CONFIG_BLK_INLINE_ENCRYPTION is not set @@ -888,7 +882,6 @@ CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y # CONFIG_TRANSPARENT_HUGEPAGE is not set CONFIG_FRONTSWAP=y CONFIG_CMA=y -# CONFIG_CMA_DEBUGFS is not set # CONFIG_CMA_SYSFS is not set CONFIG_CMA_AREAS=7 CONFIG_GENERIC_EARLY_IOREMAP=y @@ -903,7 +896,10 @@ CONFIG_ZONE_DMA32=y CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y CONFIG_VM_EVENT_COUNTERS=y # CONFIG_PERCPU_STATS is not set -# CONFIG_GUP_TEST is not set + +# +# GUP_TEST needs to have DEBUG_FS enabled +# CONFIG_ARCH_HAS_PTE_SPECIAL=y CONFIG_SECRETMEM=y # CONFIG_ANON_VMA_NAME is not set @@ -1420,7 +1416,6 @@ CONFIG_ATM_MPOA=m CONFIG_ATM_BR2684=m # CONFIG_ATM_BR2684_IPFILTER is not set CONFIG_L2TP=m -CONFIG_L2TP_DEBUGFS=m CONFIG_L2TP_V3=y CONFIG_L2TP_IP=m CONFIG_L2TP_ETH=m @@ -1468,7 +1463,6 @@ CONFIG_IPDDP_ENCAP=y # CONFIG_LAPB is not set CONFIG_PHONET=m CONFIG_6LOWPAN=m -CONFIG_6LOWPAN_DEBUGFS=y CONFIG_6LOWPAN_NHC=m CONFIG_6LOWPAN_NHC_DEST=m CONFIG_6LOWPAN_NHC_FRAGMENT=m @@ -1657,7 +1651,6 @@ CONFIG_BT_LE=y # CONFIG_BT_LEDS is not set # CONFIG_BT_MSFTEXT is not set # CONFIG_BT_AOSPEXT is not set -CONFIG_BT_DEBUGFS=y # CONFIG_BT_FEATURE_DEBUG is not set # @@ -1689,7 +1682,6 @@ CONFIG_NL80211_TESTMODE=y CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y CONFIG_CFG80211_DEFAULT_PS=y -# CONFIG_CFG80211_DEBUGFS is not set CONFIG_CFG80211_CRDA_SUPPORT=y CONFIG_CFG80211_WEXT=y # CONFIG_MAC80211 is not set @@ -2555,7 +2547,6 @@ CONFIG_IEEE802154_DRIVERS=m # end of Wireless WAN # CONFIG_VMXNET3 is not set -# CONFIG_NETDEVSIM is not set # CONFIG_NET_FAILOVER is not set # CONFIG_ISDN is not set @@ -5556,7 +5547,6 @@ CONFIG_DMA_BCM2835=y # DMABUF options # CONFIG_SYNC_FILE=y -# CONFIG_SW_SYNC is not set # CONFIG_UDMABUF is not set # CONFIG_DMABUF_MOVE_NOTIFY is not set # CONFIG_DMABUF_DEBUG is not set @@ -5616,7 +5606,6 @@ CONFIG_STAGING=y CONFIG_STAGING_MEDIA=y # CONFIG_VIDEO_MAX96712 is not set CONFIG_VIDEO_RPIVID=m -# CONFIG_VIDEO_ZORAN is not set # CONFIG_DVB_AV7110 is not set # CONFIG_STAGING_BOARD is not set # CONFIG_LTE_GDM724X is not set @@ -6474,7 +6463,6 @@ CONFIG_CMA_SIZE_SEL_MBYTES=y # CONFIG_CMA_SIZE_SEL_MAX is not set CONFIG_CMA_ALIGNMENT=8 # CONFIG_DMA_API_DEBUG is not set -# CONFIG_DMA_MAP_BENCHMARK is not set CONFIG_SGL_ALLOC=y CONFIG_CPU_RMAP=y CONFIG_DQL=y @@ -6541,14 +6529,8 @@ CONFIG_FRAME_POINTER=y # # Generic Kernel Debugging Instruments # -CONFIG_MAGIC_SYSRQ=y -CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1 -CONFIG_MAGIC_SYSRQ_SERIAL=y -CONFIG_MAGIC_SYSRQ_SERIAL_SEQUENCE="" -CONFIG_DEBUG_FS=y -CONFIG_DEBUG_FS_ALLOW_ALL=y -# CONFIG_DEBUG_FS_DISALLOW_MOUNT is not set -# CONFIG_DEBUG_FS_ALLOW_NONE is not set +# CONFIG_MAGIC_SYSRQ is not set +# CONFIG_DEBUG_FS is not set CONFIG_HAVE_ARCH_KGDB=y CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y # CONFIG_UBSAN is not set @@ -6697,7 +6679,6 @@ CONFIG_ARCH_HAS_KCOV=y CONFIG_CC_HAS_SANCOV_TRACE_PC=y # CONFIG_KCOV is not set CONFIG_RUNTIME_TESTING_MENU=y -# CONFIG_LKDTM is not set # CONFIG_TEST_MIN_HEAP is not set # CONFIG_TEST_DIV64 is not set # CONFIG_REED_SOLOMON_TEST is not set -- cgit v1.2.3-70-g09d2