You are not logged in.
Hi all.
I've just learned to build and compile linux kernel from the Traditional Compilation Arch Wiki.
I did that with 4.17 rc2.
I am running a Ryzen 2400G so it needs bleeding edge updates as the support is not fully ready.
There is a same package in the AUR.
But I think it would be awesome if I built the kernel by hand. So please help me.
I want to compile the kernel.
Since its just that particular branch (amd-drm-next), how to use it on my arch machine ?
Does it run alongside with 4.16.5 or as a separate kernel on boot ?
Please clarify these things. It would be nice with a detailed explanation.
Offline
Offline
I've just learned to build and compile linux kernel from the Traditional Compilation Arch Wiki.
Since its just that particular branch (amd-drm-next), how to use it on my arch machine ?
You compile the kernel and then you use it ![]()
Does it run alongside with 4.16.5 or as a separate kernel on boot ?
You choose which kernel to use at boot (only 1). Don't forget to configure bootloader - instructions are at the bottom of the Wiki page you are using.
Offline
levisraju wrote:I've just learned to build and compile linux kernel from the Traditional Compilation Arch Wiki.
Since its just that particular branch (amd-drm-next), how to use it on my arch machine ?You compile the kernel and then you use it
levisraju wrote:Does it run alongside with 4.16.5 or as a separate kernel on boot ?
You choose which kernel to use at boot (only 1). Don't forget to configure bootloader - instructions are at the bottom of the Wiki page you are using.
Does that kernel contains all required modules to boot ? I am asking this because it is just amd-drm-next.
That is, do I have to build entire next kernel or just amd-drm-next ?
Last edited by levisraju (2018-04-28 05:45:11)
Offline
Does that kernel contains all required modules to boot ? I am asking this because it is just amd-drm-next.
That is, do I have to build entire next kernel or just amd-drm-next ?
It will contain whatever modules you will configure it to contain.
STW how git branches work. amd-drm-next is not a separate piece of code - it's the Linux kernel with some modified code.
Offline
git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote add agd5f git://people.freedesktop.org/~agd5f/linux
git fetch agd5f
git checkout agd5f/drm-next-4.18-wipUsing mainline tree then adding agdf5 as another remote as a demonstration
Edit:
When you used 4.17-rc2 what support was missing? How did you determine it was lacking kernel support rather than userspace?
Last edited by loqs (2018-04-28 10:59:23)
Offline