From 2918cdc783545229f1dde97aefe7d5f6a306e3a6 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 18 Jun 2023 10:24:58 +0200 Subject: updated radeon module for Macbook A1221 to 6.3.8 --- content/blog/archlinux-macbook-a1211.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'content') diff --git a/content/blog/archlinux-macbook-a1211.md b/content/blog/archlinux-macbook-a1211.md index 57ad990..50fe369 100644 --- a/content/blog/archlinux-macbook-a1211.md +++ b/content/blog/archlinux-macbook-a1211.md @@ -301,12 +301,16 @@ Also a small walkthrough on how to update the module (in a most likely not too o ``` wget https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.7.6.tar.xz +tar xf linux-5.7.6.tar.xz +cd linux-5.7.6 make mrproper +# use the the configuration of the new kernel! zcat /proc/config.gz > .config sed -i 's/.*CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION="-arch1-1"/g' .config sed -i 's/.*CONFIG_LOCALVERSION_AUTO.*/# CONFIG_LOCALVERSION_AUTO is not set/g' .config make oldconfig make scripts prepare modules_prepare +# copy radeon_bios.c to drivers/gpu/drm/radeon make -C . M=drivers/gpu/drm/radeon rm -f /lib/modules/5.7.6-arch1-1/kernel/drivers/gpu/drm/radeon/radeon.ko.xz xz -c drivers/gpu/drm/radeon/radeon.ko \ @@ -324,3 +328,7 @@ https://yoursunny.com/t/2018/one-kernel-module/ Where /mnt/efi is the VFAT rEFIt EFI partition which contains grub and the kernel 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) . -- cgit v1.2.3-54-g00ecf