Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:t-com:spw303v-b [2020/01/08 16:31] – [OpenWrt snapshot (08.01.2020)] "default boot to failsafe mode" hint everlooptoh:t-com:spw303v-b [2021/10/15 08:21] – ↷ Links adapted because of a move operation bobafetthotmail
Line 6: Line 6:
  
 There are 2 models of it, "Typ A" and "Typ B" having completely different hardware. There are 2 models of it, "Typ A" and "Typ B" having completely different hardware.
-[[spw303v|Click here for "Typ A"]].+[[speedport_w_303v|Click here for "Typ A"]].
  
 ===== Supported Versions ===== ===== Supported Versions =====
Line 30: Line 30:
 ---- ----
  
 +===== Bugs =====
  
 +==== Wifi broken - SPROM workaround exists, please scroll down====
 +
 +  * Wifi working kernel 3.10.49 (OpenWrt 14.07) -> [[toh:t-com:spw303v-b#openwrt_1407|OpenWrt 14.07 bootlog]]
 +  * Wifi not working since kernel 4.x (OpenWrt 15.05) -> [[toh:t-com:spw303v-b#openwrt_snapshot_08012020|OpenWrt snapshot (08.01.2020) bootlog]]
 +
 +<code>
 +PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
 +ssb: Found chip with id 0x4322, rev 0x01 and package 0x09
 +ssb: WARNING: Using fallback SPROM failed (err -2)
 +ssb: Failed to register PCI version of SSB with error -2
 +b43-pci-bridge: probe of 0000:00:01.0 failed with error -2
 +</code>
 +
 +tried fixes:
 +
 +change "nvram" to OpenWrt 14.07 setting in ''/openwrt/target/linux/brcm63xx/dts/spw303v.dts'' did not help.
 +
 +OpenWrt 14.07
 +<code>
 +0x0000007e0000-0x000000800000 : "nvram" > 20000
 +0x000000010000-0x0000007e0000 : "linux"
 +</code>
 +
 +OpenWrt trunk
 +<code>
 +0x000000000100-0x0000001d7c5c : "kernel"
 +0x0000001d7c5c-0x0000007e0000 : "rootfs"
 +mtd: device 3 (rootfs) set to be root filesystem
 +1 squashfs-split partitions found on MTD device rootfs
 +0x0000003f0000-0x0000007e0000 : "rootfs_data"
 +0x0000007f0000-0x000000800000 : "nvram" > 10000 -> smaller
 +</code>
 ===== Installation ===== ===== Installation =====
 ---- datatable ---- ---- datatable ----
Line 152: Line 185:
 Installation the proprietary Broadcom drivers Installation the proprietary Broadcom drivers
  
-<code>opkg install kmod-brcm-wl wlc</code>+<code>opkg install kmod-brcm-wl wlc nas</code>
  
 ==== Failsafe mode ==== ==== Failsafe mode ====
Line 179: Line 212:
 OpenWrt snapshot (08.01.2020) boots by default to failsafe mode. OpenWrt snapshot (08.01.2020) boots by default to failsafe mode.
  
-Workaround -> build ur own image:+Workaround -> build your own image:
  
-  * [[docs/guide-developer/build-system/install-buildsystem|Build system – Installation]]+  * [[docs:guide-developer:toolchain:install-buildsystem|Build system – Installation]]
   * [[/docs/guide-developer/build-system/use-buildsystem|Build system – Usage]]   * [[/docs/guide-developer/build-system/use-buildsystem|Build system – Usage]]
  
Line 200: Line 233:
  debounce-interval = <60>;  debounce-interval = <60>;
  };  };
 +
 +==== set pci SPROM fallback to get wifi chip loaded since 21.02.0 ====
 +
 +
 +see https://github.com/hontz1/openwrt_readme_t-com-w303v-B for settings.
 +
 +modify /target/linux/bcm63xx/patches-5.10/516-board-bcm6358.patch
 +
 +modify /target/linux/bcm63xx/patches-5.4/516-board-bcm6358.patch 
 +
 +
 + /* T-Home Speedport W 303V Typ B */
 + static struct board_info __initdata board_spw303v = {
 + .name = "96358-502V",
 + .expected_cpu_id = 0x6358,
 +
 + .has_pci = 1,
 +
 + .has_enet0 = 1,
 + .enet0 = {
 + .has_phy = 1,
 + .use_internal_phy = 1,
 + },
 +
 + .use_fallback_sprom = 1,
 + .fallback_sprom = {
 + .type = SPROM_BCM4322,
 + .pci_bus = 0,
 + .pci_dev = 1,
 + },
 + };
 +
  
  
Line 923: Line 988:
 ==== OpenWrt snapshot (08.01.2020) ==== ==== OpenWrt snapshot (08.01.2020) ====
  
-OpenWrt GCC 8.3.0 r11931-41c19dd542, SMP, factory.bin"default boot to failsafe mode" bug+OpenWrt GCC 8.3.0 r11931-41c19dd542, SMP, factory.bin 
 + 
 +Bugs: 
 +  * "default boot to failsafe mode" 
 +  * wifi not working -> bootlog: [0.511808] b43-pci-bridge: probe of 0000:00:01.0 failed with error -2
  
 <WRAP bootlog> <WRAP bootlog>
Line 1161: Line 1230:
 </WRAP>\\ </WRAP>\\
  
 +==== OpenWrt 14.07 ====
 +
 +OpenWrt/Linaro GCC 4.8-2014.04 r42625, SMP, sysupgrade.bin
 +
 +Wifi working
 +
 +<WRAP bootlog>
 +<nowiki>
 +[    0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42625) ) #3 SMP Wed Oct 1 15:13:13 CEST 2014
 +[    0.000000] Detected Broadcom 0x6358 CPU revision a1
 +[    0.000000] CPU frequency is 300 MHz
 +[    0.000000] 32MB of RAM installed
 +[    0.000000] registering 40 GPIOs
 +[    0.000000] board_bcm963xx: Boot address 0xbe000000
 +[    0.000000] board_bcm963xx: CFE version: 1.0.38-8.19
 +[    0.000000] bootconsole [early0] enabled
 +[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
 +[    0.000000] board: board name: 96358-502V
 +[    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 80351ba0, node_mem_map 81000000
 +[    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, 2-way, linesize 16 bytes.
 +[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
 +[    0.000000] PERCPU: Embedded 7 pages/cpu @81043000 s6624 r8192 d13856 u32768
 +[    0.000000] pcpu-alloc: s6624 r8192 d13856 u32768 alloc=8*4096
 +[    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:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
 +[    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] Memory: 28460k/32768k available (2667k kernel code, 4308k reserved, 745k data, 296k init, 0k highmem)
 +[    0.000000] Hierarchical RCU implementation.
 +[    0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
 +[    0.000000] NR_IRQS:256
 +[    0.032000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
 +[    0.036000] pid_max: default: 32768 minimum: 301
 +[    0.040000] Mount-cache hash table entries: 512
 +[    0.048000] Brought up 1 CPUs
 +[    0.080000] NET: Registered protocol family 16
 +[    0.096000] registering PCI controller with io_map_base unset
 +[    0.100000] registering PCI controller with io_map_base unset
 +[    0.128000] bio: create slab <bio-0> at 0
 +[    0.136000] PCI host bridge to bus 0000:00
 +[    0.140000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
 +[    0.144000] pci_bus 0000:00: root bus resource [io  0x8000000-0x8007fff]
 +[    0.148000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
 +[    0.152000] pci 0000:00:01.0: [14e4:4322] type 00 class 0x028000
 +[    0.152000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x00003fff]
 +[    0.164000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
 +[    0.164000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30003fff]
 +[    0.168000] PCI host bridge to bus 0000:01
 +[    0.172000] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
 +[    0.176000] pci_bus 0000:01: root bus resource [io  0x8008000-0x800ffff]
 +[    0.180000] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
 +[    0.184000] pci 0000:01:1e.0: [14e4:6358] type 02 class 0x060700
 +[    0.184000] pci 0000:01:1e.0: bridge configuration invalid ([bus 00-00]), reconfiguring
 +[    0.188000] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
 +[    0.188000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 05
 +[    0.188000] pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
 +[    0.192000] pci 0000:01:1e.0: BAR 7: assigned [io  0x8008000-0x80080ff]
 +[    0.196000] pci 0000:01:1e.0: BAR 8: assigned [io  0x8008400-0x80084ff]
 +[    0.200000] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
 +[    0.204000] pci 0000:01:1e.0:   bridge window [io  0x8008000-0x80080ff]
 +[    0.208000] pci 0000:01:1e.0:   bridge window [io  0x8008400-0x80084ff]
 +[    0.212000] pci 0000:01:1e.0:   bridge window [mem 0x38000000-0x3fffffff]
 +[    0.216000] PCI: Enabling device 0000:01:1e.0 (0000 -> 0003)
 +[    0.220000] pci 0000:01:1e.0: setting latency timer to 64
 +[    0.224000] Switching to clocksource MIPS
 +[    0.236000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
 +[    0.244000] b43-pci-bridge 0000:00:01.0: setting latency timer to 64
 +[    0.264000] ssb: Found chip with id 0x4322, rev 0x01 and package 0x09
 +[    0.272000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x17, vendor 0x4243)
 +[    0.272000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x10, vendor 0x4243)
 +[    0.272000] ssb: Core 2 found: PCI-E (cc 0x820, rev 0x0B, vendor 0x4243)
 +[    0.272000] ssb: Core 3 found: PCI (cc 0x804, rev 0x0E, vendor 0x4243)
 +[    0.272000] ssb: Core 4 found: USB 2.0 Device (cc 0x81A, rev 0x05, vendor 0x4243)
 +[    0.272000] ssb: Core 5 found: ARM Cortex M3 (cc 0x82A, rev 0x00, vendor 0x4243)
 +[    0.272000] ssb: Core 6 found: Internal Memory (cc 0x80E, rev 0x03, vendor 0x4243)
 +[    0.336000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
 +[    0.344000] NET: Registered protocol family 2
 +[    0.352000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
 +[    0.356000] TCP bind hash table entries: 512 (order: 0, 4096 bytes)
 +[    0.364000] TCP: Hash tables configured (established 512 bind 512)
 +[    0.372000] TCP: reno registered
 +[    0.376000] UDP hash table entries: 256 (order: 1, 8192 bytes)
 +[    0.380000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
 +[    0.388000] NET: Registered protocol family 1
 +[    0.392000] PCI: CLS 0 bytes, default 16
 +[    0.400000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 +[    0.404000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 +[    0.416000] msgmni has been set to 55
 +[    0.420000] io scheduler noop registered
 +[    0.424000] io scheduler deadline registered (default)
 +[    0.436000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
 +[    0.444000] console [ttyS0] enabled, bootconsole disabled
 +[    0.460000] physmap platform flash device: 02000000 at 1e000000
 +[    0.468000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001001
 +[    0.476000] physmap-flash.0: Found an alias at 0x800000 for the chip at 0x0
 +[    0.476000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
 +[    0.476000] physmap-flash.0: Found an alias at 0x1800000 for the chip at 0x0
 +[    0.476000] Amd/Fujitsu Extended Query Table at 0x0040
 +[    0.484000]   Amd/Fujitsu Extended Query version 1.3.
 +[    0.488000] physmap-flash.0: Swapping erase regions for top-boot CFI table.
 +[    0.496000] number of CFI chips: 1
 +[    0.500000] bcm63xxpart: CFE boot tag found with version 6 and board type 96358-502V
 +[    0.508000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
 +[    0.516000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 12ff00
 +[    0.520000] bcm63xxpart: Partition 2 is rootfs offset 140000 and length 6a0000
 +[    0.528000] bcm63xxpart: Partition 3 is nvram offset 7e0000 and length 20000
 +[    0.536000] bcm63xxpart: Partition 4 is linux offset 10000 and length 7d0000
 +[    0.544000] bcm63xxpart: Spare partition is offset 370004 and length 46fffc
 +[    0.552000] 5 bcm63xxpart partitions found on MTD device physmap-flash.0
 +[    0.556000] Creating 5 MTD partitions on "physmap-flash.0":
 +[    0.564000] 0x000000000000-0x000000010000 : "CFE"
 +[    0.572000] 0x000000010100-0x000000140000 : "kernel"
 +[    0.580000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
 +[    0.596000] 0x000000140000-0x0000007e0000 : "rootfs"
 +[    0.604000] mtd: device 2 (rootfs) set to be root filesystem
 +[    0.612000] mtd: partition "rootfs_data" created automatically, ofs=0x370000, len=0x470000
 +[    0.620000] 0x000000370000-0x0000007e0000 : "rootfs_data"
 +[    0.628000] 0x0000007e0000-0x000000800000 : "nvram"
 +[    0.640000] 0x000000010000-0x0000007e0000 : "linux"
 +[    0.652000] bcm63xx-spi bcm63xx-spi: at 0xfffe0800 (irq 9, FIFOs size 542)
 +[    0.672000] libphy: bcm63xx_enet MII bus: probed
 +[    0.676000] bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (2)]
 +[    0.692000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
 +[    0.708000] TCP: cubic registered
 +[    0.712000] NET: Registered protocol family 17
 +[    0.716000] Bridge firewalling registered
 +[    0.720000] 8021q: 802.1Q VLAN Support v1.8
 +[    0.740000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
 +[    0.752000] Freeing unused kernel memory: 296K (80366000 - 803b0000)
 +[    4.096000] Button Hotplug driver version 0.4.1
 +[    4.108000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
 +[    7.064000] eth0: link UP - 100/full - flow control off
 +[    8.724000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
 +[    8.728000] jffs2_build_filesystem(): unlocking the mtd device... done.
 +[    8.736000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
 +[   46.136000] jffs2: notice: (230) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
 +[   47.216000] eth0: link DOWN
 +[   50.364000] NET: Registered protocol family 10
 +[   50.400000] nf_conntrack version 0.5.0 (449 buckets, 1796 max)
 +[   50.420000] ip6_tables: (C) 2000-2006 Netfilter Core Team
 +[   50.444000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
 +[   50.452000] Backport generated by backports.git backports-20140320-37-g5c33da0
 +[   50.468000] ip_tables: (C) 2000-2006 Netfilter Core Team
 +[   50.560000] xt_time: kernel timezone is -0000
 +[   50.652000] cfg80211: Calling CRDA to update world regulatory domain
 +[   50.708000] cfg80211: World regulatory domain updated:
 +[   50.712000] cfg80211:  DFS Master region: unset
 +[   50.716000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
 +[   50.728000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
 +[   50.736000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
 +[   50.744000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
 +[   50.752000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
 +[   50.760000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
 +[   50.768000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
 +[   50.776000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
 +[   50.784000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
 +[   50.824000] PPP generic driver version 2.4.2
 +[   50.844000] NET: Registered protocol family 24
 +[   50.920000] b43-phy0: Broadcom 4322 WLAN found (core revision 16)
 +[   50.960000] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 4
 +[   50.964000] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 3, Version 0
 +[   50.988000] Broadcom 43xx driver loaded [ Features: PNL ]
 +[   50.996000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
 +[   68.996000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
 +[   69.012000] device eth0 entered promiscuous mode
 +[   69.024000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
 +[   69.848000] eth0: link UP - 100/full - flow control off
 +[   69.856000] br-lan: port 1(eth0) entered forwarding state
 +[   69.860000] br-lan: port 1(eth0) entered forwarding state
 +[   69.864000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 +[   69.880000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
 +[   71.864000] br-lan: port 1(eth0) entered forwarding state
 +</nowiki>
 +</WRAP>\\
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
 {{tag>bcm63xx bcm6358 8flash 32ram}} {{tag>bcm63xx bcm6358 8flash 32ram}}
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1