-12-
Document Name
AI7688H
Reference Manual
Version
V 2.0
Date 2019/08/08
3.4
Build Firmware from Source
The following operations are performed under a Ubuntu LTS 14.04.3
environment and 60 GB free disk space. For a Windows or a Mac OS X
host computer, you can install a VM for having the same environment:
Download to user’s home directory
“10_SDK\10_2_OpenWRT_SDK\
AI7688H_OpenWRT_Build_FW_Setting_Tool_V1.0.tar.gz”.
tar xvfz AI7688H_OpenWRT_Build_FW_Setting_Tool_V1.0.tar.gz
(to extract file)
cd AI7688H_OpenWRT_Build_FW_Setting_Tool_V1.0
(change to the folder.)
cat Readme.txt
( install additional package to build code. )
make download
(download code from internet)
make menuconfig
Save and exit (use default configuration filename without
change it)
Start the compilation process:
make -j1 V=s
After the build process completes, the resulted firmware file will
be under
bin/ramips/openwrt-ramips-7688-LinkIt7688-squashfs-sysupgrade.bin.
Depending on the H/W resources of the host environment, the build
process may take
more than 2 hours
.
You can use this file to do the firmware upgrade through the
Web UI or rename it to lks7688.img for upgrading through a USB drive
3.5
Build Bootloader from Source