Seguridad Wireless - Wifi

Equipos y materiales => Puntos de acceso, routers, switchs y bridges => Openwrt & LEDE => Mensaje iniciado por: gmtii en 26-04-2012, 19:52 (Jueves)

Título: [Desarrollo] OpenWrt en Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 26-04-2012, 19:52 (Jueves)
Firmware Original de Movistar
PDG_TEF_SP_4.06L.4 (https://drive.google.com/uc?id=0ByrtEG1tVo67STBSMGNxd2Y5cWM)

Wiki
http://wiki.openwrt.org/toh/adb/p.dg_a4001n1

Código Fuente
Repositorio oficial: r33893 (https://dev.openwrt.org/changeset/33893)

Compilaciones Openwrt
Trunk (http://downloads.openwrt.org/snapshots/trunk/brcm63xx/openwrt-A4001N1-squashfs-cfe.bin) {Paquetes básicos. Sin LuCI}
Barrier Breaker 14.07 RC2 (http://downloads.openwrt.org/barrier_breaker/14.07-rc2/brcm63xx/generic/openwrt-A4001N1-squashfs-cfe.bin) {Con LuCI}

Estado
Los parches para que el WiFi funcione no han sido aún integrados en el repositorio oficial de OpenWrt, por lo que cualquier compilación del repositorio oficial no dispondrá de WiFi.
El driver brcmsmac funciona tanto en modo Station (cliente) como en modo AP. Por tanto, a partir de ahora sólo compilaré firmwares con brcmsmac, dado que funciona muchísimo mejor que b43.
Funciona el ethernet (swconfig VLANs).
Funcionan botones y LEDs.
Funciona el USB.

Saludos.



Buenas,

Este hilo está dedicado al soporte de OpenWrt en el router de Telefónica ADB P.DG A4001N1.

El hardware es  decente y nos permitirá muchas aplicaciones desde router neutro, descargas,  reproductor de música por streaming MPD, etc.

Actualmente ni la WIFI ni el puerto USB están operativos.

Varias cosillas importantes:

Puerto serie: 115200 8N1 sin control de flujo. Hay que hacer un par de puentes e instalar algunos jumpers si queremos conectar y desconectar.

(http://1.bp.blogspot.com/-x6CpuaCR_Wg/T8naCat5b4I/AAAAAAAAEZ8/aG4FJlI3H8k/s1600/IMG_20120602_100505-1.jpg)

Copia de seguridad

Siempre podremos volver al firmware oficial por muchas perrerías que le hagamos (excepto sobreescribir el booloader :-)

http://www.mediafire.com/?m5f87k68habbn36 (http://www.mediafire.com/?m5f87k68habbn36)

Flasheo

Si tenemos puerto serie, es tan fácil como montar un servidor TFTP y desde el CFE hacer:

f  <ip servidor tftp>:<nombre del fichero>

El router al igual que el ASL26555 tiene arranque dual, uno desde 0xb8100000 y otro en 0xb8800000. Las imagenes deben llevar un padding hasta 8MB para obligar al CFE a flashear en la primera partición.

Igualmente  funcionará lo de pulsar el botón de reset, enceder y esperar 30 segundos, y con un navegador abrir 192.168.1.1 y flashear desde ahí. No he probado desde el firmware original.


Descargas

Al principio del mensaje tenemos todas las descargas y parches con todo funcional gracias a Noltari.

Saludos.


Hay algunas posibilidades que salir pronto supporte OpenWRT para el ADB? 1004N? (Broadcom4350)
Estoy buscando por todo el internet algunas posibilidades de cambier el firmware original...pero nada.

IMPORTANTE: no hay soporte para la parte ADSL si se intala OpenWrt.

Se desconoce la razón, pero este router tiene tendencia a quedarse 'frito' y no entra al CFE (modo de recuperación). Así que si no tienes cable serie, mejor no intentes el proceso de actualización.
Título: Openwrt en routers de Telefónica Home Station ALPHA ASL26555 y ADB P.DG A4001N1
Publicado por: srt8100 en 18-05-2012, 20:46 (Viernes)
Hola!!!

Felicidades gmtii por el gran trabajo que estas haciendo  >:(. Tengo un router home station  ADB PDG A4001N. Si no he leido mal es necesario puentear dos resistencias para poder utilizar el puerto serie y tenemos acceso al log de arranque. El resto de pasos y archivos son iguales para ambos routers?  O de momento no hay nada para el ADB?

Gracias
Título: Openwrt en routers de Telefónica Home Station ALPHA ASL26555 y ADB P.DG A4001N1
Publicado por: gmtii en 03-06-2012, 13:31 (Domingo)
hola,

ando atascado en un punto donde no me aclaro ... detecta el chip de flash spi correctamente pero nunca llega a crear las parciiones, y acaba en un panic lógicamente.

el Makefile de las imágenes difiere mucho a ramips.. allí yo definía las particiones que luego se creaban, pero en bcm63xx no veo como hacerlo.. imagino que será automático tal cual el hw553, por lo que quizás haya algo mal con la flash spi  :(

igual puedes echarme una mano...

Código: [Seleccionar]
[    0.544000] Please append a correct "root=" boot option; here are the available partitions:
[    0.556000] 1f00           16384 mtdblock0  (driver?)
[    0.560000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

gmtii, a la espera de tus progresos con el ADB (he conseguido uno) ;D

Enviado desde mi u8500 usando Tapatalk 2
Título: Openwrt en routers de Telefónica Home Station ALPHA ASL26555 y ADB P.DG A4001N1
Publicado por: jar229 en 03-06-2012, 20:23 (Domingo)
Pues de momento aún no me ha llegado el router.
Además que tampoco tengo siquiera un cable serial ...:-*

Enviado desde mi u8500 usando Tapatalk 2
Título: Openwrt en routers de Telefónica Home Station ALPHA ASL26555 y ADB P.DG A4001N1
Publicado por: srt8100 en 03-06-2012, 22:09 (Domingo)
Buenas!!!

Gmtii, yo dispongo de un router adb, si necesitas que haga alguna prueba me lo dices  ;D. Instalar y desinstalar lo que quieras, pero de linux, particiones y todo eso no se nada....

Un saludo y seguro que encuentras la manera de hacerlo funcionar  >:(

Título: Openwrt en routers de Telefónica Home Station ALPHA ASL26555 y ADB P.DG A4001N1
Publicado por: jar229 en 05-06-2012, 09:51 (Martes)
Bueno, finálmente ya me llegó el ADB.
Si hay algo que pueda hacer ...  ;D
Título: Openwrt en routers de Telefónica Home Station ALPHA ASL26555 y ADB P.DG A4001N1
Publicado por: gmtii en 05-06-2012, 17:16 (Martes)
puedes ir probado lo que tengo hasta ahora...

firmware compilado (no va ni el usb ni el wifi)

http://www.mediafire.com/?3o0mxveubuvl0bl

parches para trunk http://www.mediafire.com/?n3m4z089xm07zba

y dos ficheros que hay que sustituir en el fuente del kernel (no tengo el parche como dios manda hecho)

la definición de la placa 963281T_TEF en trunk/build_dir/linux-brcm63xx/linux-3.3.7/arch/mips/bcm63xx/boards

http://www.mediafire.com/?wey8hczhypcx6bt

la detección de particiones parcheada (busca "cfe-" en vez de "cfe-v" en la posición 0x570 de la flash para detectar el CFE)  en trunk/build_dir/linux-brcm63xx/linux-3.3.7/drivers/mtd

http://www.mediafire.com/?sln72vxc2gna7n4

saludos y ya me cuentas como te va  ;D

Bueno, finálmente ya me llegó el ADB.
Si hay algo que pueda hacer ...  ;D
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 05-06-2012, 18:58 (Martes)
He dividido el antiguo hilo (el que incluía los dos routers) en dos.
Así todo está organizado y claro.
Desgraciadamente, algunas respuestas se han desvirtuado algo, así que aquí tenéis el otro hilo por si tenéis dudas: https://foro.seguridadwireless.net/openwrt/nuevos-routers-de-telefonica/

Título: Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555 y ADB P.DG A4001N1
Publicado por: jar229 en 05-06-2012, 19:01 (Martes)
puedes ir probado lo que tengo hasta ahora...

firmware compilado (no va ni el usb ni el wifi)

http://www.mediafire.com/?3o0mxveubuvl0bl


Lo probaré, gracias  ;)
Podré flashearlo directamente desde el interfaz web actual ?
Título: Re: Re: Re: Openwrt en routers de Telefónica Home Station ALPHA ASL26555 y ADB P.DG A4001N1
Publicado por: gmtii en 05-06-2012, 19:17 (Martes)
Debería... Lo he probado por comandos y web desde el cfe...

La cosa es que la imagen tiene que ser de 8M o el cfe la flashea en la partición secundaria, como el asl26555...

Además siempre se puede volver al firm original sin problemas ;D

Cita de: jar229

Lo probaré, gracias  ;)
Podré flashearlo directamente desde el interfaz web actual ?

Enviado desde mi GT-I9000 usando Tapatalk 2
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 06-06-2012, 09:35 (Miércoles)
Ahí va el log de arranque  ;D

[spoiler]
root@OpenWrt:~# dmesg
[    0.000000] Linux version 3.3.7 (chisco@chisco-aluminio) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #41 Mon Jun 4 18:52:53 WEST 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: unknown
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 8029d730, 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.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: 29416k/32768k available (2219k kernel code, 3352k reserved, 396k data, 196k 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.284000] bio: create slab <bio-0> at 0
[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.324000] Switching to clocksource MIPS
[    0.332000] NET: Registered protocol family 2
[    0.336000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.344000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.352000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.360000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.364000] TCP reno registered
[    0.368000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.376000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.384000] NET: Registered protocol family 1
[    0.388000] PCI: CLS 0 bytes, default 16
[    0.388000] audit: initializing netlink socket (disabled)
[    0.396000] type=2000 audit(0.396:1): initialized
[    0.400000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.408000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.420000] msgmni has been set to 57
[    0.420000] io scheduler noop registered
[    0.424000] io scheduler deadline registered (default)
[    0.432000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.440000] console [ttyS0] enabled, bootconsole disabled
[    0.460000] bcm63xx-hsspi bcm63xx-hsspi.0: registered master spi0
[    0.460000] spi spi0.0: setup mode 0, 8 bits/w, 40000000 Hz max --> 0
[    0.460000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.468000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.472000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.480000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.488000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.492000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.500000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.508000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.516000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.524000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.528000] Creating 5 MTD partitions on "spi0.0":
[    0.532000] 0x000000000000-0x000000010000 : "CFE"
[    0.540000] 0x000000010100-0x000000100000 : "kernel"
[    0.548000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.564000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.572000] mtd: partition "rootfs" set to be root filesystem
[    0.576000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.584000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.592000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.600000] 0x000000010000-0x000000ff0000 : "linux"
[    0.608000] bcm63xx-hsspi bcm63xx-hsspi.0: registered child spi0.0
[    0.644000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.652000] Registered led device: 963281T_TEF::internet
[    0.652000] Registered led device: 963281T_TEF::power
[    0.652000] Registered led device: 963281T_TEF::internet-fail
[    0.656000] Registered led device: 963281T_TEF::power-fail
[    0.656000] Registered led device: 963281T_TEF::wps
[    0.656000] Registered led device: 963281T_TEF::dsl
[    0.656000] TCP westwood registered
[    0.660000] NET: Registered protocol family 17
[    0.664000] 8021q: 802.1Q VLAN Support v1.8
[    0.680000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.688000] Freeing unused kernel memory: 196k freed
[    3.256000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.264000] 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.452000] roboswitch: Probing device eth3: No such device
[    9.456000] JFFS2 notice: (318) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 5 of xref (0 dead, 2 orphan) found.
[   10.528000] SCSI subsystem initialized
[   10.804000] usbcore: registered new interface driver usbfs
[   10.808000] usbcore: registered new interface driver hub
[   10.816000] usbcore: registered new device driver usb
[   11.576000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.684000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   11.800000] Initializing USB Mass Storage driver...
[   11.804000] usbcore: registered new interface driver usb-storage
[   11.812000] USB Mass Storage support registered.
[   33.684000] Compat-wireless backport release: compat-wireless-2012-05-16-3-gde86a47
[   33.692000] Backport based on wireless-testing.git master-2012-05-29
[   33.700000] compat.git: wireless-testing.git
[   33.760000] cfg80211: Calling CRDA to update world regulatory domain
[   33.764000] cfg80211: World regulatory domain updated:
[   33.772000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   33.780000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   33.788000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   33.796000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   33.804000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   33.812000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   34.028000] There is already a switch registered on the device 'eth0'
[   34.036000] roboswitch: Probing device eth1: No such device
[   34.040000] roboswitch: Probing device eth2: No such device
[   34.044000] roboswitch: Probing device eth3: No such device
[   34.804000] Broadcom 43xx driver loaded [ Features: PNL ]
[   34.832000] Button Hotplug driver version 0.4.1
[   35.196000] PPP generic driver version 2.4.2
[   36.212000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   36.496000] NET: Registered protocol family 24
[   36.608000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   37.016000] usbcore: registered new interface driver cdc_acm
[   37.020000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   37.232000] usbcore: registered new interface driver snd-usb-audio
[   42.216000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   42.224000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   42.256000] device eth0 entered promiscuous mode
[   42.276000] br-lan: port 1(eth0) entered forwarding state
[   42.280000] br-lan: port 1(eth0) entered forwarding state
[   44.284000] br-lan: port 1(eth0) entered forwarding state
[/spoiler]

Curiosamente, no he conseguido entrar en el modo rescate (CFE) para flashear (lo intenté 2 o 3 veces), así que lo he hecho desde el propio interfaz web que traía el router.
Una vez actualizado el firmware,  tampoco consigo entrar al CFE. Así que ...  ^-^

Con respecto a OpenWRT: he instalado LuCi y algunas aplicaciones (htop, etc.) y parece ir bastante ligero.
Como ya adelantaba gmtii no funciona ni el wifi ni el puerto usb (aunque en el log, muestra información de ambos).

Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 06-06-2012, 10:25 (Miércoles)
Solo comentar, que se puede volver al firmware original actualizando desde LuCi (usando la imagen del primer mensaje)  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 06-06-2012, 12:47 (Miércoles)
Sólo por curiosidad (espero que no sea demasiado off-topic :$), el firmware lo has compilado tú desde el GPL?

Si no es así cómo lo has conseguido? Gracias por adelantado ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 06-06-2012, 13:37 (Miércoles)
Buenas,

Pues viene en la aplicación de configuración de ese router que está a la descarga en la web de telefónica... ojalá tuvieramos el código fuente para ese y el asl26555; sobre todo en este último, el código del uboot nos permitiría ampliar la memoria a 64 MB.

He escrito a alpha networks y amper, pero como es habitual, ignoran los correos.......... :(

Sólo por curiosidad (espero que no sea demasiado off-topic :$), el firmware lo has compilado tú desde el GPL?

Si no es así cómo lo has conseguido? Gracias por adelantado ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: srt8100 en 07-06-2012, 21:00 (Jueves)
Felicidades gmtii!!!!!

Como ya dije otro dia dispongo de un router adb, todavia no he instalado openwrt en él. Lo quiero utilizar como servidor de descargas transmision, pero veo que el usb no funciona. En el log aparece esto:

[   11.800000] Initializing USB Mass Storage driver...
[   11.804000] usbcore: registered new interface driver usb-storage
[   11.812000] USB Mass Storage support registered

Quiere decir esto que  reconoce el puerto usb? que necesitamos para hacer funcionar el usb y el wifi? Siento no poder ayudarte en tema de complilar y todo eso.. pero si necesitas algun tester aqui me tienes y creo que jar229 estaria encantado de hacer funcionar el cacharro con todo  ;D

Salu2 y muchas gracias por tu trabajo
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 07-06-2012, 21:05 (Jueves)
buenas,

eso son los drivers que van en el kernel; tanto el usb como el wifi tiene los drivers cargados, pero nada, no detecta el hardware... dependemos a partir de ahora de  kanjimonster y florian  ^-^

Felicidades gmtii!!!!!

Como ya dije otro dia dispongo de un router adb, todavia no he instalado openwrt en él. Lo quiero utilizar como servidor de descargas transmision, pero veo que el usb no funciona. En el log aparece esto:

[   11.800000] Initializing USB Mass Storage driver...
[   11.804000] usbcore: registered new interface driver usb-storage
[   11.812000] USB Mass Storage support registered

Quiere decir esto que  reconoce el puerto usb? que necesitamos para hacer funcionar el usb y el wifi? Siento no poder ayudarte en tema de complilar y todo eso.. pero si necesitas algun tester aqui me tienes y creo que jar229 estaria encantado de hacer funcionar el cacharro con todo  ;D

Salu2 y muchas gracias por tu trabajo
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 08-06-2012, 11:17 (Viernes)
buenas,

eso son los drivers que van en el kernel; tanto el usb como el wifi tiene los drivers cargados, pero nada, no detecta el hardware... dependemos a partir de ahora de  kanjimonster y florian  ^-^



Pues estaremos atentos a las evoluciones, ya que este router promete  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: srt8100 en 10-06-2012, 22:10 (Domingo)
Gracias gmtii

Los drivers estan listos, ahora falta que detecte el hard... Se puede ver en algun sitio si hay avances por parte de kanjimonster y florian? Ya tienen conocimiento del problema que tenemos con nuestro router?

Salu2
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 11-06-2012, 09:57 (Lunes)
buenas,

pues estoy mirando el tema del WIFI porque el soporte PCI funciona y lo detecta pero no hay forma.. del USB entiendo que debe ser más cosa del soporte que tiene el bcm6328 en OpenWrt que otra cosa...

le reporté lo del wifi y usb a kanjimonster pero no ha respondido nada aún...

saludos.

Gracias gmtii

Los drivers estan listos, ahora falta que detecte el hard... Se puede ver en algun sitio si hay avances por parte de kanjimonster y florian? Ya tienen conocimiento del problema que tenemos con nuestro router?

Salu2
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 11-06-2012, 14:00 (Lunes)
Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 11-06-2012, 14:46 (Lunes)
Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

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

Saludos!

Aquí va lo que pides  ;)

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

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

Por si acaso, aclaro:
Ahora mismo está enlanzado mediantes WDS (con encriptación wpa) con otro router, un Comtrend ar-5381un.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 11-06-2012, 15:03 (Lunes)
Puedo mirar lo del Wifi, pero necesito que me facilitéis el dmesg del router con el firmware original.

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

Saludos!

Aquí va lo que pides  ;)

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

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

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

Ya tengo lo que quería gracias ;).

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 11-06-2012, 15:39 (Lunes)
hola,

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

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

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

en OpenWrt:

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

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

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

Saludos!

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

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 11-06-2012, 16:11 (Lunes)
hola,

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

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

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

en OpenWrt:

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

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

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

Saludos!

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

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

Saludos!

Aquí lo tienes.

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

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 11-06-2012, 17:23 (Lunes)


hola,

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

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

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

en OpenWrt:

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

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

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

Saludos!

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

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

Saludos!

Aquí lo tienes.

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

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 11-06-2012, 17:27 (Lunes)


hola,

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

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

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

en OpenWrt:

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

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

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

Saludos!

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

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

Saludos!

Aquí lo tienes.

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

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

Saludos!

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 11-06-2012, 17:36 (Lunes)
buenas,

la detecta pero al configurarla no encuentra el interface radio0

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

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

[/spoiler]





hola,

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

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

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

en OpenWrt:

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

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

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

Saludos!

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

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

Saludos!

Aquí lo tienes.

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

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

Saludos!

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 11-06-2012, 22:34 (Lunes)
buenas,

la detecta pero al configurarla no encuentra el interface radio0

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

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

[/spoiler]





hola,

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

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

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

en OpenWrt:

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

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

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

Saludos!

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

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

Saludos!

Aquí lo tienes.

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

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

Saludos!

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

Saludos!

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

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

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 11-06-2012, 23:48 (Lunes)
buenas,

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

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

configuro tal cual comentas y:

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

idem para un network restart.

/etc/config/wireless tiene lo siguiente:

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

        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1

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

Saludos.



buenas,

la detecta pero al configurarla no encuentra el interface radio0

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

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

[/spoiler]





hola,

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

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

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

en OpenWrt:

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

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

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

Saludos!

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

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

Saludos!

Aquí lo tienes.

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

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

Saludos!

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

Saludos!

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

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

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 12-06-2012, 00:10 (Martes)
buenas,

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

[spoiler]
[    0.000000] Linux version 3.3.7 (chisco@chisco-aluminio) (gcc version 4.6.3 20120201 (prerelease) (Li2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: unknown
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802a3e20, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
  • 0

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

configuro tal cual comentas y:

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

idem para un network restart.

/etc/config/wireless tiene lo siguiente:

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

        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1

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

Saludos.



buenas,

la detecta pero al configurarla no encuentra el interface radio0

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

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

[/spoiler]





hola,

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

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

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

en OpenWrt:

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

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

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

Saludos!

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

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

Saludos!

Aquí lo tienes.

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

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

Saludos!

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

Saludos!

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

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

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

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

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

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

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

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 12-06-2012, 10:50 (Martes)
Pues si, es un avance.

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

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 19-06-2012, 08:23 (Martes)
Alguna evolución en este tema ?

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

Son bastante parecidos.

Info del ADB

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


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

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

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

[/spoiler]

Info del Comtrend

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

unaligned exceptions            : 152832

 > sysinfo
Number of processes: 49
  8:17am  up 23:01,
load average: 1 min:0.04, 5 min:0.02, 15 min:0.00
              total         used         free       shared      buffers
  Mem:        60528        35708        24820            0         4192
 Swap:            0            0            0
Total:        60528        35708        24820
 >[/spoiler]
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: aguera-competicion en 19-06-2012, 11:56 (Martes)
Pues otro espectante, tengo por casa otro Home Station , y tengo ganas de quitar la vasura que tiene dentro. cada vez se pueden configurar menos estos cacharros :'(
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: srt8100 en 19-06-2012, 13:52 (Martes)
Aqui hay otro esperando jajajajja.

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

Como podemos contactar con kanjimonster?

un salu2
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 19-06-2012, 15:04 (Martes)
Hola,

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

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

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

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


Saludos.

Aqui hay otro esperando jajajajja.

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

Como podemos contactar con kanjimonster?

un salu2
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 20-06-2012, 17:05 (Miércoles)
A ver si cuando tengáis un rato podéis probar esta versión de firmware y me ponéis el log de arranque.

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

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 20-06-2012, 19:08 (Miércoles)
Gracias por el nuevo firm  ;)
En cuanto tenga un rato, instalo y comento  ;D
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 20-06-2012, 19:11 (Miércoles)
Bootlog:

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

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

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

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

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

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

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

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

Saludos.

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

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

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 21-06-2012, 14:01 (Jueves)
Definitivamente hay que hacerlo con bcma...

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

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

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 22-06-2012, 02:33 (Viernes)
Estoy probando varias cosas con el wifi, cuando consiga algo os lo comento.

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

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 22-06-2012, 08:22 (Viernes)
Yo voy a estar unos días/semanas algo liado, así que no voy a poder instalar/probar cosas ... pero estaré atento al tema  ;)
Y sí, tiene botón de encedido y reset  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 22-06-2012, 09:56 (Viernes)
El parche tendrá un punto conflictivo con la detección del CFE. Kanji dijo que iba a buscar una solución, pero vamos, como que anda desbordado el hombre...

Los LED; busco los GPIO de los botones:
ADSL GREEN on gpio ..............  03
ADSL RED  on gpio     ...........  05
Wireless GREEN on gpio ..........  09
Wireless RED led on gpio ........  10
Remote Service GREEN on gpio ....  06
Remote Service RED led on gpio ..  07
ETH GREEN on gpio ...............  31
ETH Fail RED on gpio ............  20
Wan data GREEN on gpio ..........  11
Wan data RED on gpio ............  02
Power ON GREEN on gpio  .........  04
STOP CFE RED on gpio  ...........  08
VOIP1 led on gpio ................ 06

Respecto al brcm80211, no veo ni una sola referencia a PCIe comparado con el código en linux x86... mucho me temo que no haya soporte en todo el OpenWrt para este bus?

Saludos.

Estoy probando varias cosas con el wifi, cuando consiga algo os lo comento.

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

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 22-06-2012, 13:02 (Viernes)
El parche tendrá un punto conflictivo con la detección del CFE. Kanji dijo que iba a buscar una solución, pero vamos, como que anda desbordado el hombre...

Los LED; busco los GPIO de los botones:
ADSL GREEN on gpio ..............  03
ADSL RED  on gpio     ...........  05
Wireless GREEN on gpio ..........  09
Wireless RED led on gpio ........  10
Remote Service GREEN on gpio ....  06
Remote Service RED led on gpio ..  07
ETH GREEN on gpio ...............  31
ETH Fail RED on gpio ............  20
Wan data GREEN on gpio ..........  11
Wan data RED on gpio ............  02
Power ON GREEN on gpio  .........  04
STOP CFE RED on gpio  ...........  08
VOIP1 led on gpio ................ 06

Respecto al brcm80211, no veo ni una sola referencia a PCIe comparado con el código en linux x86... mucho me temo que no haya soporte en todo el OpenWrt para este bus?

Saludos.

Estoy probando varias cosas con el wifi, cuando consiga algo os lo comento.

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

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

Saludos!
1) ¿Los GPIO de los LEDs los has sacado tú, o los has sacado del GPL?
2) No veo el GPIO del botón reset por ningún lado.
3) Mi parche no presenta ningún conflicto con el CFE, pues mantengo la comprobación actual del cfe-v al mostrar la versión: (Parche actualizado para mostrar correctamente la versión del CFE en vuestro router, dado que se trata de caracteres ASCII y no de números)
Código: [Seleccionar]
if (!memcmp(cfe, "cfe-v", 5))
  snprintf(cfe_version, sizeof(cfe_version), "%u.%u.%u-%u.%u",
  cfe[5], cfe[6], cfe[7], cfe[8], cfe[9]);
+ else if (!memcmp(cfe, "cfe-", 4)) {
+ for(i = 0; i < 0x10; i++) {
+ cfe_version[i] = cfe[4 + i];
+ }
+ cfe_version[i] = 0;
+ }
  else
  strcpy(cfe_version, "unknown");
  printk(KERN_INFO PFX "CFE version: %s\n", cfe_version);
4) No hay menciones específicas a PCIe porque se implementa a nivel bajo. A nivel superior el driver es transparente y no se distingue entre PCI/PCIe.
Aquí tienes la implementación del pcie en brcm63xx: https://github.com/KanjiMonster/bcm63xx/blob/bcm63xx-next/arch/mips/pci/pci-bcm63xx.c

P.D: Si no es mucha molestia, puedes probar este firmware (tiene la comprobación del cfe modificada):
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_cfemod.bin

SVN Diff:
Código: [Seleccionar]
Index: target/linux/brcm63xx/image/Makefile
===================================================================
--- target/linux/brcm63xx/image/Makefile (revisión: 32481)
+++ target/linux/brcm63xx/image/Makefile (copia de trabajo)
@@ -151,6 +151,7 @@
  $(call Image/Build/CFE,$(1),963281TAN,6328,963481TAN-4M-flash-generic,,--pad 2)
  $(call Image/Build/CFE,$(1),963281TAN,6328,963481TAN-8M-flash-generic,,--pad 4)
  $(call Image/Build/CFE,$(1),963281TAN,6328,963481TAN-16M-flash-generic,,--pad 8)
+ $(call Image/Build/CFE,$(1),963281T_TEF,6328,963281T_TEF-generic,,--pad 8)
  $(call Image/Build/CFE,$(1),96345GW2,6345,96345GW2-generic)
  $(call Image/Build/CFE,$(1),96345GW2,6345,96348GW2-bc221,,--layoutver 5)
  $(call Image/Build/CFE,$(1),96345GW2,6345,92345GW2-rev,OpenWRT-$(REVISION))
Index: target/linux/brcm63xx/patches-3.3/554-board-963281T_TEF.patch
===================================================================
--- target/linux/brcm63xx/patches-3.3/554-board-963281T_TEF.patch (revisión: 0)
+++ target/linux/brcm63xx/patches-3.3/554-board-963281T_TEF.patch (revisión: 0)
@@ -0,0 +1,87 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -298,6 +298,76 @@ static struct board_info __initdata boar
+ },
+ },
+ };
++
++static struct board_info __initdata board_963281T_TEF = {
++ .name = "963281T_TEF",
++ .expected_cpu_id = 0x6328,
++
++ .has_uart0 = 1,
++ .has_pci = 1,
++ .has_ohci0 = 1,
++ .has_ehci0 = 1,
++ .has_enetsw = 1,
++
++ .enetsw = {
++ .used_ports = {
++ [0] = {
++ .used = 1,
++ .phy_id = 1,
++ .name = "Port 1",
++ },
++ [1] = {
++ .used = 1,
++ .phy_id = 2,
++ .name = "Port 2",
++ },
++ [2] = {
++ .used = 1,
++ .phy_id = 3,
++ .name = "Port 3",
++ },
++ [3] = {
++ .used = 1,
++ .phy_id = 4,
++ .name = "Port 4",
++ },
++ },
++ },
++
++ .leds = {
++ {
++ .name = "963281T_TEF::internet",
++ .gpio = 1,
++ .active_low = 1,
++ },
++ {
++ .name = "963281T_TEF::power",
++ .gpio = 4,
++ .active_low = 1,
++ .default_trigger = "default-on",
++ },
++ {
++ .name = "963281T_TEF::internet-fail",
++ .gpio = 7,
++ .active_low = 1,
++ },
++ {
++ .name = "963281T_TEF::power-fail",
++ .gpio = 8,
++ .active_low = 1,
++ },
++ {
++ .name = "963281T_TEF::wps",
++ .gpio = 9,
++ .active_low = 1,
++ },
++ {
++ .name = "963281T_TEF::dsl",
++ .gpio = 11,
++ .active_low = 1,
++ },
++ },
++};
+ #endif
+
+ /*
+@@ -2576,6 +2646,7 @@ static const struct board_info __initdat
+ &board_96328avng,
+ &board_963281TAN,
+ &board_dsl_274xb_f1,
++ &board_963281T_TEF,
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6338
+ &board_96338gw,
Index: target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch
===================================================================
--- target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch (revisión: 32481)
+++ target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch (copia de trabajo)
@@ -8,7 +8,7 @@
  #include <linux/spi/spi.h>
  #include <linux/spi/spi_gpio.h>
  #include <linux/spi/74x164.h>
-@@ -2652,7 +2653,7 @@ static void __init nb4_nvram_fixup(void)
+@@ -2723,7 +2724,7 @@ static void __init nb4_nvram_fixup(void)
   * bcm4318 WLAN work
   */
  #ifdef CONFIG_SSB_PCIHOST
@@ -17,7 +17,7 @@
  .revision = 0x02,
  .board_rev = 0x17,
  .country_code = 0x0,
-@@ -2672,6 +2673,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -2743,6 +2744,7 @@ static struct ssb_sprom bcm63xx_sprom =
  .boardflags_lo = 0x2848,
  .boardflags_hi = 0x0000,
  };
