Autor Tema: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1  (Leído 311283 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4589
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #20 en: 11-06-2012, 14:46 (Lunes) »
Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

Un "cat /proc/bus/pci/devices" del firmware original tampoco vendría mal ;).

Saludos!

Aquí va lo que pides  ;)

# dmesg
[spoiler]
 MAC Address: 30:39:F2:83:XX:ZZ
eth3: MAC Address: 30:39:F2:83:XX:ZZ
eth0 Link UP 100 mbps full duplex
message received before monitor task is initialized kerSysSendtoMonitorTask
BCM63XX_USB USB Device not present
scsi 0:0:0:0: Direct-Access     USB0912B Flash Disk       8.07 PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 0:0:0:0: [sda] 3948544 512-byte hardware sectors: (2.02 GB/1.88 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda:<5>scsi 1:0:0:0: Direct-Access     USB2.0   FlashDisk        0.00 PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 1:0:0:0: [sdb] 4028936 512-byte hardware sectors: (2.06 GB/1.92 GiB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 00 00 00
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 1:0:0:0: [sdb] Attached SCSI removable disk
 sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:02:00.0 to 64
wl:srom not detected,using main memory mapped srom info(wombo board)
wl:loading /etc/wlan/bcm43225_map.bin
wl0: Broadcom BCMa8d8 802.11 Wireless Controller 5.60.120.1.cpePDG_TEF_SP_4.06L4.2
dgasp: kerSysRegisterDyingGaspHandler: wl0 registered
device eth0 entered promiscuous mode
br0: port 1(eth0) entering forwarding state
ip_tables: (C) 2000-2006 Netfilter Core Team
device eth1 entered promiscuous mode
device eth2 entered promiscuous mode
device eth3 entered promiscuous mode
device wl0 entered promiscuous mode
br0: port 5(wl0) entering forwarding state
BcmAdsl_Initialize=0xC00A10D8, g_pFnNotifyCallback=0xC00D1E04
pSdramPHY=0xA1FFFFF8, 0x1B79DA 0xDEADBEEF
AdslCoreSharedMemInit: shareMemAvailable=484928
AdslCoreHwReset:  AdslOemDataAddr = 0xA1F6AEB4
dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered
XTM Init: 400 rx BDs at 0xa0bb4000
XTM Init: 100 rx BDs at 0xa0b8c800
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (496 buckets, 1984 max)
monitor task is initialized pid= 320
backup_psi_number_blk=6 result=24576
device wl0 left promiscuous mode
br0: port 5(wl0) entering disabled state
device wl0 entered promiscuous mode
br0: port 5(wl0) entering forwarding state
backup_psi_number_blk=6 result=24576
wl0.1 (): not using net_device_ops yet
wl0.2 (): not using net_device_ops yet
wl0.3 (): not using net_device_ops yet
br0: port 5(wl0) entering disabled state
device wl0 left promiscuous mode
br0: port 5(wl0) entering disabled state
device wl0 entered promiscuous mode
br0: port 5(wl0) entering forwarding state
wds0.1 (): not using net_device_ops yet
device wds0.1 entered promiscuous mode
br0: port 6(wds0.1) entering forwarding state
br0: starting userspace STP failed, starting kernel STP
Algorithmics/MIPS FPU Emulator v1.5
backup_psi_number_blk=6 result=24576
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
usb 1-1.2: USB disconnect, address 3
usb 1-1.4: USB disconnect, address 5
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
backup_psi_number_blk=6 result=24576
backup_psi_number_blk=6 result=24576
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state[/spoiler]

# cat /proc/bus/pci/devices
[spoiler]0048    14e46300        31              10002600                       0                       0                       0                       0                       0                       0                     100                       0                       0                       0                       0                       0                       0        ohci_hcd
0050    14e46300        32              10002500                       0                       0                       0                       0                       0                       0                     100                       0                       0                       0                       0                       0                       0        ehci_hcd
0100    14e46328        0                      0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0        pcieport-driver
0200    14e4a8d8        1f              10f00004                       0                       0                       0                       0                       0                       0                    4000                       0                       0                       0                       0                       0                       0        wl
# cat /proc/bus/pci/devices
0048    14e46300        31              10002600                       0                       0                       0                       0                       0                       0                     100                       0                       0                       0                       0                       0                       0        ohci_hcd
0050    14e46300        32              10002500                       0                       0                       0                       0                       0                       0                     100                       0                       0                       0                       0                       0                       0        ehci_hcd
0100    14e46328        0                      0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0        pcieport-driver
0200    14e4a8d8        1f              10f00004                       0                       0                       0                       0                       0                       0                    4000                       0                       0                       0                       0                       0                       0        wl[/spoiler]

Por si acaso, aclaro:
Ahora mismo está enlanzado mediantes WDS (con encriptación wpa) con otro router, un Comtrend ar-5381un.


Valoraciones positivas en compra/venta:
146 en Htcmania
194 en Har2mano
21 en elchapuzasinformatico
12 en gsmspain
 ....
 
Mis equipos en venta: https://drive.google.com/open?id=1Zi_bqLSfg_qCT8sx6JhPaWVvSeZXpcka

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #21 en: 11-06-2012, 15:03 (Lunes) »
Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

Un "cat /proc/bus/pci/devices" del firmware original tampoco vendría mal ;).

Saludos!

Aquí va lo que pides  ;)

# dmesg
[spoiler]
 MAC Address: 30:39:F2:83:XX:ZZ
