CONFIG_NIOS2
- Selects
ARCH_32BIT_OFF_T - Selects
ARCH_HAS_CPU_CACHE_ALIASING - Selects
ARCH_HAS_DMA_PREP_COHERENT - Selects
ARCH_HAS_SYNC_DMA_FOR_CPU - Selects
ARCH_HAS_SYNC_DMA_FOR_DEVICE - Selects
ARCH_HAS_DMA_SET_UNCACHED - Selects
ARCH_NO_SWAP - Selects
COMMON_CLK - Selects
TIMER_OF - Selects
GENERIC_ATOMIC64 - Selects
GENERIC_CPU_DEVICES - Selects
GENERIC_IRQ_PROBE - Selects
GENERIC_IRQ_SHOW - Selects
HAVE_ARCH_TRACEHOOK - Selects
HAVE_ARCH_KGDB - Selects
HAVE_PAGE_SIZE_4KB - Selects
IRQ_DOMAIN - Selects
LOCK_MM_AND_FIND_VMA - Selects
MODULES_USE_ELF_RELA - Selects
OF - Selects
OF_EARLY_FLATTREE - Selects
SOC_BUS - Selects
SPARSE_IRQ - Selects
USB_ARCH_HAS_HCD if USB_SUPPORT - Selects
CPU_NO_EFFICIENT_FFS - Selects
MMU_GATHER_NO_RANGE if
CONFIG_GENERIC_CSUM
CONFIG_GENERIC_HWEIGHT
CONFIG_GENERIC_CALIBRATE_DELAY
CONFIG_NO_IOPORT_MAP
CONFIG_FPU
Kernel features
CONFIG_ARCH_FORCE_MAX_ORDER Order of maximal physically contiguous allocations
The kernel page allocator limits the size of maximal physically contiguous allocations. The limit is called MAX_PAGE_ORDER and it defines the maximal power of two of number of pages that can be allocated as a single contiguous block. This option allows overriding the default setting when ability to allocate very large blocks of physically contiguous memory is required.
Don't change if unsure.
Processor type and features
CONFIG_MMU
CONFIG_NR_CPUS
CONFIG_NIOS2_ALIGNMENT_TRAP Catch alignment trap
Nios II CPUs cannot fetch/store data which is not bus aligned, i.e., a 2 or 4 byte fetch must start at an address divisible by 2 or 4. Any non-aligned load/store instructions will be trapped and emulated in software if you say Y here, which has a performance impact.
Boot options
CONFIG_CMDLINE_BOOL Default bootloader kernel arguments
CONFIG_CMDLINE Default kernel command string
On some platforms, there is currently no way for the boot loader to pass arguments to the kernel. For these platforms, you can supply some command-line options at build time by entering them here. In other cases you can specify kernel args so that you don't have to set them up in board prom initialization routines.
- Depends on
CONFIG_CMDLINE_FORCE Force default kernel command string
Set this to have arguments from the default kernel command string override those passed by the boot loader.
- Depends on
CONFIG_NIOS2_CMDLINE_IGNORE_DTB Ignore kernel command string from DTB
Set this to ignore the bootargs property from the devicetree's chosen node and fall back to CMDLINE if nothing is passed.
- Depends on
- Depends on
!
CONFIG_NIOS2_PASS_CMDLINE Passed kernel command line from u-boot
Use bootargs env variable from u-boot for kernel command line. will override "Default kernel command string". Say N if you are unsure.
CONFIG_NIOS2_BOOT_LINK_OFFSET Link address offset for booting
This option allows you to set the link address offset of the zImage. This can be useful if you are on a board which has a small amount of memory.
Advanced setup
CONFIG_ADVANCED_OPTIONS Prompt for advanced kernel configuration options
Default settings for advanced configuration options are used
- Depends on
!
CONFIG_NIOS2_KERNEL_MMU_REGION_BASE_BOOL Set custom kernel MMU region base address
This option allows you to set the virtual address of the kernel MMU region.
Say N here unless you know what you are doing.
- Depends on
CONFIG_NIOS2_KERNEL_MMU_REGION_BASE Virtual base address of the kernel MMU region
This option allows you to set the virtual base address of the kernel MMU region.
- Visible if
NIOS2_KERNEL_MMU_REGION_BASE_BOOL
CONFIG_NIOS2_KERNEL_REGION_BASE_BOOL Set custom kernel region base address
This option allows you to set the virtual address of the kernel region.
Say N here unless you know what you are doing.
- Depends on
CONFIG_NIOS2_KERNEL_REGION_BASE Virtual base address of the kernel region
- Visible if
NIOS2_KERNEL_REGION_BASE_BOOL
CONFIG_NIOS2_IO_REGION_BASE_BOOL Set custom I/O region base address
This option allows you to set the virtual address of the I/O region.
Say N here unless you know what you are doing.
- Depends on
CONFIG_NIOS2_IO_REGION_BASE Virtual base address of the I/O region
- Visible if
NIOS2_IO_REGION_BASE_BOOL
- arch/alpha/Kconfig:89
- arch/arc/Kconfig:70
- arch/arm/Kconfig:319
- arch/arm64/Kconfig:278
- arch/csky/Kconfig:160
- arch/hexagon/Kconfig:57
- arch/loongarch/Kconfig:787
- arch/m68k/Kconfig:84
- arch/microblaze/Kconfig:93
- arch/mips/Kconfig:3046
- arch/nios2/Kconfig:69
- arch/openrisc/Kconfig:54
- arch/parisc/Kconfig:106
- arch/powerpc/Kconfig:30
- arch/riscv/Kconfig:292
- arch/s390/Kconfig:2
- arch/sh/mm/Kconfig:4
- arch/sparc/Kconfig:140
- arch/um/Kconfig:52
- arch/x86/Kconfig:356
- arch/xtensa/Kconfig:94