Differences

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

toh:gigaset:sx76x [2012/12/29 17:03]
delboy
toh:gigaset:sx76x [2014/03/03 19:29] (current)
wvdakker
Line 13: Line 13:
===== Hardware Highlights ===== ===== Hardware Highlights =====
^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ UART ^ ^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ UART ^
-| Lantiq Xway Danube @333Mhz Dual Core | 32MB | 8MB | 4 RJ45 ports | Yes | Yes | Yes |+| Lantiq Xway Danube @333Mhz Dual Core (second core is for voip dsp) | 32MB | 8MB | 4 RJ45 ports | Yes | Yes | Yes |
Line 63: Line 63:
  - The modified secondary u-boot bootloader can be flashed from original web interface firmware upgrade section   - The modified secondary u-boot bootloader can be flashed from original web interface firmware upgrade section
  - after replacing the original secondary bootloader over the original WebInterface with the version provided in the link, you need to reboot the device.   - after replacing the original secondary bootloader over the original WebInterface with the version provided in the link, you need to reboot the device.
-  - since there is no OpenWrt in flash yet, after a reboot it will open HTTP server on **192.168.1.1** asking for OpenWrt image. +  - since there is no OpenWrt in flash yet, after a reboot it will open HTTP server on **192.168.1.1** (tho it might be some other IP, such as **192.168.2.1**; it probably depends on the IP preset in your nvram) asking for OpenWrt image. 
- + 
 +|{{:meta:icons:tango:48px-dialog-warning.svg.png?nolink}} | The secondary_boot.img in the link above has broken networking. After flashing it uploading through the HTTP server won't work. You have to use the serial interface and UART method afterwards as described below. |
