User Tools

Site Tools


toh:wiznet:wiznet_wizfi630a

WIZnet WizFi630A

WIZnet WizFi630A is a plugin module in the form factor miniPCIe, so the same standard miniPCIe sockets can be used as they are installed in almost any notebook. Anyway electrical the module is stand alone cannot be used in a notebook or pc, as the electrical signals are GPIOs, LEDs, buttons, phy or serial ttl connections. With this module you can build your own router or just add wifi funcitonality to your circuits.

WIZnet WizFi630A

Supported Versions

Hardware Highlights

Installation

OEM installation using the TFTP method

Put the sysupgrade file into the root of the tftp server (If you don't want to enter IP adresses on the module later use 10.10.10.3 for the server - additionally you can name the file ramdisk.bin). Then connect via a serial terminal to UART2 of the module with 115200,8,n,1. Power up the module. When you see the uboot bootloader, you can interrupt the boot process by pressing "2". Then you are asked to overwrite the current image, answer with "Y". Then the IP of the server is asked, and additionally you have to enter a corresponding IP for the module that is in the same subnet. Now enter the name of the sysupgrade file on the tftp-server (if you named it ramdisk.bin you can just press "Enter") Wait until the process is finished and the module is booting again.

Specific values needed for tftp

Bootloader tftp server IPv4 address 10.10.10.3
Bootloader MAC address (special) 00:AA:BB:CC:DD:10
Firmware tftp image ramdisk.bin

Upgrading OpenWrt

LuCI Web Upgrade Process

Terminal Upgrade Process

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:

cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/ramips/rt305x/openwrt-ramips-rt305x-wizfi630a-squashfs-sysupgrade.bin
sysupgrade /tmp/openwrt-ramips-rt305x-wizfi630a-squashfs-sysupgrade.bin

mtd

sysupgrade is supporting this router and the preferred method, anyway it is also possible to use mtd also.

  • Login as root via SSH on 192.168.1.1, then enter the following commands:

cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/ramips/rt305x/openwrt-ramips-rt305x-wizfi630a-squashfs-sysupgrade.bin
mtd write /tmp/openwrt-ramips-rt305x-wizfi630a-squashfs-sysupgrade.bin linux && reboot

Debricking

Failsafe mode

generic.failsafe

Failsafe can be entered via the reset button, which is located on Pin38 (GPIO17) of the module.

Basic configuration

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Specific Configuration

Network interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
vlan0 (eth0.0) LAN ports (LAN1, LAN2) None
vlan1 (eth0.1) WAN port (LAN 0) DHCP
wlan0 WiFi Disabled

Switch Ports (for VLANs)

Numbers 1-2 are Ports 1-2 as labeled in the datasheet, number 0 is the Internet (WAN) on the unit, 6 is the internal connection to the router itself.

Port Switch port
Internet (WAN) 0
LAN 1 1
LAN 2 2

Buttons

hardware.button on howto use and configure the hardware button(s).

The WIZnet WizFi630A has the following buttons/switches:

BUTTON Type Name on Eval Board Event
Reset Button SW3 reset
WPS Button SW2
SCM1 Switch SW1 1 -
SCM2 Switch SW1 2 -

Hardware

Info

General
Brand WIZnet
Model WizFi630A
Versions
Device Type Single Board Computer
Availability Available
Comments - general
OpenWrt Support
Supported Since Revision https://dev.openwrt.org/changeset/46921
Supported Since Release 15.05.1
Supported Current Release 15.05.1
Unsupported
Hardware
Instruction set MIPS32
Sub Instruction Set MIPS32 24K/E series
Bootloader U-Boot
Target ramips
System-On-Chip Ralink RT5350
CPU MHz 360
Flash MB 16
RAM MB 32
Network
Ethernet 100M ports 3
Ethernet Gbit ports -
Switch integrated
Modem No
VLAN Yes
Comments - network ports
Wireless
WLAN 2.4GHz b/g/n
WLAN 5.0GHz -
WLAN Hardware
Detachable Antennas 1
Comments - WLAN
Interfaces
USB ports 1x 2.0
SATA ports -
Serial Yes
JTAG Yes
Comments - USB & SATA ports
Misc
LED count 4
Button count 4
Power supply 3.3 VDC, 0.6 A
Links
Forum Topic URL
WikiDevi URL
OEM device homepage URL http://eucache.wiznet.eu/product-item/wizfi630a/
Firmware OEM Stock URL
Firmware OpenWrt Install URL https://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/rt305x/openwrt-15.05.1-ramips-rt305x-wizfi630a-squashfs-sysupgrade.bin
Firmware OpenWrt Upgrade URL https://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/rt305x/openwrt-15.05.1-ramips-rt305x-wizfi630a-squashfs-sysupgrade.bin
Edit the underlying data View/Edit data

Photos

WIZnet WizFi630A - Front WIZnet WizFi630A - Back WizFi630A evaluation board

Serial

port.serial general information about the serial port, serial port cable, etc.

The module has two serial ports. The openwrt serial console is available by default only on UART2.

Label on EVB device
UART1 /dev/ttyS0
UART2 /dev/ttyS1
Serial connection parameters
for WIZnet WizFi630A
115200, 8N1 only on UART2

Bootloader Mods

Bootlogs

OpenWrt bootlog

Starting kernel ... [ 0.000000] Linux version 3.18.21 (openwrt@gb-10) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47199) ) #1 Sun Oct 18 21:25:37 UTC 2015 [ 0.000000] SoC Type: Ralink RT5350 id:1 rev:3 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001964c (MIPS 24KEc) [ 0.000000] MIPS: machine is WIZnet WizFi630A [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x01ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x01ffffff] [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff] [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: console=ttyS1,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Writing ErrCtl register=0005d610 [ 0.000000] Readback ErrCtl register=0005d610 [ 0.000000] Memory: 28552K/32768K available (2811K kernel code, 132K rwdata, 528K rodata, 168K init, 192K bss, 4216K reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:256 [ 0.000000] CPU Clock: 360MHz [ 0.000000] systick: running - mult: 214748, shift: 32 [ 0.000000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080) [ 0.070000] pid_max: default: 32768 minimum: 301 [ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090000] pinctrl core: initialized pinctrl subsystem [ 0.100000] NET: Registered protocol family 16 [ 0.120000] rt2880_gpio 10000600.gpio: registering 22 gpios [ 0.130000] rt2880_gpio 10000600.gpio: registering 22 irq handlers [ 0.130000] rt2880_gpio 10000660.gpio: registering 6 gpios [ 0.140000] rt2880_gpio 10000660.gpio: registering 6 irq handlers [ 0.140000] Switched to clocksource MIPS [ 0.150000] NET: Registered protocol family 2 [ 0.150000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.150000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.160000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.170000] TCP: reno registered [ 0.170000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.180000] NET: Registered protocol family 1 [ 0.190000] rt-timer 10000100.timer: maximum frequency is 7324Hz [ 0.200000] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.230000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.230000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.250000] msgmni has been set to 55 [ 0.270000] io scheduler noop registered [ 0.270000] io scheduler deadline registered (default) [ 0.280000] gpio-export gpio-export: 0 gpio(s) exported [ 0.280000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.300000] 10000500.uart: ttyS0 at MMIO 0x10000500 (irq = 13, base_baud = 2500000) is a 16550A [ 0.300000] console [ttyS1] disabled [ 0.310000] 10000c00.uartlite: ttyS1 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A [ 0.320000] console [ttyS1] enabled [ 0.320000] console [ttyS1] enabled [ 0.320000] bootconsole [early0] disabled [ 0.320000] bootconsole [early0] disabled [ 0.400000] m25p80 spi32766.0: w25q128 (16384 Kbytes) [ 0.400000] 4 ofpart partitions found on MTD device spi32766.0 [ 0.410000] Creating 4 MTD partitions on "spi32766.0": [ 0.410000] 0x000000000000-0x000000030000 : "uboot" [ 0.420000] 0x000000030000-0x000000040000 : "uboot-env" [ 0.430000] 0x000000040000-0x000000050000 : "factory" [ 0.430000] 0x000000050000-0x000001000000 : "firmware" [ 0.580000] 2 uimage-fw partitions found on MTD device firmware [ 0.590000] 0x000000050000-0x00000017e7a8 : "kernel" [ 0.590000] 0x00000017e7a8-0x000001000000 : "rootfs" [ 0.600000] mtd: device 5 (rootfs) set to be root filesystem [ 0.610000] 1 squashfs-split partitions found on MTD device rootfs [ 0.610000] 0x000000360000-0x000001000000 : "rootfs_data" [ 0.630000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5 [ 0.640000] rt2880_wdt 10000120.watchdog: Initialized [ 0.640000] TCP: cubic registered [ 0.650000] NET: Registered protocol family 10 [ 0.650000] NET: Registered protocol family 17 [ 0.660000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 0.670000] Bridge firewalling registered [ 0.680000] 8021q: 802.1Q VLAN Support v1.8 [ 0.720000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.730000] Freeing unused kernel memory: 168K (80366000 - 80390000) [ 3.770000] init: Console is alive [ 3.770000] init: - watchdog - [ 6.230000] usbcore: registered new interface driver usbfs [ 6.240000] usbcore: registered new interface driver hub [ 6.240000] usbcore: registered new device driver usb [ 6.860000] init: - preinit - [ 8.230000] rt305x-esw 10110000.esw: link changed 0x00 /etc/preinit: line 1: vconfig: not found [ 8.480000] random: procd urandom read with 13 bits of entropy available Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 9.850000] rt305x-esw 10110000.esw: link changed 0x01 [ 10.010000] rt305x-esw 10110000.esw: link changed 0x03 [ 11.900000] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 11.940000] procd: - early - [ 11.950000] procd: - watchdog - [ 12.910000] procd: - ubus - [ 13.920000] procd: - init - Please press Enter to activate this console. [ 15.000000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 15.030000] Loading modules backported from Linux version master-2015-07-21-0-g47cd203 [ 15.040000] Backport generated by backports.git backports-20150626-0-gc1a4168 [ 15.050000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 15.080000] nf_conntrack version 0.5.0 (448 buckets, 1792 max) [ 15.160000] xt_time: kernel timezone is -0000 [ 15.220000] cfg80211: World regulatory domain updated: [ 15.220000] cfg80211: DFS Master region: unset [ 15.230000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 15.240000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 15.250000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 15.250000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 15.260000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 15.270000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 15.280000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 15.290000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 15.300000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 15.430000] PPP generic driver version 2.4.2 [ 15.440000] NET: Registered protocol family 24 [ 15.490000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected [ 15.500000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected [ 21.350000] rt305x-esw 10110000.esw: link changed 0x00 [ 22.970000] rt305x-esw 10110000.esw: link changed 0x01 [ 23.180000] rt305x-esw 10110000.esw: link changed 0x03 [ 24.070000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 24.070000] jffs2_build_filesystem(): unlocking the mtd device... done. [ 24.080000] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 32.760000] device eth0.1 entered promiscuous mode [ 32.770000] device eth0 entered promiscuous mode [ 32.820000] br-lan: port 1(eth0.1) entered forwarding state [ 32.830000] br-lan: port 1(eth0.1) entered forwarding state [ 34.830000] br-lan: port 1(eth0.1) entered forwarding state


Tags

toh/wiznet/wiznet_wizfi630a.txt · Last modified: 2016/02/08 13:00 by tmomas