Vladimir1978 Posted March 20, 2022 Share Posted March 20, 2022 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... 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted March 20, 2022 Share Posted March 20, 2022 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/ 0 Quote Link to comment Share on other sites More sharing options...
Vladimir1978 Posted March 22, 2022 Author Share Posted March 22, 2022 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? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.