?>/script>'; } ?> [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1 Widgets Magazine

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

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

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #80 en: 27-06-2012, 16:13 (Miércoles) »
Si eso puedes intentar a hacer como en los firmwares de los comtrend. No deja de ser un firmware de movistar y puede que cuele.
Una vez logueado al router, haces:
Código: [Seleccionar]
ping ; sh
Si hay el mismo bug que en los Comtrend, eso debería ejecutar busybox, dejándote introducir cualquier comando linux.
Pones dmesg y ya tienes el boot log ;).

Bien, lo miraré, pero ya será mañana ...
En el Comtrend AR-5387un desde luego ya no funciona.

Me acaban de contestar por mail los de ADB
Que jodíos, me quieren enviar el cd por courier y cobrarme los costes  ;D
Con SW, se refieren al firmware ?


Citar
Dear Sir,

Could you please provide the SW version you are interested in?
Per our policy the source code will be shipped on a CD via courier, at your cost.
Moreover, please provide shipping address for source code CD.
Thanks

ADB Broadband

-----Original Message-----
From: xxxxxx
Sent: mercoledì 27 giugno 2012 14:45
To: ADBB GPL
Subject: P.DG A4001N

Hi

I am interested in the following product code gpl

ADB P.DG A4001N

My address

xxxxxx

Teléfono: xxxxxx

Thanks.


Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #81 en: 27-06-2012, 16:43 (Miércoles) »
Si eso puedes intentar a hacer como en los firmwares de los comtrend. No deja de ser un firmware de movistar y puede que cuele.
Una vez logueado al router, haces:
Código: [Seleccionar]
ping ; sh
Si hay el mismo bug que en los Comtrend, eso debería ejecutar busybox, dejándote introducir cualquier comando linux.
Pones dmesg y ya tienes el boot log ;).

Bien, lo miraré, pero ya será mañana ...
En el Comtrend AR-5387un desde luego ya no funciona.

Me acaban de contestar por mail los de ADB
Que jodíos, me quieren enviar el cd por courier y cobrarme los costes  ;D
Con SW, se refieren al firmware ?


Citar
Dear Sir,

Could you please provide the SW version you are interested in?
Per our policy the source code will be shipped on a CD via courier, at your cost.
Moreover, please provide shipping address for source code CD.
Thanks

ADB Broadband

-----Original Message-----
From: xxxxxx
Sent: mercoledì 27 giugno 2012 14:45
To: ADBB GPL
Subject: P.DG A4001N

Hi

I am interested in the following product code gpl

ADB P.DG A4001N

My address

xxxxxx

Teléfono: xxxxxx

Thanks.

Diles que la última versión o la que se corresponda con el operador Movistar para España.

Eso es a lo que me refería con intentar que nos lo facilitaran virtualmente, porque especficia que los costes del envío físico corren a cuenta del que lo solicite...

gmtii

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

Hay un led que debe parpadear mientras el router inicia, el power. El parche tiene mal el nombre:

Index: target/linux/brcm63xx/base-files/lib/brcm63xx.sh
===================================================================
--- target/linux/brcm63xx/base-files/lib/brcm63xx.sh   (revisión: 32489)
+++ target/linux/brcm63xx/base-files/lib/brcm63xx.sh   (copia de trabajo)
@@ -26,6 +26,10 @@
       status_led="963281TAN::power"
       ifname=eth0
       ;;
+   963281T_TEF)
+      status_led="963281T_TEF::power"
+      ifname=eth0
+      ;;

en la definición de leds lo llamaste 963281T_TEF:green:power

Adjunto el log del fw original. Hay una cosa común a los broadcom con el driver propietario y es este mensaje:

[spoiler]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[/spoiler]

la verdad es que el router tiene una partición nvram, y por un momento pensé que como los soc 47xx cogen la srom de ahí, pero por el contenido parecen dos copias de la configuración del router con el fw original...  :P

Saludos

BOOTLOG[spoiler]CFE version 1.0.37-106.24 for A4001N TEF 0002 BCM96328 (32bit,SP,BE)
Build Date: Wed Jan 26 12:59:25 CET 2011 (zu1costast@thorold)
Copyright (C) 2000-2009 Broadcom Corporation.

HS Serial flash device: name MX25L128, id 0xc218 size 16384KB
Total Flash size: 16384K with 4096 sectors
Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 33554432 bytes (32MB)
Boot Address: 0xb8000000

Board IP address                  : 192.168.1.1:ffffff00  
Host IP address                   : 192.168.1.10  
Gateway IP address                :  
Run from flash/host (f/h)         : f  
Default host run file name        : run.bin  
Default host flash file name      : 2.bin  
Boot delay (0-9 seconds)          : 9  
Board Id (0-4)                    : 963281T_TEF  
Number of MAC Addresses (1-32)    : 11  
Base MAC Address                  : 30:39:f2:87:8f:41  
PSI Size (1-64) KBytes            : 24  
Enable Backup PSI [0|1]           : 1  
System Log Size (0-256) KBytes    : 0  
Main Thread Number [0|1]          : 0  
Voice Board Configuration (0-11)  :  

*** Press any key to stop auto run (9 seconds) ***
Auto run second count down: 9
web info: Waiting for connection on socket 0.
web info: Waiting for connection on socket 1.
web info: Waiting for connection on socket 2.
web info: Waiting for connection on socket 0.
web info: Waiting for connection on socket 1.
web info: Upload 6818609 bytes, Broadcom image format.
web info: Waiting for connection on socket 0.

Flashing root file system and kernel at 0xb8800000: .....................................................

.
*** Image flash done *** !

Resetting board...HELO
CPUI
L1CI
DRAM
----
PHYS
ZQDN
PHYE
DINT
LSYN
USYN
MSYN
LMBE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN


CFE version 1.0.37-106.24 for A4001N TEF 0002 BCM96328 (32bit,SP,BE)
Build Date: Wed Jan 26 12:59:25 CET 2011 (zu1costast@thorold)
Copyright (C) 2000-2009 Broadcom Corporation.

HS Serial flash device: name MX25L128, id 0xc218 size 16384KB
Total Flash size: 16384K with 4096 sectors
Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 33554432 bytes (32MB)
Boot Address: 0xb8000000

Board IP address                  : 192.168.1.1:ffffff00  
Host IP address                   : 192.168.1.10  
Gateway IP address                :  
Run from flash/host (f/h)         : f  
Default host run file name        : run.bin  
Default host flash file name      : 2.bin  
Boot delay (0-9 seconds)          : 9  
Boot image (0=latest, 1=previous) : 0  
Board Id (0-4)                    : 963281T_TEF  
Number of MAC Addresses (1-32)    : 11  
Base MAC Address                  : 30:39:f2:87:8f:41  
PSI Size (1-64) KBytes            : 24  
Enable Backup PSI [0|1]           : 1  
System Log Size (0-256) KBytes    : 0  
Main Thread Number [0|1]          : 0  
Voice Board Configuration (0-11)  :  

*** Press any key to stop auto run (9 seconds) ***
Auto run second count down: 0
Booting from latest image (0xb8800000) ...
Code Address: 0x80010000, Entry Address: 0x80014230
Decompression OK!
Entry at 0x80014230
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x80014230
Linux version 2.6.30 (zu1costast@thorold) (gcc version 4.4.2 (Buildroot 2010.02-git) ) #1 Thu Apr 21 20:1
HS Serial flash device: name MX25L128, id 0xc218 size 16384KB
963281T_TEF prom init
CPU revision is: 0002a075 (Broadcom4350)
Determined physical RAM map:
 memory: 01f00000 @ 00000000 (usable)
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  Normal   0x00001000 -> 0x00001f00
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00001f00
On node 0 totalpages: 7936
free_area_init_node: node 0, pgdat 802f3830, node_mem_map 81000000
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 30 pages used for memmap
  Normal zone: 3810 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 7874
