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 206: | Line 206: | ||
CONFIG_GENERIC_CLOCKEVENTS=y | CONFIG_GENERIC_CLOCKEVENTS=y | ||
</pre> | </pre> | ||
− | | bgcolor="e6e6e6" valign="top" | | + | | bgcolor="e6e6e6" valign="top" | |
+ | <pre> | ||
+ | # | ||
+ | # IRQ subsystem | ||
+ | # | ||
+ | CONFIG_GENERIC_IRQ_PROBE=y | ||
+ | CONFIG_GENERIC_IRQ_SHOW=y | ||
+ | CONFIG_GENERIC_IRQ_SHOW_LEVEL=y | ||
+ | CONFIG_HARDIRQS_SW_RESEND=y | ||
+ | CONFIG_IRQ_DOMAIN=y | ||
+ | CONFIG_HANDLE_DOMAIN_IRQ=y | ||
+ | # CONFIG_IRQ_DOMAIN_DEBUG is not set | ||
+ | CONFIG_IRQ_FORCED_THREADING=y | ||
+ | CONFIG_SPARSE_IRQ=y | ||
+ | CONFIG_GENERIC_TIME_VSYSCALL=y | ||
+ | CONFIG_GENERIC_CLOCKEVENTS=y | ||
+ | CONFIG_ARCH_HAS_TICK_BROADCAST=y | ||
+ | CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y | ||
+ | </pre> | ||
| bgcolor="e6e6e6" valign="top" | 3 | | bgcolor="e6e6e6" valign="top" | 3 | ||
| bgcolor="e6e6e6" valign="top" | 4 | | bgcolor="e6e6e6" valign="top" | 4 | ||
Line 223: | Line 241: | ||
| bgcolor="cce0ff" valign="top" | | | bgcolor="cce0ff" valign="top" | | ||
<pre> | <pre> | ||
+ | # | ||
+ | # Timers subsystem | ||
+ | # | ||
+ | CONFIG_TICK_ONESHOT=y | ||
+ | CONFIG_NO_HZ_COMMON=y | ||
+ | # CONFIG_HZ_PERIODIC is not set | ||
+ | CONFIG_NO_HZ_IDLE=y | ||
+ | # CONFIG_NO_HZ_FULL is not set | ||
+ | CONFIG_NO_HZ=y | ||
+ | CONFIG_HIGH_RES_TIMERS=y | ||
</pre> | </pre> | ||
− | | bgcolor="cce0ff" valign="top" | | + | | bgcolor="cce0ff" valign="top" | 3 |
− | | bgcolor="cce0ff" valign="top" | | + | | bgcolor="cce0ff" valign="top" | 4 |
|- | |- | ||
Line 240: | Line 268: | ||
</pre> | </pre> | ||
| bgcolor="e6e6e6" valign="top" | | | bgcolor="e6e6e6" valign="top" | | ||
− | <pre> | + | <pre> |
+ | # | ||
+ | # CPU/Task time and stats accounting | ||
+ | # | ||
+ | CONFIG_TICK_CPU_ACCOUNTING=y | ||
+ | # CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set | ||
+ | # CONFIG_IRQ_TIME_ACCOUNTING is not set | ||
+ | CONFIG_BSD_PROCESS_ACCT=y | ||
+ | CONFIG_BSD_PROCESS_ACCT_V3=y | ||
+ | CONFIG_TASKSTATS=y | ||
+ | CONFIG_TASK_DELAY_ACCT=y | ||
+ | CONFIG_TASK_XACCT=y | ||
+ | CONFIG_TASK_IO_ACCOUNTING=y | ||
</pre> | </pre> | ||
| bgcolor="e6e6e6" valign="top" | 3 | | bgcolor="e6e6e6" valign="top" | 3 | ||
Line 330: | Line 370: | ||
CONFIG_HAVE_PERF_EVENTS=y | CONFIG_HAVE_PERF_EVENTS=y | ||
CONFIG_PERF_USE_VMALLOC=y | CONFIG_PERF_USE_VMALLOC=y | ||
+ | </pre> | ||
+ | | bgcolor="cce0ff" valign="top" | | ||
+ | <pre> | ||
+ | # | ||
+ | # RCU Subsystem | ||
+ | # | ||
+ | CONFIG_TREE_RCU=y | ||
+ | # CONFIG_RCU_EXPERT is not set | ||
+ | CONFIG_SRCU=y | ||
+ | # CONFIG_TASKS_RCU is not set | ||
+ | CONFIG_RCU_STALL_COMMON=y | ||
+ | # CONFIG_TREE_RCU_TRACE is not set | ||
+ | # CONFIG_RCU_EXPEDITE_BOOT is not set | ||
+ | CONFIG_BUILD_BIN2C=y | ||
+ | CONFIG_IKCONFIG=y | ||
+ | CONFIG_IKCONFIG_PROC=y | ||
+ | CONFIG_LOG_BUF_SHIFT=17 | ||
+ | CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 | ||
+ | CONFIG_GENERIC_SCHED_CLOCK=y | ||
+ | CONFIG_CGROUPS=y | ||
+ | # CONFIG_CGROUP_DEBUG is not set | ||
+ | CONFIG_CGROUP_FREEZER=y | ||
+ | # CONFIG_CGROUP_PIDS is not set | ||
+ | CONFIG_CGROUP_DEVICE=y | ||
+ | CONFIG_CPUSETS=y | ||
+ | CONFIG_PROC_PID_CPUSET=y | ||
+ | CONFIG_CGROUP_CPUACCT=y | ||
+ | CONFIG_PAGE_COUNTER=y | ||
+ | CONFIG_MEMCG=y | ||
+ | # CONFIG_MEMCG_SWAP is not set | ||
+ | # CONFIG_MEMCG_KMEM is not set | ||
+ | # CONFIG_CGROUP_PERF is not set | ||
+ | CONFIG_CGROUP_SCHED=y | ||
+ | CONFIG_FAIR_GROUP_SCHED=y | ||
+ | # CONFIG_CFS_BANDWIDTH is not set | ||
+ | # CONFIG_RT_GROUP_SCHED is not set | ||
+ | CONFIG_BLK_CGROUP=y | ||
+ | # CONFIG_DEBUG_BLK_CGROUP is not set | ||
+ | CONFIG_CGROUP_WRITEBACK=y | ||
+ | # CONFIG_CHECKPOINT_RESTORE is not set | ||
+ | CONFIG_NAMESPACES=y | ||
+ | CONFIG_UTS_NS=y | ||
+ | CONFIG_IPC_NS=y | ||
+ | # CONFIG_USER_NS is not set | ||
+ | CONFIG_PID_NS=y | ||
+ | CONFIG_NET_NS=y | ||
+ | CONFIG_SCHED_AUTOGROUP=y | ||
+ | # CONFIG_SYSFS_DEPRECATED is not set | ||
+ | CONFIG_RELAY=y | ||
+ | CONFIG_BLK_DEV_INITRD=y | ||
+ | CONFIG_INITRAMFS_SOURCE="" | ||
+ | CONFIG_RD_GZIP=y | ||
+ | CONFIG_RD_BZIP2=y | ||
+ | CONFIG_RD_LZMA=y | ||
+ | CONFIG_RD_XZ=y | ||
+ | CONFIG_RD_LZO=y | ||
+ | CONFIG_RD_LZ4=y | ||
+ | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
+ | CONFIG_SYSCTL=y | ||
+ | CONFIG_ANON_INODES=y | ||
+ | CONFIG_HAVE_UID16=y | ||
+ | CONFIG_BPF=y | ||
+ | CONFIG_EXPERT=y | ||
+ | CONFIG_UID16=y | ||
+ | CONFIG_MULTIUSER=y | ||
+ | # CONFIG_SGETMASK_SYSCALL is not set | ||
+ | CONFIG_SYSFS_SYSCALL=y | ||
+ | # CONFIG_SYSCTL_SYSCALL is not set | ||
+ | CONFIG_KALLSYMS=y | ||
+ | # CONFIG_KALLSYMS_ALL is not set | ||
+ | CONFIG_PRINTK=y | ||
+ | CONFIG_BUG=y | ||
+ | CONFIG_ELF_CORE=y | ||
+ | CONFIG_BASE_FULL=y | ||
+ | CONFIG_FUTEX=y | ||
+ | CONFIG_EPOLL=y | ||
+ | CONFIG_SIGNALFD=y | ||
+ | CONFIG_TIMERFD=y | ||
+ | CONFIG_EVENTFD=y | ||
+ | # CONFIG_BPF_SYSCALL is not set | ||
+ | CONFIG_SHMEM=y | ||
+ | CONFIG_AIO=y | ||
+ | CONFIG_ADVISE_SYSCALLS=y | ||
+ | # CONFIG_USERFAULTFD is not set | ||
+ | CONFIG_MEMBARRIER=y | ||
+ | CONFIG_EMBEDDED=y | ||
+ | CONFIG_HAVE_PERF_EVENTS=y | ||
+ | CONFIG_PERF_USE_VMALLOC=y | ||
+ | </pre> | ||
+ | | bgcolor="cce0ff" valign="top" | 3 | ||
+ | | bgcolor="cce0ff" valign="top" | 4 | ||
+ | |- | ||
+ | | bgcolor="e6e6e6" valign="top" | | ||
+ | <pre> | ||
# | # | ||
# Kernel Performance Events And Counters | # Kernel Performance Events And Counters | ||
Line 377: | Line 511: | ||
CONFIG_OLD_SIGSUSPEND3=y | CONFIG_OLD_SIGSUSPEND3=y | ||
CONFIG_OLD_SIGACTION=y | CONFIG_OLD_SIGACTION=y | ||
+ | </pre> | ||
+ | | bgcolor="e6e6e6" valign="top" | | ||
+ | <pre> | ||
+ | </pre> | ||
+ | | bgcolor="e6e6e6" valign="top" | | ||
+ | | bgcolor="e6e6e6" valign="top" | | ||
+ | |||
+ | |- | ||
# | # |
Revision as of 19:54, 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
|