diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-10-22 10:51:46 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-10-22 10:51:46 +0200 |
commit | 08a91f85f9d5a6608320e811f40804493646fe5c (patch) | |
tree | 5c1f45fd810baf739c722314e19ef3f9719a883a /content | |
parent | 9ecc3181f7be74eb4006ec2a8628924003df0684 (diff) | |
download | www-andreasbaumann-cc-08a91f85f9d5a6608320e811f40804493646fe5c.tar.gz www-andreasbaumann-cc-08a91f85f9d5a6608320e811f40804493646fe5c.tar.bz2 |
added addendum for A1211 for kernel 6.5.8
Diffstat (limited to 'content')
-rw-r--r-- | content/blog/archlinux-macbook-a1211.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/content/blog/archlinux-macbook-a1211.md b/content/blog/archlinux-macbook-a1211.md index 50fe369..3df776a 100644 --- a/content/blog/archlinux-macbook-a1211.md +++ b/content/blog/archlinux-macbook-a1211.md @@ -332,3 +332,31 @@ image and RAM disk. ## Addendum 18.6.2023 For kernel 6.3.8 updated version [here](/text/blog/archlinux-macbook-a1211/radeon_bios-6.3.8.c) . + +## Addendum 22.10.2023 + +Tried a kernel 6.5.8 (still working with the 6.3.8 version of the radeon_bios patch avaiable +[here](/text/blog/archlinux-macbook-a1211/radeon_bios-6.3.8.c)). + +Here is also another way to build the kernel and the patched radeon module: + +``` +mount /mnt/efi (before updating the kernel!) +pacman -Syyu +cp /boot/vmlinuz-linux /mnt/efi/vmlinuz-linux +cp /boot/initramfs-linux.img /mnt/efi/initramfs-linux.img +cp /boot/initramfs-linux-fallback.img /mnt/efi/initramfs-linux-fallback.img + +pkgctl repo clone linux +cd linux +makepkg -do +cp ~/radeon_bios-6.3.8.c src/linux-6.5.8/drivers/gpu/drm/radeon/radeon_bios.c +makepkg -s + +cp pkg/linux/usr/lib/modules/6.5.8-arch1-1/kernel/drivers/gpu/drm/radeon/radeon.ko.zst \ + /lib/modules/6.5.8-arch1-1/kernel/drivers/gpu/drm/radeon/radeon.ko.zst +depmod -av +mkinitcpio -P +cp /boot/initramfs-linux.img /mnt/efi/initramfs-linux.img +cp /boot/initramfs-linux-fallback.img /mnt/efi/initramfs-linux-fallback.img +``` |