User Tools

Site Tools


toh:pirelli:aga

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
toh:pirelli:aga [2012/11/02 22:06]
toh:pirelli:aga [2015/12/12 10:35] (current)
tmomas New bootlog formatting applied
Line 1: Line 1:
 +====== Pirelli Alice Gate 2 Plus Wi-Fi ======
  
 +This page is about the above mentioned device also know as AGA.\\
 +There are several models of Alice Gate out there.\\
 +
 +===== Hardware Highlights =====
 +^ CPU                    ^ Ram     ^ Flash   ^ Network ​      ^ USB          ^ Serial ​  ^ JTag   ^
 +| Broadcom BCM6348KFBG ​  | 16MiB   | 8MiB    | 4 x 100Mbps ​  | 1x USB 2.0   | No*      | No*    |
 +*Not provided, but support can be added via HW modification. See below
 +
 +===== Installation =====
 +This section deals with how you install OpenWrt on the device.
 +
 +You will need a serial adapter!! Don't even try to go further without a serial adapter!! ​
 +
 +Support for Alice Gate 2 Plus Wi-Fi is achieved applying the patch below against the svn (tested as far as rev. 33981).
 +https://​dl.dropbox.com/​u/​39223193/​OpenWRT_AGA_Vela/​Attitude_Adjustment_rev_33981/​AGW2%2B_AliceGateW2%2B_20121009.patch
 +
 +Optionally, you may download the pre-built image based on Attitude Adjustmet rev. 33981
 +https://​dl.dropbox.com/​u/​39223193/​OpenWRT_AGA_Vela/​Attitude_Adjustment_rev_33981/​openwrt-AGW2%2B-squashfs-cfe.bin
 +
 +  * Power on the router and stop it at CFE prompt
 +  * type "e a" and press enter (to clean up everything and force writing of FW in the first image position)
 +  * Connect your PC to the ethernet (Eth4, the port closer to power plug, or Eth1  - depending on some models) and set an address in 192.168.1.2-254/​24 range (e.g. 192.168.1.100/​24)
 +  * Browse to http://​192.168.1.1/​
 +  * Upload .bin file to router
 +  * Wait for it to reboot (allow first boot to up to 5 minutes)
 +  * Telnet to 192.168.1.1 and set a root password
 +Due to limited resources, LuCI is NOT installed by default. After setting the pw for root, you'll access via ssh
 +
 +OPTIONAL
 +Image above is built with zram support. To take advantage of it, save the following as zram.sh and run from root (/):
 +<​code>​
 +!/bin/bash
 +cd /
 +wget http://​downloads.openwrt.org/​attitude_adjustment/​12.09-beta/​brcm63xx/​generic/​packages/​swap-utils_2.21.2-1_brcm63xx.ipk
 +tar -xvzf swap-utils_2.21.2-1_brcm63xx.ipk
 +tar -xvzf data.tar.gz
 +wget http://​downloads.openwrt.org/​attitude_adjustment/​12.09-beta/​brcm63xx/​generic/​packages/​libblkid_2.21.2-1_brcm63xx.ipk
 +tar -xvzf libblkid_2.21.2-1_brcm63xx.ipk
 +tar -xvzf data.tar.gz
 +wget http://​downloads.openwrt.org/​attitude_adjustment/​12.09-beta/​brcm63xx/​generic/​packages/​libuuid_2.21.2-1_brcm63xx.ipk
 +tar -xvzf libuuid_2.21.2-1_brcm63xx.ipk
 +tar -xvzf data.tar.gz
 +rm -r data.tar.gz control.tar.gz debian-binary swap-utils_2.21.2-1_brcm63xx.ipk libuuid_2.21.2-1_brcm63xx.ipk libblkid_2.21.2-1_brcm63xx.ipk</​code>​
 +
 +and add the following lines to /​etc/​rc.local
 +<​code>​echo 100000000 > /​sys/​block/​zram0/​disksize
 +mkswap /dev/zram0
 +swapon -p 5 /​dev/​zram0</​code>​
 +
 +==== Flash Layout ====
 +^ Device ^ Size ^ Erasesize ^ Name ^
 +| mtd0 | 00010000 | 00010000 | CFE |
 +| mtd1 | 000eff00 | 00010000 | kernel|
 +| mtd2 | 006f0000 | 00010000 | rootfs|
 +| mtd4 | 00010000 | 00002000 | nvram|
 +| mtd5 | 007e0000 | 00010000 | linux|
 +
 +=== Terminal Upgrade Process ===
 +
 +  * Login as root via SSH
 +  * Use the following commands to upgrade.
 +
 +<​code>​
 +cd /tmp/
 +wget <url of new image>
 +mtd -r write <​newimage.bin>​ linux </​code>​
 +
 +
 +===== Bootlogs =====
 +==== CFE bootlog ====
 +<WRAP bootlog>
 +<​nowiki>​CFE version 1.0.37-3.1 P12 for BCM96348 (32bit,​SP,​BE)
 +Build Date: mar set 26 15:13:11 CEST 2006 (root@RanmaLinux)
 +Copyright (C) 2000-2005 Broadcom Corporation.
 +
 +Boot Address 0xbf000000
 +
 +Initializing Arena.
 +Initializing Devices.
 +cfi_flash_get_device_id
 +Parallel flash device: name MX29LV640BT,​ id 0x22c9, size 8192KB
 +CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz
 +Total memory: 16777216 bytes (16MB)
 +
 +Total memory used by CFE:  0x80401000 - 0x80525DD0 (1199568)
 +Initialized Data:          0x8041D5E0 - 0x8041F560 (8064)
 +BSS Area:                  0x8041F560 - 0x80423DD0 (18544)
 +Local Heap:                0x80423DD0 - 0x80523DD0 (1048576)
 +Stack Area:                0x80523DD0 - 0x80525DD0 (8192)
 +Text (code) segment: ​      ​0x80401000 - 0x8041D5D8 (116184)
 +Boot area (physical): ​     0x00526000 - 0x00566000
 +Relocation Factor: ​        ​I:​00000000 - D:00000000
 +
 +Board IP address ​                 : 192.168.1.1:​ffffff00
 +Host IP address ​                  : 192.168.1.100
 +Gateway IP address ​               :
 +Run from flash/host (f/h)         : f
 +Default host run file name        : vmlinux
 +Default host flash file name      : bcm963xx_fs_kernel
 +Boot delay (0-9 seconds) ​         : 1
 +Board Id Name                     : AliceAGW2+
 +Psi size in KB                    : 24
 +Number of MAC Addresses (1-32) ​   : 13
 +Base MAC Address ​                 : 00:​1d:​xx:​xx:​xx:​xx
 +Ethernet PHY Type                 : Internal
 +Memory size in MB                 : 16
 +
 +*** Press any key to stop auto run (1 seconds) ***
 +Auto run second count down: 1</​nowiki>​
 +</​WRAP>​\\
 +
 +==== OpenWrt bootlog ====
 +<WRAP bootlog>
 +<​nowiki>​[ ​   0.000000] Linux version 3.3.8 (xxxxo@xxxx) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Oct 28 17:59:55 CET 2012
 +[    0.000000] Detected Broadcom 0x6348 CPU revision b0
 +[    0.000000] CPU frequency is 256 MHz
 +[    0.000000] 16MB of RAM installed
 +[    0.000000] registering 37 GPIOs
 +[    0.000000] gpiochip_add:​ registered GPIOs 0 to 36 on device: bcm63xx-gpio
 +[    0.000000] board_bcm963xx:​ Boot address 0xbf000000
 +[    0.000000] board_bcm963xx:​ CFE version: 1.0.37-3.1
 +[    0.000000] No bcm_tag found!
 +[    0.000000] bootconsole [early0] enabled
 +[    0.000000] CPU revision is: 00029107 (Broadcom BMIPS3300)
 +[    0.000000] board_bcm963xx:​ board name: AliceAGW2+
 +[    0.000000] Determined physical RAM map:
 +[    0.000000] ​ memory: 01000000 @ 00000000 (usable)
 +[    0.000000] Initrd not found or empty - disabling initrd
 +[    0.000000] Zone PFN ranges:
 +[    0.000000] ​  ​Normal ​  ​0x00000000 -> 0x00001000
 +[    0.000000] Movable zone start PFN for each node
 +[    0.000000] Early memory PFN ranges
 +[    0.000000] ​    0: 0x00000000 -> 0x00001000
 +[    0.000000] On node 0 totalpages: 4096
 +[    0.000000] free_area_init_node:​ node 0, pgdat 802a1b60, node_mem_map 80318000
 +[    0.000000] ​  ​Normal zone: 32 pages used for memmap
 +[    0.000000] ​  ​Normal zone: 0 pages reserved
 +[    0.000000] ​  ​Normal zone: 4064 pages, LIFO batch:0
 +[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
 +[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
 +[    0.000000] pcpu-alloc: [0] 0 
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
 +[    0.000000] Kernel command line:  root=/​dev/​mtdblock2 rootfstype=squashfs,​jffs2 noinitrd console=ttyS0,​115200
 +[    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, 2-way, linesize 16 bytes.
 +[    0.000000] Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
 +[    0.000000] Memory: 13016k/​16384k available (2223k kernel code, 3368k reserved, 409k data, 200k init, 0k highmem)
 +[    0.000000] NR_IRQS:128
 +[    0.000000] Calibrating delay loop... 254.46 BogoMIPS (lpj=508928)
 +[    0.036000] pid_max: default: 32768 minimum: 301
 +[    0.040000] Mount-cache hash table entries: 512
 +[    0.056000] NET: Registered protocol family 16
 +[    0.080000] registering PCI controller with io_map_base unset
 +[    0.112000] bio: create slab <​bio-0>​ at 0
 +[    0.124000] PCI host bridge to bus 0000:00
 +[    0.128000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
 +[    0.132000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
 +[    0.136000] pci 0000:​00:​01.0:​ [14e4:4318] type 0 class 0x000280
 +[    0.136000] pci 0000:​00:​01.0:​ reg 10: [mem 0x00000000-0x00001fff]
 +[    0.148000] pci 0000:​00:​02.0:​ [1131:1561] type 0 class 0x000c03
 +[    0.152000] pci 0000:​00:​02.0:​ reg 10: [mem 0x00000000-0x00000fff]
 +[    0.164000] pci 0000:​00:​02.0:​ supports D1
 +[    0.164000] pci 0000:​00:​02.0:​ PME# supported from D1 D3hot D3cold
 +[    0.164000] pci 0000:​00:​02.2:​ [1131:1562] type 0 class 0x000c03
 +[    0.164000] pci 0000:​00:​02.2:​ reg 10: [mem 0x00000000-0x000000ff]
 +[    0.176000] pci 0000:​00:​02.2:​ supports D1 D2
 +[    0.176000] pci 0000:​00:​02.2:​ PME# supported from D0 D1 D2 D3hot D3cold
 +[    0.184000] pci 0000:​00:​01.0:​ BAR 0: assigned [mem 0x30000000-0x30001fff]
 +[    0.188000] pci 0000:​00:​02.0:​ BAR 0: assigned [mem 0x30002000-0x30002fff]
 +[    0.192000] pci 0000:​00:​02.2:​ BAR 0: assigned [mem 0x30003000-0x300030ff]
 +[    0.200000] Switching to clocksource MIPS
 +[    0.216000] PCI: Enabling device 0000:​00:​01.0 (0000 -> 0002)
 +[    0.224000] b43-pci-bridge 0000:​00:​01.0:​ setting latency timer to 64
 +[    0.248000] ssb: Found chip with id 0x4318, rev 0x02 and package 0x02
 +[    0.256000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
 +[    0.256000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
 +[    0.256000] ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
 +[    0.256000] ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
 +[    0.296000] ssb: Sonics Silicon Backplane found on PCI device 0000:​00:​01.0
 +[    0.308000] NET: Registered protocol family 2
 +[    0.312000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.320000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
 +[    0.328000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
 +[    0.336000] TCP: Hash tables configured (established 512 bind 512)
 +[    0.340000] TCP reno registered
 +[    0.344000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.352000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.356000] NET: Registered protocol family 1
 +[    0.364000] PCI: Enabling device 0000:​00:​02.0 (0000 -> 0002)
 +[    0.368000] PCI: Enabling device 0000:​00:​02.2 (0000 -> 0002)
 +[    0.376000] PCI: CLS 0 bytes, default 16
 +[    0.384000] audit: initializing netlink socket (disabled)
 +[    0.388000] type=2000 audit(0.388:​1):​ initialized
 +[    0.396000] squashfs: version 4.0 (2009/​01/​31) Phillip Lougher
 +[    0.400000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 +[    0.412000] msgmni has been set to 25
 +[    0.416000] io scheduler noop registered
 +[    0.420000] io scheduler deadline registered (default)
 +[    0.440000] physmap platform flash device: 01000000 at 1f000000
 +[    0.444000] physmap-flash.0:​ Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
 +[    0.456000] Amd/Fujitsu Extended Query Table at 0x0040
 +[    0.460000] ​  ​Amd/​Fujitsu Extended Query version 1.3.
 +[    0.468000] physmap-flash.0:​ Swapping erase regions for top-boot CFI table.
 +[    0.472000] number of CFI chips: 1
 +[    0.476000] bcm63xxpart:​ CFE boot tag found with version 6 and board type AGW2+
 +[    0.484000] bcm63xxpart:​ Partition 0 is CFE offset 0 and length 10000
 +[    0.492000] bcm63xxpart:​ Partition 1 is kernel offset 10100 and length eff00
 +[    0.500000] bcm63xxpart:​ Partition 2 is rootfs offset 100000 and length 6f0000
 +[    0.508000] bcm63xxpart:​ Partition 3 is nvram offset 7f0000 and length 10000
 +[    0.516000] bcm63xxpart:​ Partition 4 is linux offset 10000 and length 7e0000
 +[    0.520000] bcm63xxpart:​ Spare partition is offset 320004 and length 4cfffc
 +[    0.528000] 5 bcm63xxpart partitions found on MTD device physmap-flash.0
 +[    0.536000] Creating 5 MTD partitions on "​physmap-flash.0":​
 +[    0.540000] 0x000000000000-0x000000010000 : "​CFE"​
 +[    0.552000] 0x000000010100-0x000000100000 : "​kernel"​
 +[    0.560000] mtd: partition "​kernel"​ must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
 +[    0.576000] 0x000000100000-0x0000007f0000 : "​rootfs"​
 +[    0.588000] mtd: partition "​rootfs"​ set to be root filesystem
 +[    0.596000] split_squashfs:​ no squashfs found in "​physmap-flash.0"​
 +[    0.600000] 0x0000007f0000-0x000000800000 : "​nvram"​
 +[    0.612000] 0x000000010000-0x0000007f0000 : "​linux"​
 +[    0.636000] bcm63xx_enet MII bus: probed
 +[    0.644000] bcm63xx_enet bcm63xx_enet.0:​ attached PHY at address 1 [Broadcom BCM63XX (1)]
 +[    0.664000] bcm63xx-wdt bcm63xx-wdt: ​ started, timer margin: 30 sec
 +[    0.672000] Registered led device: AliceAGW2+:​green:​power
 +[    0.672000] Registered led device: AliceAGW2+:​green:​usb/​ethernet
 +[    0.672000] Registered led device: AliceAGW2+:​green:​wifi
 +[    0.676000] Registered led device: AliceAGW2+:​red:​wifi
 +[    0.676000] Registered led device: AliceAGW2+:​green:​security
 +[    0.676000] Registered led device: AliceAGW2+:​red:​security
 +[    0.680000] Registered led device: AliceAGW2+:​green:​adsl
 +[    0.680000] Registered led device: AliceAGW2+:​green:​service
 +[    0.680000] Registered led device: AliceAGW2+:​red:​service
 +[    0.684000] Registered led device: AliceAGW2+:​green:​voip
 +[    0.684000] Registered led device: AliceAGW2+:​red:​voip
 +[    0.684000] zram: num_devices not specified. Using default: 1
 +[    0.692000] zram: Creating 1 devices ...
 +[    0.700000] TCP cubic registered
 +[    0.704000] NET: Registered protocol family 17
 +[    0.708000] 8021q: 802.1Q VLAN Support v1.8
 +[    0.712000] turn off boot console early0
 +[    0.720000] Please be patient, while OpenWrt loads ...
 +[    1.248000] JFFS2 notice: (1) jffs2_build_xattr_subsystem:​ complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
 +[    1.248000] VFS: Mounted root (jffs2 filesystem) readonly on device 31:2.
 +[    1.252000] Freeing unused kernel memory: 200k freed
 +[    4.272000] eth1: link forced UP - 100/full - flow control off/off
 +[    4.556000] roboswitch: Probing device eth0: Failed to enable switch
 +[    4.556000] roboswitch: Probing device eth1: found a 5325! It's a 5350.
 +[   ​12.080000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
 +[   ​12.080000] Backport based on wireless-testing.git master-2012-09-07
 +[   ​12.080000] compat.git: wireless-testing.git
 +[   ​12.336000] cfg80211: Calling CRDA to update world regulatory domain
 +[   ​12.336000] cfg80211: World regulatory domain updated:
 +[   ​12.336000] cfg80211: ​  ​(start_freq - end_freq @ bandwidth), (max_antenna_gain,​ max_eirp)
 +[   ​12.336000] cfg80211: ​  ​(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[   ​12.336000] cfg80211: ​  ​(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
 +[   ​12.336000] cfg80211: ​  ​(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
 +[   ​12.336000] cfg80211: ​  ​(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[   ​12.336000] cfg80211: ​  ​(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[   ​13.492000] b43-phy0: Broadcom 4318 WLAN found (core revision 9)
 +[   ​13.536000] b43-phy0: Found PHY: Analog 3, Type 2 (G), Revision 7
 +[   ​13.560000] Broadcom 43xx driver loaded [ Features: PNL ]
 +[   ​13.628000] Button Hotplug driver version 0.4.1
 +[   ​13.848000] PPP generic driver version 2.4.2
 +[   ​14.040000] ieee80211 phy0: Selected rate control algorithm '​minstrel_ht'​
 +[   ​14.044000] Registered led device: b43-phy0::​tx
 +[   ​14.044000] Registered led device: b43-phy0::​rx
 +[   ​14.044000] Registered led device: b43-phy0::​radio
 +[   ​14.144000] ip_tables: (C) 2000-2006 Netfilter Core Team
 +[   ​14.488000] NET: Registered protocol family 24
 +[   ​14.584000] nf_conntrack version 0.5.0 (206 buckets, 824 max)
 +[   ​15.180000] input: gpio-keys-polled as /​devices/​platform/​gpio-keys-polled.0/​input/​input0
 +[   ​20.388000] device eth0 entered promiscuous mode
 +[   ​20.444000] eth1: link forced UP - 100/full - flow control off/off
 +[   ​20.460000] device eth1 entered promiscuous mode
 +[   ​20.460000] br-lan: port 2(eth1) entered forwarding state
 +[   ​20.460000] br-lan: port 2(eth1) entered forwarding state
 +[   ​22.464000] br-lan: port 2(eth1) entered forwarding state
 +[   ​25.576000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
 +[   ​25.732000] device wlan0 entered promiscuous mode
 +[   ​25.896000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
 +[   ​27.272000] br-lan: port 3(wlan0) entered forwarding state
 +[   ​27.272000] br-lan: port 3(wlan0) entered forwarding state
 +[   ​29.276000] br-lan: port 3(wlan0) entered forwarding state</​nowiki>​
 +</​WRAP>​\\
 +
 +===== Basic configuration =====
 +-> [[doc:​howto:​basic.config|Basic configuration]] After flashing, proceed with this.\\
 +Set up your Internet connection, configure wireless, configure USB port, etc.
 +
 +===== Specific Configuration =====
 +==== Interfaces ====
 +
 +The default network configuration is:
 +^ Interface Name   ^ Description ​           ^ Default configuration ​  ^
 +| br-lan ​          | LAN & WiFi             | 192.168.1.1/​24 ​         |
 +| eth0             | LAN port (Eth1) ​       | None                    |
 +| eth1             | LAN port (Eth2 to 4)   | None                    |
 +| wl0              | WiFi                   | Disabled ​               |
 +
 +==== Failsafe mode ====
 +-> [[doc:​howto:​generic.failsafe]]
 +
 +===== Hardware =====
 +==== Info ====
 +| **[[wp>​Instruction set|Architecture]]:​** ​   | [[wp>​MIPS architecture|MIPS]] |
 +| **Vendor:​** ​         | [[wp>​Broadcom]] |
 +| **[[doc:​techref:​Bootloader]]:​** ​    | [[doc:​techref:​bootloader:​cfe|CFE]] |
 +| **[[doc:​hardware:​soc|System-On-Chip]]:​** ​ | [[doc:​hardware:​soc:​soc.broadcom.bcm63xx|brcm63xx]] |
 +| **[[doc:​hardware:​cpu|CPU]]/​Speed** ​       | BCM6348 256 Mhz |
 +| **Flash-Chip:​** ​     | Macronix MX29LV640MTTC or AMD AM29LV640MT |
 +| **Flash size:​** ​     | 8192 KiB |
 +| **RAM:​** ​            | 16 MiB   |
 +| **Wireless:​** ​       | BCM94318MPG (Chipset BCM4318) |
 +| **Ethernet:​** ​       | Broadcom BCM5325EKQMG w/ vlan support [[doc:​techref:​swconfig]] |
 +| **Internet:​** ​       | no xDSL driver |
 +| **USB:​** ​            | Yes 1x 2.0 Master |
 +| **[[doc:​hardware:​port.serial|Serial]]:​** ​  | [[#​Serial|Yes,​ via mod]]   |
 +| **[[doc:​hardware:​port.jtag|JTAG]]:​** ​      | [[#​JTAG|Yes,​ via mod]]     |
 +
 +==== Photos ====
 +Pirelli Alice Gate 2 Plus Wi-Fi also known as AGA
 +
 +{{http://​www.offertealvolo.com/​joomlacms/​images/​stories/​img_caricate/​alice_gate_voip.jpg}}
 +
 +==== Opening the case ====
 +**Note:** This will void your warranty!
 +
 +{{http://​wiki.ninux.org/​aga?​action=AttachFile&​do=get&​target=aga_DSCN8965.JPG?​400}}
 +
 +==== Serial ====
 +-> [[doc:​hardware:​port.serial]] general information about the serial port, serial port cable, etc.
 +
 +How to connect to the Serial Port of this specific device:
 +
 +Differently from other devices, Alice Gate2 Plus Wi-Fi needs some HW mods to enable serial port.
 +Serial connector is not present but can be soldered (on the side of the smartcard connector, beside JTAG connector).
 +In addition to soldering the serial connector, we have to make one short-circuit (or solder 0 ohms resistor) beside serial connector itself on the component identified as R225
 +
 +|  {{http://​beghiero.myftp.org/​firmware/​roleo/​pirelli_alice_gate_2_plus_wifi(AGA)/​doc/​img/​seriale_jtag.jpg?​300x300}} ​ | This picture shows the point to short-circuit |
 +|  {{http://​beghiero.myftp.org/​firmware/​roleo/​pirelli_alice_gate_2_plus_wifi(AGA)/​doc/​img/​connettore_seriale.jpg?​300x300}} ​ | Once done, you'll have the serial signals on the connector as per this pinout. Some versions might have RX and TX swapped |
 +
 +Serial settings are 115200 8N1.
 +
 +==== JTAG ====
 +-> [[doc:​hardware:​port.jtag]] general information about the JTAG port, JTAG cable, etc.
 +
 +How to connect to the JTAG Port of this specific device:
 +
 +Different from serial port, there is no need to any HW mod to anable JTAG also, as it is enabled by default.
 +JTAG connector is not present, but can be soldered (on the side of the smartcard connector, identified as J11).
 +
 +This is a standard MIPS EJTAG and this is the pinout, when looked from the top.
 +
 +^ Signal ​  ^ PIN   ^ PIN   ^ Signal ​  ^
 +| TRST     | 1     | 2     | GND      |
 +| TDI      | 3     | 4     | GND      |
 +| TDO      | 5     | 6     | GND      |
 +| TMS      | 7     | 8     | GND      |
 +| TCK      | 9     | 10    | GND      |
 +| SRST     | 11    | 12    | GND      |
 +
 +===== Debricking =====
 +-> [[doc:​howto:​generic.debrick]]
 +
 +===== Hardware mods =====
 +As a beginner, you really should inform yourself about [[doc:​hardware:​soldering]] in general and then obtain some practical experience!
 +
 +Adding a second USB 2.0 port (in italian)
 +http://​beghiero.myftp.org/​firmware/​roleo/​pirelli_alice_gate_2_plus_wifi%28AGA%29/​doc/​seconda_usb_alice_gate2_plus_wi-fi.html
 +
 +Adding RAM to the router (in italian)
 +http://​beghiero.myftp.org/​firmware/​roleo/​pirelli_alice_gate_2_plus_wifi%28AGA%29/​doc/​espansione_ram_alice_gate2_plus_wi-fi.html
 +
 +
 +===== Notes =====
 +
 +===== Tags =====
 +[[meta:​tags|How to add tags]]
 +{{tag>​bcm63xx bcm6348 8flash 16ram}}