Build kernel from source and install programs for the up board

AndreasAndreas New Member Posts: 10
i need help to build a kernel,firmware and modules from source.
I actually use 4.4.0-ubi3-amd64 kernel.

Where can i download the kernel source, the patches for the kernel and the config file to build the kernel and modules?
If i have build a new kernel, firmware and modules, what programs i also must install from sources.list?

deb ubilinux3-upboard main
deb-src ubilinux3-upboard main

deb wheezy non-free

At first i have used the debian from ubilinux, but now i use a self made debian jessie system.

I hope someone can help me.



  • Dan O'DonovanDan O'Donovan Administrator, Moderator, Emutex Posts: 241 admin
    edited February 2017
    Hi andyb
    Sorry for the late reply. Just came across this post now. In case its still useful (or for anyone else reading this post), ubilinux source packages can be downloaded directly from here: (look for the ones with the .tar.xz extension).

    Debian kernel source packages aren't the most friendly things to work with, but the various bits and pieces that you might need can be found in there. For example, if you download and extract, you'll find the UP-specific kernel config options we added in .../debian/config/amd64/none/config, and UP-specific patches in .../debian/patches/features/all/upboard/

    An easier way to see the source is to run the relevant Debian apt commands on an UP board to retrieve and assemble the source tree for you from these packages. I think this command might do the trick (its a while since I've used it so I'm not sure):
    apt-get source linux-image-$(uname -r)
Sign In or Register to comment.