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.

Generate Kernel Module

Featured Replies

I try to generate a module but I can't find the .ko in the deb package generated.

It would be great to describe how to make a patch too.

 

cd ~/crosscompile/

apt-get -y install git git clone
https://github.com/igorpecovnik/lib --depth 1
cp lib/compile.sh .
cp lib/patch/kernel/sun7i-default/user.patch userpatches/kernel/

 
Set required modules to "m" in the following config file :

cd ~/crosscompile/output/linux-sun8i-default.config
 
./compile.sh

In this script kernel configure = "no" (in order to not erase config file)

 

cd ~/crosscompile/output/debs/

ar vx linux-image-sun8i_5.27_armhf.deb

tar -tzvf data.tar.xz

ls -al ~/crosscompile/output/debs/lib/modules/3.4.113-sun8i/kernel/drivers/media/rc

 

I have kernel modules but not all modules expected in this folder...

Is a command line forgotten? Which one ?

I have some problems compiling kernel :

 

[ o.k. ] This script will try to update
Already up-to-date.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
/root/crosscompile/lib/general.sh: line 499: syntax error near unexpected token `('
/root/crosscompile/lib/general.sh: line 499: `        grep -q i386 <(dpkg --print-foreign-architectures) || dpkg --add-architecture i386'

 

Yesterday it was compiling well.....

I opened an issue, I hope I did a right thing :

https://github.com/igorpecovnik/lib/issues

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.