You are not logged in.

#1 2018-04-28 05:13:38

levisraju
Member
Registered: 2018-01-09
Posts: 5

How To Compile and Use Latest amd-drm-next Kernel By Hand ?

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

#2 2018-04-28 05:18:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How To Compile and Use Latest amd-drm-next Kernel By Hand ?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-04-28 05:18:58

nesk
Member
Registered: 2011-03-31
Posts: 187

Re: How To Compile and Use Latest amd-drm-next Kernel By Hand ?

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 smile

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.

Offline

#4 2018-04-28 05:36:45

levisraju
Member
Registered: 2018-01-09
Posts: 5

Re: How To Compile and Use Latest amd-drm-next Kernel By Hand ?

nesk wrote:
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 smile

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

#5 2018-04-28 06:40:24

nesk
Member
Registered: 2011-03-31
Posts: 187

Re: How To Compile and Use Latest amd-drm-next Kernel By Hand ?

levisraju wrote:

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

#6 2018-04-28 08:23:42

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: How To Compile and Use Latest amd-drm-next Kernel By Hand ?

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-wip

Using 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

Board footer

Powered by FluxBB