Skip to content

Moxa-Linux/linux-4.4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Moxa Linux 4.4 Kernel for RISC Products

For more information of products, refer to Moxa Products List.

Product Table for Different Firmware Versions

UC-2100

Tag (Firmware Version) Source Branch Kernel Source State
UC-2100_V1.14 4.4.302-cip78-rt45/stretch-am335x/master linux-4.4 (This repository) Latest
UC-2100_V1.13 4.4.302-cip70-rt40/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-2100_V1.12 4.4.285-cip63-rt36/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-2100_V1.11 4.4.285-cip63-rt36/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-2100_V1.6 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-2100_V1.5 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-2100_V1.4 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-2100_V1.3 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-2100_V1.2 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated

UC-3100

Tag (Firmware Version) Source Branch Kernel Source State
UC-3100_V1.8 4.4.302-cip78-rt45/stretch-am335x/master linux-4.4 (This repository) Latest
UC-3100_V1.7 4.4.302-cip70-rt40/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-3100_V1.6 4.4.285-cip63-rt36/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-3100_V1.5 4.4.285-cip63-rt36/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-3100_V1.4 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-3100_V1.3 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-3100_V1.2 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-3100_V1.1 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-3100_V1.0 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated

UC-5100

Tag (Firmware Version) Source Branch Kernel Source State
UC-5100_V1.6 4.4.302-cip78-rt45/stretch-am335x/master linux-4.4 (This repository) Latest
UC-5100_V1.5 4.4.302-cip70-rt40/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-5100_V1.4 4.4.285-cip63-rt36/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-5100_V1.2 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-5100_V1.1 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-5100_V1.0 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated

UC-8100

Tag (Firmware Version) Source Branch Kernel Source State
UC-8100_V3.7 4.4.302-cip78-rt45/stretch-am335x/master linux-4.4 (This repository) Latest
UC-8100_V3.6 4.4.302-cip70-rt40/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-8100_V3.5 4.4.285-cip63-rt36/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-8100_V3.2 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-8100_V3.1 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-8100_V3.0 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated

UC-8100-ME

Tag (Firmware Version) Source Branch Kernel Source State
UC-8100-ME_V3.3 4.4.302-cip78-rt45/stretch-am335x/master linux-4.4 (This repository) Latest
UC-8100-ME_V3.2 4.4.302-cip70-rt40/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-8100-ME_V3.1 4.4.285-cip63-rt36/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-8100-ME_V3.0 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated

UC-8100A-ME

Tag (Firmware Version) Source Branch Kernel Source State
UC-8100A-ME_V1.8 4.4.302-cip78-rt45/stretch-am335x/master linux-4.4 (This repository) Latest
UC-8100A-ME_V1.7 4.4.302-cip70-rt40/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-8100A-ME_V1.6 4.4.285-cip63-rt36/stretch-am335x/master linux-4.4 (This repository) Outdated
UC-8100A-ME_V1.3 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-8100A-ME_V1.2 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-8100A-ME_V1.1 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated
UC-8100A-ME_V1.0 4.4.190-cip36-rt25/stretch/master am335x-linux-4.4 Outdated

UC-8200

Tag (Firmware Version) Source Branch Kernel Source State
UC-8200_V1.7 4.4.302-cip78-rt45/stretch-imx7d/master linux-4.4 (This repository) Latest
UC-8200_V1.6 4.4.302-cip70-rt40/stretch-imx7d/master linux-4.4 (This repository) Outdated
UC-8200_V1.5 4.4.285-cip63-rt36/stretch-imx7d/master linux-4.4 (This repository) Outdated
UC-8200_V1.4 4.4.285-cip63-rt36/stretch-imx7d/master linux-4.4 (This repository) Outdated
UC-8200_V1.2 4.4.176-cip31-rt23/stretch/master imx7-linux-4.4 Outdated
UC-8200_V1.1 4.4.176-cip31-rt23/stretch/master imx7-linux-4.4 Outdated
UC-8200_V1.0 4.4.176-cip31-rt23/stretch/master imx7-linux-4.4 Outdated

UC-8410A

Tag (Firmware Version) Source Branch Kernel Source State
UC-8410A_V4.3.2 4.4.302-cip78-rt45/stretch-ls102xa/master linux-4.4 (This repository) Latest
UC-8410A_V4.2.2 4.4.302-cip70-rt40/stretch-ls102xa/master linux-4.4 (This repository) Outdated
UC-8410A_V4.1.2 4.4.285-cip63-rt36/stretch-ls102xa/master linux-4.4 (This repository) Outdated
UC-8410A_V3.2 4.4.201-cip39-rt26/jessie/master ls1021a-linux-4.4 Outdated

UC-8540

Tag (Firmware Version) Source Branch Kernel Source State
UC-8540_V2.3 4.4.302-cip78-rt45/stretch-ls102xa/master linux-4.4 (This repository) Latest
UC-8540_V2.2 4.4.302-cip70-rt40/stretch-ls102xa/master linux-4.4 (This repository) Outdated
UC-8540_V2.1 4.4.285-cip63-rt36/stretch-ls102xa/master linux-4.4 (This repository) Outdated

UC-8580

Tag (Firmware Version) Source Branch Kernel Source State
UC-8580_V2.3 4.4.302-cip78-rt45/stretch-ls102xa/master linux-4.4 (This repository) Latest
UC-8580_V2.2 4.4.302-cip70-rt40/stretch-ls102xa/master linux-4.4 (This repository) Outdated
UC-8580_V2.1 4.4.285-cip63-rt36/stretch-ls102xa/master linux-4.4 (This repository) Outdated

How to build Linux 4.4 Kernel Source

The following steps demonstrate the process for building kernel package for Moxa Product.

Prerequisites

Install qemu related packages for the cross-build process:

apt install qemu-user-static

Download Source

Get the kernel sources directly by git clone:

git clone https://github.com/Moxa-Linux/linux-4.4.git

Switch to the Target Product

Please refer Product Table for Different Firmware Versions to get the branch of target product.

In this case, we take UC-3100_V1.7 as an example.

cd linux-4.4/
git checkout UC-3100_V1.7

Build Kernel Package

There are two methods to build kernel package in isolated environment:

[Method One] Build using docker-compose (πŸ’– recommended)

Use docker-compose command.

cd linux-4.4
docker-compose up

πŸ’‘ After the building process is completed, .deb files is shown in linux-4.4/artifact/ directory.

[Method Two] Build Manually

moxa-dockerfiles is provided for building environment. Follow steps below to set up docker environment and get the kernel package.

  1. Build the docker image from Dockerfile

    docker build -t moxa-package-builder:1.0.0 .
  2. Create docker container

    By docker volumes, current directory is mapped to /linux-4.4 in docker container.

    docker run -d -it -v ${PWD}:/linux-4.4 moxa-package-builder:1.0.0 bash
    ---
    d103e6df5f719f9430056f9c23cf4e3e518d4a4f8b5b65e55889b90c258886c6

    After executing the command, Container ID (d103e6df5f719f9430056f9c23cf4e3e518d4a4f8b5b65e55889b90c258886c6) is shown on terminal.

  3. Build kernel package

    Execute commands to start and attach to docker container. Then, pack the kernel into debian packages in docker container.

    docker start -ia <Container ID>
    cd /linux-4.4
    apt build-dep -aarmhf .
    dpkg-buildpackage -us -uc -b -aarmhf
    mkdir -p /linux-4.4/artifact
    mv /*.deb /linux-4.4/artifact/.

πŸ’‘ After the building process is completed, .deb files is shown in linux-4.4/artifact/ directory.

Upgrade kernel

You can upgrade kernel through the kernel package. Follow the steps to upgrade kernel.

  • Upload the kernel package (by scp)

    scp *.deb moxa@192.168.3.127:/tmp
  • Install the kernel packages

    cd /tmp
    dpkg -i *.deb
    sync

πŸ’‘ Remember to reboot the device after install the kernel package!