This is a set of kernel options I've come up with mostly cribbing from
chrome os's kernel config snippet. We also build an lzma kernel, as
uncompressed kernel is big but lzma is the only compression supported by
the bootloader. With that image, we have to pack it into a FIT formatted
image+dtb blob.
CONFIG_SUNRPC_DEBUG is added so that you can set "nfsrootdebug" to figure
out what's going wrong with your nfs mount (mine were "both the tcp and
nfsvers options were required, and don't try to use 'default' as the root
path to defer to DHCP's answer because otherwise you get
/tftpboot/default, just use an empty root path which doesn't prepend
/tftpboot.")
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
(cherry picked from commit 3a1010e21a)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5548>
119 lines
2.3 KiB
Plaintext
119 lines
2.3 KiB
Plaintext
CONFIG_LOCALVERSION="ccu"
|
|
|
|
CONFIG_DEBUG_KERNEL=y
|
|
|
|
CONFIG_DEVFREQ_GOV_PERFORMANCE=y
|
|
CONFIG_DEVFREQ_GOV_POWERSAVE=y
|
|
CONFIG_DEVFREQ_GOV_USERSPACE=y
|
|
CONFIG_DEVFREQ_GOV_PASSIVE=y
|
|
|
|
CONFIG_DRM=y
|
|
CONFIG_DRM_ROCKCHIP=y
|
|
CONFIG_DRM_PANFROST=y
|
|
CONFIG_DRM_LIMA=y
|
|
CONFIG_DRM_PANEL_SIMPLE=y
|
|
CONFIG_DRM_MSM=y
|
|
CONFIG_DRM_I2C_ADV7511=y
|
|
CONFIG_DRM_I2C_ADV7533=y
|
|
CONFIG_PWM_CROS_EC=y
|
|
CONFIG_BACKLIGHT_PWM=y
|
|
|
|
CONFIG_ROCKCHIP_CDN_DP=n
|
|
|
|
CONFIG_SPI_ROCKCHIP=y
|
|
CONFIG_PWM_ROCKCHIP=y
|
|
CONFIG_PHY_ROCKCHIP_DP=y
|
|
CONFIG_DWMAC_ROCKCHIP=y
|
|
CONFIG_STMMAC_ETH=y
|
|
CONFIG_TYPEC_FUSB302=y
|
|
CONFIG_TYPEC=y
|
|
CONFIG_TYPEC_TCPM=y
|
|
|
|
# Cheza platform bits
|
|
CONFIG_QCOM_RPMHPD=y
|
|
CONFIG_SDM_GPUCC_845=y
|
|
CONFIG_SDM_VIDEOCC_845=y
|
|
CONFIG_SDM_DISPCC_845=y
|
|
CONFIG_SDM_LPASSCC_845=y
|
|
CONFIG_SDM_CAMCC_845=y
|
|
CONFIG_RESET_QCOM_PDC=y
|
|
CONFIG_DRM_TI_SN65DSI86=y
|
|
CONFIG_I2C_QCOM_GENI=y
|
|
CONFIG_SPI_QCOM_GENI=y
|
|
CONFIG_PHY_QCOM_QUSB2=y
|
|
CONFIG_PHY_QCOM_QMP=y
|
|
CONFIG_QCOM_LLCC=y
|
|
CONFIG_QCOM_SPMI_TEMP_ALARM=y
|
|
CONFIG_POWER_RESET_QCOM_PON=y
|
|
CONFIG_RTC_DRV_PM8XXX=y
|
|
CONFIG_INTERCONNECT=y
|
|
CONFIG_INTERCONNECT_QCOM_SDM845=y
|
|
CONFIG_QCOM_WDT=y
|
|
|
|
# db410c ethernet
|
|
CONFIG_USB_RTL8152=y
|
|
|
|
CONFIG_ARCH_ALPINE=n
|
|
CONFIG_ARCH_BCM2835=n
|
|
CONFIG_ARCH_BCM_IPROC=n
|
|
CONFIG_ARCH_BERLIN=n
|
|
CONFIG_ARCH_BRCMSTB=n
|
|
CONFIG_ARCH_EXYNOS=n
|
|
CONFIG_ARCH_K3=n
|
|
CONFIG_ARCH_LAYERSCAPE=n
|
|
CONFIG_ARCH_LG1K=n
|
|
CONFIG_ARCH_HISI=n
|
|
CONFIG_ARCH_MEDIATEK=n
|
|
CONFIG_ARCH_MVEBU=n
|
|
CONFIG_ARCH_SEATTLE=n
|
|
CONFIG_ARCH_SYNQUACER=n
|
|
CONFIG_ARCH_RENESAS=n
|
|
CONFIG_ARCH_R8A774A1=n
|
|
CONFIG_ARCH_R8A774C0=n
|
|
CONFIG_ARCH_R8A7795=n
|
|
CONFIG_ARCH_R8A7796=n
|
|
CONFIG_ARCH_R8A77965=n
|
|
CONFIG_ARCH_R8A77970=n
|
|
CONFIG_ARCH_R8A77980=n
|
|
CONFIG_ARCH_R8A77990=n
|
|
CONFIG_ARCH_R8A77995=n
|
|
CONFIG_ARCH_STRATIX10=n
|
|
CONFIG_ARCH_TEGRA=n
|
|
CONFIG_ARCH_SPRD=n
|
|
CONFIG_ARCH_THUNDER=n
|
|
CONFIG_ARCH_THUNDER2=n
|
|
CONFIG_ARCH_UNIPHIER=n
|
|
CONFIG_ARCH_VEXPRESS=n
|
|
CONFIG_ARCH_XGENE=n
|
|
CONFIG_ARCH_ZX=n
|
|
CONFIG_ARCH_ZYNQMP=n
|
|
|
|
# Strip out some stuff we don't need for graphics testing, to reduce
|
|
# the build.
|
|
CONFIG_CAN=n
|
|
CONFIG_WIRELESS=n
|
|
CONFIG_RFKILL=n
|
|
CONFIG_WLAN=n
|
|
|
|
CONFIG_REGULATOR_FAN53555=y
|
|
CONFIG_REGULATOR=y
|
|
|
|
CONFIG_REGULATOR_VCTRL=y
|
|
|
|
CONFIG_KASAN=n
|
|
CONFIG_KASAN_INLINE=n
|
|
CONFIG_STACKTRACE=n
|
|
|
|
CONFIG_TMPFS=y
|
|
|
|
CONFIG_PROVE_LOCKING=n
|
|
CONFIG_DEBUG_LOCKDEP=n
|
|
CONFIG_SOFTLOCKUP_DETECTOR=y
|
|
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y
|
|
|
|
CONFIG_DETECT_HUNG_TASK=y
|
|
|
|
CONFIG_FW_LOADER_COMPRESS=y
|
|
CONFIG_FW_LOADER_USER_HELPER=n
|
|
CONFIG_SUNRPC_DEBUG=y
|