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.

Changing Tick Rate for NanoPi Neo

Featured Replies

Hi all,

 

First of all, I must congratulate the Armbian team for such an amazing job! It is really terrific! I'm using Armbian on a NanoPi Neo where I'm running an application that relies on having low latency UART responses. My application is having a latency of around 10ms and I believe that it might be related to the tick rate defined in the Armbian kernel (http://www.makelinux.net/books/lkd2/ch10lev1sec2).

 

I would like to increase the tick rate, however, I got a little lost when I tried to browse the Armbian repository. I couldn't find the actual Linux Kernel source code. In order to increase the tick rate I need to edit the file /include/asm-"architecture"/param.h and change the #define HZ to whatever I want. Then I just need to recompile the kernel and run.

 

So my questions are:

 

1) Where can I find this in the Armbian repository

2) Is there an easy way to recompile the kernel after the modification is made? I looked at the docs for Armbian and it seems that the process is pretty much automatized, which makes me wonder if I can go through the same process even after making modifications to the kernel.

3) After having the binary kernel compiled, how do I "deploy" it in my NanoPi Neo SD Card?

 

Thanks!!!

Thank you for compliments! B)

The best way to apply changes to kernel is to download our build tools (https://github.com/igorpecovnik/lib) which will download proper compilers, default patches, sources, ... and run recompilation with this parameter enabled:

CREATE_PATCHES="yes"

This will prompt you to make changes to u-boot / kernel and will resulted in patch creation toward the (patched with our patches) kernel source. You can make a deb packaged kernel or an whole SD card image. Kernel packages are installed with

dpkg -i package.deb

Beware that apt-get upgrade will overwrite your custom kernel when we issue an update, so either PIN those packages or remove apt.armbian.com from sources list, save your patch to safe space and recompile if we come up with lot's of fixes to kernel that you can apply your patch to new reality.

 

Documentation and resources:

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

https://forum.armbian.com/index.php?/forum/4-development/

@thiagoralves

 

Did this work for you?  I am going through the same procedure now, and I am curious if I should continue or just stop now and try to find a different solution.

14 hours ago, jpnorair said:

@thiagoralves

 

Did this work for you?  I am going through the same procedure now, and I am curious if I should continue or just stop now and try to find a different solution.


Our build system works. We use it daily ... you need to be more specifics on what do you want to know, where is your problem?

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.