Jump to content

Kernel source


vlad_cool

Recommended Posts

Hello, I am using armbian on banana pi m2 zero
 

uname -a

Linux bananapim2zero 5.16.11-sunxi #22.02.1 SMP Sun Feb 27 09:17:03 UTC 2022 armv7l armv7l armv7l GNU/Linux

 

I want to rebuild kernel, but i cannot find kernel source. Where I can find it?

This code from https://wvthoog.nl/nanopi-ov5640-camera/#OV5640_sensor doesn`t work

 

sudo apt update
sudo apt upgrade

sudo apt install build-essential
uname -r # check your current kernel version
sudo apt install linux-source-<your current kernel version>
 
In my case: 
sudo apt install linux-source-5.8.6-current-sunxi

cd /usr/src
sudo tar xf linux-source-5.8.6-sunxi.tar.xz
Link to comment
Share on other sites

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines