Zinwell ZW4x00 Install Guide
From wiliGear wiki
This document helps WILI user to install WILI software (WILI-S/WILI-MESH) on ZW4400/ZW4200 boards from Zinwell ™. Within this document you will be guided through WILI software installation, licensing and connection.
Contents |
Installation Requirements
Software requirement:
- WILI software (WILI-S/WILI-MESH) for ZW4x00
Hardware requirements:
- ZW4400/ZW4200 board from Zinwell ™ http://www.zintech.com.tw/
- RedBoot boot loader with networking support
- Serial (RS-232) on board
- IEEE 802.11 Atheros PCI/miniPCI wireless network card
Network requirements:
- DHCP server enabled on LAN
- Internet connection for accessing WILI Remote Configuration Management Server (RCMS), (optional)
Client requirements:
- IEEE 802.11 card for the client
- Laptop or PC
Installation
After completing the following steps, you will have WILI-S live and running on Zinwell ZW4400/4200 boards. We assume you have running TFTP server
- TFTP server uses IP address 192.168.1.254/24
- Zinwell device uses IP address 192.168.1.20/24.
- 1. Download purchased WILI ZW4x00 FW archive from WILIBOX website, Store area. Registration is required to access your store archive.
- 2. Extract downloaded WILI ZW4x00 FW archive to a temporary folder. You will find files: initrd.img (image with WILI) and vmlinuz (Linux kernel)
- 3. Copy extracted WILI ZW4x00 files (initrd.img and vmlinuz) to TFTP server.
- 4. Make serial port connection as direct physical connection to the WILI ZW4x00. Connect serial console cable from your laptop or desktop PC to ZW4x00 board. Set console speed (bits per seconds): 115200. After successful connection you should see RedBoot console prompt
| | Press Ctrl+C to stop startup script (if enabled). |
- 5. Initialize [format] FLASH image system of your ZW4x00 board by command:
-
fis init
- 6. Configure RedBoot to load kernel:
-
fconfig -i
-
>> fis load kernel1 >> exec -c "root=/dev/mtdblock2 init=/linuxrc ro"
- 7. Configure IP address for local interface and TFTP server:
-
ip_address -l <192.168.1.1> -h <192.168.1.10>
| | Do not forget to modify TFTP server address. We are using 192.168.1.254 as TFTP server address in this example. |
- 8. Load vmlinuz (Linux kernel) from TFTP and store it to FLASH:
-
load vmlinuz -r -b 0x01600000 -
fis create kernel1 -f 0x50040000 -l 0x100000 -b 0x01600000 -r 0x01600000
- 9. Load initrd.img (image with WILI) from TFTP and store to FLASH:
-
load initrd.img -r -b 0x00800000
- Create the following partitions on FLASH:
fis create cramfs1 -f 0x50140000 -l 0x500000 -b 0x00800000 -r 0x00800000
fis create kernel2 -f 0x50640000 -l 0x100000 -b 0x01600000 -r 0x01600000 -n
fis create cramfs2 -f 0x50740000 -l 0x500000 -b 0x00800000 -r 0x00800000 -n
- 10. Create system configuration data sections in FLASH:
fis create cfg -f 0x50C40000 -l 0x0080000 -b 0x00800000 -r 0x00800000 -n
- 11. Create filesystem (jffs2) sections in FLASH:
fis create etc -f 0x50CE0000 -l 0x02E0000 -b 0x00800000 -r 0x00800000 -n
- 12. Type the reset command to load WILI image on your Zinwell board. After successful installation you will see WILI login prompt.
Connect WILI-S based ZW4x00 to Your Network
To prepare your WILI-S based ZW4x00 for use only the standard connection setup is needed. See the following list to check if you have everything ready:
- Prepared WILI-S based ZW4x00 (see section above how to prepare your WILI-S based ZW4x00)
- Internet connection
- DHCP server enabled on LAN
- Administrator computer
- WILI client (e.g. your laptop with wireless connection)
Standard Connection Setup
Connect WILI-S based ZW4x00 to your network as shown in scheme below. The example of the network with RCMS server presented below shows the optimal range of possibilities provided by WILI-S. RCMS server is an optional product revealing the full functionality of WILI-S management but it is not mandatory.
Follow the instructions:
1. Connect prepared Zinwell board to the same LAN as Administrator computer via WAN interface. Your local network should have the Internet connection.
2. Make sure the DHCP server is enabled on your network and WILI ZW4X00 is on the
same LAN. WILI ZW4x00 is DHCP client in default status.
3. Prepare WILI client: make sure wireless communication is turned on.
Licensing Your WILI based Device
After having purchased WILI you get a license key. This key need to be uploaded on WILI based device at once. Once you have licensed WILI it unlocks all functionality and can be used for unlimited period of time.
After licensing the device it will be set to a valid licensing status and you will get the full scope of benefits:
- Full functionality of the purchased WILI firmware release
- 1-year free service release updates according to the purchased WILI firmware revision. During this year any of service release firmware revisions can be used for the unlimited period of time.
- 2-weeks support assistance: 10 business days, up to 5 hours, e-mail communication and answer provided within 2 business days.
WILI firmware you have purchased comes with no license included (not valid status). This status provides only a very limited functionality:
- It runs only with a default configuration. Only a single BSSID is allowed; DHCP client runs on WAN interface, DHCP servers run on LAN and Wireless interfaces.
- It is impossible to change the configuration. All features are locked down until a valid license is presented. Any changes made in configuration will be stored in the flash memory of the device. Thus only a default setting will be used after the reboot.
Follow the simple diagram on how to license your WILI device:
Technical Support
If you have any problems, contact Wiligear for assistance at support@wiligear.com











