|: Please check the template_device — orca 2011/03/11 13:26|
Small board (81x91mm) with minipci module.
|Version/Model||Launch Date||S/N||OpenWrt Version Supported||Model Specific Notes|
|v1 Teltonika RUT104||?||-||r29967||contains a Option GTM-382 GSM/3G Modem and a WLM54G Wireless LAN MiniPCI Adapter|
This device works with gemini images. If you would like to use USB ports you should recompile yourself following th 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.
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).
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 bask to the original firmware then "upgrade" with the new image.
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:
$ scp bin/gemini/openwrt-gemini-wbd111-zImage bin/gemini/openwrt-gemini-squashfs.img 192.168.1.1:/tmp
Write the Kernel Image
root@OpenWrt:/# mtd write /tmp/openwrt-gemini-wbd111-zImage kernel
Write the SquashFs Image and reboot
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|
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.
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.
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.
|CPU/Speed 300MHz ARM920 CPU|
|Flash size: 8192 KiB|
|RAM: 32 MiB|
|Wireless: Not included|
|USB: Yes 1 x 2.0|
More infos here
These are some photos of a mdex RUT 104, with a hardware modification for a serial console
Left to right:
Left to Right:
Note: This will void your warranty!
→ 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.
→ port.jtag general information about the JTAG port, JTAG cable, etc.
As far as known, the platform has not JTAG interface.
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
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!