RBMTX-Lite OpenWrt SDK Exmaple: Różnice pomiędzy wersjami

Z Elproma Wiki Knowledge Base
Skocz do: nawigacja, szukaj
Linia 1: Linia 1:
In this example we are going to show you how to generate OpenWrt package base on the simple Modbus client and server application.


__TOC__
__TOC__
Linia 11: Linia 10:
</ul>
</ul>


==Instruction==
==Preparation==
#Create directory, where the SDK will be extrated e.g RBMTX_SDK.
#Open terminal in created folder and unpack SDK.
tar -xf ~/Downloads/rbmtx3-owrt-sdk-....Linux-x86_64.tar.xz
#Go to the SDK directory.
cd rbmtx3-owrt-sdk-22.10.14-rbmtx3_gcc-8.4.0_musl_eabi.Linux-x86_64/
#Update the feeds.
./scripts/feeds update -a
 
 
==Compiling a custom package==


# Download the OpenWRT SDK form: https://firmware.teleorigin.com/mtxlite//releases/22.10.14/targets/rbmtx3/generic/rbmtx3-owrt-sdk-22.10.14-rbmtx3_gcc-8.4.0_musl_eabi.Linux-x86_64.tar.xz
In this example we are going to show you how to generate OpenWrt package base on the simple Modbus client and server application.
# Unpack SDK.
tar -xf rbmtx3-owrt-sdk-....Linux-x86_64.tar.xz

Wersja z 12:45, 19 kwi 2023

Prerequisites

You will need:

  • A PC, laptop or virtual machine running Linux OS (preferably Ubuntu distro)
  • An SDK intended for your router, which can be downloaded here: Software Development Kit

Preparation

  1. Create directory, where the SDK will be extrated e.g RBMTX_SDK.
  2. Open terminal in created folder and unpack SDK.
tar -xf ~/Downloads/rbmtx3-owrt-sdk-....Linux-x86_64.tar.xz
  1. Go to the SDK directory.
cd rbmtx3-owrt-sdk-22.10.14-rbmtx3_gcc-8.4.0_musl_eabi.Linux-x86_64/
  1. Update the feeds.
./scripts/feeds update -a


Compiling a custom package

In this example we are going to show you how to generate OpenWrt package base on the simple Modbus client and server application.