Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

httphttps://gitlabgit.keith-koepseco.com/seco-ne/imxkernel/linux-imx-kuk

Linux 5.10.9 based on Android 11.0.0_2.0.0

ssh://

git@gitlab

git@git.

keith-koep

seco.com:

30001

seco-ne/

imx

kernel/linux-imx-kuk.git

http

https://

gitlab

git.

keith-koep

seco.com/

imx

seco-ne/kernel/linux-imx-kuk.git

kuk_lf-5.10.y_android-compilable

Previous Versions

Branch/Tag

Comment

Kernel Binaries

Date

Changelog

Download

28.02.2022

image.zip linux-5.10.9-modules.tar.gz

How to Build Linux Kernel for Trizeps VIII & Trizeps VIII Mini

This is only a quick-reference on how to build a Linux Kernel including Keith & Koep Seco specific changes.
For details please view the Linux and NXP i.MX8M documentation.

Get the source code of linux-imx from git repository:

Code Block
$ mkdir linux-imx
$ git clone httphttps://gitlabgit.keith-koepseco.com/seco-ne/imxkernel/linux-imx-kuk.git -b kuk_lf-5.10.y_android-compilable

Setup Cross-Build environment (View Software-Development-Kit on how to install.):

...

Note: When the kernel boots it loads kernel-modules from the root-filesystem at '/lib/modules/<kernel-build-number>' (i.e. /lib/modules/5.10.9).
Note: if kernel stops compiling missing bio.h : –> apt install libssl-dev

Update Kernel

Updating the kernel involves to copy 'Image' and the kernel-module directory to the device.
If the kernel-build-version did not change, copy of the kernel-module directory can be omitted.

Update using USB and bootloader

Enter the bootloader command console and run:

...

Code Block
cp -r ~/linux-imx-modules/* /media/imx6/fd195515-0a44-4a7e-9387-bec6087f37ac

Hints on using the Kernel

Device Tree

The Linux-kernel will use a Device-Tree-Binary file (.dtb) to determine how the Trizeps module is used in a system (i.e. which drivers to load). The device-tree files can be found at:

...

When building the Linux-kernel .dts source-files are converted to .dtb binary files.

DeviceTree (dtb)

Module

Description

kuk-trizeps8mini-ipant7.zip

Trizeps VIII Mini

Trizeps VIII Mini in i-PAN T7 V1 panel

kuk-trizeps8mini-ipant7_v2.zip

Trizeps VIII Mini

Trizeps VIII Mini in i-PAN T7 V2 panel

kuk-trizeps8mini-pconxs-edt7cap.zip

Trizeps VIII Mini

Trizeps VIII Mini in pConXS V1 with capacitive touch EDT 7inch display

kuk-trizeps8mini-pconxs_v2-edt7cap.zip

Trizeps VIII Mini

Trizeps VIII Mini in pConXS V2 with capacitive touch EDT 7inch display

kuk-trizeps8mini-pconxs_v3-atm0700.zip

Trizeps VIII Mini

Trizeps VIII Mini in pConXS V3 with ATM0700 7inch display

kuk-trizeps8mini-pconxs_v3-am19201080d1tzqw.zip

Trizeps VIII Mini

Trizeps VIII Mini in pConXS V3 with AM19201080 10inch display

kuk-sbcsom-atm0700l61ct.zip

SBCSOM

SBCSOM with ATM0700 7inch display

kuk-sbcsom-hdmi.zip

SBCSOM

SBCSOM with HDMI display

When you open the u-boot command prompt and output the environment, you can determine which device-tree is used:

...

'env save' will store this setting for subsequent boots.

Root-Filesystem

To have a full running Linux-system you will need:

...

There are different approaches on how to create a root-filesystem.
Basicly its a linux-distribution like Debian, where the system is put together by packages or like Yocto, where recipes define what needs to be built and put inside the file-system: