Peios Learn
Documentation

Peios

Peios Peios Kernel Universal Directory Project

Developer Tools

Trail Acta Provium clackatoo CAF GCSL Pekit

Applications

Framewright

Standards and Conventions

Standards and Conventions Peios Specifications
Peios Kernel

Nios II

Single-page view · as markdown

Nios II Specific Documentation

Peios Kernel / Hardware and drivers / Processor architectures / Nios II

  1. Linux on the Nios II architecture
  2. features

Feature status on nios2 architecture

Peios Kernel / Hardware and drivers / Processor architectures / Nios II

SubsystemFeatureKconfigStatusDescription
corecBPF-JITHAVE_CBPF_JITTODOarch supports cBPF JIT optimizations
coreeBPF-JITHAVE_EBPF_JITTODOarch supports eBPF JIT optimizations
coregeneric-idle-threadGENERIC_SMP_IDLE_THREADTODOarch makes use of the generic SMP idle thread facility
corejump-labelsHAVE_ARCH_JUMP_LABELTODOarch supports live patched, high efficiency branches
coremseal-system-mappingsARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGSN/Aarch supports mseal system mappings
corethread-info-in-taskTHREAD_INFO_IN_TASKTODOarch makes use of the core kernel facility to embed thread_info in task_struct
coretracehookHAVE_ARCH_TRACEHOOKokarch supports tracehook (ptrace) register handling APIs
debugdebug-vm-pgtableARCH_HAS_DEBUG_VM_PGTABLETODOarch supports pgtable tests for semantics compliance
debuggcov-profile-allARCH_HAS_GCOV_PROFILE_ALLTODOarch supports whole-kernel GCOV code coverage profiling
debugKASANHAVE_ARCH_KASANTODOarch supports the KASAN runtime memory checker
debugkcovARCH_HAS_KCOVTODOarch supports kcov for coverage-guided fuzzing
debugkgdbHAVE_ARCH_KGDBokarch supports the kGDB kernel debugger
debugkmemleakHAVE_DEBUG_KMEMLEAKTODOarch supports the kernel memory leak detector
debugkprobesHAVE_KPROBESTODOarch supports live patched kernel probe
debugkprobes-on-ftraceHAVE_KPROBES_ON_FTRACETODOarch supports combined kprobes and ftrace live patching
debugkretprobesHAVE_KRETPROBESTODOarch supports kernel function-return probes
debugoptprobesHAVE_OPTPROBESTODOarch supports live patched optprobes
debugstackprotectorHAVE_STACKPROTECTORTODOarch supports compiler driven stack overflow protection
debuguprobesARCH_SUPPORTS_UPROBESTODOarch supports live patched user probes
debuguser-ret-profilerHAVE_USER_RETURN_NOTIFIERTODOarch supports user-space return from system call profiler
iodma-contiguousHAVE_DMA_CONTIGUOUSTODOarch supports the DMA CMA (continuous memory allocator)
lockingcmpxchg-localHAVE_CMPXCHG_LOCALTODOarch supports the this_cpu_cmpxchg() API
lockinglockdepLOCKDEP_SUPPORTTODOarch supports the runtime locking correctness debug facility
lockingqueued-rwlocksARCH_USE_QUEUED_RWLOCKSTODOarch supports queued rwlocks
lockingqueued-spinlocksARCH_USE_QUEUED_SPINLOCKSTODOarch supports queued spinlocks
perfkprobes-eventHAVE_REGS_AND_STACK_ACCESS_APITODOarch supports kprobes with perf events
perfperf-regsHAVE_PERF_REGSTODOarch supports perf events register access
perfperf-stackdumpHAVE_PERF_USER_STACK_DUMPTODOarch supports perf events stack dumps
schedmembarrier-sync-coreARCH_HAS_MEMBARRIER_SYNC_CORETODOarch supports core serializing membarrier
schednuma-balancingARCH_SUPPORTS_NUMA_BALANCINGNot compatiblearch supports NUMA balancing
seccompseccomp-filterHAVE_ARCH_SECCOMP_FILTERTODOarch supports seccomp filters
timearch-tick-broadcastARCH_HAS_TICK_BROADCASTTODOarch provides tick_broadcast()
timeclockevents!LEGACY_TIMER_TICKokarch support generic clock events
timeirq-time-acctHAVE_IRQ_TIME_ACCOUNTINGTODOarch supports precise IRQ time accounting
timeuser-context-trackingHAVE_CONTEXT_TRACKING_USERTODOarch supports user context tracking for NO_HZ_FULL
timevirt-cpuacctHAVE_VIRT_CPU_ACCOUNTINGTODOarch supports precise virtual CPU time accounting
vmbatch-unmap-tlb-flushARCH_WANT_BATCHED_UNMAP_TLB_FLUSHNot compatiblearch supports deferral of TLB flush until multiple pages are unmapped
vmELF-ASLRARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUTTODOarch randomizes the stack, heap and binary images of ELF binaries
vmhuge-vmapHAVE_ARCH_HUGE_VMAPTODOarch supports the arch_vmap_pud_supported() and arch_vmap_pmd_supported() VM APIs
vmioremap_protHAVE_IOREMAP_PROTTODOarch has ioremap_prot()
vmpte_specialARCH_HAS_PTE_SPECIALTODOarch supports the pte_special()/pte_mkspecial() VM APIs
vmTHPHAVE_ARCH_TRANSPARENT_HUGEPAGENot compatiblearch supports transparent hugepages

Linux on the Nios II architecture

Peios Kernel / Hardware and drivers / Processor architectures / Nios II

This is a port of Linux to Nios II (nios2) processor.

In order to compile for Nios II, you need a version of GCC with support for the generic system call ABI. Please see this link for more information on how compiling and booting software for the Nios II platform: http://www.rocketboards.org/foswiki/Documentation/NiosIILinuxUserManual

For reference, please see the following link: http://www.altera.com/literature/lit-nio2.jsp

What is Nios II? #

Nios II is a 32-bit embedded-processor architecture designed specifically for the Altera family of FPGAs. In order to support Linux, Nios II needs to be configured with MMU and hardware multiplier enabled.

Nios II ABI #

Please refer to chapter "Application Binary Interface" in Nios II Processor Reference Handbook.

Peios Learn — documentation for Peios software.

Built with Trail.