RPi (buikdroot, minimal, realtime, compile, update)

buildroot

linux ist als host betriebssystem gedacht

benötigte packete

grundlegende schritte

vorgehensweise

 

apt-get install bc build-essential binutils bzip2 automake gcc g++ bison flex make ncurses-dev gettext

qemu-system-i386 -kernel output/images/bzImage -hda output/images/rootfs.ext2 -boot c -m 128 -append "root=/dev/sda rw" -localtime -no-reboot -net nic -net user

What architecture and hardware are you targeting? If you're targeting x86, then you can set BR2_LINUX_KERNEL_DEFCONFIG to 'i386', if you're targeting x86-64, then you can set  BR2_LINUX_KERNEL_DEFCONFIG to 'x86_64'. If you're targeting ARM, then you should look in the kernel sources which defconfig in arch/arm/configs/ matches your hardware.

minimal

https://github.com/debian-pi/raspbian-ua-netinst
https://wolf-u.li/5226/debian-jessie-auf-dem-raspberry-pi-in-einer-minimal-installation-mittels-raspbian-ua-netinst/
http://www.dabamos.de/documentation/raspbian
https://minibianpi.wordpress.com/

realtime

http://www.forum-raspberrypi.de/Thread-tutorial-raspbian-minimal-image-mit-realtime-kernel-selbst-erstellen
http://docs.emlid.com/Navio-APM/configuring-raspberry-pi/
http://docs.emlid.com/Downloads/Real-time-Linux-RPi1/
http://docs.emlid.com/Downloads/Real-time-Linux-RPi2/

compile

http://www.raspberry-pi-geek.de/Magazin/2014/05/RasPi-Kernel-in-der-VM-crosskompilieren
http://www.gtkdb.de/index_36_2087.html
http://sysprogs.com/VisualKernel/tutorials/raspberry/buildkernel/
http://ivanx.com/raspberrypi/raspberrypi_kernel.html

update auf eine neuere Version

sed -i /deb/s/OLDVERSION/NEWVERSION/g /etc/apt/sources.list
sed -i /deb/s/OLDVERSION/NEWVERSION/g /etc/apt/sources.list.d/*.list
apt-get update
apt-get dist-upgrade
apt-get autoremove
apt-get autoclean

The cable is easiest way ever to connect to your microcontroller/Raspberry Pi/WiFi router serial console port. Inside the big USB plug is a USB<->Serial conversion chip and at the end of the 36" cable are four wire - red power, black ground, white RX into USB port, and green TX out of the USB port. The power pin provides the 500mA direct from the USB port and the RX/TX pins are 3.3V level for interfacing with the most common 3.3V logic level chipsets.

minimaler xserver

$ sudo apt-get install --no-install-recommends xserver-xorg-core xserver-xorg-input-all xserver-xorg-video-fbdev xserver-xorg-video-(yourcard, can be intel, nouveau, or ati)


Stephan Günther, 1997-2025, letzte Änderung 26.02.2020, Datenschutzerklärung, DisclaimerPowered by GetSimple