Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: OpenWrt for ECI B-FOCuS V-2FUb/I Rev.B  (Read 2647 times)

Sailer

  • Just arrived
  • *
  • Posts: 4
OpenWrt for ECI B-FOCuS V-2FUb/I Rev.B
« on: October 13, 2014, 02:27:24 PM »

OpenWrt Barrier Breaker r42763 for ECI B-FOCuS V-2FUb/I Rev.B

http://www.4shared.com/file/3Ixdf7eLba/openwrt-lantiq-xrx200-ECI_FUbI.html

This image is preconfigured as a router for BT Infinity.
IP 192.168.1.254

Known issues:
1. The second lan port does not work (Link is permanently down)
2. 'Reset' button does not work


A short instruction:
 
1. Install any TFTP server
2. Copy file openwrt-lantiq-xrx200-ECI_FUbI-squashfs.image to root directory of your TFTP server
3. Connect your router to computer using any "USB to serial" adapter. (I do not recommend PL2303 based adapters because of dramatically unstable drivers)
This link http://hackingecibfocusv2fubirevb.wordpress.com/2012/08/13/a-solder-free-uart-connection/ may be useful if you want to avoid soldering.
4. Start any terminal program (I use putty.exe) Bitrate 115200-8-1-n
5. Restart your router. You will see something like this.
 
Code: [Select]
ROM VER: 1.
ROM VER: 1.0.5
CFG 01
DDR Access auto data-eye tuning Rev 0.3a
DDR size from 0xa0000000 - 0xa1ffffff
Start DDR tuning [\]
Read DQS Delay Slice0     :00000022
Read DQS Delay Slice1     :00000020
Write DQS Delay Slice0    :00000063
Write DQS Delay Slice1    :00000064


U-Boot 1.0.5 (Apr  6 2011 - 14:02:22)

CLOCK CPU 333M RAM 166M
DRAM:  32 MB

 relocate_code start
 relocate_code finish.

FLASH MANUFACT: 1

FLASH DEVICEID: 7e
Mirror Bit flash: addr[14] = 00002200  addr[15] = 00002210
Flash:  8 MB
Un-Protected 1 sectors

 done
Partial erased from 0xb07ff400 to 0xb07fffff

 done
Partial erased from 0xb07ff400 to 0xb07fffff
In:    serial
Out:   serial
Err:   serial
Net:   fw_addr=0xa0200000
Internal phy(FE) firmware version: 0x0108
vr9 Switch
Hit 'Esc' key to stop autoboot:  0

5a. If you see nothing try to swap RX and TX connectors.

6. Stop booting by <Esc> button
6.a You can make a backup of flash memory using "md" command (quite long)

7. Change ipaddr and serverip params. Press <Enter> at least once before entering of commands. (Copy-Paste is recommended to avoid any mistakes)
 
Code: [Select]
VR9 # setenv ipaddr 192.168.1.1    <--- replace 192.168.1.1 to any free IP if needed
VR9 # setenv serverip 192.168.1.100   <--- replace  192.168.1.100 to IP of your TFTP server
VR9 # saveenv

8. Downloading and flashing of OpenWRT image
Following commands are destructive so be careful.
Code: [Select]
VR9 # tftp 0x81000000 openwrt-lantiq-xrx200-ECI_FUbI-squashfs.image
VR9 # erase 0xb0050000 0xb07f0000
VR9 # cp.b 0x81000000 0xb0050000 0x500000

9. Now start OpenWRT

Code: [Select]
VR9 # go 0xb0050000
You will see something like this

Code: [Select]
## Starting application at 0xB0050000 ...


OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80002000...

[    0.000000] Linux version 3.10.49 (alex@Dev) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42763) ) #181 Sun Oct 12 19:53:45 BST 2014
[    0.000000] SoC: VR9 rev 1.1
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019555 (MIPS 34Kc)
[    0.000000] MIPS: machine is ECI_FUbI - BT OpenReach VDSL Modem (V-2FUb/I)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 803669d0, node_mem_map 81002960
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    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 on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00030410
[    0.000000] Readback ErrCtl register=00030410
[    0.000000] Memory: 28448k/32768k available (2647k kernel code, 4320k reserved, 939k data, 180k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 333MHz
[    0.036000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] pinctrl core: initialized pinctrl subsystem
[    0.052000] NET: Registered protocol family 16
[    0.068000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.072000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.080000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.096000] bio: create slab <bio-0> at 0
[    0.104000] Switching to clocksource MIPS
[    0.112000] NET: Registered protocol family 2
[    0.120000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.124000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.132000] TCP: Hash tables configured (established 512 bind 512)
[    0.136000] TCP: reno registered
[    0.140000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.148000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.152000] NET: Registered protocol family 1
[    0.160000] PCI: CLS 0 bytes, default 32
[    0.160000] gptu: totally 6 16-bit timers/counters
[    0.164000] gptu: misc_register on minor 63
[    0.168000] gptu: succeeded to request irq 126
[    0.172000] gptu: succeeded to request irq 127
[    0.176000] gptu: succeeded to request irq 128
[    0.180000] gptu: succeeded to request irq 129
[    0.188000] gptu: succeeded to request irq 130
[    0.192000] gptu: succeeded to request irq 131
[    0.200000] phy-xrx200 gphy-xrx200.6: requesting lantiq/vr9_phy11g_a1x.bin
[    0.208000] phy-xrx200 gphy-xrx200.6: booting GPHY0 firmware at 18C0000
[    0.212000] phy-xrx200 gphy-xrx200.6: booting GPHY1 firmware at 18C0000
[    0.324000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.332000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.340000] msgmni has been set to 55
[    0.348000] io scheduler noop registered
[    0.352000] io scheduler deadline registered (default)
[    0.356000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112) is a lantiq,asc
[    0.364000] console [ttyLTQ0] enabled, bootconsole disabled
[    0.380000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001000
[    0.388000] ltq_nor: Found an alias at 0x800000 for the chip at 0x0
[    0.388000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.392000]   Amd/Fujitsu Extended Query version 1.3.
[    0.400000] number of CFI chips: 1
[    0.400000] 6 ofpart partitions found on MTD device ltq_nor
[    0.408000] Creating 6 MTD partitions on "ltq_nor":
[    0.412000] 0x000000000000-0x000000030000 : "uboot"
[    0.420000] 0x000000030000-0x000000040000 : "ubootconfig"
[    0.428000] 0x000000040000-0x000000050000 : "rgdb"
[    0.432000] 0x000000050000-0x0000001d0000 : "kernel"
[    0.440000] 0x0000001d0000-0x0000007f0000 : "rootfs"
[    0.448000] mtd: device 4 (rootfs) set to be root filesystem
[    0.452000] mtd: partition "rootfs_data" created automatically, ofs=0x450000, len=0x3a0000
[    0.460000] 0x000000450000-0x0000007f0000 : "rootfs_data"
[    0.468000] 0x0000007f0000-0x000000800000 : "ddrconfig"
[    0.584000] libphy: lantiq,xrx200-mdio: probed
[    0.592000] net-xrx200: invalid MAC, using random
[    0.596000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[    0.604000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[    0.612000] wdt 1f8803f0.watchdog: Init done
[    0.616000] leds-gpio gpio-leds.5: pins are not configured from the driver
[    0.628000] TCP: cubic registered
[    0.628000] NET: Registered protocol family 17
[    0.632000] 8021q: 802.1Q VLAN Support v1.8
[    0.652000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.656000] Freeing unused kernel memory: 180K (80383000 - 803b0000)
[    2.872000] eth0: port 2 got link
[    7.696000] jffs2: notice: (243) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 28 of xref (0 dead, 18 orphan) found.
[    9.572000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH
[    9.572000]
[    9.684000] NET: Registered protocol family 10
[    9.696000] NET: Registered protocol family 8
[    9.700000] NET: Registered protocol family 20
[    9.716000] PPP generic driver version 2.4.2
[    9.732000] nf_conntrack version 0.5.0 (447 buckets, 1788 max)
[    9.748000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.772000] MEI CPE Driver, Version 1.2.0
[    9.772000]
[    9.776000] (c) Copyright 2009, Infineon Technologies AG
[    9.776000]
### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###
[    9.784000]
[    9.784000]
[    9.784000] Lantiq CPE API Driver version: DSL CPE API V4.11.4
[    9.808000]
[    9.808000] Predefined debug level: 2
[    9.820000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.856000] NET: Registered protocol family 24
[    9.892000] xt_time: kernel timezone is -0000
[   17.552000] PTM 1.0.27    PTM (E1) firmware version 0.30
[   17.556000] ifxmips_ptm: PTM init succeed

10. Modify Uboot params.  Repeat 5. and 6.

Code: [Select]
VR9 # bootcmd run bootopenwrt
VR9 # bootopenwrt go 0xb0050000
VR9 # saveenv

11. Restart your router
12. If you want remove packages you do not need (IPv6 for example) to free more memory

Enjoy.



« Last Edit: October 14, 2014, 02:12:59 PM by Sailer »
Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: OpenWrt for ECI B-FOCuS V-2FUb/I Rev.B
« Reply #1 on: October 13, 2014, 03:53:42 PM »

Welcome to the Kitz forum Sailer:)

Thank you for contributing those instructions. I am sure they will be useful.

Just for clarity, I will stress that the new firmware image is for the original /I devices and not for the current /r devices.

(One day I may just get around to doing something with the ECI devices that reside in the grotto, here at The Cattery;) )
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.