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:linksys:wrt54g3gv2-vf [2011/03/10 20:31] – Links to doc:hardware:jtag.cable changed to doc:hardware:port.jtag orca | toh:linksys:wrt54g3gv2-vf [2019/11/13 16:23] – removed my obsolete comment from 2010 datenritter | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Linksys WRT54G3GV2-VF ====== | ||
| + | {{section> | ||
| + | |||
| + | The Linksys [[http:// | ||
| + | |||
| + | Compared to its predecessor WRT54G3G it has additional USB slots and much more flash and RAM. | ||
| + | |||
| + | You can ask Linksys for a link to the original firmware tarball using the mailaddress in their [[http:// | ||
| + | |||
| + | {{media: | ||
| + | |||
| + | ===== Supported Versions ===== | ||
| + | |||
| + | ^ Version/ | ||
| + | | v1 | N/A | 10.03 | ||
| + | | v2 | N/A | 10.03 | with Kernel-Patch | ||
| + | |||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, LEDE Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid | ||
| + | headers : Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | **NOTE:** You should not try it without a serial console because you cannot reflash it via TFTP while booting like the old one. | ||
| + | |||
| + | **NOTE:** I successfully reflashed a Linksys WRT54G3GV2-VF with a [[http:// | ||
| + | |||
| + | CFE tries to verify if the started image is working by writing to the special bin-header at the end of the image. There is a structure of 8 byte with the following " | ||
| + | *2 byte " | ||
| + | *2 byte " | ||
| + | *2 byte " | ||
| + | *2 byte " | ||
| + | |||
| + | The CFE sets " | ||
| + | When CFE does not find the ' | ||
| + | |||
| + | Finally when try1 to try3 are set and stable is still unset CFE assumes that the image is broken and won't start anymore. It now starts listening on TFTP for a new firmware image. Nevertheless you can still force the CFE to load the current image with the followin command: "boot -raw -z -addr=0x80001000 -max=0xf40000 flash0.os:" | ||
| + | |||
| + | When I try to set ' | ||
| + | |||
| + | ===== Hardware Highlights ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, | ||
| + | header | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | ===== Installation ===== | ||
| + | |||
| + | **NOTE:** If you need an image for one of the other WRT54G3GV2 variants besides the -VF one (such as -ST), download the image builder, and copy the line for the -VF model in the image makefile (target/ | ||
| + | |||
| + | The new CFE expects the flash to be split in two 8MB chunks containing a valid firmware image each. | ||
| + | To manage those Broadcom/ | ||
| + | |||
| + | Thus you have two choices to get a running firmware on the device: | ||
| + | * run the original web-interface and select openwrt-wrt54g3gv2-vf-squashfs.bin for firmware upgrade (see [[#OEM easy installation]]) | ||
| + | * ctrl-c in CFE and run " | ||
| + | |||
| + | Trouble so far is: the jffs2 is not aware of the 2x8MB layout and completely grabs all the space available. While it is nice to have all 16MB you won't be able to boot the second fallback-firmware any more. | ||
| + | |||
| + | boot_wait=yes as it is known by other Linksys routers is still available but behaves differently. It copies a raw firmware image to a RAM area and tries to execute it afterwards. | ||
| + | Maybe we can use this to provide a kind of rescue system over TFTP from within which you can flash a new firmware. | ||
| + | |||
| + | ==== 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 http:// | ||
| + | *Upload openwrt-wrt54g3gv2-vf-squashfs.bin file to router | ||
| + | *Wait for it to reboot | ||
| + | *Telnet to 192.168.1.1 and set a root password, or browse to http:// | ||
| + | |||
| + | ==== OEM installation using the TFTP method ==== | ||
| + | |||
| + | *power-on | ||
| + | *ctrl-c in CFE | ||
| + | *execute " | ||
| + | *send " | ||
| + | *execute " | ||
| + | |||
| + | An alternative to use a .bin file: | ||
| + | *power-on | ||
| + | *ctrl-c in CFE | ||
| + | *execute "flash -ctheader : flash1.trx" | ||
| + | *send " | ||
| + | |||
| + | ===== Hardware ===== | ||
| + | |||
| + | ==== Info ==== | ||
| + | |||
| + | ^ Architecture | ||
| + | ^ Vendor | ||
| + | ^ Bootloader | ||
| + | ^ System-On-Chip | Broadcom ???? | | ||
| + | ^ CPU Speed | 260 MHz | ||
| + | ^ Flash-Chip | ||
| + | ^ Flash size | 16 MiB | | ||
| + | ^ RAM | 32 MiB | | ||
| + | ^ Wireless | ||
| + | ^ Ethernet | ||
| + | ^ USB | Yes | | ||
| + | ^ Serial | ||
| + | ^ JTAG | [[# | ||
| + | |||
| + | ==== Opening the case ==== | ||
| + | |||
| + | **Note:** This will void your warranty! | ||
| + | |||
| + | *To remove the cover simply flap over half of the rubber feet and unscrew (torx T10 TR) | ||
| + | *everything else is plastics... | ||
| + | |||
| + | //Main PCB//\\ | ||
| + | {{media: | ||
| + | |||
| + | ==== Serial ==== | ||
| + | |||
| + | The 5 PIN in the upper left circle are connected as following: | ||
| + | ^ PIN ^ Usage ^ | ||
| + | | 1* | +3.3V | | ||
| + | | 2 | TXD | | ||
| + | | 3 | RXD | | ||
| + | | 4 | unused | ||
| + | | 5 | GND | | ||
| + | * (closest to the reset button) | ||
| + | |||
| + | The connectors in the other circle may be for JTAG use but I don't know. | ||
| + | |||
| + | ==== JTAG ==== | ||
| + | |||
| + | FIXME: find out??? | ||
| + | |||
| + | See [[docs: | ||
| + | |||
| + | ===== Specific Configuration ===== | ||
| + | |||
| + | ==== Interfaces ==== | ||
| + | |||
| + | The default network configuration is: | ||
| + | ^ Interface Name ^ Description ^ Default configuration ^ | ||
| + | | br-lan | LAN & WiFi | 192.168.1.1/ | ||
| + | | eth0 | LAN ports (1 to 4) | None | | ||
| + | | eth1 | WAN port | DHCP | | ||
| + | | wlan0 | WiFi, only available if enabled | Disabled | | ||
| + | |||
| + | ==== Switch Ports (for VLANs) ==== | ||
| + | FIXME: make sure this is correct | ||
| + | Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on. | ||
| + | |||
| + | ^ Port ^ Switch port ^ | ||
| + | | Internet (WAN) | 4 | | ||
| + | | LAN 1 | 3 | | ||
| + | | LAN 2 | 2 | | ||
| + | | LAN 3 | 1 | | ||
| + | | LAN 4 | 0 | | ||
| + | |||
| + | ==== Failsafe mode ==== | ||
| + | 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 === | ||
| + | |||
| + | * 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 mount_root and make any changes. Run mount_root now. | ||
| + | |||
| + | - Forgot/lost your password and you like to set a new one | ||
| + | | ||
| + | - Forgot the routers IP address | ||
| + | uci get network.lan.ipaddr | ||
| + | - You accidentally run 'ipkg upgrade' | ||
| + | mtd -r erase rootfs_data | ||
| + | If you are done with failsafe mode power cycle the router and boot in normal mode. | ||
| + | |||
| + | ==== Buttons ==== | ||
| + | |||
| + | The Linksys WRT54G3GV2-VF has two buttons. They are Reset and 3G/UMTS. The buttons can be used with hotplug events. E. g. [# | ||
| + | |||
| + | ^ BUTTON | ||
| + | | Reset | reset | | ||
| + | | 3G/ | ||
| + | |||
| + | |||
| + | ==== Basic configuration ==== | ||
| + | |||
| + | Since this part is identical for all devices, see [[docs: | ||
| + | |||
| + | ==== Connect stuff to the USB port ==== | ||
| + | |||
| + | To connect stuff to the USB port, please see [[docs: | ||
| + | |||
| + | See also LEDE forum: [[https:// | ||
| + | |||
| + | ===== Tags ===== | ||
| + | [[meta: | ||
| + | {{tag> | ||