Index: target/linux/brcm63xx/patches-3.3/802-cfe_version_mod.patch
===================================================================
--- target/linux/brcm63xx/patches-3.3/802-cfe_version_mod.patch (revisión: 0)
+++ target/linux/brcm63xx/patches-3.3/802-cfe_version_mod.patch (revisión: 0)
@@ -0,0 +1,30 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -2833,6 +2833,12 @@ void __init board_prom_init(void)
+ if (!memcmp(cfe, "cfe-v", 5))
+ snprintf(cfe_version, sizeof(cfe_version), "%u.%u.%u-%u.%u",
+ cfe[5], cfe[6], cfe[7], cfe[8], cfe[9]);
++ else if (!memcmp(cfe, "cfe-", 4)) {
++ for(i = 0; i < 0x10; i++) {
++ cfe_version[i] = cfe[4 + i];
++ }
++ cfe_version[i] = 0;
++ }
+ else
+ strcpy(cfe_version, "unknown");
+ printk(KERN_INFO PFX "CFE version: %s\n", cfe_version);
+--- a/drivers/mtd/bcm63xxpart.c
++++ b/drivers/mtd/bcm63xxpart.c
+@@ -55,10 +55,10 @@ static int bcm63xx_detect_cfe(struct mtd
+ if (ret)
+ return ret;
+
+- if (strncmp("cfe-v", buf, 5) == 0)
++ if (strncmp("cfe-", buf, 4) == 0)
+ return 0;
+
+- /* very old CFE's do not have the cfe-v string, so check for magic */
++ /* very old CFE's do not have the cfe- string, so check for magic */
+ ret = mtd_read(master, BCM63XX_CFE_MAGIC_OFFSET, 8, &retlen,
+        (void *)buf);
+ buf[retlen] = 0;

Cambios de propiedades en target/linux/brcm63xx/patches-3.3/802-cfe_version_mod.patch
___________________________________________________________________
Añadido: svn:executable
   + *

Index: target/linux/brcm63xx/patches-3.3/800-wl_exports.patch
===================================================================
--- target/linux/brcm63xx/patches-3.3/800-wl_exports.patch (revisión: 32481)
+++ target/linux/brcm63xx/patches-3.3/800-wl_exports.patch (copia de trabajo)
@@ -24,7 +24,7 @@
  if (nvram.version <= 4)
 --- a/arch/mips/mm/cache.c
 +++ b/arch/mips/mm/cache.c
-@@ -57,6 +57,7 @@ void (*_dma_cache_wback)(unsigned long s
+@@ -58,6 +58,7 @@ void (*_dma_cache_wback)(unsigned long s
  void (*_dma_cache_inv)(unsigned long start, unsigned long size);
 
  EXPORT_SYMBOL(_dma_cache_wback_inv);
Index: target/linux/brcm63xx/base-files/lib/brcm63xx.sh
===================================================================
--- target/linux/brcm63xx/base-files/lib/brcm63xx.sh (revisión: 32481)
+++ 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
+ ;;
  96348GW)
  status_led="power"
  brcm63xx_has_reset_button="true"
Index: target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh
===================================================================
--- target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh (revisión: 32481)
+++ target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh (copia de trabajo)
@@ -15,6 +15,7 @@
 case "$board_name" in
  96328avng |\
  963281TAN |\
+ 963281T_TEF |\
  "CPVA502+" |\
  AW4339U |\
  CPVA642 |\
Index: target/linux/brcm63xx/base-files/etc/uci-defaults/network
===================================================================
--- target/linux/brcm63xx/base-files/etc/uci-defaults/network (revisión: 32481)
+++ target/linux/brcm63xx/base-files/etc/uci-defaults/network (copia de trabajo)
@@ -16,6 +16,7 @@
 
 96328avng |\
 963281TAN |\
+963281T_TEF |\
 96348A-122 |\
 96358-502V |\
 AW4339U |\

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 22-06-2012, 13:23 (Viernes)
A parte, esos LEDs que has puesto no tienen nada que ver con los que tienes en el parche en la primera página del hilo...

Citar
+   .leds = {
+      {
+         .name      = "963281T_TEF::internet",
+         .gpio      = 1,
+         .active_low   = 1,
+      },
+      {
+         .name      = "963281T_TEF::power",
+         .gpio      = 4,
+         .active_low   = 1,
+         .default_trigger = "default-on",
+      },
+      {
+         .name      = "963281T_TEF::internet-fail",
+         .gpio      = 7,
+         .active_low   = 1,
+      },
+      {
+         .name      = "963281T_TEF::power-fail",
+         .gpio      = 8,
+         .active_low   = 1,
+      },
+      {
+         .name      = "963281T_TEF::wps",
+         .gpio      = 9,
+         .active_low   = 1,
+      },
+      {
+         .name      = "963281T_TEF::dsl",
+         .gpio      = 11,
+         .active_low   = 1,
+      },
+   },

Edit: Según esto http://bandaancha.eu/articulos/llega-homestation-nuevo-router-adsl-wifi-8127 también hay un botón para el Wifi, me equivoco?

Cuanto antes dejemos bien pulido todo esto de los LEDs, el ethernet y los botones antes podré enviar los parches a Openwrt para que den soporte oficial a este router. Por lo que necesito respuestas a las preguntas que hago...

No me has contestado a:
¿Los puertos ethernet funcionan TODOS?
¿Seguro que todos los LEDs son active_low?
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 22-06-2012, 13:26 (Viernes)
ok, ahora ví el parche bien y si que lo tienes resuelto.

El propio CFE tiene un comando test leds. Miraré los gpio de los botones este fin de semana... No completé la definición de leds excepto el de power y lo dejé como tarea pendiente...

Alguna idea por qué el 14e4:6300 del ehci no se detecta en openwrt entonces? Tampoco el driver brcm80211 que soportaría el modo n de la 43224 tiene referencia alguna a pcie frente al driver x86 sin embargo...

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 22-06-2012, 13:34 (Viernes)
ok, ahora ví el parche bien y si que lo tienes resuelto.

El propio CFE tiene un comando test leds. Miraré los gpio de los botones este fin de semana... No completé la definición de leds excepto el de power y lo dejé como tarea pendiente...

Alguna idea por qué el 14e4:6300 del ehci no se detecta en openwrt entonces? Tampoco el driver brcm80211 que soportaría el modo n de la 43224 tiene referencia alguna a pcie frente al driver x86 sin embargo...

Saludos.
Vale, es la primera vez que oigo algo de esa función xD.

No te preocupes por el USB o el Wifi, eso ya se solucionará más adelante. Ahora es importante terminar el soporte de los LEDs y los botones para enviar el parche del CFE y de la estructura.

Además, los "arreglos" para el USB y el Wifi no tienen nada que ver con el soporte de la placa en general, sino más bien con que el soporte del 6328, 63168, 63268, etc. está en pañales, y aún no se han añadido a openwrt dispositivos con PCIe Wifi que necesiten leer una SPROM. Por lo que, si en un futuro, jogo o florian añaden una de estas placas y lo solucionan para dicha placa, probablemente se solucione para el resto.

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 22-06-2012, 14:15 (Viernes)
Instalado.

dmesg

[spoiler]root@OpenWrt:~# dmesg
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Fri Jun 22 03:46:50 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 8029f6e0, 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.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: 29408k/32768k available (2224k kernel code, 3360k reserved, 398k data, 196k 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.284000] bio: create slab <bio-0> at 0
[    0.288000] PCI host bridge to bus 0000:00
[    0.292000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.296000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.300000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.300000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.300000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.300000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.300000] pci 0000:01:00.0: supports D1 D2
[    0.300000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.304000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.308000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.312000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.316000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.320000] Switching to clocksource MIPS
[    0.328000] NET: Registered protocol family 2
[    0.332000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.340000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.348000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.356000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.360000] TCP reno registered
[    0.364000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.372000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.376000] NET: Registered protocol family 1
[    0.384000] PCI: CLS 0 bytes, default 16
[    0.384000] audit: initializing netlink socket (disabled)
[    0.392000] type=2000 audit(0.392:1): initialized
[    0.396000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.404000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.412000] msgmni has been set to 57
[    0.416000] io scheduler noop registered
[    0.420000] io scheduler deadline registered (default)
[    0.428000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.436000] console [ttyS0] enabled, bootconsole disabled
[    0.456000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.460000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.468000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.476000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.480000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.488000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.496000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.504000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.512000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.516000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.524000] Creating 5 MTD partitions on "spi0.0":
[    0.528000] 0x000000000000-0x000000010000 : "CFE"
[    0.536000] 0x000000010100-0x000000100000 : "kernel"
[    0.540000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.556000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.564000] mtd: partition "rootfs" set to be root filesystem
[    0.572000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.580000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.588000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.596000] 0x000000010000-0x000000ff0000 : "linux"
[    0.640000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.648000] Registered led device: 963281T_TEF::internet
[    0.648000] Registered led device: 963281T_TEF::power
[    0.648000] Registered led device: 963281T_TEF::internet-fail
[    0.652000] Registered led device: 963281T_TEF::power-fail
[    0.652000] Registered led device: 963281T_TEF::wps
[    0.652000] Registered led device: 963281T_TEF::dsl
[    0.652000] TCP westwood registered
[    0.656000] NET: Registered protocol family 17
[    0.660000] 8021q: 802.1Q VLAN Support v1.8
[    0.672000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.684000] Freeing unused kernel memory: 196k freed
[    3.184000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.244000] roboswitch: Probing device eth0:
[    3.248000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.256000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.264000] roboswitch: Probing device eth1: No such device
[    3.268000] roboswitch: Probing device eth2: No such device
[    3.272000] roboswitch: Probing device eth3: No such device
[   11.912000] Compat-wireless backport release: compat-wireless-2012-06-14
[   11.920000] Backport based on wireless-testing.git master-2012-06-14
[   11.928000] compat.git: wireless-testing.git
[   11.984000] cfg80211: Calling CRDA to update world regulatory domain
[   11.988000] cfg80211: World regulatory domain updated:
[   11.992000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.004000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.012000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.020000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.028000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.036000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.424000] NET: Registered protocol family 10
[   12.528000] There is already a switch registered on the device 'eth0'
[   12.536000] roboswitch: Probing device eth1: No such device
[   12.540000] roboswitch: Probing device eth2: No such device
[   12.548000] roboswitch: Probing device eth3: No such device
[   12.968000] Button Hotplug driver version 0.4.1
[   13.140000] PPP generic driver version 2.4.2
[   13.644000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.848000] NET: Registered protocol family 24
[   13.884000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.264000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   19.780000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   19.788000] device eth0 entered promiscuous mode
[   19.796000] br-lan: port 1(eth0) entered forwarding state
[   19.800000] br-lan: port 1(eth0) entered forwarding state
[   21.804000] br-lan: port 1(eth0) entered forwarding state
[   30.336000] eth0: no IPv6 routers present
[   37.252000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   37.268000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   37.272000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  131.772000] JFFS2 notice: (959) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  212.844000] br-lan: port 1(eth0) entered disabled state
[  212.872000] device eth0 left promiscuous mode
[  212.876000] br-lan: port 1(eth0) entered disabled state
[  212.916000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[  212.944000] device eth0 entered promiscuous mode
[  212.976000] br-lan: port 1(eth0) entered forwarding state
[  212.980000] br-lan: port 1(eth0) entered forwarding state
[  214.984000] br-lan: port 1(eth0) entered forwarding state
[  216.924000] bcm63xx_enetsw bcm63xx_enetsw.0: link DOWN on Port 1
[ 1016.928000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[ 1050.936000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 3, 100Mbps, full-duplex
[ 1117.944000] bcm63xx_enetsw bcm63xx_enetsw.0: link DOWN on Port 3
root@OpenWrt:~#
[/spoiler]

Y sí, también tiene un botón para el wifi y todos los puertos ethernet parecen funcionar correctamente  ;)
El wifi sigue sin funcionar  :(

Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 22-06-2012, 14:50 (Viernes)
Aquí os traigo un nuevo firmware compilado para probar los LEDs. Le tenéis que echar un ratillo ;), pero con eso ya puedo mandar los parches.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_leds.bin

Probar los LEDs
Si en alguna de las siguientes pruebas los comandos realizan la operación contraria a la indicada es que dicho LED no es active_low, y hay que cambiarlo. Así que os ruego mucha atención y espero el feedback ;).
1-A) Encender LED de Power: (debería estar encendido por defecto)
Código: [Seleccionar]
echo 1 > /sys/class/leds/963281T_TEF\:green\:power/brightness1-B) Apagar LED de Power:
Código: [Seleccionar]
echo 0 > /sys/class/leds/963281T_TEF\:green\:power/brightness
2-A) Encender LED de Stop:
Código: [Seleccionar]
echo 1 > /sys/class/leds/963281T_TEF\:red\:stop/brightness2-B) Apagar LED de Stop:
Código: [Seleccionar]
echo 0 > /sys/class/leds/963281T_TEF\:red\:stop/brightness
3-A) Encender LED de Internet (WAN):
Código: [Seleccionar]
echo 1 > /sys/class/leds/963281T_TEF\:green\:inet/brightness3-B) Apagar LED de Internet (WAN):
Código: [Seleccionar]
echo 0 > /sys/class/leds/963281T_TEF\:green\:inet/brightness
4-A) Encender LED de Internet-Fail (WAN-Fail):
Código: [Seleccionar]
echo 1 > /sys/class/leds/963281T_TEF\:red\:inet-fail/brightness4-B) Apagar LED de Internet-Fail (WAN-Fail):
Código: [Seleccionar]
echo 0 > /sys/class/leds/963281T_TEF\:red\:inet-fail/brightness
5-A) Encender LED de ppp (ADSL):
Código: [Seleccionar]
echo 1 > /sys/class/leds/963281T_TEF\:green\:ppp/brightness5-B) Apagar LED de ppp (ADSL):
Código: [Seleccionar]
echo 0 > /sys/class/leds/963281T_TEF\:green\:ppp/brightness
6-A) Encender LED de ppp-fail (ADSL-Fail):
Código: [Seleccionar]
echo 1 > /sys/class/leds/963281T_TEF\:red\:ppp-fail/brightness6-B) Apagar LED de ppp-fail (ADSL-Fail):
Código: [Seleccionar]
echo 0 > /sys/class/leds/963281T_TEF\:red\:ppp-fail/brightness
7-A) Encender LED de 3g:
Código: [Seleccionar]
echo 1 > /sys/class/leds/963281T_TEF\:green\:3g/brightness7-B) Apagar LED de 3g:
Código: [Seleccionar]
echo 0 > /sys/class/leds/963281T_TEF\:green\:3g/brightness
8-A) Encender LED de 3g-fail:
Código: [Seleccionar]
echo 1 > /sys/class/leds/963281T_TEF\:red\:3g-fail/brightness8-B) Apagar LED de 3g:
Código: [Seleccionar]
echo 0 > /sys/class/leds/963281T_TEF\:red\:3g-fail/brightness
9-A) Encender LED del Wifi:
Código: [Seleccionar]
echo 1 > /sys/class/leds/963281T_TEF\:green\:wlan/brightness9-B) Apagar LED del Wifi:
Código: [Seleccionar]
echo 0 > /sys/class/leds/963281T_TEF\:green\:wlan/brightness
10-A) Encender LED del Wifi-fail:
Código: [Seleccionar]
echo 1 > /sys/class/leds/963281T_TEF\:red\:wlan-fail/brightness10-B) Apagar LED del Wifi-fail:
Código: [Seleccionar]
echo 0 > /sys/class/leds/963281T_TEF\:red\:wlan-fail/brightness
11-A) Encender LED del Ethernet:
Código: [Seleccionar]
echo 1 > /sys/class/leds/963281T_TEF\:green\:eth/brightness11-B) Apagar LED del Ethernet:
Código: [Seleccionar]
echo 0 > /sys/class/leds/963281T_TEF\:green\:eth/brightness
12-A) Encender LED del Ethernet-fail:
Código: [Seleccionar]
echo 1 > /sys/class/leds/963281T_TEF\:red\:eth-fail/brightness12-B) Apagar LED del Ethernet-fail:
Código: [Seleccionar]
echo 0 > /sys/class/leds/963281T_TEF\:red\:eth-fail/brightness
Probar los botones
Lo más normal es que el GPIO de los botones sea mayor que 30. Teniendo en cuenta que los GPIO van del 0 al 31, es mejor empezar probando 30+, pero hay que probar todos (excepto los ya presentes en los LEDs 2/3/4/5/6/7/8/9/10/20/31).
Además, lo más probable es que los botones sean active_low.
Realizar la siguiente secuencia de comandos para cada GPIO. (sustituyendo el 30 por cada GPIO)
Código: [Seleccionar]
echo 30 > /sys/class/gpio/export
cat /sys/class/gpio/gpio30/value
Si el comando cat /sys/class/gpio/gpio30/value devuelve 1 es que el botón es active low.
Mantener pulsado el botón para el que estamos tratando de encontrar su GPIO. Si al ejecutar de nuevo el comando anterior (cat /sys/class/gpio/gpio30/value) nos devuelve un número distinto al anterior, es que hemos encontrado el GPIO.
Aclaración sobre un botón active_low.
1) Al ejecutar cat /sys/class/gpio/gpio30/value sin estar presionando el botón, el resultado será 1.
2) Al ejecutar cat /sys/class/gpio/gpio30/value manteniendo presionado el botón, el resultado será 0.
Para un botón active high, sin embargo, los resultados serán al revés.

Resumen del estado actual
1) No funciona el wifi ni el usb, pero los parches necesarios son independientes al soporte principal del router y se pueden hacer posteriormente.
2) Todos los puertos ethernet funcionam, así que por ahí no hay problema ;).
3) Hay un LED, el GPIO 6 que aparece dos veces: una para el 3G Verde y otra para VOIP. He decidido dejarlo como 3G Verde.

Saludos!
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 22-06-2012, 21:46 (Viernes)
Como ya he comentado, voy a estar liado una temporada, así que de momento me va a ser imposible probar nada más :'(

Enviado desde mi u8500 usando Tapatalk 2
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 22-06-2012, 21:56 (Viernes)
Como ya he comentado, voy a estar liado una temporada, así que de momento me va a ser imposible probar nada más :'(

Enviado desde mi u8500 usando Tapatalk 2
No hay problema, yo lo he puesto para que quien tenga este router y lo pueda probar lo haga ;).

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 23-06-2012, 01:42 (Sábado)
Vale, volviendo a las pruebas del Wifi, he compilado un firmware en el que intento registrar la SPROM por BCMA.

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

Ya sabéis, necesito el bootlog ;).

Saludos!
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 23-06-2012, 09:12 (Sábado)
Esta mañana, justo antes de salir de viaje, he visto el nuevo firm. Sólo he tenido tiempo de instalarlo y ver que el wifi ya funciona ;D
Lo he activado y he hecho un scan de redes sin ningún problema ;D

Esto empieza a 'pitar'. A ver si alguien puede ayudarte con el tema de los botones y leds ;)

Enviado desde mi u8500 usando Tapatalk 2
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 23-06-2012, 11:02 (Sábado)
hmmm, a mi no me funciona.. por ejemplo, en modo clente:

Código: [Seleccionar]
root@OpenWrt:/etc/config# ifup wan
PHY for wifi device radio0 not found
PHY for wifi device radio0 not found

[spoiler][    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 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 802a39f0, 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.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 29384k/32768k available (2239k kernel code, 3384k reserved, 400k data, 200k init,)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.276000] registering PCI controller with io_map_base unset
[    0.284000] bio: create slab <bio-0> at 0
[    0.288000] PCI host bridge to bus 0000:00
[    0.292000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.296000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.300000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.300000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.300000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.300000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.300000] pci 0000:01:00.0: supports D1 D2
[    0.300000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.304000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.308000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.312000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.316000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.320000] Switching to clocksource MIPS
[    0.328000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.336000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.340000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.348000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.360000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.436000] bcma: Failed to get SPROM: -71
[    0.440000] bcma: Bus registered
[    0.444000] NET: Registered protocol family 2
[    0.448000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.456000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.464000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.476000] TCP reno registered
[    0.480000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.484000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.492000] NET: Registered protocol family 1
[    0.496000] PCI: CLS 0 bytes, default 16
[    0.500000] audit: initializing netlink socket (disabled)
[    0.504000] type=2000 audit(0.504:1): initialized
[    0.512000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.516000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat,.
[    0.528000] msgmni has been set to 57
[    0.532000] io scheduler noop registered
[    0.536000] io scheduler deadline registered (default)
[    0.544000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.552000] console [ttyS0] enabled, bootconsole disabled
[    0.568000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.576000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.580000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.588000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.596000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.604000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.612000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.616000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.624000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.632000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.640000] Creating 5 MTD partitions on "spi0.0":
[    0.644000] 0x000000000000-0x000000010000 : "CFE"
[    0.652000] 0x000000010100-0x000000100000 : "kernel"
[    0.656000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller thy
[    0.672000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.680000] mtd: partition "rootfs" set to be root filesystem
[    0.684000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.692000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.700000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.708000] 0x000000010000-0x000000ff0000 : "linux"
[    0.752000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.760000] Registered led device: 963281T_TEF:green:power
[    0.760000] Registered led device: 963281T_TEF:red:stop
[    0.760000] Registered led device: 963281T_TEF:green:inet
[    0.760000] Registered led device: 963281T_TEF:red:inet-fail
[    0.764000] Registered led device: 963281T_TEF:green:ppp
[    0.764000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.764000] Registered led device: 963281T_TEF:green:3g
[    0.764000] Registered led device: 963281T_TEF:red:3g-fail
[    0.764000] Registered led device: 963281T_TEF:green:wlan
[    0.764000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.764000] Registered led device: 963281T_TEF:green:eth
[    0.768000] Registered led device: 963281T_TEF:red:eth-fail
[    0.768000] TCP westwood registered
[    0.772000] NET: Registered protocol family 17
[    0.776000] 8021q: 802.1Q VLAN Support v1.8
[    0.788000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.796000] Freeing unused kernel memory: 200k freed
[    3.352000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.408000] roboswitch: Probing device eth0:
[    3.412000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.420000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.428000] roboswitch: Probing device eth1: No such device
[    3.436000] roboswitch: Probing device eth2: No such device
[    3.440000] roboswitch: Probing device eth3: No such device
[   11.976000] Compat-wireless backport release: compat-wireless-2012-06-14
[   11.984000] Backport based on wireless-testing.git master-2012-06-14
[   11.988000] compat.git: wireless-testing.git
[   12.044000] cfg80211: Calling CRDA to update world regulatory domain
[   12.048000] cfg80211: World regulatory domain updated:
[   12.056000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.064000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.072000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.080000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.088000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.096000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.632000] NET: Registered protocol family 10
[   12.696000] There is already a switch registered on the device 'eth0'
[   12.704000] roboswitch: Probing device eth1: No such device
[   12.708000] roboswitch: Probing device eth2: No such device
[   12.716000] roboswitch: Probing device eth3: No such device
[   13.092000] bcma: exports duplicate symbol bcma_core_dma_translation (owned by kernel)
[   13.380000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.388000] Broadcom 43xx driver loaded [ Features: PNL ]
[   13.424000] Button Hotplug driver version 0.4.1
[   13.760000] PPP generic driver version 2.4.2
[   14.084000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.280000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.484000] NET: Registered protocol family 24
[   14.516000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.892000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   20.976000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   21.000000] device eth0 entered promiscuous mode
[   21.008000] br-lan: port 1(eth0) entered forwarding state
[   21.012000] br-lan: port 1(eth0) entered forwarding state
[   23.016000] br-lan: port 1(eth0) entered forwarding state
[   31.232000] eth0: no IPv6 routers present
[   39.052000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   39.068000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   39.072000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  124.720000] JFFS2 notice: (1019) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of.
[/spoiler]

Vale, volviendo a las pruebas del Wifi, he compilado un firmware en el que intento registrar la SPROM por BCMA.

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

Ya sabéis, necesito el bootlog ;).

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 23-06-2012, 11:58 (Sábado)
Esta mañana, justo antes de salir de viaje, he visto el nuevo firm. Sólo he tenido tiempo de instalarlo y ver que el wifi ya funciona ;D
Lo he activado y he hecho un scan de redes sin ningún problema ;D

Esto empieza a 'pitar'. A ver si alguien puede ayudarte con el tema de los botones y leds ;)

Enviado desde mi u8500 usando Tapatalk 2

hmmm, a mi no me funciona.. por ejemplo, en modo clente:

Código: [Seleccionar]
root@OpenWrt:/etc/config# ifup wan
PHY for wifi device radio0 not found
PHY for wifi device radio0 not found

[spoiler][    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 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 802a39f0, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
  • 0

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 29384k/32768k available (2239k kernel code, 3384k reserved, 400k data, 200k init,)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.276000] registering PCI controller with io_map_base unset
[    0.284000] bio: create slab <bio-0> at 0
[    0.288000] PCI host bridge to bus 0000:00
[    0.292000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.296000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.300000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.300000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.300000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.300000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.300000] pci 0000:01:00.0: supports D1 D2
[    0.300000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.304000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.308000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.312000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.316000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.320000] Switching to clocksource MIPS
[    0.328000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.336000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.340000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.348000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.360000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.436000] bcma: Failed to get SPROM: -71
[    0.440000] bcma: Bus registered
[    0.444000] NET: Registered protocol family 2
[    0.448000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.456000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.464000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.476000] TCP reno registered
[    0.480000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.484000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.492000] NET: Registered protocol family 1
[    0.496000] PCI: CLS 0 bytes, default 16
[    0.500000] audit: initializing netlink socket (disabled)
[    0.504000] type=2000 audit(0.504:1): initialized
[    0.512000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.516000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat,.
[    0.528000] msgmni has been set to 57
[    0.532000] io scheduler noop registered
[    0.536000] io scheduler deadline registered (default)
[    0.544000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.552000] console [ttyS0] enabled, bootconsole disabled
[    0.568000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.576000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.580000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.588000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.596000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.604000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.612000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.616000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.624000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.632000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.640000] Creating 5 MTD partitions on "spi0.0":
[    0.644000] 0x000000000000-0x000000010000 : "CFE"
[    0.652000] 0x000000010100-0x000000100000 : "kernel"
[    0.656000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller thy
[    0.672000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.680000] mtd: partition "rootfs" set to be root filesystem
[    0.684000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.692000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.700000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.708000] 0x000000010000-0x000000ff0000 : "linux"
[    0.752000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.760000] Registered led device: 963281T_TEF:green:power
[    0.760000] Registered led device: 963281T_TEF:red:stop
[    0.760000] Registered led device: 963281T_TEF:green:inet
[    0.760000] Registered led device: 963281T_TEF:red:inet-fail
[    0.764000] Registered led device: 963281T_TEF:green:ppp
[    0.764000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.764000] Registered led device: 963281T_TEF:green:3g
[    0.764000] Registered led device: 963281T_TEF:red:3g-fail
[    0.764000] Registered led device: 963281T_TEF:green:wlan
[    0.764000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.764000] Registered led device: 963281T_TEF:green:eth
[    0.768000] Registered led device: 963281T_TEF:red:eth-fail
[    0.768000] TCP westwood registered
[    0.772000] NET: Registered protocol family 17
[    0.776000] 8021q: 802.1Q VLAN Support v1.8
[    0.788000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.796000] Freeing unused kernel memory: 200k freed
[    3.352000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.408000] roboswitch: Probing device eth0:
[    3.412000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.420000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.428000] roboswitch: Probing device eth1: No such device
[    3.436000] roboswitch: Probing device eth2: No such device
[    3.440000] roboswitch: Probing device eth3: No such device
[   11.976000] Compat-wireless backport release: compat-wireless-2012-06-14
[   11.984000] Backport based on wireless-testing.git master-2012-06-14
[   11.988000] compat.git: wireless-testing.git
[   12.044000] cfg80211: Calling CRDA to update world regulatory domain
[   12.048000] cfg80211: World regulatory domain updated:
[   12.056000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.064000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.072000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.080000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.088000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.096000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.632000] NET: Registered protocol family 10
[   12.696000] There is already a switch registered on the device 'eth0'
[   12.704000] roboswitch: Probing device eth1: No such device
[   12.708000] roboswitch: Probing device eth2: No such device
[   12.716000] roboswitch: Probing device eth3: No such device
[   13.092000] bcma: exports duplicate symbol bcma_core_dma_translation (owned by kernel)
[   13.380000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.388000] Broadcom 43xx driver loaded [ Features: PNL ]
[   13.424000] Button Hotplug driver version 0.4.1
[   13.760000] PPP generic driver version 2.4.2
[   14.084000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.280000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.484000] NET: Registered protocol family 24
[   14.516000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.892000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   20.976000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   21.000000] device eth0 entered promiscuous mode
[   21.008000] br-lan: port 1(eth0) entered forwarding state
[   21.012000] br-lan: port 1(eth0) entered forwarding state
[   23.016000] br-lan: port 1(eth0) entered forwarding state
[   31.232000] eth0: no IPv6 routers present
[   39.052000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   39.068000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   39.072000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  124.720000] JFFS2 notice: (1019) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of.
[/spoiler]

Como podéis comprender no me puedo fiar de los resultados dado que cada uno ha reportado un resultado distinto xD.

De ahora en adelante, en lugar de introducir los comandos vía telnet, procurad hacerlo por la misma consola del Bootlog. De esta forma, al subir vuestros Bootlogs podré ver perfectamente los resultados. Por si no lo sabéis, esto se hace pulsando Enter en la consola, una vez que véis que ya ha terminado de arrancar.

Cuando veáis esto, ya podéis pulsar el enter:
Código: [Seleccionar]
[   21.000000] device eth0 entered promiscuous mode
[   21.008000] br-lan: port 1(eth0) entered forwarding state
[   21.012000] br-lan: port 1(eth0) entered forwarding state
[   23.016000] br-lan: port 1(eth0) entered forwarding state
[   31.232000] eth0: no IPv6 routers present
[   39.052000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   39.068000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   39.072000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.

P.D: De todas formas, según el log de gmtii ha fallado el intento de la SPROM. Sin embargo, si jar229 ha conseguido hacer un scan, es que a él no debería haberle fallado.

Saludos!
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 23-06-2012, 13:09 (Sábado)
Puedes poner la modificación que has hecho?

Enviado desde mi Nexus One usando Tapatalk 2
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 23-06-2012, 13:24 (Sábado)
Puedes poner la modificación que has hecho?

Enviado desde mi Nexus One usando Tapatalk 2
Aquí tienes todos los cambios (svn diff):
https://dl.dropbox.com/u/4708147/openwrt/63281T/63281T_svn.patch

Por cierto gmtii, estás seguro de que has probado el firmware del último post y no el de los LEDs?
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_wlan.bin

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 23-06-2012, 14:01 (Sábado)
Si tenéis un rato, probad este otro firmware y postead el bootlog.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_wlan_debug.bin

Y cuando podáis, haced lo de los LEDs y los botones, que solo os lleva un rato y con eso ya se puede enviar el parche a openwrt.

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 23-06-2012, 16:12 (Sábado)
No llegaré a casa hasta mañana, así que ...
De todas formas, yo no tengo cable serial (lo hago todo conectado por ethernet), así que no puedo mandar el bootlog, a lo sumo el dmseg  :-\
Ah, y yo el scan de redes lo he hecho desde LuCi  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 23-06-2012, 16:35 (Sábado)
No llegaré a casa hasta mañana, así que ...
De todas formas, yo no tengo cable serial (lo hago todo conectado por ethernet), así que no puedo mandar el bootlog, a lo sumo el dmseg  :-\
Ah, y yo el scan de redes lo he hecho desde LuCi  ;)
Da igual que no tengas cable serial. Pero si vas a mandar el bootlog haciendo dmesg. Lo normal es que el principio del dmesg se pierda, y el problema es que es lo que nos interesa.
Para evitar esto, lo más sencillo es que guardes el dmesg en un fichero y lo descargues a traves del servidor web.
Para hacer esto tienes que ejecutar este comando:
dmesg > /www/dmesg.txt
Una vez ejecutado ese comando, ve a la dirección http://192.168.1.1/dmesg.txt en el navegador.

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 24-06-2012, 19:53 (Domingo)
buenas,

te confirmo que vía luci hizo un scan de redes wifi disponibles, pero no hay forma de configurar el interface en modo ap o sta...

ahí va el bootlog

[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 23 13:55:19 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 802a39f0, 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.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 (2239k kernel code, 3384k reserved, 400k 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.056000] [DEBUG] Trying to register SSB SPROM.
[    0.060000] [DEBUG] Trying to register BCMA SPROM.
[    0.284000] registering PCI controller with io_map_base unset
[    0.292000] 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.356000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.364000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.444000] bcma: Failed to get SPROM: -71
[    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.620000] 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.768000] 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 westwood 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.392000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.444000] roboswitch: Probing device eth0:
[    3.448000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.460000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.464000] roboswitch: Probing device eth1: No such device
[    3.472000] roboswitch: Probing device eth2: No such device
[    3.476000] roboswitch: Probing device eth3: No such device
[   12.088000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.092000] Backport based on wireless-testing.git master-2012-06-14
[   12.100000] 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.596000] NET: Registered protocol family 10
[   12.660000] There is already a switch registered on the device 'eth0'
[   12.668000] roboswitch: Probing device eth1: No such device
[   12.672000] roboswitch: Probing device eth2: No such device
[   12.680000] roboswitch: Probing device eth3: No such device
[   13.308000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.316000] Broadcom 43xx driver loaded [ Features: PNL ]
[   13.352000] Button Hotplug driver version 0.4.1
[   13.672000] PPP generic driver version 2.4.2
[   14.076000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.088000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.400000] NET: Registered protocol family 24
[   14.436000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.804000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   20.732000] device eth0 entered promiscuous mode
[   20.740000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   20.748000] br-lan: port 1(eth0) entered forwarding state
[   20.752000] br-lan: port 1(eth0) entered forwarding state
[   22.756000] br-lan: port 1(eth0) entered forwarding state
[   31.064000] eth0: no IPv6 routers present
[   38.972000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   38.988000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   38.992000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  127.256000] JFFS2 notice: (1018) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  146.580000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  146.684000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  149.020000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  149.128000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  151.412000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  151.516000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  160.056000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  160.160000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  208.864000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  208.968000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready[/spoiler]


Si tenéis un rato, probad este otro firmware y postead el bootlog.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_wlan_debug.bin

Y cuando podáis, haced lo de los LEDs y los botones, que solo os lleva un rato y con eso ya se puede enviar el parche a openwrt.

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 24-06-2012, 20:53 (Domingo)
buenas,

te confirmo que vía luci hizo un scan de redes wifi disponibles, pero no hay forma de configurar el interface en modo ap o sta...

ahí va el bootlog

[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 23 13:55:19 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 802a39f0, 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 (2239k kernel code, 3384k reserved, 400k 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.056000] [DEBUG] Trying to register SSB SPROM.
[    0.060000] [DEBUG] Trying to register BCMA SPROM.
[    0.284000] registering PCI controller with io_map_base unset
[    0.292000] 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.356000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.364000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.444000] bcma: Failed to get SPROM: -71
[    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.620000] 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.768000] 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 westwood 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.392000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.444000] roboswitch: Probing device eth0:
[    3.448000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.460000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.464000] roboswitch: Probing device eth1: No such device
[    3.472000] roboswitch: Probing device eth2: No such device
[    3.476000] roboswitch: Probing device eth3: No such device
[   12.088000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.092000] Backport based on wireless-testing.git master-2012-06-14
[   12.100000] 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.596000] NET: Registered protocol family 10
[   12.660000] There is already a switch registered on the device 'eth0'
[   12.668000] roboswitch: Probing device eth1: No such device
[   12.672000] roboswitch: Probing device eth2: No such device
[   12.680000] roboswitch: Probing device eth3: No such device
[   13.308000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   13.316000] Broadcom 43xx driver loaded [ Features: PNL ]
[   13.352000] Button Hotplug driver version 0.4.1
[   13.672000] PPP generic driver version 2.4.2
[   14.076000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.088000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.400000] NET: Registered protocol family 24
[   14.436000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.804000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   20.732000] device eth0 entered promiscuous mode
[   20.740000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   20.748000] br-lan: port 1(eth0) entered forwarding state
[   20.752000] br-lan: port 1(eth0) entered forwarding state
[   22.756000] br-lan: port 1(eth0) entered forwarding state
[   31.064000] eth0: no IPv6 routers present
[   38.972000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   38.988000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   38.992000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  127.256000] JFFS2 notice: (1018) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  146.580000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  146.684000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  149.020000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  149.128000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  151.412000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  151.516000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  160.056000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  160.160000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  208.864000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  208.968000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready[/spoiler]


Si tenéis un rato, probad este otro firmware y postead el bootlog.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_wlan_debug.bin

Y cuando podáis, haced lo de los LEDs y los botones, que solo os lleva un rato y con eso ya se puede enviar el parche a openwrt.

Saludos.
Ok, por lo que parece el SPROM sigue sin registrarse correctamente.

Me gustaría que probaras este otro firmware, para comprobar si no llega a intentar registrarlo o si es que los parámetros del SPROM están mal.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_wlan_bcma_debug.bin

También, vuelvo a insistir en lo de los LEDs y los botones. Cuanto antes quede zanajado mejor.

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 24-06-2012, 21:13 (Domingo)
Acabo de llegar a casa.
Mañana instalo el nuevo firm y lo pruebo.
A parte de lo comentado por gmitii (no he podido ponerla como AP), también me he dado cuenta que la wifi la reconoce como bg, cuando debería ser bgn, no ?

En cualquier caso, vamos mejorando  ;)

Ah, y prometo mirar el tema de los leds  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 25-06-2012, 09:17 (Lunes)
Nuevo firmware instalado.

LED's.

Excepto estos 6, los demas funcionan correctamente.

Citar
6-A) Encender LED de ppp-fail (ADSL-Fail):
Código:

echo 1 > /sys/class/leds/963281T_TEF\:red\:ppp-fail/brightness

6-B) Apagar LED de ppp-fail (ADSL-Fail):
Código:

echo 0 > /sys/class/leds/963281T_TEF\:red\:ppp-fail/brightness


10-A) Encender LED del Wifi-fail:
Código:

echo 1 > /sys/class/leds/963281T_TEF\:red\:wlan-fail/brightness

10-B) Apagar LED del Wifi-fail:
Código:

echo 0 > /sys/class/leds/963281T_TEF\:red\:wlan-fail/brightness


