Skip to content

Commit aa10eb6

Browse files
damien-lemoalpalmer-dabbelt
authored andcommitted
riscv: Kendryte K210 default config
This patch adds a defconfig file to build No-MMU kernels meant for boards based on the Kendryte K210 SoC. Signed-off-by: Damien Le Moal <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 5ba568f commit aa10eb6

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# CONFIG_CPU_ISOLATION is not set
2+
CONFIG_LOG_BUF_SHIFT=15
3+
CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=12
4+
CONFIG_BLK_DEV_INITRD=y
5+
CONFIG_INITRAMFS_SOURCE=""
6+
CONFIG_INITRAMFS_FORCE=y
7+
# CONFIG_RD_BZIP2 is not set
8+
# CONFIG_RD_LZMA is not set
9+
# CONFIG_RD_XZ is not set
10+
# CONFIG_RD_LZO is not set
11+
# CONFIG_RD_LZ4 is not set
12+
# CONFIG_BOOT_CONFIG is not set
13+
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
14+
# CONFIG_SYSFS_SYSCALL is not set
15+
# CONFIG_FHANDLE is not set
16+
# CONFIG_BASE_FULL is not set
17+
# CONFIG_EPOLL is not set
18+
# CONFIG_SIGNALFD is not set
19+
# CONFIG_TIMERFD is not set
20+
# CONFIG_EVENTFD is not set
21+
# CONFIG_AIO is not set
22+
# CONFIG_IO_URING is not set
23+
# CONFIG_ADVISE_SYSCALLS is not set
24+
# CONFIG_MEMBARRIER is not set
25+
# CONFIG_KALLSYMS is not set
26+
CONFIG_EMBEDDED=y
27+
# CONFIG_VM_EVENT_COUNTERS is not set
28+
# CONFIG_COMPAT_BRK is not set
29+
CONFIG_SLOB=y
30+
# CONFIG_SLAB_MERGE_DEFAULT is not set
31+
# CONFIG_MMU is not set
32+
CONFIG_SOC_KENDRYTE=y
33+
CONFIG_MAXPHYSMEM_2GB=y
34+
CONFIG_SMP=y
35+
CONFIG_NR_CPUS=2
36+
CONFIG_CMDLINE="earlycon console=ttySIF0"
37+
CONFIG_CMDLINE_FORCE=y
38+
CONFIG_USE_BUILTIN_DTB=y
39+
CONFIG_BUILTIN_DTB_SOURCE="kendryte/k210"
40+
# CONFIG_BLOCK is not set
41+
CONFIG_BINFMT_FLAT=y
42+
# CONFIG_COREDUMP is not set
43+
CONFIG_DEVTMPFS=y
44+
CONFIG_DEVTMPFS_MOUNT=y
45+
# CONFIG_FW_LOADER is not set
46+
# CONFIG_ALLOW_DEV_COREDUMP is not set
47+
# CONFIG_INPUT_KEYBOARD is not set
48+
# CONFIG_INPUT_MOUSE is not set
49+
# CONFIG_SERIO is not set
50+
# CONFIG_LEGACY_PTYS is not set
51+
# CONFIG_LDISC_AUTOLOAD is not set
52+
# CONFIG_DEVMEM is not set
53+
# CONFIG_HW_RANDOM is not set
54+
# CONFIG_HWMON is not set
55+
# CONFIG_VGA_CONSOLE is not set
56+
# CONFIG_HID is not set
57+
# CONFIG_USB_SUPPORT is not set
58+
# CONFIG_VIRTIO_MENU is not set
59+
# CONFIG_DNOTIFY is not set
60+
# CONFIG_INOTIFY_USER is not set
61+
# CONFIG_MISC_FILESYSTEMS is not set
62+
CONFIG_LSM="[]"
63+
CONFIG_PRINTK_TIME=y
64+
# CONFIG_DEBUG_MISC is not set
65+
# CONFIG_SCHED_DEBUG is not set
66+
# CONFIG_RCU_TRACE is not set
67+
# CONFIG_FTRACE is not set
68+
# CONFIG_RUNTIME_TESTING_MENU is not set

0 commit comments

Comments
 (0)