All Projects → claudioscordino → rpi3-xenomai

claudioscordino / rpi3-xenomai

Licence: other
Xenomai 3 for Raspberry Pi 3

Programming Languages

c
50402 projects - #5 most used programming language
assembly
5116 projects
C++
36643 projects - #6 most used programming language
Makefile
30231 projects
objective c
16641 projects - #2 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to rpi3-xenomai

Raspberry Pi Os
Learning operating system development using Linux kernel and Raspberry Pi
Stars: ✭ 11,000 (+47726.09%)
Mutual labels:  linux-kernel, raspberry-pi-3
Pi64
A 64-bit OS for the Raspberry Pi 3
Stars: ✭ 720 (+3030.43%)
Mutual labels:  linux-kernel, raspberry-pi-3
Ubuntu64 Rpi
适用于树莓派3b/3b+的64位系统.
Stars: ✭ 652 (+2734.78%)
Mutual labels:  linux-kernel, raspberry-pi-3
Wifi Txpower Unlocker
Stars: ✭ 173 (+652.17%)
Mutual labels:  linux-kernel, raspberry-pi-3
lkm-sandbox
Collection of Linux Kernel Modules and PoC to discover, learn and practice Linux Kernel Development
Stars: ✭ 36 (+56.52%)
Mutual labels:  linux-kernel
ebpfkit-monitor
ebpfkit-monitor is a tool that detects and protects against eBPF powered rootkits
Stars: ✭ 80 (+247.83%)
Mutual labels:  linux-kernel
ebpfkit
ebpfkit is a rootkit powered by eBPF
Stars: ✭ 472 (+1952.17%)
Mutual labels:  linux-kernel
Pi-Trader
A cryptocurrency day-trading bot for Raspberry Pi.
Stars: ✭ 44 (+91.3%)
Mutual labels:  raspberry-pi-3
smart-home
Control house using raspberry pi djago based secure REST api. Made using raspberry pi, arduino, django ,django REST and angular.
Stars: ✭ 30 (+30.43%)
Mutual labels:  raspberry-pi-3
android kernel xiaomi whyred
🐧 Linux kernel sources for Redmi Note 5 Pro/AI (whyred) • https://telegra.ph/Rad-Kernel-Sources-whyred-09-04
Stars: ✭ 31 (+34.78%)
Mutual labels:  linux-kernel
linux-insides-ja
Japanese version of linux-insides book
Stars: ✭ 99 (+330.43%)
Mutual labels:  linux-kernel
awesome-gnu-linux-gaming
A curated list of awesome GNU/Linux tips & tricks, games, tools, and resources - Mirrored from: https://gitlab.com/linuxcafefederation/awesome-gnu-linux-gaming.git
Stars: ✭ 135 (+486.96%)
Mutual labels:  linux-kernel
linux-insides Turkish
Turkish version of linux-insides book @0xAX
Stars: ✭ 65 (+182.61%)
Mutual labels:  linux-kernel
LinuxKernelLearn
Learn Linux Kernel Step by Step, including the Modules, FS, Device Driver etc. --- Linux内核学习,包括Linux各模块,文件系统,设备驱动文件等。
Stars: ✭ 37 (+60.87%)
Mutual labels:  linux-kernel
protecc
Linux kernel module to fight against police terror
Stars: ✭ 25 (+8.7%)
Mutual labels:  linux-kernel
yamete
Yamete - Hentai downloader in PHP CLI - Easy site downloader PHP system
Stars: ✭ 63 (+173.91%)
Mutual labels:  raspberry-pi-3
wingkalabs
Wingkalabs (Linux) Wingkalabs es una máquina Virtual Linux intencionalmente vulnerable. Esta máquina virtual se puede utilizar para realizar entrenamientos de seguridad, probar herramientas de seguridad y practicar técnicas comunes de pruebas de penetración.
Stars: ✭ 16 (-30.43%)
Mutual labels:  linux-kernel
linux-4.8.0-netfilter icmp
Anatomy of a linux kernel development
Stars: ✭ 26 (+13.04%)
Mutual labels:  linux-kernel
Linux-Kernel-Driver-Programming
Implementation of PCI drivers, kprobe, sysfs, devfs, sensor driver, miscdevices, synchronization
Stars: ✭ 43 (+86.96%)
Mutual labels:  linux-kernel
rtw88-usb
rtw88 family usb driver for linux rtl8723du rtl8822bu rtl8821cu rtl8822cu
Stars: ✭ 40 (+73.91%)
Mutual labels:  linux-kernel

Xenomai 3.0.7 on Raspberry Pi 3

This short guide explains how to put Xenomai 3 Cobalt on the Raspberry Pi 3.

System setup

  • Download Raspian from https://www.raspberrypi.org/downloads/raspbian/

  • Use lsblk to discover the flash device. Then, flash the image through:

     dd bs=4M if=2018-04-18-raspbian-stretch.img of=/dev/sdX conv=fsync
    
  • Credentials: pi/raspberry

  • Run rpi-update

  • Run raspi-config for enabling SSH and serial console (in "Interfacing Options")

Kernel build

To configure the kernel (optional) type:

    export CROSS_COMPILE=arm-linux-gnueabihf- (or your specific toolchain)

    make configure

To cross-compile the kernel follow the next steps:

    export CROSS_COMPILE=arm-linux-gnueabihf- (or your specific toolchain)

    make kernel

The cross-compiler binaries must be in the current PATH.

Note that the initial default kernel configuration is available in the kernel/kernel-config file.

Kernel installation

  • Copy the following files to the target:

    • kernel/linux-4.14.36/build/linux/arch/arm/boot/dts/bcm2837-rpi-3-b.dtb -> /boot/
    • kernel/linux-4.14.36/build/linux/arch/arm/boot/zImage -> /boot/kernel-xenomai.img
    • kernel/linux-4.14.36/build/linux/MODULES/ -> /lib/modules
  • Append to /boot/config.txt:

      device_tree=bcm2837-rpi-3-b.dtb
      kernel=kernel-xenomai.img
    
  • Append to /boot/cmdline.txt:

      cma=256M@512M
    

Drivers build

To cross-compile the exemplary drivers follow the next steps:

    export CROSS_COMPILE=arm-linux-gnueabihf- (or your specific toolchain)

    make drivers

User-space tools

To natively compile the Xenomai user-space tools on the Rpi3 target, type:

   make tools

   sudo make tools_install

To run the default benchmark, type

   sudo /usr/xenomai/bin/xeno-test

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].