4.1 SDK Envirment Prepare
Compilation environment: Centos/Ubuntu Openwrt’s compilation tool is automatically generated by SDK built, no
additional installation is required
4.1 SDK Download
Get the source code from Dusun FTP server uncompress it under your work directory. For example:
mkdir -p ~/workdir/op030
tar zxvf DSGW-030_sdk_AV4.8.314.4296608.tar.gz -C /workdir/op030
cd ~/workdir/op030
4.2 SDK Compile
cd ~/workdir/op030
./build.sh
4.2 SDK Output
openwrt-ramips-mt76x8-DSI0177-squashfs-sysupgrade.bin is the system upgrade bin.
[au@git openwrt]$ ls ./bin/targets/ramips/mt76x8/ -alh
total 11M
drwxr-xr-x 3 au au 226 Oct 16 2021 .
drwxr-xr-x 5 au au 48 Sep 30 2021 ..
-rw-r--r-- 1 au au 122 Mar 28 11:22 config.buildinfo
-rw-r--r-- 1 au au 263 Mar 28 11:22 feeds.buildinfo
-rw-r--r-- 1 au au 4.7K Mar 28 11:24 openwrt-ramips-mt76x8-device-dsi0134.manifest
-rw-r--r-- 1 au au 11M Mar 28 11:24 openwrt-ramips-mt76x8-DSI0177-squashfs-sysupgrade.bin
drwxr-xr-x 2 au au 8.0K Mar 23 16:29 packages
-rw-r--r-- 1 au au 481 Mar 28 11:24 sha256sums
-rw-r--r-- 1 au au 18 Mar 28 11:22 version.buildinfo
5. Firmware Program And Program
5.1 Firmware Program
5.1.1 SPI Programer
To Firmware The Program, you must use the spi flash programer to program the spi nor flash. But Wo don't suggest
you do this by your self
• Remove spi flash on the board.