Small board (81x91mm) with minipci module.
| Version/Model | Launch Date | S/N | OpenWrt Version Supported | Model Specific Notes |
|---|---|---|---|---|
| v1 | ? | - | trunk | - |
| v1 Teltonika RUT104 | ? | - | r29967 | contains a Option GTM-382 GSM/3G Modem and a WLM54G Wireless LAN MiniPCI Adapter |
| v2 | ? | - | trunk | - |
How is “Teltonika RUT104” related to Wiligear WBD-111? Please explain in a short sentence.
→ Install OpenWrt (generic explanation)
This device works with gemini images. If you would like to use USB ports you should recompile yourself following the OpenWrt howto and customize the kernel as described here.
This section deals with how you install OpenWrt from a device freshly opened. Plus the steps required such as reset to factory defaults if the device has already been configured
Note: Reset router to factory defaults if it has been previously configured.
http://192.168.0.1/page.cgi?page=maintenancehttp://192.168.1.1 if LuCI is installed.fwupdate.binIf you have attached a serial interface, be aware that the speed of the serial Port ist switched to 9600N81 on kernel boot. This only happens for kernel boot's directly after flashing the router via TFTP (very likely a uboot bug).
SYSUPGRADE DOESN'T WORK ON GEMINI PLATFORM → generic.sysupgrade
If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you CANNOT upgrade using the mtd command line tool. You should go back to the original firmware, then “upgrade” with the new image.
Not possible.
Manual Update using mtd works, you have to write the kernel image and the squashfs image in two steps:
$ scp bin/gemini/openwrt-gemini-wbd111-zImage bin/gemini/openwrt-gemini-squashfs.img 192.168.1.1:/tmp
root@OpenWrt:/# mtd write /tmp/openwrt-gemini-wbd111-zImage kernel
root@OpenWrt:/# mtd write /tmp/openwrt-gemini-squashfs.img rootfs
You will most likely loose your config, since the rootfs_data will most likely overwritten
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
The default network configuration is:
| Interface Name | Description | Default configuration |
|---|---|---|
| br-lan | LAN & WiFi | 192.168.1.1/24 |
| eth0 | LAN port | None |
| wlan0 | WiFi | Disabled |
If you forgot your password, broken one of the startup scripts, firewalled yourself or corrupted the JFFS2 partition, you can get back in by using OpenWrt's failsafe mode.
NOT TESTED
NOTE: The root file system in failsafe mode is the SquashFS partition mounted in readonly mode. To switch to the normal writable root file system run mount_root and make any changes. Run mount_root now.
passwd
uci get network.lan.ipaddr
mtd -r erase rootfs_data
If you are done with failsafe mode power cycle the router and boot in normal mode.
| Architecture | ARM |
|---|---|
| Vendor | StorLink |
| Bootloader | RedBoot |
| System-On-Chip | ? |
| CPU/Speed | 300MHz ARM920 CPU |
| Flash-Chip | ? |
| Flash size | 8192 KiB |
| RAM | 32 MiB |
| Wireless | Not included |
| Ethernet | 1*100MBit |
| USB | Yes 1 x 2.0 |
| Serial | Yes |
| JTAG | No |
More infos here
These are some photos of a mdex RUT 104, with a hardware modification for a serial console
: How is “RUT104” related to Wiligear WBD-111? Do they have the same hardware? Please explain in a short sentence.
Left to right:
Left to Right:
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
The Serial connection can soldereded to J4, the connector on the top of the PCB photo's.
| Pin | colour | What |
|---|---|---|
| A1 | white | UART TX |
| A3 | grey | Ground |
| B1 | yellow | UART RX |
→ port.jtag general information about the JTAG port, JTAG cable, etc.
As far as known, the platform has no JTAG interface.
[17179569.184000] Linux version 2.6.18.8 (buildd2@builder) (gcc version 4.2.1 (http://www.wilibox.com)) #1 Wed Aug 25 05:04:56 EEST 2010 [17179569.184000] CPU: FA526id(wb) [66015261] revision 1 (ARMv4), cr=0000397f [17179569.184000] Machine: GeminiA [17179569.184000] Warning: bad configuration page, trying to continue [17179569.184000] Ignoring unrecognised tag 0x00000000 [17179569.184000] Memory policy: ECC disabled, Data cache writeback [17179569.184000] On node 0 totalpages: 8192 [17179569.184000] DMA zone: 8192 pages, LIFO batch:1 [17179569.184000] CPU0: D VIVT write-back cache [17179569.184000] CPU0: I cache: 16384 bytes, associativity 2, 16 byte lines, 512 sets [17179569.184000] CPU0: D cache: 8192 bytes, associativity 2, 16 byte lines, 256 sets [17179569.184000] Built 1 zonelists. Total pages: 8192 [17179569.184000] Kernel command line: root=/dev/mtdblock2 console=ttySL0,19200 init=/linuxrc mem=32M loglevel=1 [17179569.184000] PID hash table entries: 256 (order: 8, 1024 bytes) [17179569.184000] Bus: 150MHz(2/1) [17179569.184000] sl2312 console setup : [17179569.184000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [17179569.184000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [17179569.188000] Memory: 32MB = 32MB total [17179569.188000] Memory: 30356KB available (1616K code, 314K data, 72K init) [17179569.188000] Calibrating delay loop... 229.88 BogoMIPS (lpj=459776) [17179569.276000] Mount-cache hash table entries: 512 [17179569.276000] CPU: Testing write buffer coherency: ok [17179569.280000] NET: Registered protocol family 16 [17179569.284000] PCI: bus0: Fast back to back transfers disabled [17179569.288000] usbcore: registered new driver usbfs [17179569.288000] usbcore: registered new driver hub [17179569.292000] NET: Registered protocol family 2 [17179569.328000] IP route cache hash table entries: 256 (order: -2, 1024 bytes) [17179569.328000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [17179569.328000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [17179569.328000] TCP: Hash tables configured (established 1024 bind 512) [17179569.328000] TCP reno registered [17179569.328000] NetWinder Floating Point Emulator V0.97 (double precision) [17179569.332000] squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher [17179569.332000] squashfs: LZMA suppport for slax.org by jro [17179569.336000] JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. [17179569.336000] Initializing Cryptographic API [17179569.336000] io scheduler noop registered (default) [17179569.336000] SL351x Watchdog Timer, (c) 2007 WILIBOX [17179569.336000] sl351x-wdt: Found watchdog in enabled state, reseting ... [17179569.340000] drivers/char/gemini_gpio_dev.c: GPIO driver loaded [17179569.340000] ttySL0 at MMIO 0x42000000 (irq = 18) is a SL2312 [17179569.344000] gemini-gmac gemini-gmac.0: Found PHY id=0x1, vendor=0x221513 [17179569.344000] gemini-gmac gemini-gmac.0: No phy found with ID '0x3' [17179569.344000] gemini-gmac gemini-gmac.0: Gemini Ethernet driver 0.2 [17179569.344000] SL2312 MTD Driver Init....... [17179569.360000] SL2312 CFI Flash: Found 1 x16 devices at 0x0 in 16-bit bank [17179569.360000] SL2312 CFI Flash: Found an alias at 0x800000 for the chip at 0x0 [17179569.360000] Amd/Fujitsu Extended Query Table at 0x0040 [17179569.360000] number of CFI chips: 1 [17179569.360000] cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. [17179569.360000] Creating 7 MTD partitions on "SL2312 CFI Flash": [17179569.360000] 0x00000000-0x00020000 : "RedBoot" [17179569.360000] 0x00020000-0x00120000 : "Kernel" [17179569.364000] 0x00120000-0x00620000 : "Ramdisk" [17179569.364000] 0x00620000-0x007c0000 : "etc" [17179569.368000] 0x007c0000-0x007d0000 : "VCTL" [17179569.368000] 0x007d0000-0x007f0000 : "cfg" [17179569.372000] 0x007f0000-0x00800000 : "FIS directory" [17179569.372000] SL2312 MTD Driver Init Success ...... [17179569.372000] Found Faraday OTG 2XX controller (base = 0x68000000) [17179569.372000] ehci-hcd-FOTG2XX ehci-hcd-FOTG2XX.1: FOTG2XX EHCI Host Controller [17179569.372000] ehci-hcd-FOTG2XX ehci-hcd-FOTG2XX.1: new USB bus registered, assigned bus number 1 [17179569.372000] ehci-hcd-FOTG2XX ehci-hcd-FOTG2XX.1: irq 10, io mem 0x68000000 [17179569.372000] ehci-hcd-FOTG2XX ehci-hcd-FOTG2XX.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 [17179569.372000] USB OTG2xx role detected: Host, A-Device [17179569.372000] USB OTG2xx role detected: Host, A-Device [17179569.372000] VBUS enabled. [17179569.376000] VBUS already enabled [17179569.376000] usb usb1: configuration #1 chosen from 1 choice [17179569.376000] hub 1-0:1.0: USB hub found [17179569.376000] hub 1-0:1.0: 1 port detected [17179569.480000] Registered led device: LED1 [17179569.480000] Registered led device: LED2 [17179569.480000] Registered led device: LED3 [17179569.484000] Registered led device: LED4 [17179569.484000] Registered led device: LED5 [17179569.484000] Registered led device: LED6 [17179569.484000] TCP bic registered [17179569.484000] NET: Registered protocol family 1 [17179569.492000] VFS: Mounted root (squashfs filesystem) readonly. [17179569.492000] Freeing init memory: 72K [17179573.668000] wlan: 0.8.4.2 (svn r29899) [17179573.820000] wlan: mac acl policy registered [17179574.024000] ath_hal: module license 'Proprietary' taints kernel. [17179574.048000] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC) [17179574.112000] ath_rate_sample: 1.2 (svn r29899) [17179574.340000] ath_pci: 0.9.4.5 (svn r29899) [17179574.344000] PCI: enabling device 0000:00:0c.0 (0140 -> 0142) [17179575.056000] ath_find_eeprom: macaddr location in hal found at c02826a8 offset from last chan 6788 [17179575.056000] ath_print_eeprom: mac: 00:0b:6b:22:8a:a9, version 0x5003, regdomain 0x0 A/B/G=1/1/1 [17179575.056000] ath_print_eeprom: antennaGain= 0x1/0x1 [17179575.056000] ath_print_eeprom: cntls:0x10:0x13:0x11:0x12:0x14:0x40:0x41:0x42:0x30:0x31:0x32:0x34:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0 [17179575.064000] wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps [17179575.064000] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps [17179575.064000] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps [17179575.064000] wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps [17179575.064000] wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps [17179575.064000] wifi0: H/W encryption support: WEP AES AES_CCM TKIP [17179575.064000] wifi0: mac 10.5 phy 6.1 radio 6.3 [17179575.064000] wifi0: Use hw queue 1 for WME_AC_BE traffic [17179575.064000] wifi0: Use hw queue 0 for WME_AC_BK traffic [17179575.064000] wifi0: Use hw queue 2 for WME_AC_VI traffic [17179575.064000] wifi0: Use hw queue 3 for WME_AC_VO traffic [17179575.064000] wifi0: Use hw queue 8 for CAB traffic [17179575.064000] wifi0: Use hw queue 9 for beacons [17179575.064000] wifi0: TX99 support enabled [17179575.064000] wifi0: Atheros 5212: mem=0x58000000, irq=67 [17179575.560000] sl351x-wdt: watchog timer enabled, margin: 60s. [17179577.188000] PHY[0]: link=0, autong=1, duplex=0, speed=10 [17179577.416000] NET: Registered protocol family 17 [17179579.700000] PHY[0]: link=1, autong=1, duplex=1, speed=100 [17179581.596000] PHY[0]: link=1, autong=1, duplex=1, speed=100 [17179583.788000] Bridge firewalling registered [17179584.060000] device eth0 entered promiscuous mode [17179584.172000] device ath0 entered promiscuous mode [17179584.236000] br0: port 2(ath0) entering learning state [17179585.236000] br0: topology change detected, propagating [17179585.236000] br0: port 2(ath0) entering forwarding state [17179586.460000] PHY[0]: link=1, autong=1, duplex=1, speed=100 [17179586.536000] process `snmpd' is using obsolete setsockopt SO_BSDCOMPAT [17179586.568000] br0: port 1(eth0) entering learning state [17179587.492000] Ebtables v2.0 registered [17179587.568000] br0: topology change detected, propagating [17179587.568000] br0: port 1(eth0) entering forwarding state
make kernel_menuconfig
In this step you should include the right usb drivers:
**Device Drivers --->** **USB support --->** Mark as "built in" (*) **Support for Host-side USB** Mark as "built in" (*) **EHCI HCD (USB 2.0) support** esc-esc esc-esc... save!
To check if you have selected the correct driver after flashing image
dmesg | grep -i ehci-fotg2xx
should return
ehci-fotg2xx ehci-fotg2xx.0: Found Faraday OTG 2XX controller (base = 0x68000000) ehci-fotg2xx ehci-fotg2xx.0: FOTG2XX EHCI Host Controller ehci-fotg2xx ehci-fotg2xx.0: new USB bus registered, assigned bus number 1 ehci-fotg2xx ehci-fotg2xx.0: irq 10, io mem 0x68000000 ehci-fotg2xx ehci-fotg2xx.0: USB 0.0 started, EHCI 1.00, overcurrent ignored ehci-fotg2xx ehci-fotg2xx.0: role detected: Host, ehci-fotg2xx ehci-fotg2xx.0: A-Device ehci-fotg2xx ehci-fotg2xx.0: role detected: Host, ehci-fotg2xx ehci-fotg2xx.0: A-Device usb 1-1: new high speed USB device using ehci-fotg2xx and address 2
**Kernel modules --->** **USB Support --->** Mark as "built in" (*) **kmod-usb-net** Mark as "built in" (*) **kmod-usb-net-hso** Mark as "built in" (*) **kmod-usb-serial** Mark as "built in" (*) **kmod-usb-serial-option** esc-esc esc-esc... save!
**Bus support --->** Mark as "built in" (*) **PCI support** Mark as "built in" (*) **PCCard (PCMCIA/CardBus) support --->** **PCCard (PCMCIA/CardBus) support --->** Mark as "built in" (*) **32-bit CardBus support** esc-esc esc-esc... save!