Kernel command line: root=31:0 ro noinitrd console=ttyS0,115200
wait instruction: enabled
Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
RCU-based detection of stalled CPUs is enabled.
NR_IRQS:128
PID hash table entries: 128 (order: 7, 512 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28088k/31744k available (2409k kernel code, 3656k reserved, 555k data, 120k init, 0k highmem)
Calibrating delay loop... 319.48 BogoMIPS (lpj=159744)
Mount-cache hash table entries: 512
net_namespace: 536 bytes
NET: Registered protocol family 16
Total Flash size: 16384K with 4096 sectors
registering PCI controller with io_map_base unset
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pci 0000:00:09.0: reg 10 32bit mmio: [0x10002600-0x100026ff]
pci 0000:00:0a.0: reg 10 32bit mmio: [0x10002500-0x100025ff]
pci 0000:01:00.0: PME# supported from D0 D3hot
pci 0000:01:00.0: PME# disabled
pci 0000:02:00.0: reg 10 64bit mmio: [0x000000-0x003fff]
pci 0000:02:00.0: supports D1 D2
pci 0000:01:00.0: PCI bridge, secondary bus 0000:02
pci 0000:01:00.0:   IO window: disabled
pci 0000:01:00.0:   MEM window: 0x10f00000-0x10ffffff
pci 0000:01:00.0:   PREFETCH window: disabled
PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:01:00.0 to 64
BLOG v2.1 Initialized
NET: Registered protocol family 8
NET: Registered protocol family 20
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
squashfs: version 4.0 with LZMA457 ported by BRCM
fuse init (API version 7.11)
msgmni has been set to 54
io scheduler noop registered (default)
pcieport-driver 0000:01:00.0: device [14e4:6328] has invalid IRQ; check vendor BIOS
PCI: Setting latency timer of device 0000:01:00.0 to 64
Driver 'sd' needs updating - please use bus_type methods
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
bcm963xx_mtd driver v1.0
File system address: 0xb8800100
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
PCI: Enabling device 0000:00:0a.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:0a.0 to 64
ehci_hcd 0000:00:0a.0: EHCI Host Controller
ehci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0a.0: Enabling legacy PCI PM
ehci_hcd 0000:00:0a.0: irq 50, io mem 0x10002500
ehci_hcd 0000:00:0a.0: USB f.f started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
PCI: Enabling device 0000:00:09.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:09.0 to 64
ohci_hcd 0000:00:09.0: OHCI Host Controller
ohci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:09.0: irq 49, io mem 0x10002600
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
brcmboard: brcm_board_init entry
SES: Button Interrupt 0x1 is enabled
SES: LED GPIO 0x8009 is enabled
initLed: led[0]: Gpio=0xffff8003, FailGpio=0xffff8005
initLed: led[1]: Gpio=0xffffffff, FailGpio=0xffffffff
initLed: led[2]: Gpio=0xffffffff, FailGpio=0xffffffff
initLed: led[3]: Gpio=0xffff800b, FailGpio=0xffff8002
initLed: led[4]: Gpio=0xffff8009, FailGpio=0xffff800a
initLed: led[5]: Gpio=0xffffffff, FailGpio=0xffffffff
initLed: led[6]: Gpio=0xffffffff, FailGpio=0xffffffff
initLed: led[7]: Gpio=0xffff8006, FailGpio=0xffff8007
initLed: led[8]: Gpio=0xffffffff, FailGpio=0xffffffff
initLed: led[9]: Gpio=0xffffffff, FailGpio=0xffffffff
initLed: led[10]: Gpio=0xffffffff, FailGpio=0xffffffff
initLed: led[11]: Gpio=0xffffffff, FailGpio=0xffffffff
initLed: led[12]: Gpio=0xffffffff, FailGpio=0xffffffff
initLed: led[13]: Gpio=0xffff8004, FailGpio=0xffff8008
initLed: led[14]: Gpio=0xffff8006, FailGpio=0xffff8007
initLed: led[15]: Gpio=0xffff801f, FailGpio=0xffff8014
Serial: BCM63XX driver $Revision: 3.00 $
ttyS0 at MMIO 0xb0000100 (irq = 36) is a BCM63XX
ttyS1 at MMIO 0xb0000120 (irq = 47) is a BCM63XX
bcmxtmrt: Broadcom BCM6328B0 ATM/PTM Network Device v0.3 Apr 21 2011 20:07:12
Broadcom Logger v0.1 Apr 21 2011 20:04:59
Mirror/redirect action on
u32 classifier
    input device check on
    Actions configured
TCP cubic registered
NET: Registered protocol family 17
Initializing MCPD Module
Ebtables v2.0 registered
ebt_time registered
ebt_ftos registered
ebt_wmm_mark registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:0.
Freeing unused kernel memory: 120k freed
init started:  BusyBox v1.00 (2011.04.21-18:13+0000) multi-call binary


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


Loading drivers and kernel modules...

bcmxtmcfg: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
bcmxtmcfg: bcmxtmcfg_init entry
adsl: adsl_init entry
Broadcom BCM6328B0 Ethernet Network Device v0.1 Apr 21 2011 20:05:03
ETH Init: 180 tx BDs at 0xa194e000
ETH Init: 400 rx BDs at 0xa19f8000
ETH Init: 400 rx BDs at 0xa19f9000
dgasp: kerSysRegisterDyingGaspHandler: bcmsw registered
eth0: MAC Address: 30:39:F2:87:8F:41
eth1: MAC Address: 30:39:F2:87:8F:41
eth2: MAC Address: 30:39:F2:87:8F:41
eth3: MAC Address: 30:39:F2:87:8F:41
eth0 Link UP 100 mbps full duplex
message received before monitor task is initialized kerSysSendtoMonitorTask
BCM63XX_USB USB Device not present
insmod: cannot insert `/lib/modules/2.6.30/extra/bcm_usb.ko': Success (19): Success
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
Auto-negotiation enabled.
The autonegotiated media type is 100baseTx-FD.
Link is up
mii register 26 is 0x4000

===== Release Version PDG_TEF_SP_4.06L.4 (build timestamp 110421_2011) =====

factoryCfg = 0
iptables v1.4.0: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
sendto: Network is unreachable
ip_tables: (C) 2000-2006 Netfilter Core Team
device eth0 entered promiscuous mode
br0: port 1(eth0) entering forwarding state
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
ssk:error:23.000:BcmAdsl_Initialize=0xC00A50D8, g_pFnNotifyCallback=0xC00D5E04
rutDsl_CfgProfileInit:2015:rutDsl_CfgProfileInit()
WLmngr Daemon is running
optarg=0 shmId=0
wlevt_init@107: opened loopback socket 4
wlevt is ready for new msg...
pSdramPHY=0xA1FFFFF8, 0x840002 0x40099
AdslCoreSharedMemInit: shareMemAvailable=484928
AdslCoreHwReset:  AdslOemDataAddr = 0xA1F6AEB4
dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered
XTM Init: 400 rx BDs at 0xa0bb5000
XTM Init: 100 rx BDs at 0xa0b12000
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (496 buckets, 1984 max)
iptables: No chain/target/match by that name
monitor task is initialized pid= 244
There is no Predefined DevicePin in CFE
WPS Device PIN = 29942275
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
Setting SSID: "ESRO2"
Setting SSID: "wlwl0.1 (): not using net_device_ops yet
0_Guest1"
Setting SSID: "wlwl0.2 (): not using net_device_ops yet
0_Guest2"
Setting SSID: "wlwl0.3 (): not using net_device_ops yet
0_Guest3"
br0: port 5(wl0) entering disabled state
wlctl: Unsupported
wlctl: Unsupported
wlctl: Unsupported
wlctl: Undefined error
chanspec 0x2b01 selected
device wl0 left promiscuous mode
br0: port 5(wl0) entering disabled state
device wl0 entered promiscuous mode
br0: port 5(wl0) entering forwarding state
Reaped 1381
UPnP daemon is ready to run
[/spoiler]
« Última modificación: 28-06-2012, 23:56 (Jueves) por gmtii »

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #83 en: 29-06-2012, 08:22 (Viernes) »
Yo sigo a la espera de que me contesten los de ADB.
Les pedí la última versión del firmware y que me aclararan cual sería el coste del envío  ^-^

Noltari

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

Hay un led que debe parpadear mientras el router inicia, el power. El parche tiene mal el nombre:

Index: target/linux/brcm63xx/base-files/lib/brcm63xx.sh
===================================================================
--- target/linux/brcm63xx/base-files/lib/brcm63xx.sh   (revisión: 32489)
+++ target/linux/brcm63xx/base-files/lib/brcm63xx.sh   (copia de trabajo)
@@ -26,6 +26,10 @@
       status_led="963281TAN::power"
       ifname=eth0
       ;;
+   963281T_TEF)
+      status_led="963281T_TEF::power"
+      ifname=eth0
+      ;;

en la definición de leds lo llamaste 963281T_TEF:green:power

Adjunto el log del fw original. Hay una cosa común a los broadcom con el driver propietario y es este mensaje:

[spoiler]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[/spoiler]
No te preocupes, en el parche que envié pidiendo soporte eso está corregido:
https://lists.openwrt.org/pipermail/openwrt-devel/2012-June/015826.html
https://lists.openwrt.org/pipermail/openwrt-devel/2012-June/015828.html

Sobre el bootlog del firmware original es MUY interesante. Estaría muy bien conseguir ese archivo que mencionas (/etc/wlan/bcm43225_map.bin) para analizarlo. Probablemente nos daría lo que falta para hacer funcionar el WLAN.
¿Alguna idea sobre cómo extraerlo?
He estado trasteando con el firmware para intentar extraerlo del rootfs sin éxito :(...
Otra opción sería extraerlo del mismo router por ssh, tftp, nc, http o algún otro programa de linux a utilizar que hayan dejado en el firmware original...
Por último, la única opción restante que se me ocurre es con el código GPL, si es que facilitan ése archivo en concreto...

Saludos.

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #85 en: 29-06-2012, 13:57 (Viernes) »
Oh Dios, me amo :D.

Conseguido:
https://dl.dropbox.com/u/4708147/openwrt/wlan_maps/wlan_map.zip

¡A investigar!

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #87 en: 30-06-2012, 01:28 (Sábado) »
Vale más o menos creo que lo tengo. Voy a actualizar los parches y el svn a la última versión y voy a rehacer los parches de la SPROM BCMA.

Aquí el programilla que me he hecho con algunas indicaciones de KanjiMonster (jogo): https://github.com/Noltari/SPROM_Map

Ya tengo la configuración necesaria para la SPROM, sólo queda probarla. En cuanto termine subo el firmware compilado.

Saludos!

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #88 en: 30-06-2012, 02:48 (Sábado) »
Vale más o menos creo que lo tengo. Voy a actualizar los parches y el svn a la última versión y voy a rehacer los parches de la SPROM BCMA.

Aquí el programilla que me he hecho con algunas indicaciones de KanjiMonster (jogo): https://github.com/Noltari/SPROM_Map

Ya tengo la configuración necesaria para la SPROM, sólo queda probarla. En cuanto termine subo el firmware compilado.

Saludos!
He tenido algún problemilla y he tenido que descargarme el trunk de openwrt otra vez. Así que colgaré mañana por la mañana lo antes que pueda el firmware.

Lo siento :$...

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #89 en: 30-06-2012, 04:39 (Sábado) »
Aquí está el firmware. Me voy a la cama que ya es hora xD.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_bcma_43225.bin

Ponedme un bootlog en cuanto podáis ;).

Saludos!

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #90 en: 30-06-2012, 11:22 (Sábado) »
muy buen trabajo! ..  >:(

sigue sin funcionar... como lo haces? leerás el fichero bc,43225_map.bin desde el sistema de ficheros? añades un parche con el contenido de la SPROM ?

el log:

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Sat Jun 30 04:36:10 CEST 2012
[    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: A4001N-V0003
[    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 802a3a60, 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,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] 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 (2241k kernel code, 3384k reserved, 398k data, 200k init, 0k highmem)
[    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.288000] bio: create slab <bio-0> at 0
[    0.296000] PCI host bridge to bus 0000:00
[    0.300000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.304000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.308000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.308000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.308000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.308000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.308000] pci 0000:01:00.0: supports D1 D2
[    0.308000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.312000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.316000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.320000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.324000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.328000] Switching to clocksource MIPS
[    0.336000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.448000] bcma: Failed to get SPROM: -71
[    0.452000] bcma: Bus registered
[    0.456000] NET: Registered protocol family 2
[    0.460000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.476000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.480000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.488000] TCP reno registered
[    0.492000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.496000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.504000] NET: Registered protocol family 1
[    0.508000] PCI: CLS 0 bytes, default 16
[    0.512000] audit: initializing netlink socket (disabled)
[    0.516000] type=2000 audit(0.516:1): initialized
[    0.524000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.528000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.540000] msgmni has been set to 57
[    0.544000] io scheduler noop registered
[    0.548000] io scheduler deadline registered (default)
[    0.556000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.564000] console [ttyS0] enabled, bootconsole disabled
[    0.580000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.588000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.592000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.600000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.608000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.616000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.624000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.628000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.636000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.644000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.648000] Creating 5 MTD partitions on "spi0.0":
[    0.656000] 0x000000000000-0x000000010000 : "CFE"
[    0.664000] 0x000000010100-0x000000100000 : "kernel"
[    0.668000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.684000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.692000] mtd: partition "rootfs" set to be root filesystem
[    0.696000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.704000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.712000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.720000] 0x000000010000-0x000000ff0000 : "linux"
[    0.764000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.772000] Registered led device: 963281T_TEF:green:power
[    0.772000] Registered led device: 963281T_TEF:red:stop
[    0.772000] Registered led device: 963281T_TEF:green:inet
[    0.776000] Registered led device: 963281T_TEF:red:inet-fail
[    0.776000] Registered led device: 963281T_TEF:green:ppp
[    0.776000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.776000] Registered led device: 963281T_TEF:green:3g
[    0.776000] Registered led device: 963281T_TEF:red:3g-fail
[    0.776000] Registered led device: 963281T_TEF:green:wlan
[    0.776000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.776000] Registered led device: 963281T_TEF:green:eth
[    0.780000] Registered led device: 963281T_TEF:red:eth-fail
[    0.780000] TCP cubic registered
[    0.784000] NET: Registered protocol family 17
[    0.788000] 8021q: 802.1Q VLAN Support v1.8
[    0.800000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.808000] Freeing unused kernel memory: 200k freed
[    3.384000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.440000] roboswitch: Probing device eth0:
[    3.444000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.452000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.460000] roboswitch: Probing device eth1: No such device
[    3.464000] roboswitch: Probing device eth2: No such device
[    3.472000] roboswitch: Probing device eth3: No such device
[   12.084000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.092000] Backport based on wireless-testing.git master-2012-06-14
[   12.096000] compat.git: wireless-testing.git
[   12.156000] cfg80211: Calling CRDA to update world regulatory domain
[   12.160000] cfg80211: World regulatory domain updated:
[   12.168000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.176000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.184000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.192000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.200000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.208000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.600000] NET: Registered protocol family 10
[   12.664000] There is already a switch registered on the device 'eth0'
[   12.668000] roboswitch: Probing device eth1: No such device
[   12.676000] roboswitch: Probing device eth2: No such device
[   12.680000] roboswitch: Probing device eth3: No such device
[   13.316000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.324000] Broadcom 43xx driver loaded [ Features: PNL ]
[   13.360000] Button Hotplug driver version 0.4.1
[   13.680000] PPP generic driver version 2.4.2
[   14.080000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.092000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.404000] NET: Registered protocol family 24
[   14.440000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.812000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.096000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.892000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   20.900000] device eth0 entered promiscuous mode
[   20.908000] br-lan: port 1(eth0) entered forwarding state
[   20.912000] br-lan: port 1(eth0) entered forwarding state
[   22.916000] br-lan: port 1(eth0) entered forwarding state
[   31.120000] eth0: no IPv6 routers present
[   39.044000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   39.060000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   39.064000] jffs2_build_filesystem(): erasing all blocks after the end marker...
root@OpenWrt:/etc/config#
[/spoiler]

Aquí está el firmware. Me voy a la cama que ya es hora xD.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_bcma_43225.bin

Ponedme un bootlog en cuanto podáis ;).

Saludos!
« Última modificación: 30-06-2012, 11:25 (Sábado) por gmtii »

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #91 en: 30-06-2012, 12:31 (Sábado) »
muy buen trabajo! ..  >:(

sigue sin funcionar... como lo haces? leerás el fichero bc,43225_map.bin desde el sistema de ficheros? añades un parche con el contenido de la SPROM ?

el log:

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Sat Jun 30 04:36:10 CEST 2012
[    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: A4001N-V0003
[    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 802a3a60, 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,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] 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 (2241k kernel code, 3384k reserved, 398k data, 200k init, 0k highmem)
[    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.288000] bio: create slab <bio-0> at 0
[    0.296000] PCI host bridge to bus 0000:00
[    0.300000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.304000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.308000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.308000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.308000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.308000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.308000] pci 0000:01:00.0: supports D1 D2
[    0.308000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.312000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.316000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.320000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.324000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.328000] Switching to clocksource MIPS
[    0.336000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.448000] bcma: Failed to get SPROM: -71
[    0.452000] bcma: Bus registered
[    0.456000] NET: Registered protocol family 2
[    0.460000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.476000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.480000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.488000] TCP reno registered
[    0.492000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.496000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.504000] NET: Registered protocol family 1
[    0.508000] PCI: CLS 0 bytes, default 16
[    0.512000] audit: initializing netlink socket (disabled)
[    0.516000] type=2000 audit(0.516:1): initialized
[    0.524000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.528000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.540000] msgmni has been set to 57
[    0.544000] io scheduler noop registered
[    0.548000] io scheduler deadline registered (default)
[    0.556000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.564000] console [ttyS0] enabled, bootconsole disabled
[    0.580000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.588000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.592000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.600000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.608000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.616000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.624000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.628000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.636000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.644000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.648000] Creating 5 MTD partitions on "spi0.0":
[    0.656000] 0x000000000000-0x000000010000 : "CFE"
[    0.664000] 0x000000010100-0x000000100000 : "kernel"
[    0.668000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.684000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.692000] mtd: partition "rootfs" set to be root filesystem
[    0.696000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.704000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.712000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.720000] 0x000000010000-0x000000ff0000 : "linux"
[    0.764000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.772000] Registered led device: 963281T_TEF:green:power
[    0.772000] Registered led device: 963281T_TEF:red:stop
[    0.772000] Registered led device: 963281T_TEF:green:inet
[    0.776000] Registered led device: 963281T_TEF:red:inet-fail
[    0.776000] Registered led device: 963281T_TEF:green:ppp
[    0.776000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.776000] Registered led device: 963281T_TEF:green:3g
[    0.776000] Registered led device: 963281T_TEF:red:3g-fail
[    0.776000] Registered led device: 963281T_TEF:green:wlan
[    0.776000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.776000] Registered led device: 963281T_TEF:green:eth
[    0.780000] Registered led device: 963281T_TEF:red:eth-fail
[    0.780000] TCP cubic registered
[    0.784000] NET: Registered protocol family 17
[    0.788000] 8021q: 802.1Q VLAN Support v1.8
[    0.800000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.808000] Freeing unused kernel memory: 200k freed
[    3.384000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.440000] roboswitch: Probing device eth0:
[    3.444000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.452000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.460000] roboswitch: Probing device eth1: No such device
[    3.464000] roboswitch: Probing device eth2: No such device
[    3.472000] roboswitch: Probing device eth3: No such device
[   12.084000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.092000] Backport based on wireless-testing.git master-2012-06-14
[   12.096000] compat.git: wireless-testing.git
[   12.156000] cfg80211: Calling CRDA to update world regulatory domain
[   12.160000] cfg80211: World regulatory domain updated:
[   12.168000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.176000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.184000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.192000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.200000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.208000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.600000] NET: Registered protocol family 10
[   12.664000] There is already a switch registered on the device 'eth0'
[   12.668000] roboswitch: Probing device eth1: No such device
[   12.676000] roboswitch: Probing device eth2: No such device
[   12.680000] roboswitch: Probing device eth3: No such device
[   13.316000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.324000] Broadcom 43xx driver loaded [ Features: PNL ]
[   13.360000] Button Hotplug driver version 0.4.1
[   13.680000] PPP generic driver version 2.4.2
[   14.080000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.092000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.404000] NET: Registered protocol family 24
[   14.440000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.812000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.096000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.892000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   20.900000] device eth0 entered promiscuous mode
[   20.908000] br-lan: port 1(eth0) entered forwarding state
[   20.912000] br-lan: port 1(eth0) entered forwarding state
[   22.916000] br-lan: port 1(eth0) entered forwarding state
[   31.120000] eth0: no IPv6 routers present
[   39.044000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   39.060000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   39.064000] jffs2_build_filesystem(): erasing all blocks after the end marker...
root@OpenWrt:/etc/config#
[/spoiler]

Aquí está el firmware. Me voy a la cama que ya es hora xD.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_bcma_43225.bin

Ponedme un bootlog en cuanto podáis ;).

Saludos!
Sí, básicamente estoy intentando registrar la BCMA Fallback SPROM. Pero intenta leer OTP en vez de la SPROM y por eso falla.

He desactivado la lectura por defecto, a ver si ahora funciona. También he metido más de un debug ;).

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

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #92 en: 30-06-2012, 12:42 (Sábado) »
igual.. ahí va

Código: [Seleccionar]
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.408000] [DEBUG] bcma_sprom_get 1
[    0.408000] [DEBUG] bcma_sprom_get 2
[    0.412000] [DEBUG] bcma_sprom_get 6
[    0.416000] [DEBUG] bcma_sprom_get 7
[    0.420000] [DEBUG] bcma_sprom_get 8
[    0.464000] [DEBUG] bcma_sprom_get 9
[    0.468000] [DEBUG] bcma_sprom_get 10
[    0.472000] [DEBUG] bcma_sprom_get 12
[    0.476000] bcma: Failed to get SPROM: -71
[    0.480000] bcma: Bus registered
]

muy buen trabajo! ..  >:(

sigue sin funcionar... como lo haces? leerás el fichero bc,43225_map.bin desde el sistema de ficheros? añades un parche con el contenido de la SPROM ?

el log:

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Sat Jun 30 04:36:10 CEST 2012
[    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: A4001N-V0003
[    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 802a3a60, 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,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] 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 (2241k kernel code, 3384k reserved, 398k data, 200k init, 0k highmem)
[    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.288000] bio: create slab <bio-0> at 0
[    0.296000] PCI host bridge to bus 0000:00
[    0.300000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.304000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.308000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.308000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.308000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.308000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.308000] pci 0000:01:00.0: supports D1 D2
[    0.308000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.312000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.316000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.320000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.324000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.328000] Switching to clocksource MIPS
[    0.336000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.448000] bcma: Failed to get SPROM: -71
[    0.452000] bcma: Bus registered
[    0.456000] NET: Registered protocol family 2
[    0.460000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.476000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.480000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.488000] TCP reno registered
[    0.492000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.496000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.504000] NET: Registered protocol family 1
[    0.508000] PCI: CLS 0 bytes, default 16
[    0.512000] audit: initializing netlink socket (disabled)
[    0.516000] type=2000 audit(0.516:1): initialized
[    0.524000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.528000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.540000] msgmni has been set to 57
[    0.544000] io scheduler noop registered
[    0.548000] io scheduler deadline registered (default)
[    0.556000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.564000] console [ttyS0] enabled, bootconsole disabled
[    0.580000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.588000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.592000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.600000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.608000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.616000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.624000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.628000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.636000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.644000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.648000] Creating 5 MTD partitions on "spi0.0":
[    0.656000] 0x000000000000-0x000000010000 : "CFE"
[    0.664000] 0x000000010100-0x000000100000 : "kernel"
[    0.668000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.684000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.692000] mtd: partition "rootfs" set to be root filesystem
[    0.696000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.704000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.712000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.720000] 0x000000010000-0x000000ff0000 : "linux"
[    0.764000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.772000] Registered led device: 963281T_TEF:green:power
[    0.772000] Registered led device: 963281T_TEF:red:stop
[    0.772000] Registered led device: 963281T_TEF:green:inet
[    0.776000] Registered led device: 963281T_TEF:red:inet-fail
[    0.776000] Registered led device: 963281T_TEF:green:ppp
[    0.776000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.776000] Registered led device: 963281T_TEF:green:3g
[    0.776000] Registered led device: 963281T_TEF:red:3g-fail
[    0.776000] Registered led device: 963281T_TEF:green:wlan
[    0.776000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.776000] Registered led device: 963281T_TEF:green:eth
[    0.780000] Registered led device: 963281T_TEF:red:eth-fail
[    0.780000] TCP cubic registered
[    0.784000] NET: Registered protocol family 17
[    0.788000] 8021q: 802.1Q VLAN Support v1.8
[    0.800000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.808000] Freeing unused kernel memory: 200k freed
[    3.384000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.440000] roboswitch: Probing device eth0:
[    3.444000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.452000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.460000] roboswitch: Probing device eth1: No such device
[    3.464000] roboswitch: Probing device eth2: No such device
[    3.472000] roboswitch: Probing device eth3: No such device
[   12.084000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.092000] Backport based on wireless-testing.git master-2012-06-14
[   12.096000] compat.git: wireless-testing.git
[   12.156000] cfg80211: Calling CRDA to update world regulatory domain
[   12.160000] cfg80211: World regulatory domain updated:
[   12.168000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.176000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.184000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.192000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.200000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.208000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.600000] NET: Registered protocol family 10
[   12.664000] There is already a switch registered on the device 'eth0'
[   12.668000] roboswitch: Probing device eth1: No such device
[   12.676000] roboswitch: Probing device eth2: No such device
[   12.680000] roboswitch: Probing device eth3: No such device
[   13.316000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.324000] Broadcom 43xx driver loaded [ Features: PNL ]
[   13.360000] Button Hotplug driver version 0.4.1
[   13.680000] PPP generic driver version 2.4.2
[   14.080000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.092000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.404000] NET: Registered protocol family 24
[   14.440000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.812000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.096000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.892000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   20.900000] device eth0 entered promiscuous mode
[   20.908000] br-lan: port 1(eth0) entered forwarding state
[   20.912000] br-lan: port 1(eth0) entered forwarding state
[   22.916000] br-lan: port 1(eth0) entered forwarding state
[   31.120000] eth0: no IPv6 routers present
[   39.044000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   39.060000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   39.064000] jffs2_build_filesystem(): erasing all blocks after the end marker...
root@OpenWrt:/etc/config#
[/spoiler]

Aquí está el firmware. Me voy a la cama que ya es hora xD.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_bcma_43225.bin

Ponedme un bootlog en cuanto podáis ;).

Saludos!
Sí, básicamente estoy intentando registrar la BCMA Fallback SPROM. Pero intenta leer OTP en vez de la SPROM y por eso falla.

He desactivado la lectura por defecto, a ver si ahora funciona. También he metido más de un debug ;).

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

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #93 en: 30-06-2012, 12:58 (Sábado) »
igual.. ahí va

Código: [Seleccionar]
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.408000] [DEBUG] bcma_sprom_get 1
[    0.408000] [DEBUG] bcma_sprom_get 2
[    0.412000] [DEBUG] bcma_sprom_get 6
[    0.416000] [DEBUG] bcma_sprom_get 7
[    0.420000] [DEBUG] bcma_sprom_get 8
[    0.464000] [DEBUG] bcma_sprom_get 9
[    0.468000] [DEBUG] bcma_sprom_get 10
[    0.472000] [DEBUG] bcma_sprom_get 12
[    0.476000] bcma: Failed to get SPROM: -71
[    0.480000] bcma: Bus registered
]

muy buen trabajo! ..  >:(

sigue sin funcionar... como lo haces? leerás el fichero bc,43225_map.bin desde el sistema de ficheros? añades un parche con el contenido de la SPROM ?

el log:

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Sat Jun 30 04:36:10 CEST 2012
[    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: A4001N-V0003
[    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 802a3a60, 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,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] 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 (2241k kernel code, 3384k reserved, 398k data, 200k init, 0k highmem)
[    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.288000] bio: create slab <bio-0> at 0
[    0.296000] PCI host bridge to bus 0000:00
[    0.300000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.304000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.308000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.308000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.308000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.308000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.308000] pci 0000:01:00.0: supports D1 D2
[    0.308000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.312000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.316000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.320000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.324000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.328000] Switching to clocksource MIPS
[    0.336000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.448000] bcma: Failed to get SPROM: -71
[    0.452000] bcma: Bus registered
[    0.456000] NET: Registered protocol family 2
[    0.460000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.476000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.480000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.488000] TCP reno registered
[    0.492000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.496000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.504000] NET: Registered protocol family 1
[    0.508000] PCI: CLS 0 bytes, default 16
[    0.512000] audit: initializing netlink socket (disabled)
[    0.516000] type=2000 audit(0.516:1): initialized
[    0.524000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.528000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.540000] msgmni has been set to 57
[    0.544000] io scheduler noop registered
[    0.548000] io scheduler deadline registered (default)
[    0.556000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.564000] console [ttyS0] enabled, bootconsole disabled
[    0.580000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.588000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.592000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.600000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.608000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.616000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.624000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.628000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.636000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.644000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.648000] Creating 5 MTD partitions on "spi0.0":
[    0.656000] 0x000000000000-0x000000010000 : "CFE"
[    0.664000] 0x000000010100-0x000000100000 : "kernel"
[    0.668000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.684000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.692000] mtd: partition "rootfs" set to be root filesystem
[    0.696000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.704000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.712000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.720000] 0x000000010000-0x000000ff0000 : "linux"
[    0.764000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.772000] Registered led device: 963281T_TEF:green:power
[    0.772000] Registered led device: 963281T_TEF:red:stop
[    0.772000] Registered led device: 963281T_TEF:green:inet
[    0.776000] Registered led device: 963281T_TEF:red:inet-fail
[    0.776000] Registered led device: 963281T_TEF:green:ppp
[    0.776000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.776000] Registered led device: 963281T_TEF:green:3g
[    0.776000] Registered led device: 963281T_TEF:red:3g-fail
[    0.776000] Registered led device: 963281T_TEF:green:wlan
[    0.776000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.776000] Registered led device: 963281T_TEF:green:eth
[    0.780000] Registered led device: 963281T_TEF:red:eth-fail
[    0.780000] TCP cubic registered
[    0.784000] NET: Registered protocol family 17
[    0.788000] 8021q: 802.1Q VLAN Support v1.8
[    0.800000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.808000] Freeing unused kernel memory: 200k freed
[    3.384000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.440000] roboswitch: Probing device eth0:
[    3.444000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.452000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.460000] roboswitch: Probing device eth1: No such device
[    3.464000] roboswitch: Probing device eth2: No such device
[    3.472000] roboswitch: Probing device eth3: No such device
[   12.084000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.092000] Backport based on wireless-testing.git master-2012-06-14
[   12.096000] compat.git: wireless-testing.git
[   12.156000] cfg80211: Calling CRDA to update world regulatory domain
[   12.160000] cfg80211: World regulatory domain updated:
[   12.168000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.176000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.184000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.192000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.200000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.208000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.600000] NET: Registered protocol family 10
[   12.664000] There is already a switch registered on the device 'eth0'
[   12.668000] roboswitch: Probing device eth1: No such device
[   12.676000] roboswitch: Probing device eth2: No such device
[   12.680000] roboswitch: Probing device eth3: No such device
[   13.316000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.324000] Broadcom 43xx driver loaded [ Features: PNL ]
[   13.360000] Button Hotplug driver version 0.4.1
[   13.680000] PPP generic driver version 2.4.2
[   14.080000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.092000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.404000] NET: Registered protocol family 24
[   14.440000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.812000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.096000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.892000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   20.900000] device eth0 entered promiscuous mode
[   20.908000] br-lan: port 1(eth0) entered forwarding state
[   20.912000] br-lan: port 1(eth0) entered forwarding state
[   22.916000] br-lan: port 1(eth0) entered forwarding state
[   31.120000] eth0: no IPv6 routers present
[   39.044000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   39.060000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   39.064000] jffs2_build_filesystem(): erasing all blocks after the end marker...
root@OpenWrt:/etc/config#
[/spoiler]

Aquí está el firmware. Me voy a la cama que ya es hora xD.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_bcma_43225.bin

Ponedme un bootlog en cuanto podáis ;).

Saludos!
Sí, básicamente estoy intentando registrar la BCMA Fallback SPROM. Pero intenta leer OTP en vez de la SPROM y por eso falla.

He desactivado la lectura por defecto, a ver si ahora funciona. También he metido más de un debug ;).

https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_forced_bcma_sprom_debug.bin
Prueba este porfa:
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_forced_bcma_sprom_debug2.bin

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #94 en: 30-06-2012, 13:10 (Sábado) »
perfecto genio!

Código: [Seleccionar]
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.408000] [DEBUG] bcma_sprom_get 1
[    0.408000] [DEBUG] bcma_sprom_get 2
[    0.412000] [DEBUG] bcma_sprom_get 3
[    0.416000] [DEBUG] bcma_sprom_get 4
[    0.420000] [DEBUG] bcma_sprom_get 5
[    0.424000] bcma: Bus registered
[   13.296000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   53.012000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   53.344000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  156.652000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  161.772000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  199.328000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  201.724000] b43 bcma0:0: wlan0: disabling HT as WMM/QoS is not supported


Código: [Seleccionar]
wlan0     IEEE 802.11bg  ESSID:"TEST_AP"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 30:39:F2:81:3B:F6  
          Bit Rate=48 Mb/s   Tx-Power=20 dBm  
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-37 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:3  Invalid misc:7   Missed beacon:0

Me interesaría probar con brcmsmac a ver si soporta wifiN

Código: [Seleccionar]
iphy phy0
        Band 1:
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm) (passive scanning, no IBSS)
                        * 2472 MHz [13] (20.0 dBm) (passive scanning, no IBSS)
                        * 2484 MHz [14] (20.0 dBm) (passive scanning, no IBSS)
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps

igual.. ahí va

Código: [Seleccionar]
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.408000] [DEBUG] bcma_sprom_get 1
[    0.408000] [DEBUG] bcma_sprom_get 2
[    0.412000] [DEBUG] bcma_sprom_get 6
[    0.416000] [DEBUG] bcma_sprom_get 7
[    0.420000] [DEBUG] bcma_sprom_get 8
[    0.464000] [DEBUG] bcma_sprom_get 9
[    0.468000] [DEBUG] bcma_sprom_get 10
[    0.472000] [DEBUG] bcma_sprom_get 12
[    0.476000] bcma: Failed to get SPROM: -71
[    0.480000] bcma: Bus registered
]

muy buen trabajo! ..  >:(

sigue sin funcionar... como lo haces? leerás el fichero bc,43225_map.bin desde el sistema de ficheros? añades un parche con el contenido de la SPROM ?

el log:

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Sat Jun 30 04:36:10 CEST 2012
[    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: A4001N-V0003
[    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 802a3a60, 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,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] 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 (2241k kernel code, 3384k reserved, 398k data, 200k init, 0k highmem)
[    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.288000] bio: create slab <bio-0> at 0
[    0.296000] PCI host bridge to bus 0000:00
[    0.300000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.304000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.308000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.308000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.308000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.308000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.308000] pci 0000:01:00.0: supports D1 D2
[    0.308000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.312000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.316000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.320000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.324000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.328000] Switching to clocksource MIPS
[    0.336000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.448000] bcma: Failed to get SPROM: -71
[    0.452000] bcma: Bus registered
[    0.456000] NET: Registered protocol family 2
[    0.460000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.476000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.480000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.488000] TCP reno registered
[    0.492000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.496000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.504000] NET: Registered protocol family 1
[    0.508000] PCI: CLS 0 bytes, default 16
[    0.512000] audit: initializing netlink socket (disabled)
[    0.516000] type=2000 audit(0.516:1): initialized
[    0.524000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.528000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.540000] msgmni has been set to 57
[    0.544000] io scheduler noop registered
[    0.548000] io scheduler deadline registered (default)
[    0.556000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.564000] console [ttyS0] enabled, bootconsole disabled
[    0.580000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.588000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.592000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.600000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.608000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.616000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.624000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.628000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.636000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.644000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.648000] Creating 5 MTD partitions on "spi0.0":
[    0.656000] 0x000000000000-0x000000010000 : "CFE"
[    0.664000] 0x000000010100-0x000000100000 : "kernel"
[    0.668000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.684000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.692000] mtd: partition "rootfs" set to be root filesystem
[    0.696000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.704000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.712000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.720000] 0x000000010000-0x000000ff0000 : "linux"
[    0.764000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.772000] Registered led device: 963281T_TEF:green:power
[    0.772000] Registered led device: 963281T_TEF:red:stop
[    0.772000] Registered led device: 963281T_TEF:green:inet
[    0.776000] Registered led device: 963281T_TEF:red:inet-fail
[    0.776000] Registered led device: 963281T_TEF:green:ppp
[    0.776000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.776000] Registered led device: 963281T_TEF:green:3g
[    0.776000] Registered led device: 963281T_TEF:red:3g-fail
[    0.776000] Registered led device: 963281T_TEF:green:wlan
[    0.776000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.776000] Registered led device: 963281T_TEF:green:eth
[    0.780000] Registered led device: 963281T_TEF:red:eth-fail
[    0.780000] TCP cubic registered
[    0.784000] NET: Registered protocol family 17
[    0.788000] 8021q: 802.1Q VLAN Support v1.8
[    0.800000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.808000] Freeing unused kernel memory: 200k freed
[    3.384000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.440000] roboswitch: Probing device eth0:
[    3.444000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.452000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.460000] roboswitch: Probing device eth1: No such device
[    3.464000] roboswitch: Probing device eth2: No such device
[    3.472000] roboswitch: Probing device eth3: No such device
[   12.084000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.092000] Backport based on wireless-testing.git master-2012-06-14
[   12.096000] compat.git: wireless-testing.git
[   12.156000] cfg80211: Calling CRDA to update world regulatory domain
[   12.160000] cfg80211: World regulatory domain updated:
[   12.168000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.176000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.184000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.192000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.200000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.208000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.600000] NET: Registered protocol family 10
[   12.664000] There is already a switch registered on the device 'eth0'
[   12.668000] roboswitch: Probing device eth1: No such device
[   12.676000] roboswitch: Probing device eth2: No such device
[   12.680000] roboswitch: Probing device eth3: No such device
[   13.316000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.324000] Broadcom 43xx driver loaded [ Features: PNL ]
[   13.360000] Button Hotplug driver version 0.4.1
[   13.680000] PPP generic driver version 2.4.2
[   14.080000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.092000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.404000] NET: Registered protocol family 24
[   14.440000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.812000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.096000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.892000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   20.900000] device eth0 entered promiscuous mode
[   20.908000] br-lan: port 1(eth0) entered forwarding state
[   20.912000] br-lan: port 1(eth0) entered forwarding state
[   22.916000] br-lan: port 1(eth0) entered forwarding state
[   31.120000] eth0: no IPv6 routers present
[   39.044000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   39.060000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   39.064000] jffs2_build_filesystem(): erasing all blocks after the end marker...
root@OpenWrt:/etc/config#
[/spoiler]

Aquí está el firmware. Me voy a la cama que ya es hora xD.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_bcma_43225.bin

Ponedme un bootlog en cuanto podáis ;).

Saludos!
Sí, básicamente estoy intentando registrar la BCMA Fallback SPROM. Pero intenta leer OTP en vez de la SPROM y por eso falla.

He desactivado la lectura por defecto, a ver si ahora funciona. También he metido más de un debug ;).

https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_forced_bcma_sprom_debug.bin
Prueba este porfa:
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_forced_bcma_sprom_debug2.bin
« Última modificación: 30-06-2012, 13:11 (Sábado) por gmtii »

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #95 en: 30-06-2012, 13:15 (Sábado) »
perfecto genio!

Código: [Seleccionar]
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.408000] [DEBUG] bcma_sprom_get 1
[    0.408000] [DEBUG] bcma_sprom_get 2
[    0.412000] [DEBUG] bcma_sprom_get 3
[    0.416000] [DEBUG] bcma_sprom_get 4
[    0.420000] [DEBUG] bcma_sprom_get 5
[    0.424000] bcma: Bus registered
[   13.296000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   53.012000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   53.344000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  156.652000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  161.772000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  199.328000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  201.724000] b43 bcma0:0: wlan0: disabling HT as WMM/QoS is not supported


Código: [Seleccionar]
wlan0     IEEE 802.11bg  ESSID:"TEST_AP"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 30:39:F2:81:3B:F6  
          Bit Rate=48 Mb/s   Tx-Power=20 dBm  
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-37 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:3  Invalid misc:7   Missed beacon:0

Me interesaría probar con brcmsmac a ver si soporta wifiN

Código: [Seleccionar]
iphy phy0
        Band 1:
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm) (passive scanning, no IBSS)
                        * 2472 MHz [13] (20.0 dBm) (passive scanning, no IBSS)
                        * 2484 MHz [14] (20.0 dBm) (passive scanning, no IBSS)
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps

igual.. ahí va

Código: [Seleccionar]
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.408000] [DEBUG] bcma_sprom_get 1
[    0.408000] [DEBUG] bcma_sprom_get 2
[    0.412000] [DEBUG] bcma_sprom_get 6
[    0.416000] [DEBUG] bcma_sprom_get 7
[    0.420000] [DEBUG] bcma_sprom_get 8
[    0.464000] [DEBUG] bcma_sprom_get 9
[    0.468000] [DEBUG] bcma_sprom_get 10
[    0.472000] [DEBUG] bcma_sprom_get 12
[    0.476000] bcma: Failed to get SPROM: -71
[    0.480000] bcma: Bus registered
]

muy buen trabajo! ..  >:(

sigue sin funcionar... como lo haces? leerás el fichero bc,43225_map.bin desde el sistema de ficheros? añades un parche con el contenido de la SPROM ?

el log:

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Sat Jun 30 04:36:10 CEST 2012
[    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: A4001N-V0003
[    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 802a3a60, 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,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] 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 (2241k kernel code, 3384k reserved, 398k data, 200k init, 0k highmem)
[    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.288000] bio: create slab <bio-0> at 0
[    0.296000] PCI host bridge to bus 0000:00
[    0.300000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.304000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.308000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.308000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.308000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.308000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.308000] pci 0000:01:00.0: supports D1 D2
[    0.308000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.312000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.316000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.320000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.324000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.328000] Switching to clocksource MIPS
[    0.336000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.448000] bcma: Failed to get SPROM: -71
[    0.452000] bcma: Bus registered
[    0.456000] NET: Registered protocol family 2
[    0.460000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.476000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.480000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.488000] TCP reno registered
[    0.492000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.496000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.504000] NET: Registered protocol family 1
[    0.508000] PCI: CLS 0 bytes, default 16
[    0.512000] audit: initializing netlink socket (disabled)
[    0.516000] type=2000 audit(0.516:1): initialized
[    0.524000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.528000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.540000] msgmni has been set to 57
[    0.544000] io scheduler noop registered
[    0.548000] io scheduler deadline registered (default)
[    0.556000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.564000] console [ttyS0] enabled, bootconsole disabled
[    0.580000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.588000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.592000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.600000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.608000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.616000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.624000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.628000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.636000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.644000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.648000] Creating 5 MTD partitions on "spi0.0":
[    0.656000] 0x000000000000-0x000000010000 : "CFE"
[    0.664000] 0x000000010100-0x000000100000 : "kernel"
[    0.668000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.684000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.692000] mtd: partition "rootfs" set to be root filesystem
[    0.696000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.704000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.712000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.720000] 0x000000010000-0x000000ff0000 : "linux"
[    0.764000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.772000] Registered led device: 963281T_TEF:green:power
[    0.772000] Registered led device: 963281T_TEF:red:stop
[    0.772000] Registered led device: 963281T_TEF:green:inet
[    0.776000] Registered led device: 963281T_TEF:red:inet-fail
[    0.776000] Registered led device: 963281T_TEF:green:ppp
[    0.776000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.776000] Registered led device: 963281T_TEF:green:3g
[    0.776000] Registered led device: 963281T_TEF:red:3g-fail
[    0.776000] Registered led device: 963281T_TEF:green:wlan
[    0.776000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.776000] Registered led device: 963281T_TEF:green:eth
[    0.780000] Registered led device: 963281T_TEF:red:eth-fail
[    0.780000] TCP cubic registered
[    0.784000] NET: Registered protocol family 17
[    0.788000] 8021q: 802.1Q VLAN Support v1.8
[    0.800000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.808000] Freeing unused kernel memory: 200k freed
[    3.384000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.440000] roboswitch: Probing device eth0:
[    3.444000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.452000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.460000] roboswitch: Probing device eth1: No such device
[    3.464000] roboswitch: Probing device eth2: No such device
[    3.472000] roboswitch: Probing device eth3: No such device
[   12.084000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.092000] Backport based on wireless-testing.git master-2012-06-14
[   12.096000] compat.git: wireless-testing.git
[   12.156000] cfg80211: Calling CRDA to update world regulatory domain
[   12.160000] cfg80211: World regulatory domain updated:
[   12.168000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.176000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.184000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.192000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.200000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.208000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.600000] NET: Registered protocol family 10
[   12.664000] There is already a switch registered on the device 'eth0'
[   12.668000] roboswitch: Probing device eth1: No such device
[   12.676000] roboswitch: Probing device eth2: No such device
[   12.680000] roboswitch: Probing device eth3: No such device
[   13.316000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.324000] Broadcom 43xx driver loaded [ Features: PNL ]
[   13.360000] Button Hotplug driver version 0.4.1
[   13.680000] PPP generic driver version 2.4.2
[   14.080000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.092000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.404000] NET: Registered protocol family 24
[   14.440000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.812000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.096000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.892000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   20.900000] device eth0 entered promiscuous mode
[   20.908000] br-lan: port 1(eth0) entered forwarding state
[   20.912000] br-lan: port 1(eth0) entered forwarding state
[   22.916000] br-lan: port 1(eth0) entered forwarding state
[   31.120000] eth0: no IPv6 routers present
[   39.044000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   39.060000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   39.064000] jffs2_build_filesystem(): erasing all blocks after the end marker...
root@OpenWrt:/etc/config#
[/spoiler]

Aquí está el firmware. Me voy a la cama que ya es hora xD.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_bcma_43225.bin

Ponedme un bootlog en cuanto podáis ;).

Saludos!
Sí, básicamente estoy intentando registrar la BCMA Fallback SPROM. Pero intenta leer OTP en vez de la SPROM y por eso falla.

He desactivado la lectura por defecto, a ver si ahora funciona. También he metido más de un debug ;).

https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_forced_bcma_sprom_debug.bin
Prueba este porfa:
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_forced_bcma_sprom_debug2.bin
Tócate los raviolli:
Código: [Seleccionar]
//if (!bcma_sprom_ext_available(bus)) {
if (true) {
Simplemente cambiando eso funciona, combinado con los datos extraídos del mapa de la SPROM del 43225.

Le pediré ayuda a jogo para saber cómo arreglar eso decentemente (static bool bcma_sprom_ext_available(struct bcma_bus *bus) no está devolviendo el resultado correcto.

Por cierto, te importaría colgar el log completo?

Saludos!

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #96 en: 30-06-2012, 15:43 (Sábado) »
Cuando puedas prueba este nuevo firmware. Lo he hecho con los parches que probablemente envíe, con ligeras modificaciones.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_final_patches1.bin

Saludos!

P.D: Ponme el bootlog del firmware anterior por favor.

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #97 en: 30-06-2012, 17:45 (Sábado) »
Instalado y funcionando en modo cliente transparente con relayd (aunque la wifi sólo funciona en modo 'g')  ;)
Magnífico trabajo  >:( >:( >:( >:(

dmesg

[spoiler][    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jun 30 15:08:07 CEST 2012
[    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: A4001N-V0003
[    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 802a3a60, 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,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] 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 (2241k kernel code, 3384k reserved, 398k data, 200k init, 0k highmem)
[    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.288000] bio: create slab <bio-0> at 0
[    0.296000] PCI host bridge to bus 0000:00
[    0.300000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.304000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.308000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.308000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.308000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.308000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.308000] pci 0000:01:00.0: supports D1 D2
[    0.308000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.312000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.316000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.320000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.324000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.328000] Switching to clocksource MIPS
[    0.336000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.448000] bcma: Bus registered
[    0.452000] NET: Registered protocol family 2
[    0.456000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.464000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.472000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.476000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.484000] TCP reno registered
[    0.488000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.492000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.500000] NET: Registered protocol family 1
[    0.504000] PCI: CLS 0 bytes, default 16
[    0.508000] audit: initializing netlink socket (disabled)
[    0.512000] type=2000 audit(0.512:1): initialized
[    0.520000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.524000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.536000] msgmni has been set to 57
[    0.540000] io scheduler noop registered
[    0.544000] io scheduler deadline registered (default)
[    0.552000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.560000] console [ttyS0] enabled, bootconsole disabled
[    0.576000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.584000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.588000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.596000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.604000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.612000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.616000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.624000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.632000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.640000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.644000] Creating 5 MTD partitions on "spi0.0":
[    0.652000] 0x000000000000-0x000000010000 : "CFE"
[    0.660000] 0x000000010100-0x000000100000 : "kernel"
[    0.664000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.680000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.688000] mtd: partition "rootfs" set to be root filesystem
[    0.692000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.700000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.708000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.716000] 0x000000010000-0x000000ff0000 : "linux"
[    0.760000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.768000] Registered led device: 963281T_TEF:green:power
[    0.768000] Registered led device: 963281T_TEF:red:stop
[    0.768000] Registered led device: 963281T_TEF:green:inet
[    0.772000] Registered led device: 963281T_TEF:red:inet-fail
[    0.772000] Registered led device: 963281T_TEF:green:ppp
[    0.772000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.772000] Registered led device: 963281T_TEF:green:3g
[    0.772000] Registered led device: 963281T_TEF:red:3g-fail
[    0.772000] Registered led device: 963281T_TEF:green:wlan
[    0.772000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.772000] Registered led device: 963281T_TEF:green:eth
[    0.776000] Registered led device: 963281T_TEF:red:eth-fail
[    0.776000] TCP cubic registered
[    0.780000] NET: Registered protocol family 17
[    0.784000] 8021q: 802.1Q VLAN Support v1.8
[    0.796000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.804000] Freeing unused kernel memory: 200k freed
[    3.368000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.424000] roboswitch: Probing device eth0:
[    3.428000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.436000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.444000] roboswitch: Probing device eth1: No such device
[    3.448000] roboswitch: Probing device eth2: No such device
[    3.456000] roboswitch: Probing device eth3: No such device
[    9.464000] JFFS2 notice: (345) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 7 of xref (0 dead, 2 orphan) found.
[   12.308000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.312000] Backport based on wireless-testing.git master-2012-06-14
[   12.320000] compat.git: wireless-testing.git
[   12.380000] cfg80211: Calling CRDA to update world regulatory domain
[   12.384000] cfg80211: World regulatory domain updated:
[   12.388000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.400000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.408000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.416000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.424000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.432000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.824000] NET: Registered protocol family 10
[   12.892000] There is already a switch registered on the device 'eth0'
[   12.896000] roboswitch: Probing device eth1: No such device
[   12.904000] roboswitch: Probing device eth2: No such device
[   12.908000] roboswitch: Probing device eth3: No such device
[   13.560000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.568000] Broadcom 43xx driver loaded [ Features: PNL ]
[   13.600000] Button Hotplug driver version 0.4.1
[   14.080000] PPP generic driver version 2.4.2
[   14.324000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.336000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.648000] NET: Registered protocol family 24
[   14.680000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   15.052000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.336000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   19.184000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   19.192000] device eth0 entered promiscuous mode
[   19.200000] br-lan: port 1(eth0) entered forwarding state
[   19.204000] br-lan: port 1(eth0) entered forwarding state
[   21.208000] br-lan: port 1(eth0) entered forwarding state
[   21.572000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   21.676000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   25.412000] b43 bcma0:0: wlan0: disabling HT as WMM/QoS is not supported
[   25.692000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   29.296000] eth0: no IPv6 routers present
[   36.616000] wlan0: no IPv6 routers present
[/spoiler]

Ahora ya para 'rizar el rizo' a por el modo 'n' y el soporte USB  ^-^ >:D

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #98 en: 30-06-2012, 18:00 (Sábado) »
Instalado y funcionando en modo cliente transparente con relayd (aunque la wifi sólo funciona en modo 'g')  ;)
Magnífico trabajo  >:( >:( >:( >:(

dmesg

[spoiler][    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jun 30 15:08:07 CEST 2012
[    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: A4001N-V0003
[    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 802a3a60, 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,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] 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 (2241k kernel code, 3384k reserved, 398k data, 200k init, 0k highmem)
[    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.288000] bio: create slab <bio-0> at 0
[    0.296000] PCI host bridge to bus 0000:00
[    0.300000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.304000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.308000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.308000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.308000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.308000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.308000] pci 0000:01:00.0: supports D1 D2
[    0.308000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.312000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.316000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.320000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.324000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.328000] Switching to clocksource MIPS
[    0.336000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.348000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.448000] bcma: Bus registered
[    0.452000] NET: Registered protocol family 2
[    0.456000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.464000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.472000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.476000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.484000] TCP reno registered
[    0.488000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.492000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.500000] NET: Registered protocol family 1
[    0.504000] PCI: CLS 0 bytes, default 16
[    0.508000] audit: initializing netlink socket (disabled)
[    0.512000] type=2000 audit(0.512:1): initialized
[    0.520000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.524000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.536000] msgmni has been set to 57
[    0.540000] io scheduler noop registered
[    0.544000] io scheduler deadline registered (default)
[    0.552000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.560000] console [ttyS0] enabled, bootconsole disabled
[    0.576000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.584000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.588000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.596000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.604000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.612000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.616000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.624000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.632000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.640000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.644000] Creating 5 MTD partitions on "spi0.0":
[    0.652000] 0x000000000000-0x000000010000 : "CFE"
[    0.660000] 0x000000010100-0x000000100000 : "kernel"
[    0.664000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.680000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.688000] mtd: partition "rootfs" set to be root filesystem
[    0.692000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.700000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.708000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.716000] 0x000000010000-0x000000ff0000 : "linux"
[    0.760000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.768000] Registered led device: 963281T_TEF:green:power
[    0.768000] Registered led device: 963281T_TEF:red:stop
[    0.768000] Registered led device: 963281T_TEF:green:inet
[    0.772000] Registered led device: 963281T_TEF:red:inet-fail
[    0.772000] Registered led device: 963281T_TEF:green:ppp
[    0.772000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.772000] Registered led device: 963281T_TEF:green:3g
[    0.772000] Registered led device: 963281T_TEF:red:3g-fail
[    0.772000] Registered led device: 963281T_TEF:green:wlan
[    0.772000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.772000] Registered led device: 963281T_TEF:green:eth
[    0.776000] Registered led device: 963281T_TEF:red:eth-fail
[    0.776000] TCP cubic registered
[    0.780000] NET: Registered protocol family 17
[    0.784000] 8021q: 802.1Q VLAN Support v1.8
[    0.796000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.804000] Freeing unused kernel memory: 200k freed
[    3.368000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.424000] roboswitch: Probing device eth0:
[    3.428000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.436000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.444000] roboswitch: Probing device eth1: No such device
[    3.448000] roboswitch: Probing device eth2: No such device
[    3.456000] roboswitch: Probing device eth3: No such device
[    9.464000] JFFS2 notice: (345) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 7 of xref (0 dead, 2 orphan) found.
[   12.308000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.312000] Backport based on wireless-testing.git master-2012-06-14
[   12.320000] compat.git: wireless-testing.git
[   12.380000] cfg80211: Calling CRDA to update world regulatory domain
[   12.384000] cfg80211: World regulatory domain updated:
[   12.388000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.400000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.408000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.416000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.424000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.432000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.824000] NET: Registered protocol family 10
[   12.892000] There is already a switch registered on the device 'eth0'
[   12.896000] roboswitch: Probing device eth1: No such device
[   12.904000] roboswitch: Probing device eth2: No such device
[   12.908000] roboswitch: Probing device eth3: No such device
[   13.560000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.568000] Broadcom 43xx driver loaded [ Features: PNL ]
[   13.600000] Button Hotplug driver version 0.4.1
[   14.080000] PPP generic driver version 2.4.2
[   14.324000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.336000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.648000] NET: Registered protocol family 24
[   14.680000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   15.052000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.336000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   19.184000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   19.192000] device eth0 entered promiscuous mode
[   19.200000] br-lan: port 1(eth0) entered forwarding state
[   19.204000] br-lan: port 1(eth0) entered forwarding state
[   21.208000] br-lan: port 1(eth0) entered forwarding state
[   21.572000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   21.676000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   25.412000] b43 bcma0:0: wlan0: disabling HT as WMM/QoS is not supported
[   25.692000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   29.296000] eth0: no IPv6 routers present
[   36.616000] wlan0: no IPv6 routers present
[/spoiler]

Ahora ya para 'rizar el rizo' a por el modo 'n' y el soporte USB  ^-^ >:D
¿Es el último firmware que he colgado no?

A ver si puedo hablar tranquilamente con jogo y me comenta como solucionar de la forma más apropiada posible para que acepten el parche lo de la fallback SPROM.

Me alegro de que funcione, os aseguro que me ha llevado su tiempo conseguirlo ^^.

Saludos!

SERASER

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #99 en: 30-06-2012, 18:02 (Sábado) »
Enhorabuena a todos, en especial a Noltari, gracias por vuestro trabajo.