Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile a custom kernel? #12

Open
elasticdotventures opened this issue Jan 22, 2024 · 3 comments
Open

How to compile a custom kernel? #12

elasticdotventures opened this issue Jan 22, 2024 · 3 comments

Comments

@elasticdotventures
Copy link
Contributor

elasticdotventures commented Jan 22, 2024

I'm struggling with the steps to compile a custom kernel.

cd build/linux
make menuconfig
# next .. load arch/arm64/configs/longanpi_3h_defconfig
cd ../..
sh mklinux.sh

using the menuconfig step I'm able to change kernel options (specifically in my case I'm trying to add overlay filesystem & br_netfilter options for k8s) .. HOWEVER after this step I encounter an issue when running mklinux.sh where it can't cd dbts directory.

My specific changes are:

[M] Virtualization
[M] File System | Overlay FS
[M] Networking support | Networking Options | 
    ... [M] 802.1d Ethernet Bridging
    ... [M] Network Packet Filter
       ..  [M] Bridged IP/ARP packets filtering

** these modules are required to run k8s with cri-o containers

The error happens in mklinux.sh

+ cd _install/boot
+ cp vmlinuz-6.7.0-rc3+ Image
+ cd dtbs
mklinux.sh: 55: cd: can't cd to dtbs
@elasticdotventures
Copy link
Contributor Author

here is a diff

