Differences

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

toh:pirelli:agpf [2013/02/02 11:49]
toh:pirelli:agpf [2013/05/13 16:54] (current)
Line 1: Line 1:
====== Pirelli Alice Gate VoIP 2 Plus Wi-Fi Business ====== ====== Pirelli Alice Gate VoIP 2 Plus Wi-Fi Business ======
-This page is about the above mentioned device also know as agpf.\\ +This page is about the above mentioned device also know as **agpf**. 
-There are several models of Alice Gate out there, that are not support at the moment.\\+ 
 +Supported, but without ADSL. 
 +  * Backfire (10.03):\\ [[http://downloads.openwrt.org/backfire/10.03.1/brcm63xx/openwrt-AGV2%2bW-cfe-squashfs-cfe.bin|openwrt-AGV2+W-cfe-squashfs-cfe.bin]] 
 +  * Attitude Adjustment (12.09):\\ [[http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/openwrt-AGV2%2bW-cfe-squashfs-cfe.bin|openwrt-AGV2+W-cfe-squashfs-cfe.bin]] 
 +  * Trunk:\\ [[http://downloads.openwrt.org/snapshots/trunk/brcm63xx/openwrt-AGV2%2bW-cfe-squashfs-cfe.bin|openwrt-AGV2+W-cfe-squashfs-cfe.bin]] 
 + 
 +There are several models of Alice Gate out there, that are not supported at the moment.
===== Hardware ===== ===== Hardware =====
-| CPU |  [[http://www.broadcom.com/products/DSL/xDSL-CPE-Solutions/BCM6358|BCM6358KFBG ]] |  +==== Info ==== 
-| Flash | 16 MByte SPANSION [[http://www.spansion.com/datasheets/s29gl-p_00_a11_e.pdf|S29GL128P]] |  +| **[[wp>Instruction set|Architecture]]:**    | [[wp>MIPS architecture|MIPS]] | 
-| SDRAM | 32 MByte NANYA [[http://www.eu.nanya.com/NanyaAdmin/GetFiles.ashx?ID=116|NT5DS16M16CS ]] |  +| **Vendor:**          | [[wp>Broadcom]] | 
-| LAN MAC/PHY Switch Broadcom BCM5325EKQMG |  +| **[[doc:techref:Bootloader]]:**    | [[doc:techref:bootloader:CFE|CFE]] | 
-| Wi Fi Card BCM94318MPG (Chipset BCM4318) | +| **Board ID:**      | AGPF-S0 | 
 +| **[[doc:hardware:soc|System-On-Chip]]:** | [[http://www.broadcom.com/products/DSL/xDSL-CPE-Solutions/BCM6358|BCM6358KFBG ]] | 
 +| **[[doc:hardware:cpu|CPU]]/Speed**        | BMIPS4350 V1.0 / 300 Mhz [[doc:hardware:soc:soc.broadcom.bcm63xx:smp|BMIPS Dual Core]] | 
 +| **Flash-Chip:**      | Spansion [[http://www.spansion.com/datasheets/s29gl-p_00_a11_e.pdf|S29GL128P]] | 
 +| **Flash size:**      | 16 MiB | 
 +| **RAM:**            | NANYA NT5DS16M16CS / DDR-400  | 
 +| **RAM size:**        | 32 MiB  | 
 +| **Wireless:**        | BCM4318 (miniPCI) | 
 +| **Ethernet:**        | Broadcom  [[http://wiki.openwrt.org/_media/toh/bcm5325_pinout.png|BCM5325]] w/ vlan support [[doc:uci:network#swconfig]] | 
 +| **Internet:**        | ADSL2+
 +| **USB:**            | 1x2.0H | 
 +| **[[doc:hardware:port.serial|Serial]]:**          | [[#Serial|Yes]] | 
 +| **[[doc:hardware:port.jtag|JTAG]]:**            | [[#JTAG|Yes]] |
-===== Boot Time ===== +==== Photos ====
-This is some output at boot time: +
-<code> +
-CFE version 1.0.37-8.7 for AGPF 0007 BCM96358 (32bit,SP,BE) +
-Build Date: lun giu 16 10:47:46 CEST 2008 ( gpaolo@buildserver ) +
-Copyright (C) 2000-2005 Broadcom Corporation.                  +
-Boot Address 0xbe000000+{{:inbox:alice-agpf.jpg?400}}
-Initializing Arena. +==== Serial ==== 
-Initializing Devices.+The serial port is J10, on the left of the switch chip, [[#Picture with highlighted Serial and Jtag|see]]
-Flash info: +|  6 |  GND |  RX |  5 |  
-device_id : ............227E +|  4 |  GND |  Vcc (3.3V) |  3 |  
-meminfo.nsect:..........128 +|  2 |  GND |  TX |  1 |
-totalSize:..............1000000 +
-num_erase_blocks:...... 1 +
-device_size:............1000000+
-Parallel flash device: name MX29L128DT, id 0x227e, size 16384KB +Settings are 115200 8N1
-CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz +
-CPU running TP0 +
-Total memory: 33554432 bytes (32MB)+
-Total memory used by CFE0x80401000 - 0x80528CB0 (1211568) +**NB:** a short circuit between pins ''RX'' and ''TX'' at power up puts the device in a recovery mode with IP ''192.168.1.1'' from where a new firmware can be uploaded. OpenWrt binaries are refused, though, because of invalid CRC. 
-Initialized Data:          0x8041E8A0 - 0x804204C0 (7200) + 
-BSS Area:                  0x804204C0 - 0x80426CB0 (26608) +==== JTAG ==== 
-Local Heap:                0x80426CB0 - 0x80526CB0 (1048576) +Jtag port is J9 near the SoC and the minipci socket, [[#Picture with highlighted Serial and Jtag|see]] 
-Stack Area:                0x80526CB0 - 0x80528CB0 (8192+ 
-Text (code) segment:       0x80401000 - 0x8041E894 (120980+It seems to be a mips e-jtag 14 pin connector with columns swapped (used from the other side?). 
-Boot area (physical):      0x00529000 - 0x00569000 + 
-Relocation Factor:        I:00000000 - D:00000000+|  14 |  DINT |  VREF |  13 |  
 +|  12 |  SRST_N |  GND |  11 |  
 +|  10 |  TCK |  GND |  9 |  
 +|  8 |  TMS |  GND |  7 |  
 +|  6 |  TDO |  GND |  5 |  
 +|  4 |  TDI |  GND |  3 |  
 +|  2 |  TRST_N |  GND |  1 |  
 + 
 +CPU Chip ID: 00000110001101011000000101111111 (0635817F
 + 
 +I used the JTAG port with [[http://urjtag.org|urjtag]], just use the svn version. Useful info on [[http://www.neufbox4.org/wiki/index.php?title=Interface_JTAG|"Neuf Box 4 JTAG" ]] 
 + 
 +You should probably try the [[http://openocd.berlios.de/web/|Open On-Chip Debugger]]
-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      : openrg.img 
-Boot delay (0-9 seconds)          : 1 
-Board Id (0-3)                    : AGPF-S0 
-Number of MAC Addresses (1-32)    : 13 
-Base MAC Address                  : 02:10:18:01:00:01 
-PSI Size (1-64) KBytes            : 24 
-Main Thread Number [0|1]          : 0 
-</code> 
-Note that while the tag on the image say this is an AGPF-S0 board, the web interface tell you this is an AGPF-S1. 
===== FLASH ===== ===== FLASH =====
Line 97: Line 102:
Note, when you flash from jtag the BASE ADDRESS is 0x1E000000 Note, when you flash from jtag the BASE ADDRESS is 0x1E000000
-===== Serial Console ===== 
-The serial port is J10, on the left of the switch chip, [[#Picture with highlighted Serial and Jtag|see]] 
-|  6 |  GND |  RX |  5 |  
-|  4 |  GND |  Vcc (3.3V) |  3 |  
-|  2 |  GND |  TX |  1 |  
- 
-Settings are 115200 8N1 
- 
-**NB:** a short circuit between pins ''RX'' and ''TX'' at power up puts the device in a recovery mode with IP ''192.168.1.1'' from where a new firmware can be uploaded.  OpenWrt binaries are refused, though, because of invalid CRC. 
- 
-===== JTAG ===== 
-Jtag port is J9 near the SoC and the minipci socket, [[#Picture with highlighted Serial and Jtag|see]] 
- 
-It seems to be a mips e-jtag 14 pin connector with columns swapped (used from the other side?). 
- 
-|  14 |  DINT |  VREF |  13 |  
-|  12 |  SRST_N |  GND |  11 |  
-|  10 |  TCK |  GND |  9 |  
-|  8 |  TMS |  GND |  7 |  
-|  6 |  TDO |  GND |  5 |  
-|  4 |  TDI |  GND |  3 |  
-|  2 |  TRST_N |  GND |  1 |  
- 
-CPU Chip ID: 00000110001101011000000101111111 (0635817F) 
- 
-I used the JTAG port with [[http://urjtag.org|urjtag]], just use the svn version. Useful info on [[http://www.neufbox4.org/wiki/index.php?title=Interface_JTAG|"Neuf Box 4 JTAG" ]] 
- 
-You should probably try the [[http://openocd.berlios.de/web/|Open On-Chip Debugger]] 
===== OpenWrt on the machine :-) ===== ===== OpenWrt on the machine :-) =====
Line 189: Line 166:
==== Restore original firmware ==== ==== Restore original firmware ====
 +FIXME
==== Installing OpenWrt ==== ==== Installing OpenWrt ====
You need to setup a tftp server on some host (I can suggest to use dnsmasq for this) to serve the firmware image to the router. You need to setup a tftp server on some host (I can suggest to use dnsmasq for this) to serve the firmware image to the router.
Line 222: Line 199:
</code> </code>
-===== Picture with highlighted Serial and Jtag ===== 
-{{:inbox:alice-agpf.jpg}} +===== Specific OpenWrt configuration ===== 
- +==== Network/Led configuration as Access Point ====
-===== Specific OpenWrt configuration example ===== +
-====== Network/Led configuration as Access Point======+
I can suggest you to use Alice gate with the following network configuration using serial console: I can suggest you to use Alice gate with the following network configuration using serial console:
Line 266: Line 240:
</code> </code>
-===== Leds config =====+==== Leds config ====
Inside /etc/config/system add: Inside /etc/config/system add:
<code> <code>
Line 288: Line 262:
</code> </code>
-====== Network/Led configuration as Client Device ======+==== Network/Led configuration as Client Device ====
<code> <code>
Line 353: Line 327:
option _orig_bridge 'false' option _orig_bridge 'false'
option proto 'dhcp' option proto 'dhcp'
 +</code>
 +===== Bootlogs =====
 +==== OEM bootlog ====
 +<HTML>
 +<p style="padding: 10px;border:1px solid grey;height:600px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF">
 +<code>CFE version 1.0.37-8.7 for AGPF 0007 BCM96358 (32bit,SP,BE)
 +Build Date: lun giu 16 10:47:46 CEST 2008 ( gpaolo@buildserver )
 +Copyright (C) 2000-2005 Broadcom Corporation.                 
 +
 +Boot Address 0xbe000000
 +
 +Initializing Arena.
 +Initializing Devices.
 +
 +Flash info:
 +device_id : ............227E
 +meminfo.nsect:..........128
 +totalSize:..............1000000
 +num_erase_blocks:...... 1
 +device_size:............1000000
 +
 +Parallel flash device: name MX29L128DT, id 0x227e, size 16384KB
 +CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
 +CPU running TP0
 +Total memory: 33554432 bytes (32MB)
 +
 +Total memory used by CFE:  0x80401000 - 0x80528CB0 (1211568)
 +Initialized Data:          0x8041E8A0 - 0x804204C0 (7200)
 +BSS Area:                  0x804204C0 - 0x80426CB0 (26608)
 +Local Heap:                0x80426CB0 - 0x80526CB0 (1048576)
 +Stack Area:                0x80526CB0 - 0x80528CB0 (8192)
 +Text (code) segment:      0x80401000 - 0x8041E894 (120980)
 +Boot area (physical):      0x00529000 - 0x00569000
 +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      : openrg.img
 +Boot delay (0-9 seconds)          : 1
 +Board Id (0-3)                    : AGPF-S0
 +Number of MAC Addresses (1-32)    : 13
 +Base MAC Address                  : 02:10:18:01:00:01
 +PSI Size (1-64) KBytes            : 24
 +Main Thread Number [0|1]          : 0
 +</code>
 +</p>
 +</HTML>
 +
 +Note that while the tag on the image say this is an AGPF-S0 board, the web interface tell you this is an AGPF-S1.
 +
 +==== OpenWrt bootlog ====
 +<HTML>
 +<p style="padding: 10px;border:1px solid grey;height:600px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF">
<code> <code>
 +
 +PUT HERE YOUR BOOTLOG
 +
 +</code>
 +</p>
 +</HTML>
 +
===== Links ===== ===== Links =====

Back to top

toh/pirelli/agpf.1359802141.txt.bz2 · Last modified: 2013/02/02 11:49 (external edit)