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

0 Usuarios y 2 Visitantes están viendo este tema.

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4590
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #40 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  ;)


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

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #41 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!
« Última modificación: 22-06-2012, 09:58 (Viernes) por gmtii »

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #42 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!

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #43 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?
« Última modificación: 22-06-2012, 13:30 (Viernes) por Noltari »

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #44 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.

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #45 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!

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4590
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #46 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

[    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  :(

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

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #47 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!
« Última modificación: 22-06-2012, 20:50 (Viernes) por Noltari »

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4590
Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #48 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
Valoraciones positivas en compra/venta:
148 en Htcmania
196 en Har2mano
21 en elchapuzasinformatico
12 en gsmspain
 ....
 
Mis equipos en venta: https://drive.google.com/open?id=1Zi_bqLSfg_qCT8sx6JhPaWVvSeZXpcka

Noltari

  • Visitante
Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #49 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!

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #50 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!
« Última modificación: 23-06-2012, 01:43 (Sábado) por Noltari »

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4590
Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #51 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
Valoraciones positivas en compra/venta:
148 en Htcmania
196 en Har2mano
21 en elchapuzasinformatico
12 en gsmspain
 ....
 
Mis equipos en venta: https://drive.google.com/open?id=1Zi_bqLSfg_qCT8sx6JhPaWVvSeZXpcka

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #52 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

[    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!
« Última modificación: 23-06-2012, 11:04 (Sábado) por gmtii »

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #53 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!

gmtii

  • Visitante
Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #54 en: 23-06-2012, 13:09 (Sábado) »
Puedes poner la modificación que has hecho?

Enviado desde mi Nexus One usando Tapatalk 2

Noltari

  • Visitante
Re: Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #55 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!

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #56 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.

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4590
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #57 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  ;)
Valoraciones positivas en compra/venta:
148 en Htcmania
196 en Har2mano
21 en elchapuzasinformatico
12 en gsmspain
 ....
 
Mis equipos en venta: https://drive.google.com/open?id=1Zi_bqLSfg_qCT8sx6JhPaWVvSeZXpcka

Noltari

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #58 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!

gmtii

  • Visitante
Re: Openwrt en routers de Telefónica Home Station ADB P.DG A4001N1
« Respuesta #59 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

[    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.

//FINAL Y MÁS DOS RESPUESTAS