eth3: MAC Address: 30:39:F2:83:XX:ZZ
eth0 Link UP 100 mbps full duplex
message received before monitor task is initialized kerSysSendtoMonitorTask
BCM63XX_USB USB Device not present
scsi 0:0:0:0: Direct-Access     USB0912B Flash Disk       8.07 PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 0:0:0:0: [sda] 3948544 512-byte hardware sectors: (2.02 GB/1.88 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda:<5>scsi 1:0:0:0: Direct-Access     USB2.0   FlashDisk        0.00 PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 1:0:0:0: [sdb] 4028936 512-byte hardware sectors: (2.06 GB/1.92 GiB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 00 00 00
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 1:0:0:0: [sdb] Attached SCSI removable disk
 sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:02:00.0 to 64
wl:srom not detected,using main memory mapped srom info(wombo board)
wl:loading /etc/wlan/bcm43225_map.bin
wl0: Broadcom BCMa8d8 802.11 Wireless Controller 5.60.120.1.cpePDG_TEF_SP_4.06L4.2
dgasp: kerSysRegisterDyingGaspHandler: wl0 registered
device eth0 entered promiscuous mode
br0: port 1(eth0) entering forwarding state
ip_tables: (C) 2000-2006 Netfilter Core Team
device eth1 entered promiscuous mode
device eth2 entered promiscuous mode
device eth3 entered promiscuous mode
device wl0 entered promiscuous mode
br0: port 5(wl0) entering forwarding state
BcmAdsl_Initialize=0xC00A10D8, g_pFnNotifyCallback=0xC00D1E04
pSdramPHY=0xA1FFFFF8, 0x1B79DA 0xDEADBEEF
AdslCoreSharedMemInit: shareMemAvailable=484928
AdslCoreHwReset:  AdslOemDataAddr = 0xA1F6AEB4
dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered
XTM Init: 400 rx BDs at 0xa0bb4000
XTM Init: 100 rx BDs at 0xa0b8c800
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (496 buckets, 1984 max)
monitor task is initialized pid= 320
backup_psi_number_blk=6 result=24576
device wl0 left promiscuous mode
br0: port 5(wl0) entering disabled state
device wl0 entered promiscuous mode
br0: port 5(wl0) entering forwarding state
backup_psi_number_blk=6 result=24576
wl0.1 (): not using net_device_ops yet
wl0.2 (): not using net_device_ops yet
wl0.3 (): not using net_device_ops yet
br0: port 5(wl0) entering disabled state
device wl0 left promiscuous mode
br0: port 5(wl0) entering disabled state
device wl0 entered promiscuous mode
br0: port 5(wl0) entering forwarding state
wds0.1 (): not using net_device_ops yet
device wds0.1 entered promiscuous mode
br0: port 6(wds0.1) entering forwarding state
br0: starting userspace STP failed, starting kernel STP
Algorithmics/MIPS FPU Emulator v1.5
backup_psi_number_blk=6 result=24576
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
usb 1-1.2: USB disconnect, address 3
usb 1-1.4: USB disconnect, address 5
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
backup_psi_number_blk=6 result=24576
backup_psi_number_blk=6 result=24576
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth0 Link DOWN.
br0: port 1(eth0) entering disabled state
eth0 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state
eth1 Link UP 100 mbps full duplex
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
eth1 Link DOWN.
br0: port 2(eth1) entering disabled state[/spoiler]

# cat /proc/bus/pci/devices
[spoiler]0048    14e46300        31              10002600                       0                       0                       0                       0                       0                       0                     100                       0                       0                       0                       0                       0                       0        ohci_hcd
0050    14e46300        32              10002500                       0                       0                       0                       0                       0                       0                     100                       0                       0                       0                       0                       0                       0        ehci_hcd
0100    14e46328        0                      0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0        pcieport-driver
0200    14e4a8d8        1f              10f00004                       0                       0                       0                       0                       0                       0                    4000                       0                       0                       0                       0                       0                       0        wl
# cat /proc/bus/pci/devices
0048    14e46300        31              10002600                       0                       0                       0                       0                       0                       0                     100                       0                       0                       0                       0                       0                       0        ohci_hcd
0050    14e46300        32              10002500                       0                       0                       0                       0                       0                       0                     100                       0                       0                       0                       0                       0                       0        ehci_hcd
0100    14e46328        0                      0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0        pcieport-driver
0200    14e4a8d8        1f              10f00004                       0                       0                       0                       0                       0                       0                    4000                       0                       0                       0                       0                       0                       0        wl[/spoiler]

Por si acaso, aclaro:
Ahora mismo está enlanzado mediantes WDS (con encriptación wpa) con otro router, un Comtrend ar-5381un.

Ya tengo lo que quería gracias ;).

Después de comer subo un parche con "posible" soporte para el wifi y ya me comentáis si va o no ;).

Saludos!

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #22 en: 11-06-2012, 15:39 (Lunes) »
hola,

Ví tu correo en el hilo del comtrend y ya me sonó el tema :-)

claramente es el problema de este router. En el firmware original tenemos lo siguiente:

00:09.0 Class 0c03: 14e4:6300
00:0a.0 Class 0c03: 14e4:6300
01:00.0 Class 0604: 14e4:6328
02:00.0 Class 0280: 14e4:a8d8

en OpenWrt:

[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)

Claramente no detecta ni el USB 14e4:6300 ni el WIFI 14e4:a8d8 (no he encontrado el modelo de chipset broadcom al que corresponde aún)

Luego aplico tu parche a ver si el WIFI está soportado (en el fw original emplea el wl propietario)

Saludos!

Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

Un "cat /proc/bus/pci/devices" del firmware original tampoco vendría mal ;).

Saludos!

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #23 en: 11-06-2012, 16:11 (Lunes) »
hola,

Ví tu correo en el hilo del comtrend y ya me sonó el tema :-)

claramente es el problema de este router. En el firmware original tenemos lo siguiente:

00:09.0 Class 0c03: 14e4:6300
00:0a.0 Class 0c03: 14e4:6300
01:00.0 Class 0604: 14e4:6328
02:00.0 Class 0280: 14e4:a8d8

en OpenWrt:

[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)

Claramente no detecta ni el USB 14e4:6300 ni el WIFI 14e4:a8d8 (no he encontrado el modelo de chipset broadcom al que corresponde aún)

Luego aplico tu parche a ver si el WIFI está soportado (en el fw original emplea el wl propietario)

Saludos!

Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

Un "cat /proc/bus/pci/devices" del firmware original tampoco vendría mal ;).

Saludos!

Aquí lo tienes.

https://dl.dropbox.com/u/4708147/openwrt/63281T/62381T_wlan.patch

Si puedes pon un log de arranque completo y un "cat /proc/bus/pci/devices".

Saludos!

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #24 en: 11-06-2012, 17:23 (Lunes) »


hola,

Ví tu correo en el hilo del comtrend y ya me sonó el tema :-)

claramente es el problema de este router. En el firmware original tenemos lo siguiente:

00:09.0 Class 0c03: 14e4:6300
00:0a.0 Class 0c03: 14e4:6300
01:00.0 Class 0604: 14e4:6328
02:00.0 Class 0280: 14e4:a8d8

en OpenWrt:

[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)

Claramente no detecta ni el USB 14e4:6300 ni el WIFI 14e4:a8d8 (no he encontrado el modelo de chipset broadcom al que corresponde aún)

Luego aplico tu parche a ver si el WIFI está soportado (en el fw original emplea el wl propietario)

Saludos!

Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

Un "cat /proc/bus/pci/devices" del firmware original tampoco vendría mal ;).

Saludos!

Aquí lo tienes.

https://dl.dropbox.com/u/4708147/openwrt/63281T/62381T_wlan.patch

Si puedes pon un log de arranque completo y un "cat /proc/bus/pci/devices".

Saludos!
« Última modificación: 11-06-2012, 17:25 (Lunes) por gmtii »

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #25 en: 11-06-2012, 17:27 (Lunes) »


hola,

Ví tu correo en el hilo del comtrend y ya me sonó el tema :-)

claramente es el problema de este router. En el firmware original tenemos lo siguiente:

00:09.0 Class 0c03: 14e4:6300
00:0a.0 Class 0c03: 14e4:6300
01:00.0 Class 0604: 14e4:6328
02:00.0 Class 0280: 14e4:a8d8

en OpenWrt:

[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)

Claramente no detecta ni el USB 14e4:6300 ni el WIFI 14e4:a8d8 (no he encontrado el modelo de chipset broadcom al que corresponde aún)

Luego aplico tu parche a ver si el WIFI está soportado (en el fw original emplea el wl propietario)

Saludos!

Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

Un "cat /proc/bus/pci/devices" del firmware original tampoco vendría mal ;).

Saludos!

Aquí lo tienes.

https://dl.dropbox.com/u/4708147/openwrt/63281T/62381T_wlan.patch

Si puedes pon un log de arranque completo y un "cat /proc/bus/pci/devices".

Saludos!

Prueba mi compilación porfa: https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe.bin

Saludos!

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #26 en: 11-06-2012, 17:36 (Lunes) »
buenas,