12-A) Encender LED del Ethernet-fail:
Código:

echo 1 > /sys/class/leds/963281T_TEF\:red\:eth-fail/brightness

12-B) Apagar LED del Ethernet-fail:
Código:

echo 0 > /sys/class/leds/963281T_TEF\:red\:eth-fail/brightness


Botón Wifi:

Citar
root@OpenWrt:~# echo 24 > /sys/class/gpio/export
root@OpenWrt:~# cat /sys/class/gpio/gpio24/value
1
root@OpenWrt:~# cat /sys/class/gpio/gpio24/value
0
root@OpenWrt:~#

Botón reset:

Citar
root@OpenWrt:~# echo 23 > /sys/class/gpio/export
root@OpenWrt:~# cat /sys/class/gpio/gpio23/value
1
root@OpenWrt:~# cat /sys/class/gpio/gpio23/value
0
root@OpenWrt:~#

Puf, vaya paliza con el botón del reset  ;D

Con el pulsador de Power (on/off) no hay que hacer nada, no ?

Voy a preparar las cosas, y me voy a la playa con los 'enanos'  >:(

Ah, sí me olvidaba ...

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 23 13:55:19 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 802a39f0, 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.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 (2239k kernel code, 3384k reserved, 400k 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.056000] [DEBUG] Trying to register SSB SPROM.
[    0.060000] [DEBUG] Trying to register BCMA SPROM.
[    0.284000] registering PCI controller with io_map_base unset
[    0.292000] 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.356000] 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.444000] bcma: Failed to get SPROM: -71
[    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.620000] 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.768000] 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 westwood 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.392000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.400000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.452000] roboswitch: Probing device eth0:
[    3.460000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.468000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.476000] roboswitch: Probing device eth1: No such device
[    3.480000] roboswitch: Probing device eth2: No such device
[    3.484000] roboswitch: Probing device eth3: No such device
[    9.444000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    9.452000] jffs2_build_filesystem(): unlocking the mtd device... done.
[    9.460000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  101.972000] JFFS2 notice: (333) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  105.256000] Compat-wireless backport release: compat-wireless-2012-06-14
[  105.264000] Backport based on wireless-testing.git master-2012-06-14
[  105.272000] compat.git: wireless-testing.git
[  105.328000] cfg80211: Calling CRDA to update world regulatory domain
[  105.332000] cfg80211: World regulatory domain updated:
[  105.340000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[  105.348000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  105.356000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  105.364000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  105.372000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  105.380000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  105.768000] NET: Registered protocol family 10
[  105.832000] There is already a switch registered on the device 'eth0'
[  105.840000] roboswitch: Probing device eth1: No such device
[  105.844000] roboswitch: Probing device eth2: No such device
[  105.852000] roboswitch: Probing device eth3: No such device
[  106.484000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[  106.488000] Broadcom 43xx driver loaded [ Features: PNL ]
[  106.524000] Button Hotplug driver version 0.4.1
[  106.844000] PPP generic driver version 2.4.2
[  107.216000] ip_tables: (C) 2000-2006 Netfilter Core Team
[  107.424000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  107.568000] NET: Registered protocol family 24
[  107.604000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[  107.976000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  112.484000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[  112.492000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[  112.504000] device eth0 entered promiscuous mode
[  112.512000] br-lan: port 1(eth0) entered forwarding state
[  112.516000] br-lan: port 1(eth0) entered forwarding state
[  114.520000] br-lan: port 1(eth0) entered forwarding state
[  123.216000] eth0: no IPv6 routers present

[/spoiler]
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 25-06-2012, 11:17 (Lunes)
Nuevo firmware instalado.

LED's.

Excepto estos 6, los demas funcionan correctamente.

Citar
6-A) Encender LED de ppp-fail (ADSL-Fail):
Código:

echo 1 > /sys/class/leds/963281T_TEF\:red\:ppp-fail/brightness

6-B) Apagar LED de ppp-fail (ADSL-Fail):
Código:

echo 0 > /sys/class/leds/963281T_TEF\:red\:ppp-fail/brightness


10-A) Encender LED del Wifi-fail:
Código:

echo 1 > /sys/class/leds/963281T_TEF\:red\:wlan-fail/brightness

10-B) Apagar LED del Wifi-fail:
Código:

echo 0 > /sys/class/leds/963281T_TEF\:red\:wlan-fail/brightness


12-A) Encender LED del Ethernet-fail:
Código:

echo 1 > /sys/class/leds/963281T_TEF\:red\:eth-fail/brightness

12-B) Apagar LED del Ethernet-fail:
Código:

echo 0 > /sys/class/leds/963281T_TEF\:red\:eth-fail/brightness


Botón Wifi:

Citar
root@OpenWrt:~# echo 24 > /sys/class/gpio/export
root@OpenWrt:~# cat /sys/class/gpio/gpio24/value
1
root@OpenWrt:~# cat /sys/class/gpio/gpio24/value
0
root@OpenWrt:~#

Botón reset:

Citar
root@OpenWrt:~# echo 23 > /sys/class/gpio/export
root@OpenWrt:~# cat /sys/class/gpio/gpio23/value
1
root@OpenWrt:~# cat /sys/class/gpio/gpio23/value
0
root@OpenWrt:~#

Puf, vaya paliza con el botón del reset  ;D

Con el pulsador de Power (on/off) no hay que hacer nada, no ?

