1. 程式人生 > >04全志R58平臺編譯核心需要選擇的配置(Android4.4.2)

04全志R58平臺編譯核心需要選擇的配置(Android4.4.2)

04全志R58平臺編譯核心需要選擇的配置

2018/11/6 14:19

版本:V1.0

開發板:SC5806

1、系統編譯:(略)

每次系統編譯/核心的時候都需要選3次N:

  *

  * Xtables matches

  *

  "addrtype" address type match support (NETFILTER_XT_MATCH_ADDRTYPE) [N/m/y/?] n

  "cluster" match support (NETFILTER_XT_MATCH_CLUSTER) [N/m/y/?] n

  "comment" match support (NETFILTER_XT_MATCH_COMMENT) [Y/n/m/?] y

  "connbytes" per-connection counter match support (NETFILTER_XT_MATCH_CONNBYTES) [N/m/y/?] n

  "connlimit" match support" (NETFILTER_XT_MATCH_CONNLIMIT) [Y/n/m/?] y

  "connmark" connection mark match support (NETFILTER_XT_MATCH_CONNMARK) [Y/n/m/?] y

  "conntrack" connection tracking match support (NETFILTER_XT_MATCH_CONNTRACK) [Y/n/m/?] y

  "cpu" match support (NETFILTER_XT_MATCH_CPU) [N/m/y/?] n

  "dccp" protocol match support (NETFILTER_XT_MATCH_DCCP) [N/m/y/?] n

  "devgroup" match support (NETFILTER_XT_MATCH_DEVGROUP) [N/m/y/?] n

  "dscp" and "tos" match support (NETFILTER_XT_MATCH_DSCP) [N/m/y/?] n

  "ecn" match support (NETFILTER_XT_MATCH_ECN) [Y/?] y

  "esp" match support (NETFILTER_XT_MATCH_ESP) [N/m/y/?] n

  "hashlimit" match support (NETFILTER_XT_MATCH_HASHLIMIT) [Y/n/m/?] y

  "helper" match support (NETFILTER_XT_MATCH_HELPER) [Y/n/m/?] y

  "hl" hoplimit/TTL match support (NETFILTER_XT_MATCH_HL) [Y/?] y

  "iprange" address range match support (NETFILTER_XT_MATCH_IPRANGE) [Y/n/m/?] y

  "layer7" match support (NETFILTER_XT_MATCH_LAYER7) [N/m/y/?] (NEW) n

  "length" match support (NETFILTER_XT_MATCH_LENGTH) [Y/n/m/?] y

  "limit" match support (NETFILTER_XT_MATCH_LIMIT) [Y/n/m/?] y

  "mac" address match support (NETFILTER_XT_MATCH_MAC) [Y/n/m/?] y

  "mark" match support (NETFILTER_XT_MATCH_MARK) [Y/n/m/?] y

  "multiport" Multiple port match support (NETFILTER_XT_MATCH_MULTIPORT) [N/m/y/?] n

  "nfacct" match support (NETFILTER_XT_MATCH_NFACCT) [N/m/y/?] n

  "osf" Passive OS fingerprint match (NETFILTER_XT_MATCH_OSF) [N/m/y/?] n

  "owner" match support (NETFILTER_XT_MATCH_OWNER) [N/m/y/?] n

  IPsec "policy" match support (NETFILTER_XT_MATCH_POLICY) [Y/n/m/?] y

  "pkttype" packet type match support (NETFILTER_XT_MATCH_PKTTYPE) [Y/n/m/?] y

  "quota, tag, owner" match and stats support (NETFILTER_XT_MATCH_QTAGUID) [Y/n/?] y

  "quota" match support (NETFILTER_XT_MATCH_QUOTA) [Y/n/m/?] y

  "quota2" match support (NETFILTER_XT_MATCH_QUOTA2) [Y/n/m/?] y

    "quota2" Netfilter LOG support (NETFILTER_XT_MATCH_QUOTA2_LOG) [Y/n/?] y

  "rateest" match support (NETFILTER_XT_MATCH_RATEEST) [N/m/y/?] n

  "realm" match support (NETFILTER_XT_MATCH_REALM) [N/m/y/?] n

  "recent" match support (NETFILTER_XT_MATCH_RECENT) [N/m/y/?] n

  "sctp" protocol match support (EXPERIMENTAL) (NETFILTER_XT_MATCH_SCTP) [N/m/y/?] n

  "socket" match support (EXPERIMENTAL) (NETFILTER_XT_MATCH_SOCKET) [Y/n/m/?] y

  "state" match support (NETFILTER_XT_MATCH_STATE) [Y/n/m/?] y

  "statistic" match support (NETFILTER_XT_MATCH_STATISTIC) [Y/n/m/?] y

  "string" match support (NETFILTER_XT_MATCH_STRING) [Y/n/m/?] y

  "tcpmss" match support (NETFILTER_XT_MATCH_TCPMSS) [N/m/y/?] n

  "time" match support (NETFILTER_XT_MATCH_TIME) [Y/n/m/?] y

  "u32" match support (NETFILTER_XT_MATCH_U32) [Y/n/m/?] y