la detecta pero al configurarla no encuentra el interface radio0

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 65.52.48-48.49
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    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
[    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] 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] Memory: 29416k/32768k available (2219k kernel code, 3352k reserved, 396k data, 196k init,)
[    0.000000] NR_IRQS:128
[    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.276000] registering PCI controller with io_map_base unset
[    0.284000] bio: create slab <bio-0> at 0
[    0.288000] PCI host bridge to bus 0000:00
[    0.292000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.296000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.300000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.304000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.308000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.312000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.316000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.320000] Switching to clocksource MIPS
[    0.328000] NET: Registered protocol family 2
[    0.332000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.340000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.348000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.356000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.360000] TCP reno registered
[    0.364000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.372000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.376000] NET: Registered protocol family 1
[    0.384000] audit: initializing netlink socket (disabled)
[    0.392000] type=2000 audit(0.392:1): initialized
[    0.396000] 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,.
[    0.412000] msgmni has been set to 57
[    0.416000] io scheduler noop registered
[    0.420000] io scheduler deadline registered (default)
�[    0.436000] console [ttyS0] enabled, bootconsole disabled= 36) is a bcm63xx_uart
[    0.436000] console [ttyS0] enabled, bootconsole disabled
[    0.456000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.460000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.468000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.476000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.480000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.488000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.496000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.504000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.512000] bcm63xxpart: Spare partition is offset 260004 and length d8fffc
[    0.516000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.524000] Creating 5 MTD partitions on "spi0.0":
[    0.528000] 0x000000000000-0x000000010000 : "CFE"
[    0.536000] 0x000000010100-0x000000100000 : "kernel"
[    0.540000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller thy
[    0.556000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.564000] mtd: partition "rootfs" set to be root filesystem
[    0.572000] mtd: partition "rootfs_data" created automatically, ofs=260000, len=D90000
[    0.580000] 0x000000260000-0x000000ff0000 : "rootfs_data"
[    0.588000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.596000] 0x000000010000-0x000000ff0000 : "linux"
[    0.640000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.652000] TCP westwood registered
[    0.656000] NET: Registered protocol family 17
[    0.660000] 8021q: 802.1Q VLAN Support v1.8
[    0.676000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.684000] Freeing unused kernel memory: 196k freed
awk: /proc/cpuinfo: No such file or directory
[    3.176000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.388000] roboswitch: Probing device eth0:
[    3.392000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.400000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.408000] roboswitch: Probing device eth1: No such device
[    3.412000] roboswitch: Probing device eth2: No such device
[    3.420000] roboswitch: Probing device eth3: No such device
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -

Please press Enter to activate this console. [   10.820000] Compat-wireless backport release: compat-wir7
[   10.824000] Backport based on wireless-testing.git master-2012-05-29
[   10.832000] compat.git: wireless-testing.git
[   10.888000] cfg80211: Calling CRDA to update world regulatory domain
[   10.892000] cfg80211: World regulatory domain updated:
[   10.900000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.908000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.916000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.924000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.932000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.940000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.204000] There is already a switch registered on the device 'eth0'
[   11.208000] roboswitch: Probing device eth1: No such device
[   11.216000] roboswitch: Probing device eth2: No such device
[   11.220000] roboswitch: Probing device eth3: No such device
[   11.600000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   11.604000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[   11.612000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[   11.620000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[   11.628000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[   11.708000] bcma: Failed to get SPROM: -71
[   11.712000] bcma: Bus registered
[   12.000000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   12.004000] Broadcom 43xx driver loaded [ Features: PNL ]
[   12.044000] Button Hotplug driver version 0.4.1
[   12.248000] PPP generic driver version 2.4.2
[   12.788000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.976000] NET: Registered protocol family 24
[   13.032000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   18.352000] device eth0 entered promiscuous mode
[   18.356000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   18.364000] br-lan: port 1(eth0) entered forwarding state
[   18.372000] br-lan: port 1(eth0) entered forwarding state
[   20.376000] br-lan: port 1(eth0) entered forwarding state

[/spoiler]





hola,

Ví tu correo en el hilo del comtrend y ya me sonó el tema :-)

claramente es el problema de este router. En el firmware original tenemos lo siguiente:

00:09.0 Class 0c03: 14e4:6300
00:0a.0 Class 0c03: 14e4:6300
01:00.0 Class 0604: 14e4:6328
02:00.0 Class 0280: 14e4:a8d8

en OpenWrt:

[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)

Claramente no detecta ni el USB 14e4:6300 ni el WIFI 14e4:a8d8 (no he encontrado el modelo de chipset broadcom al que corresponde aún)

Luego aplico tu parche a ver si el WIFI está soportado (en el fw original emplea el wl propietario)

Saludos!

Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

Un "cat /proc/bus/pci/devices" del firmware original tampoco vendría mal ;).

Saludos!

Aquí lo tienes.

https://dl.dropbox.com/u/4708147/openwrt/63281T/62381T_wlan.patch

Si puedes pon un log de arranque completo y un "cat /proc/bus/pci/devices".

Saludos!

Prueba mi compilación porfa: https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe.bin

Saludos!

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #27 en: 11-06-2012, 22:34 (Lunes) »
buenas,

la detecta pero al configurarla no encuentra el interface radio0

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 65.52.48-48.49
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    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
[    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] 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] Memory: 29416k/32768k available (2219k kernel code, 3352k reserved, 396k data, 196k init,)
[    0.000000] NR_IRQS:128
[    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.276000] registering PCI controller with io_map_base unset
[    0.284000] bio: create slab <bio-0> at 0
[    0.288000] PCI host bridge to bus 0000:00
[    0.292000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.296000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.300000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.304000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.308000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.312000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.316000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.320000] Switching to clocksource MIPS
[    0.328000] NET: Registered protocol family 2
[    0.332000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.340000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.348000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.356000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.360000] TCP reno registered
[    0.364000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.372000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.376000] NET: Registered protocol family 1
[    0.384000] audit: initializing netlink socket (disabled)
[    0.392000] type=2000 audit(0.392:1): initialized
[    0.396000] 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,.
[    0.412000] msgmni has been set to 57
[    0.416000] io scheduler noop registered
[    0.420000] io scheduler deadline registered (default)
�[    0.436000] console [ttyS0] enabled, bootconsole disabled= 36) is a bcm63xx_uart
[    0.436000] console [ttyS0] enabled, bootconsole disabled
[    0.456000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.460000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.468000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.476000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.480000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.488000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.496000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.504000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.512000] bcm63xxpart: Spare partition is offset 260004 and length d8fffc
[    0.516000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.524000] Creating 5 MTD partitions on "spi0.0":
[    0.528000] 0x000000000000-0x000000010000 : "CFE"
[    0.536000] 0x000000010100-0x000000100000 : "kernel"
[    0.540000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller thy
[    0.556000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.564000] mtd: partition "rootfs" set to be root filesystem
[    0.572000] mtd: partition "rootfs_data" created automatically, ofs=260000, len=D90000
[    0.580000] 0x000000260000-0x000000ff0000 : "rootfs_data"
[    0.588000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.596000] 0x000000010000-0x000000ff0000 : "linux"
[    0.640000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.652000] TCP westwood registered
[    0.656000] NET: Registered protocol family 17
[    0.660000] 8021q: 802.1Q VLAN Support v1.8
[    0.676000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.684000] Freeing unused kernel memory: 196k freed
awk: /proc/cpuinfo: No such file or directory
[    3.176000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.388000] roboswitch: Probing device eth0:
[    3.392000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.400000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.408000] roboswitch: Probing device eth1: No such device
[    3.412000] roboswitch: Probing device eth2: No such device
[    3.420000] roboswitch: Probing device eth3: No such device
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -

Please press Enter to activate this console. [   10.820000] Compat-wireless backport release: compat-wir7
[   10.824000] Backport based on wireless-testing.git master-2012-05-29
[   10.832000] compat.git: wireless-testing.git
[   10.888000] cfg80211: Calling CRDA to update world regulatory domain
[   10.892000] cfg80211: World regulatory domain updated:
[   10.900000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.908000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.916000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.924000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.932000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.940000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.204000] There is already a switch registered on the device 'eth0'
[   11.208000] roboswitch: Probing device eth1: No such device
[   11.216000] roboswitch: Probing device eth2: No such device
[   11.220000] roboswitch: Probing device eth3: No such device
[   11.600000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   11.604000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[   11.612000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[   11.620000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[   11.628000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[   11.708000] bcma: Failed to get SPROM: -71
[   11.712000] bcma: Bus registered
[   12.000000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   12.004000] Broadcom 43xx driver loaded [ Features: PNL ]
[   12.044000] Button Hotplug driver version 0.4.1
[   12.248000] PPP generic driver version 2.4.2
[   12.788000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.976000] NET: Registered protocol family 24
[   13.032000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   18.352000] device eth0 entered promiscuous mode
[   18.356000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   18.364000] br-lan: port 1(eth0) entered forwarding state
[   18.372000] br-lan: port 1(eth0) entered forwarding state
[   20.376000] br-lan: port 1(eth0) entered forwarding state

[/spoiler]





hola,

Ví tu correo en el hilo del comtrend y ya me sonó el tema :-)

claramente es el problema de este router. En el firmware original tenemos lo siguiente:

00:09.0 Class 0c03: 14e4:6300
00:0a.0 Class 0c03: 14e4:6300
01:00.0 Class 0604: 14e4:6328
02:00.0 Class 0280: 14e4:a8d8

en OpenWrt:

[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)

Claramente no detecta ni el USB 14e4:6300 ni el WIFI 14e4:a8d8 (no he encontrado el modelo de chipset broadcom al que corresponde aún)

Luego aplico tu parche a ver si el WIFI está soportado (en el fw original emplea el wl propietario)

Saludos!

Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

Un "cat /proc/bus/pci/devices" del firmware original tampoco vendría mal ;).

Saludos!

Aquí lo tienes.

https://dl.dropbox.com/u/4708147/openwrt/63281T/62381T_wlan.patch

Si puedes pon un log de arranque completo y un "cat /proc/bus/pci/devices".

Saludos!

Prueba mi compilación porfa: https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe.bin

Saludos!

Puedes ponerme el log completo de la detección errónea que comentas?

Además te recuerdo que primero tienes que editar /etc/config/wireless y borrar la línea de la interfaz radio0 que pone "option disabled 1". Igual el problema viene de ahí.

1) vi /etc/config/wireless
2) Si te sitúas con el puntero en una línea concreta y presionas dos veces la tecla 'd' se borra la línea. Borras la línea de la interfaz que pone option disabled 1.
3) Guardas el fichero (Escape->:wq->Enter).
4) /etc/init.d/network restart. Copia el log que devuelve este comando.

