linuxboot/mainboards/qemu/arm64/flash.config

85 lines
2.1 KiB
Plaintext
Raw Normal View History

# Copyright 2022 the u-root Authors. All rights reserved
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
#
# If you copy this to your Linux directory, run
# make olddefconfig
# to fill in the blanks.
#
# This is not intended to be a minimal Linux configuration, but perhaps it comes
# close to listing requirements for certain things.
#
# EFI
CONFIG_EFI_STUB=y
CONFIG_EFI=y
CONFIG_EFI_ESRT=y
CONFIG_EFI_PARAMS_FROM_FDT=y
CONFIG_EFI_RUNTIME_WRAPPERS=y
CONFIG_EFI_ARMSTUB=y
CONFIG_EFI_ARMSTUB_DTB_LOADER=y
CONFIG_EFI_EARLYCON=y
# Config settings specific to ARM hardware:
CONFIG_MMU=y
CONFIG_ARCH_MULTIPLATFORM=y
CONFIG_ARCH_MULTI_V7=y
CONFIG_ARCH_VIRT=y
CONFIG_ARM_AMBA=y
CONFIG_ARM64_VA_BITS_48=y
# Minimal kernel config needed for Go and serial port:
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_CMDLINE="console=ttyAMA0,115200"
# vfat filesystem:
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NLS=y
CONFIG_MSDOS_FS=y
# Loop device for tcz:
CONFIG_BLK_DEV_LOOP=y
CONFIG_MISC_FILESYSTEMS=y
CONFIG_SQUASHFS=y
# GPIO test - mock GPIO libraries
CONFIG_GPIOLIB=y
CONFIG_GPIO_MOCKUP=y
CONFIG_GPIO_SYSFS=y
# For the kernel being kexec'ed
CONFIG_RELOCATABLE=y
# For the kernel doing the kexec'ing
# CONFIG_KEXEC needs more stuff on ARM
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
CONFIG_SUSPEND=y
CONFIG_HOTPLUG_CPU=y
# BMC IPMI Support
CONFIG_IPMI_HANDLER=y
CONFIG_IPMI_DEVICE_INTERFACE=y
CONFIG_IPMI_SI=y
CONFIG_IPMI_SSIF=y
CONFIG_IPMI_DMI_DECODE=y
CONFIG_IPMI_PLAT_DATA=y
# Enable SMMUv3
CONFIG_IOMMU_IOVA=y
CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y
CONFIG_IOMMU_DMA=y
CONFIG_OF_IOMMU=y
CONFIG_IOMMU_IO_PGTABLE=y
CONFIG_IOMMU_IO_PGTABLE_LPAE=y
CONFIG_ARM_SMMU_V3=y
# Enable EFI RTC
CONFIG_RTC_CLASS=y
CONFIG_RTC_DRV_EFI=y
# Hotremove needed for ProdID
CONFIG_MEMORY_HOTPLUG=y
CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
CONFIG_MIGRATION=y
CONFIG_MEMORY_HOTREMOVE=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_COMPRESSION=".xz"
CONFIG_INITRAMFS_COMPRESSION_XZ=y
# seem required, other make will do prompt and ask again.
ARM64_PTR_AUTH=n
ARM64_TLB_RANGE=y
ARM64_MTE=y