Linux 4.14, Myon I

Gitlab Access:

How to Build Linux Kernel for Myon I

This is only a quick reference on how to build a Linux Kernel including Seco-specific changes.
For details please view the Linux and Dragonboard 410c documentation from Linaro. Linaro Build instructions and 96boards Build & Update Linux kernel for Debian

1. Setup Machine:

You will need a debian based Linux Environment (we prefer Ubuntu):

$ mkdir toolchain $ wget releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/gcc-*-x86_64_aarch64-linux-gnu.tar.xz $ tar -xf gcc-*-x86_64_aarch64-linux-gnu.tar.xz -C ./toolchain --strip-components=1
sudo apt-get install git build-essential kernel-package fakeroot libncurses5-dev libssl-dev ccache abootimg android-tools-mkbootimg

Get the source Code from gitlab:

git clone http://gitlab.keith-koep.com/philipp/Myon-Linux-Kernel/tree/myon_4.14.0

2. Build Kernel

Set compilation environment variables

Generate Linux kernel config file

Make kernel

Install modules

Building a boot image

3. Booting/Install a custom boot Image

To boot or install the new boot Image, you have to switch to fastboot mode and connect the usb cable

Install a rootfs Image Get the latest Image from linaro

Install the kernel use the follwing commands to update the modules.