Clash Posted April 12, 2018 Posted April 12, 2018 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
Rfreire Posted April 12, 2018 Posted April 12, 2018 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
Clash Posted April 13, 2018 Author Posted April 13, 2018 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.
Clash Posted April 13, 2018 Author Posted April 13, 2018 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.
Rfreire Posted April 13, 2018 Posted April 13, 2018 @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.
TonyMac32 Posted April 13, 2018 Posted April 13, 2018 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...
umiddelb Posted April 13, 2018 Posted April 13, 2018 https://github.com/umiddelb/armhf/wiki/How-To-compile-a-custom-Linux-kernel-for-your-ARM-device
Igor Posted April 14, 2018 Posted April 14, 2018 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
Recommended Posts