Linksys WAG354G (ADSL router) – Firmware (OpenWRT)
Linksys WAG354G v1/v2 (ADSL router)
OpenWRT (MARCO V.)
KAMIKAZE (bleeding edge, r10074) (2008-01-01)
Bronnen:
webalice.it
cyberstorm.altervista.org
Lately I have attempted to build OpenWrt for the AR7 platform.Building process was straight-forward, after selecting your target (AR7) and desired packages with “make menuconfig” you only need to enter “make” as usual and take a bike ride while your cpu is being squeezed for some hours…
You have to upload the firmware via tftp. Once flashed, the configuration is not so hard, but there is not web interface and all needs to be done using ssh/telnet. Luckily OpenWrt wiki is well-documented, so you just need to spend some time to read it and do some “healty” copy&paste….
What works (in KAMIKAZE bleeding edge, r10074, 2008-01-01):
-ADSL/ADSL2+ (phew…;) )
-Ethernet/switch (but you should apply this patch).
-serial console connection
-Wireless in client mode, even with wpa2 encryption.
What does not work or needs to be fixed:
-wireless in AP mode.
-Bridging ethernet & wireless.
-leds (not so hard to fix this)
-reset button
Monitor via UART bij flash met TFTP:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 |
free space start: 0xb0020000 free space end: 0xb0400000 Minimal POST completed... Success. Last reset cause: Hardware reset (Power-on reset) PSPBoot1.2 rev: 0.22.17 (c) Copyright 2002-2004 Texas Instruments, Inc. All Rights Reserved. FlashType: No mac find, use default mac mac_value: 00:16:B6:01:B9:D8 Press ESC for monitor... 521 (psbl) boot order: f boot file: mtd1 Booting... [ 0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 14:45:52 UTC 2013 [ 0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: ar7-gpio [ 0.000000] ar7-gpio: registered 32 GPIOs [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00018448 (MIPS 4KEc) [ 0.000000] TI AR7 (TNETD7300), ID: 0x0005, Revision: 0x27 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 01000000 @ 14000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 0x00014000 -> 0x00015000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] Early memory PFN ranges [ 0.000000] 0: 0x00014000 -> 0x00015000 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064 [ 0.000000] Kernel command line: console=ttyS0,38400n8 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes) [ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes. [ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes [ 0.000000] Memory: 11952k/16384k available (2467k kernel code, 4432k reserved, 365k data, 172k init, 0k highmem) [ 0.000000] NR_IRQS:256 [ 0.000000] Calibrating delay loop... 148.88 BogoMIPS (lpj=744448) [ 0.080000] pid_max: default: 32768 minimum: 301 [ 0.090000] Mount-cache hash table entries: 512 [ 0.110000] NET: Registered protocol family 16 [ 0.170000] bio: create slab <bio-0> at 0 [ 0.190000] Switching to clocksource MIPS [ 0.210000] NET: Registered protocol family 2 [ 0.230000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.250000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.270000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.290000] TCP: Hash tables configured (established 512 bind 512) [ 0.310000] TCP reno registered [ 0.320000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.340000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.360000] NET: Registered protocol family 1 [ 0.440000] unable to register fixed phy for cpmac-high: 0 [ 0.470000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.490000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.520000] msgmni has been set to 23 [ 0.530000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) [ 0.560000] io scheduler noop registered [ 0.570000] io scheduler deadline registered (default) [ 0.580000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.610000] serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15) is a TI-AR7 [ 0.630000] console [ttyS0] enabled, bootconsole disabled [ 0.630000] console [ttyS0] enabled, bootconsole disabled [ 0.660000] serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16) is a TI-AR7 [ 0.720000] physmap platform flash device: 02000000 at 10000000 [ 0.740000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x0022f6 [ 0.770000] Amd/Fujitsu Extended Query Table at 0x0040 [ 0.790000] Amd/Fujitsu Extended Query version 1.1. [ 0.800000] physmap-flash.0: Swapping erase regions for top-boot CFI table. [ 0.820000] number of CFI chips: 1 [ 0.840000] 4 ar7part partitions found on MTD device physmap-flash.0 [ 0.860000] Creating 4 MTD partitions on "physmap-flash.0": [ 0.880000] 0x000000000000-0x000000010000 : "loader" [ 0.900000] 0x000000010000-0x000000020000 : "config" [ 0.920000] 0x000000020000-0x000000400000 : "linux" [ 0.950000] 0x00000010f3ed-0x000000400000 : "rootfs" [ 0.960000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 1.010000] mtd: partition "rootfs" set to be root filesystem [ 1.030000] mtd: partition "rootfs_data" created automatically, ofs=310000, len=F0000 [ 1.050000] 0x000000310000-0x000000400000 : "rootfs_data" [ 1.090000] Fixed MDIO Bus: probed [ 7.340000] INTERNAL PHY!!! [ 7.410000] cpmac-mii: probed [ 7.420000] cpmac: No PHY present, using fixed PHY [ 7.500000] cpmac: device eth0 (regs: 08612800, irq: 41, phy: fixed-0:01, mac: 00:16:b6:01:b9:d8) [ 7.600000] cpmac: device eth1 (regs: 08610000, irq: 27, phy: cpmac-1:1f, mac: 00:16:b6:01:b9:d8) [ 7.640000] vlynq0: regs 0x08611800, irq 29, mem 0x04000000 [ 7.950000] vlynq0: local VLYNQ protocol rev. is 0x0001010b [ 7.970000] vlynq0: remote VLYNQ protocol rev. is 0x00010108 [ 7.990000] vlynq0: using local clock divisor 8 [ 8.090000] Found a VLYNQ device: 00000009 [ 8.100000] vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000 [ 9.030000] TCP cubic registered [ 9.040000] NET: Registered protocol family 17 [ 9.050000] Bridge firewalling registered [ 9.070000] 8021q: 802.1Q VLAN Support v1.8 [ 9.100000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 9.140000] Freeing prom memory: 1020k freed [ 9.160000] Freeing unused kernel memory: 172k freed - preinit - Press the [f] key and hit [enter] to enter failsafe mode - regular preinit - [ 17.460000] JFFS2 notice: (316) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 10 of xref (0 dead, 2 orphan) found. switching to jffs2 - init - Please press Enter to activate this console. [ 22.210000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993 [ 22.240000] Backport based on wireless-testing.git master-2012-09-07 [ 22.260000] compat.git: wireless-testing.git [ 22.380000] cfg80211: Calling CRDA to update world regulatory domain [ 22.400000] cfg80211: World regulatory domain updated: [ 22.410000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 22.440000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 22.460000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 22.490000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 22.510000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 22.530000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 23.360000] NET: Registered protocol family 8 [ 23.370000] NET: Registered protocol family 20 [ 23.780000] PPP generic driver version 2.4.2 [ 24.230000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 24.700000] NET: Registered protocol family 24 [ 24.780000] nf_conntrack version 0.5.0 (205 buckets, 820 max) [ 25.500000] acx-mac80211, version: v0.6.0 (git: unknown) [ 25.520000] this driver is still EXPERIMENTAL [ 25.520000] acx: please read the README file and/or go to http://acx100.sourceforge.net/wiki for further information [ 25.560000] built with CONFIG_ACX_MAC80211_PCI [ 25.580000] compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them [ 25.610000] acx: running on a little-endian CPU [ 25.610000] PCI/VLYNQ module initialized, waiting for cards to probe... [ 25.650000] Driver found for VLYNQ device: 00000009 [ 25.950000] vlynq0: local VLYNQ protocol rev. is 0x0001010b [ 25.970000] vlynq0: remote VLYNQ protocol rev. is 0x00010108 [ 25.990000] vlynq0: using local clock divisor 1 [ 26.000000] found TI TNETW1130-based wireless network card at vlynq0, irq:80, phymem:0x4000000, mem:0xa4000000 [ 26.030000] the initial debug setting is 0x000A [ 26.050000] using IRQ 80 [ 26.060000] device IS_PCI [ 26.060000] acx.acx_reset_dev: ACX radio type 0x16 [ 26.080000] acx.acxpci_upload_fw: need firmware for acx111 chipset with radio ID 16 [ 26.080000] Please provide via firmware hotplug: [ 26.080000] either combined firmware (single file named 'tiacx111c16') [ 26.080000] or two files (base firmware file 'tiacx111' + radio fw 'tiacx111r16') [ 26.160000] acx.acxpci_upload_fw: need to load firmware for acx111 chipset with radio ID 16, please provide via firmware hotplug: [ 26.160000] either one file only (<c>ombined firmware image file, radio-specific) or two files (radio-less base image file *plus* separate <r>adio-specific extension file) [ 26.240000] requesting firmware image 'tiacx111c16' [ 26.710000] acx._acx_upload_fw: acx_write_fw (main): 0 [ 26.780000] acx._acx_upload_fw: acx_validate_fw (main): 0 [ 27.410000] initializing max packet templates [ 27.430000] acx.acx_allocate: bdev:94927ec0 size:37536 phy:144f0000 ptr:b44f0000 [ 27.460000] acx.acx_allocate: bdev:94927ec0 size:896 phy:14798000 ptr:b4798000 [ 27.480000] acx.acx_allocate: bdev:94927ec0 size:37536 phy:147a0000 ptr:b47a0000 [ 27.500000] acx.acx_allocate: bdev:94927ec0 size:896 phy:14799000 ptr:b4799000 [ 27.530000] acx.acx_allocate: bdev:94927ec0 size:37536 phy:147b0000 ptr:b47b0000 [ 27.550000] acx.acx_allocate: bdev:94927ec0 size:896 phy:146ee000 ptr:b46ee000 [ 27.580000] acx.acx_allocate: bdev:94927ec0 size:37536 phy:147c0000 ptr:b47c0000 [ 27.600000] acx.acx_allocate: bdev:94927ec0 size:896 phy:146ef000 ptr:b46ef000 [ 27.620000] acx.acx_allocate: bdev:94927ec0 size:37536 phy:147d0000 ptr:b47d0000 [ 27.650000] acx.acx_allocate: bdev:94927ec0 size:896 phy:144d8000 ptr:b44d8000 [ 27.670000] acx.acx_allocate: bdev:94927ec0 size:448 phy:144d9000 ptr:b44d9000 [ 27.690000] acx.acx_allocate: bdev:94927ec0 size:38336 phy:147e0000 ptr:b47e0000 [ 27.720000] phy0: type=0x0003, typestr=ACX111_IE_MEMORY_CONFIG_OPTIONS, len=40: OK [ 27.740000] (type:ACX111_IE_QUEUE_CONFIG,len:56) [ 27.760000] Queue head: len=56, tx_memory_block_address=1A760, rx_memory_block_address=16360 [ 27.780000] Queue head: rx_queue_start=13954 [ 27.800000] Queue head: tx_queue_start[0]=14994 [ 27.810000] Queue head: tx_queue_start[1]=14654 [ 27.830000] Queue head: tx_queue_start[2]=14314 [ 27.840000] Queue head: tx_queue_start[3]=13FD4 [ 27.850000] Queue head: tx_queue_start[4]=13C94 [ 27.870000] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00014994,tx->desc_start=a4036994 [ 27.900000] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00014654,tx->desc_start=a4036654 [ 27.930000] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00014314,tx->desc_start=a4036314 [ 27.960000] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00013FD4,tx->desc_start=a4035fd4 [ 27.990000] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00013C94,tx->desc_start=a4035c94 [ 28.030000] (type:ACX111_IE_CONFIG_OPTIONS,len:332) [ 28.070000] NVSv: 01 16 05 00 02 41 02 00 [ 28.080000] NVS_vendor_offs:0221 probe_delay:200 eof_memory:1114112 [ 28.100000] CCAModes:04 Diversity:01 ShortPreOpt:01 PBCC:01 ChanAgil:00 PHY:05 Temp:01 [ 28.130000] AntennaID:00 Len:02 Data:01 02 [ 28.140000] PowerLevelID:01 Len:02 Data:001E 000A [ 28.160000] DataRatesID:02 Len:05 Data:02 04 11 22 44 [ 28.170000] DomainID:03 Len:06 Data:41 20 30 31 32 40 [ 28.190000] ProductID:04 Len:09 Data:TI ACX100 [ 28.200000] ManufacturerID:05 Len:07 Data:TI Test [ 28.220000] (type:ACX1xx_IE_DOT11_CURRENT_ANTENNA,len:2) [ 28.240000] Got antenna[0,1]: 0x4A 0x04 [ 28.250000] (type:ACX1xx_IE_DOT11_STATION_ID,len:6) [ 28.260000] Got station_id: 00:14:BF:EF:EE:1D [ 28.280000] (type:ACX1xx_IE_DOT11_CURRENT_REG_DOMAIN,len:2) [ 28.300000] Got regulatory domain 0x41 [ 28.310000] don't know how to get sensitivity for radio type 0x16 [ 28.330000] acx.interrupt_show_flags: HOST_INT_TX_COMPLETE # OUT: packet sent from device to remote h [ 28.360000] acx.interrupt_show_flags: HOST_INT_RX_COMPLETE # IN: packet rcvd from device to host [ 28.390000] acx.interrupt_show_flags: HOST_INT_IV_ICV_FAILURE # no docs [ 28.410000] acx.interrupt_show_flags: HOST_INT_CMD_COMPLETE # no docs [ 28.430000] acx.interrupt_show_flags: HOST_INT_INFO # no docs [ 28.450000] acx.interrupt_show_flags: HOST_INT_SCAN_COMPLETE # no docs [ 28.470000] acx.interrupt_show_flags: HOST_INT_FCS_THRESHOLD # no docs - in BSD as ACX_DEV_INTF_BOOT ?? [ 28.500000] acx.acx_set_interrupt_mask: adev->irq_mask: before: 0 devtype:0 chiptype:2 tobe: 39157 [ 28.530000] new ratevector: 82 84 0B 0C 12 16 18 24 2C 30 48 60 6C [ 28.550000] (type:ACX1xx_IE_DOT11_TX_POWER_LEVEL,len:1) [ 28.560000] Got tx-power-level: 1 [ 28.570000] Enabling hw-encryption [ 28.590000] (type:ACX1xx_IE_FEATURE_CONFIG,len:8) [ 28.600000] phy0: type=0x0015, typestr=ACX1xx_IE_FEATURE_CONFIG, len=8: OK [ 28.620000] (type:ACX1xx_IE_FWREV,len:24) [ 28.640000] Firmware: firmware_version='Rev 2.3.1.31' hw_id=03010101 [ 28.660000] chipset TNETW1130, radio type 0x16 (Radia (RC2422?)), form factor 0x01 ((mini-)PCI / CardBus), EEPROM version 0x05, uploaded firmware 'Rev 2.3.1.31' [ 28.700000] acx.acx_debugfs_add_adev: adev:9461d760 nm:phy0 dirp:946127d8 [ 28.720000] net device phy0, driver compiled against wireless extensions 22 and Linux 3.3.8 [ 28.860000] registered device TI Avalanche SAR [ 28.870000] Sangam detected [ 28.880000] requesting firmware image "ar0700xx.bin" [ 31.400000] tn7dsl_set_modulation : Setting mode to 0x1 [ 31.420000] Creating new root folder avalanche in the proc for the driver stats [ 31.450000] Texas Instruments ATM driver: version:[7.03.01.00] [ 46.520000] device eth0 entered promiscuous mode [ 46.570000] br-lan: port 1(eth0) entered forwarding state [ 46.580000] br-lan: port 1(eth0) entered forwarding state [ 46.700000] device eth1 entered promiscuous mode [ 46.710000] br-lan: port 2(eth1) entered forwarding state [ 46.730000] br-lan: port 2(eth1) entered forwarding state [ 46.770000] device eth0.1 entered promiscuous mode [ 46.790000] br-lan: port 3(eth0.1) entered forwarding state [ 46.810000] br-lan: port 3(eth0.1) entered forwarding state [ 46.890000] device eth0.2 entered promiscuous mode [ 46.910000] br-lan: port 4(eth0.2) entered forwarding state [ 46.920000] br-lan: port 4(eth0.2) entered forwarding state [ 47.040000] PHY: fixed-0:01 - Link is Up - 100/Full [ 47.560000] br-lan: port 2(eth1) entered disabled state [ 48.580000] br-lan: port 1(eth0) entered forwarding state [ 48.810000] br-lan: port 3(eth0.1) entered forwarding state [ 48.920000] br-lan: port 4(eth0.2) entered forwarding state |
[#/firmware/linksys_wag354g_openwrt” ]