Jump to content

How to build your own kernel?


Clash

Recommended Posts

Hello,

I want to extend the current kernel (Tinkerboard with rockchip-kernel-4.4.120 on Debian-Armbian) to include IR (GPIO) and DVB modules. What do I have to consider or is this possible with the usual run-through? (copy .config from current system, make menuconfig, make, sudo make install, sudo make modules_install)

Is there possibly already a tutorial that I have not seen?


Clash

Link to comment
Share on other sites

5 hours ago, Clash said:

Hello,

I want to extend the current kernel (Tinkerboard with rockchip-kernel-4.4.120 on Debian-Armbian) to include IR (GPIO) and DVB modules. What do I have to consider or is this possible with the usual run-through? (copy .config from current system, make menuconfig, make, sudo make install, sudo make modules_install)

Is there possibly already a tutorial that I have not seen?


Clash

 

 

Hi Clash!

 

i have been building my kernel with great success.

 

Take a look at https://gist.github.com/rfrht/5f0fa113f12fbacf832e57ff4967785a

 

Hope that helps!!!

 

don't hesitate to get in touch 

Link to comment
Share on other sites

14 hours ago, TonyMac32 said:

Docs.armbian.com

 

Here I can't find a description to rebuild the kernel on Debian-Stretch on the Tinkerboard. Building the system or kernel on an X86_64 is not an option.

Link to comment
Share on other sites

9 hours ago, Rfreire said:

i have been building my kernel with great success.

Take a look at https://gist.github.com/rfrht/5f0fa113f12fbacf832e57ff4967785a

Hope that helps!!!

don't hesitate to get in touch 

 

Hi Rfreire,

 

Great, thank you very much.

I will try to build a kernel under Debian-Stretch on the Tinkerboard.
If you have any questions, I'll get back to you, this thread.

Link to comment
Share on other sites

@Clash

 

It is important what Tony stated though

 

read the documents.

 

the recommended build environment is done in a specific Ubuntu version, along correct gcc versions etc

 

i strongly recommend you to stick to that. While theoretically it might be possible to run a build in your TinkerBoard tool chain,  there might have compilation errors etc.

 

i have chose to run the Ubuntu image in a docker container in order to take advantage of native cpu speed and not tainting my physical environment. Works great, really. It was my first docker experience and worked real good.

Link to comment
Share on other sites

5 hours ago, Clash said:

rebuild the kernel on Debian-Stretch on the Tinkerboard.

Ah, I misread.  To be honest I think it was actually faster to start from scratch and install the build system on a PC and build than to recompile on the ARM device itself...

Link to comment
Share on other sites

Worth to add here that we host kernel sources as well. Those are present in a stable repository, while beta we don't since it takes too much space.
 

Spoiler

