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
Letzte Überarbeitung Beide Seiten der Revision
raspberry [2021/03/10 18:47]
karl [Headless with WiFi]
raspberry [2021/03/12 22:46]
karl [Realtime Kernel]
Zeile 46: Zeile 46:
 Second: create a file ''ssh'' in ''boot'' Second: create a file ''ssh'' in ''boot''
  
-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 -sP 10.0.1.0-255
 or with or with
Zeile 164: Zeile 164:
  rm myprogram  rm myprogram
 </code> </code>
 +
 +===== Realtime Kernel =====
 +  * 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://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.txt · Zuletzt geändert: 2022/03/15 09:04 von karl