Content
1. Brief introduction of USR-G809....................................................................................................................- 2 -
1.1. Hardware specification.......................................................................................................................- 2 -
1.2. Interface............................................................................................................................................- 4 -
1.3. Hardware resources...........................................................................................................................- 4 -
1.3.1. The description of indicator lights..............................................................................................- 4 -
1.3.2. LED pin definitions....................................................................................................................- 5 -
1.3.3. Terminal definitions..................................................................................................................- 5 -
1.3.4. Digital_IO definitions.................................................................................................................- 6 -
1.3.5. LTE module pin definitions........................................................................................................- 6 -
1.3.6. UART........................................................................................................................................- 6 -
2. Environment preparation............................................................................................................................- 6 -
3. SDK Configuration ......................................................................................................................................- 7 -
3.1. Configuration file ...............................................................................................................................- 7 -
3.1.1. Use the configuration file provided by USR .................................................................................- 7 -
3.1.2. Custom configurations ..............................................................................................................- 7 -
4. Firmware compilation.................................................................................................................................- 8 -
5. Firmware flashing ......................................................................................................................................- 8 -
5.1. Firmware flashing via uboot...............................................................................................................- 8 -
6. SDK Introduction ......................................................................................................................................- 11 -
6.1. OpenWrt Source Code Directory Introduction: .................................................................................- 11 -
6.2. SDK Introduction of USR-G809 .........................................................................................................- 11 -
6.3. Introduction of USR demo program:.................................................................................................- 13 -
6.3.1. DTU demo program.................................................................................................................- 13 -
6.3.2. Dialnet dialing demo program................................................................................................- 17 -
6.3.3. USB mounting........................................................................................................................ - 24 -
6.3.4. Instruction of digital_io program(package/USR/utils/usr_digital_io)........................................- 26 -
6.4. Explanation of modifications based on OpenWrt..............................................................................- 29 -
6.4.1. target/linux/ramips/image/mt7620.mk ..................................................................................- 29 -
6.4.2. Explanation of modifications of dts file ...................................................................................- 29 -
7. How to add apackage (using libusrdtu as an example) ............................................................................. - 30 -
7.1. Analysis of file structure....................................................................................................................- 31 -