0
Ahmed1

research Sources for armbian kernels

Recommended Posts

Is it possible to download debian sources for the armbian kernels? If so where are these located?

Share this post


Link to post
Share on other sites

armbian kernel source is mainline kernel branch or 3rd party kernel fork plus armbian kernel patches.

 

Share this post


Link to post
Share on other sites
55 minutes ago, Ahmed1 said:

Is it possible to download debian sources for the armbian kernels? If so where are these located?

 

you can install them via armbian-config

Share this post


Link to post
Share on other sites

Thanks everyone. I know that I can get these from the build system from git https://github.com/armbian/build.git in patch/kernel but I cannot see how these patches are applied. I tried a few for the OPI0. Looks some are coming from sunx8 or sunxi-next....

 

When I apply all the patches in the sunxi-next I get something that looks about right but there are multiple patches that seem to do the same thing.

 

Is this documented in the source?

 

Share this post


Link to post
Share on other sites

Then installing the sources using armbian-config as recommended you get the correct sources with all applied patches for your current kernel.

The name is a bit confusing for beginners. However there are many boards, many SoCs and many kernel branches that have to be identified somehow.

 

Armbian usually differenciates between three kernel sources per SoC family: default, next and dev.

First come directly from the manufacturer of the boards. Sometimes they are good, sometimes they suck (way outdated, buggy, lacking features and so on...).

 

next is usually build around a LTS kernel source, for boards with Allwinner SoCs (sunxi and sunxi64 family) this is currently 4.19.x. Before building all patches from patch/kernel/sunxi-next are applied to this source and the source package is built. Most of these patches are things that are awaiting approvial to be introducted into mainline. Armbian is about half and a full year ahead in comparison to mainline.

 

dev is the current development branch and is usually built around the latest stable kernel release, currently 5.2, soon 5.3. Does not look good for 5.3 so far, things may have been broken:

dev also applies patches to the kernel sources which are located in patch/kernel/sunxi-dev

 

 

You can find more information about how "sunxi" comes together here: http://linux-sunxi.org/Allwinner_SoC_Family

 

Quote

but there are multiple patches that seem to do the same thing.

If you find any patches that are useless you are welcome to contribue to the build framework to make it better :)

Share this post


Link to post
Share on other sites
8 hours ago, Werner said:

Does not look good for 5.3 so far, things may have been broken:

If you look at the end of "Start looking" thread, the issue found earlier is now fixed !

Switching DEV to 5.3.y will occur soon ...

Share this post


Link to post
Share on other sites

Oops, did not notice ;)

Glad to hear

1 hour ago, martinayotte said:

If you look at the end of "Start looking" thread, the issue found earlier is now fixed !

Switching DEV to 5.3.y will occur soon ...

 

Share this post


Link to post
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...
0