Saludos!

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #28 en: 11-06-2012, 23:48 (Lunes) »
buenas,

perdona que no pusiera los logs antes...  aqui va con debug activado en el driver b43:

[spoiler]
[    0.000000] Linux version 3.3.7 (chisco@chisco-aluminio) (gcc version 4.6.3 20120201 (prerelease) (Li2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: unknown
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802a3e20, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
  • 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
[    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] 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] Memory: 29384k/32768k available (2243k kernel code, 3384k reserved, 397k data, 200k init,)
[    0.000000] NR_IRQS:128
[    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.276000] registering PCI controller with io_map_base unset
[    0.284000] bio: create slab <bio-0> at 0
[    0.288000] PCI host bridge to bus 0000:00
[    0.292000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.296000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.300000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.300000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.300000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.300000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.300000] pci 0000:01:00.0: supports D1 D2
[    0.300000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.304000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.308000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.312000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.316000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.320000] Switching to clocksource MIPS
[    0.328000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.336000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.340000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.348000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.356000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.364000] bcma: Found rev 6 PMU (capabilities 0x108C2606)
[    0.396000] bcma: SPROM offset 0x800
[    0.436000] bcma: Failed to get SPROM: -71
[    0.440000] bcma: Bus registered
[    0.444000] NET: Registered protocol family 2
[    0.448000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.456000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.464000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.476000] TCP reno registered
[    0.480000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.484000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.492000] NET: Registered protocol family 1
[    0.496000] PCI: CLS 0 bytes, default 16
[    0.500000] audit: initializing netlink socket (disabled)
[    0.504000] type=2000 audit(0.504:1): initialized
[    0.512000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.516000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat,.
[    0.528000] msgmni has been set to 57
[    0.532000] io scheduler noop registered
[    0.536000] io scheduler deadline registered (default)
[    0.544000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.552000] console [ttyS0] enabled, bootconsole disabled
[    0.568000] bcm63xx-hsspi bcm63xx-hsspi.0: registered master spi0
[    0.568000] spi spi0.0: setup mode 0, 8 bits/w, 40000000 Hz max --> 0
[    0.568000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.576000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.580000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.588000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.596000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.604000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.612000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.616000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.624000] bcm63xxpart: Spare partition is offset 2a0004 and length d4fffc
[    0.632000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.640000] Creating 5 MTD partitions on "spi0.0":
[    0.644000] 0x000000000000-0x000000010000 : "CFE"
[    0.652000] 0x000000010100-0x000000100000 : "kernel"
[    0.656000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller thy
[    0.672000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.680000] mtd: partition "rootfs" set to be root filesystem
[    0.684000] mtd: partition "rootfs_data" created automatically, ofs=2A0000, len=D50000
[    0.696000] 0x0000002a0000-0x000000ff0000 : "rootfs_data"
[    0.704000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.712000] 0x000000010000-0x000000ff0000 : "linux"
[    0.716000] bcm63xx-hsspi bcm63xx-hsspi.0: registered child spi0.0
[    0.756000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.764000] Registered led device: 963281T_TEF::internet
[    0.764000] Registered led device: 963281T_TEF::power
[    0.764000] Registered led device: 963281T_TEF::internet-fail
[    0.764000] Registered led device: 963281T_TEF::power-fail
[    0.768000] Registered led device: 963281T_TEF::wps
[    0.768000] Registered led device: 963281T_TEF::dsl
[    0.768000] TCP westwood registered
[    0.772000] NET: Registered protocol family 17
[    0.776000] 8021q: 802.1Q VLAN Support v1.8
[    0.788000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.800000] Freeing unused kernel memory: 200k freed
[    3.364000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.592000] roboswitch: Probing device eth0:
[    3.596000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.604000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.612000] roboswitch: Probing device eth1: No such device
[    3.616000] roboswitch: Probing device eth2: No such device
[    3.624000] roboswitch: Probing device eth3: No such device
[   11.064000] Compat-wireless backport release: compat-wireless-2012-05-16-3-gde86a47
[   11.072000] Backport based on wireless-testing.git master-2012-05-29
[   11.080000] compat.git: wireless-testing.git
[   11.136000] cfg80211: Calling CRDA to update world regulatory domain
[   11.140000] cfg80211: World regulatory domain updated:
[   11.144000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   11.156000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.164000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   11.172000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   11.180000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.188000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.608000] SCSI subsystem initialized
[   11.652000] There is already a switch registered on the device 'eth0'
[   11.660000] roboswitch: Probing device eth1: No such device
[   11.664000] roboswitch: Probing device eth2: No such device
[   11.668000] roboswitch: Probing device eth3: No such device
[   11.892000] usbcore: registered new interface driver usbfs
[   11.900000] usbcore: registered new interface driver hub
[   11.908000] usbcore: registered new device driver usb
[   12.316000] bcma: exports duplicate symbol bcma_core_dma_translation (owned by kernel)
[   12.660000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   12.664000] bcma: Switched to core: 0x812
[   12.664000] b43-phy0 debug: Found PHY: Analog 8, Type 4, Revision 6
[   12.664000] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2056, Revision 11
[   12.668000] Broadcom 43xx driver loaded [ Features: PNL ]
[   12.704000] Button Hotplug driver version 0.4.1
[   13.348000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   13.848000] PPP generic driver version 2.4.2
[   14.216000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.412000] NET: Registered protocol family 24
[   14.628000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   14.668000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   15.348000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   15.428000] usbcore: registered new interface driver cdc_acm
[   15.436000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   15.612000] Initializing USB Mass Storage driver...
[   15.616000] usbcore: registered new interface driver usb-storage
[   15.624000] USB Mass Storage support registered.
[   20.524000] device eth0 entered promiscuous mode
[   20.528000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   20.540000] br-lan: port 1(eth0) entered forwarding state
[   20.544000] br-lan: port 1(eth0) entered forwarding state
[   22.548000] br-lan: port 1(eth0) entered forwarding state
[   34.272000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   34.288000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   34.292000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  123.468000] JFFS2 notice: (909) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of .
[/spoiler]

configuro tal cual comentas y:

wifi
PHY for wifi device radio0 not found
PHY for wifi device radio0 not found

idem para un network restart.

/etc/config/wireless tiene lo siguiente:

Código: [Seleccionar]
config wifi-device  radio0
        option type     mac80211
        option channel  11
        option macaddr  00:00:00:00:00:00
        option hwmode   11g

        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1

config wifi-iface
        option device   radio0
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option encryption none

Saludos.



buenas,

la detecta pero al configurarla no encuentra el interface radio0

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 65.52.48-48.49
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    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
[    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] 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] Memory: 29416k/32768k available (2219k kernel code, 3352k reserved, 396k data, 196k init,)
[    0.000000] NR_IRQS:128
[    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.276000] registering PCI controller with io_map_base unset
[    0.284000] bio: create slab <bio-0> at 0
[    0.288000] PCI host bridge to bus 0000:00
[    0.292000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.296000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.300000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.304000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.308000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.312000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.316000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.320000] Switching to clocksource MIPS
[    0.328000] NET: Registered protocol family 2
[    0.332000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.340000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.348000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.356000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.360000] TCP reno registered
[    0.364000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.372000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.376000] NET: Registered protocol family 1
[    0.384000] audit: initializing netlink socket (disabled)
[    0.392000] type=2000 audit(0.392:1): initialized
[    0.396000] 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,.
[    0.412000] msgmni has been set to 57
[    0.416000] io scheduler noop registered
[    0.420000] io scheduler deadline registered (default)
�[    0.436000] console [ttyS0] enabled, bootconsole disabled= 36) is a bcm63xx_uart
[    0.436000] console [ttyS0] enabled, bootconsole disabled
[    0.456000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.460000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.468000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.476000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.480000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.488000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.496000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.504000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.512000] bcm63xxpart: Spare partition is offset 260004 and length d8fffc
[    0.516000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.524000] Creating 5 MTD partitions on "spi0.0":
[    0.528000] 0x000000000000-0x000000010000 : "CFE"
[    0.536000] 0x000000010100-0x000000100000 : "kernel"
[    0.540000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller thy
[    0.556000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.564000] mtd: partition "rootfs" set to be root filesystem
[    0.572000] mtd: partition "rootfs_data" created automatically, ofs=260000, len=D90000
[    0.580000] 0x000000260000-0x000000ff0000 : "rootfs_data"
[    0.588000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.596000] 0x000000010000-0x000000ff0000 : "linux"
[    0.640000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.652000] TCP westwood registered
[    0.656000] NET: Registered protocol family 17
[    0.660000] 8021q: 802.1Q VLAN Support v1.8
[    0.676000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.684000] Freeing unused kernel memory: 196k freed
awk: /proc/cpuinfo: No such file or directory
[    3.176000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.388000] roboswitch: Probing device eth0:
[    3.392000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.400000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.408000] roboswitch: Probing device eth1: No such device
[    3.412000] roboswitch: Probing device eth2: No such device
[    3.420000] roboswitch: Probing device eth3: No such device
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -

Please press Enter to activate this console. [   10.820000] Compat-wireless backport release: compat-wir7
[   10.824000] Backport based on wireless-testing.git master-2012-05-29
[   10.832000] compat.git: wireless-testing.git
[   10.888000] cfg80211: Calling CRDA to update world regulatory domain
[   10.892000] cfg80211: World regulatory domain updated:
[   10.900000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.908000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.916000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.924000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.932000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.940000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.204000] There is already a switch registered on the device 'eth0'
[   11.208000] roboswitch: Probing device eth1: No such device
[   11.216000] roboswitch: Probing device eth2: No such device
[   11.220000] roboswitch: Probing device eth3: No such device
[   11.600000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   11.604000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[   11.612000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[   11.620000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[   11.628000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[   11.708000] bcma: Failed to get SPROM: -71
[   11.712000] bcma: Bus registered
[   12.000000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   12.004000] Broadcom 43xx driver loaded [ Features: PNL ]
[   12.044000] Button Hotplug driver version 0.4.1
[   12.248000] PPP generic driver version 2.4.2
[   12.788000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.976000] NET: Registered protocol family 24
[   13.032000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   18.352000] device eth0 entered promiscuous mode
[   18.356000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   18.364000] br-lan: port 1(eth0) entered forwarding state
[   18.372000] br-lan: port 1(eth0) entered forwarding state
[   20.376000] br-lan: port 1(eth0) entered forwarding state

[/spoiler]





hola,

Ví tu correo en el hilo del comtrend y ya me sonó el tema :-)

claramente es el problema de este router. En el firmware original tenemos lo siguiente:

00:09.0 Class 0c03: 14e4:6300
00:0a.0 Class 0c03: 14e4:6300
01:00.0 Class 0604: 14e4:6328
02:00.0 Class 0280: 14e4:a8d8

en OpenWrt:

[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)

Claramente no detecta ni el USB 14e4:6300 ni el WIFI 14e4:a8d8 (no he encontrado el modelo de chipset broadcom al que corresponde aún)

Luego aplico tu parche a ver si el WIFI está soportado (en el fw original emplea el wl propietario)

Saludos!

Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

Un "cat /proc/bus/pci/devices" del firmware original tampoco vendría mal ;).

Saludos!

Aquí lo tienes.

https://dl.dropbox.com/u/4708147/openwrt/63281T/62381T_wlan.patch

Si puedes pon un log de arranque completo y un "cat /proc/bus/pci/devices".

Saludos!

Prueba mi compilación porfa: https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe.bin

Saludos!

Puedes ponerme el log completo de la detección errónea que comentas?

Además te recuerdo que primero tienes que editar /etc/config/wireless y borrar la línea de la interfaz radio0 que pone "option disabled 1". Igual el problema viene de ahí.

1) vi /etc/config/wireless
2) Si te sitúas con el puntero en una línea concreta y presionas dos veces la tecla 'd' se borra la línea. Borras la línea de la interfaz que pone option disabled 1.
3) Guardas el fichero (Escape->:wq->Enter).
4) /etc/init.d/network restart. Copia el log que devuelve este comando.

