Jump to content

Get Orange Pi source codes


Recommended Posts

Hi all. I'm new at this.

Please, tell me, how can I download the image Armbian for Orange Pi One along with the source codes?

It need me in order to change them a little for myself and compile them myself.


What I download from the link contains only packages and patches.

https://github.com/armbian/build

 

But I need the *.cpp and *.h files...

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

Hi,

 

Armbian does not provide the full source code by itself. It relies on external sources like mainline Linux or WiFi drivers.

When starting the compiling process these sources will be downloaded, for example from git.kernel.org or a mirror, patched and then compiled.

 

You can use the CREATE_PATCHES build option to  automatically create patches from your changes to the source code which then you can apply on the next build run.

https://docs.armbian.com/Developer-Guide_Build-Options/

https://zuckerbude.org/armbian-using-create-patches/

 

Link to comment
Share on other sites

Many thanks!

 

I just need to add support for the RS-485 protocol


so that when transmitting data (for example, via uart2), one of the gpio pins rises to a high level.

then, at the end of the transmission, it again return to a low level.

 

That's why I need to patch the kernel.

but I think it's already been done. maybe, tell me where it can be searched?

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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines