====== Banana Pi M2 Ultra als headless VDR ======
===== Quellen: =====
* [[https://docs.armbian.com/User-Guide_Getting-Started/|Getting started with Armbian]]
* [[https://docs.armbian.com/|Armbian Documentation]]
* [[https://www.armbian.com/bananapi-m2u/|Bananapi M2U / Berry]]
* [[https://docs.armbian.com/Developer-Guide_Build-Preparation/|Building Armbian]]
===== funktionierende Images: =====
* [[https://armbian.systemonachip.net/archive/bananapim2ultra/archive/Armbian_20.05.2_Bananapim2ultra_bullseye_current_5.4.43.img.xz|https://armbian.systemonachip.net/archive/bananapim2ultra/archive/Armbian_20.05.2_Bananapim2ultra_bullseye_current_5.4.43.img.xz]] - Login: root/1234\\
===== SD-Karte befüllen: =====
wget https://armbian.systemonachip.net/archive/bananapim2ultra/archive/Armbian_20.05.2_Bananapim2ultra_bullseye_current_5.4.43.img.xz
xz -d Armbian_20.05.2_Bananapim2ultra_bullseye_current_5.4.43.img.xz
sudo dd if=Armbian_20.05.2_Bananapim2ultra_bullseye_current_5.4.43.img of=/dev/sdc bs=1M
# oder via USBImager direkt die *.xz Datei auf eine SD-Karte schreiben
# oder
# xzcat Armbian_20.05.2_Bananapim2ultra_bullseye_current_5.4.43.img.xz | sudo dd bs=1M of=/dev/sdc
Die erste Boot-Phase ist sehr lang! Bis zu einem SSH-Login kann es mehr als 10 Minuten dauern.
===== Building Armbian =====
apt-get -y -qq install git
git clone --depth 1 https://github.com/armbian/build
cd build
./compile.sh
# fertiges Image liegt dann unter: "build/output/images/"
# Automatischer Build für ein Standard-Image:
01: ./compile.sh BOARD=bananapim2ultra BRANCH=current RELEASE=buster BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=prebuilt COMPRESS_OUTPUTIMAGE=sha,gpg,img
02: ./compile.sh BOARD=bananapim2ultra BRANCH=current RELEASE=focal BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=prebuilt COMPRESS_OUTPUTIMAGE=sha,gpg,img
===== Konfig =====
mcedit /etc/apt/sources.list
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
sudo su
resize2fs /dev/mmcblk0p1
#
apt-get install aptitude armbian-config
apt-get purge locales
aptitude install locales
dpkg-reconfigure locales
# --> en_US.UTF-8
#
#change /boot/armbianEnv.txt to have "verbosity=7" and "console=serial"
mcedit /boot/armbianEnv.txt
#