Build kernel from source and install programs for the up board

Andreas
Andreas New Member Posts: 10
Hello,
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?

Server:
ubilinux:
deb http://ubilinux.org/ubilinux ubilinux3-upboard main
deb-src http://ubilinux.org/ubilinux ubilinux3-upboard main

ubiworx:
deb http://ubiworx.com/debian 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.

Thanks

Comments

  • Dan O'Donovan
    Dan 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:

    http://ubilinux.com/ubilinux/pool/main/l/linux-ubilinux/ (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 http://ubilinux.com/ubilinux/pool/main/l/linux-ubilinux/linux-ubilinux_4.4.35-1.debian.tar.xz, 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)
    
Privacy Policy