Tags: OpenWRT Toolchain, Bash scripting, SSH, C/C++
The MediaTek 7688 SoC is an appliance automation bridge. It integrates a 1T1R 802.11n Wi-Fi radio, a 580MHz MIPS® 24KEc™ CPU, 1-port fast Ethernet PHY, USB2.0 host, PCIe, SD-XC, I2S/PCM and multiple low-speed IOs in a single SoC.
Stack: Bash scripting, C/C++, OPKG, OpenWRT
Programming Languages: Bash scripting, C/C++
Approach: I’ve created an empty image of the OpenWRT using the appropriate toolchain for the MK7688 MIPS instruction set. I then created a bash script that collects all the required packages and external files and builds the firmware image. Finally, the LZH compressor makes it viable for flashing.