Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Software development guide

Featured Replies

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

 

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 //

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.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.