diff longanpi_3h_defconfig.old longanpi_3h_defconfig
3c3
< # Linux/arm64 6.7.0-rc3 Kernel Configuration
---
> # Linux/x86 6.7.0-rc3 Kernel Configuration
21c21
< CONFIG_PAHOLE_VERSION=125
---
> CONFIG_PAHOLE_VERSION=0
34a35,48
> CONFIG_HAVE_KERNEL_GZIP=y
> CONFIG_HAVE_KERNEL_BZIP2=y
> CONFIG_HAVE_KERNEL_LZMA=y
> CONFIG_HAVE_KERNEL_XZ=y
> CONFIG_HAVE_KERNEL_LZO=y
> CONFIG_HAVE_KERNEL_LZ4=y
> CONFIG_HAVE_KERNEL_ZSTD=y
> CONFIG_KERNEL_GZIP=y
> # CONFIG_KERNEL_BZIP2 is not set
> # CONFIG_KERNEL_LZMA is not set
> # CONFIG_KERNEL_XZ is not set
> # CONFIG_KERNEL_LZO is not set
> # CONFIG_KERNEL_LZ4 is not set
> # CONFIG_KERNEL_ZSTD is not set
52d65
< CONFIG_GENERIC_IRQ_SHOW_LEVEL=y
53a67
> CONFIG_GENERIC_PENDING_IRQ=y
56d69
< CONFIG_GENERIC_IRQ_CHIP=y
59,61c72,73
< CONFIG_IRQ_FASTEOI_HIERARCHY_HANDLERS=y
< CONFIG_GENERIC_IRQ_IPI=y
< CONFIG_GENERIC_MSI_IRQ=y
---
> CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y
> CONFIG_GENERIC_IRQ_RESERVATION_MODE=y
66a79,81
> CONFIG_CLOCKSOURCE_WATCHDOG=y
> CONFIG_ARCH_CLOCKSOURCE_INIT=y
> CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y
69d83
< CONFIG_ARCH_HAS_TICK_BROADCAST=y
70a85,86
> CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
> CONFIG_GENERIC_CMOS_UPDATE=y
85a102
> CONFIG_CLOCKSOURCE_WATCHDOG_MAX_SKEW_US=125
105a123
> # CONFIG_SCHED_CORE is not set
136c154
< CONFIG_GENERIC_SCHED_CLOCK=y
---
> CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
198a217
> CONFIG_HAVE_PCSPKR_PLATFORM=y
207a227
> CONFIG_PCSPKR_PLATFORM=y
222a243
> CONFIG_KALLSYMS_ABSOLUTE_PERCPU=y
244a266
> # CONFIG_KEXEC is not set
245a268
> # CONFIG_CRASH_DUMP is not set
249,250d271
< CONFIG_ARM64=y
< CONFIG_GCC_SUPPORTS_DYNAMIC_FTRACE_WITH_ARGS=y
251a273,278
> CONFIG_X86_64=y
> CONFIG_X86=y
> CONFIG_INSTRUCTION_DECODER=y
> CONFIG_OUTPUT_FORMAT="elf64-x86-64"
> CONFIG_LOCKDEP_SUPPORT=y
> CONFIG_STACKTRACE_SUPPORT=y
253,258c280,282
< CONFIG_ARM64_PAGE_SHIFT=12
< CONFIG_ARM64_CONT_PTE_SHIFT=4
< CONFIG_ARM64_CONT_PMD_SHIFT=4
< CONFIG_ARCH_MMAP_RND_BITS_MIN=18
< CONFIG_ARCH_MMAP_RND_BITS_MAX=24
< CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11
---
> CONFIG_ARCH_MMAP_RND_BITS_MIN=28
> CONFIG_ARCH_MMAP_RND_BITS_MAX=32
> CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
260,263c284
< CONFIG_NO_IOPORT_MAP=y
< CONFIG_STACKTRACE_SUPPORT=y
< CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
< CONFIG_LOCKDEP_SUPPORT=y
---
> CONFIG_GENERIC_ISA_DMA=y
266,267c287
< CONFIG_GENERIC_HWEIGHT=y
< CONFIG_GENERIC_CSUM=y
---
> CONFIG_ARCH_MAY_HAVE_PC_FDC=y
269,272c289,293
< CONFIG_SMP=y
< CONFIG_KERNEL_MODE_NEON=y
< CONFIG_FIX_EARLYCON_MEM=y
< CONFIG_PGTABLE_LEVELS=3
---
> CONFIG_ARCH_HAS_CPU_RELAX=y
> CONFIG_ARCH_HIBERNATION_POSSIBLE=y
> CONFIG_ARCH_SUSPEND_POSSIBLE=y
> CONFIG_AUDIT_ARCH=y
> CONFIG_X86_64_SMP=y
274,379c295,338
< CONFIG_ARCH_PROC_KCORE_TEXT=y
< CONFIG_BROKEN_GAS_INST=y
< CONFIG_BUILTIN_RETURN_ADDRESS_STRIPS_PAC=y
<
< #
< # Platform selection
< #
< # CONFIG_ARCH_ACTIONS is not set
< CONFIG_ARCH_SUNXI=y
< # CONFIG_ARCH_ALPINE is not set
< # CONFIG_ARCH_APPLE is not set
< # CONFIG_ARCH_BCM is not set
< # CONFIG_ARCH_BERLIN is not set
< # CONFIG_ARCH_BITMAIN is not set
< # CONFIG_ARCH_EXYNOS is not set
< # CONFIG_ARCH_SPARX5 is not set
< # CONFIG_ARCH_K3 is not set
< # CONFIG_ARCH_LG1K is not set
< # CONFIG_ARCH_HISI is not set
< # CONFIG_ARCH_KEEMBAY is not set
< # CONFIG_ARCH_MEDIATEK is not set
< # CONFIG_ARCH_MESON is not set
< # CONFIG_ARCH_MVEBU is not set
< # CONFIG_ARCH_NXP is not set
< # CONFIG_ARCH_MA35 is not set
< # CONFIG_ARCH_NPCM is not set
< # CONFIG_ARCH_PENSANDO is not set
< # CONFIG_ARCH_QCOM is not set
< # CONFIG_ARCH_REALTEK is not set
< # CONFIG_ARCH_RENESAS is not set
< # CONFIG_ARCH_ROCKCHIP is not set
< # CONFIG_ARCH_SEATTLE is not set
< # CONFIG_ARCH_INTEL_SOCFPGA is not set
< # CONFIG_ARCH_STM32 is not set
< # CONFIG_ARCH_SYNQUACER is not set
< # CONFIG_ARCH_TEGRA is not set
< # CONFIG_ARCH_SPRD is not set
< # CONFIG_ARCH_THUNDER is not set
< # CONFIG_ARCH_THUNDER2 is not set
< # CONFIG_ARCH_UNIPHIER is not set
< # CONFIG_ARCH_VEXPRESS is not set
< # CONFIG_ARCH_VISCONTI is not set
< # CONFIG_ARCH_XGENE is not set
< # CONFIG_ARCH_ZYNQMP is not set
< # end of Platform selection
<
< #
< # Kernel Features
< #
<
< #
< # ARM errata workarounds via the alternatives framework
< #
< # CONFIG_AMPERE_ERRATUM_AC03_CPU_38 is not set
< # CONFIG_ARM64_ERRATUM_826319 is not set
< # CONFIG_ARM64_ERRATUM_827319 is not set
< # CONFIG_ARM64_ERRATUM_824069 is not set
< # CONFIG_ARM64_ERRATUM_819472 is not set
< # CONFIG_ARM64_ERRATUM_832075 is not set
< CONFIG_ARM64_ERRATUM_843419=y
< # CONFIG_ARM64_ERRATUM_1024718 is not set
< # CONFIG_ARM64_ERRATUM_1165522 is not set
< # CONFIG_ARM64_ERRATUM_1319367 is not set
< # CONFIG_ARM64_ERRATUM_1530923 is not set
< # CONFIG_ARM64_ERRATUM_2441007 is not set
< # CONFIG_ARM64_ERRATUM_1286807 is not set
< # CONFIG_ARM64_ERRATUM_1463225 is not set
< # CONFIG_ARM64_ERRATUM_1542419 is not set
< # CONFIG_ARM64_ERRATUM_1508412 is not set
< # CONFIG_ARM64_ERRATUM_2051678 is not set
< # CONFIG_ARM64_ERRATUM_2077057 is not set
< # CONFIG_ARM64_ERRATUM_2658417 is not set
< # CONFIG_ARM64_ERRATUM_2054223 is not set
< # CONFIG_ARM64_ERRATUM_2067961 is not set
< # CONFIG_ARM64_ERRATUM_2441009 is not set
< # CONFIG_ARM64_ERRATUM_2645198 is not set
< CONFIG_ARM64_ERRATUM_2966298=y
< # CONFIG_CAVIUM_ERRATUM_22375 is not set
< # CONFIG_CAVIUM_ERRATUM_23154 is not set
< # CONFIG_CAVIUM_ERRATUM_27456 is not set
< # CONFIG_CAVIUM_ERRATUM_30115 is not set
< # CONFIG_CAVIUM_TX2_ERRATUM_219 is not set
< # CONFIG_FUJITSU_ERRATUM_010001 is not set
< # CONFIG_HISILICON_ERRATUM_161600802 is not set
< # CONFIG_QCOM_FALKOR_ERRATUM_1003 is not set
< # CONFIG_QCOM_FALKOR_ERRATUM_1009 is not set
< # CONFIG_QCOM_QDF2400_ERRATUM_0065 is not set
< # CONFIG_QCOM_FALKOR_ERRATUM_E1041 is not set
< # CONFIG_NVIDIA_CARMEL_CNP_ERRATUM is not set
< # CONFIG_ROCKCHIP_ERRATUM_3588001 is not set
< # CONFIG_SOCIONEXT_SYNQUACER_PREITS is not set
< # end of ARM errata workarounds via the alternatives framework
<
< CONFIG_ARM64_4K_PAGES=y
< # CONFIG_ARM64_16K_PAGES is not set
< # CONFIG_ARM64_64K_PAGES is not set
< CONFIG_ARM64_VA_BITS_39=y
< # CONFIG_ARM64_VA_BITS_48 is not set
< CONFIG_ARM64_VA_BITS=39
< CONFIG_ARM64_PA_BITS_48=y
< CONFIG_ARM64_PA_BITS=48
< # CONFIG_CPU_BIG_ENDIAN is not set
< CONFIG_CPU_LITTLE_ENDIAN=y
< # CONFIG_SCHED_MC is not set
< # CONFIG_SCHED_CLUSTER is not set
< # CONFIG_SCHED_SMT is not set
---
> CONFIG_FIX_EARLYCON_MEM=y
> CONFIG_PGTABLE_LEVELS=5
> CONFIG_CC_HAS_SANE_STACKPROTECTOR=y
>
> #
> # Processor type and features
> #
> CONFIG_SMP=y
> CONFIG_X86_MPPARSE=y
> # CONFIG_GOLDFISH is not set
> # CONFIG_X86_CPU_RESCTRL is not set
> CONFIG_X86_EXTENDED_PLATFORM=y
> # CONFIG_X86_GOLDFISH is not set
> # CONFIG_X86_AMD_PLATFORM_DEVICE is not set
> CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
> CONFIG_SCHED_OMIT_FRAME_POINTER=y
> # CONFIG_HYPERVISOR_GUEST is not set
> # CONFIG_MK8 is not set
> # CONFIG_MPSC is not set
> # CONFIG_MCORE2 is not set
> # CONFIG_MATOM is not set
> CONFIG_GENERIC_CPU=y
> CONFIG_X86_INTERNODE_CACHE_SHIFT=6
> CONFIG_X86_L1_CACHE_SHIFT=6
> CONFIG_X86_TSC=y
> CONFIG_X86_CMPXCHG64=y
> CONFIG_X86_CMOV=y
> CONFIG_X86_MINIMUM_CPU_FAMILY=64
> CONFIG_X86_DEBUGCTLMSR=y
> CONFIG_IA32_FEAT_CTL=y
> CONFIG_X86_VMX_FEATURE_NAMES=y
> # CONFIG_PROCESSOR_SELECT is not set
> CONFIG_CPU_SUP_INTEL=y
> CONFIG_CPU_SUP_AMD=y
> CONFIG_CPU_SUP_HYGON=y
> CONFIG_CPU_SUP_CENTAUR=y
> CONFIG_CPU_SUP_ZHAOXIN=y
> CONFIG_HPET_TIMER=y
> CONFIG_HPET_EMULATE_RTC=y
> CONFIG_DMI=y
> # CONFIG_MAXSMP is not set
> CONFIG_NR_CPUS_RANGE_BEGIN=2
> CONFIG_NR_CPUS_RANGE_END=512
> CONFIG_NR_CPUS_DEFAULT=64
381c340,370
< CONFIG_HOTPLUG_CPU=y
---
> # CONFIG_SCHED_CLUSTER is not set
> CONFIG_SCHED_SMT=y
> # CONFIG_SCHED_MC is not set
> CONFIG_X86_LOCAL_APIC=y
> CONFIG_X86_IO_APIC=y
> # CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS is not set
> CONFIG_X86_MCE=y
> # CONFIG_X86_MCELOG_LEGACY is not set
> CONFIG_X86_MCE_INTEL=y
> CONFIG_X86_MCE_THRESHOLD=y
> # CONFIG_X86_MCE_INJECT is not set
>
> #
> # Performance monitoring
> #
> # CONFIG_PERF_EVENTS_AMD_POWER is not set
> CONFIG_PERF_EVENTS_AMD_UNCORE=y
> # CONFIG_PERF_EVENTS_AMD_BRS is not set
> # end of Performance monitoring
>
> CONFIG_X86_16BIT=y
> CONFIG_X86_ESPFIX64=y
> CONFIG_X86_VSYSCALL_EMULATION=y
> CONFIG_X86_IOPL_IOPERM=y
> CONFIG_MICROCODE=y
> # CONFIG_MICROCODE_LATE_LOADING is not set
> # CONFIG_X86_MSR is not set
> # CONFIG_X86_CPUID is not set
> CONFIG_X86_5LEVEL=y
> CONFIG_X86_DIRECT_GBPAGES=y
> # CONFIG_X86_CPA_STATISTICS is not set
382a372,391
> CONFIG_ARCH_SPARSEMEM_ENABLE=y
> CONFIG_ARCH_SPARSEMEM_DEFAULT=y
> CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
> # CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
> CONFIG_MTRR=y
> CONFIG_MTRR_SANITIZER=y
> CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0
> CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
> CONFIG_X86_PAT=y
> CONFIG_ARCH_USES_PG_UNCACHED=y
> CONFIG_X86_UMIP=y
> CONFIG_CC_HAS_IBT=y
> CONFIG_X86_CET=y
> CONFIG_X86_KERNEL_IBT=y
> CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y
> CONFIG_X86_INTEL_TSX_MODE_OFF=y
> # CONFIG_X86_INTEL_TSX_MODE_ON is not set
> # CONFIG_X86_INTEL_TSX_MODE_AUTO is not set
> # CONFIG_X86_USER_SHADOW_STACK is not set
> # CONFIG_EFI is not set
389,392c398
< CONFIG_ARCH_SPARSEMEM_ENABLE=y
< CONFIG_HW_PERF_EVENTS=y
< # CONFIG_PARAVIRT is not set
< # CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
---
> CONFIG_ARCH_SUPPORTS_KEXEC=y
395,396c401,403
< CONFIG_ARCH_SUPPORTS_KEXEC_IMAGE_VERIFY_SIG=y
< CONFIG_ARCH_DEFAULT_KEXEC_IMAGE_VERIFY_SIG=y
---
> CONFIG_ARCH_SUPPORTS_KEXEC_SIG_FORCE=y
> CONFIG_ARCH_SUPPORTS_KEXEC_BZIMAGE_VERIFY_SIG=y
> CONFIG_ARCH_SUPPORTS_KEXEC_JUMP=y
398,449c405,406
< # CONFIG_XEN is not set
< CONFIG_ARCH_FORCE_MAX_ORDER=10
< # CONFIG_UNMAP_KERNEL_AT_EL0 is not set
< # CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY is not set
< # CONFIG_RODATA_FULL_DEFAULT_ENABLED is not set
< # CONFIG_ARM64_SW_TTBR0_PAN is not set
< # CONFIG_ARM64_TAGGED_ADDR_ABI is not set
< # CONFIG_COMPAT is not set
<
< #
< # ARMv8.1 architectural features
< #
< # CONFIG_ARM64_HW_AFDBM is not set
< # CONFIG_ARM64_PAN is not set
< # CONFIG_ARM64_USE_LSE_ATOMICS is not set
< # end of ARMv8.1 architectural features
<
< #
< # ARMv8.2 architectural features
< #
< # CONFIG_ARM64_PMEM is not set
< # CONFIG_ARM64_RAS_EXTN is not set
< # CONFIG_ARM64_CNP is not set
< # end of ARMv8.2 architectural features
<
< #
< # ARMv8.3 architectural features
< #
< # CONFIG_ARM64_PTR_AUTH is not set
< CONFIG_AS_HAS_CFI_NEGATE_RA_STATE=y
< # end of ARMv8.3 architectural features
<
< #
< # ARMv8.4 architectural features
< #
< # CONFIG_ARM64_AMU_EXTN is not set
< # end of ARMv8.4 architectural features
<
< #
< # ARMv8.5 architectural features
< #
< # CONFIG_ARM64_BTI is not set
< # CONFIG_ARM64_E0PD is not set
< # end of ARMv8.5 architectural features
<
< #
< # ARMv8.7 architectural features
< #
< # end of ARMv8.7 architectural features
<
< # CONFIG_ARM64_SVE is not set
< # CONFIG_ARM64_PSEUDO_NMI is not set
---
> CONFIG_ARCH_SUPPORTS_CRASH_HOTPLUG=y
> CONFIG_PHYSICAL_START=0x1000000
451,459c408,441
< # CONFIG_RANDOMIZE_BASE is not set
< # end of Kernel Features
<
< #
< # Boot options
< #
< CONFIG_CMDLINE=""
< # CONFIG_EFI is not set
< # end of Boot options
---
> CONFIG_PHYSICAL_ALIGN=0x200000
> CONFIG_DYNAMIC_MEMORY_LAYOUT=y
> # CONFIG_ADDRESS_MASKING is not set
> CONFIG_HOTPLUG_CPU=y
> CONFIG_LEGACY_VSYSCALL_XONLY=y
> # CONFIG_LEGACY_VSYSCALL_NONE is not set
> # CONFIG_CMDLINE_BOOL is not set
> CONFIG_MODIFY_LDT_SYSCALL=y
> # CONFIG_STRICT_SIGALTSTACK_SIZE is not set
> CONFIG_HAVE_LIVEPATCH=y
> # end of Processor type and features
>
> CONFIG_CC_HAS_SLS=y
> CONFIG_CC_HAS_RETURN_THUNK=y
> CONFIG_CC_HAS_ENTRY_PADDING=y
> CONFIG_FUNCTION_PADDING_CFI=11
> CONFIG_FUNCTION_PADDING_BYTES=16
> CONFIG_CALL_PADDING=y
> CONFIG_HAVE_CALL_THUNKS=y
> CONFIG_CALL_THUNKS=y
> CONFIG_PREFIX_SYMBOLS=y
> CONFIG_SPECULATION_MITIGATIONS=y
> CONFIG_PAGE_TABLE_ISOLATION=y
> CONFIG_RETPOLINE=y
> CONFIG_RETHUNK=y
> CONFIG_CPU_UNRET_ENTRY=y
> CONFIG_CALL_DEPTH_TRACKING=y
> # CONFIG_CALL_THUNKS_DEBUG is not set
> CONFIG_CPU_IBPB_ENTRY=y
> CONFIG_CPU_IBRS_ENTRY=y
> CONFIG_CPU_SRSO=y
> # CONFIG_SLS is not set
> # CONFIG_GDS_FORCE_MITIGATION is not set
> CONFIG_ARCH_HAS_ADD_PAGES=y
462c444
< # Power management options
---
> # Power management and ACPI options
469d450
< CONFIG_CPU_PM=y
471,494c452,491
< CONFIG_ARCH_HIBERNATION_POSSIBLE=y
< CONFIG_ARCH_SUSPEND_POSSIBLE=y
< # end of Power management options
<
< #
< # CPU Power Management
< #
<
< #
< # CPU Idle
< #
< CONFIG_CPU_IDLE=y
< CONFIG_CPU_IDLE_MULTIPLE_DRIVERS=y
< # CONFIG_CPU_IDLE_GOV_LADDER is not set
< CONFIG_CPU_IDLE_GOV_MENU=y
< # CONFIG_CPU_IDLE_GOV_TEO is not set
< CONFIG_DT_IDLE_STATES=y
<
< #
< # ARM CPU Idle Drivers
< #
< CONFIG_ARM_PSCI_CPUIDLE=y
< # end of ARM CPU Idle Drivers
< # end of CPU Idle
---
> CONFIG_ARCH_SUPPORTS_ACPI=y
> CONFIG_ACPI=y
> CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
> CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
> CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
> # CONFIG_ACPI_DEBUGGER is not set
> CONFIG_ACPI_SPCR_TABLE=y
> # CONFIG_ACPI_FPDT is not set
> CONFIG_ACPI_LPIT=y
> CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
> # CONFIG_ACPI_EC_DEBUGFS is not set
> CONFIG_ACPI_AC=y
> CONFIG_ACPI_BATTERY=y
> CONFIG_ACPI_BUTTON=y
> CONFIG_ACPI_FAN=y
> # CONFIG_ACPI_DOCK is not set
> CONFIG_ACPI_CPU_FREQ_PSS=y
> CONFIG_ACPI_PROCESSOR_CSTATE=y
> CONFIG_ACPI_PROCESSOR_IDLE=y
> CONFIG_ACPI_PROCESSOR=y
> CONFIG_ACPI_HOTPLUG_CPU=y
> # CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
> CONFIG_ACPI_THERMAL=y
> CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
> CONFIG_ACPI_TABLE_UPGRADE=y
> # CONFIG_ACPI_DEBUG is not set
> CONFIG_ACPI_CONTAINER=y
> # CONFIG_ACPI_SBS is not set
> # CONFIG_ACPI_HED is not set
> # CONFIG_ACPI_CUSTOM_METHOD is not set
> # CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set
> CONFIG_HAVE_ACPI_APEI=y
> CONFIG_HAVE_ACPI_APEI_NMI=y
> # CONFIG_ACPI_APEI is not set
> # CONFIG_ACPI_DPTF is not set
> # CONFIG_ACPI_CONFIGFS is not set
> # CONFIG_ACPI_PFRUT is not set
> # CONFIG_ACPI_FFH is not set
> # CONFIG_PMIC_OPREGION is not set
> CONFIG_X86_PM_TIMER=y
521c518,528
< CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM=y
---
> # CONFIG_X86_INTEL_PSTATE is not set
> # CONFIG_X86_PCC_CPUFREQ is not set
> # CONFIG_X86_AMD_PSTATE is not set
> # CONFIG_X86_AMD_PSTATE_UT is not set
> # CONFIG_X86_ACPI_CPUFREQ is not set
> # CONFIG_X86_SPEEDSTEP_CENTRINO is not set
> # CONFIG_X86_P4_CLOCKMOD is not set
>
> #
> # shared options
> #
523c530,555
< # end of CPU Power Management
---
>
> #
> # CPU Idle
> #
> CONFIG_CPU_IDLE=y
> # CONFIG_CPU_IDLE_GOV_LADDER is not set
> CONFIG_CPU_IDLE_GOV_MENU=y
> # CONFIG_CPU_IDLE_GOV_TEO is not set
> # end of CPU Idle
>
> # CONFIG_INTEL_IDLE is not set
> # end of Power management and ACPI options
>
> #
> # Bus options (PCI etc.)
> #
> # CONFIG_ISA_BUS is not set
> CONFIG_ISA_DMA_API=y
> # end of Bus options (PCI etc.)
>
> #
> # Binary Emulations
> #
> # CONFIG_IA32_EMULATION is not set
> # CONFIG_X86_X32_ABI is not set
> # end of Binary Emulations
526a559,564
> CONFIG_AS_AVX512=y
> CONFIG_AS_SHA1_NI=y
> CONFIG_AS_SHA256_NI=y
> CONFIG_AS_TPAUSE=y
> CONFIG_AS_GFNI=y
> CONFIG_AS_WRUSS=y
530a569
> CONFIG_HOTPLUG_SMT=y
532a572,575
> CONFIG_HOTPLUG_CORE_SYNC_FULL=y
> CONFIG_HOTPLUG_SPLIT_STARTUP=y
> CONFIG_HOTPLUG_PARALLEL=y
> CONFIG_GENERIC_ENTRY=y
535a579
> # CONFIG_STATIC_CALL_SELFTEST is not set
536a581
> CONFIG_ARCH_USE_BUILTIN_BSWAP=y
539a585,586
> CONFIG_HAVE_OPTPROBES=y
> CONFIG_HAVE_KPROBES_ON_FTRACE=y
548d594
< CONFIG_GENERIC_IDLE_POLL_SETUP=y
550d595
< CONFIG_ARCH_HAS_KEEPINITRD=y
552a598
> CONFIG_ARCH_HAS_CPU_FINALIZE_INIT=y
553a600
> CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y
557a605
> CONFIG_HAVE_RUST=y
559a608,611
> CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
> CONFIG_HAVE_USER_RETURN_NOTIFIER=y
> CONFIG_HAVE_PERF_EVENTS_NMI=y
> CONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=y
564,565c616
< CONFIG_MMU_GATHER_TABLE_FREE=y
< CONFIG_MMU_GATHER_RCU_TABLE_FREE=y
---
> CONFIG_MMU_GATHER_MERGE_VMAS=y
583a635
> CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y
584a637
> CONFIG_HAVE_CONTEXT_TRACKING_USER_OFFSTACK=y
589a643
> CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD=y
592a647
> CONFIG_HAVE_ARCH_SOFT_DIRTY=y
594a650
> CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
599c655,656
< CONFIG_ARCH_MMAP_RND_BITS=18
---
> CONFIG_HAVE_EXIT_THREAD=y
> CONFIG_ARCH_MMAP_RND_BITS=28
602,603c659,665
< CONFIG_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT=y
< CONFIG_CLONE_BACKWARDS=y
---
> CONFIG_HAVE_OBJTOOL=y
> CONFIG_HAVE_JUMP_LABEL_HACK=y
> CONFIG_HAVE_NOINSTR_HACK=y
> CONFIG_HAVE_NOINSTR_VALIDATION=y
> CONFIG_HAVE_UACCESS_VALIDATION=y
> CONFIG_HAVE_STACK_VALIDATION=y
> CONFIG_HAVE_RELIABLE_STACKTRACE=y
613d674
< CONFIG_HAVE_ARCH_COMPILER_H=y
615a677,679
> CONFIG_ARCH_HAS_MEM_ENCRYPT=y
> CONFIG_HAVE_STATIC_CALL=y
> CONFIG_HAVE_STATIC_CALL_INLINE=y
617c681
< CONFIG_HAVE_PREEMPT_DYNAMIC_KEY=y
---
> CONFIG_HAVE_PREEMPT_DYNAMIC_CALL=y
621c685,688
< CONFIG_ARCH_HAVE_TRACE_MMIO_ACCESS=y
---
> CONFIG_ARCH_HAS_ELFCORE_COMPAT=y
> CONFIG_ARCH_HAS_PARANOID_L1D_FLUSH=y
> CONFIG_DYNAMIC_SIGFRAME=y
> CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG=y
632c699,700
< CONFIG_FUNCTION_ALIGNMENT=4
---
> CONFIG_FUNCTION_ALIGNMENT_16B=y
> CONFIG_FUNCTION_ALIGNMENT=16
713a782
> CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=y
721,724d789
< CONFIG_ARCH_BINFMT_ELF_STATE=y
< CONFIG_ARCH_BINFMT_ELF_EXTRA_PHDRS=y
< CONFIG_ARCH_HAVE_ELF_PROT=y
< CONFIG_ARCH_USE_GNU_PROPERTY=y
756a822,823
> CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP=y
> CONFIG_ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP=y
758d824
< CONFIG_ARCH_KEEP_MEMBLOCK=y
761d826
< CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
775a841
> CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
777a844,846
> CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
> CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
> CONFIG_HAVE_SETUP_PER_CPU_AREA=y
791a861,862
> CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y
> CONFIG_ARCH_HAS_PKEYS=y
813a885,887
> CONFIG_NET_INGRESS=y
> CONFIG_NET_EGRESS=y
> CONFIG_SKB_EXTENSIONS=y
867c941,976
< # CONFIG_NETFILTER is not set
---
> CONFIG_NETFILTER=y
> CONFIG_NETFILTER_ADVANCED=y
> CONFIG_BRIDGE_NETFILTER=m
>
> #
> # Core Netfilter Configuration
> #
> CONFIG_NETFILTER_INGRESS=y
> CONFIG_NETFILTER_EGRESS=y
> CONFIG_NETFILTER_FAMILY_BRIDGE=y
> # CONFIG_NETFILTER_NETLINK_ACCT is not set
> # CONFIG_NETFILTER_NETLINK_QUEUE is not set
> # CONFIG_NETFILTER_NETLINK_LOG is not set
> # CONFIG_NETFILTER_NETLINK_OSF is not set
> # CONFIG_NF_CONNTRACK is not set
> # CONFIG_NF_LOG_SYSLOG is not set
> # CONFIG_NF_TABLES is not set
> # CONFIG_NETFILTER_XTABLES is not set
> # end of Core Netfilter Configuration
>
> # CONFIG_IP_SET is not set
> # CONFIG_IP_VS is not set
>
> #
> # IP: Netfilter Configuration
> #
> # CONFIG_NF_SOCKET_IPV4 is not set
> # CONFIG_NF_TPROXY_IPV4 is not set
> # CONFIG_NF_DUP_IPV4 is not set
> # CONFIG_NF_LOG_ARP is not set
> # CONFIG_NF_LOG_IPV4 is not set
> # CONFIG_NF_REJECT_IPV4 is not set
> # CONFIG_IP_NF_IPTABLES is not set
> # CONFIG_IP_NF_ARPTABLES is not set
> # end of IP: Netfilter Configuration
>
875c984,988
< # CONFIG_BRIDGE is not set
---
> CONFIG_STP=m
> CONFIG_BRIDGE=m
> CONFIG_BRIDGE_IGMP_SNOOPING=y
> # CONFIG_BRIDGE_MRP is not set
> # CONFIG_BRIDGE_CFM is not set
877a991
> CONFIG_LLC=m
1006c1120,1121
< CONFIG_ARM_AMBA=y
---
> CONFIG_HAVE_EISA=y
> # CONFIG_EISA is not set
1039d1153
< CONFIG_SOC_BUS=y
1046d1159
< CONFIG_GENERIC_ARCH_TOPOLOGY=y
1053,1056d1165
< CONFIG_ARM_CCI=y
< CONFIG_SUN50I_DE2_BUS=y
< # CONFIG_SUNXI_RSB is not set
< # CONFIG_VEXPRESS_CONFIG is not set
1075d1183
< # CONFIG_ARM_SCMI_PROTOCOL is not set
1077a1186
> # CONFIG_EDD is not set
1079c1188,1192
< # CONFIG_ARM_FFA_TRANSPORT is not set
---
> CONFIG_DMIID=y
> # CONFIG_DMI_SYSFS is not set
> CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
> # CONFIG_FW_CFG_SYSFS is not set
> # CONFIG_SYSFB_SIMPLEFB is not set
1081,1082d1193
< CONFIG_ARM_PSCI_FW=y
< # CONFIG_ARM_PSCI_CHECKER is not set
1089,1092d1199
< CONFIG_HAVE_ARM_SMCCC=y
< CONFIG_HAVE_ARM_SMCCC_DISCOVERY=y
< CONFIG_ARM_SMCCC_SOC_ID=y
<
1101d1207
< CONFIG_DTC=y
1104,1105d1209
< CONFIG_OF_FLATTREE=y
< CONFIG_OF_EARLY_FLATTREE=y
1109d1212
< CONFIG_OF_RESERVED_MEM=y
1110a1214
> CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
1111a1216,1222
> CONFIG_PNP=y
> CONFIG_PNP_DEBUG_MESSAGES=y
>
> #
> # Protocols
> #
> CONFIG_PNPACPI=y
1140d1250
< # CONFIG_OPEN_DICE is not set
1206a1317
> # CONFIG_MACINTOSH_DRIVERS is not set
1229d1339
< # CONFIG_NET_VENDOR_ALLWINNER is not set
1232d1341
< # CONFIG_NET_VENDOR_AMD is not set
1246d1354
< # CONFIG_NET_VENDOR_HISILICON is not set
1267d1374
< # CONFIG_NET_VENDOR_SMSC is not set
1275,1276d1381
< # CONFIG_DWMAC_SUNXI is not set
< CONFIG_DWMAC_SUN8I=y
1283a1389
> # CONFIG_NET_SB1000 is not set
1347a1454
> CONFIG_ACPI_MDIO=y
1349d1455
< # CONFIG_MDIO_SUN4I is not set
1362d1467
< CONFIG_MDIO_BUS_MUX=y
1409a1515
> # CONFIG_FUJITSU_ES is not set
1445a1552
> CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
1469a1577
> CONFIG_SERIAL_8250_PNP=y
1477d1584
< CONFIG_SERIAL_8250_FSL=y
1485,1487d1591
< # CONFIG_SERIAL_AMBA_PL010 is not set
< # CONFIG_SERIAL_AMBA_PL011 is not set
< # CONFIG_SERIAL_EARLYCON_SEMIHOST is not set
1491a1596
> # CONFIG_SERIAL_LANTIQ is not set
1509d1613
< # CONFIG_HVC_DCC is not set
1514a1619
> # CONFIG_MWAVE is not set
1515a1621
> # CONFIG_NVRAM is not set
1516a1623,1624
> # CONFIG_HPET is not set
> # CONFIG_HANGCHECK_TIMER is not set
1517a1626
> # CONFIG_TELCLOCK is not set
1525a1635
> CONFIG_ACPI_I2C_OPREGION=y
1536a1647,1651
> # ACPI drivers
> #
> # CONFIG_I2C_SCMI is not set
>
> #
1539d1653
< # CONFIG_I2C_CADENCE is not set
1544,1546d1657
< # CONFIG_I2C_HISI is not set
< CONFIG_I2C_MV64XXX=y
< # CONFIG_I2C_NOMADIK is not set
1564a1676
> # CONFIG_I2C_MLXCPLD is not set
1593,1595d1704
< CONFIG_PINMUX=y
< CONFIG_PINCONF=y
< CONFIG_GENERIC_PINCONF=y
1596a1706
> # CONFIG_PINCTRL_AMD is not set
1598a1709
> # CONFIG_PINCTRL_EQUILIBRIUM is not set
1606a1718,1740
> # Intel pinctrl drivers
> #
> # CONFIG_PINCTRL_BAYTRAIL is not set
> # CONFIG_PINCTRL_CHERRYVIEW is not set
> # CONFIG_PINCTRL_LYNXPOINT is not set
> # CONFIG_PINCTRL_ALDERLAKE is not set
> # CONFIG_PINCTRL_BROXTON is not set
> # CONFIG_PINCTRL_CANNONLAKE is not set
> # CONFIG_PINCTRL_CEDARFORK is not set
> # CONFIG_PINCTRL_DENVERTON is not set
> # CONFIG_PINCTRL_ELKHARTLAKE is not set
> # CONFIG_PINCTRL_EMMITSBURG is not set
> # CONFIG_PINCTRL_GEMINILAKE is not set
> # CONFIG_PINCTRL_ICELAKE is not set
> # CONFIG_PINCTRL_JASPERLAKE is not set
> # CONFIG_PINCTRL_LAKEFIELD is not set
> # CONFIG_PINCTRL_LEWISBURG is not set
> # CONFIG_PINCTRL_METEORLAKE is not set
> # CONFIG_PINCTRL_SUNRISEPOINT is not set
> # CONFIG_PINCTRL_TIGERLAKE is not set
> # end of Intel pinctrl drivers
>
> #
1611,1635d1744
< CONFIG_PINCTRL_SUNXI=y
< # CONFIG_PINCTRL_SUN4I_A10 is not set
< # CONFIG_PINCTRL_SUN5I is not set
< # CONFIG_PINCTRL_SUN6I_A31 is not set
< # CONFIG_PINCTRL_SUN6I_A31_R is not set
< # CONFIG_PINCTRL_SUN8I_A23 is not set
< # CONFIG_PINCTRL_SUN8I_A33 is not set
< # CONFIG_PINCTRL_SUN8I_A83T is not set
< # CONFIG_PINCTRL_SUN8I_A83T_R is not set
< # CONFIG_PINCTRL_SUN8I_A23_R is not set
< # CONFIG_PINCTRL_SUN8I_H3 is not set
< # CONFIG_PINCTRL_SUN8I_H3_R is not set
< # CONFIG_PINCTRL_SUN8I_V3S is not set
< # CONFIG_PINCTRL_SUN9I_A80 is not set
< # CONFIG_PINCTRL_SUN9I_A80_R is not set
< # CONFIG_PINCTRL_SUN20I_D1 is not set
< # CONFIG_PINCTRL_SUN50I_A64 is not set
< # CONFIG_PINCTRL_SUN50I_A64_R is not set
< # CONFIG_PINCTRL_SUN50I_A100 is not set
< # CONFIG_PINCTRL_SUN50I_A100_R is not set
< # CONFIG_PINCTRL_SUN50I_H5 is not set
< # CONFIG_PINCTRL_SUN50I_H6 is not set
< # CONFIG_PINCTRL_SUN50I_H6_R is not set
< CONFIG_PINCTRL_SUN50I_H616=y
< CONFIG_PINCTRL_SUN50I_H616_R=y
1638a1748
> CONFIG_GPIO_ACPI=y
1649a1760
> # CONFIG_GPIO_AMDPT is not set
1655d1765
< # CONFIG_GPIO_HISI is not set
1659d1768
< # CONFIG_GPIO_PL061 is not set
1662d1770
< # CONFIG_GPIO_XGENE is not set
1667a1776,1785
> # Port-mapped I/O GPIO drivers
> #
> # CONFIG_GPIO_F7188X is not set
> # CONFIG_GPIO_IT87 is not set
> # CONFIG_GPIO_SCH311X is not set
> # CONFIG_GPIO_WINBOND is not set
> # CONFIG_GPIO_WS16C48 is not set
> # end of Port-mapped I/O GPIO drivers
>
> #
1684a1803
> # CONFIG_GPIO_ELKHARTLAKE is not set
1708d1826
< # CONFIG_POWER_RESET_XGENE is not set
1755c1873,1906
< # CONFIG_THERMAL is not set
---
> CONFIG_THERMAL=y
> # CONFIG_THERMAL_NETLINK is not set
> # CONFIG_THERMAL_STATISTICS is not set
> CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0
> CONFIG_THERMAL_OF=y
> CONFIG_THERMAL_WRITABLE_TRIPS=y
> CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
> # CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
> # CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
> # CONFIG_THERMAL_GOV_FAIR_SHARE is not set
> CONFIG_THERMAL_GOV_STEP_WISE=y
> # CONFIG_THERMAL_GOV_BANG_BANG is not set
> CONFIG_THERMAL_GOV_USER_SPACE=y
> # CONFIG_CPU_THERMAL is not set
> # CONFIG_THERMAL_EMULATION is not set
> # CONFIG_THERMAL_MMIO is not set
>
> #
> # Intel thermal drivers
> #
> # CONFIG_INTEL_POWERCLAMP is not set
> CONFIG_X86_THERMAL_VECTOR=y
> CONFIG_INTEL_TCC=y
> CONFIG_X86_PKG_TEMP_THERMAL=m
>
> #
> # ACPI INT340X thermal drivers
> #
> # end of ACPI INT340X thermal drivers
>
> # CONFIG_INTEL_TCC_COOLING is not set
> # CONFIG_INTEL_HFI_THERMAL is not set
> # end of Intel thermal drivers
>
1773a1925
> # CONFIG_WDAT_WDT is not set
1775d1926
< # CONFIG_XILINX_WINDOW_WATCHDOG is not set
1777,1778d1927
< # CONFIG_ARM_SP805_WATCHDOG is not set
< # CONFIG_ARM_SBSA_WATCHDOG is not set
1781d1929
< CONFIG_SUNXI_WATCHDOG=y
1783c1931,1957
< # CONFIG_ARM_SMC_WATCHDOG is not set
---
> # CONFIG_ACQUIRE_WDT is not set
> # CONFIG_ADVANTECH_WDT is not set
> # CONFIG_ADVANTECH_EC_WDT is not set
> # CONFIG_EBC_C384_WDT is not set
> # CONFIG_EXAR_WDT is not set
> # CONFIG_F71808E_WDT is not set
> # CONFIG_SBC_FITPC2_WATCHDOG is not set
> # CONFIG_EUROTECH_WDT is not set
> # CONFIG_IB700_WDT is not set
> # CONFIG_IBMASR is not set
> # CONFIG_WAFER_WDT is not set
> # CONFIG_IT8712F_WDT is not set
> # CONFIG_IT87_WDT is not set
> # CONFIG_SC1200_WDT is not set
> # CONFIG_PC87413_WDT is not set
> # CONFIG_60XX_WDT is not set
> # CONFIG_CPU5_WDT is not set
> # CONFIG_SMSC_SCH311X_WDT is not set
> # CONFIG_SMSC37B787_WDT is not set
> # CONFIG_TQMX86_WDT is not set
> # CONFIG_W83627HF_WDT is not set
> # CONFIG_W83877F_WDT is not set
> # CONFIG_W83977F_WDT is not set
> # CONFIG_MACHZ_WDT is not set
> # CONFIG_SBC_EPX_C3_WATCHDOG is not set
> # CONFIG_NI903X_WDT is not set
> # CONFIG_NIC7018_WDT is not set
1800d1973
< # CONFIG_MFD_SUN4I_GPADC is not set
1825a1999,2000
> # CONFIG_MFD_INTEL_LPSS_ACPI is not set
> # CONFIG_MFD_INTEL_PMC_BXT is not set
1863d2037
< CONFIG_MFD_SUN6I_PRCM=y
1936a2111
> # CONFIG_REGULATOR_MAX8973 is not set
1989a2165
> CONFIG_APERTURE_HELPERS=y
2002,2006d2177
< CONFIG_DRM_DISPLAY_HELPER=y
< CONFIG_DRM_DISPLAY_HDMI_HELPER=y
< # CONFIG_DRM_DP_AUX_CHARDEV is not set
< # CONFIG_DRM_DP_CEC is not set
< CONFIG_DRM_GEM_DMA_HELPER=y
2020,2021d2190
< # CONFIG_DRM_HDLCD is not set
< # CONFIG_DRM_MALI_DISPLAY is not set
2028,2032d2196
< CONFIG_DRM_SUN4I=y
< # CONFIG_DRM_SUN6I_DSI is not set
< CONFIG_DRM_SUN8I_DW_HDMI=y
< CONFIG_DRM_SUN8I_MIXER=y
< CONFIG_DRM_SUN8I_TCON_TOP=y
2087,2091d2250
< CONFIG_DRM_DW_HDMI=y
< # CONFIG_DRM_DW_HDMI_AHB_AUDIO is not set
< # CONFIG_DRM_DW_HDMI_I2S_AUDIO is not set
< # CONFIG_DRM_DW_HDMI_GP_AUDIO is not set
< # CONFIG_DRM_DW_HDMI_CEC is not set
2095d2253
< # CONFIG_DRM_HISI_KIRIN is not set
2100,2103d2257
< # CONFIG_DRM_PL111 is not set
< # CONFIG_DRM_LIMA is not set
< # CONFIG_DRM_PANFROST is not set
< # CONFIG_DRM_TIDSS is not set
2120d2273
< CONFIG_FB_DMAMEM_HELPERS=y
2133d2285
< CONFIG_VIDEOMODE_HELPERS=y
2138a2291
> CONFIG_VGA_CONSOLE=y
2168a2322
> CONFIG_SND_DMA_SGBUF=y
2170a2325
> # CONFIG_SND_PCSP is not set
2183c2338
< CONFIG_SND_HDA_PREALLOC_SIZE=64
---
> CONFIG_SND_HDA_PREALLOC_SIZE=0
2186a2342
> # CONFIG_SND_USB_USX2Y is not set
2187a2344
> # CONFIG_SND_USB_US122L is not set
2223a2381,2383
> CONFIG_SND_SOC_INTEL_SST_TOPLEVEL=y
> CONFIG_SND_SOC_INTEL_MACH=y
> # CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES is not set
2232,2243d2391
< #
< # Allwinner SoC Audio support
< #
< # CONFIG_SND_SUN4I_CODEC is not set
< # CONFIG_SND_SUN8I_CODEC is not set
< # CONFIG_SND_SUN8I_CODEC_ANALOG is not set
< # CONFIG_SND_SUN50I_CODEC_ANALOG is not set
< # CONFIG_SND_SUN4I_I2S is not set
< # CONFIG_SND_SUN4I_SPDIF is not set
< # CONFIG_SND_SUN50I_DMIC is not set
< # end of Allwinner SoC Audio support
<
2421a2570
> CONFIG_SND_X86=y
2666a2816
> # CONFIG_USB_LJCA is not set
2688d2837
< # CONFIG_USB_ULPI is not set
2744a2894
> # CONFIG_USB_ROLES_INTEL_XHCI is not set
2757d2906
< # CONFIG_MMC_ARMMMCI is not set
2759c2908
< # CONFIG_MMC_DW is not set
---
> # CONFIG_MMC_WBSD is not set
2763d2911
< CONFIG_MMC_SUNXI=y
2779a2928
> # CONFIG_LEDS_APU is not set
2812a2962
> # CONFIG_LEDS_MLXCPLD is not set
2814a2965
> # CONFIG_LEDS_NIC78BX is not set
2815a2967
> # CONFIG_LEDS_LGM is not set
2834a2987
> CONFIG_EDAC_ATOMIC_SCRUB=y
2836a2990
> CONFIG_RTC_MC146818_LIB=y
2904a3059
> CONFIG_RTC_DRV_CMOS=y
2922,2924d3076
< # CONFIG_RTC_DRV_PL030 is not set
< # CONFIG_RTC_DRV_PL031 is not set
< CONFIG_RTC_DRV_SUN6I=y
2963d3114
< # CONFIG_GOLDFISH is not set
2966a3118,3156
> CONFIG_X86_PLATFORM_DEVICES=y
> # CONFIG_ACPI_WMI is not set
> # CONFIG_ACERHDF is not set
> # CONFIG_ACER_WIRELESS is not set
> # CONFIG_ADV_SWBUTTON is not set
> # CONFIG_ASUS_WIRELESS is not set
> # CONFIG_ASUS_TF103C_DOCK is not set
> # CONFIG_X86_PLATFORM_DRIVERS_DELL is not set
> # CONFIG_FUJITSU_TABLET is not set
> # CONFIG_GPD_POCKET_FAN is not set
> # CONFIG_X86_PLATFORM_DRIVERS_HP is not set
> # CONFIG_WIRELESS_HOTKEY is not set
> # CONFIG_SENSORS_HDAPS is not set
> # CONFIG_INTEL_ATOMISP2_LED is not set
> # CONFIG_INTEL_IFS is not set
> # CONFIG_INTEL_SAR_INT1092 is not set
> # CONFIG_INTEL_SKL_INT3472 is not set
>
> #
> # Intel Uncore Frequency Control
> #
> # CONFIG_INTEL_UNCORE_FREQ_CONTROL is not set
> # end of Intel Uncore Frequency Control
>
> # CONFIG_INTEL_HID_EVENT is not set
> # CONFIG_INTEL_VBTN is not set
> # CONFIG_INTEL_PUNIT_IPC is not set
> # CONFIG_INTEL_RST is not set
> # CONFIG_INTEL_SMARTCONNECT is not set
> # CONFIG_MSI_EC is not set
> # CONFIG_BARCO_P50_GPIO is not set
> # CONFIG_SAMSUNG_Q10 is not set
> # CONFIG_TOSHIBA_BT_RFKILL is not set
> # CONFIG_TOSHIBA_HAPS is not set
> # CONFIG_ACPI_CMPC is not set
> # CONFIG_TOPSTAR_LAPTOP is not set
> # CONFIG_INTEL_SCU_PLATFORM is not set
> # CONFIG_SIEMENS_SIMATIC_IPC is not set
> # CONFIG_WINMATE_FM07_KEYS is not set
2970,2977d3159
<
< #
< # Clock driver for ARM Reference designs
< #
< # CONFIG_CLK_ICST is not set
< # CONFIG_CLK_SP810 is not set
< # end of Clock driver for ARM Reference designs
<
2988d3169
< # CONFIG_COMMON_CLK_XGENE is not set
2995,3006c3176
< CONFIG_SUNXI_CCU=y
< # CONFIG_SUN50I_A64_CCU is not set
< # CONFIG_SUN50I_A100_CCU is not set
< # CONFIG_SUN50I_A100_R_CCU is not set
< # CONFIG_SUN50I_H6_CCU is not set
< CONFIG_SUN50I_H616_CCU=y
< CONFIG_SUN50I_H6_R_CCU=y
< CONFIG_SUN6I_RTC_CCU=y
< # CONFIG_SUN8I_H3_CCU is not set
< # CONFIG_SUN8I_DE2_CCU is not set
< CONFIG_SUN8I_DE33_CCU=y
< # CONFIG_SUN8I_R_CCU is not set
---
> # CONFIG_CLK_LGM_CGU is not set
3014,3023c3184,3186
< CONFIG_TIMER_OF=y
< CONFIG_TIMER_PROBE=y
< CONFIG_CLKSRC_MMIO=y
< CONFIG_SUN4I_TIMER=y
< CONFIG_ARM_ARCH_TIMER=y
< # CONFIG_ARM_ARCH_TIMER_EVTSTREAM is not set
< # CONFIG_FSL_ERRATUM_A008585 is not set
< # CONFIG_HISILICON_ERRATUM_161010101 is not set
< # CONFIG_ARM64_ERRATUM_858921 is not set
< # CONFIG_SUN50I_ERRATUM_UNKNOWN1 is not set
---
> CONFIG_CLKEVT_I8253=y
> CONFIG_I8253_LOCK=y
> CONFIG_CLKBLD_I8253=y
3060d3222
< # CONFIG_QUICC_ENGINE is not set
3087,3088d3248
< CONFIG_SUNXI_MBUS=y
< CONFIG_SUNXI_SRAM=y
3120,3121d3279
<
< # CONFIG_SUN20I_PPU is not set
3131a3290
> # CONFIG_EXTCON_INTEL_INT3496 is not set
3145,3148d3303
< CONFIG_ARM_GIC=y
< CONFIG_ARM_GIC_MAX_NR=1
< CONFIG_ARM_GIC_V3=y
< CONFIG_ARM_GIC_V3_ITS=y
3150,3151d3304
< CONFIG_SUN6I_R_INTC=y
< CONFIG_SUNXI_NMI_INTC=y
3153d3305
< CONFIG_PARTITION_PERCPU=y
3157d3308
< CONFIG_ARCH_HAS_RESET_CONTROLLER=y
3158a3310
> # CONFIG_RESET_INTEL_GW is not set
3160d3311
< CONFIG_RESET_SUNXI=y
3167a3319
> # CONFIG_USB_LGM_PHY is not set
3169,3172d3320
< CONFIG_PHY_SUN4I_USB=y
< # CONFIG_PHY_SUN6I_MIPI_DPHY is not set
< # CONFIG_PHY_SUN9I_USB is not set
< # CONFIG_PHY_SUN50I_USB3 is not set
3189a3338,3339
> # CONFIG_PHY_INTEL_LGM_COMBO is not set
> # CONFIG_PHY_INTEL_LGM_EMMC is not set
3198,3208d3347
< CONFIG_ARM_CCI_PMU=y
< # CONFIG_ARM_CCI400_PMU is not set
< # CONFIG_ARM_CCI5xx_PMU is not set
< # CONFIG_ARM_CCN is not set
< # CONFIG_ARM_CMN is not set
< CONFIG_ARM_PMU=y
< # CONFIG_ARM_SMMU_V3_PMU is not set
< CONFIG_ARM_PMUV3=y
< CONFIG_ARM_DSU_PMU=y
< CONFIG_ARM_SPE_PMU=y
< # CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU is not set
3231d3369
< CONFIG_NVMEM_SUNXI_SID=y
3251d3388
< # CONFIG_CDX_BUS is not set
3292c3429,3435
< # CONFIG_OVERLAY_FS is not set
---
> CONFIG_OVERLAY_FS=m
> # CONFIG_OVERLAY_FS_REDIRECT_DIR is not set
> CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
> # CONFIG_OVERLAY_FS_INDEX is not set
> # CONFIG_OVERLAY_FS_XINO_AUTO is not set
> # CONFIG_OVERLAY_FS_METACOPY is not set
> # CONFIG_OVERLAY_FS_DEBUG is not set
3324a3468
> CONFIG_PROC_PID_ARCH_STATUS=y
3332d3475
< CONFIG_ARCH_SUPPORTS_HUGETLBFS=y
3601,3602d3743
< # CONFIG_CRYPTO_NHPOLY1305_NEON is not set
< # CONFIG_CRYPTO_CHACHA20_NEON is not set
3605c3746
< # Accelerated Cryptographic Algorithms for CPU (arm64)
---
> # Accelerated Cryptographic Algorithms for CPU (x86)
3607,3629c3748,3782
< CONFIG_CRYPTO_GHASH_ARM64_CE=y
< # CONFIG_CRYPTO_POLY1305_NEON is not set
< CONFIG_CRYPTO_SHA1_ARM64_CE=y
< CONFIG_CRYPTO_SHA256_ARM64=y
< CONFIG_CRYPTO_SHA2_ARM64_CE=y
< # CONFIG_CRYPTO_SHA512_ARM64 is not set
< # CONFIG_CRYPTO_SHA512_ARM64_CE is not set
< # CONFIG_CRYPTO_SHA3_ARM64 is not set
< # CONFIG_CRYPTO_SM3_NEON is not set
< # CONFIG_CRYPTO_SM3_ARM64_CE is not set
< # CONFIG_CRYPTO_POLYVAL_ARM64_CE is not set
< # CONFIG_CRYPTO_AES_ARM64 is not set
< CONFIG_CRYPTO_AES_ARM64_CE=y
< CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
< # CONFIG_CRYPTO_AES_ARM64_NEON_BLK is not set
< # CONFIG_CRYPTO_AES_ARM64_BS is not set
< # CONFIG_CRYPTO_SM4_ARM64_CE is not set
< # CONFIG_CRYPTO_SM4_ARM64_CE_BLK is not set
< # CONFIG_CRYPTO_SM4_ARM64_NEON_BLK is not set
< CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
< # CONFIG_CRYPTO_SM4_ARM64_CE_CCM is not set
< # CONFIG_CRYPTO_SM4_ARM64_CE_GCM is not set
< # end of Accelerated Cryptographic Algorithms for CPU (arm64)
---
> # CONFIG_CRYPTO_CURVE25519_X86 is not set
> # CONFIG_CRYPTO_AES_NI_INTEL is not set
> # CONFIG_CRYPTO_BLOWFISH_X86_64 is not set
> # CONFIG_CRYPTO_CAMELLIA_X86_64 is not set
> # CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64 is not set
> # CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 is not set
> # CONFIG_CRYPTO_CAST5_AVX_X86_64 is not set
> # CONFIG_CRYPTO_CAST6_AVX_X86_64 is not set
> # CONFIG_CRYPTO_DES3_EDE_X86_64 is not set
> # CONFIG_CRYPTO_SERPENT_SSE2_X86_64 is not set
> # CONFIG_CRYPTO_SERPENT_AVX_X86_64 is not set
> # CONFIG_CRYPTO_SERPENT_AVX2_X86_64 is not set
> # CONFIG_CRYPTO_SM4_AESNI_AVX_X86_64 is not set
> # CONFIG_CRYPTO_SM4_AESNI_AVX2_X86_64 is not set
> # CONFIG_CRYPTO_TWOFISH_X86_64 is not set
> # CONFIG_CRYPTO_TWOFISH_X86_64_3WAY is not set
> # CONFIG_CRYPTO_TWOFISH_AVX_X86_64 is not set
> # CONFIG_CRYPTO_ARIA_AESNI_AVX_X86_64 is not set
> # CONFIG_CRYPTO_ARIA_AESNI_AVX2_X86_64 is not set
> # CONFIG_CRYPTO_ARIA_GFNI_AVX512_X86_64 is not set
> # CONFIG_CRYPTO_CHACHA20_X86_64 is not set
> # CONFIG_CRYPTO_AEGIS128_AESNI_SSE2 is not set
> # CONFIG_CRYPTO_NHPOLY1305_SSE2 is not set
> # CONFIG_CRYPTO_NHPOLY1305_AVX2 is not set
> # CONFIG_CRYPTO_BLAKE2S_X86 is not set
> # CONFIG_CRYPTO_POLYVAL_CLMUL_NI is not set
> # CONFIG_CRYPTO_POLY1305_X86_64 is not set
> # CONFIG_CRYPTO_SHA1_SSSE3 is not set
> # CONFIG_CRYPTO_SHA256_SSSE3 is not set
> # CONFIG_CRYPTO_SHA512_SSSE3 is not set
> # CONFIG_CRYPTO_SM3_AVX_X86_64 is not set
> # CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL is not set
> # CONFIG_CRYPTO_CRC32C_INTEL is not set
> # CONFIG_CRYPTO_CRC32_PCLMUL is not set
> # end of Accelerated Cryptographic Algorithms for CPU (x86)
3657d3809
< CONFIG_HAVE_ARCH_BITREVERSE=y
3664a3817
> CONFIG_GENERIC_IOMAP=y
3668d3820
< # CONFIG_INDIRECT_PIO is not set
3680c3832
< CONFIG_CRYPTO_LIB_POLY1305_RSIZE=9
---
> CONFIG_CRYPTO_LIB_POLY1305_RSIZE=11
3704d3855
< CONFIG_AUDIT_ARCH_COMPAT_GENERIC=y
3714a3866
> CONFIG_HAS_IOPORT_MAP=y
3719,3723d3870
< CONFIG_DMA_DECLARE_COHERENT=y
< CONFIG_ARCH_HAS_SETUP_DMA_OPS=y
< CONFIG_ARCH_HAS_SYNC_DMA_FOR_DEVICE=y
< CONFIG_ARCH_HAS_SYNC_DMA_FOR_CPU=y
< CONFIG_ARCH_HAS_DMA_PREP_COHERENT=y
3726,3730d3872
< CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC=y
< # CONFIG_DMA_RESTRICTED_POOL is not set
< CONFIG_DMA_NONCOHERENT_MMAP=y
< CONFIG_DMA_COHERENT_POOL=y
< CONFIG_DMA_DIRECT_REMAP=y
3748,3749d3889
< CONFIG_GLOB=y
< # CONFIG_GLOB_SELFTEST is not set
3754d3893
< CONFIG_LIBFDT=y
3763a3903,3906
> CONFIG_ARCH_HAS_PMEM_API=y
> CONFIG_ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION=y
> CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE=y
> CONFIG_ARCH_HAS_COPY_MC=y
3769,3770c3912
< CONFIG_GENERIC_IOREMAP=y
< CONFIG_GENERIC_LIB_DEVMEM_IS_ALLOWED=y
---
> CONFIG_FIRMWARE_TABLE=y
3810,3811c3952
< CONFIG_ARCH_WANT_FRAME_POINTERS=y
< CONFIG_FRAME_POINTER=y
---
> CONFIG_OBJTOOL=y
3867a4009,4010
> CONFIG_ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP=y
> # CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP is not set
3869d4011
< CONFIG_HAVE_ARCH_KASAN_SW_TAGS=y
3875a4018
> CONFIG_HAVE_ARCH_KMSAN=y
3888a4032
> CONFIG_HARDLOCKUP_CHECK_TIMESTAMP=y
3924a4069
> # CONFIG_NMI_CHECK_CPU is not set
3957a4103,4104
> CONFIG_USER_STACKTRACE_SUPPORT=y
> CONFIG_HAVE_RETHOOK=y
3959,3960d4105
< CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
< CONFIG_HAVE_FUNCTION_GRAPH_RETVAL=y
3961a4107,4108
> CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
> CONFIG_HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS=y
3962a4110
> CONFIG_HAVE_DYNAMIC_FTRACE_NO_PATCHABLE=y
3964a4113,4115
> CONFIG_HAVE_FENTRY=y
> CONFIG_HAVE_OBJTOOL_MCOUNT=y
> CONFIG_HAVE_OBJTOOL_NOP_MCOUNT=y
3965a4117
> CONFIG_HAVE_BUILDTIME_MCOUNT_SORT=y
3970a4123
> CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
3974c4127
< # arm64 Debugging
---
> # x86 Debugging
3976,3979c4129,4146
< # CONFIG_PID_IN_CONTEXTIDR is not set
< # CONFIG_ARM64_RELOC_TEST is not set
< # CONFIG_CORESIGHT is not set
< # end of arm64 Debugging
---
> CONFIG_X86_VERBOSE_BOOTUP=y
> CONFIG_EARLY_PRINTK=y
> # CONFIG_DEBUG_TLBFLUSH is not set
> CONFIG_HAVE_MMIOTRACE_SUPPORT=y
> # CONFIG_X86_DECODER_SELFTEST is not set
> CONFIG_IO_DELAY_0X80=y
> # CONFIG_IO_DELAY_0XED is not set
> # CONFIG_IO_DELAY_UDELAY is not set
> # CONFIG_IO_DELAY_NONE is not set
> # CONFIG_DEBUG_BOOT_PARAMS is not set
> # CONFIG_CPA_DEBUG is not set
> # CONFIG_DEBUG_ENTRY is not set
> # CONFIG_DEBUG_NMI_SELFTEST is not set
> CONFIG_X86_DEBUG_FPU=y
> CONFIG_UNWINDER_ORC=y
> # CONFIG_UNWINDER_FRAME_POINTER is not set
> # CONFIG_UNWINDER_GUESS is not set
> # end of x86 Debugging
3988a4156
> # CONFIG_KCOV is not set