Saludos!

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #29 en: 12-06-2012, 00:10 (Martes) »
buenas,

perdona que no pusiera los logs antes...  aqui va con debug activado en el driver b43:

[spoiler]
[    0.000000] Linux version 3.3.7 (chisco@chisco-aluminio) (gcc version 4.6.3 20120201 (prerelease) (Li2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: unknown
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802a3e20, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
  • 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
[    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] 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] Memory: 29384k/32768k available (2243k kernel code, 3384k reserved, 397k data, 200k init,)
[    0.000000] NR_IRQS:128
[    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.276000] registering PCI controller with io_map_base unset
[    0.284000] bio: create slab <bio-0> at 0
[    0.288000] PCI host bridge to bus 0000:00
[    0.292000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.296000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.300000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.300000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.300000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.300000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.300000] pci 0000:01:00.0: supports D1 D2
[    0.300000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.304000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.308000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.312000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.316000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.320000] Switching to clocksource MIPS
[    0.328000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.336000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.340000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.348000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.356000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.364000] bcma: Found rev 6 PMU (capabilities 0x108C2606)
[    0.396000] bcma: SPROM offset 0x800
[    0.436000] bcma: Failed to get SPROM: -71
[    0.440000] bcma: Bus registered
[    0.444000] NET: Registered protocol family 2
[    0.448000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.456000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.464000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.476000] TCP reno registered
[    0.480000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.484000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.492000] NET: Registered protocol family 1
[    0.496000] PCI: CLS 0 bytes, default 16
[    0.500000] audit: initializing netlink socket (disabled)
[    0.504000] type=2000 audit(0.504:1): initialized
[    0.512000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.516000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat,.
[    0.528000] msgmni has been set to 57
[    0.532000] io scheduler noop registered
[    0.536000] io scheduler deadline registered (default)
[    0.544000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.552000] console [ttyS0] enabled, bootconsole disabled
[    0.568000] bcm63xx-hsspi bcm63xx-hsspi.0: registered master spi0
[    0.568000] spi spi0.0: setup mode 0, 8 bits/w, 40000000 Hz max --> 0
[    0.568000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.576000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.580000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.588000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.596000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.604000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.612000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.616000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.624000] bcm63xxpart: Spare partition is offset 2a0004 and length d4fffc
[    0.632000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.640000] Creating 5 MTD partitions on "spi0.0":
[    0.644000] 0x000000000000-0x000000010000 : "CFE"
[    0.652000] 0x000000010100-0x000000100000 : "kernel"
[    0.656000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller thy
[    0.672000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.680000] mtd: partition "rootfs" set to be root filesystem
[    0.684000] mtd: partition "rootfs_data" created automatically, ofs=2A0000, len=D50000
[    0.696000] 0x0000002a0000-0x000000ff0000 : "rootfs_data"
[    0.704000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.712000] 0x000000010000-0x000000ff0000 : "linux"
[    0.716000] bcm63xx-hsspi bcm63xx-hsspi.0: registered child spi0.0
[    0.756000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.764000] Registered led device: 963281T_TEF::internet
[    0.764000] Registered led device: 963281T_TEF::power
[    0.764000] Registered led device: 963281T_TEF::internet-fail
[    0.764000] Registered led device: 963281T_TEF::power-fail
[    0.768000] Registered led device: 963281T_TEF::wps
[    0.768000] Registered led device: 963281T_TEF::dsl
[    0.768000] TCP westwood registered
[    0.772000] NET: Registered protocol family 17
[    0.776000] 8021q: 802.1Q VLAN Support v1.8
[    0.788000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.800000] Freeing unused kernel memory: 200k freed
[    3.364000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.592000] roboswitch: Probing device eth0:
[    3.596000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.604000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.612000] roboswitch: Probing device eth1: No such device
[    3.616000] roboswitch: Probing device eth2: No such device
[    3.624000] roboswitch: Probing device eth3: No such device
[   11.064000] Compat-wireless backport release: compat-wireless-2012-05-16-3-gde86a47
[   11.072000] Backport based on wireless-testing.git master-2012-05-29
[   11.080000] compat.git: wireless-testing.git
[   11.136000] cfg80211: Calling CRDA to update world regulatory domain
[   11.140000] cfg80211: World regulatory domain updated:
[   11.144000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   11.156000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.164000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   11.172000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   11.180000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.188000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.608000] SCSI subsystem initialized
[   11.652000] There is already a switch registered on the device 'eth0'
[   11.660000] roboswitch: Probing device eth1: No such device
[   11.664000] roboswitch: Probing device eth2: No such device
[   11.668000] roboswitch: Probing device eth3: No such device
[   11.892000] usbcore: registered new interface driver usbfs
[   11.900000] usbcore: registered new interface driver hub
[   11.908000] usbcore: registered new device driver usb
[   12.316000] bcma: exports duplicate symbol bcma_core_dma_translation (owned by kernel)
[   12.660000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   12.664000] bcma: Switched to core: 0x812
[   12.664000] b43-phy0 debug: Found PHY: Analog 8, Type 4, Revision 6
[   12.664000] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2056, Revision 11
[   12.668000] Broadcom 43xx driver loaded [ Features: PNL ]
[   12.704000] Button Hotplug driver version 0.4.1
[   13.348000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   13.848000] PPP generic driver version 2.4.2
[   14.216000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.412000] NET: Registered protocol family 24
[   14.628000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   14.668000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   15.348000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   15.428000] usbcore: registered new interface driver cdc_acm
[   15.436000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   15.612000] Initializing USB Mass Storage driver...
[   15.616000] usbcore: registered new interface driver usb-storage
[   15.624000] USB Mass Storage support registered.
[   20.524000] device eth0 entered promiscuous mode
[   20.528000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   20.540000] br-lan: port 1(eth0) entered forwarding state
[   20.544000] br-lan: port 1(eth0) entered forwarding state
[   22.548000] br-lan: port 1(eth0) entered forwarding state
[   34.272000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   34.288000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   34.292000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  123.468000] JFFS2 notice: (909) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of .
[/spoiler]

configuro tal cual comentas y:

wifi
PHY for wifi device radio0 not found
PHY for wifi device radio0 not found

idem para un network restart.

/etc/config/wireless tiene lo siguiente:

Código: [Seleccionar]
config wifi-device  radio0
        option type     mac80211
        option channel  11
        option macaddr  00:00:00:00:00:00
        option hwmode   11g

        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1

config wifi-iface
        option device   radio0
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option encryption none

Saludos.



buenas,

la detecta pero al configurarla no encuentra el interface radio0

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 65.52.48-48.49
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    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
[    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] 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] Memory: 29416k/32768k available (2219k kernel code, 3352k reserved, 396k data, 196k init,)
[    0.000000] NR_IRQS:128
[    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.276000] registering PCI controller with io_map_base unset
[    0.284000] bio: create slab <bio-0> at 0
[    0.288000] PCI host bridge to bus 0000:00
[    0.292000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.296000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.300000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.304000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.308000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.312000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.316000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.320000] Switching to clocksource MIPS
[    0.328000] NET: Registered protocol family 2
[    0.332000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.340000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.348000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.356000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.360000] TCP reno registered
[    0.364000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.372000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.376000] NET: Registered protocol family 1
[    0.384000] audit: initializing netlink socket (disabled)
[    0.392000] type=2000 audit(0.392:1): initialized
[    0.396000] 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,.
[    0.412000] msgmni has been set to 57
[    0.416000] io scheduler noop registered
[    0.420000] io scheduler deadline registered (default)
�[    0.436000] console [ttyS0] enabled, bootconsole disabled= 36) is a bcm63xx_uart
[    0.436000] console [ttyS0] enabled, bootconsole disabled
[    0.456000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.460000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.468000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.476000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.480000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.488000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.496000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.504000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.512000] bcm63xxpart: Spare partition is offset 260004 and length d8fffc
[    0.516000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.524000] Creating 5 MTD partitions on "spi0.0":
[    0.528000] 0x000000000000-0x000000010000 : "CFE"
[    0.536000] 0x000000010100-0x000000100000 : "kernel"
[    0.540000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller thy
[    0.556000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.564000] mtd: partition "rootfs" set to be root filesystem
[    0.572000] mtd: partition "rootfs_data" created automatically, ofs=260000, len=D90000
[    0.580000] 0x000000260000-0x000000ff0000 : "rootfs_data"
[    0.588000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.596000] 0x000000010000-0x000000ff0000 : "linux"
[    0.640000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.652000] TCP westwood registered
[    0.656000] NET: Registered protocol family 17
[    0.660000] 8021q: 802.1Q VLAN Support v1.8
[    0.676000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.684000] Freeing unused kernel memory: 196k freed
awk: /proc/cpuinfo: No such file or directory
[    3.176000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.388000] roboswitch: Probing device eth0:
[    3.392000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.400000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.408000] roboswitch: Probing device eth1: No such device
[    3.412000] roboswitch: Probing device eth2: No such device
[    3.420000] roboswitch: Probing device eth3: No such device
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -

Please press Enter to activate this console. [   10.820000] Compat-wireless backport release: compat-wir7
[   10.824000] Backport based on wireless-testing.git master-2012-05-29
[   10.832000] compat.git: wireless-testing.git
[   10.888000] cfg80211: Calling CRDA to update world regulatory domain
[   10.892000] cfg80211: World regulatory domain updated:
[   10.900000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.908000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.916000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.924000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.932000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.940000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.204000] There is already a switch registered on the device 'eth0'
[   11.208000] roboswitch: Probing device eth1: No such device
[   11.216000] roboswitch: Probing device eth2: No such device
[   11.220000] roboswitch: Probing device eth3: No such device
[   11.600000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   11.604000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[   11.612000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[   11.620000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[   11.628000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[   11.708000] bcma: Failed to get SPROM: -71
[   11.712000] bcma: Bus registered
[   12.000000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   12.004000] Broadcom 43xx driver loaded [ Features: PNL ]
[   12.044000] Button Hotplug driver version 0.4.1
[   12.248000] PPP generic driver version 2.4.2
[   12.788000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.976000] NET: Registered protocol family 24
[   13.032000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   18.352000] device eth0 entered promiscuous mode
[   18.356000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   18.364000] br-lan: port 1(eth0) entered forwarding state
[   18.372000] br-lan: port 1(eth0) entered forwarding state
[   20.376000] br-lan: port 1(eth0) entered forwarding state

[/spoiler]





hola,

Ví tu correo en el hilo del comtrend y ya me sonó el tema :-)

claramente es el problema de este router. En el firmware original tenemos lo siguiente:

00:09.0 Class 0c03: 14e4:6300
00:0a.0 Class 0c03: 14e4:6300
01:00.0 Class 0604: 14e4:6328
02:00.0 Class 0280: 14e4:a8d8

en OpenWrt:

[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)

Claramente no detecta ni el USB 14e4:6300 ni el WIFI 14e4:a8d8 (no he encontrado el modelo de chipset broadcom al que corresponde aún)

Luego aplico tu parche a ver si el WIFI está soportado (en el fw original emplea el wl propietario)

Saludos!

Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

Un "cat /proc/bus/pci/devices" del firmware original tampoco vendría mal ;).

Saludos!

Aquí lo tienes.

https://dl.dropbox.com/u/4708147/openwrt/63281T/62381T_wlan.patch

Si puedes pon un log de arranque completo y un "cat /proc/bus/pci/devices".

Saludos!

Prueba mi compilación porfa: https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe.bin

Saludos!

Puedes ponerme el log completo de la detección errónea que comentas?

Además te recuerdo que primero tienes que editar /etc/config/wireless y borrar la línea de la interfaz radio0 que pone "option disabled 1". Igual el problema viene de ahí.

1) vi /etc/config/wireless
2) Si te sitúas con el puntero en una línea concreta y presionas dos veces la tecla 'd' se borra la línea. Borras la línea de la interfaz que pone option disabled 1.
3) Guardas el fichero (Escape->:wq->Enter).
4) /etc/init.d/network restart. Copia el log que devuelve este comando.

