Hi,
I'm currently porting a new device to OpenWRT (Arcadyan vrv9519bwac23). I could successfully boot a image and make gpio/leds/buttons/ethernet switch work. But now I'm having problems for getting wifi enabled.
I've seen that this is the first Lantiq device with broadcom wifi chipsets (Broadcom BCM43222 and Broadcom BCM4360). Most of the devices have ralink/atheros chipsets. So I basically tried to enable b43 and see what happens:
[ 13.151866] b43-pci-bridge 0000:00:0e.0: enabling device (0000 -> 0002)
[ 13.215799] ssb: Found chip with id 0xA8D6, rev 0x00 and package 0x08
[ 13.291317] ssb: WARNING: Using fallback SPROM failed (err -2)
[ 13.295812] b43-pci-bridge 0000:00:0e.0: Failed to register PCI version of SSB with error -2
[ 13.304198] b43-pci-bridge: probe of 0000:00:0e.0 failed with error -2
The driver is able to detect the device but does not have access to the SPROM. lspci also can detect the device
root@OpenWrt:/sys/bus/pci# lspci -vv
00:0e.0 Network controller: Broadcom Inc. and subsidiaries Device a8d6
Subsystem: Broadcom Inc. and subsidiaries Device a8d6
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 30
Region 0: Memory at 18000000 (32-bit, non-prefetchable) [size=16K]
lspci: Unable to load libkmod resources: error -12
I have been watching dts from bcm63xx arch seems to be adding sprom-related info via patch, for example:
+static struct board_info __initdata board_AV4202N = {
+ .name = "96368_Swiss_S1",
+ .expected_cpu_id = 0x6368,
+
+ .has_pci = 1,
+ .has_ohci0 = 1,
+ .has_ehci0 = 1,
+ .num_usbh_ports = 2,
+
+ .has_enetsw = 1,
+ .enetsw = {
+ .used_ports = {
+ [0] = {
+ .used = 1,
+ .phy_id = 1,
+ .name = "port1",
+ },
+ [1] = {
+ .used = 1,
+ .phy_id = 2,
+ .name = "port2",
+ },
+ [2] = {
+ .used = 1,
+ .phy_id = 3,
+ .name = "port3",
+ },
+ [3] = {
+ .used = 1,
+ .phy_id = 4,
+ .name = "port4",
+ },
+ },
+ },
+
+ .use_fallback_sprom = 1,
+ .fallback_sprom = {
+ .type = SPROM_BCM4322,
+ .pci_bus = 0,
+ .pci_dev = 1,
+ },
+};
+
I have not seen anything similar on lantiq architecture, and I'm getting a bit lost.
Does someone have any idea how to deal with this?
Thanks in advice,