Table of Contents

Kernel update instructions

The modified kernel is available from GitHub: Release lwb5p/20.5-0.1

The instructions below perform a download directly onto the target.

Preparation

Before installing the kernel make sure the target has installed the following software.

These components can be installed with NI MAX.

The Target must be connected to a network with internet access. The USB LAN connection is not bridged to the PCs internet connection. The Ethernet port must be used. If a target has no Ethernet port (e.g. ZSOM-Mini), the sbRIO-9651 module can temporarily be plugged onto a ZSOM-Control for this operation.

The following steps have to be completed to install the kernel on a target:

Open a SSH connection to the target.

See Knowledge base article " Accessing the Shell in NI Linux Real-Time Devices".

Hint: The default login is admin and the password is empty (no password).

Set date and time

You can use NI MAX or the shell you connected to in the previous step. The following steps may fail if the date is incorrect.

Shell command to set date and time:

date -s "2020-06-25 12:00"

Update package manager

opkg update
opkg upgrade

Download Package

One of the following based on wich driver you intend to use:

Laird LWB5+ module for Linux RT System Image 20.5

wget https://github.com/schmid-elektronik/ni-linux-packer/releases/download/lwb5p-0.1/ni-linux-kernel-lwb5p_0.1-r01.ipk

or

USB stick (ath9k_htc driver) for CompactRIO 19.5 or newer

get https://github.com/schmid-elektronik/ni-linux-packer/releases/download/ath%2F20.5-0.1/kernel-module-ath9k_htc-4.14.146-rt67-cg-8.5.0f0-xilinx-zynq-32_4.14+git40+27f65d4c99-r0.19.ipk

Install new kernel

One of the following based on wich driver you intend to use:

Laird LWB5+ module for Linux RT System Image 20.5

opkg install ./ni-linux-kernel-lwb5p_0.1-r01.ipk

or

USB stick (ath9k_htc driver) for CompactRIO 19.5 or newer

opkg install ./kernel-module-ath9k_htc-4.14.146-rt67-cg-8.5.0f0-xilinx-zynq-32_4.14+git40+27f65d4c99-r0.19.ipk

Do this for all *.ipk files that you have downloaded in the previous step.
This might take some minutes, as proprietary NI kernel modules are rebuilt for some installations.

Restart the target

reboot