*

* DA380 support

*

DA380 support (DA380) [N/y] (NEW) n

*

* File systems

*

Second extended fs support (EXT2_FS) [Y/n/m/?] y

  Ext2 extended attributes (EXT2_FS_XATTR) [N/y/?] n

  Ext2 execute in place support (EXT2_FS_XIP) [N/y/?] n

Ext3 journalling file system support (EXT3_FS) [N/m/y/?] n

The Extended 4 (ext4) filesystem (EXT4_FS) [Y/n/m/?] y

  Use ext4 for ext2/ext3 file systems (EXT4_USE_FOR_EXT23) [Y/n/?] y

  Ext4 extended attributes (EXT4_FS_XATTR) [Y/n/?] y

    Ext4 POSIX Access Control Lists (EXT4_FS_POSIX_ACL) [N/y/?] n

    Ext4 Security Labels (EXT4_FS_SECURITY) [Y/n/?] y

  EXT4 debugging support (EXT4_DEBUG) [N/y/?] n

JBD2 (ext4) debugging support (JBD2_DEBUG) [N/y/?] n

Reiserfs support (REISERFS_FS) [N/m/y/?] n

JFS filesystem support (JFS_FS) [N/m/y/?] n

XFS filesystem support (XFS_FS) [N/m/y/?] n

GFS2 file system support (GFS2_FS) [N/m/y/?] n

Btrfs filesystem (EXPERIMENTAL) Unstable disk format (BTRFS_FS) [N/m/y/?] n

NILFS2 file system support (EXPERIMENTAL) (NILFS2_FS) [N/m/y/?] n

Enable POSIX file locking API (FILE_LOCKING) [Y/n/?] y

Dnotify support (DNOTIFY) [Y/n/?] y

Inotify support for userspace (INOTIFY_USER) [Y/n/?] y

Filesystem wide access notification (FANOTIFY) [Y/n/?] y

  fanotify permissions checking (FANOTIFY_ACCESS_PERMISSIONS) [N/y/?] n

Quota support (QUOTA) [N/y/?] n

Kernel automounter version 4 support (also supports v3) (AUTOFS4_FS) [N/m/y/?] n

FUSE (Filesystem in Userspace) support (FUSE_FS) [Y/n/m/?] y

Overlay filesystem support (OVERLAYFS_FS) [N/m/y/?] (NEW) n

2、嘗試在配置檔案中關閉:

W:\r58_android_v4.4\lichee\linux-3.4\arch\arm\configs\sun8iw6p1smp_android_defconfig

#

# Automatically generated file; DO NOT EDIT.

# Linux/arm 3.4.39 Kernel Configuration

#

LOG快取大小。XSHELL通過SSH連線在WIN7上改不了,就直接在這裡修改了)

#

# RCU Subsystem

#

CONFIG_TREE_PREEMPT_RCU=y

CONFIG_PREEMPT_RCU=y

CONFIG_RCU_FANOUT=32

# CONFIG_RCU_FANOUT_EXACT is not set

# CONFIG_RCU_FAST_NO_HZ is not set

# CONFIG_TREE_RCU_TRACE is not set

# CONFIG_RCU_BOOST is not set

# CONFIG_IKCONFIG is not set

CONFIG_LOG_BUF_SHIFT=16

修改為:

CONFIG_LOG_BUF_SHIFT=18

CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y

第一處:

  *

  * Xtables matches

  *

  "addrtype" address type match support (NETFILTER_XT_MATCH_ADDRTYPE) [N/m/y/?] n

  "cluster" match support (NETFILTER_XT_MATCH_CLUSTER) [N/m/y/?] n

  "comment" match support (NETFILTER_XT_MATCH_COMMENT) [Y/n/m/?] y

  "connbytes" per-connection counter match support (NETFILTER_XT_MATCH_CONNBYTES) [N/m/y/?] n

  "connlimit" match support" (NETFILTER_XT_MATCH_CONNLIMIT) [Y/n/m/?] y

  "connmark" connection mark match support (NETFILTER_XT_MATCH_CONNMARK) [Y/n/m/?] y

  "conntrack" connection tracking match support (NETFILTER_XT_MATCH_CONNTRACK) [Y/n/m/?] y

  "cpu" match support (NETFILTER_XT_MATCH_CPU) [N/m/y/?] n

  "dccp" protocol match support (NETFILTER_XT_MATCH_DCCP) [N/m/y/?] n

  "devgroup" match support (NETFILTER_XT_MATCH_DEVGROUP) [N/m/y/?] n

  "dscp" and "tos" match support (NETFILTER_XT_MATCH_DSCP) [N/m/y/?] n

  "ecn" match support (NETFILTER_XT_MATCH_ECN) [Y/?] y

  "esp" match support (NETFILTER_XT_MATCH_ESP) [N/m/y/?] n

  "hashlimit" match support (NETFILTER_XT_MATCH_HASHLIMIT) [Y/n/m/?] y

  "helper" match support (NETFILTER_XT_MATCH_HELPER) [Y/n/m/?] y

  "hl" hoplimit/TTL match support (NETFILTER_XT_MATCH_HL) [Y/?] y

  "iprange" address range match support (NETFILTER_XT_MATCH_IPRANGE) [Y/n/m/?] y

  "layer7" match support (NETFILTER_XT_MATCH_LAYER7) [N/m/y/?] (NEW) n

#

# Xtables matches

#

# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set

# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set

CONFIG_NETFILTER_XT_MATCH_COMMENT=y

# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set

CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y

CONFIG_NETFILTER_XT_MATCH_CONNMARK=y

CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y

# CONFIG_NETFILTER_XT_MATCH_CPU is not set

# CONFIG_NETFILTER_XT_MATCH_DCCP is not set

# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set

# CONFIG_NETFILTER_XT_MATCH_DSCP is not set

CONFIG_NETFILTER_XT_MATCH_ECN=y

# CONFIG_NETFILTER_XT_MATCH_ESP is not set

CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=y

CONFIG_NETFILTER_XT_MATCH_HELPER=y

CONFIG_NETFILTER_XT_MATCH_HL=y

CONFIG_NETFILTER_XT_MATCH_IPRANGE=y

# CONFIG_NETFILTER_XT_MATCH_LAYER7 is not set

CONFIG_NETFILTER_XT_MATCH_LENGTH=y

第二處:

  "string" match support (NETFILTER_XT_MATCH_STRING) [Y/n/m/?] y

  "tcpmss" match support (NETFILTER_XT_MATCH_TCPMSS) [N/m/y/?] n

  "time" match support (NETFILTER_XT_MATCH_TIME) [Y/n/m/?] y

  "u32" match support (NETFILTER_XT_MATCH_U32) [Y/n/m/?] y

*

* DA380 support

*

DA380 support (DA380) [N/y] (NEW) n

#

# Native drivers

#

CONFIG_SENSORS_KIONIX=m

CONFIG_SENSORS_MMA7660=m

CONFIG_SENSORS_MMA865x=m

CONFIG_SENSORS_MMA8452=m

CONFIG_SENSORS_AFA750=m

CONFIG_SENSORS_BMA250=m

CONFIG_SENSORS_LIS3DH_ACC=m

CONFIG_SENSORS_LIS3DE_ACC=m

# CONFIG_SENSORS_AD7314 is not set

# CONFIG_SENSORS_AD7414 is not set

# CONFIG_SENSORS_AD7418 is not set

# CONFIG_SENSORS_ADCXX is not set

# CONFIG_SENSORS_ADM1021 is not set

# CONFIG_SENSORS_ADM1025 is not set

# CONFIG_SENSORS_ADM1026 is not set

# CONFIG_SENSORS_ADM1029 is not set

# CONFIG_SENSORS_ADM1031 is not set

# CONFIG_SENSORS_ADM9240 is not set

# CONFIG_SENSORS_ADT7411 is not set

# CONFIG_SENSORS_ADT7462 is not set

# CONFIG_SENSORS_ADT7470 is not set

# CONFIG_SENSORS_ADT7475 is not set

# CONFIG_SENSORS_ASC7621 is not set

# CONFIG_SENSORS_ATXP1 is not set

# CONFIG_SENSORS_DS620 is not set

# CONFIG_SENSORS_DS1621 is not set

# CONFIG_SENSORS_F71805F is not set

# CONFIG_SENSORS_F71882FG is not set

# CONFIG_SENSORS_F75375S is not set

# CONFIG_SENSORS_G760A is not set

# CONFIG_SENSORS_GL518SM is not set

# CONFIG_SENSORS_GL520SM is not set

# CONFIG_SENSORS_GPIO_FAN is not set

# CONFIG_SENSORS_IT87 is not set

# CONFIG_SENSORS_JC42 is not set

# CONFIG_SENSORS_LINEAGE is not set

# CONFIG_SENSORS_LM63 is not set

# CONFIG_SENSORS_LM70 is not set

# CONFIG_SENSORS_LM73 is not set

# CONFIG_SENSORS_LM75 is not set

# CONFIG_SENSORS_LM77 is not set

# CONFIG_SENSORS_LM78 is not set

# CONFIG_SENSORS_LM80 is not set

# CONFIG_SENSORS_LM83 is not set

# CONFIG_SENSORS_LM85 is not set

# CONFIG_SENSORS_LM87 is not set

# CONFIG_SENSORS_LM90 is not set

# CONFIG_SENSORS_LM92 is not set

# CONFIG_SENSORS_LM93 is not set

# CONFIG_SENSORS_LTC4151 is not set

# CONFIG_SENSORS_LTC4215 is not set

# CONFIG_SENSORS_LTC4245 is not set

# CONFIG_SENSORS_LTC4261 is not set

# CONFIG_SENSORS_LM95241 is not set

# CONFIG_SENSORS_LM95245 is not set

# CONFIG_SENSORS_MAX1111 is not set

# CONFIG_SENSORS_MAX16065 is not set

# CONFIG_SENSORS_MAX1619 is not set

# CONFIG_SENSORS_MAX1668 is not set

# CONFIG_SENSORS_MAX6639 is not set

# CONFIG_SENSORS_MAX6642 is not set

# CONFIG_SENSORS_MAX6650 is not set

# CONFIG_SENSORS_MCP3021 is not set

# CONFIG_SENSORS_NTC_THERMISTOR is not set

# CONFIG_SENSORS_PC87360 is not set

# CONFIG_SENSORS_PC87427 is not set

# CONFIG_SENSORS_PCF8591 is not set

# CONFIG_PMBUS is not set

# CONFIG_DA380 is not set

# CONFIG_SENSORS_SHT15 is not set

第三處:

Quota support (QUOTA) [N/y/?] n

Kernel automounter version 4 support (also supports v3) (AUTOFS4_FS) [N/m/y/?] n

FUSE (Filesystem in Userspace) support (FUSE_FS) [Y/n/m/?] y

Overlay filesystem support (OVERLAYFS_FS) [N/m/y/?] (NEW) n

#

# File systems

#

CONFIG_EXT2_FS=y

# CONFIG_EXT2_FS_XATTR is not set

# CONFIG_EXT2_FS_XIP is not set

# CONFIG_EXT3_FS is not set

CONFIG_EXT4_FS=y

CONFIG_EXT4_USE_FOR_EXT23=y

CONFIG_EXT4_FS_XATTR=y

# CONFIG_EXT4_FS_POSIX_ACL is not set

CONFIG_EXT4_FS_SECURITY=y

# CONFIG_EXT4_DEBUG is not set

CONFIG_JBD2=y

# CONFIG_JBD2_DEBUG is not set

CONFIG_FS_MBCACHE=y

# CONFIG_REISERFS_FS is not set

# CONFIG_JFS_FS is not set

# CONFIG_XFS_FS is not set

# CONFIG_GFS2_FS is not set

# CONFIG_BTRFS_FS is not set

# CONFIG_NILFS2_FS is not set

CONFIG_FS_POSIX_ACL=y

CONFIG_FILE_LOCKING=y

CONFIG_FSNOTIFY=y

CONFIG_DNOTIFY=y

CONFIG_INOTIFY_USER=y

CONFIG_FANOTIFY=y

# CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set

# CONFIG_QUOTA is not set

# CONFIG_QUOTACTL is not set

# CONFIG_AUTOFS4_FS is not set

CONFIG_FUSE_FS=y

# CONFIG_OVERLAYFS_FS is not set

CONFIG_CUSE=y

CONFIG_GENERIC_ACL=y

之後即可和git伺服器同步了。