Saludos!
Vale, por lo que veo es más bien un problema de detección de MAC para el broadcom 43224.

Fijándome más en el log, podemos ver lo siguiente:
Citar
[   11.708000] bcma: Failed to get SPROM: -71

Esto indica que está detectando la pci wlan, pero no es capaz de leer la SPROM que contiene la dirección MAC para el Wifi, necesaria para funcionar.

Aquí ya me atasco, pero al menos hemos cerrado el círculo y la wlan en sí se detecta.

Saludos.

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #30 en: 12-06-2012, 10:50 (Martes) »
Pues si, es un avance.

Le he puesto todo a kanjimonster a ver si nos puede echar una mano; al estar el soporte de la cpu a medias el tema es complicado.

Saludos.

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4589
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #31 en: 19-06-2012, 08:23 (Martes) »
Alguna evolución en este tema ?

Por casa, además del ADB, tengo un Comtrend AR-5387un (que es el que me da servicio de ADSL).

Son bastante parecidos.

Info del ADB

[spoiler]
BCM96328 Broadband Router
Login: 1234
Password:
 > sh


BusyBox v1.00 (2011.04.21-18:13+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# cat /proc/cpuinfo
system type             : 963281T_TEF
processor               : 0
cpu model               : Broadcom4350 V7.5
BogoMIPS                : 319.48
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

unaligned exceptions            : 288
# sysinfo
Number of processes: 44
 11:36am  up 17:25,
load average: 1 min:1.00, 5 min:1.00, 15 min:1.00
              total         used         free       shared      buffers
  Mem:        28208        26884         1324            0         2564
 Swap:            0            0            0
Total:        28208        26884         1324
#

[/spoiler]

Info del Comtrend

[spoiler] > cat /proc/cpuinfo
system type             : 96328A-1441N1
processor               : 0
cpu model               : Broadcom4350 V7.5
BogoMIPS                : 319.48
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

unaligned exceptions            : 152832

 > sysinfo
Number of processes: 49
  8:17am  up 23:01,
load average: 1 min:0.04, 5 min:0.02, 15 min:0.00
              total         used         free       shared      buffers
  Mem:        60528        35708        24820            0         4192
 Swap:            0            0            0
Total:        60528        35708        24820
 >[/spoiler]
Valoraciones positivas en compra/venta:
146 en Htcmania
194 en Har2mano
21 en elchapuzasinformatico
12 en gsmspain
 ....
 
Mis equipos en venta: https://drive.google.com/open?id=1Zi_bqLSfg_qCT8sx6JhPaWVvSeZXpcka

aguera-competicion

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #32 en: 19-06-2012, 11:56 (Martes) »
Pues otro espectante, tengo por casa otro Home Station , y tengo ganas de quitar la vasura que tiene dentro. cada vez se pueden configurar menos estos cacharros :'(

srt8100

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #33 en: 19-06-2012, 13:52 (Martes) »
Aqui hay otro esperando jajajajja.

Como ya comento gmtii esta en manos de kanjimonster, lo que podriamos hacer es crear un post o contactar varios con kanjimonster haver si entre todos hacemos un poquito de presion y se mira el tema..
Creo que gmtii ha echo todo el trabajo sucio, lo mismo es algo que se nos pasa por alto y se soluciona facilmente.

Como podemos contactar con kanjimonster?

un salu2

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #34 en: 19-06-2012, 15:04 (Martes) »
Hola,

Pues he seguido luchando; ví que el chip wifi no está soportado por el driver b43 ni el propietario wl, y probé con el brcm80211 liberado por broadcom que si lo debería hacer; sin embargo se queja de que no reconoce la revisión del chip.

Esta noche tocaré un poco el código y pongo los que vea por aquí a ver si lo engañamos...

Sobre el USB no he avanzado nada; entiendo que el soporte del nuevo bus PCIE en el 6328 debe estar aún a medias y es causa de que no detecte el EHCI...

El post con kanjimonster es https://forum.openwrt.org/viewtopic.php?id=37274.


Saludos.

Aqui hay otro esperando jajajajja.

Como ya comento gmtii esta en manos de kanjimonster, lo que podriamos hacer es crear un post o contactar varios con kanjimonster haver si entre todos hacemos un poquito de presion y se mira el tema..
Creo que gmtii ha echo todo el trabajo sucio, lo mismo es algo que se nos pasa por alto y se soluciona facilmente.

Como podemos contactar con kanjimonster?

un salu2

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #35 en: 20-06-2012, 17:05 (Miércoles) »
A ver si cuando tengáis un rato podéis probar esta versión de firmware y me ponéis el log de arranque.

He intentado hacer que el wifi funcione con el b43 en vez de con bcma.

https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_b43.bin

Saludos!

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4589
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #36 en: 20-06-2012, 19:08 (Miércoles) »
Gracias por el nuevo firm  ;)
En cuanto tenga un rato, instalo y comento  ;D
Valoraciones positivas en compra/venta:
146 en Htcmania
194 en Har2mano
21 en elchapuzasinformatico
12 en gsmspain
 ....
 
