- Upgrading Armbian from bullseye to bookworm
- Upgrading Armbian from bullseye to bookworm
- Building out-of-tree kernel modules: preparing legacy-rk35xx kernel source
-
Building out-of-tree kernel modules: preparing legacy-rk35xx kernel source
If you want to build out-of-tree kernel modules, you will need: kernel headers (installed with apt) kernel sources in /usr/src (cloned from git) kernel config (from /proc/config.gz) some preparation of the sources (but you can avoid building it 😉) # Install kernel headers apt install -y linux-headers-legacy-rk35xx # Install kernel source cd /usr/src git clone https://github.com/armbian/linux-rockchip.git ln -nsf linux-rockchip linux-5.10.160-legacy-rk35xx cd linux-rockchip git checkout rk-5.10-rkr6 # Prepare kernel source zcat /proc/config.gz >.config yes | make olddefconfig make prepare modules_prepare cp /usr/src/linux-headers-$(uname -r)/Module.symvers .
- Boot from eMMC + system on NVME on OrangePI 3b
-
Upgrading Armbian from bullseye to bookworm
Step 1 - Install the Armbian PGP key and update your APT sources Install armbian.gpg to /usr/share/keyrings/armbian.gpg (mode 644) You can use a copy from another one of your SBCs, or... ... you can download and install like below (thanks @BrewNinja for the example) touch /usr/share/keyrings/armbian.gpg chmod 644 /usr/share/keyrings/armbian.gpg wget https://apt.armbian.com/armbian.key -O - | gpg --dearmor >/usr/share/keyrings/armbian.gpg Edit /etc/apt/sources.list Replace all instances of bullseye with bookworm Edit /etc/apt/sources.list.d/armbian.list deb [signed-by=/usr/share/keyrings/armbian.gpg] http://apt.armbian.com bookworm main bookworm-utils bookworm-desktop Edit any other files in /etc/apt/sources.list.d as appropriate, to replace bullseye with bookworm Step 2 apt update Step 3 NOTE - WHEN RUNNING THE BELOW COMMANDS, DO NOT ACCEPT ANY INTERACTIVE PROMPTS FOR CHANGING /etc/initramfs-tools/initramfs.conf The default is not to accept the changes anyway - but I am noting this here to be extra careful I've checked - the changes may differ from what armbian has in the latest images apt upgrade --no-new-pkgs apt full-upgrade apt dist-upgrade
-
Radxa 25W PoE Hat
At least for legacy kernels, it possible to use Radxa's overlay for the 25W PoE hat. This should allow you to use the PWM fan on the PoE hat. #!/bin/bash # Install linux headers apt-get install -y linux-headers-legacy-rk35xx # Download and compile the device tree overlay h=/usr/src/linux-headers-$(uname -r) wget https://raw.githubusercontent.com/radxa/overlays/f2679399887b678dec62cb50cb44c767a2bcb293/arch/arm64/boot/dts/rockchip/overlays/rock-5b-radxa-25w-poe.dts cpp -nostdinc -I $h/include -I $h/arch -undef -x assembler-with-cpp rock-5b-radxa-25w-poe.dts | dtc -I dts -O dtb -o rock-5b-radxa-25w-poe.dtbo # Install device tree overlay mkdir -p /boot/overlay-user mv rock-5b-radxa-25w-poe.dtbo /boot/overlay-user echo 'user_overlays=rock-5b-radxa-25w-poe' >>/boot/armbianEnv.txt
- Boot from eMMC + system on NVME on OrangePI 3b
- Boot from eMMC + system on NVME on OrangePI 3b