Benutzer-Werkzeuge

Webseiten-Werkzeuge


raspberry

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
raspberry [2021/03/11 20:46]
karl [Simple Makefile with PIGPIO]
raspberry [2022/03/15 09:04] (aktuell)
karl
Zeile 47: Zeile 47:
  
 Then insert the SD card into the Raspi and start to scan for the Raspberry's IP-Address with Then insert the SD card into the Raspi and start to scan for the Raspberry's IP-Address with
-  nmap -T5 -sP 10.0.1.0-255+  nmap -T5 -sn 10.0.1.0-255
 or with or with
   arp -a   arp -a
Zeile 165: Zeile 165:
 </code> </code>
  
-==== Realtime Kernel ====+===== Realtime Kernel =====
   * https://www.get-edi.io/Real-Time-Linux-on-the-Raspberry-Pi/   * https://www.get-edi.io/Real-Time-Linux-on-the-Raspberry-Pi/
   * https://github.com/lueschem/edi-pi#creating-a-cross-development-lxd-container   * https://github.com/lueschem/edi-pi#creating-a-cross-development-lxd-container
   * https://www.get-edi.io/   * https://www.get-edi.io/
 +  * https://www.raspberrypi.org/documentation/linux/kernel/building.md
 +  * https://medium.com/@patdhlk/realtime-linux-e97628b51d5d
 +  * https://lemariva.com/blog/2019/09/raspberry-pi-4b-preempt-rt-kernel-419y-performance-test
 +
 +Auf dem Raspberry Pi, mit Raspberry OS vom 11. Jan. 2021 ((https://www.raspberrypi.org/documentation/linux/kernel/building.md)):
 +  sudo apt update
 +  sudo apt upgrade
 +  sudo apt install git bc bison flex libssl-dev make
 +  git clone --depth=1 --branch rpi-4.19.y-rt https://github.com/raspberrypi/linux
 +  
 +Configure Kernel ((https://www.raspberrypi.org/documentation/linux/kernel/configuring.md)):
 +  sudo apt install libncurses5-dev
 +  cd linux
 +  make menuconfig
 +  
 +Hierbei wurde jedoch weiters nichts konfiguriert. 
 +
 +  make bcm2711_defconfig
 +  make -j4 zImage 
 +  make -j4 modules 
 +  make -j4 dtbs 
 +
 +Dauert etwa 1h15min. 
 +
 +  sudo make -j4 modules_install 
 +  sudo make -j4 dtbs_install
 +  sudo cp arch/arm/boot/dts/*.dtb /boot/
 +  sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
 +  sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
 +  sudo cp arch/arm/boot/zImage /boot/$KERNEL-rt.img
 +
 +
 +
  
  
 {{tag>english software raspberry c++ linux technical}} {{tag>english software raspberry c++ linux technical}}
  
raspberry.1615491991.txt.gz · Zuletzt geändert: 2021/03/11 20:46 von karl