linux-source-3.10.106-default-odroidxu4 - This package provides the source code for the Linux kernel 3.10.106
linux-source-3.10.107-default-odroidc1 - This package provides the source code for the Linux kernel 3.10.107
linux-source-3.10.107-default-pine64 - This package provides the source code for the Linux kernel 3.10.107
linux-source-3.14.30-default-meson64 - This package provides the source code for the Linux kernel 3.14.30
linux-source-3.14.79-default-cubox - This package provides the source code for the Linux kernel 3.14.79
linux-source-3.14.79-default-odroidc2 - This package provides the source code for the Linux kernel 3.14.79
linux-source-3.14.79-default-udoo - This package provides the source code for the Linux kernel 3.14.79
linux-source-3.14.79-default-udoo-neo - This package provides the source code for the Linux kernel 3.14.79
linux-source-3.14.79-dev-cubox - This package provides the source code for the Linux kernel 3.14.79
linux-source-3.4.113-default-sun4i - This package provides the source code for the Linux kernel 3.4.113
linux-source-3.4.113-default-sun7i - This package provides the source code for the Linux kernel 3.4.113
linux-source-3.4.113-default-sun8i - This package provides the source code for the Linux kernel 3.4.113
linux-source-4.11.12-dev-sun8i - This package provides the source code for the Linux kernel 4.11.12
linux-source-4.13.15-dev-mvebu - This package provides the source code for the Linux kernel 4.13.15
linux-source-4.13.15-next-odroidc2 - This package provides the source code for the Linux kernel 4.13.15
linux-source-4.13.16-next-cubox - This package provides the source code for the Linux kernel 4.13.16
linux-source-4.13.16-next-mvebu - This package provides the source code for the Linux kernel 4.13.16
linux-source-4.13.16-next-rockchip - This package provides the source code for the Linux kernel 4.13.16
linux-source-4.13.16-next-sunxi - This package provides the source code for the Linux kernel 4.13.16
linux-source-4.13.16-next-sunxi64 - This package provides the source code for the Linux kernel 4.13.16
linux-source-4.13.2-dev-sunxi64 - This package provides the source code for the Linux kernel 4.13.2
linux-source-4.14.0-dev-meson64 - This package provides the source code for the Linux kernel 4.14.0
linux-source-4.14.0-dev-mvebu64 - This package provides the source code for the Linux kernel 4.14.0
linux-source-4.14.0-dev-odroidc2 - This package provides the source code for the Linux kernel 4.14.0
linux-source-4.14.0-dev-odroidxu4 - This package provides the source code for the Linux kernel 4.14.0
linux-source-4.14.0-dev-rockchip - This package provides the source code for the Linux kernel 4.14.0
linux-source-4.14.0-dev-sunxi - This package provides the source code for the Linux kernel 4.14.0
linux-source-4.14.0-dev-udoo - This package provides the source code for the Linux kernel 4.14.0
linux-source-4.14.0-rc2-dev-rk3328 - This package provides the source code for the Linux kernel 4.14.0-rc2
linux-source-4.14.0-rc7-dev-sunxi64 - This package provides the source code for the Linux kernel 4.14.0-rc7
linux-source-4.14.14-next-cubox - This package provides the source code for the Linux kernel 4.14.14
linux-source-4.14.14-next-meson64 - This package provides the source code for the Linux kernel 4.14.14
linux-source-4.14.14-next-mvebu - This package provides the source code for the Linux kernel 4.14.14
linux-source-4.14.14-next-mvebu64 - This package provides the source code for the Linux kernel 4.14.14
linux-source-4.14.14-next-odroidc2 - This package provides the source code for the Linux kernel 4.14.14
linux-source-4.14.14-next-rockchip - This package provides the source code for the Linux kernel 4.14.14
linux-source-4.14.15-dev-mvebu - This package provides the source code for the Linux kernel 4.14.15
linux-source-4.14.15-dev-udoo - This package provides the source code for the Linux kernel 4.14.15
linux-source-4.14.15-next-odroidxu4 - This package provides the source code for the Linux kernel 4.14.15
linux-source-4.14.15-next-sunxi - This package provides the source code for the Linux kernel 4.14.15
linux-source-4.14.15-next-sunxi64 - This package provides the source code for the Linux kernel 4.14.15
linux-source-4.14.17-next-mvebu - This package provides the source code for the Linux kernel 4.14.17
linux-source-4.14.18-next-mvebu - This package provides the source code for the Linux kernel 4.14.18
linux-source-4.14.18-next-sunxi - This package provides the source code for the Linux kernel 4.14.18
linux-source-4.14.18-next-sunxi64 - This package provides the source code for the Linux kernel 4.14.18
linux-source-4.14.2-next-meson64 - This package provides the source code for the Linux kernel 4.14.2
linux-source-4.14.2-next-mvebu64 - This package provides the source code for the Linux kernel 4.14.2
linux-source-4.15.0-rc9-dev-meson64 - This package provides the source code for the Linux kernel 4.15.0-rc9
linux-source-4.15.0-rc9-dev-mvebu64 - This package provides the source code for the Linux kernel 4.15.0-rc9
linux-source-4.15.0-rc9-dev-odroidc2 - This package provides the source code for the Linux kernel 4.15.0-rc9
linux-source-4.15.0-rc9-dev-rockchip - This package provides the source code for the Linux kernel 4.15.0-rc9
linux-source-4.15.0-rc9-dev-sunxi - This package provides the source code for the Linux kernel 4.15.0-rc9
linux-source-4.4.102-default-mvebu - This package provides the source code for the Linux kernel 4.4.102
linux-source-4.4.102-default-mvebu64 - This package provides the source code for the Linux kernel 4.4.102
linux-source-4.4.102-default-rockchip - This package provides the source code for the Linux kernel 4.4.102
linux-source-4.4.102-next-udoo - This package provides the source code for the Linux kernel 4.4.102
linux-source-4.4.112-default-mvebu - This package provides the source code for the Linux kernel 4.4.112
linux-source-4.4.112-default-mvebu64 - This package provides the source code for the Linux kernel 4.4.112
linux-source-4.4.112-default-rockchip - This package provides the source code for the Linux kernel 4.4.112
linux-source-4.4.112-next-udoo - This package provides the source code for the Linux kernel 4.4.112
linux-source-4.4.115-default-mvebu - This package provides the source code for the Linux kernel 4.4.115
linux-source-4.4.120-default-rockchip - This package provides the source code for the Linux kernel 4.4.120
linux-source-4.4.77-default-rk3328 - This package provides the source code for the Linux kernel 4.4.77
linux-source-4.9.61-next-odroidxu4 - This package provides the source code for the Linux kernel 4.9.61
linux-source-4.9.71-dev-odroidxu4 - This package provides the source code for the Linux kernel 4.9.71

 

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines