rutos-ipq40xx-rutx-sdk's Introduction
# Firmware Building And Installation ## Prerequisites Make sure you're running a supported Linux distribution. We recommend using Ubuntu 20.04 LTS (http://www.ubuntu.com/download/desktop). You might succeed with other distributions. It is recommended to use Docker environment to build RUTOS firmware which is accessible from "RUTX_R_GPL_00.07.06.10/scripts/dockerbuild". ## Building with Docker environment 1. Install Docker (https://docs.docker.com/engine/install/ubuntu). 2. Extract the GPL archive to an empty folder $ mkdir RUTX_R_GPL_00.07.06.10 $ tar -xzf ~/Downloads/RUTX_R_GPL_00.07.06.10.tar.gz -C RUTX_R_GPL_00.07.06.10 3. Update feeds $ cd RUTX_R_GPL_00.07.06.10 $ ./scripts/dockerbuild ./scripts/feeds update -a 4. Build the image $ ./scripts/dockerbuild make 5. Sign the image with local keys (optional): This step is only necessary if the firmware needs to be flashed from the bootloader. $ ./scripts/dockerbuild make sign ## Building with Host OS 1. Install NodeJS v12 (or newer) and NPM v6.9 (or newer). Please follow NodeJS and NPM installation guides for your distribution. 2. Install required packages $ sudo apt update $ sudo apt install binutils binutils-gold bison build-essential bzip2 \ ca-certificates curl default-jdk device-tree-compiler devscripts \ ecj file flex fuse g++ gawk gcc gcc-multilib gengetopt gettext \ git gnupg groff help2man java-wrappers java-propose-classpath jq \ libc6-dev libffi-dev libncurses5-dev libpcre3-dev libsqlite3-dev \ libssl-dev libxml-parser-perl lz4 make ocaml ocaml-findlib \ ocaml-nox patch pkg-config python3 python3-dev python3-distutils \ python3-yaml rsync ruby sharutils subversion swig u-boot-tools \ unzip uuid-dev vim-common wget zip zlib1g-dev 3. Extract the GPL archive to an empty folder $ mkdir RUTX_R_GPL_00.07.06.10 $ tar -xzf ~/Downloads/RUTX_R_GPL_00.07.06.10.tar.gz -C RUTX_R_GPL_00.07.06.10 4. Update feeds $ cd RUTX_R_GPL_00.07.06.10 $ ./scripts/feeds update -a 5. Build the image $ make 6. Sign the image with local keys (optional): This step is only necessary if the firmware needs to be flashed from the bootloader. $ make sign ## Installation After successful build you will get the firmware file in "RUTX_R_GPL_00.07.06.10/bin/targets/ipq40xx/generic/tltFws". Update the new firmware via the web interface on your device. # Firmware Rebranding ## WebUI rebranding All changes should be done in "RUTX_R_GPL_00.07.06.10/package/feeds/vuci/vuci-ui-core/bin/dist" folder. WebUI Colors can be changed in "brand/brand.css" file. Company information can be changed in "brand/brand.json" file. Logo and Icon changes: - Main WebUI logo is "tlt_networks_logo.svg". - Login page logo is "tlt-icons/tlt_networks_logo_white.svg". - Favicon is "favicon.ico" and "assets/favicon.ico". - All other icons can be found in "tlt-icons" folder. ## SSH Banner 1. Install figlet tool: $ sudo apt install figlet 2. Use figlet tool to generate needed text: $ figlet YOUR_TEXT > "RUTX_R_GPL_00.07.06.10/package/base-files/files/etc/banner.logo" ## Firmware Version Change 1. Open configuration: $ make menuconfig 2. Navigate to "Base system". 3. Select "Branding" and then "libbrand-versioning". 4. Change PREFIX, branch prefix or other version numbers. ## Default IP Change 1. Open configuration: $ make menuconfig 2. Navigate to "Target Firmware options". 3. Select "Default IP address". 4. Enter new default IP address and exit the configuration. ## Default Password Change To change the default device password changes need to be made inside "RUTX_R_GPL_00.07.06.10/package/base-files/files/lib/preinit/84_set_password" file. Change "admin01" to your password on line [ -z "$passwd" ] && passwd="$(mkpasswd admin01)"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.