Sagem F@ST2704 V2
Как со всеми устройствами BCM63XX, DSL не поддерживается!.
Данные о железе
SoC | Ram | Flash | Network | WiFi | USB | Serial | JTag |
---|---|---|---|---|---|---|---|
Broadcom 6328 / 320 MHz | 64MiB | 8MiB | 4 x 1 | 802.11bgn, 2 antennas | Yes | Yes | ? |
SoC: Broadcom BCM6328 CPU: (Broadcom BMIPS4350 V7.5) 320 MHz (MIPS 32 Big Endian) RAM: 64MiB (DDR2-800-CL5, 8Mbit x 16 I/O x 4 bank device ) ROM: 8MiB (SPI NOR Flash) LAN: (bcm63xx ) ETH Switch 4x1 WLAN: PCI-E bcm43225 802.11bgn* (2 антены) //увы N режим только с Proprietary драйверами!, по умолчанию будет bg// PCI-E 1x (на нем WLAN) USB: 1 USB2.0 (SoC) + USB2.0 hub SMSC USB2514 или FE1.1s (F@ST2804 V7) 4 порта (распаяны 2) UART: 1шт. (SoC) (вероятно есть и второй.) DSL: (SoC) GPIO: bcm63xx-gpio (SoC) 32шт.
Установка OpenWRT:
Достаточно открыть в веб-интерфейсе маршрутизатора раздел Обновление ПО и выбрав stable или trunk сборку, сделать апгрейд:
F@ST2704V2 кто впервые ... ищем это в имени прошивки
- stable гарантированно ставится начиная от релиза “BB” (barrier_breaker) https://downloads.openwrt.org/barrier_breaker/14.07/brcm63xx/generic/openwrt-F%40ST2704V2-squashfs-cfe.bin
- stable рекомендовано 15.05 релиз “CC” (chaos_calmer) https://downloads.openwrt.org/chaos_calmer/15.05/brcm63xx/generic/openwrt-15.05-brcm63xx-generic-F@ST2704V2-squashfs-cfe.bin
- trunk разрабатываемая версия https://downloads.openwrt.org/snapshots/trunk/brcm63xx/generic/openwrt-brcm63xx-generic-FAST2704V2-squashfs-cfe.bin
- сборка от @leks OpenWrt Chaos Calmer r45506 + LuCi(rus) + WAN=LAN4; прошивка занимает 2 минуты. https://yadi.sk/d/KI2XHFzjjf6Ub
"Хороший" путь: пересобрать последние исходники из git
В “основном” все работает “хорошо” (но без поддержки 802.11n)...
Target System (Broadcom BCM63xx) ---> Subtarget (generic) ---> Target Profile (Sagemcom F@ST 2704 V2) --->
Only thing that you need to do (as of 29 July 2014) is to read MAC Address from bootlog (Base MAC Address) or from sticker on router's case and force in /etc/config/wireless to be set on interface.
config wifi-iface option device radio0 option network lan option mode ap option ssid OpenWrt option encryption none option macaddr '2c:e4:XX:XX:XX:XX' # THIS LINE option disabled 0
Issues
When you experience “no data” problems (it appears that you are connected but there is no data flow) try disabling WMM.
config wifi-iface option device 'radio0' option network 'lan' option mode 'ap' option ssid 'OpenWrt' option macaddr '2c:e4:XX:XX:XX:XX' option disabled '0' option wmm '0' # THIS ONE
Оборудование
Фото
Серийный порт
Параметры подключения: 115200
Если “что-то пошло не так”, используя встроенный CFE можно вернуть роутер из состояния “кирпича”...
Загрузочные логи
OpenWrt bootlog
HELO CPUI L1CI DRAM ---- PHYS ZQDN PHYE DINT LSYN USYN MSYN LMBE PASS ---- ZBSS CODE DATA L12F MAIN CFE version 5.38.6 for BCM96328 (32bit,SP,BE) Build Date: Thu Feb 9 17:58:50 CST 2012 (cookiechen@SZ01007.DONGGUAN.CN) Copyright (C) 2005-2010 SAGEM Corporation. HS Serial flash device: name S25FL064, id 0x0116 size 8192KB Total Flash size: 8192K with 128 sectors Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz Main Thread: TP0 Memory Test Passed Total Memory: 67108864 bytes (64MB) Boot Address: 0xb8000000 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 (0-5) : F@ST2704V2 Number of MAC Addresses (1-32) : 11 Base MAC Address : 2c:e4:XX:XX:XX:XX PSI Size (1-64) KBytes : 40 Enable Backup PSI [0|1] : 0 System Log Size (0-256) KBytes : 0 Main Thread Number [0|1] : 0 *** Press any key to stop auto run (1 seconds) *** Auto run second count down: 0 Booting from only image (0xb8010000) ... Code Address: 0x80010000, Entry Address: 0x80010000 LZMA: Prossible old LZMA format, trying to decompress.. Decompression OK! Entry at 0x80010000 Closing network. Disabling Switch ports. Flushing Receive Buffers... 0 buffers found. Closing DMA Channels. Starting program at 0x80010000 [ 0.000000] Linux version 3.10.49 (openwrt@gb-13) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r41842) ) #1 Sun Jul 27 11:39:50 UTC 2014 [ 0.000000] Detected Broadcom 0x6328 CPU revision b0 [ 0.000000] CPU frequency is 320 MHz [ 0.000000] 64MB of RAM installed [ 0.000000] registering 32 GPIOs [ 0.000000] board_bcm963xx: Boot address 0xb8000000 [ 0.000000] board_bcm963xx: CFE version: 53.46.51-56.46-54 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350) [ 0.000000] board: board name: F@ST2704V2 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x03ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x03ffffff] [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes. [ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 61112k/65536k available (2503k kernel code, 4424k reserved, 723k data, 292k init, 0k highmem) [ 0.000000] NR_IRQS:256 [ 0.000000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928) [ 0.036000] pid_max: default: 32768 minimum: 301 [ 0.040000] Mount-cache hash table entries: 512 [ 0.048000] NET: Registered protocol family 16 [ 0.288000] registering PCI controller with io_map_base unset [ 0.300000] bio: create slab <bio-0> at 0 [ 0.308000] PCI host bridge to bus 0000:00 [ 0.312000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x10ffffff] [ 0.316000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.320000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.324000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.328000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff] [ 0.332000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit] [ 0.336000] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.340000] pci 0000:00:00.0: bridge window [mem 0x10f00000-0x10ffffff] [ 0.344000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) [ 0.348000] Switching to clocksource MIPS [ 0.356000] NET: Registered protocol family 2 [ 0.364000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.368000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.376000] TCP: Hash tables configured (established 512 bind 512) [ 0.384000] TCP: reno registered [ 0.388000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.392000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.400000] NET: Registered protocol family 1 [ 0.408000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.416000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.424000] msgmni has been set to 119 [ 0.428000] io scheduler noop registered [ 0.432000] io scheduler deadline registered (default) [ 0.440000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart [ 0.448000] console [ttyS0] enabled, bootconsole disabled [ 0.448000] console [ttyS0] enabled, bootconsole disabled [ 0.468000] m25p80 spi1.0: found s25sl064p, expected m25p80 [ 0.472000] m25p80 spi1.0: s25sl064p (8192 Kbytes) [ 0.480000] bcm63xxpart: CFE boot tag found with version 6 and board type F@ST2704V2 [ 0.488000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000 [ 0.492000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 11ff00 [ 0.500000] bcm63xxpart: Partition 2 is rootfs offset 130000 and length 6c0000 [ 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.524000] bcm63xxpart: Spare partition is offset 300004 and length 4efffc [ 0.528000] 5 bcm63xxpart partitions found on MTD device spi1.0 [ 0.536000] Creating 5 MTD partitions on "spi1.0": [ 0.540000] 0x000000000000-0x000000010000 : "CFE" [ 0.548000] 0x000000010100-0x000000130000 : "kernel" [ 0.552000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.568000] 0x000000130000-0x0000007f0000 : "rootfs" [ 0.576000] mtd: device 2 (rootfs) set to be root filesystem [ 0.584000] mtd: partition "rootfs_data" created automatically, ofs=0x300000, len=0x4f0000 [ 0.592000] 0x000000300000-0x0000007f0000 : "rootfs_data" [ 0.600000] 0x0000007f0000-0x000000800000 : "nvram" [ 0.608000] 0x000000010000-0x0000007f0000 : "linux" [ 0.656000] b53_common: found switch: BCM63xx, rev 0 [ 0.664000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec [ 0.676000] TCP: cubic registered [ 0.676000] NET: Registered protocol family 17 [ 0.684000] Bridge firewalling registered [ 0.688000] 8021q: 802.1Q VLAN Support v1.8 [ 0.704000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 0.716000] Freeing unused kernel memory: 292K (80337000 - 80380000) procd: Console is alive procd: - watchdog - [ 4.172000] Button Hotplug driver version 0.4.1 [ 4.184000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0 procd: - preinit - Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level jffs2 is ready jffs2 is ready [ 8.676000] jffs2: notice: (215) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 9 of xref (0 dead, 2 orphan) found. [ 9.868000] usbcore: registered new interface driver usbfs [ 9.872000] usbcore: registered new interface driver hub [ 9.880000] usbcore: registered new device driver usb [ 10.132000] SCSI subsystem initialized [ 10.152000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 10.160000] ehci-platform: EHCI generic platform driver [ 10.272000] ehci-platform ehci-platform: EHCI Host Controller [ 10.276000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 10.284000] ehci-platform ehci-platform: irq 50, io mem 0xb0002500 [ 10.304000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored [ 10.312000] hub 1-0:1.0: USB hub found [ 10.316000] hub 1-0:1.0: 1 port detected [ 10.328000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 10.336000] ohci-platform ohci-platform: Generic Platform OHCI Controller [ 10.340000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2 [ 10.348000] ohci-platform ohci-platform: irq 49, io mem 0xb0002600 [ 10.416000] hub 2-0:1.0: USB hub found [ 10.420000] hub 2-0:1.0: 1 port detected [ 10.432000] uhci_hcd: USB Universal Host Controller Interface driver [ 10.452000] usbcore: registered new interface driver usb-storage kmod: ran 24 iterations block: extroot: no root or overlay mount defined switching to overlay procd: - early - procd: - watchdog - procd: - ubus - procd: - init - Please press Enter to activate this console. [ 13.720000] NET: Registered protocol family 10 [ 13.736000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002) [ 13.744000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and package 0x0A [ 13.752000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0) [ 13.760000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0) [ 13.768000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0) [ 13.860000] bcma: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM [ 13.868000] bcma: bus0: Using fallback SPROM failed (err -2) [ 13.872000] bcma: bus0: No SPROM available [ 13.888000] bcma: bus0: Bus registered [ 13.908000] nf_conntrack version 0.5.0 (959 buckets, 3836 max) [ 13.928000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 13.952000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea [ 13.960000] Backport generated by backports.git backports-20140320-37-g5c33da0 [ 13.972000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 14.052000] xt_time: kernel timezone is -0000 [ 14.124000] cfg80211: Calling CRDA to update world regulatory domain [ 14.136000] cfg80211: World regulatory domain updated: [ 14.140000] cfg80211: DFS Master region: unset [ 14.144000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 14.156000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 14.164000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 14.172000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 14.180000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A) [ 14.188000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 14.196000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 14.204000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 14.212000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 14.332000] PPP generic driver version 2.4.2 [ 14.340000] NET: Registered protocol family 24 [ 14.400000] b43-phy0: Broadcom 43225 WLAN found (core revision 23) [ 14.404000] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6 [ 14.412000] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 11, Version 0 [ 14.432000] Broadcom 43xx driver loaded [ Features: PNL ] procd: - init complete - [ 25.216000] device eth0.1 entered promiscuous mode [ 25.224000] device eth0 entered promiscuous mode [ 25.232000] br-lan: port 1(eth0.1) entered forwarding state [ 25.236000] br-lan: port 1(eth0.1) entered forwarding state [ 27.240000] br-lan: port 1(eth0.1) entered forwarding state BusyBox v1.22.1 (2014-07-27 11:27:39 UTC) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- BARRIER BREAKER (Bleeding Edge, r41842) ----------------------------------------------------- * 1/2 oz Galliano Pour all ingredients into * 4 oz cold Coffee an irish coffee mug filled * 1 1/2 oz Dark Rum with crushed ice. Stir. * 2 tsp. Creme de Cacao ----------------------------------------------------- root@OpenWrt:/#