Jump to content

Build kernel from source


Glock24
 Share

Recommended Posts

Hello,

 

I'll like to build my own kernel, mostly to learn more about Linux on ARM. The device I have is RK3399 based (Nanopi M4v2).

 

Can I use the mainline kernel or are some parches needed? Where can I get the correct DTS? Is there any guide on how to do this?

 

I'm not unfamiliar on how to build a custom kernel, but that was on x86/x64. ARM is a very different animal.

Link to comment
Share on other sites

Donate and support the project!

Not sure if how far mainline is but some features will certainly be missing in comparison to Armbian.

 

Basically the Armbian build framework does the job for you. There you can also find the larch set armbian a puts on top of mainline and such things.

Link to comment
Share on other sites

On 8/4/2022 at 9:00 PM, Glock24 said:

ARM is a very different animal.

 

You've got that right!  :)

 

On 8/4/2022 at 9:00 PM, Glock24 said:

learn more about Linux on ARM

 

Werner mentioned, but I will reiterate:  You could learn a lot by studying/using our build framework. hanging out in IRC, etc.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...