I also don’ t understand if I should apply the 3 patches linked at the end of the post or if the last one not (it is a raw file, not a .patch file) because it says “ making sure you are not a bot”
you can run on chromebook or another more powerful machine also running Debian 13, I followed these steps:
cd ~
mkdir -p src
cd src
wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.17.7.tar.gz
tar zxvf linux-6.17.7.tar.gz
cd linux-6.17.7
wget -O amd-gpu.patch <replace_with_the_patch_url_at_the_top>
patch -p1 < amd-gpu.patch
Expected output: patching file drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
I used a .config file from my Acer Chromebook Spin 311 (R721T) running Debian 13.
you can use these two in Debain13
cp /boot/config-6.12.43+deb13-amd64 ~/src/linux-6.17.7/.config
or
cp /boot/config-6.12.48+deb13-amd64 ~/src/linux-6.17.7/.config
make olddefconfig
I also generate a minimal kernel configuration. (make sure you connect every devices on before running it)
make localmodconfig
Make sure you placed the .config file into ~/src/linux-6.17.7 and compiled the kernel.
make -j$(nproc) bindeb-pkg KDEB_PKGVERSION=1 LOCALVERSION=-chromebook KDEB_DEBUG=0