Difference between revisions of "Drhuvvyas90-4-4-34-kconfig-versus-bnc2709-kconfig"
m (→^ Kernel Config Files By Sections) |
m (→^ Kernel Config Files By Sections) |
||
Line 512: | Line 512: | ||
CONFIG_OLD_SIGACTION=y | CONFIG_OLD_SIGACTION=y | ||
</pre> | </pre> | ||
− | | bgcolor="e6e6e6" valign="top" | | + | | bgcolor="e6e6e6" valign="top" | |
<pre> | <pre> | ||
+ | # | ||
+ | # Kernel Performance Events And Counters | ||
+ | # | ||
+ | CONFIG_PERF_EVENTS=y | ||
+ | # CONFIG_DEBUG_PERF_USE_VMALLOC is not set | ||
+ | CONFIG_VM_EVENT_COUNTERS=y | ||
+ | CONFIG_SLUB_DEBUG=y | ||
+ | # CONFIG_COMPAT_BRK is not set | ||
+ | # CONFIG_SLAB is not set | ||
+ | CONFIG_SLUB=y | ||
+ | # CONFIG_SLOB is not set | ||
+ | CONFIG_SLUB_CPU_PARTIAL=y | ||
+ | # CONFIG_SYSTEM_DATA_VERIFICATION is not set | ||
+ | CONFIG_PROFILING=y | ||
+ | CONFIG_TRACEPOINTS=y | ||
+ | CONFIG_OPROFILE=m | ||
+ | CONFIG_HAVE_OPROFILE=y | ||
+ | CONFIG_KPROBES=y | ||
+ | CONFIG_JUMP_LABEL=y | ||
+ | # CONFIG_STATIC_KEYS_SELFTEST is not set | ||
+ | CONFIG_OPTPROBES=y | ||
+ | # CONFIG_UPROBES is not set | ||
+ | # CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set | ||
+ | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | ||
+ | CONFIG_ARCH_USE_BUILTIN_BSWAP=y | ||
+ | CONFIG_KRETPROBES=y | ||
+ | CONFIG_HAVE_KPROBES=y | ||
+ | CONFIG_HAVE_KRETPROBES=y | ||
+ | CONFIG_HAVE_OPTPROBES=y | ||
+ | CONFIG_HAVE_ARCH_TRACEHOOK=y | ||
+ | CONFIG_HAVE_DMA_ATTRS=y | ||
+ | CONFIG_HAVE_DMA_CONTIGUOUS=y | ||
+ | CONFIG_GENERIC_SMP_IDLE_THREAD=y | ||
+ | CONFIG_GENERIC_IDLE_POLL_SETUP=y | ||
+ | CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y | ||
+ | CONFIG_HAVE_CLK=y | ||
+ | CONFIG_HAVE_DMA_API_DEBUG=y | ||
+ | CONFIG_HAVE_HW_BREAKPOINT=y | ||
+ | CONFIG_HAVE_PERF_REGS=y | ||
+ | CONFIG_HAVE_PERF_USER_STACK_DUMP=y | ||
+ | CONFIG_HAVE_ARCH_JUMP_LABEL=y | ||
+ | CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y | ||
+ | CONFIG_HAVE_CC_STACKPROTECTOR=y | ||
+ | # CONFIG_CC_STACKPROTECTOR is not set | ||
+ | CONFIG_CC_STACKPROTECTOR_NONE=y | ||
+ | # CONFIG_CC_STACKPROTECTOR_REGULAR is not set | ||
+ | # CONFIG_CC_STACKPROTECTOR_STRONG is not set | ||
+ | CONFIG_HAVE_CONTEXT_TRACKING=y | ||
+ | CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y | ||
+ | CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y | ||
+ | CONFIG_HAVE_MOD_ARCH_SPECIFIC=y | ||
+ | CONFIG_MODULES_USE_ELF_REL=y | ||
+ | CONFIG_ARCH_HAS_ELF_RANDOMIZE=y | ||
+ | CONFIG_CLONE_BACKWARDS=y | ||
+ | CONFIG_OLD_SIGSUSPEND3=y | ||
+ | CONFIG_OLD_SIGACTION=y | ||
</pre> | </pre> | ||
| bgcolor="e6e6e6" valign="top" | 3 | | bgcolor="e6e6e6" valign="top" | 3 | ||
Line 543: | Line 599: | ||
# CONFIG_BLK_DEV_INTEGRITY is not set | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
# CONFIG_BLK_CMDLINE_PARSER is not set | # CONFIG_BLK_CMDLINE_PARSER is not set | ||
+ | </pre> | ||
+ | | bgcolor="cce0ff" valign="top" | | ||
+ | <pre> | ||
+ | # | ||
+ | # GCOV-based kernel profiling | ||
+ | # | ||
+ | # CONFIG_GCOV_KERNEL is not set | ||
+ | CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y | ||
+ | CONFIG_HAVE_GENERIC_DMA_COHERENT=y | ||
+ | CONFIG_SLABINFO=y | ||
+ | CONFIG_RT_MUTEXES=y | ||
+ | CONFIG_BASE_SMALL=0 | ||
+ | CONFIG_MODULES=y | ||
+ | # CONFIG_MODULE_FORCE_LOAD is not set | ||
+ | CONFIG_MODULE_UNLOAD=y | ||
+ | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
+ | CONFIG_MODVERSIONS=y | ||
+ | CONFIG_MODULE_SRCVERSION_ALL=y | ||
+ | # CONFIG_MODULE_SIG is not set | ||
+ | # CONFIG_MODULE_COMPRESS is not set | ||
+ | CONFIG_MODULES_TREE_LOOKUP=y | ||
+ | CONFIG_BLOCK=y | ||
+ | CONFIG_LBDAF=y | ||
+ | CONFIG_BLK_DEV_BSG=y | ||
+ | CONFIG_BLK_DEV_BSGLIB=y | ||
+ | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
+ | CONFIG_BLK_DEV_THROTTLING=y | ||
+ | # CONFIG_BLK_CMDLINE_PARSER is not set | ||
+ | </pre> | ||
+ | | bgcolor="cce0ff" valign="top" | 3 | ||
+ | | bgcolor="cce0ff" valign="top" | 4 | ||
+ | |- <!-- - - - - - - - - - - -new table row - - - - - - - - - - - - - --> | ||
+ | | bgcolor="e6e6e6" valign="top" | | ||
+ | <pre> | ||
# | # | ||
# Partition Types | # Partition Types | ||
Line 567: | Line 657: | ||
# CONFIG_SYSV68_PARTITION is not set | # CONFIG_SYSV68_PARTITION is not set | ||
# CONFIG_CMDLINE_PARTITION is not set | # CONFIG_CMDLINE_PARTITION is not set | ||
+ | </pre> | ||
+ | | bgcolor="e6e6e6" valign="top" | | ||
+ | <pre> | ||
+ | # | ||
+ | # Partition Types | ||
+ | # | ||
+ | CONFIG_PARTITION_ADVANCED=y | ||
+ | # CONFIG_ACORN_PARTITION is not set | ||
+ | # CONFIG_AIX_PARTITION is not set | ||
+ | # CONFIG_OSF_PARTITION is not set | ||
+ | # CONFIG_AMIGA_PARTITION is not set | ||
+ | # CONFIG_ATARI_PARTITION is not set | ||
+ | CONFIG_MAC_PARTITION=y | ||
+ | CONFIG_MSDOS_PARTITION=y | ||
+ | # CONFIG_BSD_DISKLABEL is not set | ||
+ | # CONFIG_MINIX_SUBPARTITION is not set | ||
+ | # CONFIG_SOLARIS_X86_PARTITION is not set | ||
+ | # CONFIG_UNIXWARE_DISKLABEL is not set | ||
+ | # CONFIG_LDM_PARTITION is not set | ||
+ | # CONFIG_SGI_PARTITION is not set | ||
+ | # CONFIG_ULTRIX_PARTITION is not set | ||
+ | # CONFIG_SUN_PARTITION is not set | ||
+ | # CONFIG_KARMA_PARTITION is not set | ||
+ | CONFIG_EFI_PARTITION=y | ||
+ | # CONFIG_SYSV68_PARTITION is not set | ||
+ | # CONFIG_CMDLINE_PARTITION is not set | ||
+ | </pre> | ||
+ | | bgcolor="e6e6e6" valign="top" | 3 | ||
+ | | bgcolor="e6e6e6" valign="top" | 4 | ||
+ | |- <!-- - - - - - - - - - - -new table row - - - - - - - - - - - - - --> | ||
+ | | bgcolor="cce0ff" valign="top" | | ||
+ | <pre> | ||
# | # | ||
# IO Schedulers | # IO Schedulers | ||
Line 585: | Line 707: | ||
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y | CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y | ||
CONFIG_FREEZER=y | CONFIG_FREEZER=y | ||
+ | </pre> | ||
+ | | bgcolor="cce0ff" valign="top" | | ||
+ | <pre> | ||
+ | # | ||
+ | # IO Schedulers | ||
+ | # | ||
+ | CONFIG_IOSCHED_NOOP=y | ||
+ | CONFIG_IOSCHED_DEADLINE=y | ||
+ | CONFIG_IOSCHED_CFQ=y | ||
+ | CONFIG_CFQ_GROUP_IOSCHED=y | ||
+ | # CONFIG_DEFAULT_DEADLINE is not set | ||
+ | CONFIG_DEFAULT_CFQ=y | ||
+ | # CONFIG_DEFAULT_NOOP is not set | ||
+ | CONFIG_DEFAULT_IOSCHED="cfq" | ||
+ | CONFIG_INLINE_SPIN_UNLOCK_IRQ=y | ||
+ | CONFIG_INLINE_READ_UNLOCK=y | ||
+ | CONFIG_INLINE_READ_UNLOCK_IRQ=y | ||
+ | CONFIG_INLINE_WRITE_UNLOCK=y | ||
+ | CONFIG_INLINE_WRITE_UNLOCK_IRQ=y | ||
+ | CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y | ||
+ | CONFIG_MUTEX_SPIN_ON_OWNER=y | ||
+ | CONFIG_RWSEM_SPIN_ON_OWNER=y | ||
+ | CONFIG_LOCK_SPIN_ON_OWNER=y | ||
+ | CONFIG_FREEZER=y | ||
+ | </pre> | ||
+ | | bgcolor="cce0ff" valign="top" | 3 | ||
+ | | bgcolor="cce0ff" valign="top" | 4 | ||
+ | |- <!-- - - - - - - - - - - -new table row - - - - - - - - - - - - - --> | ||
+ | | bgcolor="e6e6e6" valign="top" | 22222 | ||
+ | <pre> | ||
# | # | ||
# System Type | # System Type |
Revision as of 20:04, 18 December 2017
Linux Kernel Configurations de drhuvvyas90 and bcm2709_defconfig
started 2017-12-17 Sunday
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
|