Mis equipos en venta: https://drive.google.com/open?id=1Zi_bqLSfg_qCT8sx6JhPaWVvSeZXpcka

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #37 en: 20-06-2012, 19:11 (Miércoles) »
Bootlog:

[spoiler]Starting program at 0x80010000
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 65.52.48-48.49
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    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
[    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] 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] Memory: 29416k/32768k available (2219k kernel code, 3352k reserved, 396k data, 196k init,)
[    0.000000] NR_IRQS:128
[    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.276000] registering PCI controller with io_map_base unset
[    0.284000] bio: create slab <bio-0> at 0
[    0.288000] PCI host bridge to bus 0000:00
[    0.292000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.296000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.300000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.304000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.308000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.312000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.316000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.320000] Switching to clocksource MIPS
[    0.328000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.352000] ssb: PCI-ID not in fallback list
[    0.356000] ssb: Found chip with id 0x0000, rev 0x01 and package 0x00
[    0.360000] ssb: CHIPID not in nrcores fallback list
[    0.408000] ssb: Sonics Silicon Backplane found on PCI device 0000:01:00.0
[    0.416000] NET: Registered protocol family 2
[    0.420000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.428000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.436000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.440000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.448000] TCP reno registered
[    0.452000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.456000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.464000] NET: Registered protocol family 1
[    0.472000] audit: initializing netlink socket (disabled)
[    0.476000] type=2000 audit(0.476:1): initialized
[    0.484000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.488000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat,.
[    0.500000] msgmni has been set to 57
[    0.504000] io scheduler noop registered
[    0.508000] io scheduler deadline registered (default)
�[    0.524000] console [ttyS0] enabled, bootconsole disabled= 36) is a bcm63xx_uart
[    0.524000] console [ttyS0] enabled, bootconsole disabled
[    0.540000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.548000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.552000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.560000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.568000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.576000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.580000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.588000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.596000] bcm63xxpart: Spare partition is offset 260004 and length d8fffc
[    0.604000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.608000] Creating 5 MTD partitions on "spi0.0":
[    0.616000] 0x000000000000-0x000000010000 : "CFE"
[    0.624000] 0x000000010100-0x000000100000 : "kernel"
[    0.628000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller thy
[    0.644000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.652000] mtd: partition "rootfs" set to be root filesystem
[    0.656000] mtd: partition "rootfs_data" created automatically, ofs=260000, len=D90000
[    0.664000] 0x000000260000-0x000000ff0000 : "rootfs_data"
[    0.672000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.680000] 0x000000010000-0x000000ff0000 : "linux"
[    0.724000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.736000] TCP westwood registered
[    0.740000] NET: Registered protocol family 17
[    0.744000] 8021q: 802.1Q VLAN Support v1.8
[    0.756000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.768000] Freeing unused kernel memory: 196k freed
awk: /proc/cpuinfo: No such file or directory
[    3.264000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.476000] roboswitch: Probing device eth0:
[    3.480000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.492000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.496000] roboswitch: Probing device eth1: No such device
[    3.504000] roboswitch: Probing device eth2: No such device
[    3.508000] roboswitch: Probing device eth3: No such device
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -

Please press Enter to activate this console. [   10.900000] Compat-wireless backport release: compat-wir7
[   10.908000] Backport based on wireless-testing.git master-2012-05-29
[   10.916000] compat.git: wireless-testing.git
[   10.968000] cfg80211: Calling CRDA to update world regulatory domain
[   10.972000] cfg80211: World regulatory domain updated:
[   10.980000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.988000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.996000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   11.004000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   11.012000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.020000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.284000] There is already a switch registered on the device 'eth0'
[   11.292000] roboswitch: Probing device eth1: No such device
[   11.296000] roboswitch: Probing device eth2: No such device
[   11.304000] roboswitch: Probing device eth3: No such device
[   11.960000] Broadcom 43xx driver loaded [ Features: PNL ]
[   11.988000] Button Hotplug driver version 0.4.1
[   12.036000] PPP generic driver version 2.4.2
[   12.252000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.444000] NET: Registered protocol family 24
[   12.496000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   17.672000] device eth0 entered promiscuous mode
[   17.676000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   17.688000] br-lan: port 1(eth0) entered forwarding state
[   17.692000] br-lan: port 1(eth0) entered forwarding state
[   19.696000] br-lan: port 1(eth0) entered forwarding state
[   31.300000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   31.316000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   31.320000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[/spoiler]

Creo que añadiste el id a8d8 al b43_pci_bridge.c no?

El driver brcm80211 tiene muy buena pinta; falla aquí. La definición de la 43224 está en los headers, así debe ser  la versión del bus pcie..,
Código: [Seleccionar]
[   13.192000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   13.544000] ieee80211 phy0: wl0: brcms_b_attach: Unsupported Broadcom board type (0xa8d8) or revision)
[   13.556000] ieee80211 phy0: wl0: brcms_b_attach: failed with err 15
[   13.564000] ieee80211 phy0: wl0: brcms_c_attach: failed with err 15
[   13.568000] ieee80211 phy0: brcmsmac: attach() failed with code 15
[   13.576000] brcmsmac: brcms_bcma_probe: brcms_attach failed!

luego leo esto sobre la dirección base de la SPROM en 0x830 en vez de 0x800 que resolvería el fallo al leer la configuración base:

Código: [Seleccionar]
[    0.400000] bcma: SPROM offset 0x800
[    0.440000] bcma: Failed to get SPROM: -71

http://www.spinics.net/lists/linux-wireless/msg84955.html

Intentaré tirar por aquí porque otra cosa no se me ocurre...

Saludos.

A ver si cuando tengáis un rato podéis probar esta versión de firmware y me ponéis el log de arranque.

He intentado hacer que el wifi funcione con el b43 en vez de con bcma.

https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_b43.bin

Saludos!

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #38 en: 21-06-2012, 14:01 (Jueves) »
Definitivamente hay que hacerlo con bcma...

De todas formas, pongo aquí los parches que he utilizado para el soporte básico de la placa sin wifi. Con ellos se puede hacer make clean, sin necesidad de andar editando cada vez que se actualiza la revisión de openwrt.

Parches que se aplican una única vez, al clonar el proyecto openwrt y hay que hacerlo manualmente:
Parche para añadir la placa al target brcm63xx: https://dl.dropbox.com/u/4708147/openwrt/63281T/brcm63xx_target_963281T_TEF.patch

Parches para situar en "target/linux/brcm63xx/patches-3.3" (Con ellos podemos hacer make clean sin miedo ;D)
Parche para añadir la comprobación del CFE "cfe-": https://dl.dropbox.com/u/4708147/openwrt/63281T/900-cfe_version.patch
Parche para añadir la definición de la placa 963281T_TEF: https://dl.dropbox.com/u/4708147/openwrt/63281T/901-board-963281T_TEF.patch

Saludos!

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #39 en: 22-06-2012, 02:33 (Viernes) »
Estoy probando varias cosas con el wifi, cuando consiga algo os lo comento.

A parte de eso, podrías poner los colores de cada LED para enviar los parches para que añadan el soporte para esta placa?
963281T_TEF::internet > ?
963281T_TEF::power > ?
963281T_TEF::internet-fail > ?
963281T_TEF::power-fail > ?
963281T_TEF::wps > ?
963281T_TEF::dsl > ?

Más preguntas:
¿Este router no tiene ningún botón?
¿Seguro que todos los LEDs son active_low?
¿Los puertos ethernet funcionan TODOS?

Saludos!
« Última modificación: 22-06-2012, 02:35 (Viernes) por Noltari »

//FINAL Y MÁS DOS RESPUESTAS