Voy a preparar las cosas, y me voy a la playa con los 'enanos'  >:(

Ah, sí me olvidaba ...

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 23 13:55:19 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 802a39f0, 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 (2239k kernel code, 3384k reserved, 400k 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.056000] [DEBUG] Trying to register SSB SPROM.
[    0.060000] [DEBUG] Trying to register BCMA SPROM.
[    0.284000] registering PCI controller with io_map_base unset
[    0.292000] 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.356000] 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.444000] bcma: Failed to get SPROM: -71
[    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.620000] 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.768000] 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 westwood 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.392000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.400000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.452000] roboswitch: Probing device eth0:
[    3.460000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.468000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.476000] roboswitch: Probing device eth1: No such device
[    3.480000] roboswitch: Probing device eth2: No such device
[    3.484000] roboswitch: Probing device eth3: No such device
[    9.444000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    9.452000] jffs2_build_filesystem(): unlocking the mtd device... done.
[    9.460000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  101.972000] JFFS2 notice: (333) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  105.256000] Compat-wireless backport release: compat-wireless-2012-06-14
[  105.264000] Backport based on wireless-testing.git master-2012-06-14
[  105.272000] compat.git: wireless-testing.git
[  105.328000] cfg80211: Calling CRDA to update world regulatory domain
[  105.332000] cfg80211: World regulatory domain updated:
[  105.340000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[  105.348000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  105.356000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  105.364000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  105.372000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  105.380000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  105.768000] NET: Registered protocol family 10
[  105.832000] There is already a switch registered on the device 'eth0'
[  105.840000] roboswitch: Probing device eth1: No such device
[  105.844000] roboswitch: Probing device eth2: No such device
[  105.852000] roboswitch: Probing device eth3: No such device
[  106.484000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[  106.488000] Broadcom 43xx driver loaded [ Features: PNL ]
[  106.524000] Button Hotplug driver version 0.4.1
[  106.844000] PPP generic driver version 2.4.2
[  107.216000] ip_tables: (C) 2000-2006 Netfilter Core Team
[  107.424000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  107.568000] NET: Registered protocol family 24
[  107.604000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[  107.976000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  112.484000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[  112.492000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[  112.504000] device eth0 entered promiscuous mode
[  112.512000] br-lan: port 1(eth0) entered forwarding state
[  112.516000] br-lan: port 1(eth0) entered forwarding state
[  114.520000] br-lan: port 1(eth0) entered forwarding state
[  123.216000] eth0: no IPv6 routers present

[/spoiler]

Esos 6 comandos (equivalentes a 3 LEDs) no funcionan o funcionan pero al revés?
Parece que los nuevos debugs que he insertado no han salido ninguno -.- (BCMA SPROM).

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 25-06-2012, 11:38 (Lunes)
Asumiendo que los 3 LEDs que has comentado son active_high, en vez de active_low, he compilado este nuevo firmware, en el que también he aprovechado para hacer una modificación en el registro de la SPROM y he añadido los botones.

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

Aun así me estoy quedando sin ideas para el Wifi :$...
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 25-06-2012, 14:19 (Lunes)
Citar
Esos 6 comandos (equivalentes a 3 LEDs) no funcionan o funcionan pero al revés?

No hacen nada.

Cuando pueda, instalo el nuevo firm y compruebo lo de los leds ... y a ver si por fin la wifi quiere funcionar correctamente  ;D
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 25-06-2012, 14:32 (Lunes)
Citar
Esos 6 comandos (equivalentes a 3 LEDs) no funcionan o funcionan pero al revés?

No hacen nada.

Cuando pueda, instalo el nuevo firm y compruebo lo de los leds ... y a ver si por fin la wifi quiere funcionar correctamente  ;D
Lo dudo mucho :P. Me estoy limitando a poner "Debugs" y a alterar pequeñas partes del código para ver qué sucede exactamente.

Lo del Wifi va a ser un tema a largo plazo...
De todas formas no os desaniméis, porque es cuestión de tiempo que los desarrolladores de Openwrt de brcm63xx tengan un terminal con PCIe y con una tarjeta WLAN que utilice una SPROM conectada por PCIe y añadan las modificaciones necesarias.
De hecho, ya hay algo parecido para PCI. Hay una fallback SPROM registrada para SSB, y lo que estoy intentando es clonar dicho código adaptándolo para BCMA. También me apoyo en el código que hay de brcm47xx, que tiene ambas SPROM implementadas. El problema es que brcm47xx identifica los valores de la SPROM leyéndolos de la nvram, y eso en brcm63xx no se puede hacer...

Espero feedback de los LEDs cuando puedas ;).

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 26-06-2012, 08:13 (Martes)
Instalado el nuevo firm, los 6 leds siguen sin funcionar  ???

Aquí el dmesg

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #4 Mon Jun 25 11:34:01 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 802a39f0, 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.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 (2240k kernel code, 3384k reserved, 400k 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.056000] [DEBUG] Trying to register BCMA SPROM.
[    0.280000] registering PCI controller with io_map_base unset
[    0.288000] bio: create slab <bio-0> at 0
[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.324000] Switching to clocksource MIPS
[    0.332000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.340000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.344000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.352000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.360000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.400000] [DEBUG] BCMA_SPROM_GET S1.
[    0.400000] [DEBUG] BCMA_SPROM_GET S2.
[    0.444000] 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.620000] 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.772000] 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 westwood 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.396000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.452000] roboswitch: Probing device eth0:
[    3.456000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.464000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.472000] roboswitch: Probing device eth1: No such device
[    3.476000] roboswitch: Probing device eth2: No such device
[    3.480000] roboswitch: Probing device eth3: No such device
[    9.436000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    9.444000] jffs2_build_filesystem(): unlocking the mtd device... done.
[    9.448000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  101.636000] JFFS2 notice: (335) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  104.920000] Compat-wireless backport release: compat-wireless-2012-06-14
[  104.924000] Backport based on wireless-testing.git master-2012-06-14
[  104.932000] compat.git: wireless-testing.git
[  104.992000] cfg80211: Calling CRDA to update world regulatory domain
[  104.996000] cfg80211: World regulatory domain updated:
[  105.004000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[  105.012000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  105.020000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  105.028000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  105.036000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  105.044000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  105.432000] NET: Registered protocol family 10
[  105.496000] There is already a switch registered on the device 'eth0'
[  105.504000] roboswitch: Probing device eth1: No such device
[  105.508000] roboswitch: Probing device eth2: No such device
[  105.516000] roboswitch: Probing device eth3: No such device
[  106.152000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[  106.156000] Broadcom 43xx driver loaded [ Features: PNL ]
[  106.192000] Button Hotplug driver version 0.4.1
[  106.512000] PPP generic driver version 2.4.2
[  106.884000] ip_tables: (C) 2000-2006 Netfilter Core Team
[  107.088000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  107.236000] NET: Registered protocol family 24
[  107.272000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[  107.644000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  107.932000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[  112.084000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[  112.092000] device eth0 entered promiscuous mode
[  112.100000] br-lan: port 1(eth0) entered forwarding state
[  112.104000] br-lan: port 1(eth0) entered forwarding state
[  114.108000] br-lan: port 1(eth0) entered forwarding state
[  122.920000] eth0: no IPv6 routers present

[/spoiler]

Al intentar configurar el wifi en modo cliente, suelta una serie de errores. A ver si te dan alguna pista ...

Citar
[  497.792000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  497.896000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  500.136000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  500.240000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  502.496000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  502.600000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  508.896000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  509.000000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  525.136000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  525.240000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 26-06-2012, 11:34 (Martes)
Instalado el nuevo firm, los 6 leds siguen sin funcionar  ???

Aquí el dmesg

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #4 Mon Jun 25 11:34:01 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 802a39f0, 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 (2240k kernel code, 3384k reserved, 400k 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.056000] [DEBUG] Trying to register BCMA SPROM.
[    0.280000] registering PCI controller with io_map_base unset
[    0.288000] bio: create slab <bio-0> at 0
[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.324000] Switching to clocksource MIPS
[    0.332000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.340000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.344000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.352000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.360000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.400000] [DEBUG] BCMA_SPROM_GET S1.
[    0.400000] [DEBUG] BCMA_SPROM_GET S2.
[    0.444000] 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.620000] 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.772000] 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 westwood 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.396000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.452000] roboswitch: Probing device eth0:
[    3.456000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.464000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.472000] roboswitch: Probing device eth1: No such device
[    3.476000] roboswitch: Probing device eth2: No such device
[    3.480000] roboswitch: Probing device eth3: No such device
[    9.436000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    9.444000] jffs2_build_filesystem(): unlocking the mtd device... done.
[    9.448000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  101.636000] JFFS2 notice: (335) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  104.920000] Compat-wireless backport release: compat-wireless-2012-06-14
[  104.924000] Backport based on wireless-testing.git master-2012-06-14
[  104.932000] compat.git: wireless-testing.git
[  104.992000] cfg80211: Calling CRDA to update world regulatory domain
[  104.996000] cfg80211: World regulatory domain updated:
[  105.004000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[  105.012000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  105.020000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  105.028000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  105.036000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  105.044000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  105.432000] NET: Registered protocol family 10
[  105.496000] There is already a switch registered on the device 'eth0'
[  105.504000] roboswitch: Probing device eth1: No such device
[  105.508000] roboswitch: Probing device eth2: No such device
[  105.516000] roboswitch: Probing device eth3: No such device
[  106.152000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[  106.156000] Broadcom 43xx driver loaded [ Features: PNL ]
[  106.192000] Button Hotplug driver version 0.4.1
[  106.512000] PPP generic driver version 2.4.2
[  106.884000] ip_tables: (C) 2000-2006 Netfilter Core Team
[  107.088000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  107.236000] NET: Registered protocol family 24
[  107.272000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[  107.644000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  107.932000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[  112.084000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[  112.092000] device eth0 entered promiscuous mode
[  112.100000] br-lan: port 1(eth0) entered forwarding state
[  112.104000] br-lan: port 1(eth0) entered forwarding state
[  114.108000] br-lan: port 1(eth0) entered forwarding state
[  122.920000] eth0: no IPv6 routers present

[/spoiler]

Al intentar configurar el wifi en modo cliente, suelta una serie de errores. A ver si te dan alguna pista ...

Citar
[  497.792000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  497.896000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  500.136000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  500.240000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  502.496000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  502.600000] ADDRCONF(NETDEV_UP): tmp.wlan0: link is not ready
[  508.896000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  509.000000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  525.136000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  525.240000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
Te toca repetir estos comandos para los GPIOs restantes, para encontrar los LEDs de: ADSL-Fail, Wifi-fail y Ethernet-fail.

GPIOs comprobados hasta el momento: 2/3/4/5/6/7/8/9/10/20/23/24/31

GPIOs restantes: 0/1/11/12/13/14/15/16/17/18/19/21/22/25/26/27/28/29/30
Para estos GPIOs restantes tienes que ejecutar los siguientes comandos (cambiado N por el GPIO en cuestión):
Código: [Seleccionar]
#Exportar el GPIO N.
echo N > /sys/class/gpio/export
#Cambiar la dirección a salida.
echo out > /sys/class/gpio/gpioN/direction
#Si el LED es active_low, lo encenderá, si el LED es active_high lo apagará
echo 0 > /sys/class/gpio/gpioN/value
#Si el LED es active_low, lo apagará, si el LED es active_high lo encenderá
echo 1 > /sys/class/gpio/gpioN/value

P.D: Una vez que encuentres los 3 LEDs restantes ya sí que definitivamente puedo mandar los parches ;) (con el WLAN sin funcionar).
P.D2: Con respecto al WLAN, el último firmware que has probado me dice que el BCMA intenta acceder a la SPROM que he intentado registrar pero detecta que la configuración no cumple los "requisitos" y la descarta.
Para esto necesitamos la ayuda de KanjiMonster y Florian y nos va a llevar más tiempo.

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 27-06-2012, 08:54 (Miércoles)
Pues los jodidos se resisten  :-X

Cuando intento el gpio 11, me dice que está ocupado

Código: [Seleccionar]
root@OpenWrt:~# echo 11 > /sys/class/gpio/export
ash: write error: Device or resource busy

El gpio 12, apaga y enciende el led de power

Código: [Seleccionar]
root@OpenWrt:~# echo 12 > /sys/class/gpio/export
root@OpenWrt:~# echo out > /sys/class/gpio/gpio12/direction
root@OpenWrt:~# echo 0 > /sys/class/gpio/gpio12/value
root@OpenWrt:~# echo 1 > /sys/class/gpio/gpio12/value
root@OpenWrt:~# echo 0 > /sys/class/gpio/gpio12/value
root@OpenWrt:~# echo 1 > /sys/class/gpio/gpio12/value
root@OpenWrt:~#

El resto, no hacen nada  ???
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 27-06-2012, 09:46 (Miércoles)
Vale, entonces tengo un par de preguntas:
Los LEDs que ya has comprobado que funcionan ¿están bien asignados? Es decir, ¿cada uno realiza su función basandose en el nombre del LED?
El LED de Power con los últimos firmwares está encendido en verde nada más encender el router? (Se puede controlar con ambos GPIO el mismo LED de Power?
Los 3 LEDs que no hemos podido identificar se encienden en rojo alguna vez en el firmware original?

Saludos

Pues los jodidos se resisten  :-X

Cuando intento el gpio 11, me dice que está ocupado

Código: [Seleccionar]
root@OpenWrt:~# echo 11 > /sys/class/gpio/export
ash: write error: Device or resource busy

El gpio 12, apaga y enciende el led de power

Código: [Seleccionar]
root@OpenWrt:~# echo 12 > /sys/class/gpio/export
root@OpenWrt:~# echo out > /sys/class/gpio/gpio12/direction
root@OpenWrt:~# echo 0 > /sys/class/gpio/gpio12/value
root@OpenWrt:~# echo 1 > /sys/class/gpio/gpio12/value
root@OpenWrt:~# echo 0 > /sys/class/gpio/gpio12/value
root@OpenWrt:~# echo 1 > /sys/class/gpio/gpio12/value
root@OpenWrt:~#

El resto, no hacen nada  ???
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 27-06-2012, 10:22 (Miércoles)
Vale, entonces tengo un par de preguntas:
Los LEDs que ya has comprobado que funcionan ¿están bien asignados? Es decir, ¿cada uno realiza su función basandose en el nombre del LED?
El LED de Power con los últimos firmwares está encendido en verde nada más encender el router? (Se puede controlar con ambos GPIO el mismo LED de Power?
Los 3 LEDs que no hemos podido identificar se encienden en rojo alguna vez en el firmware original?

Saludos


Sí, los leds comprobados están bien asignados.
Sí, el led de power se enciende nada más enceder el router.
Y a la tercera pregunta ... no te sabría decir.
Nunca he conectado el router al ADSL  ???
Lo que sí he visto, es que por 1 milisegundo, cuando enciendo el router, pone el led en rojo (fail) y luego lo apaga (como haciendo un test) de: power, 3g e internet.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 27-06-2012, 10:27 (Miércoles)
Vale, entonces tengo un par de preguntas:
Los LEDs que ya has comprobado que funcionan ¿están bien asignados? Es decir, ¿cada uno realiza su función basandose en el nombre del LED?
El LED de Power con los últimos firmwares está encendido en verde nada más encender el router? (Se puede controlar con ambos GPIO el mismo LED de Power?
Los 3 LEDs que no hemos podido identificar se encienden en rojo alguna vez en el firmware original?

Saludos


Sí, los leds comprobados están bien asignados.
Sí, el led de power se enciende nada más enceder el router.
Y a la tercera pregunta ... no te sabría decir.
Nunca he conectado el router al ADSL  ???
Lo que sí he visto, es que por 1 milisegundo, cuando enciendo el router, pone el led en rojo (fail) y luego lo apaga (como haciendo un test) de: power, 3g e internet.
Entonces voy a solicitar el soporte dejando los 3 LEDs que dan problemas, ya que si dices que se encienden al hacer el Test...
Por cierto, el de POWER en rojo es el de STOP, los que dan problemas son eth-fail, ppp-fail y wlan-fail, verdad?
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 27-06-2012, 10:40 (Miércoles)
Sí  ;)

Ya irás contando como evoluciona el tema  >:(

Por cierto, que como ya comenté en otro post: https://foro.seguridadwireless.net/openwrt/openwrt-en-routers-de-telefonica-home-station-alpha-asl26555-y-adb-p-dg-a4001n1/msg245806/#msg245806 tengo otro router de características similares, crees que se podría hacer algo con él ?
El Comtrend tiene el doble de Ram que el ADB, y debería notarse  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 27-06-2012, 11:15 (Miércoles)
Sí  ;)

Ya irás contando como evoluciona el tema  >:(

Por cierto, que como ya comenté en otro post: https://foro.seguridadwireless.net/openwrt/openwrt-en-routers-de-telefonica-home-station-alpha-asl26555-y-adb-p-dg-a4001n1/msg245806/#msg245806 tengo otro router de características similares, crees que se podría hacer algo con él ?
El Comtrend tiene el doble de Ram que el ADB, y debería notarse  ;)
En cuanto pongan el GPL en la web de Comtrend me pongo con este router sin ningún problema.

Por cierto, me he fijado en que los dispositivos que necesitan SPROM para el Wifi se detalla en el GPL (por lo menos en el de Comtrend) la configuración necesaria para leerla.
No estaría mal pedir a los de ADB el GPL del router, seguramente con eso podría hacer funcionar definitivamente el Wifi...

El único problema es que hay que pedir el soporte por email y ellos te lo envían a una dirección física. ¿Alguno se anima a pedirlo o a mandarles emails hasta que accedan a mandarlo virtualmente?
http://www.adbglobal.com/medias/files/support_files/how%20to%20receive%20the%20code.png

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 27-06-2012, 11:29 (Miércoles)
Con respecto al Comtrend AR-5387un me vendría bien que ejecutases:
Código: [Seleccionar]
cat /proc/bus/pci/devicesSimplemente para ver qué WLAN lleva.

Saludos.

EDIT: Añadido el ADB a la wiki de openwrt: http://wiki.openwrt.org/toh/adb/p.dg_a4001n1
¿Podríais poner alguno un bootlog del firmware original para añadirlo a la wiki?
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 27-06-2012, 14:50 (Miércoles)
El único problema es que hay que pedir el soporte por email y ellos te lo envían a una dirección física. ¿Alguno se anima a pedirlo o a mandarles emails hasta que accedan a mandarlo virtualmente?
http://www.adbglobal.com/medias/files/support_files/how%20to%20receive%20the%20code.png

Saludos!

Enviado mail.
Si dan señales de vida por mail o correo postal, ya aviso.

Citar
BCM96328 Broadband Router
Login: admin
Password:
 > cat /proc/bus/pci/devices
0048    14e46300        31              10002600                       0                       0                       0                       0                       0                       0                     100                       0                       0                       0                       0                       0                       0        ohci_hcd
0050    14e46300        32              10002500                       0                       0                       0                       0                       0                       0                     100                       0                       0                       0                       0                       0                       0        ehci_hcd
0100    14e46328        0                      0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0        pcieport-driver
0200    14e4a8d8        1f              10f00004                       0                       0                       0                       0                       0                       0                    4000                       0                       0                       0                       0                       0                       0        wl
 >
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 27-06-2012, 14:54 (Miércoles)
El único problema es que hay que pedir el soporte por email y ellos te lo envían a una dirección física. ¿Alguno se anima a pedirlo o a mandarles emails hasta que accedan a mandarlo virtualmente?
http://www.adbglobal.com/medias/files/support_files/how%20to%20receive%20the%20code.png

Saludos!

Enviado mail.
Si dan señales de vida por mail o correo, ya aviso.

Citar
BCM96328 Broadband Router
Login: admin
Password:
 > cat /proc/bus/pci/devices
0048    14e46300        31              10002600                       0                       0                       0                       0                       0                       0                     100                       0                       0                       0                       0                       0                       0        ohci_hcd
0050    14e46300        32              10002500                       0                       0                       0                       0                       0                       0                     100                       0                       0                       0                       0                       0                       0        ehci_hcd
0100    14e46328        0                      0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0                       0        pcieport-driver
0200    14e4a8d8        1f              10f00004                       0                       0                       0                       0                       0                       0                    4000                       0                       0                       0                       0                       0                       0        wl
 >
mmm otro 43224 (0xa8d8)...

Pues sí, se parece bastante al ADB. El único problema es que sin el GPL de ese router (comtrend tiene desactualizada la página de GPL), no puedo saber cómo mapear los puertos del switch interno del broadcom 6328, si es que no usa un switch externo.

Podría intentar hacer un firmware basándome en el ADB, sin LEDs, el problema es que los puertos ethernet tienen una gran probabilidad de no funcionar...
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 27-06-2012, 14:57 (Miércoles)
Pues entonces no te preocupes.

Ah, con respecto al ADB, a ver gmtii si te manda el log con firm original, que yo no puedo  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 27-06-2012, 15:06 (Miércoles)
Pues entonces no te preocupes.

Ah, con respecto al ADB, a ver gmtii si te manda el log con firm original, que yo no puedo  ;)
No te deja hacer un dmesg?

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 ;).
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 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.

Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari 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...
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii 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]
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 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  ^-^
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari 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.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari 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!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 29-06-2012, 21:40 (Viernes)
Oh Dios, me amo :D.

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

¡A investigar!

 ;D ;D ;D
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari 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!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari 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 :$...
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari 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!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii 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.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!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari 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
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii 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
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari 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
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii 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
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari 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!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari 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.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 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.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
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari 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!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: SERASER en 30-06-2012, 18:02 (Sábado)
Enhorabuena a todos, en especial a Noltari, gracias por vuestro trabajo.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 30-06-2012, 18:10 (Sábado)
Enhorabuena a todos, en especial a Noltari, gracias por vuestro trabajo.

 >:( >:( >:(


¿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!

Sí es el último firm  ;)
No hace falta que asegures nada, cualquiera que lea el hilo, puede ver perfectamente el trabajo que has hecho  ;)

Y gmtti también  >:(
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 30-06-2012, 18:13 (Sábado)
Enhorabuena a todos, en especial a Noltari, gracias por vuestro trabajo.
Gracias :D.

Las modificaciones las he hecho pensando en posibles placas nuevas que estén en la misma situación, por lo que partiendo de la base de mis parches es realmente sencillo adaptarlo.
Además, con el programa que he mencionado antes (https://github.com/Noltari/SPROM_Map) es realmente sencillo sacar las fallback sprom desde los archivos proporcionados por el GPL de Broadcom.

Todos los cambios al SVN:
https://dl.dropbox.com/u/4708147/openwrt/63281T/63281T_TEF-svn.patch

Parches del WLAN enviados:
https://lists.openwrt.org/pipermail/openwrt-devel/2012-June/015875.html
https://lists.openwrt.org/pipermail/openwrt-devel/2012-June/015876.html

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 30-06-2012, 19:00 (Sábado)
Con respecto al USB y al Wifi N, me temo que es cuestión de configuraciones del firmware (no controlo muy bien las del Wifi N xDDDD).

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

Aviso: puede que el Wifi no funcione si brcmsmac no tiene definido el 43225 (WLAN de este router).

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 30-06-2012, 20:09 (Sábado)
wifi N funcionando! ... el brcmsmac si que soporta el 43225... bueno nos queda el USB.

bootlog

[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 18:55:39 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.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 310004 and length cdfffc
[    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=310000, len=CE0000
[    0.700000] 0x000000310000-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.808000] Freeing unused kernel memory: 200k freed
[    3.156000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.164000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.404000] roboswitch: Probing device eth0:
[    3.408000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.416000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.424000] roboswitch: Probing device eth1: No such device
[    3.428000] roboswitch: Probing device eth2: No such device
[    3.432000] roboswitch: Probing device eth3: No such device
[   12.040000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.048000] Backport based on wireless-testing.git master-2012-06-14
[   12.056000] compat.git: wireless-testing.git
[   12.116000] cfg80211: Calling CRDA to update world regulatory domain
[   12.120000] cfg80211: World regulatory domain updated:
[   12.128000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.136000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.144000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.152000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.160000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.168000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.560000] NET: Registered protocol family 10
[   12.976000] SCSI subsystem initialized
[   13.024000] There is already a switch registered on the device 'eth0'
[   13.032000] roboswitch: Probing device eth1: No such device
[   13.036000] roboswitch: Probing device eth2: No such device
[   13.044000] roboswitch: Probing device eth3: No such device
[   13.320000] usbcore: registered new interface driver usbfs
[   13.324000] usbcore: registered new interface driver hub
[   13.332000] usbcore: registered new device driver usb
[   13.844000] Button Hotplug driver version 0.4.1
[   14.012000] PPP generic driver version 2.4.2
[   14.452000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   14.804000] brcmsmac: use fifi: 20, 192, 192, 21, 17, 5
[   14.812000] ieee80211 phy0: wl0: brcms_c_attach_stf_ant_init: Invalid antennas available in srom (0x0), using 3
[   14.824000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.968000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.440000] NET: Registered protocol family 24
[   15.748000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.792000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   16.688000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.996000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   17.040000] Initializing USB Mass Storage driver...
[   17.048000] usbcore: registered new interface driver usb-storage
[   17.052000] USB Mass Storage support registered.
[   17.216000] usbcore: registered new interface driver ums-alauda
[   17.248000] usbcore: registered new interface driver ums-cypress
[   17.276000] usbcore: registered new interface driver ums-datafab
[   17.308000] usbcore: registered new interface driver ums-freecom
[   17.336000] usbcore: registered new interface driver ums-isd200
[   17.364000] usbcore: registered new interface driver ums-jumpshot
[   17.392000] usbcore: registered new interface driver ums-karma
[   17.424000] usbcore: registered new interface driver ums-sddr09
[   17.452000] usbcore: registered new interface driver ums-sddr55
[   17.624000] usbcore: registered new interface driver ums-usbat
[   17.656000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   22.760000] device eth0 entered promiscuous mode
[   22.768000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   22.776000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   22.788000] br-lan: port 1(eth0) entered forwarding state
[   22.792000] br-lan: port 1(eth0) entered forwarding state
[   24.796000] br-lan: port 1(eth0) entered forwarding state
[   33.368000] eth0: no IPv6 routers present
[   37.984000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   38.000000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   38.004000] jffs2_build_filesystem(): erasing all blocks after the end marker... dummy
[/spoiler]

Con respecto al USB y al Wifi N, me temo que es cuestión de configuraciones del firmware (no controlo muy bien las del Wifi N xDDDD).

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

Aviso: puede que el Wifi no funcione si brcmsmac no tiene definido el 43225 (WLAN de este router).

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 30-06-2012, 20:14 (Sábado)
wifi N funcionando! ... el brcmsmac si que soporta el 43225... bueno nos queda el USB.

bootlog

[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 18:55:39 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 310004 and length cdfffc
[    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=310000, len=CE0000
[    0.700000] 0x000000310000-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.808000] Freeing unused kernel memory: 200k freed
[    3.156000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.164000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.404000] roboswitch: Probing device eth0:
[    3.408000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.416000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.424000] roboswitch: Probing device eth1: No such device
[    3.428000] roboswitch: Probing device eth2: No such device
[    3.432000] roboswitch: Probing device eth3: No such device
[   12.040000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.048000] Backport based on wireless-testing.git master-2012-06-14
[   12.056000] compat.git: wireless-testing.git
[   12.116000] cfg80211: Calling CRDA to update world regulatory domain
[   12.120000] cfg80211: World regulatory domain updated:
[   12.128000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.136000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.144000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.152000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.160000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.168000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.560000] NET: Registered protocol family 10
[   12.976000] SCSI subsystem initialized
[   13.024000] There is already a switch registered on the device 'eth0'
[   13.032000] roboswitch: Probing device eth1: No such device
[   13.036000] roboswitch: Probing device eth2: No such device
[   13.044000] roboswitch: Probing device eth3: No such device
[   13.320000] usbcore: registered new interface driver usbfs
[   13.324000] usbcore: registered new interface driver hub
[   13.332000] usbcore: registered new device driver usb
[   13.844000] Button Hotplug driver version 0.4.1
[   14.012000] PPP generic driver version 2.4.2
[   14.452000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   14.804000] brcmsmac: use fifi: 20, 192, 192, 21, 17, 5
[   14.812000] ieee80211 phy0: wl0: brcms_c_attach_stf_ant_init: Invalid antennas available in srom (0x0), using 3
[   14.824000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.968000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.440000] NET: Registered protocol family 24
[   15.748000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.792000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   16.688000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.996000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   17.040000] Initializing USB Mass Storage driver...
[   17.048000] usbcore: registered new interface driver usb-storage
[   17.052000] USB Mass Storage support registered.
[   17.216000] usbcore: registered new interface driver ums-alauda
[   17.248000] usbcore: registered new interface driver ums-cypress
[   17.276000] usbcore: registered new interface driver ums-datafab
[   17.308000] usbcore: registered new interface driver ums-freecom
[   17.336000] usbcore: registered new interface driver ums-isd200
[   17.364000] usbcore: registered new interface driver ums-jumpshot
[   17.392000] usbcore: registered new interface driver ums-karma
[   17.424000] usbcore: registered new interface driver ums-sddr09
[   17.452000] usbcore: registered new interface driver ums-sddr55
[   17.624000] usbcore: registered new interface driver ums-usbat
[   17.656000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   22.760000] device eth0 entered promiscuous mode
[   22.768000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   22.776000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   22.788000] br-lan: port 1(eth0) entered forwarding state
[   22.792000] br-lan: port 1(eth0) entered forwarding state
[   24.796000] br-lan: port 1(eth0) entered forwarding state
[   33.368000] eth0: no IPv6 routers present
[   37.984000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   38.000000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   38.004000] jffs2_build_filesystem(): erasing all blocks after the end marker... dummy
[/spoiler]

Con respecto al USB y al Wifi N, me temo que es cuestión de configuraciones del firmware (no controlo muy bien las del Wifi N xDDDD).

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

Aviso: puede que el Wifi no funcione si brcmsmac no tiene definido el 43225 (WLAN de este router).

Saludos.
No, SSB es para dispositivos con PCI. Para los dispositivos con PCIe se utiliza BCMA.

Le preguntaré a KanjiMonster para que arroje algo de luz, porque yo la verdad ni idea :$...


Edito: Me he dado cuenta de que no hay soporte para USB por BCMA en linux 3.3.
De hecho, para BRCM47XX hay un parche que lo habilita específicamente:
https://dev.openwrt.org/browser/trunk/target/linux/brcm47xx/patches-3.3/183-USB-Add-driver-for-the-bcma-bus.patch
Este parche ya ha sido incorporado en las versiones más recientes de Linux, por lo que no veo la necesidad de molestarnos intentando adaptarlo para la versión actual ya que no creo que tarden mucho en actualizar openwrt a la última versión de Linux.

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 01-07-2012, 01:03 (Domingo)
Ya también he instalado la última versión y comprobado que el wifi 'n' funciona.
Eso sí, el rendimiento por wifi, es muchísimo menor al que consigo con el hg556a (atheros).
No se si será el driver .... ^-^
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 02-07-2012, 23:44 (Lunes)
Ya también he instalado la última versión y comprobado que el wifi 'n' funciona.
Eso sí, el rendimiento por wifi, es muchísimo menor al que consigo con el hg556a (atheros).
No se si será el driver .... ^-^
He actualizado el programita, incorporando más parámetros y he actualizado los parches:
https://dl.dropbox.com/u/4708147/openwrt/63281T/63281T_TEF_svn.patch

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

Contadme si funciona y si es más estable ;).

Saludos!
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 03-07-2012, 00:22 (Martes)
Mañana, en cuanto pueda, lo pruebo ???

Enviado desde mi u8500 usando Tapatalk 2
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 03-07-2012, 03:41 (Martes)
Mañana, en cuanto pueda, lo pruebo ???

Enviado desde mi u8500 usando Tapatalk 2
Utiliza este firmware mejor:
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_final_patches3.bin

Incorpora el backpot de Hauke del BCMA/SSB.
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 03-07-2012, 17:11 (Martes)
Utiliza este firmware mejor:
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_final_patches3.bin

Incorpora el backpot de Hauke del BCMA/SSB.

Con este firmware, el wifi no funciona de forma correcta.
Aparece en LuCi, pero no permite activarlo ni hacer un scan.

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 Tue Jul 3 03:37:26 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 802a39f0, 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.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 (2240k kernel code, 3384k reserved, 399k 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] NET: Registered protocol family 2
[    0.344000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.352000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.356000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.364000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.372000] TCP reno registered
[    0.372000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.388000] NET: Registered protocol family 1
[    0.392000] PCI: CLS 0 bytes, default 16
[    0.396000] audit: initializing netlink socket (disabled)
[    0.400000] type=2000 audit(0.400:1): initialized
[    0.408000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.412000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.424000] msgmni has been set to 57
[    0.428000] io scheduler noop registered
[    0.432000] io scheduler deadline registered (default)
[    0.440000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.448000] console [ttyS0] enabled, bootconsole disabled
[    0.464000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.468000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.476000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.484000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.492000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.496000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.504000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.512000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.520000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.528000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.532000] Creating 5 MTD partitions on "spi0.0":
[    0.536000] 0x000000000000-0x000000010000 : "CFE"
[    0.544000] 0x000000010100-0x000000100000 : "kernel"
[    0.552000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.564000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.572000] mtd: partition "rootfs" set to be root filesystem
[    0.580000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.588000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.596000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.604000] 0x000000010000-0x000000ff0000 : "linux"
[    0.648000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.656000] Registered led device: 963281T_TEF:green:power
[    0.656000] Registered led device: 963281T_TEF:red:stop
[    0.656000] Registered led device: 963281T_TEF:green:inet
[    0.656000] Registered led device: 963281T_TEF:red:inet-fail
[    0.660000] Registered led device: 963281T_TEF:green:ppp
[    0.660000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.660000] Registered led device: 963281T_TEF:green:3g
[    0.660000] Registered led device: 963281T_TEF:red:3g-fail
[    0.660000] Registered led device: 963281T_TEF:green:wlan
[    0.660000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.660000] Registered led device: 963281T_TEF:green:eth
[    0.660000] Registered led device: 963281T_TEF:red:eth-fail
[    0.664000] TCP cubic registered
[    0.668000] NET: Registered protocol family 17
[    0.672000] 8021q: 802.1Q VLAN Support v1.8
[    0.688000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.696000] Freeing unused kernel memory: 200k freed
[    2.800000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.020000] roboswitch: Probing device eth0:
[    3.024000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.032000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.040000] roboswitch: Probing device eth1: No such device
[    3.048000] roboswitch: Probing device eth2: No such device
[    3.052000] roboswitch: Probing device eth3: No such device
[    9.088000] JFFS2 notice: (342) jffs2_build_xattr_subsystem: complete building xattr subsystem, 20 of xdatum (1 unchecked, 19 orphan) and 153 of xref (0 dead, 148 orphan) found.
[   12.596000] NET: Registered protocol family 10
[   12.660000] There is already a switch registered on the device 'eth0'
[   12.668000] roboswitch: Probing device eth1: No such device
[   12.672000] roboswitch: Probing device eth2: No such device
[   12.680000] roboswitch: Probing device eth3: No such device
[   14.208000] wl: module license 'unspecified' taints kernel.
[   14.212000] Disabling lock debugging due to kernel taint
[   14.320000] SSB/BCMA glue driver successfully attached
[   14.348000] Button Hotplug driver version 0.4.1
[   14.396000] PPP generic driver version 2.4.2
[   14.624000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.824000] NET: Registered protocol family 24
[   14.856000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   15.224000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.508000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   19.052000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   19.064000] device eth0 entered promiscuous mode
[   19.072000] br-lan: port 1(eth0) entered forwarding state
[   19.076000] br-lan: port 1(eth0) entered forwarding state
[   21.080000] br-lan: port 1(eth0) entered forwarding state
[   29.496000] eth0: no IPv6 routers present
[/spoiler]

He actualizado el programita, incorporando más parámetros y he actualizado los parches:
https://dl.dropbox.com/u/4708147/openwrt/63281T/63281T_TEF_svn.patch

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

Contadme si funciona y si es más estable ;).

Saludos!

Probado, el wifi funciona, pero me ha dejado sin ethernet ¿?
Por suerte, cuando actualizé, lo tenía configurado como cliente wifi (usando relayd), así que puedo acceder a él.
Quizás debería restaurar openwrt a los valores por defecto pero ... no me convence ... no tengo claro que me quede sin conexión al router ... así que probablemente le meta un firmware de los que funcionaban, vía wifi.
El 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 Mon Jul 2 23:35:47 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.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 310004 and length cdfffc
[    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=310000, len=CE0000
[    0.700000] 0x000000310000-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.808000] Freeing unused kernel memory: 200k freed
[    3.392000] roboswitch: Probing device eth0:
[    3.396000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.404000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.412000] roboswitch: Probing device eth1: No such device
[    3.416000] roboswitch: Probing device eth2: No such device
[    3.424000] roboswitch: Probing device eth3: No such device
[    9.440000] JFFS2 notice: (345) jffs2_build_xattr_subsystem: complete building xattr subsystem, 20 of xdatum (0 unchecked, 19 orphan) and 24 of xref (0 dead, 19 orphan) found.
[   12.264000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.272000] Backport based on wireless-testing.git master-2012-06-14
[   12.280000] compat.git: wireless-testing.git
[   12.340000] cfg80211: Calling CRDA to update world regulatory domain
[   12.344000] cfg80211: World regulatory domain updated:
[   12.352000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.360000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.368000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.376000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.384000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.392000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.788000] NET: Registered protocol family 10
[   13.212000] SCSI subsystem initialized
[   13.264000] There is already a switch registered on the device 'eth0'
[   13.272000] roboswitch: Probing device eth1: No such device
[   13.276000] roboswitch: Probing device eth2: No such device
[   13.280000] roboswitch: Probing device eth3: No such device
[   13.560000] usbcore: registered new interface driver usbfs
[   13.568000] usbcore: registered new interface driver hub
[   13.576000] usbcore: registered new device driver usb
[   14.100000] Button Hotplug driver version 0.4.1
[   14.268000] PPP generic driver version 2.4.2
[   14.700000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   15.052000] brcmsmac: use fifi: 20, 192, 192, 21, 17, 5
[   15.064000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.208000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.680000] NET: Registered protocol family 24
[   15.988000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.032000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   16.928000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.236000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   17.284000] Initializing USB Mass Storage driver...
[   17.288000] usbcore: registered new interface driver usb-storage
[   17.296000] USB Mass Storage support registered.
[   17.460000] usbcore: registered new interface driver ums-alauda
[   17.488000] usbcore: registered new interface driver ums-cypress
[   17.520000] usbcore: registered new interface driver ums-datafab
[   17.548000] usbcore: registered new interface driver ums-freecom
[   17.576000] usbcore: registered new interface driver ums-isd200
[   17.608000] usbcore: registered new interface driver ums-jumpshot
[   17.636000] usbcore: registered new interface driver ums-karma
[   17.664000] usbcore: registered new interface driver ums-sddr09
[   17.696000] usbcore: registered new interface driver ums-sddr55
[   17.868000] usbcore: registered new interface driver ums-usbat
[   17.896000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   21.720000] device eth0 entered promiscuous mode
[   21.728000] br-lan: port 1(eth0) entered forwarding state
[   21.732000] br-lan: port 1(eth0) entered forwarding state
[   23.736000] br-lan: port 1(eth0) entered forwarding state
[   23.864000] dummy
[   23.868000] dummy
[   23.868000] dummy
[   23.872000] dummy
[   23.872000] dummy
[   23.876000] dummy
[   23.880000] dummy
[   23.880000] dummy
[   23.884000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[   23.892000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[   23.948000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   27.248000] dummy
[   27.252000] dummy
[   27.252000] dummy
[   27.256000] dummy
[   27.256000] ieee80211 phy0: brcmsmac: brcms_ops_bss_info_changed: associated
[   27.264000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 0 (implement)
[   27.276000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: true (implement)
[   27.284000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   28.952000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 1 (implement)
[   32.480000] eth0: no IPv6 routers present
[   38.064000] wlan0: no IPv6 routers present

[/spoiler]
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 03-07-2012, 17:17 (Martes)
Utiliza este firmware mejor:
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_final_patches3.bin

Incorpora el backpot de Hauke del BCMA/SSB.

Con este firmware, el wifi no funciona de forma correcta.
Aparece en LuCi, pero no permite activarlo ni hacer un scan.

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 Tue Jul 3 03:37:26 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 802a39f0, 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 (2240k kernel code, 3384k reserved, 399k 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] NET: Registered protocol family 2
[    0.344000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.352000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.356000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.364000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.372000] TCP reno registered
[    0.372000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.388000] NET: Registered protocol family 1
[    0.392000] PCI: CLS 0 bytes, default 16
[    0.396000] audit: initializing netlink socket (disabled)
[    0.400000] type=2000 audit(0.400:1): initialized
[    0.408000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.412000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.424000] msgmni has been set to 57
[    0.428000] io scheduler noop registered
[    0.432000] io scheduler deadline registered (default)
[    0.440000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.448000] console [ttyS0] enabled, bootconsole disabled
[    0.464000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.468000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.476000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.484000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.492000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.496000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.504000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.512000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.520000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.528000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.532000] Creating 5 MTD partitions on "spi0.0":
[    0.536000] 0x000000000000-0x000000010000 : "CFE"
[    0.544000] 0x000000010100-0x000000100000 : "kernel"
[    0.552000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.564000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.572000] mtd: partition "rootfs" set to be root filesystem
[    0.580000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.588000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.596000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.604000] 0x000000010000-0x000000ff0000 : "linux"
[    0.648000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.656000] Registered led device: 963281T_TEF:green:power
[    0.656000] Registered led device: 963281T_TEF:red:stop
[    0.656000] Registered led device: 963281T_TEF:green:inet
[    0.656000] Registered led device: 963281T_TEF:red:inet-fail
[    0.660000] Registered led device: 963281T_TEF:green:ppp
[    0.660000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.660000] Registered led device: 963281T_TEF:green:3g
[    0.660000] Registered led device: 963281T_TEF:red:3g-fail
[    0.660000] Registered led device: 963281T_TEF:green:wlan
[    0.660000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.660000] Registered led device: 963281T_TEF:green:eth
[    0.660000] Registered led device: 963281T_TEF:red:eth-fail
[    0.664000] TCP cubic registered
[    0.668000] NET: Registered protocol family 17
[    0.672000] 8021q: 802.1Q VLAN Support v1.8
[    0.688000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.696000] Freeing unused kernel memory: 200k freed
[    2.800000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.020000] roboswitch: Probing device eth0:
[    3.024000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.032000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.040000] roboswitch: Probing device eth1: No such device
[    3.048000] roboswitch: Probing device eth2: No such device
[    3.052000] roboswitch: Probing device eth3: No such device
[    9.088000] JFFS2 notice: (342) jffs2_build_xattr_subsystem: complete building xattr subsystem, 20 of xdatum (1 unchecked, 19 orphan) and 153 of xref (0 dead, 148 orphan) found.
[   12.596000] NET: Registered protocol family 10
[   12.660000] There is already a switch registered on the device 'eth0'
[   12.668000] roboswitch: Probing device eth1: No such device
[   12.672000] roboswitch: Probing device eth2: No such device
[   12.680000] roboswitch: Probing device eth3: No such device
[   14.208000] wl: module license 'unspecified' taints kernel.
[   14.212000] Disabling lock debugging due to kernel taint
[   14.320000] SSB/BCMA glue driver successfully attached
[   14.348000] Button Hotplug driver version 0.4.1
[   14.396000] PPP generic driver version 2.4.2
[   14.624000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.824000] NET: Registered protocol family 24
[   14.856000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   15.224000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.508000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   19.052000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   19.064000] device eth0 entered promiscuous mode
[   19.072000] br-lan: port 1(eth0) entered forwarding state
[   19.076000] br-lan: port 1(eth0) entered forwarding state
[   21.080000] br-lan: port 1(eth0) entered forwarding state
[   29.496000] eth0: no IPv6 routers present
[/spoiler]

He actualizado el programita, incorporando más parámetros y he actualizado los parches:
https://dl.dropbox.com/u/4708147/openwrt/63281T/63281T_TEF_svn.patch

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

Contadme si funciona y si es más estable ;).

Saludos!

Probado, el wifi funciona, pero me ha dejado sin ethernet ¿?
Por suerte, cuando actualizé, lo tenía configurado como cliente wifi (usando relayd), así que puedo acceder a él.
Quizás debería restaurar openwrt a los valores por defecto pero ... no me convence ... no tengo claro que me quede sin conexión al router ... así que probablemente le meta un firmware de los que funcionaban, vía wifi.
El 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 Mon Jul 2 23:35:47 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 310004 and length cdfffc
[    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=310000, len=CE0000
[    0.700000] 0x000000310000-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.808000] Freeing unused kernel memory: 200k freed
[    3.392000] roboswitch: Probing device eth0:
[    3.396000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.404000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.412000] roboswitch: Probing device eth1: No such device
[    3.416000] roboswitch: Probing device eth2: No such device
[    3.424000] roboswitch: Probing device eth3: No such device
[    9.440000] JFFS2 notice: (345) jffs2_build_xattr_subsystem: complete building xattr subsystem, 20 of xdatum (0 unchecked, 19 orphan) and 24 of xref (0 dead, 19 orphan) found.
[   12.264000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.272000] Backport based on wireless-testing.git master-2012-06-14
[   12.280000] compat.git: wireless-testing.git
[   12.340000] cfg80211: Calling CRDA to update world regulatory domain
[   12.344000] cfg80211: World regulatory domain updated:
[   12.352000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.360000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.368000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.376000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.384000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.392000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.788000] NET: Registered protocol family 10
[   13.212000] SCSI subsystem initialized
[   13.264000] There is already a switch registered on the device 'eth0'
[   13.272000] roboswitch: Probing device eth1: No such device
[   13.276000] roboswitch: Probing device eth2: No such device
[   13.280000] roboswitch: Probing device eth3: No such device
[   13.560000] usbcore: registered new interface driver usbfs
[   13.568000] usbcore: registered new interface driver hub
[   13.576000] usbcore: registered new device driver usb
[   14.100000] Button Hotplug driver version 0.4.1
[   14.268000] PPP generic driver version 2.4.2
[   14.700000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   15.052000] brcmsmac: use fifi: 20, 192, 192, 21, 17, 5
[   15.064000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.208000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.680000] NET: Registered protocol family 24
[   15.988000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.032000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   16.928000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.236000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   17.284000] Initializing USB Mass Storage driver...
[   17.288000] usbcore: registered new interface driver usb-storage
[   17.296000] USB Mass Storage support registered.
[   17.460000] usbcore: registered new interface driver ums-alauda
[   17.488000] usbcore: registered new interface driver ums-cypress
[   17.520000] usbcore: registered new interface driver ums-datafab
[   17.548000] usbcore: registered new interface driver ums-freecom
[   17.576000] usbcore: registered new interface driver ums-isd200
[   17.608000] usbcore: registered new interface driver ums-jumpshot
[   17.636000] usbcore: registered new interface driver ums-karma
[   17.664000] usbcore: registered new interface driver ums-sddr09
[   17.696000] usbcore: registered new interface driver ums-sddr55
[   17.868000] usbcore: registered new interface driver ums-usbat
[   17.896000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   21.720000] device eth0 entered promiscuous mode
[   21.728000] br-lan: port 1(eth0) entered forwarding state
[   21.732000] br-lan: port 1(eth0) entered forwarding state
[   23.736000] br-lan: port 1(eth0) entered forwarding state
[   23.864000] dummy
[   23.868000] dummy
[   23.868000] dummy
[   23.872000] dummy
[   23.872000] dummy
[   23.876000] dummy
[   23.880000] dummy
[   23.880000] dummy
[   23.884000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[   23.892000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[   23.948000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   27.248000] dummy
[   27.252000] dummy
[   27.252000] dummy
[   27.256000] dummy
[   27.256000] ieee80211 phy0: brcmsmac: brcms_ops_bss_info_changed: associated
[   27.264000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 0 (implement)
[   27.276000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: true (implement)
[   27.284000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   28.952000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 1 (implement)
[   32.480000] eth0: no IPv6 routers present
[   38.064000] wlan0: no IPv6 routers present

[/spoiler]
Las pruebas deberías hacerlas partiendo de una configuración nueva, dejando que el firmware borre la configuración. Sobre todo porque he cambiado el driver de brcsmac a wl y no llevan la misma configuración. En cuanto a lo del ethernet puede ser por el mismo motivo :$...
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 03-07-2012, 21:23 (Martes)
Probados ambos firmwares, borrando la configuración.

En este: openwrt-963281T_TEF-generic-squashfs-cfe_final_patches3.bin, sigue sin funcionar el wifi.
Eso sí, ya no aparece tampoco en LuCi (tenías razón, había quedado algún 'rastro' por ahí).

El dmseg:

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Jul 3 03:37:26 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 802a39f0, 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.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 (2240k kernel code, 3384k reserved, 399k 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] NET: Registered protocol family 2
[    0.344000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.352000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.356000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.364000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.372000] TCP reno registered
[    0.372000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.388000] NET: Registered protocol family 1
[    0.392000] PCI: CLS 0 bytes, default 16
[    0.396000] audit: initializing netlink socket (disabled)
[    0.400000] type=2000 audit(0.400:1): initialized
[    0.408000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.412000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.424000] msgmni has been set to 57
[    0.428000] io scheduler noop registered
[    0.432000] io scheduler deadline registered (default)
[    0.440000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.448000] console [ttyS0] enabled, bootconsole disabled
[    0.464000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.468000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.476000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.484000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.492000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.496000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.504000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.512000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.520000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.528000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.532000] Creating 5 MTD partitions on "spi0.0":
[    0.536000] 0x000000000000-0x000000010000 : "CFE"
[    0.544000] 0x000000010100-0x000000100000 : "kernel"
[    0.552000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.564000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.572000] mtd: partition "rootfs" set to be root filesystem
[    0.580000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.588000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.596000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.604000] 0x000000010000-0x000000ff0000 : "linux"
[    0.648000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.656000] Registered led device: 963281T_TEF:green:power
[    0.656000] Registered led device: 963281T_TEF:red:stop
[    0.656000] Registered led device: 963281T_TEF:green:inet
[    0.656000] Registered led device: 963281T_TEF:red:inet-fail
[    0.660000] Registered led device: 963281T_TEF:green:ppp
[    0.660000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.660000] Registered led device: 963281T_TEF:green:3g
[    0.660000] Registered led device: 963281T_TEF:red:3g-fail
[    0.660000] Registered led device: 963281T_TEF:green:wlan
[    0.660000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.660000] Registered led device: 963281T_TEF:green:eth
[    0.660000] Registered led device: 963281T_TEF:red:eth-fail
[    0.664000] TCP cubic registered
[    0.668000] NET: Registered protocol family 17
[    0.672000] 8021q: 802.1Q VLAN Support v1.8
[    0.688000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.696000] Freeing unused kernel memory: 200k freed
[    3.028000] roboswitch: Probing device eth0:
[    3.032000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.040000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.048000] roboswitch: Probing device eth1: No such device
[    3.052000] roboswitch: Probing device eth2: No such device
[    3.060000] roboswitch: Probing device eth3: No such device
[   11.740000] NET: Registered protocol family 10
[   11.804000] There is already a switch registered on the device 'eth0'
[   11.812000] roboswitch: Probing device eth1: No such device
[   11.816000] roboswitch: Probing device eth2: No such device
[   11.820000] roboswitch: Probing device eth3: No such device
[   13.324000] wl: module license 'unspecified' taints kernel.
[   13.332000] Disabling lock debugging due to kernel taint
[   13.440000] SSB/BCMA glue driver successfully attached
[   13.468000] Button Hotplug driver version 0.4.1
[   13.516000] PPP generic driver version 2.4.2
[   13.740000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.936000] NET: Registered protocol family 24
[   13.968000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.336000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.612000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   19.400000] device eth0 entered promiscuous mode
[   19.408000] br-lan: port 1(eth0) entered forwarding state
[   19.412000] br-lan: port 1(eth0) entered forwarding state
[   21.416000] br-lan: port 1(eth0) entered forwarding state
[   29.760000] eth0: no IPv6 routers present
[   36.576000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   36.592000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   36.596000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[  129.396000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[  129.436000] done.
[  129.440000] JFFS2 notice: (975) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[/spoiler]

Con este sí, funciona el wifi, me da la impresión de que la velocidad de transferencia, ha mejorado un poco, pero por el contrario, he perdido la conexión (vía wifi) un par de veces. Tendré que probarlo más a fondo.

El dmseg:

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Mon Jul 2 23:35:47 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.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 310004 and length cdfffc
[    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=310000, len=CE0000
[    0.700000] 0x000000310000-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.808000] Freeing unused kernel memory: 200k freed
[    3.164000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.400000] roboswitch: Probing device eth0:
[    3.404000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.412000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.420000] roboswitch: Probing device eth1: No such device
[    3.424000] roboswitch: Probing device eth2: No such device
[    3.432000] roboswitch: Probing device eth3: No such device
[   12.036000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.044000] Backport based on wireless-testing.git master-2012-06-14
[   12.052000] compat.git: wireless-testing.git
[   12.112000] cfg80211: Calling CRDA to update world regulatory domain
[   12.116000] cfg80211: World regulatory domain updated:
[   12.124000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.132000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.140000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.148000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.156000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.164000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.552000] NET: Registered protocol family 10
[   12.972000] SCSI subsystem initialized
[   13.020000] There is already a switch registered on the device 'eth0'
[   13.028000] roboswitch: Probing device eth1: No such device
[   13.032000] roboswitch: Probing device eth2: No such device
[   13.040000] roboswitch: Probing device eth3: No such device
[   13.312000] usbcore: registered new interface driver usbfs
[   13.320000] usbcore: registered new interface driver hub
[   13.328000] usbcore: registered new device driver usb
[   13.840000] Button Hotplug driver version 0.4.1
[   14.004000] PPP generic driver version 2.4.2
[   14.448000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   14.800000] brcmsmac: use fifi: 20, 192, 192, 21, 17, 5
[   14.808000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.952000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.424000] NET: Registered protocol family 24
[   15.736000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.776000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   16.676000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.984000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   17.032000] Initializing USB Mass Storage driver...
[   17.036000] usbcore: registered new interface driver usb-storage
[   17.044000] USB Mass Storage support registered.
[   17.208000] usbcore: registered new interface driver ums-alauda
[   17.236000] usbcore: registered new interface driver ums-cypress
[   17.268000] usbcore: registered new interface driver ums-datafab
[   17.296000] usbcore: registered new interface driver ums-freecom
[   17.324000] usbcore: registered new interface driver ums-isd200
[   17.356000] usbcore: registered new interface driver ums-jumpshot
[   17.384000] usbcore: registered new interface driver ums-karma
[   17.412000] usbcore: registered new interface driver ums-sddr09
[   17.444000] usbcore: registered new interface driver ums-sddr55
[   17.616000] usbcore: registered new interface driver ums-usbat
[   17.644000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   22.780000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   22.788000] device eth0 entered promiscuous mode
[   22.796000] br-lan: port 1(eth0) entered forwarding state
[   22.800000] br-lan: port 1(eth0) entered forwarding state
[   24.804000] br-lan: port 1(eth0) entered forwarding state
[   33.376000] eth0: no IPv6 routers present
[   42.968000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   42.984000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   42.988000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  139.168000] JFFS2 notice: (1053) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  152.724000] dummy
[  152.728000] dummy
[  152.728000] dummy
[  152.732000] dummy
[  152.732000] dummy
[  152.736000] dummy
[  152.736000] dummy
[  152.740000] dummy
[  152.740000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[  152.748000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[  152.844000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  154.524000] dummy
[  154.524000] dummy
[  154.528000] dummy
[  154.528000] dummy
[  154.532000] dummy
[  154.532000] dummy
[  154.536000] dummy
[  154.540000] dummy
[  154.540000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[  154.548000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[  154.596000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  156.276000] dummy
[  156.276000] dummy
[  156.280000] dummy
[  156.280000] dummy
[  156.284000] dummy
[  156.284000] dummy
[  156.288000] dummy
[  156.288000] dummy
[  156.292000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[  156.300000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[  156.356000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  168.216000] dummy
[  168.216000] dummy
[  168.220000] dummy
[  168.220000] dummy
[  168.224000] dummy
[  168.224000] dummy
[  168.228000] dummy
[  168.232000] dummy
[  168.232000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[  168.240000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[  168.288000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  196.984000] dummy
[  196.984000] dummy
[  196.988000] dummy
[  196.988000] dummy
[  196.992000] dummy
[  196.992000] dummy
[  196.996000] dummy
[  196.996000] dummy
[  197.000000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[  197.008000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[  197.044000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  225.400000] dummy
[  225.404000] dummy
[  225.404000] dummy
[  225.408000] dummy
[  225.408000] dummy
[  225.412000] dummy
[  225.412000] dummy
[  225.416000] dummy
[  225.416000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[  225.424000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[  225.476000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  230.296000] dummy
[  230.300000] dummy
[  230.304000] dummy
[  230.304000] dummy
[  230.308000] ieee80211 phy0: brcmsmac: brcms_ops_bss_info_changed: associated
[  230.316000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 0 (implement)
[  230.324000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: true (implement)
[  230.336000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  233.640000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 1 (implement)

[/spoiler]
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 03-07-2012, 23:16 (Martes)
Probados ambos firmwares, borrando la configuración.

En este: openwrt-963281T_TEF-generic-squashfs-cfe_final_patches3.bin, sigue sin funcionar el wifi.
Eso sí, ya no aparece tampoco en LuCi (tenías razón, había quedado algún 'rastro' por ahí).

El dmseg:

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Jul 3 03:37:26 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 802a39f0, 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 (2240k kernel code, 3384k reserved, 399k 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] NET: Registered protocol family 2
[    0.344000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.352000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.356000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.364000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.372000] TCP reno registered
[    0.372000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.388000] NET: Registered protocol family 1
[    0.392000] PCI: CLS 0 bytes, default 16
[    0.396000] audit: initializing netlink socket (disabled)
[    0.400000] type=2000 audit(0.400:1): initialized
[    0.408000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.412000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.424000] msgmni has been set to 57
[    0.428000] io scheduler noop registered
[    0.432000] io scheduler deadline registered (default)
[    0.440000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.448000] console [ttyS0] enabled, bootconsole disabled
[    0.464000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.468000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.476000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.484000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.492000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.496000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.504000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.512000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.520000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.528000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.532000] Creating 5 MTD partitions on "spi0.0":
[    0.536000] 0x000000000000-0x000000010000 : "CFE"
[    0.544000] 0x000000010100-0x000000100000 : "kernel"
[    0.552000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.564000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.572000] mtd: partition "rootfs" set to be root filesystem
[    0.580000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.588000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.596000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.604000] 0x000000010000-0x000000ff0000 : "linux"
[    0.648000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.656000] Registered led device: 963281T_TEF:green:power
[    0.656000] Registered led device: 963281T_TEF:red:stop
[    0.656000] Registered led device: 963281T_TEF:green:inet
[    0.656000] Registered led device: 963281T_TEF:red:inet-fail
[    0.660000] Registered led device: 963281T_TEF:green:ppp
[    0.660000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.660000] Registered led device: 963281T_TEF:green:3g
[    0.660000] Registered led device: 963281T_TEF:red:3g-fail
[    0.660000] Registered led device: 963281T_TEF:green:wlan
[    0.660000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.660000] Registered led device: 963281T_TEF:green:eth
[    0.660000] Registered led device: 963281T_TEF:red:eth-fail
[    0.664000] TCP cubic registered
[    0.668000] NET: Registered protocol family 17
[    0.672000] 8021q: 802.1Q VLAN Support v1.8
[    0.688000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.696000] Freeing unused kernel memory: 200k freed
[    3.028000] roboswitch: Probing device eth0:
[    3.032000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.040000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.048000] roboswitch: Probing device eth1: No such device
[    3.052000] roboswitch: Probing device eth2: No such device
[    3.060000] roboswitch: Probing device eth3: No such device
[   11.740000] NET: Registered protocol family 10
[   11.804000] There is already a switch registered on the device 'eth0'
[   11.812000] roboswitch: Probing device eth1: No such device
[   11.816000] roboswitch: Probing device eth2: No such device
[   11.820000] roboswitch: Probing device eth3: No such device
[   13.324000] wl: module license 'unspecified' taints kernel.
[   13.332000] Disabling lock debugging due to kernel taint
[   13.440000] SSB/BCMA glue driver successfully attached
[   13.468000] Button Hotplug driver version 0.4.1
[   13.516000] PPP generic driver version 2.4.2
[   13.740000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.936000] NET: Registered protocol family 24
[   13.968000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.336000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.612000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   19.400000] device eth0 entered promiscuous mode
[   19.408000] br-lan: port 1(eth0) entered forwarding state
[   19.412000] br-lan: port 1(eth0) entered forwarding state
[   21.416000] br-lan: port 1(eth0) entered forwarding state
[   29.760000] eth0: no IPv6 routers present
[   36.576000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   36.592000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   36.596000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[  129.396000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[  129.436000] done.
[  129.440000] JFFS2 notice: (975) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[/spoiler]

Con este sí, funciona el wifi, me da la impresión de que la velocidad de transferencia, ha mejorado un poco, pero por el contrario, he perdido la conexión (vía wifi) un par de veces. Tendré que probarlo más a fondo.

El dmseg:

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Mon Jul 2 23:35:47 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 310004 and length cdfffc
[    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=310000, len=CE0000
[    0.700000] 0x000000310000-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.808000] Freeing unused kernel memory: 200k freed
[    3.164000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    3.400000] roboswitch: Probing device eth0:
[    3.404000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.412000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.420000] roboswitch: Probing device eth1: No such device
[    3.424000] roboswitch: Probing device eth2: No such device
[    3.432000] roboswitch: Probing device eth3: No such device
[   12.036000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.044000] Backport based on wireless-testing.git master-2012-06-14
[   12.052000] compat.git: wireless-testing.git
[   12.112000] cfg80211: Calling CRDA to update world regulatory domain
[   12.116000] cfg80211: World regulatory domain updated:
[   12.124000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.132000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.140000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.148000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.156000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.164000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.552000] NET: Registered protocol family 10
[   12.972000] SCSI subsystem initialized
[   13.020000] There is already a switch registered on the device 'eth0'
[   13.028000] roboswitch: Probing device eth1: No such device
[   13.032000] roboswitch: Probing device eth2: No such device
[   13.040000] roboswitch: Probing device eth3: No such device
[   13.312000] usbcore: registered new interface driver usbfs
[   13.320000] usbcore: registered new interface driver hub
[   13.328000] usbcore: registered new device driver usb
[   13.840000] Button Hotplug driver version 0.4.1
[   14.004000] PPP generic driver version 2.4.2
[   14.448000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   14.800000] brcmsmac: use fifi: 20, 192, 192, 21, 17, 5
[   14.808000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.952000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.424000] NET: Registered protocol family 24
[   15.736000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.776000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   16.676000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.984000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   17.032000] Initializing USB Mass Storage driver...
[   17.036000] usbcore: registered new interface driver usb-storage
[   17.044000] USB Mass Storage support registered.
[   17.208000] usbcore: registered new interface driver ums-alauda
[   17.236000] usbcore: registered new interface driver ums-cypress
[   17.268000] usbcore: registered new interface driver ums-datafab
[   17.296000] usbcore: registered new interface driver ums-freecom
[   17.324000] usbcore: registered new interface driver ums-isd200
[   17.356000] usbcore: registered new interface driver ums-jumpshot
[   17.384000] usbcore: registered new interface driver ums-karma
[   17.412000] usbcore: registered new interface driver ums-sddr09
[   17.444000] usbcore: registered new interface driver ums-sddr55
[   17.616000] usbcore: registered new interface driver ums-usbat
[   17.644000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   22.780000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[   22.788000] device eth0 entered promiscuous mode
[   22.796000] br-lan: port 1(eth0) entered forwarding state
[   22.800000] br-lan: port 1(eth0) entered forwarding state
[   24.804000] br-lan: port 1(eth0) entered forwarding state
[   33.376000] eth0: no IPv6 routers present
[   42.968000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   42.984000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   42.988000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  139.168000] JFFS2 notice: (1053) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  152.724000] dummy
[  152.728000] dummy
[  152.728000] dummy
[  152.732000] dummy
[  152.732000] dummy
[  152.736000] dummy
[  152.736000] dummy
[  152.740000] dummy
[  152.740000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[  152.748000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[  152.844000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  154.524000] dummy
[  154.524000] dummy
[  154.528000] dummy
[  154.528000] dummy
[  154.532000] dummy
[  154.532000] dummy
[  154.536000] dummy
[  154.540000] dummy
[  154.540000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[  154.548000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[  154.596000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  156.276000] dummy
[  156.276000] dummy
[  156.280000] dummy
[  156.280000] dummy
[  156.284000] dummy
[  156.284000] dummy
[  156.288000] dummy
[  156.288000] dummy
[  156.292000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[  156.300000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[  156.356000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  168.216000] dummy
[  168.216000] dummy
[  168.220000] dummy
[  168.220000] dummy
[  168.224000] dummy
[  168.224000] dummy
[  168.228000] dummy
[  168.232000] dummy
[  168.232000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[  168.240000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[  168.288000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  196.984000] dummy
[  196.984000] dummy
[  196.988000] dummy
[  196.988000] dummy
[  196.992000] dummy
[  196.992000] dummy
[  196.996000] dummy
[  196.996000] dummy
[  197.000000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[  197.008000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[  197.044000] ADDRCONF(NETDEV_UP): tmp.radio0: link is not ready
[  225.400000] dummy
[  225.404000] dummy
[  225.404000] dummy
[  225.408000] dummy
[  225.408000] dummy
[  225.412000] dummy
[  225.412000] dummy
[  225.416000] dummy
[  225.416000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[  225.424000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[  225.476000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  230.296000] dummy
[  230.300000] dummy
[  230.304000] dummy
[  230.304000] dummy
[  230.308000] ieee80211 phy0: brcmsmac: brcms_ops_bss_info_changed: associated
[  230.316000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 0 (implement)
[  230.324000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: true (implement)
[  230.336000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  233.640000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 1 (implement)

[/spoiler]

No sé qué narices me ha pasado al compilar el firmware que el driver del wifi no se ha instalado -.-...

Firmware compilado de nuevo: https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_final_wl.bin

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 04-07-2012, 10:47 (Miércoles)
No sé qué narices me ha pasado al compilar el firmware que el driver del wifi no se ha instalado -.-...

Firmware compilado de nuevo: https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_final_wl.bin

Saludos!

Probado.
Sigue sin aparece el wifi por ningún lado  :-[

dmesg

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Tue Jul 3 22:51:58 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 802a39f0, 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.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 (2240k kernel code, 3384k reserved, 399k 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] NET: Registered protocol family 2
[    0.344000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.352000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.356000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.364000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.372000] TCP reno registered
[    0.372000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.388000] NET: Registered protocol family 1
[    0.392000] PCI: CLS 0 bytes, default 16
[    0.396000] audit: initializing netlink socket (disabled)
[    0.400000] type=2000 audit(0.400:1): initialized
[    0.404000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.412000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.424000] msgmni has been set to 57
[    0.428000] io scheduler noop registered
[    0.432000] io scheduler deadline registered (default)
[    0.440000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.448000] console [ttyS0] enabled, bootconsole disabled
[    0.464000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.468000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.476000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.484000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.488000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.496000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.504000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.512000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.520000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.528000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.532000] Creating 5 MTD partitions on "spi0.0":
[    0.536000] 0x000000000000-0x000000010000 : "CFE"
[    0.544000] 0x000000010100-0x000000100000 : "kernel"
[    0.552000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.564000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.572000] mtd: partition "rootfs" set to be root filesystem
[    0.580000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.588000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.596000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.604000] 0x000000010000-0x000000ff0000 : "linux"
[    0.648000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.656000] Registered led device: 963281T_TEF:green:power
[    0.656000] Registered led device: 963281T_TEF:red:stop
[    0.656000] Registered led device: 963281T_TEF:green:inet
[    0.656000] Registered led device: 963281T_TEF:red:inet-fail
[    0.660000] Registered led device: 963281T_TEF:green:ppp
[    0.660000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.660000] Registered led device: 963281T_TEF:green:3g
[    0.660000] Registered led device: 963281T_TEF:red:3g-fail
[    0.660000] Registered led device: 963281T_TEF:green:wlan
[    0.660000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.660000] Registered led device: 963281T_TEF:green:eth
[    0.664000] Registered led device: 963281T_TEF:red:eth-fail
[    0.664000] TCP cubic registered
[    0.668000] NET: Registered protocol family 17
[    0.672000] 8021q: 802.1Q VLAN Support v1.8
[    0.688000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.696000] Freeing unused kernel memory: 200k freed
[    2.800000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.020000] roboswitch: Probing device eth0:
[    3.024000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.032000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.040000] roboswitch: Probing device eth1: No such device
[    3.044000] roboswitch: Probing device eth2: No such device
[    3.052000] roboswitch: Probing device eth3: No such device
[   11.728000] NET: Registered protocol family 10
[   11.792000] There is already a switch registered on the device 'eth0'
[   11.800000] roboswitch: Probing device eth1: No such device
[   11.804000] roboswitch: Probing device eth2: No such device
[   11.812000] roboswitch: Probing device eth3: No such device
[   13.328000] wl: module license 'unspecified' taints kernel.
[   13.332000] Disabling lock debugging due to kernel taint
[   13.440000] SSB/BCMA glue driver successfully attached
[   13.468000] Button Hotplug driver version 0.4.1
[   13.516000] PPP generic driver version 2.4.2
[   13.740000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.940000] NET: Registered protocol family 24
[   13.976000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.344000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.624000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   19.316000] device eth0 entered promiscuous mode
[   19.320000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   19.332000] br-lan: port 1(eth0) entered forwarding state
[   19.336000] br-lan: port 1(eth0) entered forwarding state
[   21.340000] br-lan: port 1(eth0) entered forwarding state
[   29.360000] eth0: no IPv6 routers present
[   36.612000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   36.628000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   36.632000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  128.760000] JFFS2 notice: (975) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[/spoiler]

Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 04-07-2012, 13:34 (Miércoles)
Probado.
Sigue sin aparece el wifi por ningún lado  :-[

dmesg

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Tue Jul 3 22:51:58 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 802a39f0, 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 (2240k kernel code, 3384k reserved, 399k 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] NET: Registered protocol family 2
[    0.344000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.352000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.356000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.364000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.372000] TCP reno registered
[    0.372000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.388000] NET: Registered protocol family 1
[    0.392000] PCI: CLS 0 bytes, default 16
[    0.396000] audit: initializing netlink socket (disabled)
[    0.400000] type=2000 audit(0.400:1): initialized
[    0.404000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.412000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.424000] msgmni has been set to 57
[    0.428000] io scheduler noop registered
[    0.432000] io scheduler deadline registered (default)
[    0.440000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.448000] console [ttyS0] enabled, bootconsole disabled
[    0.464000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.468000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.476000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.484000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.488000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.496000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.504000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.512000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.520000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.528000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.532000] Creating 5 MTD partitions on "spi0.0":
[    0.536000] 0x000000000000-0x000000010000 : "CFE"
[    0.544000] 0x000000010100-0x000000100000 : "kernel"
[    0.552000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.564000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.572000] mtd: partition "rootfs" set to be root filesystem
[    0.580000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.588000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.596000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.604000] 0x000000010000-0x000000ff0000 : "linux"
[    0.648000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.656000] Registered led device: 963281T_TEF:green:power
[    0.656000] Registered led device: 963281T_TEF:red:stop
[    0.656000] Registered led device: 963281T_TEF:green:inet
[    0.656000] Registered led device: 963281T_TEF:red:inet-fail
[    0.660000] Registered led device: 963281T_TEF:green:ppp
[    0.660000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.660000] Registered led device: 963281T_TEF:green:3g
[    0.660000] Registered led device: 963281T_TEF:red:3g-fail
[    0.660000] Registered led device: 963281T_TEF:green:wlan
[    0.660000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.660000] Registered led device: 963281T_TEF:green:eth
[    0.664000] Registered led device: 963281T_TEF:red:eth-fail
[    0.664000] TCP cubic registered
[    0.668000] NET: Registered protocol family 17
[    0.672000] 8021q: 802.1Q VLAN Support v1.8
[    0.688000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.696000] Freeing unused kernel memory: 200k freed
[    2.800000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.020000] roboswitch: Probing device eth0:
[    3.024000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.032000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.040000] roboswitch: Probing device eth1: No such device
[    3.044000] roboswitch: Probing device eth2: No such device
[    3.052000] roboswitch: Probing device eth3: No such device
[   11.728000] NET: Registered protocol family 10
[   11.792000] There is already a switch registered on the device 'eth0'
[   11.800000] roboswitch: Probing device eth1: No such device
[   11.804000] roboswitch: Probing device eth2: No such device
[   11.812000] roboswitch: Probing device eth3: No such device
[   13.328000] wl: module license 'unspecified' taints kernel.
[   13.332000] Disabling lock debugging due to kernel taint
[   13.440000] SSB/BCMA glue driver successfully attached
[   13.468000] Button Hotplug driver version 0.4.1
[   13.516000] PPP generic driver version 2.4.2
[   13.740000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.940000] NET: Registered protocol family 24
[   13.976000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.344000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.624000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   19.316000] device eth0 entered promiscuous mode
[   19.320000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   19.332000] br-lan: port 1(eth0) entered forwarding state
[   19.336000] br-lan: port 1(eth0) entered forwarding state
[   21.340000] br-lan: port 1(eth0) entered forwarding state
[   29.360000] eth0: no IPv6 routers present
[   36.612000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   36.628000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   36.632000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  128.760000] JFFS2 notice: (975) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[/spoiler]


En concreto sigue sin aparecer ningún rastro de BCMA por ningún lado. Esto me lleva a pensar que después del backport de Hauke del BCMA/SSB tengo que añadir nuevos parámetros a la configuración de linux para que funcione.

Por eso he editado la configuración basada en la existente para BCM47xx y estoy generando un firmware nuevo que sí que debería funcionar. Lo siento por todas estas pruebas inútiles que os hayan hecho perder el tiempo :$...

EDIT: Firmware -> https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_wl_bcma_parms.bin

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 04-07-2012, 14:39 (Miércoles)
En concreto sigue sin aparecer ningún rastro de BCMA por ningún lado. Esto me lleva a pensar que después del backport de Hauke del BCMA/SSB tengo que añadir nuevos parámetros a la configuración de linux para que funcione.

Por eso he editado la configuración basada en la existente para BCM47xx y estoy generando un firmware nuevo que sí que debería funcionar. Lo siento por todas estas pruebas inútiles que os hayan hecho perder el tiempo :$...

EDIT: Firmware -> https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_wl_bcma_parms.bin

Saludos.

Encima de todo el trabajo que te pegas, nos pides disculpas ??
Yo hago todas las pruebas que pueda, que menos ...   ;)

Voy a instalar primero el nuevo firm del hg556a y luego pruebo con este  ;D
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 04-07-2012, 15:05 (Miércoles)
Probado, el wifi sigue sin aparecer  :-[

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 Wed Jul 4 13:41:49 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 802a5a60, 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.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: 29376k/32768k available (2248k kernel code, 3392k reserved, 400k 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.352000] 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.376000] bcma: Found rev 6 PMU (capabilities 0x108C2606)
[    0.376000] bcma: PMU resource config unknown or not needed for device 0xA8D9
[    0.376000] bcma: Workarounds unknown or not needed for device 0xA8D9
[    0.408000] bcma: SPROM offset 0x800
[    0.448000] bcma: Using SPROM revision 8 provided by platform.
[    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.776000] 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.800000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.808000] Freeing unused kernel memory: 200k freed
[    2.924000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.144000] roboswitch: Probing device eth0:
[    3.148000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.156000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.164000] roboswitch: Probing device eth1: No such device
[    3.168000] roboswitch: Probing device eth2: No such device
[    3.176000] roboswitch: Probing device eth3: No such device
[   11.888000] NET: Registered protocol family 10
[   11.952000] There is already a switch registered on the device 'eth0'
[   11.960000] roboswitch: Probing device eth1: No such device
[   11.968000] roboswitch: Probing device eth2: No such device
[   11.972000] roboswitch: Probing device eth3: No such device
[   13.480000] wl: module license 'unspecified' taints kernel.
[   13.484000] Disabling lock debugging due to kernel taint
[   13.592000] SSB/BCMA glue driver successfully attached
[   13.620000] Button Hotplug driver version 0.4.1
[   13.668000] PPP generic driver version 2.4.2
[   13.892000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.088000] NET: Registered protocol family 24
[   14.124000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.488000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.768000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   19.488000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   19.496000] device eth0 entered promiscuous mode
[   19.504000] br-lan: port 1(eth0) entered forwarding state
[   19.508000] br-lan: port 1(eth0) entered forwarding state
[   21.512000] br-lan: port 1(eth0) entered forwarding state
[   30.176000] eth0: no IPv6 routers present
[   36.360000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   36.368000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   36.372000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  128.284000] JFFS2 notice: (996) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[/spoiler]
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 04-07-2012, 15:21 (Miércoles)
Probado, el wifi sigue sin aparecer  :-[

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 Wed Jul 4 13:41:49 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 802a5a60, 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: 29376k/32768k available (2248k kernel code, 3392k reserved, 400k 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.352000] 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.376000] bcma: Found rev 6 PMU (capabilities 0x108C2606)
[    0.376000] bcma: PMU resource config unknown or not needed for device 0xA8D9
[    0.376000] bcma: Workarounds unknown or not needed for device 0xA8D9
[    0.408000] bcma: SPROM offset 0x800
[    0.448000] bcma: Using SPROM revision 8 provided by platform.
[    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.776000] 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.800000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.808000] Freeing unused kernel memory: 200k freed
[    2.924000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.144000] roboswitch: Probing device eth0:
[    3.148000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.156000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.164000] roboswitch: Probing device eth1: No such device
[    3.168000] roboswitch: Probing device eth2: No such device
[    3.176000] roboswitch: Probing device eth3: No such device
[   11.888000] NET: Registered protocol family 10
[   11.952000] There is already a switch registered on the device 'eth0'
[   11.960000] roboswitch: Probing device eth1: No such device
[   11.968000] roboswitch: Probing device eth2: No such device
[   11.972000] roboswitch: Probing device eth3: No such device
[   13.480000] wl: module license 'unspecified' taints kernel.
[   13.484000] Disabling lock debugging due to kernel taint
[   13.592000] SSB/BCMA glue driver successfully attached
[   13.620000] Button Hotplug driver version 0.4.1
[   13.668000] PPP generic driver version 2.4.2
[   13.892000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.088000] NET: Registered protocol family 24
[   14.124000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.488000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.768000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   19.488000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   19.496000] device eth0 entered promiscuous mode
[   19.504000] br-lan: port 1(eth0) entered forwarding state
[   19.508000] br-lan: port 1(eth0) entered forwarding state
[   21.512000] br-lan: port 1(eth0) entered forwarding state
[   30.176000] eth0: no IPv6 routers present
[   36.360000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   36.368000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   36.372000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  128.284000] JFFS2 notice: (996) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[/spoiler]
Pero en este sí que funciona el BCMA:
Citar
[    0.344000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.352000] 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.376000] bcma: Found rev 6 PMU (capabilities 0x108C2606)
[    0.376000] bcma: PMU resource config unknown or not needed for device 0xA8D9
[    0.376000] bcma: Workarounds unknown or not needed for device 0xA8D9
[    0.408000] bcma: SPROM offset 0x800
[    0.448000] bcma: Using SPROM revision 8 provided by platform.
[    0.448000] bcma: Bus registered
Esto puede indicar que el driver wl no lo está detectando correctamente.

Voy a recompilar el firmware con brcsmac a ver si así sí funciona (no habíamos confirmado antes que con broadcom wl funcionara, pero sí con brcmsmac)...

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

Un rápido vistazo al driver wl me da que pensar que la versión que utiliza openwrt no soporta el 43225 usado por este dispositivo xDDD.

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 04-07-2012, 19:12 (Miércoles)
Citar
Esto puede indicar que el driver wl no lo está detectando correctamente.

Voy a recompilar el firmware con brcsmac a ver si así sí funciona (no habíamos confirmado antes que con broadcom wl funcionara, pero sí con brcmsmac)...

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

Un rápido vistazo al driver wl me da que pensar que la versión que utiliza openwrt no soporta el 43225 usado por este dispositivo xDDD.

Saludos!

Volvemos a tener wifi  ;D ;D ;D

dmesg

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Wed Jul 4 15:25:23 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 802a5a60, 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.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: 29376k/32768k available (2248k kernel code, 3392k reserved, 399k 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.376000] bcma: Found rev 6 PMU (capabilities 0x108C2606)
[    0.376000] bcma: PMU resource config unknown or not needed for device 0xA8D9
[    0.376000] bcma: Workarounds unknown or not needed for device 0xA8D9
[    0.408000] bcma: SPROM offset 0x800
[    0.448000] bcma: Using SPROM revision 8 provided by platform.
[    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.332000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.388000] roboswitch: Probing device eth0:
[    3.392000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.404000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.408000] roboswitch: Probing device eth1: No such device
[    3.416000] roboswitch: Probing device eth2: No such device
[    3.420000] roboswitch: Probing device eth3: No such device
[    9.424000] 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.216000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.224000] Backport based on wireless-testing.git master-2012-06-14
[   12.228000] compat.git: wireless-testing.git
[   12.288000] cfg80211: Calling CRDA to update world regulatory domain
[   12.292000] cfg80211: World regulatory domain updated:
[   12.300000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.308000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.316000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.324000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.332000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.340000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.736000] NET: Registered protocol family 10
[   12.840000] There is already a switch registered on the device 'eth0'
[   12.848000] roboswitch: Probing device eth1: No such device
[   12.856000] roboswitch: Probing device eth2: No such device
[   12.860000] roboswitch: Probing device eth3: No such device
[   13.260000] Button Hotplug driver version 0.4.1
[   13.424000] PPP generic driver version 2.4.2
[   13.860000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   14.224000] bcma: Switched to core: 0x812
[   14.224000] brcmsmac: use fifi: 20, 192, 192, 21, 17, 5
[   14.232000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.248000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.452000] NET: Registered protocol family 24
[   14.488000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.868000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.156000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   19.492000] device eth0 entered promiscuous mode
[   19.500000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   19.512000] br-lan: port 1(eth0) entered forwarding state
[   19.516000] br-lan: port 1(eth0) entered forwarding state
[   21.520000] br-lan: port 1(eth0) entered forwarding state
[   21.628000] dummy
[   21.628000] dummy
[   21.632000] dummy
[   21.632000] dummy
[   21.636000] dummy
[   21.636000] dummy
[   21.640000] dummy
[   21.640000] dummy
[   21.644000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[   21.652000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[   21.716000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   25.152000] dummy
[   25.156000] dummy
[   25.160000] dummy
[   25.160000] dummy
[   25.164000] ieee80211 phy0: brcmsmac: brcms_ops_bss_info_changed: associated
[   25.172000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 0 (implement)
[   25.180000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: true (implement)
[   25.188000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   26.140000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 1 (implement)
[   30.168000] eth0: no IPv6 routers present
[   35.888000] wlan0: no IPv6 routers present

[/spoiler]

Ahora queda probarlo y ver si hay diferencia de rendimiento  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 04-07-2012, 19:38 (Miércoles)
Citar
Esto puede indicar que el driver wl no lo está detectando correctamente.

Voy a recompilar el firmware con brcsmac a ver si así sí funciona (no habíamos confirmado antes que con broadcom wl funcionara, pero sí con brcmsmac)...

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

Un rápido vistazo al driver wl me da que pensar que la versión que utiliza openwrt no soporta el 43225 usado por este dispositivo xDDD.

Saludos!

Volvemos a tener wifi  ;D ;D ;D

dmesg

[spoiler]
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Wed Jul 4 15:25:23 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 802a5a60, 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: 29376k/32768k available (2248k kernel code, 3392k reserved, 399k 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.376000] bcma: Found rev 6 PMU (capabilities 0x108C2606)
[    0.376000] bcma: PMU resource config unknown or not needed for device 0xA8D9
[    0.376000] bcma: Workarounds unknown or not needed for device 0xA8D9
[    0.408000] bcma: SPROM offset 0x800
[    0.448000] bcma: Using SPROM revision 8 provided by platform.
[    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.332000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.388000] roboswitch: Probing device eth0:
[    3.392000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.404000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.408000] roboswitch: Probing device eth1: No such device
[    3.416000] roboswitch: Probing device eth2: No such device
[    3.420000] roboswitch: Probing device eth3: No such device
[    9.424000] 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.216000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.224000] Backport based on wireless-testing.git master-2012-06-14
[   12.228000] compat.git: wireless-testing.git
[   12.288000] cfg80211: Calling CRDA to update world regulatory domain
[   12.292000] cfg80211: World regulatory domain updated:
[   12.300000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.308000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.316000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.324000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.332000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.340000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.736000] NET: Registered protocol family 10
[   12.840000] There is already a switch registered on the device 'eth0'
[   12.848000] roboswitch: Probing device eth1: No such device
[   12.856000] roboswitch: Probing device eth2: No such device
[   12.860000] roboswitch: Probing device eth3: No such device
[   13.260000] Button Hotplug driver version 0.4.1
[   13.424000] PPP generic driver version 2.4.2
[   13.860000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   14.224000] bcma: Switched to core: 0x812
[   14.224000] brcmsmac: use fifi: 20, 192, 192, 21, 17, 5
[   14.232000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.248000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.452000] NET: Registered protocol family 24
[   14.488000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.868000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.156000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   19.492000] device eth0 entered promiscuous mode
[   19.500000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   19.512000] br-lan: port 1(eth0) entered forwarding state
[   19.516000] br-lan: port 1(eth0) entered forwarding state
[   21.520000] br-lan: port 1(eth0) entered forwarding state
[   21.628000] dummy
[   21.628000] dummy
[   21.632000] dummy
[   21.632000] dummy
[   21.636000] dummy
[   21.636000] dummy
[   21.640000] dummy
[   21.640000] dummy
[   21.644000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[   21.652000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[   21.716000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   25.152000] dummy
[   25.156000] dummy
[   25.160000] dummy
[   25.160000] dummy
[   25.164000] ieee80211 phy0: brcmsmac: brcms_ops_bss_info_changed: associated
[   25.172000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 0 (implement)
[   25.180000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: true (implement)
[   25.188000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   26.140000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 1 (implement)
[   30.168000] eth0: no IPv6 routers present
[   35.888000] wlan0: no IPv6 routers present

[/spoiler]

Ahora queda probarlo y ver si hay diferencia de rendimiento  ;)
Queda claro entonces que no se puede usar el driver broadcom wl, puesto que la versión que hay en Openwrt es demasiado antigua para soportar el 43225.

Así pues quedan dos alternativas: Usar brcmsmac (la última versión lo incluye). O usar b43.

El problema de brcmsmac es que habéis comentado que su rendimiento no es adecuado y produce cortes.
El problema de b43 es que no soporta Wifi N (el wifi queda limitado a b/g).

No sé si hay alguna forma de actualizar el driver wl en openwrt, si alguien sabe algo al respecto, nos vendría bien algo de luz ;).

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 04-07-2012, 20:23 (Miércoles)
Le he preguntado a Hauke sobre el parche al BCMA para que detecte la fallback sprom. Me ha pedido que recupere un par de valores del BCMA.

Para esto necesito que alguno pruebe este firmware, que es exactamente idéntico al anterior pero con los debugs.

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

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 05-07-2012, 00:56 (Jueves)
Le he preguntado a Hauke sobre el parche al BCMA para que detecte la fallback sprom. Me ha pedido que recupere un par de valores del BCMA.

Para esto necesito que alguno pruebe este firmware, que es exactamente idéntico al anterior pero con los debugs.

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

Saludos!

Mañana lo pruebo y te cuento.


Queda claro entonces que no se puede usar el driver broadcom wl, puesto que la versión que hay en Openwrt es demasiado antigua para soportar el 43225.

Así pues quedan dos alternativas: Usar brcmsmac (la última versión lo incluye). O usar b43.

El problema de brcmsmac es que habéis comentado que su rendimiento no es adecuado y produce cortes.
El problema de b43 es que no soporta Wifi N (el wifi queda limitado a b/g).

No sé si hay alguna forma de actualizar el driver wl en openwrt, si alguien sabe algo al respecto, nos vendría bien algo de luz ;).

Saludos!

Con respecto a esto, no digo que tenga mal rendimiento, digo que funciona algo peor que el atheros del hg556a.
Curiosamente, va peor en 'bajada', pero en 'subida' mejora al atheros (esto va referido a las pocas pruebas que he podido hacer, y es un simple test de velocidad en speedtest.net).

A ver si alguien más lo testea y nos comenta sus impresiones  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 05-07-2012, 19:02 (Jueves)
Para esto necesito que alguno pruebe este firmware, que es exactamente idéntico al anterior pero con los debugs.

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

Saludos!

Ahí va el dmesg

[spoiler][    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #3 Wed Jul 4 20:20:32 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 802a5a60, 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.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: 29376k/32768k available (2248k kernel code, 3392k reserved, 399k 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.376000] bcma: Found rev 6 PMU (capabilities 0x108C2606)
[    0.376000] bcma: PMU resource config unknown or not needed for device 0xA8D9
[    0.376000] bcma: Workarounds unknown or not needed for device 0xA8D9
[    0.408000] [Hauke] bus->drv_cc.core->id.rev :: 0x22[Hauke] bus->drv_cc.capabilities :: 0x58500000[Hauke] srom_control :: 0x3
[    0.416000] bcma: SPROM offset 0x800
[    0.456000] bcma: Using SPROM revision 8 provided by platform.
[    0.460000] bcma: Bus registered
[    0.464000] NET: Registered protocol family 2
[    0.468000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.476000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.484000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.488000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.496000] TCP reno registered
[    0.500000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.504000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.512000] NET: Registered protocol family 1
[    0.516000] PCI: CLS 0 bytes, default 16
[    0.520000] audit: initializing netlink socket (disabled)
[    0.524000] type=2000 audit(0.524:1): initialized
[    0.532000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.536000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.548000] msgmni has been set to 57
[    0.552000] io scheduler noop registered
[    0.556000] io scheduler deadline registered (default)
[    0.564000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.572000] console [ttyS0] enabled, bootconsole disabled
[    0.588000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.596000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.600000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.608000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.616000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.624000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.628000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.636000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.644000] bcm63xxpart: Spare partition is offset 2e0004 and length d0fffc
[    0.652000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.656000] Creating 5 MTD partitions on "spi0.0":
[    0.664000] 0x000000000000-0x000000010000 : "CFE"
[    0.672000] 0x000000010100-0x000000100000 : "kernel"
[    0.676000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.692000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.700000] mtd: partition "rootfs" set to be root filesystem
[    0.704000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=D10000
[    0.712000] 0x0000002e0000-0x000000ff0000 : "rootfs_data"
[    0.720000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.728000] 0x000000010000-0x000000ff0000 : "linux"
[    0.772000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.780000] Registered led device: 963281T_TEF:green:power
[    0.780000] Registered led device: 963281T_TEF:red:stop
[    0.780000] Registered led device: 963281T_TEF:green:inet
[    0.784000] Registered led device: 963281T_TEF:red:inet-fail
[    0.784000] Registered led device: 963281T_TEF:green:ppp
[    0.784000] Registered led device: 963281T_TEF:red:ppp-fail
[    0.784000] Registered led device: 963281T_TEF:green:3g
[    0.784000] Registered led device: 963281T_TEF:red:3g-fail
[    0.784000] Registered led device: 963281T_TEF:green:wlan
[    0.784000] Registered led device: 963281T_TEF:red:wlan-fail
[    0.784000] Registered led device: 963281T_TEF:green:eth
[    0.788000] Registered led device: 963281T_TEF:red:eth-fail
[    0.788000] TCP cubic registered
[    0.792000] NET: Registered protocol family 17
[    0.796000] 8021q: 802.1Q VLAN Support v1.8
[    0.808000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.816000] Freeing unused kernel memory: 200k freed
[    3.336000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.392000] roboswitch: Probing device eth0:
[    3.396000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.404000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.412000] roboswitch: Probing device eth1: No such device
[    3.416000] roboswitch: Probing device eth2: No such device
[    3.424000] roboswitch: Probing device eth3: No such device
[   12.000000] Compat-wireless backport release: compat-wireless-2012-06-14
[   12.008000] Backport based on wireless-testing.git master-2012-06-14
[   12.016000] compat.git: wireless-testing.git
[   12.072000] cfg80211: Calling CRDA to update world regulatory domain
[   12.076000] cfg80211: World regulatory domain updated:
[   12.084000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.092000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.100000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.108000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.116000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.124000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.512000] NET: Registered protocol family 10
[   12.616000] There is already a switch registered on the device 'eth0'
[   12.624000] roboswitch: Probing device eth1: No such device
[   12.628000] roboswitch: Probing device eth2: No such device
[   12.636000] roboswitch: Probing device eth3: No such device
[   13.024000] Button Hotplug driver version 0.4.1
[   13.188000] PPP generic driver version 2.4.2
[   13.620000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   13.984000] bcma: Switched to core: 0x812
[   13.984000] brcmsmac: use fifi: 20, 192, 192, 21, 17, 5
[   13.992000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.004000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.212000] NET: Registered protocol family 24
[   14.248000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   14.624000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.912000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   20.896000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   20.904000] device eth0 entered promiscuous mode
[   20.912000] br-lan: port 1(eth0) entered forwarding state
[   20.916000] br-lan: port 1(eth0) entered forwarding state
[   22.920000] br-lan: port 1(eth0) entered forwarding state
[   31.328000] eth0: no IPv6 routers present
[   38.532000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   38.540000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   38.548000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  131.648000] JFFS2 notice: (1050) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[/spoiler]
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 07-07-2012, 02:37 (Sábado)
Gracias por el bootlog. Tengo que hablar con Hauke a ver que me cuenta del BCMA.

Mientras tanto Florian ha añadido el parche para la detección del "cfe-" en vez del "cfe-v".
https://dev.openwrt.org/changeset/32643
Lo que no sé es por qué ha borrado el parche de la placa del patchwork sin añadirlo xDDD. Mañana a ver si le pillo por banda y le pregunto.

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: srt8100 en 11-07-2012, 22:11 (Miércoles)
Buenas

Como va el tema del wifi? se ha solucionado algo Noltari? el usb ya funicona con los modificaciones que has echo?
Tengo el router con una firm de los primeros que colgaste y el wifi falla de vez en cuando, es para esperarme a actualizar o pongo el ultimo con los debusg

Salu2
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 12-07-2012, 00:33 (Jueves)
Buenas

Como va el tema del wifi? se ha solucionado algo Noltari? el usb ya funicona con los modificaciones que has echo?
Tengo el router con una firm de los primeros que colgaste y el wifi falla de vez en cuando, es para esperarme a actualizar o pongo el ultimo con los debusg

Salu2
El wifi es normal que vaya mal. El driver b43 no está muy pulido y mucho menos el brcsmac. El mejor driver sería el propietario (broadcom-wl), pero openwrt utiliza una versión antigua que no es compatible con el wifi de este router...

Así que lo siento, pero de momento nada. Además estoy dando el coñazo todos los días para que apliquen los parches...

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 13-07-2012, 22:51 (Viernes)
Después de varios días esperando el feedback de Hauke hoy he podido hablar con él y me ha confirmado lo que ya sabía, que hay que forzar la detección del fallback sprom en el driver bcma.

Parches actualizados:
https://lists.openwrt.org/pipermail/openwrt-devel/2012-July/015980.html
https://lists.openwrt.org/pipermail/openwrt-devel/2012-July/015981.html
https://lists.openwrt.org/pipermail/openwrt-devel/2012-July/015982.html

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 18-07-2012, 16:46 (Miércoles)
Una actualización del firmware, que nunca viene mal.
https://dl.dropbox.com/u/4708147/openwrt/63281T/openwrt-963281T_TEF-generic-squashfs-cfe_r32775.bin

Los drivers del wifi han sido actualizados, por lo que a lo mejor hay cierta mejora.

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 18-07-2012, 19:13 (Miércoles)
Probado.

Test de velocidad con el anterior firmware

(http://www.speedtest.net/result/2070788339.png)

Test de velocidad con el nuevo firmware

(http://www.speedtest.net/result/2070885884.png)

Las diferencias son tan pequeñas, que no creo que se puedan deber al driver (ganamos en subida y bajada, pero perdemos en ping).
Por otro lado, no estaba instalado wpa-supplicant ni hostapd, por lo que no conseguía conectar de ninguna manera (ni siquiera con la red de mi amigo y vecino con clave wep). Fue instalar ambos y 'mano de santo'  ;D

Test de velocidad con el hg556a. Como se puede ver, la velocidad de bajada es casi el doble  ;D

(http://www.speedtest.net/result/2070906757.png)

Te he mandado los log a tu e-mail, que últimamente está saliendo demasiada info (aunque oculta) en mis dmesg's  :D

Voy a probar el nuevo firm del ar5387un  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 18-07-2012, 19:35 (Miércoles)
Probado.

Test de velocidad con el anterior firmware

(http://www.speedtest.net/result/2070788339.png)

Test de velocidad con el nuevo firmware

(http://www.speedtest.net/result/2070885884.png)

Las diferencias son tan pequeñas, que no creo que se puedan deber al driver (ganamos en subida y bajada, pero perdemos en ping).
Por otro lado, no estaba instalado wpa-supplicant ni hostapd, por lo que no conseguía conectar de ninguna manera (ni siquiera con la red de mi amigo y vecino con clave wep). Fue instalar ambos y 'mano de santo'  ;D

Test de velocidad con el hg556a. Como se puede ver, la velocidad de bajada es casi el doble  ;D

(http://www.speedtest.net/result/2070906757.png)

Te he mandado los log a tu e-mail, que últimamente está saliendo demasiada info (aunque oculta) en mis dmesg's  :D

Voy a probar el nuevo firm del ar5387un  ;)
Pues no, no ha habido mucha mejora :P.

Actualizado el firmware corrigiendo lo del wifi. Además he actualizado los parches SVN creando un perfil para el wifi de este router.

https://dl.dropbox.com/u/4708147/openwrt/63281T/63281T_TEF_svn.patch
Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 19-07-2012, 19:11 (Jueves)
Nuevos parches válidos tanto para el Comtend AR5387un como para el ADB P.DG A4001N.
https://dl.dropbox.com/u/4708147/openwrt/6328/6328_svn.patch

Firmware actualizado: https://dl.dropbox.com/u/4708147/openwrt/6328/openwrt-963281T_TEF-generic-squashfs-cfe_r32777.bin

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 20-07-2012, 13:55 (Viernes)
Hace un rato, haciendo pruebas (pretendía montar una unidad de red con cifsmount) e instalando paquetes, el router se ha quedado 'lelo'  :-[
Desgraciadamente, yo nunca conseguí que me entrara al CFE (siempre he flasheado desde LuCi o desde el interfaz web del firmware original), así que de momento está 'medio muerto' hasta que me haga con un serial ... lo iba posponiendo y al final ...  ;D
Lo curioso, es que responde al ping durante 4 o 5 segundos (tanto al 192.168.1.1 si configuro mi tarjeta de red, como al 10.0.1.99 que es la ip que tenía asignada en mi red) y luego me ignora, sin más  :-X :-X ... después, se reinicia un par de veces, y termine apagando todas las luces  ???

Pues nada, cuando me llegue el serial, ya iré contando  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 24-07-2012, 02:50 (Martes)
Rework de los parches "jogo style":
https://dl.dropbox.com/u/4708147/openwrt/6328/6328_svn.patch

Firmware actualizado:
https://dl.dropbox.com/u/4708147/openwrt/6328/openwrt-963281T_TEF-generic-squashfs-cfe_r32793.bin

http://patchwork.openwrt.org/patch/2421/
http://patchwork.openwrt.org/patch/2422/
http://patchwork.openwrt.org/patch/2423/

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 29-07-2012, 14:06 (Domingo)
Por fin me han aceptado un par de parches de los que tengo en espera:
https://dev.openwrt.org/changeset/32890
https://dev.openwrt.org/changeset/32892

Así que toca actualización, sobre todo por el profile del wifi utilizando brcmsmac.

Firmware actualizado:
https://dl.dropbox.com/u/4708147/openwrt/6328/openwrt-963281T_TEF-generic-squashfs-cfe_r32904.bin

Parches SVN actualizados (primer post):
https://dl.dropbox.com/u/4708147/openwrt/6328/6328_svn.patch

Saludos.
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 29-07-2012, 15:52 (Domingo)
Estupendas noticias ;)
A ver si esta semana me llega el serial y recupero el router.

Enviado desde mi u8500 usando Tapatalk 2
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 31-07-2012, 23:54 (Martes)
Nuevo firmware, con los últimos parches cambiados por enésima vez realizando los ajustes que jogo me ha pedido...
https://dl.dropbox.com/u/4708147/openwrt/6328/openwrt-963281T_TEF-generic-squashfs-cfe_r32934.bin

Actualizados también los parches SVN a la última versión:
https://dl.dropbox.com/u/4708147/openwrt/6328/6328_svn.patch

Saludos.

EDIT: Ups, copy&paste fail, había puesto el firmware del Comtrend AR5387un xD...
EDIT2: Actualizado firmware sin soporte USB, ya que bloqueaba el inicio.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 01-08-2012, 21:54 (Miércoles)
Nuevo firmware, con los últimos parches cambiados por enésima vez realizando los ajustes que jogo me ha pedido...
https://dl.dropbox.com/u/4708147/openwrt/6328/openwrt-963281T_TEF-generic-squashfs-cfe_r32934.bin

Actualizados también los parches SVN a la última versión:
https://dl.dropbox.com/u/4708147/openwrt/6328/6328_svn.patch

Saludos.

EDIT: Ups, copy&paste fail, había puesto el firmware del Comtrend AR5387un xD...
EDIT2: Actualizado firmware sin soporte USB, ya que bloqueaba el inicio.
Actualizado firmware sin soporte USB.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 02-08-2012, 09:54 (Jueves)
Yo ya tengo el serial  >:(
Pero como soy un 'negao' pa las soldaduras y esas cosas, estoy a la espera de que un amiguete me haga el trabajo sucio  ^-^
Luego a recuperar el router, y seguir con las pruebas  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 08-08-2012, 14:41 (Miércoles)
Actualizado el post principal con una versión actualizada del firmware con soporte USB completo (NTFS/FAT/EXT).

Yo ya tengo el serial  >:(
Pero como soy un 'negao' pa las soldaduras y esas cosas, estoy a la espera de que un amiguete me haga el trabajo sucio  ^-^
Luego a recuperar el router, y seguir con las pruebas  ;)
Esperando noticias :P.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: wiisos en 11-08-2012, 17:01 (Sábado)
Se puede instalar OpenWRT y hacer que el router descargue torrents en un pendrive a través de USB? Perdería algo con respecto al firm original?

Un saludo y gracias
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 11-08-2012, 18:45 (Sábado)
En teoría sí, pero nadie ha probado aún el firm con soporte USB para este rputer  :(

Yo sigo esperando a que mi amiguete me devuelva el router con las soldaduras pertinentes para conectarle el serial e intentar 'revivirlo'  ^-^

Si instalas OpenWrt, te quedarás sin poder usarlo como modem ADSL.
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 11-08-2012, 19:16 (Sábado)
Probado el USB y funcionando!

Enviado desde mi Nexus One usando Tapatalk 2
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jb61uk en 12-08-2012, 19:31 (Domingo)
Hola:
Instale la ultima imagen actualizada  https://dl.dropbox.com/u/4708147/openwrt/6328/openwrt-963281T_TEF-generic-squashfs-cfe_r32934.bin

Todo funcionaba normalmente. Pero hoy tras hacer un cambio se quedo bloqueado a la espera de efectuarlos.
Tras esto ahora no puede acceder ni atraves de ssh ni el navegador web.
Lo he reseteado pero sigue igual.
¿Hay alguna forma de volverlo a la vida?
No tengo cable serial.
Gracias.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 12-08-2012, 20:03 (Domingo)
Y has probado a entrar al CFE ?
Con el router apagado, apretar el botón de reset, encenderlo manteniendo el reset presionado durante 30 segundos.
Configurar la tarjeta de red con la ip. 192.168.1.2 y máscara 255.255.255.0
Abrir navegador  con la url 192.168.1.1

A mi también se me jodió sin hacer nada raro, pero es que en mi caso nunca conseguí entrar al CFE  ???
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jb61uk en 12-08-2012, 20:37 (Domingo)
Hola y gracias por la respuesta.
Lo he intentado.
ALgo no va bien ya que le cambie la puerta de enlace a 192.168.1.2 y tras restearlo sigue siendo la misma que le puse. Deberia ser 192.168.1.1 que es la que trae por defecto, por lo cual el reseteo no se produce. Si no me equivoco.
En este punto ya no se que hacer o de que forma acceder para volver a instalarle la imagen o la original.
Si con un cable se serie lo pudiera hacer lo compraria o me lo montaria yo.
¿El cable de serie es rj45 y db9, cable de coonsola cisco, No?
Si tienes alguna otra opcion la pondre en practica.

Gracias


Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 13-08-2012, 00:08 (Lunes)
Te responde al ping en la ip 192.168.1.2 ?
Tampoco puedes entrar por telnet o ssh ?
El tema del serial está explicado en el primer post del hilo.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jb61uk en 13-08-2012, 13:53 (Lunes)
Hola:
No responde ni haciendo  ping puerta de enlace, ni usando telnet o ssh.
Desde el navegador web intenta acceder a luci pero al final... "pagina no encontrada"
El reseteo no funciona. Lo intente varias veces y siempre queda igual.
Tras unos diez segundos la luz del power queda parpadeando permanentemnte.Y tengo que apagarlo y encerderlo denuevo. Pero sigue como antes.
Ademas donde vivo no he encontrado la clavija DB9 hembra para hacer un cable serial.
Si conoceis alguna otra forma lo intentare.
Gracias
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 20-08-2012, 22:43 (Lunes)
Yo sigo a la espera de que mi amigo me devuelva el router con las soldaduras hechas  :-\

Lo que está claro es que los ADB se quedan 'fritos' con bastante facilidad :P

Enviado desde mi U30GT
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 26-08-2012, 15:21 (Domingo)
Actualizados los parches SVN y añadido un firmware actualizado al primer post.

No hay ningún cambio, simplemente he actualizado los parches con respecto a los últimos cambios de openwrt.

Yo sigo a la espera de que mi amigo me devuelva el router con las soldaduras hechas  :-\

Lo que está claro es que los ADB se quedan 'fritos' con bastante facilidad :P

Enviado desde mi U30GT
Espero que consigas arrojar algo de luz al asunto. Aver si hay suerte :P.

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 12-09-2012, 12:27 (Miércoles)
Por fín, el amiguete me ha devuelto el router.
Antes de intentar nada, posteo el bootlog.
A ver si los expertos en cables y esas cosas, aparecen por aquí  ^-^

[spoiler]
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.09.12 12:11:34 =~=~=~=~=~=~=~=~=~=~=~=
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.100 
Gateway IP address                :   
Run from flash/host (f/h)         : f 
Default host run file name        : vmlinux 
Default host flash file name      : bcm963xx_fs_kernel 
Boot delay (0-9 seconds)          : 1 
Board Id (0-4)                    : 963281T_TEF 
Number of MAC Addresses (1-32)    : 11 
Base MAC Address                  : 30:39:f2:83:c8:a5 
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 (1 seconds) ***
Auto run second count down: 110
Booting from only image (0xb8010000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80010000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x80010000
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Wed Jul 18 16:34:38 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] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,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: 29376k/32768k available (2248k kernel code, 3392k reserved, 399k 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: 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: bus0: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.352000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.452000] bcma: bus0: 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.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.532000] 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.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 2c0004 and length d2fffc
[    0.644000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.652000] 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=2C0000, len=D30000
[    0.708000] 0x0000002c0000-0x000000ff0000 : "rootfs_data"
[    0.716000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.724000] 0x000000010000-0x000000ff0000 : "linux"
[    0.764000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    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
awk: /proc/cpuinfo: No such file or directory
[    3.400000] roboswitch: Probing device eth0:
[    3.404000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.412000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.416000] roboswitch: Probing device eth1: No such device
[    3.424000] roboswitch: Probing device eth2: No such device
[    3.428000] roboswitch: Probing device eth3: No such device
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.448000] JFFS2 notice: (347) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 28 of xref (0 dead, 23 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. [   12.772000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 81f8c304, ra == 80041a98
[   12.784000] Oops[#1]:
[   12.784000] Cpu 0
[   12.784000] $ 0   : 00000000 10008400 00000000 00000002
[   12.784000] $ 4   : 00000000 000080d0 81f9f920 ffffffff
[   12.784000] $ 8   : 00000001 00000000 00000000 00000000
[   12.784000] $12   : 00000000 00000031 00000000 00000000
[   12.784000] $16   : 81f9f920 00000001 81f90000 00000000
[   12.784000] $20   : 00000000 802e0000 802a0000 80245814
[   12.784000] $24   : 00000000 8001e230                 
[   12.784000] $28   : 81f7c000 81f7dd48 80245834 80041a98
[   12.784000] Hi    : 00000000
[   12.784000] Lo    : 0000002c
[   12.784000] epc   : 81f8c304 0x81f8c304
[   12.784000]     Tainted: G           O
[   12.784000] ra    : 80041a98 0x80041a98
[   12.784000] Status: 10008403    KERNEL EXL IE
[   12.784000] Cause : 00800008
[   12.784000] BadVA : 00000000
[   12.784000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   12.784000] Modules linked in: aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   12.784000] Process insmod (pid: 405, threadinfo=81f7c000, task=81f489f8, tls=77dfb440)
[   12.784000] Stack : 802a0000 800df39c 81f1e680 81f94b80 ffffffff 00000001 81f9f920 00000000
[   12.784000]         00000000 802e0000 802a0000 80245814 80245834 80041a98 00000000 00000000
[   12.784000]         00000001 00000000 00000000 00000001 81f9f920 ffffffff 8029ea30 80041d40
[   12.784000]         10008401 00000000 81c6b440 81ec7200 00000000 81ec722c 802a0000 00000001
[   12.784000]         81f9f920 00000000 802a0000 80041d84 81f9f948 80108d3c 00000000 801cf538
[   12.784000]         ...
[   12.784000] Call Trace:[<800df39c>] 0x800df39c
[   12.784000] [<80041a98>] 0x80041a98
[   12.784000] [<80041d40>] 0x80041d40
[   12.784000] [<80041d84>] 0x80041d84
[   12.784000] [<80108d3c>] 0x80108d3c
[   12.784000] [<801cf538>] 0x801cf538
[   12.784000] [<8010965c>] 0x8010965c
[   12.784000] [<81f88ff0>] 0x81f88ff0
[   12.784000] [<81f89348>] 0x81f89348
[   12.784000] [<81f89658>] 0x81f89658
[   12.784000] [<81f97000>] 0x81f97000
[   12.784000] [<80010900>] 0x80010900
[   12.784000] [<80088e18>] 0x80088e18
[   12.784000] [<80041d84>] 0x80041d84
[   12.784000] [<80056344>] 0x80056344
[   12.784000] [<8001a6d0>] 0x8001a6d0
[   12.784000] [<80125f38>] 0x80125f38
[   12.784000]
[   12.784000]
[   12.784000] Code: 2642c5e0  8c420140  340580d0 <8c430000> 24630001  ac430000  3c02802a  0c023f75  8c44da24
[   13.004000] ---[ end trace a25b18ee5bd1b876 ]---
[   13.032000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 81f8c304, ra == 80041a98
[   13.044000] Oops[#2]:
[   13.044000] Cpu 0
[   13.044000] $ 0   : 00000000 10008400 00000000 00000002
[   13.044000] $ 4   : 00000000 000080d0 81ec10f0 ffffffff
[   13.044000] $ 8   : 00000001 00000000 00000000 00000000
[   13.044000] $12   : 00000000 00000031 81024480 00000000
[   13.044000] $16   : 81ec10f0 00000001 81f90000 00000000
[   13.044000] $20   : 00000000 802e0000 802a0000 80245814
[   13.044000] $24   : 00000000 8001e230                 
[   13.044000] $28   : 81f76000 81f77d48 80245834 80041a98
[   13.044000] Hi    : 00000000
[   13.044000] Lo    : 00000000
[   13.044000] epc   : 81f8c304 0x81f8c304
[   13.044000]     Tainted: G      D    O
[   13.044000] ra    : 80041a98 0x80041a98
[   13.044000] Status: 10008403    KERNEL EXL IE
[   13.044000] Cause : 00800008
[   13.044000] BadVA : 00000000
[   13.044000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   13.044000] Modules linked in: arc4(+) aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   13.044000] Process insmod (pid: 406, threadinfo=81f76000, task=81d1c510, tls=77873440)
[   13.044000] Stack : 802a0000 800df39c 81f1e3b0 81f94780 ffffffff 00000001 81ec10f0 00000000
[   13.044000]         00000000 802e0000 802a0000 80245814 80245834 80041a98 00000000 00000000
[   13.044000]         00000001 00000000 00000000 00000001 81ec10f0 ffffffff 8029ea30 80041d40
[   13.044000]         10008401 00000000 81c6b440 81ec7200 00000000 81ec722c 802a0000 00000001
[   13.044000]         81ec10f0 00000000 802a0000 80041d84 81ec1118 80108d3c 00000000 801cf538
[   13.044000]         ...
[   13.044000] Call Trace:[<800df39c>] 0x800df39c
[   13.044000] [<80041a98>] 0x80041a98
[   13.044000] [<80041d40>] 0x80041d40
[   13.044000] [<80041d84>] 0x80041d84
[   13.044000] [<80108d3c>] 0x80108d3c
[   13.044000] [<801cf538>] 0x801cf538
[   13.044000] [<8010965c>] 0x8010965c
[   13.044000] [<81f88ff0>] 0x81f88ff0
[   13.044000] [<81f89348>] 0x81f89348
[   13.044000] [<81f89658>] 0x81f89658
[   13.044000] [<81f78000>] 0x81f78000
[   13.044000] [<80010900>] 0x80010900
[   13.044000] [<80088e18>] 0x80088e18
[   13.044000] [<80041d84>] 0x80041d84
[   13.044000] [<80056344>] 0x80056344
[   13.044000] [<8001a6d0>] 0x8001a6d0
[   13.044000] [<81f89434>] 0x81f89434
[   13.044000] [<80108d84>] 0x80108d84
[   13.044000]
[   13.044000]
[   13.044000] Code: 2642c5e0  8c420140  340580d0 <8c430000> 24630001  ac430000  3c02802a  0c023f75  8c44da24
[   13.268000] ---[ end trace a25b18ee5bd1b877 ]---
[   13.316000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 81f8c304, ra == 80041a98
[   13.324000] Oops[#3]:
[   13.324000] Cpu 0
[   13.324000] $ 0   : 00000000 10008400 00000000 00000002
[   13.324000] $ 4   : 00000000 000080d0 81fa4a20 ffffffff
[   13.324000] $ 8   : 00000001 00000000 00000000 00000000
[   13.324000] $12   : 00000000 81f8ef90 00000050 00000000
[   13.324000] $16   : 81fa4a20 00000001 81f90000 00000000
[   13.324000] $20   : 00000000 802e0000 802a0000 80245814
[   13.324000] $24   : 00000000 8001e230                 
[   13.324000] $28   : 81f7c000 81f7dd28 80245834 80041a98
[   13.324000] Hi    : 00000000
[   13.324000] Lo    : 0000002c
[   13.324000] epc   : 81f8c304 0x81f8c304
[   13.324000]     Tainted: G      D    O
[   13.324000] ra    : 80041a98 0x80041a98
[   13.324000] Status: 10008403    KERNEL EXL IE
[   13.324000] Cause : 00800008
[   13.324000] BadVA : 00000000
[   13.324000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   13.324000] Modules linked in: des_generic(+) arc4(+) aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   13.324000] Process insmod (pid: 407, threadinfo=81f7c000, task=81f489f8, tls=7793f440)
[   13.324000] Stack : 00000000 80044c30 81f2c5b0 802a0000 ffffffff 00000001 81fa4a20 00000000
[   13.324000]         00000000 802e0000 802a0000 80245814 80245834 80041a98 00000001 8003c5a4
[   13.324000]         000041ed 800ded58 00000000 00000001 81fa4a20 ffffffff 8029ea30 80041d40
[   13.324000]         00000001 00000000 10008401 81c6b440 00000000 81ec7200 802a0000 00000001
[   13.324000]         81fa4a20 00000000 802a0000 80041d84 81fa4a48 80108d3c 00000001 80043e70
[   13.324000]         ...
[   13.324000] Call Trace:[<80044c30>] 0x80044c30
[   13.324000] [<80041a98>] 0x80041a98
[   13.324000] [<8003c5a4>] 0x8003c5a4
[   13.324000] [<800ded58>] 0x800ded58
[   13.324000] [<80041d40>] 0x80041d40
[   13.324000] [<80041d84>] 0x80041d84
[   13.324000] [<80108d3c>] 0x80108d3c
[   13.324000] [<80043e70>] 0x80043e70
[   13.324000] [<801a6534>] 0x801a6534
[   13.324000] [<8010965c>] 0x8010965c
[   13.324000] [<81f88ff0>] 0x81f88ff0
[   13.324000] [<81f89348>] 0x81f89348
[   13.324000] [<81f89658>] 0x81f89658
[   13.324000] [<81fa0000>] 0x81fa0000
[   13.324000] [<81fa501c>] 0x81fa501c
[   13.324000] [<81fa5000>] 0x81fa5000
[   13.324000] [<80010900>] 0x80010900
[   13.324000] [<80088e18>] 0x80088e18
[   13.324000] [<80041d84>] 0x80041d84
[   13.324000] [<80056344>] 0x80056344
[   13.324000] [<8008346c>] 0x8008346c
[   13.324000] [<8001a6d0>] 0x8001a6d0
[   13.324000]
[   13.324000]
[   13.324000] Code: 2642c5e0  8c420140  340580d0 <8c430000> 24630001  ac430000  3c02802a  0c023f75  8c44da24
[   13.568000] ---[ end trace a25b18ee5bd1b878 ]---
[   13.772000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 81f8c304, ra == 80041a98
[   13.784000] Oops[#4]:
[   13.784000] Cpu 0
[   13.784000] $ 0   : 00000000 10008400 00000000 00000002
[   13.784000] $ 4   : 00000000 000080d0 81fa9b6c ffffffff
[   13.784000] $ 8   : 00000001 00000000 00000000 00000000
[   13.784000] $12   : 00000000 00000031 81025f80 00000000
[   13.784000] $16   : 81fa9b6c 00000001 81f90000 00000000
[   13.784000] $20   : 00000000 802e0000 802a0000 80245814
[   13.784000] $24   : 00000000 8001e230                 
[   13.784000] $28   : 81fa6000 81fa7d48 80245834 80041a98
[   13.784000] Hi    : 00000000
[   13.784000] Lo    : 0000002c
[   13.784000] epc   : 81f8c304 0x81f8c304
[   13.784000]     Tainted: G      D    O
[   13.784000] ra    : 80041a98 0x80041a98
[   13.784000] Status: 10008403    KERNEL EXL IE
[   13.784000] Cause : 00800008
[   13.784000] BadVA : 00000000
[   13.784000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   13.784000] Modules linked in: md4(+) hmac ecb des_generic(+) arc4(+) aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   13.784000] Process insmod (pid: 410, threadinfo=81fa6000, task=81d1c510, tls=77ca4440)
[   13.784000] Stack : 802a0000 800df39c 81f8e6d0 81f8b680 ffffffff 00000001 81fa9b6c 00000000
[   13.784000]         00000000 802e0000 802a0000 80245814 80245834 80041a98 00000000 00000000
[   13.784000]         00000001 00000000 00000000 00000001 81fa9b6c ffffffff 8029ea30 80041d40
[   13.784000]         10008401 00000000 81c6b440 81ec7200 00000000 81ec722c 802a0000 00000001
[   13.784000]         81fa9b6c 00000000 802a0000 80041d84 81fa9b94 80108d3c 00000000 801cf538
[   13.784000]         ...
[   13.784000] Call Trace:[<800df39c>] 0x800df39c
[   13.784000] [<80041a98>] 0x80041a98
[   13.784000] [<80041d40>] 0x80041d40
[   13.784000] [<80041d84>] 0x80041d84
[   13.784000] [<80108d3c>] 0x80108d3c
[   13.784000] [<801cf538>] 0x801cf538
[   13.784000] [<8010965c>] 0x8010965c
[   13.784000] [<81f88ff0>] 0x81f88ff0
[   13.784000] [<81f89348>] 0x81f89348
[   13.784000] [<81f89658>] 0x81f89658
[   13.784000] [<81faa000>] 0x81faa000
[   13.784000] [<80010900>] 0x80010900
[   13.784000] [<80088e18>] 0x80088e18
[   13.784000] [<80041d84>] 0x80041d84
[   13.784000] [<80056344>] 0x80056344
[   13.784000] [<8001a6d0>] 0x8001a6d0
[   13.784000]
[   13.784000]
[   13.784000] Code: 2642c5e0  8c420140  340580d0 <8c430000> 24630001  ac430000  3c02802a  0c023f75  8c44da24
[   14.004000] ---[ end trace a25b18ee5bd1b879 ]---
[   14.036000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 81f8c304, ra == 80041a98
[   14.044000] Oops[#5]:
[   14.044000] Cpu 0
[   14.044000] $ 0   : 00000000 10008400 00000000 00000002
[   14.044000] $ 4   : 00000000 000080d0 81f8f41c ffffffff
[   14.044000] $ 8   : 00000001 00000000 00000000 00000000
[   14.044000] $12   : 00000000 00000031 81007220 00000000
[   14.044000] $16   : 81f8f41c 00000001 81f90000 00000000
[   14.044000] $20   : 00000000 802e0000 802a0000 80245814
[   14.044000] $24   : 00000000 8001e230                 
[   14.044000] $28   : 81c88000 81c89d48 80245834 80041a98
[   14.044000] Hi    : 00000000
[   14.044000] Lo    : 00000000
[   14.044000] epc   : 81f8c304 0x81f8c304
[   14.044000]     Tainted: G      D    O
[   14.044000] ra    : 80041a98 0x80041a98
[   14.044000] Status: 10008403    KERNEL EXL IE
[   14.044000] Cause : 00800008
[   14.044000] BadVA : 00000000
[   14.044000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   14.044000] Modules linked in: md5(+) md4(+) hmac ecb des_generic(+) arc4(+) aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   14.044000] Process insmod (pid: 411, threadinfo=81c88000, task=81f489f8, tls=77fd7440)
[   14.044000] Stack : 00000000 10008401 00008000 80013864 ffffffff 00000001 81f8f41c 00000000
[   14.044000]         00000000 802e0000 802a0000 80245814 80245834 80041a98 00000000 00000000
[   14.044000]         00001000 ffffffe0 00000000 00000001 81f8f41c ffffffff 8029ea30 80041d40
[   14.044000]         10008401 00000000 81c6b440 81ec7200 00000000 81ec722c 802a0000 00000001
[   14.044000]         81f8f41c 00000000 802a0000 80041d84 81f8f444 80108d3c 00000000 801cf538
[   14.044000]         ...
[   14.044000] Call Trace:[<80013864>] 0x80013864
[   14.044000] [<80041a98>] 0x80041a98
[   14.044000] [<80041d40>] 0x80041d40
[   14.044000] [<80041d84>] 0x80041d84
[   14.044000] [<80108d3c>] 0x80108d3c
[   14.044000] [<801cf538>] 0x801cf538
[   14.044000] [<8010965c>] 0x8010965c
[   14.044000] [<81f88ff0>] 0x81f88ff0
[   14.044000] [<81f89348>] 0x81f89348
[   14.044000] [<81f89658>] 0x81f89658
[   14.044000] [<81fab000>] 0x81fab000
[   14.044000] [<80010900>] 0x80010900
[   14.044000] [<80088e18>] 0x80088e18
[   14.044000] [<80041d84>] 0x80041d84
[   14.044000] [<80056344>] 0x80056344
[   14.044000] [<8001a6d0>] 0x8001a6d0
[   14.044000]
[   14.044000]
[   14.044000] Code: 2642c5e0  8c420140  340580d0 <8c430000> 24630001  ac430000  3c02802a  0c023f75  8c44da24
[   14.268000] ---[ end trace a25b18ee5bd1b87a ]---
[   14.324000] Compat-wireless backport release: compat-wireless-2012-07-13
[   14.328000] Backport based on wireless-testing.git master-2012-07-16
[   14.336000] compat.git: wireless-testing.git
[   14.400000] cfg80211: Calling CRDA to update world regulatory domain
[   14.404000] cfg80211: World regulatory domain updated:
[   14.412000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   14.420000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.428000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.436000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.444000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.452000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.852000] NET: Registered protocol family 10
[   15.000000] There is already a switch registered on the device 'eth0'
[   15.008000] roboswitch: Probing device eth1: No such device
[   15.012000] roboswitch: Probing device eth2: No such device
[   15.016000] roboswitch: Probing device eth3: No such device
[   15.456000] Button Hotplug driver version 0.4.1
[   15.972000] PPP generic driver version 2.4.2
[   16.420000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   16.752000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.876000] bcma: bus0: Switched to core: 0x812
[   17.028000] NET: Registered protocol family 24
[   17.064000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   17.480000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.796000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   22.116000] device eth0 entered promiscuous mode
[   22.120000] br-lan: port 1(eth0) entered forwarding state
[   22.128000] br-lan: port 1(eth0) entered forwarding state
[   24.132000] br-lan: port 1(eth0) entered forwarding state
[   24.220000] dummy
[   24.220000] dummy
[   24.224000] dummy
[   24.224000] dummy
[   24.228000] dummy
[   24.228000] dummy
[   24.232000] dummy
[   24.232000] dummy
[   24.236000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[   24.244000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[   24.304000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   27.144000] CPU 0 Unable to handle kernel paging request at virtual address 00000004, epc == 814d00f8, ra == 814db834
[   27.152000] Oops[#6]:
[   27.152000] Cpu 0
[   27.152000] $ 0   : 00000000 10008400 00000000 00000000
[   27.152000] $ 4   : 00000000 00000000 00000000 ffffffff
[   27.152000] $ 8   : 00000fff 00000001 00000000 000000f4
[   27.152000] $12   : 00000000 00000003 00008000 00000000
[   27.152000] $16   : 81c27ce8 00000000 816a4360 8153ca80
[   27.152000] $20   : 816d76a0 00000000 814c733c 00000000
[   27.152000] $24   : 00000000 800476f4                 
[   27.152000] $28   : 81c26000 81c27c88 00000000 814db834
[   27.152000] Hi    : 00000000
[   27.152000] Lo    : 0000006c
[   27.152000] epc   : 814d00f8 0x814d00f8
[   27.152000]     Tainted: G      D    O
[   27.152000] ra    : 814db834 0x814db834
[   27.152000] Status: 10008403    KERNEL EXL IE
[   27.152000] Cause : 00800008
[   27.152000] BadVA : 00000004
[   27.152000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   27.152000] Modules linked in: spi_bcm63xx gpio_keys_polled ip6t_REJECT ip6t_LOG ip6t_rt ip6t_hbh ip6t_mh ip6t_ipv6header ip6t_frag ip6t_eui64 ip6t_ah ip6table_raw ip6_queue ip6table_mangle ip6table_filter ip6_tables nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables brcmsmac(O) ppp_async ppp_generic slhc cifs button_hotplug(O) brcmutil(O) nls_utf8 mac80211(O) nls_base crc8 crc_ccitt cordic ipv6 input_polldev cfg80211(O) compat(O) input_core md5(+) md4(+) hmac ecb des_generic(+) arc4(+) aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   27.152000] Process kworker/u:0 (pid: 5, threadinfo=81c26000, task=81c21470, tls=00000000)
[   27.152000] Stack : 00000074 00000000 8158f478 8158f000 00000001 00000008 81c06380 801a0a4c
[   27.152000]         816d76a0 81c27d60 8158ece4 8153ca80 81fe04a6 00000000 814c733c 00000000
[   27.152000]         00000000 814db834 00000008 8143c093 8158ece4 814e1e80 8153ca80 00000000
[   27.152000]         8153ca80 8158ece4 816a4810 816d76a0 ff000000 00ff0000 00000fff 00000000
[   27.152000]         00000000 814dabac 816d76a0 00000000 00000001 00000000 816d76a0 8153ca80
[   27.152000]         ...
[   27.152000] Call Trace:[<801a0a4c>] 0x801a0a4c
[   27.152000] [<814c733c>] 0x814c733c
[   27.152000] [<814db834>] 0x814db834
[   27.152000] [<814e1e80>] 0x814e1e80
[   27.152000] [<814dabac>] 0x814dabac
[   27.152000] [<814c733c>] 0x814c733c
[   27.152000] [<814dc974>] 0x814dc974
[   27.152000] [<801a09b4>] 0x801a09b4
[   27.152000] [<814de224>] 0x814de224
[   27.152000] [<814c6aa8>] 0x814c6aa8
[   27.152000] [<81637f64>] 0x81637f64
[   27.152000] [<814df964>] 0x814df964
[   27.152000] [<814c76dc>] 0x814c76dc
[   27.152000] [<80046bc8>] 0x80046bc8
[   27.152000] [<814c733c>] 0x814c733c
[   27.152000] [<800375e0>] 0x800375e0
[   27.152000] [<800476f4>] 0x800476f4
[   27.152000] [<80038224>] 0x80038224
[   27.152000] [<8023f68c>] 0x8023f68c
[   27.152000] [<80037fc8>] 0x80037fc8
[   27.152000] [<80037fc8>] 0x80037fc8
[   27.152000] [<8003be30>] 0x8003be30
[   27.152000] [<80015310>] 0x80015310
[   27.152000] [<8003bda8>] 0x8003bda8
[   27.152000] [<80015300>] 0x80015300
[   27.152000]
[   27.152000]
[   27.152000] Code: 30420001  1440009e  8fbf0044 <8c820004> 8c840008  8c420024  0040f809  02003821  9295001c
[   27.472000] ---[ end trace a25b18ee5bd1b87b ]---
[   27.476000] Kernel panic - not syncing: Fatal exception in interrupt
[   69.980000] bcm63xx_wdt fire[#7]:
[   69.980000] Cpu 0
[   69.980000] $ 0   : 00000000 10008401 0001032a 3bb3d000
[   69.980000] $ 4   : 000003e8 00026d18 000000e9 ffffffff
[   69.980000] $ 8   : 00000020 00000001 00000001 00000000
[   69.980000] $12   : 00000000 00000000 00008000 00000000
[   69.980000] $16   : 0000a604 00000001 802e0000 0000a668
[   69.980000] $20   : 00000009 802e0000 00000000 00000000
[   69.980000] $24   : 00000018 800476f4                 
[   69.980000] $28   : 81c26000 81c27ab0 00030000 8023ba48
[   69.980000] Hi    : 00000000
[   69.980000] Lo    : 00026d18
[   69.980000] epc   : 80125840 0x80125840
[   69.980000]     Tainted: G      D    O
[   69.980000] ra    : 8023ba48 0x8023ba48
[   69.980000] Status: 10008403    KERNEL EXL IE
[   69.980000] Cause : 00800400
[   69.980000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   69.980000] Modules linked in: spi_bcm63xx gpio_keys_polled ip6t_REJECT ip6t_LOG ip6t_rt ip6t_hbh ip6t_mh ip6t_ipv6header ip6t_frag ip6t_eui64 ip6t_ah ip6table_raw ip6_queue ip6table_mangle ip6table_filter ip6_tables nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables brcmsmac(O) ppp_async ppp_generic slhc cifs button_hotplug(O) brcmutil(O) nls_utf8 mac80211(O) nls_base crc8 crc_ccitt cordic ipv6 input_polldev cfg80211(O) compat(O) input_core md5(+) md4(+) hmac ecb des_generic(+) arc4(+) aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   69.980000] Process kworker/u:0 (pid: 5, threadinfo=81c26000, task=81c21470, tls=00000000)
[   69.980000] Stack : 00000010 802e76e0 00000000 81c27aec 81c27aec 81c27ae8 0000000b 81c27bd8
[   69.980000]         80259f74 81c27bd8 816d76a0 00000028 00000000 80017d60 00030000 802971c4
[   69.980000]         ffffffff 8015aab0 00000002 0000000b 00000004 00000000 81c21470 8001c9fc
[   69.980000]         00006c00 00000000 00000008 00000004 00000008 814d00f8 00000008 814db834
[   69.980000]         81c27ba8 00030001 81600b60 00000000 00000000 fffffffe 00000000 0000ff01
[   69.980000]         ...
[   69.980000] Call Trace:[<80017d60>] 0x80017d60
[   69.980000] [<8015aab0>] 0x8015aab0
[   69.980000] [<8001c9fc>] 0x8001c9fc
[   69.980000] [<814d00f8>] 0x814d00f8
[   69.980000] [<814db834>] 0x814db834
[   69.980000] [<81600b60>] 0x81600b60
[   69.980000] [<801a0a4c>] 0x801a0a4c
[   69.980000] [<81612454>] 0x81612454
[   69.980000] [<801a0ad0>] 0x801a0ad0
[   69.980000] [<801a0a4c>] 0x801a0a4c
[   69.980000] [<814c733c>] 0x814c733c
[   69.980000] [<80013840>] 0x80013840
[   69.980000] [<8161223c>] 0x8161223c
[   69.980000] [<801a0a4c>] 0x801a0a4c
[   69.980000] [<814c733c>] 0x814c733c
[   69.980000] [<800476f4>] 0x800476f4
[   69.980000] [<816123b0>] 0x816123b0
[   69.980000] [<814db834>] 0x814db834
[   69.980000] [<814d00f8>] 0x814d00f8
[   69.980000] [<801a0a4c>] 0x801a0a4c
[   69.980000] [<814c733c>] 0x814c733c
[   69.980000] [<814db834>] 0x814db834
[   69.980000] [<814e1e80>] 0x814e1e80
[   69.980000] [<814dabac>] 0x814dabac
[   69.980000] [<814c733c>] 0x814c733c
[   69.980000] [<814dc974>] 0x814dc974
[   69.980000] [<801a09b4>] 0x801a09b4
[   69.980000] [<814de224>] 0x814de224
[   69.980000] [<814c6aa8>] 0x814c6aa8
[   69.980000] [<81637f64>] 0x81637f64
[   69.980000] [<814df964>] 0x814df964
[   69.980000] [<814c76dc>] 0x814c76dc
[   69.980000] [<80046bc8>] 0x80046bc8
[   69.980000] [<814c733c>] 0x814c733c
[   69.980000] [<800375e0>] 0x800375e0
[   69.980000] [<800476f4>] 0x800476f4
[   69.980000] [<80038224>] 0x80038224
[   69.980000] [<8023f68c>] 0x8023f68c
[   69.980000] [<80037fc8>] 0x80037fc8
[   69.980000] [<80037fc8>] 0x80037fc8
[   69.980000] [<8003be30>] 0x8003be30
[   69.980000] [<80015310>] 0x80015310
[   69.980000] [<8003bda8>] 0x8003bda8
[   69.980000] [<80015300>] 0x80015300
[   69.980000]
[   69.980000]
[   69.980000] Code: 70822802  00a61021  00000000 <1440ffff> 2442ffff  03e00008  00000000  3c028029  8c430680
[   70.364000] ---[ end trace a25b18ee5bd1b87c ]---
[   70.368000] Kernel panic - not syncing: Fatal exception in interrupt

[/spoiler]
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 12-09-2012, 12:50 (Miércoles)
Por fín, el amiguete me ha devuelto el router.
Antes de intentar nada, posteo el bootlog.
A ver si los expertos en cables y esas cosas, aparecen por aquí  ^-^

[spoiler]
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.09.12 12:11:34 =~=~=~=~=~=~=~=~=~=~=~=
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.100 
Gateway IP address                :   
Run from flash/host (f/h)         : f 
Default host run file name        : vmlinux 
Default host flash file name      : bcm963xx_fs_kernel 
Boot delay (0-9 seconds)          : 1 
Board Id (0-4)                    : 963281T_TEF 
Number of MAC Addresses (1-32)    : 11 
Base MAC Address                  : 30:39:f2:83:c8:a5 
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 (1 seconds) ***
Auto run second count down: 110
Booting from only image (0xb8010000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80010000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x80010000
[    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Wed Jul 18 16:34:38 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] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,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: 29376k/32768k available (2248k kernel code, 3392k reserved, 399k 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: 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: bus0: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.352000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.360000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.368000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.452000] bcma: bus0: 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.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.532000] 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.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 2c0004 and length d2fffc
[    0.644000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.652000] 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=2C0000, len=D30000
[    0.708000] 0x0000002c0000-0x000000ff0000 : "rootfs_data"
[    0.716000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.724000] 0x000000010000-0x000000ff0000 : "linux"
[    0.764000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    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
awk: /proc/cpuinfo: No such file or directory
[    3.400000] roboswitch: Probing device eth0:
[    3.404000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.412000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.416000] roboswitch: Probing device eth1: No such device
[    3.424000] roboswitch: Probing device eth2: No such device
[    3.428000] roboswitch: Probing device eth3: No such device
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.448000] JFFS2 notice: (347) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 28 of xref (0 dead, 23 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. [   12.772000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 81f8c304, ra == 80041a98
[   12.784000] Oops[#1]:
[   12.784000] Cpu 0
[   12.784000] $ 0   : 00000000 10008400 00000000 00000002
[   12.784000] $ 4   : 00000000 000080d0 81f9f920 ffffffff
[   12.784000] $ 8   : 00000001 00000000 00000000 00000000
[   12.784000] $12   : 00000000 00000031 00000000 00000000
[   12.784000] $16   : 81f9f920 00000001 81f90000 00000000
[   12.784000] $20   : 00000000 802e0000 802a0000 80245814
[   12.784000] $24   : 00000000 8001e230                 
[   12.784000] $28   : 81f7c000 81f7dd48 80245834 80041a98
[   12.784000] Hi    : 00000000
[   12.784000] Lo    : 0000002c
[   12.784000] epc   : 81f8c304 0x81f8c304
[   12.784000]     Tainted: G           O
[   12.784000] ra    : 80041a98 0x80041a98
[   12.784000] Status: 10008403    KERNEL EXL IE
[   12.784000] Cause : 00800008
[   12.784000] BadVA : 00000000
[   12.784000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   12.784000] Modules linked in: aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   12.784000] Process insmod (pid: 405, threadinfo=81f7c000, task=81f489f8, tls=77dfb440)
[   12.784000] Stack : 802a0000 800df39c 81f1e680 81f94b80 ffffffff 00000001 81f9f920 00000000
[   12.784000]         00000000 802e0000 802a0000 80245814 80245834 80041a98 00000000 00000000
[   12.784000]         00000001 00000000 00000000 00000001 81f9f920 ffffffff 8029ea30 80041d40
[   12.784000]         10008401 00000000 81c6b440 81ec7200 00000000 81ec722c 802a0000 00000001
[   12.784000]         81f9f920 00000000 802a0000 80041d84 81f9f948 80108d3c 00000000 801cf538
[   12.784000]         ...
[   12.784000] Call Trace:[<800df39c>] 0x800df39c
[   12.784000] [<80041a98>] 0x80041a98
[   12.784000] [<80041d40>] 0x80041d40
[   12.784000] [<80041d84>] 0x80041d84
[   12.784000] [<80108d3c>] 0x80108d3c
[   12.784000] [<801cf538>] 0x801cf538
[   12.784000] [<8010965c>] 0x8010965c
[   12.784000] [<81f88ff0>] 0x81f88ff0
[   12.784000] [<81f89348>] 0x81f89348
[   12.784000] [<81f89658>] 0x81f89658
[   12.784000] [<81f97000>] 0x81f97000
[   12.784000] [<80010900>] 0x80010900
[   12.784000] [<80088e18>] 0x80088e18
[   12.784000] [<80041d84>] 0x80041d84
[   12.784000] [<80056344>] 0x80056344
[   12.784000] [<8001a6d0>] 0x8001a6d0
[   12.784000] [<80125f38>] 0x80125f38
[   12.784000]
[   12.784000]
[   12.784000] Code: 2642c5e0  8c420140  340580d0 <8c430000> 24630001  ac430000  3c02802a  0c023f75  8c44da24
[   13.004000] ---[ end trace a25b18ee5bd1b876 ]---
[   13.032000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 81f8c304, ra == 80041a98
[   13.044000] Oops[#2]:
[   13.044000] Cpu 0
[   13.044000] $ 0   : 00000000 10008400 00000000 00000002
[   13.044000] $ 4   : 00000000 000080d0 81ec10f0 ffffffff
[   13.044000] $ 8   : 00000001 00000000 00000000 00000000
[   13.044000] $12   : 00000000 00000031 81024480 00000000
[   13.044000] $16   : 81ec10f0 00000001 81f90000 00000000
[   13.044000] $20   : 00000000 802e0000 802a0000 80245814
[   13.044000] $24   : 00000000 8001e230                 
[   13.044000] $28   : 81f76000 81f77d48 80245834 80041a98
[   13.044000] Hi    : 00000000
[   13.044000] Lo    : 00000000
[   13.044000] epc   : 81f8c304 0x81f8c304
[   13.044000]     Tainted: G      D    O
[   13.044000] ra    : 80041a98 0x80041a98
[   13.044000] Status: 10008403    KERNEL EXL IE
[   13.044000] Cause : 00800008
[   13.044000] BadVA : 00000000
[   13.044000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   13.044000] Modules linked in: arc4(+) aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   13.044000] Process insmod (pid: 406, threadinfo=81f76000, task=81d1c510, tls=77873440)
[   13.044000] Stack : 802a0000 800df39c 81f1e3b0 81f94780 ffffffff 00000001 81ec10f0 00000000
[   13.044000]         00000000 802e0000 802a0000 80245814 80245834 80041a98 00000000 00000000
[   13.044000]         00000001 00000000 00000000 00000001 81ec10f0 ffffffff 8029ea30 80041d40
[   13.044000]         10008401 00000000 81c6b440 81ec7200 00000000 81ec722c 802a0000 00000001
[   13.044000]         81ec10f0 00000000 802a0000 80041d84 81ec1118 80108d3c 00000000 801cf538
[   13.044000]         ...
[   13.044000] Call Trace:[<800df39c>] 0x800df39c
[   13.044000] [<80041a98>] 0x80041a98
[   13.044000] [<80041d40>] 0x80041d40
[   13.044000] [<80041d84>] 0x80041d84
[   13.044000] [<80108d3c>] 0x80108d3c
[   13.044000] [<801cf538>] 0x801cf538
[   13.044000] [<8010965c>] 0x8010965c
[   13.044000] [<81f88ff0>] 0x81f88ff0
[   13.044000] [<81f89348>] 0x81f89348
[   13.044000] [<81f89658>] 0x81f89658
[   13.044000] [<81f78000>] 0x81f78000
[   13.044000] [<80010900>] 0x80010900
[   13.044000] [<80088e18>] 0x80088e18
[   13.044000] [<80041d84>] 0x80041d84
[   13.044000] [<80056344>] 0x80056344
[   13.044000] [<8001a6d0>] 0x8001a6d0
[   13.044000] [<81f89434>] 0x81f89434
[   13.044000] [<80108d84>] 0x80108d84
[   13.044000]
[   13.044000]
[   13.044000] Code: 2642c5e0  8c420140  340580d0 <8c430000> 24630001  ac430000  3c02802a  0c023f75  8c44da24
[   13.268000] ---[ end trace a25b18ee5bd1b877 ]---
[   13.316000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 81f8c304, ra == 80041a98
[   13.324000] Oops[#3]:
[   13.324000] Cpu 0
[   13.324000] $ 0   : 00000000 10008400 00000000 00000002
[   13.324000] $ 4   : 00000000 000080d0 81fa4a20 ffffffff
[   13.324000] $ 8   : 00000001 00000000 00000000 00000000
[   13.324000] $12   : 00000000 81f8ef90 00000050 00000000
[   13.324000] $16   : 81fa4a20 00000001 81f90000 00000000
[   13.324000] $20   : 00000000 802e0000 802a0000 80245814
[   13.324000] $24   : 00000000 8001e230                 
[   13.324000] $28   : 81f7c000 81f7dd28 80245834 80041a98
[   13.324000] Hi    : 00000000
[   13.324000] Lo    : 0000002c
[   13.324000] epc   : 81f8c304 0x81f8c304
[   13.324000]     Tainted: G      D    O
[   13.324000] ra    : 80041a98 0x80041a98
[   13.324000] Status: 10008403    KERNEL EXL IE
[   13.324000] Cause : 00800008
[   13.324000] BadVA : 00000000
[   13.324000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   13.324000] Modules linked in: des_generic(+) arc4(+) aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   13.324000] Process insmod (pid: 407, threadinfo=81f7c000, task=81f489f8, tls=7793f440)
[   13.324000] Stack : 00000000 80044c30 81f2c5b0 802a0000 ffffffff 00000001 81fa4a20 00000000
[   13.324000]         00000000 802e0000 802a0000 80245814 80245834 80041a98 00000001 8003c5a4
[   13.324000]         000041ed 800ded58 00000000 00000001 81fa4a20 ffffffff 8029ea30 80041d40
[   13.324000]         00000001 00000000 10008401 81c6b440 00000000 81ec7200 802a0000 00000001
[   13.324000]         81fa4a20 00000000 802a0000 80041d84 81fa4a48 80108d3c 00000001 80043e70
[   13.324000]         ...
[   13.324000] Call Trace:[<80044c30>] 0x80044c30
[   13.324000] [<80041a98>] 0x80041a98
[   13.324000] [<8003c5a4>] 0x8003c5a4
[   13.324000] [<800ded58>] 0x800ded58
[   13.324000] [<80041d40>] 0x80041d40
[   13.324000] [<80041d84>] 0x80041d84
[   13.324000] [<80108d3c>] 0x80108d3c
[   13.324000] [<80043e70>] 0x80043e70
[   13.324000] [<801a6534>] 0x801a6534
[   13.324000] [<8010965c>] 0x8010965c
[   13.324000] [<81f88ff0>] 0x81f88ff0
[   13.324000] [<81f89348>] 0x81f89348
[   13.324000] [<81f89658>] 0x81f89658
[   13.324000] [<81fa0000>] 0x81fa0000
[   13.324000] [<81fa501c>] 0x81fa501c
[   13.324000] [<81fa5000>] 0x81fa5000
[   13.324000] [<80010900>] 0x80010900
[   13.324000] [<80088e18>] 0x80088e18
[   13.324000] [<80041d84>] 0x80041d84
[   13.324000] [<80056344>] 0x80056344
[   13.324000] [<8008346c>] 0x8008346c
[   13.324000] [<8001a6d0>] 0x8001a6d0
[   13.324000]
[   13.324000]
[   13.324000] Code: 2642c5e0  8c420140  340580d0 <8c430000> 24630001  ac430000  3c02802a  0c023f75  8c44da24
[   13.568000] ---[ end trace a25b18ee5bd1b878 ]---
[   13.772000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 81f8c304, ra == 80041a98
[   13.784000] Oops[#4]:
[   13.784000] Cpu 0
[   13.784000] $ 0   : 00000000 10008400 00000000 00000002
[   13.784000] $ 4   : 00000000 000080d0 81fa9b6c ffffffff
[   13.784000] $ 8   : 00000001 00000000 00000000 00000000
[   13.784000] $12   : 00000000 00000031 81025f80 00000000
[   13.784000] $16   : 81fa9b6c 00000001 81f90000 00000000
[   13.784000] $20   : 00000000 802e0000 802a0000 80245814
[   13.784000] $24   : 00000000 8001e230                 
[   13.784000] $28   : 81fa6000 81fa7d48 80245834 80041a98
[   13.784000] Hi    : 00000000
[   13.784000] Lo    : 0000002c
[   13.784000] epc   : 81f8c304 0x81f8c304
[   13.784000]     Tainted: G      D    O
[   13.784000] ra    : 80041a98 0x80041a98
[   13.784000] Status: 10008403    KERNEL EXL IE
[   13.784000] Cause : 00800008
[   13.784000] BadVA : 00000000
[   13.784000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   13.784000] Modules linked in: md4(+) hmac ecb des_generic(+) arc4(+) aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   13.784000] Process insmod (pid: 410, threadinfo=81fa6000, task=81d1c510, tls=77ca4440)
[   13.784000] Stack : 802a0000 800df39c 81f8e6d0 81f8b680 ffffffff 00000001 81fa9b6c 00000000
[   13.784000]         00000000 802e0000 802a0000 80245814 80245834 80041a98 00000000 00000000
[   13.784000]         00000001 00000000 00000000 00000001 81fa9b6c ffffffff 8029ea30 80041d40
[   13.784000]         10008401 00000000 81c6b440 81ec7200 00000000 81ec722c 802a0000 00000001
[   13.784000]         81fa9b6c 00000000 802a0000 80041d84 81fa9b94 80108d3c 00000000 801cf538
[   13.784000]         ...
[   13.784000] Call Trace:[<800df39c>] 0x800df39c
[   13.784000] [<80041a98>] 0x80041a98
[   13.784000] [<80041d40>] 0x80041d40
[   13.784000] [<80041d84>] 0x80041d84
[   13.784000] [<80108d3c>] 0x80108d3c
[   13.784000] [<801cf538>] 0x801cf538
[   13.784000] [<8010965c>] 0x8010965c
[   13.784000] [<81f88ff0>] 0x81f88ff0
[   13.784000] [<81f89348>] 0x81f89348
[   13.784000] [<81f89658>] 0x81f89658
[   13.784000] [<81faa000>] 0x81faa000
[   13.784000] [<80010900>] 0x80010900
[   13.784000] [<80088e18>] 0x80088e18
[   13.784000] [<80041d84>] 0x80041d84
[   13.784000] [<80056344>] 0x80056344
[   13.784000] [<8001a6d0>] 0x8001a6d0
[   13.784000]
[   13.784000]
[   13.784000] Code: 2642c5e0  8c420140  340580d0 <8c430000> 24630001  ac430000  3c02802a  0c023f75  8c44da24
[   14.004000] ---[ end trace a25b18ee5bd1b879 ]---
[   14.036000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 81f8c304, ra == 80041a98
[   14.044000] Oops[#5]:
[   14.044000] Cpu 0
[   14.044000] $ 0   : 00000000 10008400 00000000 00000002
[   14.044000] $ 4   : 00000000 000080d0 81f8f41c ffffffff
[   14.044000] $ 8   : 00000001 00000000 00000000 00000000
[   14.044000] $12   : 00000000 00000031 81007220 00000000
[   14.044000] $16   : 81f8f41c 00000001 81f90000 00000000
[   14.044000] $20   : 00000000 802e0000 802a0000 80245814
[   14.044000] $24   : 00000000 8001e230                 
[   14.044000] $28   : 81c88000 81c89d48 80245834 80041a98
[   14.044000] Hi    : 00000000
[   14.044000] Lo    : 00000000
[   14.044000] epc   : 81f8c304 0x81f8c304
[   14.044000]     Tainted: G      D    O
[   14.044000] ra    : 80041a98 0x80041a98
[   14.044000] Status: 10008403    KERNEL EXL IE
[   14.044000] Cause : 00800008
[   14.044000] BadVA : 00000000
[   14.044000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   14.044000] Modules linked in: md5(+) md4(+) hmac ecb des_generic(+) arc4(+) aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   14.044000] Process insmod (pid: 411, threadinfo=81c88000, task=81f489f8, tls=77fd7440)
[   14.044000] Stack : 00000000 10008401 00008000 80013864 ffffffff 00000001 81f8f41c 00000000
[   14.044000]         00000000 802e0000 802a0000 80245814 80245834 80041a98 00000000 00000000
[   14.044000]         00001000 ffffffe0 00000000 00000001 81f8f41c ffffffff 8029ea30 80041d40
[   14.044000]         10008401 00000000 81c6b440 81ec7200 00000000 81ec722c 802a0000 00000001
[   14.044000]         81f8f41c 00000000 802a0000 80041d84 81f8f444 80108d3c 00000000 801cf538
[   14.044000]         ...
[   14.044000] Call Trace:[<80013864>] 0x80013864
[   14.044000] [<80041a98>] 0x80041a98
[   14.044000] [<80041d40>] 0x80041d40
[   14.044000] [<80041d84>] 0x80041d84
[   14.044000] [<80108d3c>] 0x80108d3c
[   14.044000] [<801cf538>] 0x801cf538
[   14.044000] [<8010965c>] 0x8010965c
[   14.044000] [<81f88ff0>] 0x81f88ff0
[   14.044000] [<81f89348>] 0x81f89348
[   14.044000] [<81f89658>] 0x81f89658
[   14.044000] [<81fab000>] 0x81fab000
[   14.044000] [<80010900>] 0x80010900
[   14.044000] [<80088e18>] 0x80088e18
[   14.044000] [<80041d84>] 0x80041d84
[   14.044000] [<80056344>] 0x80056344
[   14.044000] [<8001a6d0>] 0x8001a6d0
[   14.044000]
[   14.044000]
[   14.044000] Code: 2642c5e0  8c420140  340580d0 <8c430000> 24630001  ac430000  3c02802a  0c023f75  8c44da24
[   14.268000] ---[ end trace a25b18ee5bd1b87a ]---
[   14.324000] Compat-wireless backport release: compat-wireless-2012-07-13
[   14.328000] Backport based on wireless-testing.git master-2012-07-16
[   14.336000] compat.git: wireless-testing.git
[   14.400000] cfg80211: Calling CRDA to update world regulatory domain
[   14.404000] cfg80211: World regulatory domain updated:
[   14.412000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   14.420000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.428000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.436000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.444000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.452000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.852000] NET: Registered protocol family 10
[   15.000000] There is already a switch registered on the device 'eth0'
[   15.008000] roboswitch: Probing device eth1: No such device
[   15.012000] roboswitch: Probing device eth2: No such device
[   15.016000] roboswitch: Probing device eth3: No such device
[   15.456000] Button Hotplug driver version 0.4.1
[   15.972000] PPP generic driver version 2.4.2
[   16.420000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[   16.752000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.876000] bcma: bus0: Switched to core: 0x812
[   17.028000] NET: Registered protocol family 24
[   17.064000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   17.480000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.796000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[   22.116000] device eth0 entered promiscuous mode
[   22.120000] br-lan: port 1(eth0) entered forwarding state
[   22.128000] br-lan: port 1(eth0) entered forwarding state
[   24.132000] br-lan: port 1(eth0) entered forwarding state
[   24.220000] dummy
[   24.220000] dummy
[   24.224000] dummy
[   24.224000] dummy
[   24.228000] dummy
[   24.228000] dummy
[   24.232000] dummy
[   24.232000] dummy
[   24.236000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[   24.244000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[   24.304000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   27.144000] CPU 0 Unable to handle kernel paging request at virtual address 00000004, epc == 814d00f8, ra == 814db834
[   27.152000] Oops[#6]:
[   27.152000] Cpu 0
[   27.152000] $ 0   : 00000000 10008400 00000000 00000000
[   27.152000] $ 4   : 00000000 00000000 00000000 ffffffff
[   27.152000] $ 8   : 00000fff 00000001 00000000 000000f4
[   27.152000] $12   : 00000000 00000003 00008000 00000000
[   27.152000] $16   : 81c27ce8 00000000 816a4360 8153ca80
[   27.152000] $20   : 816d76a0 00000000 814c733c 00000000
[   27.152000] $24   : 00000000 800476f4                 
[   27.152000] $28   : 81c26000 81c27c88 00000000 814db834
[   27.152000] Hi    : 00000000
[   27.152000] Lo    : 0000006c
[   27.152000] epc   : 814d00f8 0x814d00f8
[   27.152000]     Tainted: G      D    O
[   27.152000] ra    : 814db834 0x814db834
[   27.152000] Status: 10008403    KERNEL EXL IE
[   27.152000] Cause : 00800008
[   27.152000] BadVA : 00000004
[   27.152000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   27.152000] Modules linked in: spi_bcm63xx gpio_keys_polled ip6t_REJECT ip6t_LOG ip6t_rt ip6t_hbh ip6t_mh ip6t_ipv6header ip6t_frag ip6t_eui64 ip6t_ah ip6table_raw ip6_queue ip6table_mangle ip6table_filter ip6_tables nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables brcmsmac(O) ppp_async ppp_generic slhc cifs button_hotplug(O) brcmutil(O) nls_utf8 mac80211(O) nls_base crc8 crc_ccitt cordic ipv6 input_polldev cfg80211(O) compat(O) input_core md5(+) md4(+) hmac ecb des_generic(+) arc4(+) aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   27.152000] Process kworker/u:0 (pid: 5, threadinfo=81c26000, task=81c21470, tls=00000000)
[   27.152000] Stack : 00000074 00000000 8158f478 8158f000 00000001 00000008 81c06380 801a0a4c
[   27.152000]         816d76a0 81c27d60 8158ece4 8153ca80 81fe04a6 00000000 814c733c 00000000
[   27.152000]         00000000 814db834 00000008 8143c093 8158ece4 814e1e80 8153ca80 00000000
[   27.152000]         8153ca80 8158ece4 816a4810 816d76a0 ff000000 00ff0000 00000fff 00000000
[   27.152000]         00000000 814dabac 816d76a0 00000000 00000001 00000000 816d76a0 8153ca80
[   27.152000]         ...
[   27.152000] Call Trace:[<801a0a4c>] 0x801a0a4c
[   27.152000] [<814c733c>] 0x814c733c
[   27.152000] [<814db834>] 0x814db834
[   27.152000] [<814e1e80>] 0x814e1e80
[   27.152000] [<814dabac>] 0x814dabac
[   27.152000] [<814c733c>] 0x814c733c
[   27.152000] [<814dc974>] 0x814dc974
[   27.152000] [<801a09b4>] 0x801a09b4
[   27.152000] [<814de224>] 0x814de224
[   27.152000] [<814c6aa8>] 0x814c6aa8
[   27.152000] [<81637f64>] 0x81637f64
[   27.152000] [<814df964>] 0x814df964
[   27.152000] [<814c76dc>] 0x814c76dc
[   27.152000] [<80046bc8>] 0x80046bc8
[   27.152000] [<814c733c>] 0x814c733c
[   27.152000] [<800375e0>] 0x800375e0
[   27.152000] [<800476f4>] 0x800476f4
[   27.152000] [<80038224>] 0x80038224
[   27.152000] [<8023f68c>] 0x8023f68c
[   27.152000] [<80037fc8>] 0x80037fc8
[   27.152000] [<80037fc8>] 0x80037fc8
[   27.152000] [<8003be30>] 0x8003be30
[   27.152000] [<80015310>] 0x80015310
[   27.152000] [<8003bda8>] 0x8003bda8
[   27.152000] [<80015300>] 0x80015300
[   27.152000]
[   27.152000]
[   27.152000] Code: 30420001  1440009e  8fbf0044 <8c820004> 8c840008  8c420024  0040f809  02003821  9295001c
[   27.472000] ---[ end trace a25b18ee5bd1b87b ]---
[   27.476000] Kernel panic - not syncing: Fatal exception in interrupt
[   69.980000] bcm63xx_wdt fire[#7]:
[   69.980000] Cpu 0
[   69.980000] $ 0   : 00000000 10008401 0001032a 3bb3d000
[   69.980000] $ 4   : 000003e8 00026d18 000000e9 ffffffff
[   69.980000] $ 8   : 00000020 00000001 00000001 00000000
[   69.980000] $12   : 00000000 00000000 00008000 00000000
[   69.980000] $16   : 0000a604 00000001 802e0000 0000a668
[   69.980000] $20   : 00000009 802e0000 00000000 00000000
[   69.980000] $24   : 00000018 800476f4                 
[   69.980000] $28   : 81c26000 81c27ab0 00030000 8023ba48
[   69.980000] Hi    : 00000000
[   69.980000] Lo    : 00026d18
[   69.980000] epc   : 80125840 0x80125840
[   69.980000]     Tainted: G      D    O
[   69.980000] ra    : 8023ba48 0x8023ba48
[   69.980000] Status: 10008403    KERNEL EXL IE
[   69.980000] Cause : 00800400
[   69.980000] PrId  : 0002a075 (Broadcom BMIPS4350)
[   69.980000] Modules linked in: spi_bcm63xx gpio_keys_polled ip6t_REJECT ip6t_LOG ip6t_rt ip6t_hbh ip6t_mh ip6t_ipv6header ip6t_frag ip6t_eui64 ip6t_ah ip6table_raw ip6_queue ip6table_mangle ip6table_filter ip6_tables nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables brcmsmac(O) ppp_async ppp_generic slhc cifs button_hotplug(O) brcmutil(O) nls_utf8 mac80211(O) nls_base crc8 crc_ccitt cordic ipv6 input_polldev cfg80211(O) compat(O) input_core md5(+) md4(+) hmac ecb des_generic(+) arc4(+) aes_generic(+) crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_adm(O) switch_core(O)
[   69.980000] Process kworker/u:0 (pid: 5, threadinfo=81c26000, task=81c21470, tls=00000000)
[   69.980000] Stack : 00000010 802e76e0 00000000 81c27aec 81c27aec 81c27ae8 0000000b 81c27bd8
[   69.980000]         80259f74 81c27bd8 816d76a0 00000028 00000000 80017d60 00030000 802971c4
[   69.980000]         ffffffff 8015aab0 00000002 0000000b 00000004 00000000 81c21470 8001c9fc
[   69.980000]         00006c00 00000000 00000008 00000004 00000008 814d00f8 00000008 814db834
[   69.980000]         81c27ba8 00030001 81600b60 00000000 00000000 fffffffe 00000000 0000ff01
[   69.980000]         ...
[   69.980000] Call Trace:[<80017d60>] 0x80017d60
[   69.980000] [<8015aab0>] 0x8015aab0
[   69.980000] [<8001c9fc>] 0x8001c9fc
[   69.980000] [<814d00f8>] 0x814d00f8
[   69.980000] [<814db834>] 0x814db834
[   69.980000] [<81600b60>] 0x81600b60
[   69.980000] [<801a0a4c>] 0x801a0a4c
[   69.980000] [<81612454>] 0x81612454
[   69.980000] [<801a0ad0>] 0x801a0ad0
[   69.980000] [<801a0a4c>] 0x801a0a4c
[   69.980000] [<814c733c>] 0x814c733c
[   69.980000] [<80013840>] 0x80013840
[   69.980000] [<8161223c>] 0x8161223c
[   69.980000] [<801a0a4c>] 0x801a0a4c
[   69.980000] [<814c733c>] 0x814c733c
[   69.980000] [<800476f4>] 0x800476f4
[   69.980000] [<816123b0>] 0x816123b0
[   69.980000] [<814db834>] 0x814db834
[   69.980000] [<814d00f8>] 0x814d00f8
[   69.980000] [<801a0a4c>] 0x801a0a4c
[   69.980000] [<814c733c>] 0x814c733c
[   69.980000] [<814db834>] 0x814db834
[   69.980000] [<814e1e80>] 0x814e1e80
[   69.980000] [<814dabac>] 0x814dabac
[   69.980000] [<814c733c>] 0x814c733c
[   69.980000] [<814dc974>] 0x814dc974
[   69.980000] [<801a09b4>] 0x801a09b4
[   69.980000] [<814de224>] 0x814de224
[   69.980000] [<814c6aa8>] 0x814c6aa8
[   69.980000] [<81637f64>] 0x81637f64
[   69.980000] [<814df964>] 0x814df964
[   69.980000] [<814c76dc>] 0x814c76dc
[   69.980000] [<80046bc8>] 0x80046bc8
[   69.980000] [<814c733c>] 0x814c733c
[   69.980000] [<800375e0>] 0x800375e0
[   69.980000] [<800476f4>] 0x800476f4
[   69.980000] [<80038224>] 0x80038224
[   69.980000] [<8023f68c>] 0x8023f68c
[   69.980000] [<80037fc8>] 0x80037fc8
[   69.980000] [<80037fc8>] 0x80037fc8
[   69.980000] [<8003be30>] 0x8003be30
[   69.980000] [<80015310>] 0x80015310
[   69.980000] [<8003bda8>] 0x8003bda8
[   69.980000] [<80015300>] 0x80015300
[   69.980000]
[   69.980000]
[   69.980000] Code: 70822802  00a61021  00000000 <1440ffff> 2442ffff  03e00008  00000000  3c028029  8c430680
[   70.364000] ---[ end trace a25b18ee5bd1b87c ]---
[   70.368000] Kernel panic - not syncing: Fatal exception in interrupt

[/spoiler]
Me huele a que cierta configuración en el router está causando una excepción. Básicamente digo esto porque la excepción salta en el init, pero sin embargo, el preinit carga perfectamente. Cuando tenga tiempo le echaré un ojo.

Lo que sigo sin entender es por qué no se puede acceder al bootloader pulsando el botón reset. De todas formas puedes acceder al bootloader pulsando Enter antes de que se cargue el firmware. O también puedes probar a iniciar el failsafe pulsando enter cuando el router te lo indica:
Código: [Seleccionar]
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 12-09-2012, 13:05 (Miércoles)
Router recuperado  ;D
Pulsé f (si es que hay que leer  ;D). El router entró al CFE, y desde el navegador le metí la última versión de OpenWrt  (r33275) >:(
Yo tampoco entiendo porqué no entra al CFE usando el reset + 20 segundos. Pero vamos es que nunca conseguí que entrara ... ^-^

Wifi probada y funcionando:
(http://www.speedtest.net/result/2174874297.png)

Probado USB y funcionanando  >:(

Gracias Noltari y sERASEr por la ayuda  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 15-09-2012, 17:47 (Sábado)
me uno al hilo, esta interesante, tengo este router guardado a la espera de que este todo mas pulido, mientras, estoy usando un contrend 536+ con openwrt y transmission, descargando hacia un pendrive (tuve que hacerle el mod del USB).

Gracias a los que os currais todo esto. Si necesitais algo en que os pueda ayudar, pedidlo
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 15-09-2012, 19:18 (Sábado)
Pues transmission en este router debería funcionarte bastante mejor que en el comtrend (mejor cpu, más Ram, usb más rápido ...)

Enviado desde mi U8500 usando Tapatalk 2
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 17-09-2012, 01:32 (Lunes)
y además estable... lo uso mucho como radio wifi y sin problemas

(http://i241.photobucket.com/albums/ff178/ejbs/IMG_20120917_002912-1.jpg)

el display es un 20x4 con un  msp430g2553

saludos

Pues transmission en este router debería funcionarte bastante mejor que en el comtrend (mejor cpu, más Ram, usb más rápido ...)

Enviado desde mi U8500 usando Tapatalk 2
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 25-09-2012, 10:15 (Martes)
Aquí el router haciendo de repetidor  >:(
Perdonad por la malísima calidad de la imagen  :-[

(https://lh5.googleusercontent.com/-uYUh2jzwii4/UGFnLVl6qZI/AAAAAAAAATk/-clIJ6XcOWs/s800/IMG_20120925_101051.jpg)

El chipset wifi (broadcom) del router está en modo cliente, y le he 'pinchado' una tarjeta wifi usb (chipset zydas) que está en modo AP.
Lo tengo en pruebas ... a ver si es estable  ;)
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: sanson en 25-09-2012, 13:29 (Martes)
Hola

Que buenos jar jajajjajaj. pues yo tengo uno de esos por aqui.

Saludos

si sale este mensaje, es que estoy en el movil
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 25-09-2012, 14:49 (Martes)
Pues ya estás tardando en probar cosas con él (siempre que no sea el que usas para el ADSL) ;D

Enviado desde mi U30GT-H usando Tapatalk 2
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: sanson en 25-09-2012, 15:05 (Martes)
Hola

No no lo uso ese meblo regalaron para cacharrear pero no le he hecho mada aun

Pero tienes razon voy a ver si me pongo con el

Saludos

si sale este mensaje, es que estoy en el movil
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: srt8100 en 27-09-2012, 22:25 (Jueves)
Buenas a todos!!

Tengo un problema con el router.. he instalado la ultima version 33275, instalada y funcionando bien hasta que cambie la ip de la lan,se quedo guardando los cambios y no hay manera de acceder al router...
He intentado via web, telnet y ssh sin resultado. He pulsado el boton reset y mantenido durante los 10,20,30 y 60 segundos para intentar acceder al cfe y poder instalar de nuevo el firm.
Creo que de los que hemos tenido problemas ninguno a podido acceder al CFE con el boton reset. Creo que la unica manera de revivirlo es mediante cable serial..

Mis dudas llegan con el cable... he visto en el primer post donde hay que conectar y los puentes, pero no dice nada de los voltajes... podemos conectar el cable serie del pc al router? es necesario algun circuito tipo ttl para bajar el voltaje a 3.3v

Si alguien me saca de dudas con el cable serie, me pongo a revivirlo

Salu2

Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: amarillocola en 28-09-2012, 10:34 (Viernes)
Buenas, me acaban de dar un modelo de este router y quiero empezar a instalar la version openwrt-963281T_TEF-generic-squashfs-cfe_r33275, que parece estable, pero también leo que puede quedar frito...
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 28-09-2012, 15:51 (Viernes)
Hola

TTL 3v3. Vale un PL2303 o CP210x.

Saludos.

Enviado desde mi HUAWEI U8815 usando Tapatalk 2
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: amarillocola en 01-10-2012, 12:14 (Lunes)
Buenas, por mas que miro y vuelvo a mirar no puedo entrar al sistema para cargar el openwrt. Probé lo de pulsar el reset y 30 seg. pero se reinicia y vuelve al estado normal. Como puedo cargar el open??
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 01-10-2012, 12:25 (Lunes)
Buenas, por mas que miro y vuelvo a mirar no puedo entrar al sistema para cargar el openwrt. Probé lo de pulsar el reset y 30 seg. pero se reinicia y vuelve al estado normal. Como puedo cargar el open??
Ése es exactamente el problema, que nadie sabe cómo hacer que el router entre en el bootloader. Por eso, si se queda frito, la única forma de entrar en el bootloader es utilizando un cable uart (serial).

Los demás supongo que han cargado el firmware desde el original.

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: srt8100 en 01-10-2012, 21:59 (Lunes)
@Noltari:

He pedido el adaptador usb con PL2303HX, en cuanto me llegue de china me pongo a resucitar el router. Tengo una duda, es necesario las 3 GND o con una ya vale?
Si necesitas que realice alguna prueba antes de volver a flashear me lo dices.. no veo muy normal tantos routers muertos, algo se nos escapa.

UN salu2
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 10-10-2012, 15:08 (Miércoles)
confirmo que pulsando la tecla F en el hyperterminal al encender el router, permite la carga a traves del navegador. 192.168.1.1

he usado un serial to usb ttl:

(http://image.made-in-china.com/2f0j00JCfatsNMfwcQ/JY-MCU-USB-Serial-Port-Stc-Download-CP2102-CTS-RTS-TTL-level.jpg)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: rafa.are.ro@gmail.com en 11-10-2012, 18:35 (Jueves)
Buenas tengo este router desde hace unos meses y ya es hora que le saque un poco de jugo. He leido que el wi-fi ya funciona pero que solo como router neutro si no me equivoco no? es decir tendria que tener un router X que se conectaria con el ISP y despues a este router X le conecto el ADB de movistar por unos de los puertos ethernet y lo pongo en modo bridge no?

Gracias de antemano!!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 11-10-2012, 18:47 (Jueves)
asi es, es como lo tengo yo, el router principal (192.168.1.1) con internet y conectado por ethernet al ADB con OpenWRT (192.168.1.99). Lo tengo ahora mismo como cliente Torrent con Transmission, como server SAMBA y como server web para subidas remotas, sin php ni extras. Aguanta sin problemas, mucho mejor que el Comtrend 536+ que me tenia desesperado de lo lento que iba.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: rafa.are.ro@gmail.com en 11-10-2012, 19:17 (Jueves)
pues listo otro mas en openwrt! jeje por cierto de los enlaces de la primera pagina (entiendo que son los mas actuales) el 6328_svn.patch tengo que instalarlo y si es asi... como por usb montando el pendrive por telnet? y ya mi ultima pregunta y quizas la que mas frio me ha dejado ¿tiene entorno web para la configuracion? o todo a pelo? jeje si es a pelo pues  bueno asi practico xD

EDITO: jajajaja perdon mi impaciencia me hizo meterme por telnet ya que tardo un poquito en cargar por web! jaja
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 11-10-2012, 19:35 (Jueves)
si el pendrive va en fat32, ext2, ext3 o ext4 te lo montara automaticamente, ya que tiene los modulos necesarios para que sea automatico. Para NTFS solo lee, puedes instalar NTFS-3G para poder escribir, pero no te lo recomiendo no va uy bien.

Nada mas entrar por web te pide que le pongas una contraseña, a partir de ese momento estara activado el SSH. Tendras que hacer muchas cosas por comandos, segun la finalidad que quieras darle al router
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: rafa.are.ro@gmail.com en 11-10-2012, 19:41 (Jueves)
vamos en linux me muevo bien en consola (uso arch y suelo configurarme casi todo) pero claro nunca he tocado un router por la terminal. Me podrias decir mas o menos como hacer para que me apareza la wl0? para poder tener wifi? y lo el 6328_svn.patch lo instalo como un script normal y corriente no? con esto ya tendria wifi?
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 11-10-2012, 19:44 (Jueves)
lo del pach ni idea, y lo del wifi activalo desde el navegador, en el apartado network
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: rafa.are.ro@gmail.com en 11-10-2012, 20:03 (Jueves)
Bueno lo dejo aqui por si alguno me puede contestar!
He pasado el patch por ssh al router, le he dado permisos y lo he intentado ejecutar.

root@OpenWrt:/# ls -l 6328_svn.patch
-rwxr-xr-x    1 root     root         35574 Sep  8 16:17 6328_svn.patch
root@OpenWrt:/# ./6328_svn.patch
./6328_svn.patch: line 1: Index:: not found
./6328_svn.patch: line 2: ===================================================================: not found
./6328_svn.patch: line 3: syntax error: unexpected "("
root@OpenWrt:/#

Intentare no ser muy pesado (pero es que me encantan los juguetes nuevos! :) )
He estado mirando las opciones de las interfaces y del wifi
en wifi le doy a enable y me pone... [Wireless is restarting...] y  [despues Wireless is disabled or not associated] el caso es que pense que no funcionaba el wifi pero si me pilla las wifis cercanas si le doy a scan.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 11-10-2012, 20:51 (Jueves)
Bueno lo dejo aqui por si alguno me puede contestar!
He pasado el patch por ssh al router, le he dado permisos y lo he intentado ejecutar.

root@OpenWrt:/# ls -l 6328_svn.patch
-rwxr-xr-x    1 root     root         35574 Sep  8 16:17 6328_svn.patch
root@OpenWrt:/# ./6328_svn.patch
./6328_svn.patch: line 1: Index:: not found
./6328_svn.patch: line 2: ===================================================================: not found
./6328_svn.patch: line 3: syntax error: unexpected "("
root@OpenWrt:/#

Intentare no ser muy pesado (pero es que me encantan los juguetes nuevos! :) )
He estado mirando las opciones de las interfaces y del wifi
en wifi le doy a enable y me pone... [Wireless is restarting...] y  [despues Wireless is disabled or not associated] el caso es que pense que no funcionaba el wifi pero si me pilla las wifis cercanas si le doy a scan.
No te tomes a mal la respuesta: Lo que estás haciendo no tiene ni pies ni cabeza :$. El archivo 6328_svn.patch sirve para añadir soporte para este router en el código fuente de openwrt. Si te bajas uno de los firmwares que facilito no lo necesitas para nada ;).

Borra el archivo y a disfrutar del router y openwrt ;D.

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: rafa.are.ro@gmail.com en 11-10-2012, 20:54 (Jueves)
jajajaja no no hombre a mal nunca! al reves y sabes algo de lo de la wifi? es que no se como hacerlo... me he conectado a mi otro router por wifi pero la señal se queda en 0% aunque estan a medio metro.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 11-10-2012, 21:06 (Jueves)
jajajaja no no hombre a mal nunca! al reves y sabes algo de lo de la wifi? es que no se como hacerlo... me he conectado a mi otro router por wifi pero la señal se queda en 0% aunque estan a medio metro.
No sé que puede estar pasando...

¿Lo has configurado a través de LuCI como aparece en este tuto https://foro.seguridadwireless.net/openwrt/(tutorial)-modo-clienterepetidor-openwrt/?
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 11-10-2012, 22:21 (Jueves)
Recuerda que la wifi en este router funciona sólo en modo cliente, no en AP.
Repasa los hilos fijos del foro de OpenWrt, que seguro que algunos te serán de ayuda  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: rafa.are.ro@gmail.com en 12-10-2012, 03:06 (Viernes)
ahh entonces no podre dar Wifi en mi red con el ADB?
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 12-10-2012, 03:46 (Viernes)
ahh entonces no podre dar Wifi en mi red con el ADB?
No, no puedes por el driver incluido en el firmware. Está escrito en el primer post...
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: rafa.are.ro@gmail.com en 12-10-2012, 11:46 (Viernes)
que pena tio si lo lei pero creia que ya habiais dado con la solucion. pero la verdad es que me ha gustado mucho jugar con openwrt, solo que necesito wifi obligatoriamente y me veo forzado a volver a la mierda de movistar. He intentado restaurar la imagen desde el menu [Backup/Flash Firmware] en el apartado de [Flash new firmware image] selecciono la imagen que hay en el primer post. (o al menos creo que es la imagen) y me  dice que el formato no es soportado. tengo que hacerlo desde otra forma?
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 12-10-2012, 11:48 (Viernes)
Si no te lo coge asi, tendras que conectar pir puerto serie para lanzar el CFE. EN LA IMAGEN DEL PRIMER POST tienes una imagen que lo explica
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: rafa.are.ro@gmail.com en 12-10-2012, 11:59 (Viernes)
puff por serie... no puedo por ssh?
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 12-10-2012, 12:05 (Viernes)
Desde LuCi, debería cogerlo sin problemas.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: rafa.are.ro@gmail.com en 12-10-2012, 12:47 (Viernes)
pero el archivo con extension *.lzma?¿ es que desde lo de Backup/flash... me dice que la extension es compatible o no soportada o algo asi. Le he instalado desde Luci la otra version que teneis colgada a ver si desde esta podia y tampoco. Supongo que estare haciendo algo mal.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 12-10-2012, 12:49 (Viernes)
la extension lzma creo que son modulos. el firmware es .bin
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 12-10-2012, 13:00 (Viernes)
La extensión .lzma significa que el firmware está comprimido con lzma.
En un rato te pongo el firmware en formato .bin para que lo pruebe alguien con acceso por puerto serie, y diga si es seguro flashearlo.

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 12-10-2012, 13:18 (Viernes)
Pues yo recuerdo haber actualizado un firm de teléfonica desde LuCi ...  ^-^
Pensé que era el del primer post, sorry  :-X
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 12-10-2012, 13:22 (Viernes)
Pues yo recuerdo haber actualizado un firm de teléfonica desde LuCi ...  ^-^
Pensé que era el del primer post, sorry  :-X
Desde LuCI no creo que lo hayas actualizado :$, aunque todo puede ser...
El problema es que no tengo este router y no puedo realizar pruebas, pero me llama la atención que a alguien le funcione desde LuCI, ya que está comprimido en lzma...
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 12-10-2012, 14:05 (Viernes)
Aquí lo tenéis:
https://dl.dropbox.com/u/4708147/openwrt/ADB_PDG_A4001N/bcm96328GWPBSSP_fs_kernel_PDG_TEF_SP_4.06L.4-110421_2028.bin

Recomiendo que lo pruebe alguien con acceso serial, aunque he revisado el firmware y no debería haber problemas.

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 12-10-2012, 15:54 (Viernes)
tengo un problema con transmission y pure-ftpd en este router, aunque me pasaba igual en el comtrend 536+.

transmission se me autoinicia correctamente, una vez ejecute el comando: /etc/init.d/transmission enable

Con el comando correspondiente para pure-ftpd, aunque en LUCI me indica ENABLE para autoinicio, nunca lo hace.

Si edito el archivo "/etc/init.d/done" y agrego ahi el comando de pure ftpd, cuando inicia el router, el ftp funciona, pero me deja de funcionar transmission.

Tambien he intentado meter el comando en "/etc/rc.local" y me hace lo mismo, funciona pure-ftpd y deja de funcionar transmission.

Hay alguna manera de cargar automaticamente en el inicio pure-ftpd sin que deje de funcionar transmission?
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 12-10-2012, 17:26 (Viernes)
mi problema se ha solucionado con VSFTPD, eliminado Pure-ftpd
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: rafa.are.ro@gmail.com en 12-10-2012, 18:10 (Viernes)
Noltari confio en ti!! uff veras como pete xD me voy a quedar mas serio... pero bueno necesito wifi ya!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 12-10-2012, 18:13 (Viernes)
no te preocupes, que a las muy malas, la solucion mediante puerto serie es muy sencilla y economica.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: rafa.are.ro@gmail.com en 12-10-2012, 18:17 (Viernes)
jajaja tio eres un maquina! todo correcto aunque me sale la puñetera interfaz de homestation y me tengo que meter en main.html para ver algo decente... si cambio el main.html por el index.html... deberia tirar no?
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 12-10-2012, 19:07 (Viernes)
jajaja tio eres un maquina! todo correcto aunque me sale la puñetera interfaz de homestation y me tengo que meter en main.html para ver algo decente... si cambio el main.html por el index.html... deberia tirar no?
Debería, pero no tengo este router, por lo que no puedo hacer pruebas ni nada. Es más, por lo que me dices imagino que hay una interfaz sidosa de Movistar por encima de la que viene con el firmware de broadcom, pero nunca la he visto.

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 23-10-2012, 20:36 (Martes)
Router soportado oficialmente en la versión r33893.
https://dev.openwrt.org/changeset/33893

Aviso: soportada la placa base. Para que el wifi funcione hacen falta otros parches relacionados con el BCMA. Estos parches están bajo revisión de jogo y se integrarán pronto:
http://patchwork.openwrt.org/patch/2553/
http://patchwork.openwrt.org/patch/2554/
Uno de ellos ya ha sido integrado (este parche se lo sugerí yo a Hauke, pero acabó ignorando el mío y añadiéndolo específicamente para la plataforma bcm47xx. Hablé con jogo para que lo cambiara a genérico):
https://dev.openwrt.org/changeset/33896

Saludos :D!
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: gmtii en 23-10-2012, 23:08 (Martes)
Felicidades!

Enviado desde mi GT-P6810 usando Tapatalk 2
Título: Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 24-10-2012, 00:34 (Miércoles)
Felicidades!

Enviado desde mi GT-P6810 usando Tapatalk 2
Felicidades a ti también, que gran parte del trabajo es tuya ^^.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 24-10-2012, 08:07 (Miércoles)
 >:( >:( >:(
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 26-10-2012, 11:50 (Viernes)
Hola, pensais que el puerto usb tiene suficiente potencia para mantener un disco duro usb de 2,5"?

No se si se freira al solicitar tanta potencia. Ahora mismo lo tengo conectado mediante un hub usb con alimentador.

Que opinais?
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 26-10-2012, 12:23 (Viernes)
Hola, pensais que el puerto usb tiene suficiente potencia para mantener un disco duro usb de 2,5"?

No se si se freira al solicitar tanta potencia. Ahora mismo lo tengo conectado mediante un hub usb con alimentador.

Que opinais?
En ningún caso se va a "freir" por necesitar más intensidad, por lo que puedes probarlo sin problemas.
Si no es suficiente para alimentar el disco, obviamente no te va a funcionar, pero lo más probable que pase es que oigas como el disco empiece a girar y se pare constantemente (al menos eso es lo que me pasa a mi con mi disco de 2.5'').

Saludos.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 26-10-2012, 12:31 (Viernes)
Gracias lo probare.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: jar229 en 26-10-2012, 12:34 (Viernes)
Yo he tenido conectado durante días un HD de marca LaCie (2,5" y 80 gigas) sin ningún problema  ;)
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: Noltari en 26-10-2012, 14:15 (Viernes)
Yo he tenido conectado durante días un HD de marca LaCie (2,5" y 80 gigas) sin ningún problema  ;)
Depende del router y del disco duro ;).
Yo no he probado el hdd en el router, hablaba de lo que me pasa en la ps3 :P.

Saludos!
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: murph en 31-10-2012, 13:20 (Miércoles)
Pikomule, tengo entendido que has conseguido hacer funcionar el ADB con Transmission.
Mi intención es usarlo para descargas con dicho cliente torrent,pero no consigo hacerlo funcionar.en mi ADB.
He conectado un pendrive formateado en FAT32 al puerto USB
He instalado el ultimo firm y todos los paquetes,de Transmission,pero no hay manera.
¿podrias hacer un pequeño tutorial,de como lo has hecho tú, paso por paso?
              
                                                                                                       Gracias.
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 31-10-2012, 13:33 (Miércoles)
Te recomiendo particiones ext3 para el usb, parece que lo gestiona mejor openwrt. Con ntfs tuve problemas. Had configurado bien las opciones de transmission? Lo inicias? Lo incluyes en el autoarranque de sistema paraque se inicie automaticamente?
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: murph en 31-10-2012, 14:29 (Miércoles)
Me gustaria saber como se hace para que transmission se ejecute en el auto arranque.
Lo inicio manualmente desde un programa de control que se llama transmission remote GUI y veo progresar la barra de descarga, pero no se donde van los datos, poque no estoy seguro si el router monta el pendrive.
desde  LUci en la pestaña mount points me aparece /dev/sda1 pero ahi me pierdo.

Tengo cargado el paquete para vfat (kmod-fs-vfat) pero no se si monta el pen

 Dime por favor los pasos a seguir .
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 31-10-2012, 14:36 (Miércoles)
desde SSH ejecuta "/etc/init.d/transmission enable"   sin las comillas. Con eso arrancara automaticamente. tambien puedes hacaerlo dede el navegador, pestaña SYSTEM--> STARTUP  busca transmission y pulsa sobre DISABLED para que pase a ENABLED.

Para que e router me monte las unidades siempre con la misma letra yo uso el modulo "block-mount", instalalo y en la pestaña SYSTEM te saldra MULTI POINTS. Desde ahi montas como quieras. Te aconsejo ext3

/dev/sda1 deberia montarse automaticamente en /mnt/sda1

esta manual te sacara de cualquier duda sobre transmission:

http://overside.wordpress.com/2010/11/26/transmission-bt-en-openwrt/
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: murph en 31-10-2012, 15:03 (Miércoles)
Ya esta en enabled en start-up,

cuando llegue a casa, te pongo el system log, o algún dmesg,

alomejor tu lo sabes interpretar mejor que yo,pero me parece que no monta el pendrive

intentare probar formateando en ext3.
las pruebas las estaba haciendo con fat32 pero no sera el filesystem definitivo porque solo soporta archivos de 4Gb maximo,y necesito poder descargar archivos de hasta 25GB
aunque me interesaria más ntfs,  para poder utilizar los datos en WIN.

 Gracias



 

 
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: pikomule en 31-10-2012, 15:17 (Miércoles)
por eso mismo me decante por ext3, por el limite de 4 gb de fat32 y por que no va bien con ntfs. Para poder leer ext3 en windows instalate esto:

http://www.diskinternals.com/linux-reader/

asi ya no tendras problemas de pasar los datos del pen a tu pc

Ya esta en enabled en start-up,

cuando llegue a casa, te pongo el system log, o algún dmesg,

alomejor tu lo sabes interpretar mejor que yo,pero me parece que no monta el pendrive

intentare probar formateando en ext3.
las pruebas las estaba haciendo con fat32 pero no sera el filesystem definitivo porque solo soporta archivos de 4Gb maximo,y necesito poder descargar archivos de hasta 25GB
aunque me interesaria más ntfs,  para poder utilizar los datos en WIN.

 Gracias



 

 
Título: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
Publicado por: murph en 31-10-2012, 16:59 (Miércoles)
Ahí va un system log, a ver si esta correcto lo del usb y como le digo a trasmission que descargue sobre el dispositivo
Ya he instalado block-mount y veo la pestala de mount-points en LUci.
¿esta montado? ó ¿hay que montarlo?, se puede hacer desde LUci?
esque jamás he usado linux hasta ayer.
[spoiler=log]
Código: [Seleccionar]
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.564000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.572000] console [ttyS0] enabled, bootconsole disabled
Sep  8 15:44:07 OpenWrt kern.warn kernel: [    0.588000] m25p80 spi0.0: found mx25l12805d, expected m25p80
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.596000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.600000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.608000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.616000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.620000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.628000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.772000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
Sep  8 15:44:07 OpenWrt kern.debug kernel: [    0.780000] Registered led device: 963281T_TEF:green:power
Sep  8 15:44:07 OpenWrt kern.debug kernel: [    0.780000] Registered led device: 963281T_TEF:red:power
Sep  8 15:44:07 OpenWrt kern.debug kernel: [    0.780000] Registered led device: 963281T_TEF:green:inet
Sep  8 15:44:07 OpenWrt kern.debug kernel: [    0.784000] Registered led device: 963281T_TEF:red:inet
Sep  8 15:44:07 OpenWrt kern.debug kernel: [    0.784000] Registered led device: 963281T_TEF:green:ppp
Sep  8 15:44:07 OpenWrt kern.debug kernel: [    0.784000] Registered led device: 963281T_TEF:red:ppp
Sep  8 15:44:07 OpenWrt kern.debug kernel: [    0.784000] Registered led device: 963281T_TEF:green:3g
Sep  8 15:44:07 OpenWrt kern.debug kernel: [    0.784000] Registered led device: 963281T_TEF:red:3g
Sep  8 15:44:07 OpenWrt kern.debug kernel: [    0.784000] Registered led device: 963281T_TEF:green:wlan
Sep  8 15:44:07 OpenWrt kern.debug kernel: [    0.784000] Registered led device: 963281T_TEF:red:wlan
Sep  8 15:44:07 OpenWrt kern.debug kernel: [    0.784000] Registered led device: 963281T_TEF:green:eth
Sep  8 15:44:07 OpenWrt kern.debug kernel: [    0.788000] Registered led device: 963281T_TEF:red:eth
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.788000] TCP cubic registered
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.792000] NET: Registered protocol family 17
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.796000] 8021q: 802.1Q VLAN Support v1.8
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.808000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Sep  8 15:44:07 OpenWrt kern.info kernel: [    0.820000] Freeing unused kernel memory: 204k freed
Sep  8 15:44:07 OpenWrt kern.info kernel: [    3.232000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 3, 100Mbps, full-duplex
Sep  8 15:44:07 OpenWrt kern.info kernel: [    3.472000] roboswitch: Probing device eth0:
Sep  8 15:44:07 OpenWrt kern.warn kernel: [    3.476000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
Sep  8 15:44:07 OpenWrt kern.warn kernel: [    3.484000] No Robo switch in managed mode found, phy_id = 0xffffffff
Sep  8 15:44:07 OpenWrt kern.info kernel: [    3.492000] roboswitch: Probing device eth1: No such device
Sep  8 15:44:07 OpenWrt kern.info kernel: [    3.496000] roboswitch: Probing device eth2: No such device
Sep  8 15:44:07 OpenWrt kern.info kernel: [    3.504000] roboswitch: Probing device eth3: No such device
Sep  8 15:44:07 OpenWrt kern.info kernel: [    6.032000] Button Hotplug driver version 0.4.1
Sep  8 15:44:07 OpenWrt kern.notice kernel: [    9.940000] JFFS2 notice: (363) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 5 of xref (0 dead, 0 orphan) found.
Sep  8 15:44:07 OpenWrt kern.notice kernel: [   11.304000] SCSI subsystem initialized
Sep  8 15:44:07 OpenWrt kern.info kernel: [   11.552000] usbcore: registered new interface driver usbfs
Sep  8 15:44:07 OpenWrt kern.info kernel: [   11.556000] usbcore: registered new interface driver hub
Sep  8 15:44:07 OpenWrt kern.info kernel: [   11.564000] usbcore: registered new device driver usb
Sep  8 15:44:07 OpenWrt kern.info kernel: [   12.128000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Sep  8 15:44:07 OpenWrt kern.info kernel: [   12.240000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
Sep  8 15:44:07 OpenWrt kern.info kernel: [   12.732000] usbcore: registered new interface driver usb-storage
Sep  8 15:44:07 OpenWrt kern.info kernel: [   12.740000] USB Mass Storage support registered.
Sep  8 15:44:07 OpenWrt kern.info kernel: [   12.784000] scsi0 : usb-storage 1-1:1.0
Sep  8 15:44:07 OpenWrt kern.notice kernel: [   13.788000] scsi 0:0:0:0: Direct-Access     USB 2.0  Flash Disk       1.00 PQ: 0 ANSI: 0 CCS
Sep  8 15:44:07 OpenWrt kern.notice kernel: [   13.800000] sd 0:0:0:0: [sda] 3989504 512-byte logical blocks: (2.04 GB/1.90 GiB)
Sep  8 15:44:07 OpenWrt kern.notice kernel: [   13.812000] sd 0:0:0:0: [sda] Write Protect is off
Sep  8 15:44:07 OpenWrt kern.debug kernel: [   13.816000] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
Sep  8 15:44:07 OpenWrt kern.err kernel: [   13.816000] sd 0:0:0:0: [sda] No Caching mode page present
Sep  8 15:44:07 OpenWrt kern.err kernel: [   13.824000] sd 0:0:0:0: [sda] Assuming drive cache: write through
Sep  8 15:44:07 OpenWrt kern.err kernel: [   13.832000] sd 0:0:0:0: [sda] No Caching mode page present
Sep  8 15:44:07 OpenWrt kern.err kernel: [   13.840000] sd 0:0:0:0: [sda] Assuming drive cache: write through
Sep  8 15:44:07 OpenWrt kern.info kernel: [   13.848000]  sda: sda1
Sep  8 15:44:07 OpenWrt kern.err kernel: [   13.856000] sd 0:0:0:0: [sda] No Caching mode page present
Sep  8 15:44:07 OpenWrt kern.err kernel: [   13.860000] sd 0:0:0:0: [sda] Assuming drive cache: write through
Sep  8 15:44:07 OpenWrt kern.notice kernel: [   13.868000] sd 0:0:0:0: [sda] Attached SCSI removable disk
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.048000] Compat-wireless backport release: compat-wireless-2012-07-13
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.052000] Backport based on wireless-testing.git master-2012-07-16
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.060000] compat.git: wireless-testing.git
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.120000] cfg80211: Calling CRDA to update world regulatory domain
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.124000] cfg80211: World regulatory domain updated:
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.132000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.140000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.148000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.156000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.164000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.172000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.564000] NET: Registered protocol family 10
Sep  8 15:44:07 OpenWrt kern.warn kernel: [   36.888000] There is already a switch registered on the device 'eth0'
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.892000] roboswitch: Probing device eth1: No such device
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.900000] roboswitch: Probing device eth2: No such device
Sep  8 15:44:07 OpenWrt kern.info kernel: [   36.904000] roboswitch: Probing device eth3: No such device
Sep  8 15:44:07 OpenWrt kern.info kernel: [   37.644000] NTFS driver 2.1.30 [Flags: R/O MODULE].
Sep  8 15:44:07 OpenWrt kern.info kernel: [   38.028000] PPP generic driver version 2.4.2
Sep  8 15:44:07 OpenWrt kern.info kernel: [   38.464000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
Sep  8 15:44:07 OpenWrt kern.debug kernel: [   38.816000] bcma: bus0: Switched to core: 0x812
Sep  8 15:44:07 OpenWrt kern.debug kernel: [   38.820000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sep  8 15:44:07 OpenWrt kern.info kernel: [   38.988000] ip_tables: (C) 2000-2006 Netfilter Core Team
Sep  8 15:44:07 OpenWrt kern.info kernel: [   39.448000] NET: Registered protocol family 24
Sep  8 15:44:07 OpenWrt kern.info kernel: [   39.540000] nf_conntrack version 0.5.0 (461 buckets, 1844 max)
Sep  8 15:44:07 OpenWrt kern.info kernel: [   40.208000] ip6_tables: (C) 2000-2006 Netfilter Core Team
Sep  8 15:44:07 OpenWrt kern.info kernel: [   40.712000] usbcore: registered new interface driver ums-alauda
Sep  8 15:44:07 OpenWrt kern.info kernel: [   40.744000] usbcore: registered new interface driver ums-cypress
Sep  8 15:44:07 OpenWrt kern.info kernel: [   40.772000] usbcore: registered new interface driver ums-datafab
Sep  8 15:44:07 OpenWrt kern.info kernel: [   40.804000] usbcore: registered new interface driver ums-freecom
Sep  8 15:44:07 OpenWrt kern.info kernel: [   40.836000] usbcore: registered new interface driver ums-isd200
Sep  8 15:44:07 OpenWrt kern.info kernel: [   40.864000] usbcore: registered new interface driver ums-jumpshot
Sep  8 15:44:07 OpenWrt kern.info kernel: [   40.896000] usbcore: registered new interface driver ums-karma
Sep  8 15:44:07 OpenWrt kern.info kernel: [   40.928000] usbcore: registered new interface driver ums-sddr09
Sep  8 15:44:07 OpenWrt kern.info kernel: [   40.960000] usbcore: registered new interface driver ums-sddr55
Sep  8 15:44:07 OpenWrt kern.info kernel: [   41.132000] usbcore: registered new interface driver ums-usbat
Sep  8 15:44:07 OpenWrt kern.info kernel: [   41.164000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
Sep  8 15:44:09 OpenWrt kern.info kernel: [   45.064000] device eth0 entered promiscuous mode
Sep  8 15:44:09 OpenWrt kern.info kernel: [   45.068000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 3, 100Mbps, full-duplex
Sep  8 15:44:09 OpenWrt kern.info kernel: [   45.080000] br-lan: port 1(eth0) entered forwarding state
Sep  8 15:44:09 OpenWrt kern.info kernel: [   45.084000] br-lan: port 1(eth0) entered forwarding state
Sep  8 15:44:09 OpenWrt daemon.notice netifd: Interface 'lan' is now up
Sep  8 15:44:09 OpenWrt daemon.notice netifd: Interface 'loopback' is now up
Sep  8 15:44:11 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Sep  8 15:44:11 OpenWrt kern.info kernel: [   47.088000] br-lan: port 1(eth0) entered forwarding state
Sep  8 15:44:12 OpenWrt user.info sysinit: command failed: Operation not supported (-122)
Sep  8 15:44:12 OpenWrt user.info sysinit: command failed: Device or resource busy (-16)
Sep  8 15:44:12 OpenWrt kern.warn kernel: [   48.296000] dummy
Sep  8 15:44:12 OpenWrt kern.warn kernel: [   48.300000] dummy
Sep  8 15:44:12 OpenWrt kern.warn kernel: [   48.300000] dummy
Sep  8 15:44:12 OpenWrt kern.warn kernel: [   48.304000] dummy
Sep  8 15:44:12 OpenWrt kern.warn kernel: [   48.304000] dummy
Sep  8 15:44:12 OpenWrt kern.warn kernel: [   48.308000] dummy
Sep  8 15:44:12 OpenWrt kern.warn kernel: [   48.308000] dummy
Sep  8 15:44:12 OpenWrt kern.warn kernel: [   48.312000] dummy
Sep  8 15:44:12 OpenWrt kern.err kernel: [   48.312000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
Sep  8 15:44:12 OpenWrt kern.err kernel: [   48.320000] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
Sep  8 15:44:12 OpenWrt kern.info kernel: [   48.376000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sep  8 15:44:15 OpenWrt user.notice ifup: Enabling Router Solicitations on loopback (lo)
Sep  8 15:44:15 OpenWrt kern.info kernel: [   51.288000] wlan0: authenticate with a4:52:6f:de:6f:ce
Sep  8 15:44:15 OpenWrt kern.info kernel: [   51.296000] wlan0: send auth to a4:52:6f:de:6f:ce (try 1/3)
Sep  8 15:44:15 OpenWrt kern.info kernel: [   51.316000] wlan0: authenticated
Sep  8 15:44:15 OpenWrt kern.info kernel: [   51.332000] wlan0: associate with a4:52:6f:de:6f:ce (try 1/3)
Sep  8 15:44:15 OpenWrt kern.info kernel: [   51.348000] wlan0: RX AssocResp from a4:52:6f:de:6f:ce (capab=0x401 status=0 aid=1)
Sep  8 15:44:15 OpenWrt kern.warn kernel: [   51.356000] dummy
Sep  8 15:44:15 OpenWrt kern.warn kernel: [   51.356000] dummy
Sep  8 15:44:15 OpenWrt kern.warn kernel: [   51.360000] dummy
Sep  8 15:44:15 OpenWrt kern.warn kernel: [   51.360000] dummy
Sep  8 15:44:15 OpenWrt kern.err kernel: [   51.364000] ieee80211 phy0: brcmsmac: brcms_ops_bss_info_changed: associated
Sep  8 15:44:15 OpenWrt kern.err kernel: [   51.368000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 0 (implement)
Sep  8 15:44:15 OpenWrt kern.err kernel: [   51.380000] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: true (implement)
Sep  8 15:44:15 OpenWrt kern.info kernel: [   51.388000] wlan0: associated
Sep  8 15:44:15 OpenWrt kern.info kernel: [   51.392000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sep  8 15:44:16 OpenWrt daemon.notice netifd: wwan (933): udhcpc (v1.19.4) started
Sep  8 15:44:16 OpenWrt daemon.notice netifd: wwan (933): Sending discover...
Sep  8 15:44:16 OpenWrt daemon.notice netifd: wwan (933): Sending select for 192.168.1.240...
Sep  8 15:44:16 OpenWrt daemon.notice netifd: wwan (933): Lease of 192.168.1.240 obtained, lease time 86400
Sep  8 15:44:17 OpenWrt kern.err kernel: [   52.524000] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 1 (implement)
Sep  8 15:44:17 OpenWrt daemon.notice netifd: Interface 'wwan' is now up
Sep  8 15:44:19 OpenWrt user.notice ifup: Allowing Router Advertisements on wwan (wlan0)
Sep  8 15:44:20 OpenWrt user.info sysinit: Loadi