77 lines
1.4 KiB
Plaintext
77 lines
1.4 KiB
Plaintext
# Copyright 2023 (C) Peter McGoron
|
|
#
|
|
# This file is a part of Upsilon, a free and open source software project.
|
|
# For license terms, refer to the files in `doc/copying` in the Upsilon
|
|
# source distribution.
|
|
|
|
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
|
|
|
|
# Architecture
|
|
CONFIG_ARCH_DEFCONFIG="arch/riscv/configs/defconfig"
|
|
CONFIG_NONPORTABLE=y
|
|
CONFIG_ARCH_RV32I=y
|
|
CONFIG_RISCV_ISA_M=y
|
|
CONFIG_RISCV_ISA_A=y
|
|
CONFIG_RISCV_ISA_C=n
|
|
CONFIG_SIFIVE_PLIC=y
|
|
CONFIG_FPU=n
|
|
CONFIG_SMP=n
|
|
CONFIG_STRICT_KERNEL_RWX=n
|
|
CONFIG_EFI=n
|
|
CONFIG_HVC_RISCV_SBI=y
|
|
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_INITRAMFS_SOURCE=""
|
|
CONFIG_RD_GZIP=y
|
|
|
|
# FPGA / SoC
|
|
CONFIG_FPGA=y
|
|
CONFIG_FPGA_MGR_LITEX=y
|
|
CONFIG_LITEX_SOC_CONTROLLER=y
|
|
CONFIG_LITEX_SUBREG_SIZE=4
|
|
|
|
# Time
|
|
CONFIG_PRINTK_TIME=y
|
|
|
|
# Clocking
|
|
CONFIG_COMMON_CLK=y
|
|
CONFIG_COMMON_CLK_LITEX=y
|
|
|
|
# Interrupts
|
|
CONFIG_IRQCHIP=y
|
|
CONFIG_OF_IRQ=y
|
|
CONFIG_HANDLE_DOMAIN_IRQ=y
|
|
CONFIG_LITEX_VEXRISCV_INTC=y
|
|
|
|
# Ethernet
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_PACKET_DIAG=y
|
|
CONFIG_INET=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_NET_VENDOR_LITEX=y
|
|
CONFIG_LITEX_LITEETH=y
|
|
|
|
# Serial
|
|
CONFIG_SERIAL_EARLYCON_RISCV_SBI=y
|
|
CONFIG_SERIAL_LITEUART=y
|
|
CONFIG_SERIAL_LITEUART_CONSOLE=y
|
|
|
|
# Hardware monitoring
|
|
CONFIG_HWMON=y
|
|
CONFIG_SENSORS_LITEX_HWMON=y
|
|
|
|
# Framebuffer
|
|
CONFIG_FB=y
|
|
CONFIG_FB_SIMPLE=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
|
|
CONFIG_LOGO=y
|
|
|
|
# .config in kernel
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
|
|
# Filesystem
|
|
CONFIG_TMPFS=y
|