本文共 4291 字,大约阅读时间需要 14 分钟。
04全志R58平台编译内核需要选择的配置
2018/11/6 14:19
版本:V1.0开发板:SC58061、系统编译:
每次系统编译/内核的时候都需要选3次N:Xtables matchesaddrtype address type match support (NETFILTER_XT_MATCH_ADDRTYPE) [N/m/y/?] ncluster match support (NETFILTER_XT_MATCH_CLUSTER) [N/m/y/?] ncomment match support (NETFILTER_XT_MATCH_COMMENT) [Y/n/m/?] yconnbytes per-connection counter match support (NETFILTER_XT_MATCH_CONNBYTES) [N/m/y/?] nconnlimit match support" (NETFILTER_XT_MATCH_CONNLIMIT) [Y/n/m/?] yconnmark connection mark match support (NETFILTER_XT_MATCH_CONNMARK) [Y/n/m/?] yconntrack connection tracking match support (NETFILTER_XT_MATCH_CONNTRACK) [Y/n/m/?] ycpu match support (NETFILTER_XT_MATCH_CPU) [N/m/y/?] ndccp protocol match support (NETFILTER_XT_MATCH_DCCP) [N/m/y/?] ndevgroup match support (NETFILTER_XT_MATCH_DEVGROUP) [N/m/y/?] ndscp and tos match support (NETFILTER_XT_MATCH_DSCP) [N/m/y/?] necn match support (NETFILTER_XT_MATCH_ECN) [Y/?] yesp match support (NETFILTER_XT_MATCH_ESP) [N/m/y/?] nhashlimit match support (NETFILTER_XT_MATCH_HASHLIMIT) [Y/n/m/?] yhelper match support (NETFILTER_XT_MATCH_HELPER) [Y/n/m/?] yhl hoplimit/TTL match support (NETFILTER_XT_MATCH_HL) [Y/?] yiprange address range match support (NETFILTER_XT_MATCH_IPRANGE) [Y/n/m/?] ylayer7 match support (NETFILTER_XT_MATCH_LAYER7) [N/m/y/?] nlength match support (NETFILTER_XT_MATCH_LENGTH) [Y/n/m/?] ylimit match support (NETFILTER_XT_MATCH_LIMIT) [Y/n/m/?] ymac address match support (NETFILTER_XT_MATCH_MAC) [Y/n/m/?] ymark match support (NETFILTER_XT_MATCH_MARK) [Y/n/m/?] ymultiport Multiple port match support (NETFILTER_XT_MATCH_MULTIPORT) [N/m/y/?] nnfacct match support (NETFILTER_XT_MATCH_NFACCT) [N/m/y/?] nosf Passive OS fingerprint match (NETFILTER_XT_MATCH_OSF) [N/m/y/?] nowner match support (NETFILTER_XT_MATCH_OWNER) [N/m/y/?] nipsec policy match support (NETFILTER_XT_MATCH_POLICY) [Y/n/m/?] ypkttype packet type match support (NETFILTER_XT_MATCH_PKTTYPE) [Y/n/m/?] yquota, tag, owner match and stats support (NETFILTER_XT_MATCH_QTAGUID) [Y/n/?] yquota match support (NETFILTER_XT_MATCH_QUOTA) [Y/n/m/?] yquota2 match support (NETFILTER_XT_MATCH_QUOTA2) [Y/n/m/?] yquota2 Netfilter LOG support (NETFILTER_XT_MATCH_QUOTA2_LOG) [Y/n/?] yrateest match support (NETFILTER_XT_MATCH_RATEEST) [N/m/y/?] nrealm match support (NETFILTER_XT_MATCH_REALM) [N/m/y/?] nrecent match support (NETFILTER_XT_MATCH_RECENT) [N/m/y/?] nsctp protocol match support (EXPERIMENTAL) (NETFILTER_XT_MATCH_SCTP) [N/m/y/?] nsocket match support (EXPERIMENTAL) (NETFILTER_XT_MATCH_SOCKET) [Y/n/m/?] ystate match support (NETFILTER_XT_MATCH_STATE) [Y/n/m/?] ystatistic match support (NETFILTER_XT_MATCH_STATISTIC) [Y/n/m/?] ystring match support (NETFILTER_XT_MATCH_STRING) [Y/n/m/?] ytcpmss match support (NETFILTER_XT_MATCH_TCPMSS) [N/m/y/?] ntime match support (NETFILTER_XT_MATCH_TIME) [Y/n/m/?] yu32 match support (NETFILTER_XT_MATCH_U32) [Y/n/m/?] y2、尝试在配置文件中关闭:
W:\r58_android_v4.4\lichee\linux-3.4\arch\arm\configs\sun8iw6p1smp_android_defconfigCONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=yCONFIG_RCU_FANOUT=32CONFIG_LOG_BUF_SHIFT=16
修改为:CONFIG_LOG_BUF_SHIFT=18CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=yCONFIG_EXT2_FS=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT23=yCONFIG_EXT4_FS_XATTR=yCONFIG_EXT4_FS_SECURITY=y
CONFIG_JBD2=y
CONFIG_FS_MBCACHE=y
CONFIG_FS_POSIX_ACL=y
CONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY_USER=yCONFIG_FANOTIFY=yCONFIG_FUSE_FS=y
CONFIG_CUSE=y
CONFIG_GENERIC_ACL=y之后即可和git服务器同步了。
转载地址:http://bgdp.baihongyu.com/