User Tools

Site Tools


hardware:wbd-111

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hardware:wbd-111 [2011/03/02 10:48] – Michele Porellihardware:wbd-111 [2012/10/08 21:21] (current) – [Build OpenWRT] Michele Porelli
Line 1: Line 1:
-====== Wilibox wbd-111 - Teltonika RUT-1xx ======+====== Wilibox wbd-111 - (Teltonika RUT-1xx base board) ======
  
 ===== OpenWRT ===== ===== OpenWRT =====
Line 7: Line 7:
  
 ==== Build OpenWRT ==== ==== Build OpenWRT ====
-      * download the latest trunk revision (you must use trunk because there are not a stable brach with gemini support):+      * download the latest trunk revision (you must use trunk because there are not a stable branch with gemini support):
 <code>svn co svn://svn.openwrt.org/openwrt/trunk/</code> <code>svn co svn://svn.openwrt.org/openwrt/trunk/</code>
  
Line 14: Line 14:
 ./scripts/feeds install -a</code> ./scripts/feeds install -a</code>
  
-  * manually patch linux sources ([[https://dev.openwrt.org/attachment/ticket/6998/006-wbd111-enable-usb.patch]]) +  * <del>manually patch linux sources ([[https://dev.openwrt.org/attachment/ticket/6998/006-wbd111-enable-usb.patch]]) 
-<code>Open arch/arm/mach-gemini/board-wbd111.c and add the green line in the right position +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  +Open drivers/usb/host/ehci-hcd.c and replace the zero with one in the correct line</del> - Fixed in r25820!
-</code>+
  
-  * prepare your image (remember to select everythings you need):+  * prepare your image (remember to select everything you need):
 <code>make menuconfig</code> <code>make menuconfig</code>
 +Select as Target system: Cortina CS351x (StormSemi SL351x)
  
   * prepare your kernel (this step is uncommon, but it's indispensable for wbd-111):   * prepare your kernel (this step is uncommon, but it's indispensable for wbd-111):
 <code>make kernel_menuconfig</code> <code>make kernel_menuconfig</code>
  
-In this step you should include the right usb drivers but at this moment I don't remember exactly the name in the configurator, however the device is echi-fotg2xx. To check if you have selected the correct driver after flashing image+In this step you should include the right usb drivers: 
 +<code> 
 +**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! 
 +</code> 
 + 
 +To check if you have selected the correct driver after flashing image
  
 <code>dmesg | grep -i ehci-fotg2xx</code> <code>dmesg | grep -i ehci-fotg2xx</code>
Line 45: Line 54:
 <code>make -j 2</code> <code>make -j 2</code>
  
-==== Add built-in hso comgt support (for Teltonika RUT-104) ====+==== Teltonika RUT-104 ==== 
 +=== Enable hso (3g modem) support === 
 +  * Select hso module in make menuconfig: 
 +<code> 
 +**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! 
 +</code> 
 +  * Select PCCARD Bus support in make kernel_menuconfig: 
 +<code> 
 +**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! 
 +</code> 
 + 
 +=== Add built-in hso comgt support ===
   * Download and apply the patch to openwrt sources attached in [[https://dev.openwrt.org/ticket/6995|this ticket]].   * Download and apply the patch to openwrt sources attached in [[https://dev.openwrt.org/ticket/6995|this ticket]].
hardware/wbd-111.1299062893.txt · Last modified: (external edit)