@wu-yue-yu
Copy link
Collaborator

Maybe some changes lead to compile error of dtbs? It seems that you don't have dtbs directory, which means no device tree is compiled. I'll test your defconfig later.

@wu-yue-yu
Copy link
Collaborator

I guess you didn't export ARCH=arm64, and you didn't use the ARCH=arm64 when you run 'make menuconfig'.
You can try again after adding it.

I'm struggling with the steps to compile a custom kernel.

cd build/linux
make menuconfig
# next .. load arch/arm64/configs/longanpi_3h_defconfig
cd ../..
sh mklinux.sh

using the menuconfig step I'm able to change kernel options (specifically in my case I'm trying to add overlay filesystem & br_netfilter options for k8s) .. HOWEVER after this step I encounter an issue when running mklinux.sh where it can't cd dbts directory.

My specific changes are:

[M] Virtualization
[M] File System | Overlay FS
[M] Networking support | Networking Options | 
    ... [M] 802.1d Ethernet Bridging
    ... [M] Network Packet Filter
       ..  [M] Bridged IP/ARP packets filtering

** these modules are required to run k8s with cri-o containers

The error happens in mklinux.sh

+ cd _install/boot
+ cp vmlinuz-6.7.0-rc3+ Image
+ cd dtbs
mklinux.sh: 55: cd: can't cd to dtbs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants