Difference between revisions of "Drhuvvyas90-4-4-34-kconfig-versus-bnc2709-kconfig"
(→^ edit point - boot options) |
m (→^ Kernel Config Files By Sections) |
||
Line 1,148: | Line 1,148: | ||
|- <!-- - - - - - - - - - - -new table row - - - - - - - - - - - - - --> | |- <!-- - - - - - - - - - - -new table row - - - - - - - - - - - - - --> | ||
| colspan="4" | | | colspan="4" | | ||
− | === [[#top|^]] edit point - | + | === [[#top|^]] edit point - Boot options === |
Line 1,283: | Line 1,283: | ||
+ | |- <!-- - - - - - - - - - - -new table row - - - - - - - - - - - - - --> | ||
+ | | colspan="4" | | ||
+ | === [[#top|^]] edit point - Floating point emulation === | ||
Line 1,312: | Line 1,315: | ||
| bgcolor="e6e6e6" valign="top" | | | bgcolor="e6e6e6" valign="top" | | ||
<pre> | <pre> | ||
+ | # | ||
+ | # At least one emulation must be selected | ||
+ | # | ||
+ | # CONFIG_FPE_NWFPE is not set | ||
+ | # CONFIG_FPE_FASTFPE is not set | ||
+ | CONFIG_VFP=y | ||
+ | CONFIG_VFPv3=y | ||
+ | CONFIG_NEON=y | ||
+ | CONFIG_KERNEL_MODE_NEON=y | ||
</pre> | </pre> | ||
| bgcolor="e6e6e6" valign="top" | 3 | | bgcolor="e6e6e6" valign="top" | 3 | ||
Line 1,318: | Line 1,330: | ||
|- <!-- - - - - - - - - - - -new table row - - - - - - - - - - - - - --> | |- <!-- - - - - - - - - - - -new table row - - - - - - - - - - - - - --> | ||
+ | | bgcolor="cce0ff" valign="top" | | ||
<pre> | <pre> | ||
− | |||
− | |||
− | |||
# | # | ||
# Userspace binary formats | # Userspace binary formats | ||
Line 1,331: | Line 1,341: | ||
# CONFIG_BINFMT_MISC is not set | # CONFIG_BINFMT_MISC is not set | ||
CONFIG_COREDUMP=y | CONFIG_COREDUMP=y | ||
+ | </pre> | ||
+ | | bgcolor="cce0ff" valign="top" | | ||
+ | <pre> | ||
+ | # | ||
+ | # Userspace binary formats | ||
+ | # | ||
+ | CONFIG_BINFMT_ELF=y | ||
+ | CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y | ||
+ | CONFIG_BINFMT_SCRIPT=y | ||
+ | # CONFIG_HAVE_AOUT is not set | ||
+ | CONFIG_BINFMT_MISC=m | ||
+ | CONFIG_COREDUMP=y | ||
+ | </pre> | ||
+ | | bgcolor="cce0ff" valign="top" | 3 | ||
+ | | bgcolor="cce0ff" valign="top" | 4 | ||
+ | |||
+ | |- <!-- - - - - - - - - - - -new table row - - - - - - - - - - - - - --> | ||
+ | | bgcolor="e6e6e6" valign="top" | | ||
+ | <pre> | ||
# | # | ||
# Power management options | # Power management options | ||
Line 1,352: | Line 1,381: | ||
CONFIG_NET=y | CONFIG_NET=y | ||
CONFIG_NET_INGRESS=y | CONFIG_NET_INGRESS=y | ||
+ | </pre> | ||
+ | | bgcolor="e6e6e6" valign="top" | | ||
+ | <pre> | ||
+ | # | ||
+ | # Power management options | ||
+ | # | ||
+ | # CONFIG_SUSPEND is not set | ||
+ | # CONFIG_HIBERNATION is not set | ||
+ | CONFIG_PM=y | ||
+ | # CONFIG_PM_DEBUG is not set | ||
+ | # CONFIG_APM_EMULATION is not set | ||
+ | CONFIG_PM_CLK=y | ||
+ | CONFIG_PM_GENERIC_DOMAINS=y | ||
+ | # CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set | ||
+ | CONFIG_PM_GENERIC_DOMAINS_OF=y | ||
+ | CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
+ | # CONFIG_ARM_CPU_SUSPEND is not set | ||
+ | CONFIG_ARCH_HIBERNATION_POSSIBLE=y | ||
+ | CONFIG_NET=y | ||
+ | CONFIG_NET_INGRESS=y | ||
+ | </pre> | ||
+ | | bgcolor="e6e6e6" valign="top" | 3 | ||
+ | | bgcolor="e6e6e6" valign="top" | 4 | ||
+ | |||
+ | |- <!-- - - - - - - - - - - -new table row - - - - - - - - - - - - - --> | ||
+ | | bgcolor="cce0ff" valign="top" | | ||
+ | <pre> | ||
# | # | ||
# Networking options | # Networking options | ||
Line 1,403: | Line 1,459: | ||
CONFIG_NETFILTER_ADVANCED=y | CONFIG_NETFILTER_ADVANCED=y | ||
CONFIG_BRIDGE_NETFILTER=y | CONFIG_BRIDGE_NETFILTER=y | ||
+ | </pre> | ||
+ | | bgcolor="cce0ff" valign="top" | | ||
+ | <pre> | ||
+ | # | ||
+ | # Networking options | ||
+ | # | ||
+ | CONFIG_PACKET=y | ||
+ | # CONFIG_PACKET_DIAG is not set | ||
+ | CONFIG_UNIX=y | ||
+ | # CONFIG_UNIX_DIAG is not set | ||
+ | CONFIG_XFRM=y | ||
+ | CONFIG_XFRM_ALGO=y | ||
+ | CONFIG_XFRM_USER=y | ||
+ | # CONFIG_XFRM_SUB_POLICY is not set | ||
+ | # CONFIG_XFRM_MIGRATE is not set | ||
+ | # CONFIG_XFRM_STATISTICS is not set | ||
+ | CONFIG_XFRM_IPCOMP=m | ||
+ | CONFIG_NET_KEY=m | ||
+ | # CONFIG_NET_KEY_MIGRATE is not set | ||
+ | CONFIG_INET=y | ||
+ | CONFIG_IP_MULTICAST=y | ||
+ | CONFIG_IP_ADVANCED_ROUTER=y | ||
+ | # CONFIG_IP_FIB_TRIE_STATS is not set | ||
+ | CONFIG_IP_MULTIPLE_TABLES=y | ||
+ | CONFIG_IP_ROUTE_MULTIPATH=y | ||
+ | CONFIG_IP_ROUTE_VERBOSE=y | ||
+ | CONFIG_IP_ROUTE_CLASSID=y | ||
+ | CONFIG_IP_PNP=y | ||
+ | CONFIG_IP_PNP_DHCP=y | ||
+ | # CONFIG_IP_PNP_BOOTP is not set | ||
+ | CONFIG_IP_PNP_RARP=y | ||
+ | CONFIG_NET_IPIP=m | ||
+ | CONFIG_NET_IPGRE_DEMUX=m | ||
+ | CONFIG_NET_IP_TUNNEL=m | ||
+ | CONFIG_NET_IPGRE=m | ||
+ | # CONFIG_NET_IPGRE_BROADCAST is not set | ||
+ | CONFIG_IP_MROUTE=y | ||
+ | CONFIG_IP_MROUTE_MULTIPLE_TABLES=y | ||
+ | CONFIG_IP_PIMSM_V1=y | ||
+ | CONFIG_IP_PIMSM_V2=y | ||
+ | CONFIG_SYN_COOKIES=y | ||
+ | # CONFIG_NET_IPVTI is not set | ||
+ | CONFIG_NET_UDP_TUNNEL=m | ||
+ | # CONFIG_NET_FOU is not set | ||
+ | # CONFIG_NET_FOU_IP_TUNNELS is not set | ||
+ | CONFIG_INET_AH=m | ||
+ | CONFIG_INET_ESP=m | ||
+ | CONFIG_INET_IPCOMP=m | ||
+ | CONFIG_INET_XFRM_TUNNEL=m | ||
+ | CONFIG_INET_TUNNEL=m | ||
+ | CONFIG_INET_XFRM_MODE_TRANSPORT=m | ||
+ | CONFIG_INET_XFRM_MODE_TUNNEL=m | ||
+ | CONFIG_INET_XFRM_MODE_BEET=m | ||
+ | CONFIG_INET_LRO=m | ||
+ | CONFIG_INET_DIAG=m | ||
+ | CONFIG_INET_TCP_DIAG=m | ||
+ | # CONFIG_INET_UDP_DIAG is not set | ||
+ | # CONFIG_TCP_CONG_ADVANCED is not set | ||
+ | CONFIG_TCP_CONG_CUBIC=y | ||
+ | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
+ | # CONFIG_TCP_MD5SIG is not set | ||
+ | CONFIG_IPV6=m | ||
+ | CONFIG_IPV6_ROUTER_PREF=y | ||
+ | # CONFIG_IPV6_ROUTE_INFO is not set | ||
+ | # CONFIG_IPV6_OPTIMISTIC_DAD is not set | ||
+ | CONFIG_INET6_AH=m | ||
+ | CONFIG_INET6_ESP=m | ||
+ | CONFIG_INET6_IPCOMP=m | ||
+ | # CONFIG_IPV6_MIP6 is not set | ||
+ | # CONFIG_IPV6_ILA is not set | ||
+ | CONFIG_INET6_XFRM_TUNNEL=m | ||
+ | CONFIG_INET6_TUNNEL=m | ||
+ | CONFIG_INET6_XFRM_MODE_TRANSPORT=m | ||
+ | CONFIG_INET6_XFRM_MODE_TUNNEL=m | ||
+ | CONFIG_INET6_XFRM_MODE_BEET=m | ||
+ | # CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set | ||
+ | # CONFIG_IPV6_VTI is not set | ||
+ | CONFIG_IPV6_SIT=m | ||
+ | # CONFIG_IPV6_SIT_6RD is not set | ||
+ | CONFIG_IPV6_NDISC_NODETYPE=y | ||
+ | CONFIG_IPV6_TUNNEL=m | ||
+ | # CONFIG_IPV6_GRE is not set | ||
+ | CONFIG_IPV6_MULTIPLE_TABLES=y | ||
+ | CONFIG_IPV6_SUBTREES=y | ||
+ | CONFIG_IPV6_MROUTE=y | ||
+ | CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y | ||
+ | CONFIG_IPV6_PIMSM_V2=y | ||
+ | # CONFIG_NETWORK_SECMARK is not set | ||
+ | # CONFIG_NET_PTP_CLASSIFY is not set | ||
+ | # CONFIG_NETWORK_PHY_TIMESTAMPING is not set | ||
+ | CONFIG_NETFILTER=y | ||
+ | # CONFIG_NETFILTER_DEBUG is not set | ||
+ | CONFIG_NETFILTER_ADVANCED=y | ||
+ | CONFIG_BRIDGE_NETFILTER=m | ||
+ | </pre> | ||
+ | | bgcolor="cce0ff" valign="top" | 3 | ||
+ | | bgcolor="cce0ff" valign="top" | 4 | ||
+ | |||
+ | |||
+ | |- <!-- - - - - - - - - - - -new table row - - - - - - - - - - - - - --> | ||
+ | | bgcolor="e6e6e6" valign="top" | | ||
+ | <pre> | ||
+ | <pre> | ||
+ | |||
+ | |||
# | # |
Revision as of 22:26, 18 December 2017
Linux Kernel Configurations de drhuvvyas90 and bcm2709_defconfig
started 2017-12-17 Sunday
Contents
Overview
These notes regard Ted's search for a working Linux kernel configuration to make the kernel run on a Raspberry Pi 2 dev board, and to also run correctly in QEMU 2.10.x target hardware emulator. Instructions for compiling custom kernels for Rpi boards on Raspberry Pi's web site tutorials pages appear out of date, or at least present steps which don't succeed when followed step by step. Ted now comparing a working Rpi kernel's configuration with the one from Raspberry Pi's tutorial. While creating a third configuration which is an incremental synchronizing of bcm2709_defconf kernel configuration, making this "recipe" option by option match drhuvvyas90's 4.4.34 "Jessie" kernel configuration, there are some situation where options may not be available to change, situations including:
- given kernel option in source tree but not adjustable via menuconfig tool
- kernel option is conditionally available on a "parent" option which is differently defined between kernel 4.4.34 and 4.4.50 releases
- kernel option is defined in one of 4.4.34 and 4.4.50 kernel releases but not defined in the other
Table 1 in this notes page holds kernel configuration files broken into their respective sections, where sections are indicated by kernel developers or kernel configuration tool developers by three consecutive comment lines, where middle of these three comments expresses 'section title' and the first and last comments are the comment symbol '#' only. The second table, table 2 in this project notes page contains each original kernel config file in an easily copy-and-paste form. We can't get that when splitting text files by sections into cells of a hypertext mark-up table.
Note: the last line in both kernel configuration files on this page reads "# CONFIG_VIRTUALIZATION is not set".
Note: there is a green block between the two tables, to aid in scrolling based page navigation and give indication when second table is at hand.
^ Kernel Config Files By Sections
Table 1 - Synchronizing kernel configuration drhuvvyas90 4.4.34 and bcm2709_defconfig
|
^ long table marker
Long table marker - scrolling navigation aid * * *
* *
* *
* *
* * |
^ Kernel config files in full
Following table holds complete unbroken copies of Linux kernel configuration files, for easier copy-and-paste use.
Table 2 - kernel configurations from drhuvvyas90 4.4.34 "Jessie" kernel and bcm2709_defconfig
|