Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
v22 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRemote committed Nov 18, 2019
1 parent 0ae6b22 commit 4057405
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
10 changes: 9 additions & 1 deletion BuildPiKernel64bit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# CONFIGURATION

IMAGE_VERSION="21"
IMAGE_VERSION="22"
SOURCE_RELEASE="18.04.3"

TARGET_IMG="ubuntu-18.04.3-preinstalled-server-arm64+raspi4.img"
Expand Down Expand Up @@ -541,6 +541,11 @@ sudo rm -rf ~/firmware-build/.github

# % Remove unneeded firmware folders
sudo rm -rf ~/firmware-build/LICEN*
sudo rm -rf ~/firmware-build/WHENCE
sudo rm -rf ~/firmware-build/check_whence.py
sudo rm -rf ~/firmware-build/Makefile
sudo rm -rf ~/firmware-build/copy-firmware.sh
sudo rm -rf ~/firmware-build/PLUS.txt
sudo rm -rf ~/firmware-build/netronome
sudo rm -rf ~/firmware-build/amdgpu
sudo rm -rf ~/firmware-build/radeon
Expand Down Expand Up @@ -667,8 +672,10 @@ sleep "$SLEEP_SHORT"
# % Copy overlays / image / firmware
cp -rf ~/rpi-linux/arch/arm64/boot/dts/broadcom/*.dtb ~/updates/bootfs
cp -rf ~/rpi-linux/arch/arm64/boot/dts/overlays/*.dtb* ~/updates/bootfs/overlays
cp -rf ~/rpi-linux/arch/arm64/boot/dts/overlays/README ~/updates/bootfs/overlays
cp -rf ~/rpi-linux/arch/arm64/boot/dts/broadcom/*.dtb ~/updates/rootfs/usr/lib/"${KERNEL_VERSION}"/overlays
cp -rf ~/rpi-linux/arch/arm64/boot/dts/overlays/*.dtb* ~/updates/rootfs/usr/lib/"${KERNEL_VERSION}"/broadcom
cp -rf ~/rpi-linux/arch/arm64/boot/dts/overlays/README ~/updates/rootfs/usr/lib/"${KERNEL_VERSION}"/overlays

# % Unmount and copy firmware copy to overlapping firmware folder
while mountpoint -q /mnt/boot/firmware && ! sudo umount /mnt/boot/firmware; do
Expand All @@ -677,6 +684,7 @@ while mountpoint -q /mnt/boot/firmware && ! sudo umount /mnt/boot/firmware; do
done
sudo cp -rf ~/firmware/boot/*.elf /mnt/boot/firmware/
sudo cp -rf ~/firmware/boot/*.dat /mnt/boot/firmware/
sudo cp -rf ~/firmware/boot/*.bin /mnt/boot/firmware/
sudo mount "/dev/mapper/${MOUNT_IMG}p1" /mnt/boot/firmware

cp -rf ~/rpi-linux/arch/arm64/boot/Image ~/updates/rootfs/boot/kernel8.img
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ If you come across a problem definitely open a GitHub issue or drop by the james
<strong>To download the prebuilt image go to the "Releases" section.</strong><br>
<br>
<h2>Update History</h2>
<strong>November 17th - v22 Release</strong><br>
<ul>
<li>Updated kernel to 4.19.83</li>
<li>This kernel includes a number of fixes to USB and other drivers -- if you were having trouble with USB before v22 is worth a try for you!</li>
<li>Fixed issue where lightdm service (used by xubuntu-desktop) would not load properly</li>
<li>Added bootcode.bin to /boot/firmware to allow older Pis to boot the image (3B+ confirmed to work so far, others need testing)</li>
<li>Added README documentation to /boot/firmware/overlays folder for documentation inside dtoverlay command</li>
<li>Updated firmware</li>
</ul>
<h2>Update History</h2>
<strong>November 8th - v21 Release</strong><br>
<ul>
<li>Preinstalled Desktop binary (ubuntu-desktop) now available in the releases section</li>
Expand Down

0 comments on commit 4057405

Please sign in to comment.