Not all of Plebian's stuff is packages in a way where apt can upgrade it as of the time of writing. That's why occasionally, manual intervention is needed to fully transition from an earlier release of Plebian to a newer one. This document tells you how to do this depending on what release you're updating from.
If you're in need of doing multiple upgrades, do them in order.
During this upgrade, u-boot will need to be updated. The third party repository needs to be added as well.
- Find the latest release for your device from the Actions workflow.
- Unzip it so that you have
idbloader.imgandu-boot.itb - Find the device you have u-boot on with
lsblk, it's probably the one your/resides on as well, i.e./dev/mmcblk0for SD and/dev/mmcblk1for eMMC. - Flash
idbloader.imgtop1of that device, e.g.sudo dd if=idbloader.img of=/dev/mmcblk0p1 oflag=dsync bs=4096Remember to change/dev/mmcblk0p1to/dev/mmcblk1p1if you're using eMMC. - Flash
u-boot.itbtop2of that device, e.g.sudo dd if=u-boot.itb of=/dev/mmcblk0p2 oflag=dsync bs=4096Remember to change/dev/mmcblk0p2to/dev/mmcblk1p2if you're using eMMC.
Run the following:
sudo curl -L https://raw.githubusercontent.com/Plebian-Linux/quartz64-images/main/debos-recipes/overlays/apt/sources.list.d/plebian.sources -o /etc/apt/sources.list.d/plebian.sources
sudo curl -L https://github.com/Plebian-Linux/quartz64-images/raw/main/debos-recipes/overlays/keyrings/plebian-build-key.gpg -o /usr/share/keyrings/plebian-build-key.gpg
sudo apt update
sudo apt install devicetrees-plebian-quartz64
- Install the package
firmware-brcm80211. - Remove the file
/etc/apt/apt.conf.d/40default-release - Remove the file
/etc/apt/sources.list.d/sid.list
During this upgrade, u-boot will need to be updated.
- Download the u-boot build for your device from the release page.
- Find the device you have u-boot on with
lsblk, it's probably the one your/resides on as well, i.e./dev/mmcblk0for SD and/dev/mmcblk1for eMMC. We'll henceforth refer to this as/dev/mmcblkX. - Install parted:
sudo apt update && sudo apt install parted - Delete partition 2 of the device:
sudo parted /dev/mmcblkX rm 2 - Resize partition 1 of the device:
sudo parted /dev/mmcblkX resizepart 1 32MiB - Flash u-boot to partition 1 of your device:
sudo dd if=u-boot-rockchip.bin of=/dev/mmcblkXp1 oflag=dsync status=progress bs=1M