Line 107: Line 108:
| **Bootloader:** [[doc:techref:bootloader:uboot]] | | **Bootloader:** [[doc:techref:bootloader:uboot]] |
| **System-On-Chip:** Lantiq PSB 50702 E  v1.3 or (v1.4) (MIPS 24Kc) | | **System-On-Chip:** Lantiq PSB 50702 E  v1.3 or (v1.4) (MIPS 24Kc) |
-| **CPU/Speed** 333 Mhz Dual Core |+| **CPU/Speed** 333 Mhz (second core is for voip dsp)|
| **Flash-Chip:** \\ [[http://www.spansion.com/Support/Datasheets/s29gl-a_00_a12_e.pdf|Spansion S29GL064A10TFIR4]] \\ [[http://www.spansion.com/Support/Datasheets/s29gl-n_01.pdf|Spansion S29GL064N90TFI04]] | | **Flash-Chip:** \\ [[http://www.spansion.com/Support/Datasheets/s29gl-a_00_a12_e.pdf|Spansion S29GL064A10TFIR4]] \\ [[http://www.spansion.com/Support/Datasheets/s29gl-n_01.pdf|Spansion S29GL064N90TFI04]] |
| **Flash size:** 8 MiB | | **Flash size:** 8 MiB |
Line 120: Line 121:
CPU info: CPU info:
-<code> +| **system type**             : DANUBE | 
-system type            : DANUBE +| **processor**               : 0 | 
-processor              : 0 +| **cpu model**               : MIPS 4KEc V4.1 | 
-cpu model              : MIPS 4KEc V4.1 +| **BogoMIPS**               : 222.00 | 
-BogoMIPS                : 222.00 +| **wait instruction**       : yes | 
-wait instruction        : yes +| **microsecond timers**     : yes | 
-microsecond timers      : yes +| **tlb_entries**             : 16 | 
-tlb_entries            : 16 +| **extra interrupt vector** : yes | 
-extra interrupt vector  : yes +| **hardware watchpoint**     : yes | 
-hardware watchpoint    : yes +| **VCED exceptions**         : not available | 
-VCED exceptions        : not available +| **VCEI exceptions**         : not available | 
-VCEI exceptions        : not available +
-</code>+
==== Photos ==== ==== Photos ====
Line 155: Line 155:
Pinout:\\ Pinout:\\
{{serialv2_sx76x_danube.jpg?200}} {{serialv2_sx76x_danube.jpg?200}}
 +
 +If your serial cable requires a Vcc, you can use the lower-right pad (i.e. not the one just below the two GND pads, but the one below that).
Serial port is at 3.3V and the bitrate is 115200.\\ Serial port is at 3.3V and the bitrate is 115200.\\
Line 331: Line 333:
=== UART === === UART ===
-To enable uart mode, short pins at boot_sel2 (see picture) and connect boot_sel0 to gnd. Than you can send u-boot.asc(downlaod [[http://downloads.openwrt.org/snapshots/trunk/lantiq/uboot-lantiq-gigaSX76X_DDRsamsung166_ramboot/|here]]) to serial port.\\+To enable uart mode, short pins at boot_sel2 (see picture) and connect boot_sel0 to gnd. Than you can send u-boot.asc(downlaod [[http://downloads.openwrt.org/snapshots/trunk/lantiq/uboot-lantiq-gigasx76x_ram/openwrt-lantiq-gigasx76x_ram-u-boot.asc|here]]) to serial port.\\
For example if your serial port is ttyUSB0 than do: For example if your serial port is ttyUSB0 than do:
"cat u-boot.asc > /dev/ttyUSB0" and wait until u-boot starts. "cat u-boot.asc > /dev/ttyUSB0" and wait until u-boot starts.
Line 345: Line 347:
</code> </code>
 +==== USB POWER ====
 +SX763 uses a DC/DC switching regulator for 5V USB power, and unfortunately the chip is disabled by OpenWRT and other unofficial firmware (as of april 2013).
 +The chip that provides 5V for USB has enable pin (number 7 to be exact), and the original firmware pulls the enable pin from 0.3V to 3.3V about two seconds before the relay makes a click sound. 
-==== Source code ==== +According to datasheet, enable pin can be unconnected if we want the chip to auto-start, and that is exactly what we want. Therefore, we just need to disconnect the pin number 7 and SX763 will have 5V at USB connector all the time.
-There is a tarball with basic code at http://opensource.sagemcom.com/index.php?id=54+
 +Note: When sx76x support gets back to trunk, there will be usb power by default so this hack wont be needed.
-===== External links ===== +{{:media:sx763-5v-usb-hack-medium.jpg|}} 
-http://www.bcsaba.net/+A close-up: 
 + 
 +{{:media:sx763-5v-usb-hack-closeup.jpg|}} 
 + 
 +Another close-up is available at :[[http://pljusak.com/papuk/RSCN1314.JPG]] 
 + 
 +The good sides of this hack are: 1) if you break the pin on the chip no harm is done, and 2) there are no side-effects in possible overloading the other 5V regulator that is used if you bring the 5V from another DC/DC regulator, as in hack that follows. 
 + 
 +Previous version of 5V-USB hack follows: 
 +---- 
 + 
 +Here is example of added usb power (5.05V measured) over simple pin solder so devices can be recognized on boot. 
 +You can even use WIFI dongles as from Attitude Adjustment 12.09-RC1 it works just fine. 
 +USB Dongle tested and working: Edimax EW-7722UnD a/b/g/n - Tested in 40mhz HT mode. Max speed measured (TCP): 20mbit (dirty conditions). 
 +Over USB hub you could add few more which makes this even a very good base station. 
 + 
 +On USB port - solder first pin from top. 
 + 
 +{{:media:sx763_whole.jpg?300}} 
 +{{:media:sx763_usb5v_pin.jpg?300}} 
 +{{:media:sx763_5v_pin.jpg?300}} 
 + 
 +More info can be found on: 
 +http://linux.jezgra.net/2013/02/sx763-hack/  
 + 
 +Please note that side-effects of this power mod are unknown. 
 +(Probably there should be no 'ugly-usb-patch' added anymore, so it doesn't give power on already powered pin.) 
 + 
 +==== Source code ==== 
 +There is a tarball with basic code at http://opensource.sagemcom.com/index.php?id=54
===== Tags ===== ===== Tags =====
-{{tag>fxo ADSL2plus}}+{{tag>fxo ADSL2+ lantiq danube usb 64Mb mod}}

Back to top

toh/gigaset/sx76x.1356797021.txt.bz2 · Last modified: 2012/12/29 17:03 by delboy