hardware:wbd-111
Table of Contents
Wilibox wbd-111 - (Teltonika RUT-1xx base board)
OpenWRT
Flash firmware
Unfortunately sysupgrade is not yet implemented, you should go back to wikigear stock firmware then flash the new image
Build OpenWRT
- download the latest trunk revision (you must use trunk because there are not a stable branch with gemini support):
svn co svn://svn.openwrt.org/openwrt/trunk/
- add all available packages (download then “install”):
./scripts/feeds update -a ./scripts/feeds install -a
manually patch linux sources (https://dev.openwrt.org/attachment/ticket/6998/006-wbd111-enable-usb.patch) Open arch/arm/mach-gemini/board-wbd111.c and add the green line in the right position Open drivers/usb/host/ehci-hcd.c and replace the zero with one in the correct line- Fixed in r25820!
- prepare your image (remember to select everything you need):
make menuconfig
Select as Target system: Cortina CS351x (StormSemi SL351x)
- prepare your kernel (this step is uncommon, but it's indispensable for wbd-111):
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
- make the image (where 2 is the number of your processor's core):
make -j 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/CardBus) support --->** **PCCard (PCMCIA/CardBus) support --->** 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 this ticket.
hardware/wbd-111.txt · Last modified: 2012/10/08 23:21 by Michele Porelli