Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:wiligear:wbd-111 [2016/04/17 14:47] – [Bootlogs] OEM bootlog kestas | toh:wiligear:wbd-111 [2018/06/23 11:09] – Datatables added, cleanup tmomas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Wilibox WBD-111 ====== | ||
| + | Small board (81x91mm) with minipci module. | ||
| + | ===== Supported Versions ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid | ||
| + | headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | ---- datatable ---- | ||
| + | cols : Unsupported Functions_unsupporteds | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | ^ Version/ | ||
| + | | v1 | ? | ||
| + | | v1 Teltonika RUT104 | ||
| + | | v2 | ? | ||
| + | |||
| + | FIXME How is " | ||
| + | |||
| + | ===== Hardware Highlights ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, | ||
| + | header | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Installation ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | ||
| + | headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | ||
| + | align : c,c,c | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | -> [[docs: | ||
| + | |||
| + | |||
| + | 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 [[.: | ||
| + | |||
| + | ==== Flash Layout ==== | ||
| + | |||
| + | |||
| + | ==== OEM easy installation ==== | ||
| + | |||
| + | This section deals with how you install OpenWrt from a device freshly opened. | ||
| + | |||
| + | **Note:** Reset router to factory defaults if it has been previously configured. | ||
| + | * Browse to '' | ||
| + | * Upload .bin file to router | ||
| + | * Wait for it to reboot | ||
| + | * Telnet to 192.168.1.1 and set a root password, or browse to '' | ||
| + | |||
| + | ==== OEM installation using the TFTP method ==== | ||
| + | |||
| + | * Set your PC's IP to 192.168.1.254 | ||
| + | * Open a TFTP server and place in his root the image with this name: '' | ||
| + | * Power-on your WBD-111 holding reset button | ||
| + | * Wait about a minute per megabyte (default image 3-4minutes) | ||
| + | |||
| + | If 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). | ||
| + | |||
| + | |||
| + | ==== Upgrading OpenWrt ==== | ||
| + | SYSUPGRADE DOESN' | ||
| + | -> [[docs: | ||
| + | |||
| + | 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 " | ||
| + | |||
| + | === LuCI Web Upgrade Process === | ||
| + | |||
| + | Not possible. | ||
| + | |||
| + | === Terminal Upgrade Process === | ||
| + | |||
| + | Manual Update using mtd works, you have to write the kernel image and the squashfs image in two steps: | ||
| + | |||
| + | - Upload the kernel Image an the squashfs image:\\ < | ||
| + | - Write the Kernel Image:\\ < | ||
| + | - Write the SquashFs Image:\\ < | ||
| + | - reboot | ||
| + | |||
| + | :!: You will most likely loose your config, since the rootfs_data will most likely overwritten | ||
| + | |||
| + | ===== Basic configuration ===== | ||
| + | -> [[docs: | ||
| + | Set up your Internet connection, configure wireless, configure USB port, etc. | ||
| + | |||
| + | |||
| + | ===== Specific Configuration ===== | ||
| + | ==== Interfaces ==== | ||
| + | |||
| + | The default network configuration is: | ||
| + | ^ Interface Name ^ Description | ||
| + | | br-lan | ||
| + | | eth0 | LAN port | None | | ||
| + | | wlan0 | WiFi | Disabled | ||
| + | |||
| + | ==== Failsafe mode ==== | ||
| + | -> [[docs: | ||
| + | |||
| + | 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' | ||
| + | |||
| + | === Boot into failsafe mode === | ||
| + | NOT TESTED | ||
| + | * Unplug the router' | ||
| + | * Connect the router' | ||
| + | * Configure your PC with a static IP address between 192.168.1.2 and 192.168.1.254. E. g. 192.168.1.2 (gateway and DNS is not required). | ||
| + | * Plug the power on and wait for the DMZ LED to light up. | ||
| + | * While the DMZ LED is on immediately press any button (Reset and Secure Easy Setup will work) a few times . | ||
| + | * If done right the DMZ LED will quickly flash 3 times every second. | ||
| + | * You should be able to telnet to the router at 192.168.1.1 now (no username and password) | ||
| + | |||
| + | === What to do in failsafe mode? === | ||
| + | **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 '' | ||
| + | |||
| + | - Forgot/lost your password and you like to set a new one\\ < | ||
| + | - Forgot the routers IP address\\ < | ||
| + | - You accidentally run 'ipkg upgrade' | ||
| + | |||
| + | If you are done with failsafe mode power cycle the router and boot in normal mode. | ||
| + | |||
| + | ===== Hardware ===== | ||
| + | ==== Info ==== | ||
| + | ^ Architecture | ||
| + | ^ Vendor | ||
| + | ^ Bootloader | ||
| + | ^ System-On-Chip | ||
| + | ^ CPU/ | ||
| + | ^ Flash-Chip | ||
| + | ^ Flash size | 8192 KiB | | ||
| + | ^ RAM | 32 MiB | | ||
| + | ^ Wireless | ||
| + | ^ Ethernet | ||
| + | ^ USB | Yes 1 x 2.0 | | ||
| + | ^ Serial | ||
| + | ^ JTAG | [[# | ||
| + | |||
| + | More infos [[http:// | ||
| + | |||
| + | ==== Photos ==== | ||
| + | These are some photos of a mdex RUT 104, with a hardware modification for a serial console | ||
| + | |||
| + | FIXME: How is " | ||
| + | |||
| + | // | ||
| + | {{: | ||
| + | |||
| + | Left to right: | ||
| + | * Reset Micro Switch behind the plastic casing | ||
| + | * Green GSM LED | ||
| + | * 100 MBit LAN Port | ||
| + | * Green LAN LED | ||
| + | * SIM Card Slot | ||
| + | * Green Power LED | ||
| + | * Power Connector, 3.9mm outer diameter, 1.1mm inner diameter. Polarity does not matter, the board has a bridge rectifier build in the power input | ||
| + | |||
| + | //Back://\\ | ||
| + | {{: | ||
| + | |||
| + | Left to Right: | ||
| + | * WLAN Main | ||
| + | * GSM Main | ||
| + | * Hardware modification: | ||
| + | * GSM AUX or GPS Antenna (depending on the GSM module settings) | ||
| + | * WLAN AUX | ||
| + | |||
| + | ==== Opening the case ==== | ||
| + | **Note:** This will void your warranty! | ||
| + | |||
| + | * To remove the cover you should simlpy unscrew the 4 screws! | ||
| + | |||
| + | //Main PCB//\\ | ||
| + | {{: | ||
| + | {{: | ||
| + | |||
| + | |||
| + | ==== Serial ==== | ||
| + | -> [[docs: | ||
| + | |||
| + | 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' | ||
| + | |||
| + | ^ Pin ^ colour | ||
| + | | A1 | white | UART TX | | ||
| + | | A3 | grey | Ground | ||
| + | | B1 | yellow | ||
| + | |||
| + | |||
| + | ==== JTAG ==== | ||
| + | -> [[docs: | ||
| + | |||
| + | As far as known, the platform has no JTAG interface. | ||
| + | |||
| + | ===== Debugging ===== | ||
| + | -> [[docs: | ||
| + | |||
| + | |||
| + | ===== Bootlogs ===== | ||
| + | |||
| + | ==== OEM bootlog ==== | ||
| + | <WRAP bootlog> | ||
| + | < | ||
| + | [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] | ||
| + | [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. | ||
| + | [17179569.184000] Kernel command line: root=/ | ||
| + | [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/ | ||
| + | [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/ | ||
| + | [17179569.340000] ttySL0 at MMIO 0x42000000 (irq = 18) is a SL2312 | ||
| + | [17179569.344000] gemini-gmac gemini-gmac.0: | ||
| + | [17179569.344000] gemini-gmac gemini-gmac.0: | ||
| + | [17179569.344000] gemini-gmac gemini-gmac.0: | ||
| + | [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] | ||
| + | [17179569.360000] number of CFI chips: 1 | ||
| + | [17179569.360000] cfi_cmdset_0002: | ||
| + | [17179569.360000] Creating 7 MTD partitions on " | ||
| + | [17179569.360000] 0x00000000-0x00020000 : " | ||
| + | [17179569.360000] 0x00020000-0x00120000 : " | ||
| + | [17179569.364000] 0x00120000-0x00620000 : " | ||
| + | [17179569.364000] 0x00620000-0x007c0000 : " | ||
| + | [17179569.368000] 0x007c0000-0x007d0000 : " | ||
| + | [17179569.368000] 0x007d0000-0x007f0000 : " | ||
| + | [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: | ||
| + | [17179569.372000] ehci-hcd-FOTG2XX ehci-hcd-FOTG2XX.1: | ||
| + | [17179569.372000] ehci-hcd-FOTG2XX ehci-hcd-FOTG2XX.1: | ||
| + | [17179569.372000] ehci-hcd-FOTG2XX ehci-hcd-FOTG2XX.1: | ||
| + | [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 ' | ||
| + | [17179574.048000] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC) | ||
| + | [17179574.112000] ath_rate_sample: | ||
| + | [17179574.340000] ath_pci: 0.9.4.5 (svn r29899) | ||
| + | [17179574.344000] PCI: enabling device 0000: | ||
| + | [17179575.056000] ath_find_eeprom: | ||
| + | [17179575.056000] ath_print_eeprom: | ||
| + | [17179575.056000] ath_print_eeprom: | ||
| + | [17179575.056000] ath_print_eeprom: | ||
| + | [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, | ||
| + | [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' | ||
| + | [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</ | ||
| + | </ | ||
| + | |||
| + | ===== Notes ===== | ||
| + | ==== Enable USB ==== | ||
| + | * prepare your kernel (this step is uncommon, but it's indispensable for wbd-111): | ||
| + | < | ||
| + | |||
| + | 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 | ||
| + | |||
| + | < | ||
| + | |||
| + | should return | ||
| + | |||
| + | < | ||
| + | ehci-fotg2xx ehci-fotg2xx.0: | ||
| + | ehci-fotg2xx ehci-fotg2xx.0: | ||
| + | ehci-fotg2xx ehci-fotg2xx.0: | ||
| + | ehci-fotg2xx ehci-fotg2xx.0: | ||
| + | ehci-fotg2xx ehci-fotg2xx.0: | ||
| + | ehci-fotg2xx ehci-fotg2xx.0: | ||
| + | ehci-fotg2xx ehci-fotg2xx.0: | ||
| + | ehci-fotg2xx ehci-fotg2xx.0: | ||
| + | usb 1-1: new high speed USB device using ehci-fotg2xx and address 2</ | ||
| + | |||
| + | |||
| + | ==== Teltonika RUT-104 ==== | ||
| + | === Enable hso (3g modem) support === | ||
| + | * Select hso module in make_menuconfig: | ||
| + | < | ||
| + | **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! | ||
| + | </ | ||
| + | * Select PCCARD Bus support in make kernel_menuconfig: | ||
| + | < | ||
| + | **Bus support | ||
| + | Mark as "built in" (*) **PCI support** | ||
| + | Mark as "built in" (*) **PCCard (PCMCIA/ | ||
| + | **PCCard (PCMCIA/ | ||
| + | Mark as "built in" (*) **32-bit CardBus support** | ||
| + | esc-esc esc-esc... save! | ||
| + | </ | ||
| + | |||
| + | === Add built-in hso comgt support === | ||
| + | * Download and apply the patch to openwrt sources attached in [[https:// | ||
| + | |||
| + | ===== Tags ===== | ||
| + | [[meta: | ||
| + | {{tag> | ||