Skip to content

Commit fe47623

Browse files
committed
openrisc: Update litex defconfig to support glibc userland
I have been using a litex SoC for glibc verification. Update the default litex config to support required userspace API's needed for the full glibc testsuite to pass. This includes enabling the litex mmc driver and filesystems used in a typical litex environment. Signed-off-by: Stafford Horne <[email protected]>
1 parent 7d2ae3d commit fe47623

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

arch/openrisc/configs/or1klitex_defconfig

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,54 @@
1+
CONFIG_SYSVIPC=y
2+
CONFIG_POSIX_MQUEUE=y
3+
CONFIG_CGROUPS=y
4+
CONFIG_NAMESPACES=y
5+
CONFIG_USER_NS=y
16
CONFIG_BLK_DEV_INITRD=y
27
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
8+
CONFIG_SGETMASK_SYSCALL=y
39
CONFIG_EMBEDDED=y
410
CONFIG_OPENRISC_BUILTIN_DTB="or1klitex"
511
CONFIG_HZ_100=y
12+
CONFIG_OPENRISC_HAVE_SHADOW_GPRS=y
613
CONFIG_NET=y
714
CONFIG_PACKET=y
15+
CONFIG_PACKET_DIAG=y
816
CONFIG_UNIX=y
17+
CONFIG_UNIX_DIAG=y
918
CONFIG_INET=y
19+
CONFIG_IP_MULTICAST=y
20+
CONFIG_IP_ADVANCED_ROUTER=y
21+
CONFIG_INET_UDP_DIAG=y
22+
CONFIG_INET_RAW_DIAG=y
23+
# CONFIG_WIRELESS is not set
24+
# CONFIG_ETHTOOL_NETLINK is not set
1025
CONFIG_DEVTMPFS=y
1126
CONFIG_DEVTMPFS_MOUNT=y
1227
CONFIG_OF_OVERLAY=y
1328
CONFIG_NETDEVICES=y
1429
CONFIG_LITEX_LITEETH=y
30+
# CONFIG_WLAN is not set
1531
CONFIG_SERIAL_LITEUART=y
1632
CONFIG_SERIAL_LITEUART_CONSOLE=y
1733
CONFIG_TTY_PRINTK=y
34+
# CONFIG_GPIO_CDEV is not set
35+
CONFIG_MMC=y
36+
CONFIG_MMC_LITEX=y
37+
# CONFIG_VHOST_MENU is not set
38+
# CONFIG_IOMMU_SUPPORT is not set
1839
CONFIG_LITEX_SOC_CONTROLLER=y
40+
CONFIG_EXT2_FS=y
41+
CONFIG_EXT3_FS=y
42+
CONFIG_MSDOS_FS=y
43+
CONFIG_VFAT_FS=y
44+
CONFIG_EXFAT_FS=y
1945
CONFIG_TMPFS=y
46+
CONFIG_NFS_FS=y
47+
CONFIG_NFS_V3_ACL=y
48+
CONFIG_NFS_V4=y
49+
CONFIG_NLS_CODEPAGE_437=y
50+
CONFIG_NLS_ISO8859_1=y
51+
CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity,bpf"
2052
CONFIG_PRINTK_TIME=y
2153
CONFIG_PANIC_ON_OOPS=y
2254
CONFIG_SOFTLOCKUP_DETECTOR=y

0 commit comments

Comments
 (0)