Jump to content

Recommended Posts

Posted

Hey , I need to get the official source code for the last stable version of armbian for orangepi (mainly the kernel):

https://www.armbian.com/orangepi/

meaning version 4.19.y by the given link, but as I look at the source code in github, all I can find are tags and commits for 4.14 and 4.20.

Is there a way to find the commit with the source code for the official release in the given link?

Posted

We pack source code at build time and provide it from repository (apt.armbian.com). Best way to download the source code is via armbian-config

Posted

Thanks for your help! but I downloaded the tool and it seems that the 4.19 source version is still not available, I attached a pic of the versions screen from armbian-config. Is this the screen for choosing the right kernel version to download ?

I haven't found any 4.19 version in there.

to.bmpFetching info...

Posted
  On 9/24/2019 at 12:48 PM, Barakav said:

but I downloaded the tool and it seems that the 4.19 source version is still not available

Expand  


You downloaded the tool to your desktop PC? :) No no. That will not work. Use tool on the hardware directly:

 

armbian-config -> software

Zaslonska slika 2019-09-24 15-58-26.png

Posted

Thanks but I'll have the hardware in a day or two, I only need the source code/the relevant commit in git right now so I will be able to edit and compile the source code for 4.19 myself.

 

I can take the code from the master branch in git but I am not sure which of the 4.19 commits belongs to the last stable supported version that compiles to the image you can download from the site. Is it this one?

 

I checked the debs files and it doesn't look like you can retrieve the source code from them...

Posted
  On 9/24/2019 at 3:52 PM, Barakav said:

the relevant commit in git right now

Expand  


Armbian is a build system in its core which, in this particular case, takes this source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/?h=v4.19.75 add those patches https://github.com/armbian/build/tree/master/patch/kernel/sunxi-next + https://github.com/armbian/build/blob/master/lib/compilation-prepare.sh and use this config https://github.com/armbian/build/blob/master/config/kernel/linux-sunxi-next.config

 

Before compilation starts, sources are packed here: https://github.com/armbian/build/blob/master/lib/compilation.sh#L296-L307

 

  On 9/24/2019 at 3:52 PM, Barakav said:

I checked the debs files and it doesn't look like you can retrieve the source code from them...

Expand  


Look:

  Reveal hidden contents

 

In case you need the last version, grab a kernel source from daily builds: https://beta.armbian.com/pool/main/l/ (which I see now it's missing, bug)

Posted

Thanks for your help, but I tried to compile using the code and the configuration from the deb files you mentioned (not through git and those patches) in the last post and I've got an error:

"drivers/net/wireless/xradio/sdio.c:17:10: fatal error: asm/mach-types.h: No such file or directory"

 

what am I missing?

 

 

Posted
  On 9/25/2019 at 9:44 AM, Barakav said:

what am I missing?

Expand  


We don't support this feature (building kernel on board - it can work but it can fail mainly due to compiler incompatibility. Why? Build system uses 8+ compilers to solve expensive procedures of adjusting dirty/obsolete code to match stock/latest distribution compiler. This is not as trivial and cheap as on mainstream x86 distribution. Its on you to find out. I gave you all I know from my head, but will not waste an afternoon to solve your problem. Can't afford and its insane.

 

If building with our build system fail - somebody will check and try to fix. We have very small resources ... Since it doesn't fail, bug you encounter, does not exists.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines