ramstadt Posted January 9, 2019 Posted January 9, 2019 First, I'd like to say thank you for creating this. I have a Pine64 board and have built and loaded an Ubuntu Armbian build on the board. I'm now looking to develop custom software which will include a custom audio driver and custom audio software. I anticipate this means one or more custom kernel modules and custom user space software. I've read through all the documentation and will begin experimenting, but thought I'd check to see if somebody has created a cookbook style recipe for the following: 1. Kernel development: incrementally modifying the kernel, building and deploying on the test board. I can see deployment through the created .deb files, but how do I make changes to the sources and save those changes in a way that I can eventually create a standard patch that can be applied? Normally, I would want to have the kernel sources in a git repo and commit my changes as I make them. Does your directory structure allow such a process? 2. Kernel module development: I formerly have done module development outside of the kernel tree and built just my modules. I assume I can still do it this way and I don't need to modify my development process. 3. User space development: can I compile and use GDB on the target board or do I need to run cross compilations and gdbserver? Thanks, Bob
Tido Posted January 9, 2019 Posted January 9, 2019 I guess you already know about this: https://volumio.org/volumio-pine64-released/ ?
ramstadt Posted January 9, 2019 Author Posted January 9, 2019 Volumio has nothing to do with what I'm doing. Check out this: https://www.looperlative.com
Tido Posted January 9, 2019 Posted January 9, 2019 brrr, I would fire your designer unless you have chosen this color combination so no one can/will read your site. Android with Firefox // sent from mobile phone //
Igor Posted January 9, 2019 Posted January 9, 2019 12 hours ago, ramstadt said: but how do I make changes to the sources and save those changes in a way that I can eventually create a standard patch that can be applied? CREATE_PATCHES="yes"https://docs.armbian.com/Developer-Guide_Build-Options/ 12 hours ago, ramstadt said: Kernel module development: I formerly have done module development outside of the kernel tree and built just my modules. I assume I can still do it this way and I don't need to modify my development process. You need headers package for that. It should be available by default (in some cases - when adding fixes to kernel, we forgot to update headers as well) 12 hours ago, ramstadt said: User space development: can I compile and use GDB on the target board or do I need to run cross compilations and gdbserver? You can, but recommended is cross-compilation. Without tools it will be much harder.
Recommended Posts