Re: b43 driver & Openwrt

2007-10-19 Thread Artem Antonov
Making b43_pci_bridge as module and compiling it in kernel
solves this problem.
But there is still problem with b44 v2.0 - the router doesn't boot with
these changes.
With b44 v1.0 + ssb support
patch for it from openwrt everything seems working ok.

2007/10/18, Artem Antonov <[EMAIL PROTECTED]>:
>
>
> No. There is no bcm43xx.
> And with new b44 driver b43 doesn't work, if cancel this patch 
> https://lists.berlios.de/pipermail/bcm43xx-dev/attachments/20070814/38e5a3de/attachment.ksh
> .
> There is segmentation fault on loading b43 module and I can't see logs,
> why it happens - because the router restarts.
>
> -- Forwarded message --
> > I've updated b44, but it didn't solve the problem.
> >
> > PCI: fixing up bridge
> > PCI: Setting latency timer of device :00: 00.0 to 64
> > PCI: Fixing up device :00: 00.0
> > PCI: Device :00:02.0 not available because of resource collisions
>
> You must still be loading something twice. Are you loading bcm43xx?
>
> > b43-pci-bridge: probe of :00: 02.0 failed with error -22
> > Time: MIPS clocksource has been installed.
> > NET: Registered protocol family 2
> > IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> > TCP established hash table entries: 1024 (order: 1, 8192 bytes)
> > TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
> > TCP: Hash tables configured (established 1024 bind 1024)
> > TCP reno registered
> > squashfs: version 3.0 (2006/03/15) Phillip Lougher
> > Registering mini_fo version $Id$
> > JFFS2 version 2.2. (NAND) (SUMMARY) В(c) 2001-2006 Red Hat, Inc.
> > io scheduler noop registered
> > io scheduler deadline registered (default)
> > Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
> > serial8250: ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
> > serial8250: ttyS1 at MMIO 0x0 (irq = 3) is a 16550A
> > b44.c:v2.0
> > eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:1a:92:bc:d1:88
> > eth1: Broadcom 44xx/47xx 10/100BaseT Ethernet 40:10:18:00:00:2d
>
>


ssb.diff
Description: Binary data
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Fwd: b43 driver & Openwrt

2007-10-18 Thread Artem Antonov
No. There is no bcm43xx.
And with new b44 driver b43 doesn't work, if cancel this patch
https://lists.berlios.de/pipermail/bcm43xx-dev/attachments/20070814/38e5a3de/attachment.ksh
.
There is segmentation fault on loading b43 module and I can't see logs, why
it happens - because the router restarts.

-- Forwarded message --
> I've updated b44, but it didn't solve the problem.
>
> PCI: fixing up bridge
> PCI: Setting latency timer of device :00:00.0 to 64
> PCI: Fixing up device :00: 00.0
> PCI: Device :00:02.0 not available because of resource collisions

You must still be loading something twice. Are you loading bcm43xx?

> b43-pci-bridge: probe of :00:02.0 failed with error -22
> Time: MIPS clocksource has been installed.
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 1024 (order: 1, 8192 bytes)
> TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
> TCP: Hash tables configured (established 1024 bind 1024)
> TCP reno registered
> squashfs: version 3.0 (2006/03/15) Phillip Lougher
> Registering mini_fo version $Id$
> JFFS2 version 2.2. (NAND) (SUMMARY) В(c) 2001-2006 Red Hat, Inc.
> io scheduler noop registered
> io scheduler deadline registered (default)
> Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
> serial8250: ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
> serial8250: ttyS1 at MMIO 0x0 (irq = 3) is a 16550A
> b44.c:v2.0
> eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:1a:92:bc:d1:88
> eth1: Broadcom 44xx/47xx 10/100BaseT Ethernet 40:10:18:00:00:2d
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: b43 driver & Openwrt

2007-10-18 Thread Michael Buesch
(Please stay on-list. I won't debug bugs in private anymore.
 Doing this on list tends to result in fixes a _lot_ faster, as
 a lot more people are involved).

On Thursday 18 October 2007 18:23:01 Артем Антонов wrote:
> I've updated b44, but it didn't solve the problem.
> 
> PCI: fixing up bridge
> PCI: Setting latency timer of device :00:00.0 to 64
> PCI: Fixing up device :00:00.0
> PCI: Device :00:02.0 not available because of resource collisions

You must still be loading something twice. Are you loading bcm43xx?

> b43-pci-bridge: probe of :00:02.0 failed with error -22
> Time: MIPS clocksource has been installed.
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 1024 (order: 1, 8192 bytes)
> TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
> TCP: Hash tables configured (established 1024 bind 1024)
> TCP reno registered
> squashfs: version 3.0 (2006/03/15) Phillip Lougher
> Registering mini_fo version $Id$
> JFFS2 version 2.2. (NAND) (SUMMARY) В(c) 2001-2006 Red Hat, Inc.
> io scheduler noop registered
> io scheduler deadline registered (default)
> Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
> serial8250: ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
> serial8250: ttyS1 at MMIO 0x0 (irq = 3) is a 16550A
> b44.c:v2.0
> eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:1a:92:bc:d1:88
> eth1: Broadcom 44xx/47xx 10/100BaseT Ethernet 40:10:18:00:00:2d

-- 
Greetings Michael.
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: b43 driver & Openwrt

2007-10-18 Thread Michael Buesch
On Wednesday 17 October 2007 21:48:35 Артем Антонов wrote:
> Hi!
> 
> I've tried b43 driver on openwrt.
> Device - ASUS WL500-gP (bcm4318)
> 
> lspci -vv output:
> 
> 00:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g]
> 802.11g Wireless LAN Controller (rev 02)
> Subsystem: ASUSTeK Computer Inc. A6U notebook embedded card
> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
> Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-  SERR-  Latency: 64
> Interrupt: pin A routed to IRQ 6
> Region 0: Memory at 40002000 (32-bit, non-prefetchable) [size=8K]
> 
> with these patches
> https://lists.berlios.de/pipermail/bcm43xx-dev/attachments/20070814/38e5a3de/attachment.ksh&;
> https://lists.berlios.de/pipermail/bcm43xx-dev/attachments/20070814/ca6c6ac2/attachment.kshb43
> doesn't work.
> at boot time there are errors:
> 
> PCI: Device :00:02.0 not available because of resource collisions
> b43-pci-bridge: probe of :00:02.0 failed with error -22


You cannot run the old non-SSB based b44 module together with b43.
You must run b43 and the new SSB based b44 module (that's called version 2).


> (full logs are here: https://dev.openwrt.org/ticket/2521)
> 
> When i try to load b43 module - nothing happens (even no logs). b43 module
> is loading, but no reaction.
>
> I tried to cancel this patch
> https://lists.berlios.de/pipermail/bcm43xx-dev/attachments/20070814/38e5a3de/attachment.ksh
> And driver loads, and it's even working %)
> 
> PCI: Enabling device :00:02.0 ( -> 0002)
> PCI: Fixing up device :00:02.0
> PCI: Setting latency timer of device :00:02.0 to 64
> ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
> ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
> ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
> ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
> ssb: Sonics Silicon Backplane found on PCI device :00:02.0
> b43-phy0: Broadcom 4318 WLAN found
> b43-phy0 debug: Found PHY: Analog 3, Type 2, Revision 7
> b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision 8
> b43-phy0 debug: DebugFS (CONFIG_DEBUG_FS) not enabled in kernel config
> phy0: Selected rate control algorithm 'simple'
> b43-phy0 debug: Loading firmware version 351.126 (2006-07-29 05:54:02)
> b43-phy0 debug: Chip initialized
> b43-phy0 debug: 32-bit DMA initialized
> b43-phy0 debug: Wireless interface started
> b43-phy0 debug: Adding Interface type 1
> 
> Best regards.
> 



-- 
Greetings Michael.
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev