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.

Recommended way to maintain board-specific kernel driver patches?

Featured Replies

Hello Armbian community,

 

I am working on adding support for a new RK3568 board to Armbian.

 

Besides the board support, there are some hardware-specific kernel driver patches, for example:

 

- RS485 driver modifications
- TP2815 related driver changes
- GT9xx touchscreen driver changes
- Other hardware-specific drivers

 

These drivers are only required for this hardware platform.

 

What is the recommended way to maintain these driver patches in Armbian?

 

Should they be submitted together with the board support?

 

Or should they be maintained separately and applied through:

userpatches/kernel/rk35xx-vendor-6.1/

 

before building Armbian?

 

How do other board maintainers usually handle hardware-specific kernel drivers?

 

Thanks.

Edited by Boardcon-Liuy

Hi.

 

If those changes are compatible with other hw (for example you are adding a new driver) these changes can be sent to https://github.com/armbian/linux-rockchip

 

If your changes are likely to break other boards, then the better way is to create your own family, hence having independent kernel packages with different name.

Example: https://github.com/armbian/build/blob/main/config/boards/recomputer-rk3588-devkit.conf

Which refers to https://github.com/armbian/build/blob/main/config/sources/families/seeed-rk3588.conf

This will also allow custom kernel config: https://github.com/armbian/build/blob/main/config/kernel/linux-seeed-rk3588-vendor.config

 

It is not ideal to have a individual family for a single board but sometimes the hw is very customized, breaking other implementations, making this necessary.

 

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

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.