?>/script>'; } ?> [Desarrollo] OpenWrt en Huawei HG556a Widgets Magazine

Autor Tema: [Desarrollo] OpenWrt en Huawei HG556a  (Leído 2125125 veces)

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

thorazine74

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #660 en: 09-09-2012, 01:11 (Domingo) »
- Hay alguna forma de activar los canales 12 y 13 del Wifi?
- Es necesario cambiar algo del firewall para que las conexiones tipo multicast que se usan con DLNA pasen por la zona lan? Tengo una TV, un servidor DLNA en un PC y un telefono android y los dispositivos DLNA tardan bastante en aparecer.
- Hay alguna forma de configurar el led del wifi? A mi no me funciona, tampoco los de los puertos rj45 pero bueno esos importan menos?
- Le puedo sacar alguna utilidad al IPv6 si el proveedor de internet no da soporte directo? De alguna otra forma usando tuneles o algo (esto es mas por curiosidad que otra cosa, es la primera vez tengo un router con IPv6 activo.

Gracias
1) Legalmente no.
2) El multicast suele hacerse a la subred en la que trabaja el equipo. Si puede hacerse tendrás que mirar guías o tutoriales específicos del servidor DLNA que utilizas.
3) El LED del wifi no funciona porque no lo he incluido en los parches. He creído conveniente no incluirlo porque es más sencillo que acepten los parches en openwrt cuantos menos cambios contengan. Probablemente lo incluya más a la larga, tampoco es que sea muy importante.
4) Sí, lo más común es utilizar Hurricane Electric:
http://ipv6.he.net/

Saludos.

1) Te refieres que no es legal en USA pero que yo sepa el 12 y 13 estan dentro de los canales legales en España.
Yo me referia en concreto a lo de cambiar el regulatory.bin por uno desbloqueado, parece ser que OpenWRT ha bloqueado esto, no se si por razones legales o por que, no seria posible quitar este parche para que podamos cambiar el regulatory y usar todos los canales?
https://dev.openwrt.org/changeset/31954/
Parece ser que alguien lo va a hacer ya para el WR1043ND...
https://forum.openwrt.org/viewtopic.php?pid=177457#p177457

2) El multicast no entiendo muy bien si necesito hacer algo, dado que los paquetes van a una ip que no esta en ningun subred, pero entiendo que es un ip especifica para eso, no se si el firewall del router ya lo tiene en cuenta o no... Porque puede ver hecho los dispositivos DLNA en mi red, pero en ocasiones tardan mucho en aparecer, en vez de ser instantaneo.

Una sugerencia, ya que incluyes soporte ipv6 y relayd en la imagen quiza deberias incluir los paquetes correspondientes para configurarlos desde luci, luci-proto-6x4 y luci-proto-relay

Gracias por todo espero que pronto se añada este router al trunk pronto gracias a ti y a todos los que lo habeis hecho posible.

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #661 en: 09-09-2012, 13:17 (Domingo) »
1) Te refieres que no es legal en USA pero que yo sepa el 12 y 13 estan dentro de los canales legales en España.
Yo me referia en concreto a lo de cambiar el regulatory.bin por uno desbloqueado, parece ser que OpenWRT ha bloqueado esto, no se si por razones legales o por que, no seria posible quitar este parche para que podamos cambiar el regulatory y usar todos los canales?
https://dev.openwrt.org/changeset/31954/
Parece ser que alguien lo va a hacer ya para el WR1043ND...
https://forum.openwrt.org/viewtopic.php?pid=177457#p177457

2) El multicast no entiendo muy bien si necesito hacer algo, dado que los paquetes van a una ip que no esta en ningun subred, pero entiendo que es un ip especifica para eso, no se si el firewall del router ya lo tiene en cuenta o no... Porque puede ver hecho los dispositivos DLNA en mi red, pero en ocasiones tardan mucho en aparecer, en vez de ser instantaneo.

Una sugerencia, ya que incluyes soporte ipv6 y relayd en la imagen quiza deberias incluir los paquetes correspondientes para configurarlos desde luci, luci-proto-6x4 y luci-proto-relay

Gracias por todo espero que pronto se añada este router al trunk pronto gracias a ti y a todos los que lo habeis hecho posible.
1) La mayoría de fabricantes distribuye el hardware pensando en EEUU:
Código: [Seleccionar]
[   19.960000] ath: EEPROM regdomain: 0x0
[   19.960000] ath: EEPROM indicates default country code should be used
[   19.960000] ath: doing EEPROM country->regdmn map search
[   19.960000] ath: country maps to regdmn code: 0x3a
[   19.960000] ath: Country alpha2 being used: US
[   19.960000] ath: Regpair used: 0x3a
Si nos fijamos en el dmesg vemos que en los datos del wifi el country code que aparece es de EEUU, a pesar de ser un router comprado en Europa. Lo que hacen los fabricantes es sacar el mismo router para EEUU y para Europa, pero en Europa el firmware se salta vía software las restricciones hardware. En Europa no sería ilegal modificar openwrt para usar dichos canales, el problema es que openwrt al ser utilizado en todo el mundo tiene que depender de lo que dice el hardware o se puede meter en problemas legales (de hecho ya les ha pasado).

2) No es un problema del firewall. El problema se debe a que los dispositivos no están directamente conectados porque están en distintas subredes y debido al funcionamiento del multicast puede tardar en aparecer si primero comprueba la subred directamente conectada, hasta que el dispositivo recibe una advertencia del servidor. Probablemente la solución sea (si se puede) añadir la dirección del servidor manualmente para eliminar dicho retardo.

En cuanto a los paquetes incluiré el luci-proto-relay, pero no es necesario incluir el luci-proto-6x4 porque no incluyo soporte para 6in4/6to4, solamente incluyo soporte IPv6 para el firewall.

Saludos.
« Última modificación: 09-09-2012, 13:21 (Domingo) por Noltari »

ersiko

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #662 en: 09-09-2012, 20:17 (Domingo) »
Hola

Tengo instalada la version r30964 en mi router. Cuando intento actualizar a las ultimas versiones que aparecen en este hilo, la interfaz de openwrt me dice:

The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.

Alguien sabe que puede ser? Por donde podria empezar a buscar?

Gracias!

thorazine74

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #663 en: 10-09-2012, 00:19 (Lunes) »
1) Te refieres que no es legal en USA pero que yo sepa el 12 y 13 estan dentro de los canales legales en España.
Yo me referia en concreto a lo de cambiar el regulatory.bin por uno desbloqueado, parece ser que OpenWRT ha bloqueado esto, no se si por razones legales o por que, no seria posible quitar este parche para que podamos cambiar el regulatory y usar todos los canales?
https://dev.openwrt.org/changeset/31954/
Parece ser que alguien lo va a hacer ya para el WR1043ND...
https://forum.openwrt.org/viewtopic.php?pid=177457#p177457
1) La mayoría de fabricantes distribuye el hardware pensando en EEUU:
Código: [Seleccionar]
[   19.960000] ath: EEPROM regdomain: 0x0
[   19.960000] ath: EEPROM indicates default country code should be used
[   19.960000] ath: doing EEPROM country->regdmn map search
[   19.960000] ath: country maps to regdmn code: 0x3a
[   19.960000] ath: Country alpha2 being used: US
[   19.960000] ath: Regpair used: 0x3a
Si nos fijamos en el dmesg vemos que en los datos del wifi el country code que aparece es de EEUU, a pesar de ser un router comprado en Europa. Lo que hacen los fabricantes es sacar el mismo router para EEUU y para Europa, pero en Europa el firmware se salta vía software las restricciones hardware. En Europa no sería ilegal modificar openwrt para usar dichos canales, el problema es que openwrt al ser utilizado en todo el mundo tiene que depender de lo que dice el hardware o se puede meter en problemas legales (de hecho ya les ha pasado).

Mi pregunta era simplemente porque no compilas la imagen del hg556 ignorando esas estupidas restricciones para poder usar los canales 12 y 13?

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #664 en: 10-09-2012, 00:33 (Lunes) »
Hola

Tengo instalada la version r30964 en mi router. Cuando intento actualizar a las ultimas versiones que aparecen en este hilo, la interfaz de openwrt me dice:

The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.

Alguien sabe que puede ser? Por donde podria empezar a buscar?

Gracias!

Asegúrate de que estás utilizando el formulario correcto (el primero es para restaurar un backup de la configuración y el segundo para actualizar el firmware).

También puede ser problema de una mala descarga que haya alterado el archivo, aunque lo dudo si has probado con varias versiones.

Mi pregunta era simplemente porque no compilas la imagen del hg556 ignorando esas estupidas restricciones para poder usar los canales 12 y 13?
Pues porque nadie me lo había pedido y me limito a compilar los firmwares con la configuración que la mayoría de la gente va pidiendo. Lo ideal sería que cada uno se compilara su imagen a su gusto :).
Aun así, lo he estado mirando y si la gente lo quiere lo incluiré en la próxima versión.

Saludos.

ersiko

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #665 en: 10-09-2012, 10:05 (Lunes) »
Si, seguro que es el formulario correcto, el ultimo de los tres. El mensaje de error tp deja muchas dudas :P Y tb me he asegurado que el archivo no este corrupto. Le ponga la imagen que le ponga, siempre contesta lo mismo.

En este mismo hilo vi que a alguien pudiera ser que le pasara lo mismo:

Citar
jar229, instalé inicialmente tu compilación pero como dice danitool, la flash es de 128k y el firm para 64k.

El problema viene al intentar meterle la nueva compilación con mtd write, pero imagino que al ser squashfs la partición ya existente, no pudeo actualizarla.

¿Cómo podría meterle la última compilación de danitool?

Saludos.

La respuesta que le dieron fue esta:

Citar
Deberías poder hacerlo sin ningún problema con mtd write.
Pero vamos, que también puedes entrar en el modo recovery y hacerlo desde allí.

No se que es "mtd write", asi que no se si es mi misma situacion, pero lo intentare mas tarde y os dire los resultados.

feluco

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #666 en: 10-09-2012, 10:47 (Lunes) »
Cita de jar229, puesta en muchos post :Para actualizar yo normalmente utilizo este método:
cd /tmp/
wget http://downloads.openwrt.org/snapshots/trunk/brcm63xx/openwrt-HW553-jffs2-64k-cfe.bin
mtd write /tmp/openwrt-HW553-jffs2-64k-cfe.bin linux && reboot

Solo que en lugar de descargar nada, lo paso a /tmp usando Winscp .

Asi lo aprendi y asi lo hago.

En resumidas cuentas, te bajas el firnware. Mediante el programa Winscp, lo pasas a /tmp.
ahora ejecutas en consola:
cd /tmp/
mtd write /nombredel firnware linux && reboot



Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT en Huawei hg556a
« Respuesta #667 en: 10-09-2012, 11:28 (Lunes) »
feluco:  >:(

Eso sí, ahora uso siempre la versión squashfs de los firmwares: http://downloads.openwrt.org/snapshots/trunk/brcm63xx/openwrt-HW553-squashfs-cfe.bin

ersiko

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #668 en: 10-09-2012, 12:43 (Lunes) »
Pues no habia visto ese mensaje que dices... solo me he leido este hilo (que bastante largo es jejeje) ya el resto, por el titulo, no parecian tener nada que ver con mi problema.

Pero tambien probare lo que dices, con el mtd write, a ver si funciona :) Muchas gracias!

ersiko

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #669 en: 10-09-2012, 19:38 (Lunes) »
Ha ido perfecto con el mtd write, gracias :)

Queria instalar el nfs-server pero me da incompatibilidades con el kernel, porque tengo 3.3.8 y pide 3.3.8-1... Supongo que eso es por no estar en la ultima version, asi que imagino que me tocara compilarlo.

Siempre hay que ir recompilando y actualizando a medida que salen nuevas versiones, para poder usar su repositorio? o es solo porque esta en version beta y tienen que ir actualizando los paquetes a medida que los de openwrt actualizan el kernel? A ver si dentro de dos meses voy a querer instalar algo nuevo y me va a decir que es incompatible y voy a tener que recompilar otra vez...

Gracias!

chicuno

  • Visitante
Re: Re: OpenWRT en Huawei hg556a
« Respuesta #670 en: 11-09-2012, 19:00 (Martes) »
Hola a todos, estoy interesado en instalar la compilación r33275. Pero me gustaría saber qué lleva incluido, pero sobre todo si lleva cliente torrente. (no se si las abreviaturas q lleva detrás en el primer post esta compilación son lo que pregunto porque no no las entiendo, pero perdón por mi ignorancia) y gracias de antemano. ;-)

Un saludo.

Enviado desde mi Sony Tablet P usando Tapatalk 2

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: Re: OpenWRT en Huawei hg556a
« Respuesta #671 en: 11-09-2012, 21:04 (Martes) »
Hola a todos, estoy interesado en instalar la compilación r33275. Pero me gustaría saber qué lleva incluido, pero sobre todo si lleva cliente torrente. (no se si las abreviaturas q lleva detrás en el primer post esta compilación son lo que pregunto porque no no las entiendo, pero perdón por mi ignorancia) y gracias de antemano. ;-)

Un saludo.

Enviado desde mi Sony Tablet P usando Tapatalk 2

No lleva cliente torrent. Pero puedes instalarlo tú. Mírate el hilo del hg553 si tienes dudas.

Elnef

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #672 en: 12-09-2012, 07:56 (Miércoles) »
Ayer me puse a configurar los Leds a mi gusto y ví que sólo se podía actuar sobre 4 de ellos desde LuCI. Pero no veo la forma de actuar sobre el Led WIFI (el que está en el centro de los 5). Además no están correctamente nombrados desde LuCI.

Es una chorradilla pero ¿Se puede solucionar con alguna modificación?

Adjunto una fotillo como muestra de la existencia de ese 5º led


rgbravo

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #673 en: 12-09-2012, 18:51 (Miércoles) »
Hola a todos ,
tengo funcionando mi router Huawei como repetidor de la señal de internet (la señal le llega por wifi y el la trasmite por cable a un pc de sobremesa)
Por ahora tengo 2 dudas:
1.- la velocidad que coje el pc es sensiblemente más baja que la de otros aparatos (tengo contratado 30 megas. Si conecto un portatil por wifi a la red llega hasta 20 megas, pero el pc que recibe la señal del router apenas llega a 5 o 6 ¿?) Se puede hacer algo en el router ¿? (ya pregunté por esto antes en el foro pero aún no he obtenido respuesta...quizá porque no la tiene, pero por si acaso vuelvo a preguntar)
2.- (esto me preocupa más) Tengo una impresora (hp 4580) que está en la red de casa conectada por wiri: puedo imprimir desde cualquier ordenador menos desde el que pc que está conectado al Huawei... (hay algo que haya que configurar en el router para que funcione??
Gracias por adelantado por las respuestas y un saludo

aguera-competicion

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #674 en: 12-09-2012, 21:39 (Miércoles) »
Correo enviado con lo demandado.
Pues tienes un router con la flash "chunga" MX29LV128DB.

En teoría los parches que había hecho deberían ser compatibles para este router también, pero parece que no...

Voy a necesitar que me mandes un bootlog con cable serial de este router con el último firmware:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r32706_ralink.bin

Aquí tienes un enlace que colgó creo que gmtii para un cable serial ya hecho:
http://www.ebay.es/itm/370532286388?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649#ht_2817wt_1163

Si lo quieres montar tú, te pongo el mismo esquema para pcb y el original.
Esquema original: https://dl.dropbox.com/u/4708147/rs232/original.jpg
Esquema pcb: https://dl.dropbox.com/u/4708147/rs232/rs232.png

Saludos.

Hola por fin puedo ofrecerte el inicio atravez del puerto serial.

He intentado instalar la versión mas ligera para empezar, 33032.bin

[spoiler]CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Mon Jul  6 20:08:55 CST 2009 (WangXinfeng 69233)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x80529FE0 (1216480)
Initialized Data:          0x8041EFF0 - 0x80421630 (9792)
BSS Area:                  0x80421630 - 0x80427FE0 (27056)
Local Heap:                0x80427FE0 - 0x80527FE0 (1048576)
Stack Area:                0x80527FE0 - 0x80529FE0 (8192)
Text (code) segment:       0x80401000 - 0x8041EFE8 (122856)
Boot area (physical):      0x0052A000 - 0x0056A000
Relocation Factor:         I:00000000 - D:00000000


*** Restore to Factory Default Setting ***


*** Break into CFE console ***

Board IP address                  : 192.168.1.1
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 Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 00:25:68:ed:df:d1
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

web info: Waiting for connection on socket 0.
web info: Waiting for connection on socket 1.
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: Upload 3276804 bytes, Broadcom image format.
web info: Waiting for connection on socket 1.

Flashing root file system and kernel at 0xbe020000:
 ~~~~~~~Flag: 3
baseAddr 0xbe000000
kernelAddr 0xbe020100
rootfsAddr 0xbe020100
tagFs 0x808000b0
..................................................

.

Backup flag .

 ~~~~~~~Flag: 1
.
*** Image flash done *** !
Resetting board...

CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Mon Jul  6 20:08:55 CST 2009 (WangXinfeng 69233)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x80529FE0 (1216480)
Initialized Data:          0x8041EFF0 - 0x80421630 (9792)
BSS Area:                  0x80421630 - 0x80427FE0 (27056)
Local Heap:                0x80427FE0 - 0x80527FE0 (1048576)
Stack Area:                0x80527FE0 - 0x80529FE0 (8192)
Text (code) segment:       0x80401000 - 0x8041EFE8 (122856)
Boot area (physical):      0x0052A000 - 0x0056A000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1
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 Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 00:25:68:ed:df:d1
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
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 Tue Aug 7 16:17:31 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] HW556: ath9k caldata offset 0xf7e000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61848k/65536k available (2237k kernel code, 3688k reserved, 403k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] pci 0000:00:01.0: fixup device configuration
[    0.204000] audit: initializing netlink socket (disabled)
[    0.212000] type=2000 audit(0.212:1): initialized
[    0.216000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.224000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.232000] msgmni has been set to 120
[    0.240000] io scheduler noop registered
[    0.244000] io scheduler deadline registered (default)
[    0.252000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.276000] physmap platform flash device: 02000000 at 1e000000
[    0.284000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227a
[    0.292000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.300000]   Amd/Fujitsu Extended Query version 1.3.
[    0.304000] number of CFI chips: 1
[    0.308000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.316000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.320000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.328000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length ce0000
[    0.336000] bcm63xxpart: Partition 3 is cal_data offset e00000 and length 1f0000
[    0.344000] bcm63xxpart: Partition 4 is nvram offset ff0000 and length 10000
[    0.352000] bcm63xxpart: Partition 5 is linux offset 20000 and length de0000
[    0.360000] bcm63xxpart: Spare partition is offset 340004 and length abfffc
[    0.364000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.372000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.380000] 0x000000000000-0x000000020000 : "CFE"
[    0.388000] 0x000000020100-0x000000120000 : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.408000] 0x000000120000-0x000000e00000 : "rootfs"
[    0.420000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=330000, len=AD0000
[    0.432000] 0x000000330000-0x000000e00000 : "rootfs_data"
[    0.444000] 0x000000e00000-0x000000ff0000 : "cal_data"
[    0.452000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.460000] 0x000000020000-0x000000e00000 : "linux"
[    0.480000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.492000] TCP cubic registered
[    0.496000] NET: Registered protocol family 17
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.516000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.524000] Freeing unused kernel memory: 200k freed
awk: /proc/cpuinfo: No such file or directory
[    3.248000] eth0: link forced UP - 100/full - flow control off/off
[    3.464000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.532000] There is already a switch registered on the device 'eth0'
[    6.008000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.996000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[   10.004000] Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[   10.012000] empty_blocks 172, bad_blocks 0, c->nr_blocks 173
switching to jffs2
- init -

Please press Enter to activate this console. [   12.964000] Compat-wireless backport release: compat-wireless-2012-07-13
[   12.972000] Backport based on wireless-testing.git master-2012-07-16
[   12.980000] compat.git: wireless-testing.git
[   13.044000] cfg80211: Calling CRDA to update world regulatory domain
[   13.048000] cfg80211: World regulatory domain updated:
[   13.056000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.064000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.072000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.080000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.088000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.096000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.536000] NET: Registered protocol family 10
[   13.992000] SCSI subsystem initialized
[   14.084000] There is already a switch registered on the device 'eth0'
[   14.436000] usbcore: registered new interface driver usbfs
[   14.440000] usbcore: registered new interface driver hub
[   14.448000] usbcore: registered new device driver usb
[   15.580000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.596000] ath: phy0: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   15.600000] ath: phy0: random mac address will be used: de:6d:79:71:70:87
[   15.628000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc0320000, irq=39
[   15.636000] cfg80211: Calling CRDA for country: US
[   15.640000] cfg80211: Regulatory domain changed to country: US
[   15.644000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   15.652000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   15.660000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   15.668000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.676000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.684000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.692000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   16.112000] PPP generic driver version 2.4.2
[   16.496000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.788000] NET: Registered protocol family 24
[   16.984000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.096000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.100000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   17.136000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   17.152000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   17.160000] hub 1-0:1.0: USB hub found
[   17.164000] hub 1-0:1.0: 2 ports detected
[   17.344000] nf_conntrack version 0.5.0 (969 buckets, 3876 max)
[   17.720000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   17.860000] hub 1-1:1.0: USB hub found
[   17.872000] hub 1-1:1.0: 2 ports detected
[   18.160000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.576000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   18.688000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   18.692000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   18.700000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   18.768000] hub 2-0:1.0: USB hub found
[   18.772000] hub 2-0:1.0: 1 port detected
[   18.944000] Initializing USB Mass Storage driver...
[   18.952000] usbcore: registered new interface driver usb-storage
[   18.956000] USB Mass Storage support registered.
[   18.992000] usbcore: registered new interface driver ums-alauda
[   19.032000] usbcore: registered new interface driver ums-cypress
[   19.068000] usbcore: registered new interface driver ums-datafab
[   19.104000] usbcore: registered new interface driver ums-freecom
[   19.144000] usbcore: registered new interface driver ums-isd200
[   19.180000] usbcore: registered new interface driver ums-jumpshot
[   19.216000] usbcore: registered new interface driver ums-karma
[   19.256000] usbcore: registered new interface driver ums-sddr09
[   19.292000] usbcore: registered new interface driver ums-sddr55
[   19.328000] usbcore: registered new interface driver ums-usbat
[   19.368000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0 [/spoiler]
« Última modificación: 12-09-2012, 21:49 (Miércoles) por aguera-competicion »

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #675 en: 12-09-2012, 22:06 (Miércoles) »
Hola por fin puedo ofrecerte el inicio atravez del puerto serial.

He intentado instalar la versión mas ligera para empezar, 33032.bin

[spoiler]CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Mon Jul  6 20:08:55 CST 2009 (WangXinfeng 69233)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x80529FE0 (1216480)
Initialized Data:          0x8041EFF0 - 0x80421630 (9792)
BSS Area:                  0x80421630 - 0x80427FE0 (27056)
Local Heap:                0x80427FE0 - 0x80527FE0 (1048576)
Stack Area:                0x80527FE0 - 0x80529FE0 (8192)
Text (code) segment:       0x80401000 - 0x8041EFE8 (122856)
Boot area (physical):      0x0052A000 - 0x0056A000
Relocation Factor:         I:00000000 - D:00000000


*** Restore to Factory Default Setting ***


*** Break into CFE console ***

Board IP address                  : 192.168.1.1
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 Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 00:25:68:ed:df:d1
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

web info: Waiting for connection on socket 0.
web info: Waiting for connection on socket 1.
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: Upload 3276804 bytes, Broadcom image format.
web info: Waiting for connection on socket 1.

Flashing root file system and kernel at 0xbe020000:
 ~~~~~~~Flag: 3
baseAddr 0xbe000000
kernelAddr 0xbe020100
rootfsAddr 0xbe020100
tagFs 0x808000b0
..................................................

.

Backup flag .

 ~~~~~~~Flag: 1
.
*** Image flash done *** !
Resetting board...

CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Mon Jul  6 20:08:55 CST 2009 (WangXinfeng 69233)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x80529FE0 (1216480)
Initialized Data:          0x8041EFF0 - 0x80421630 (9792)
BSS Area:                  0x80421630 - 0x80427FE0 (27056)
Local Heap:                0x80427FE0 - 0x80527FE0 (1048576)
Stack Area:                0x80527FE0 - 0x80529FE0 (8192)
Text (code) segment:       0x80401000 - 0x8041EFE8 (122856)
Boot area (physical):      0x0052A000 - 0x0056A000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1
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 Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 00:25:68:ed:df:d1
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
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 Tue Aug 7 16:17:31 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] HW556: ath9k caldata offset 0xf7e000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61848k/65536k available (2237k kernel code, 3688k reserved, 403k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] pci 0000:00:01.0: fixup device configuration
[    0.204000] audit: initializing netlink socket (disabled)
[    0.212000] type=2000 audit(0.212:1): initialized
[    0.216000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.224000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.232000] msgmni has been set to 120
[    0.240000] io scheduler noop registered
[    0.244000] io scheduler deadline registered (default)
[    0.252000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.276000] physmap platform flash device: 02000000 at 1e000000
[    0.284000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227a
[    0.292000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.300000]   Amd/Fujitsu Extended Query version 1.3.
[    0.304000] number of CFI chips: 1
[    0.308000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.316000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.320000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.328000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length ce0000
[    0.336000] bcm63xxpart: Partition 3 is cal_data offset e00000 and length 1f0000
[    0.344000] bcm63xxpart: Partition 4 is nvram offset ff0000 and length 10000
[    0.352000] bcm63xxpart: Partition 5 is linux offset 20000 and length de0000
[    0.360000] bcm63xxpart: Spare partition is offset 340004 and length abfffc
[    0.364000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.372000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.380000] 0x000000000000-0x000000020000 : "CFE"
[    0.388000] 0x000000020100-0x000000120000 : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.408000] 0x000000120000-0x000000e00000 : "rootfs"
[    0.420000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=330000, len=AD0000
[    0.432000] 0x000000330000-0x000000e00000 : "rootfs_data"
[    0.444000] 0x000000e00000-0x000000ff0000 : "cal_data"
[    0.452000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.460000] 0x000000020000-0x000000e00000 : "linux"
[    0.480000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.492000] TCP cubic registered
[    0.496000] NET: Registered protocol family 17
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.516000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.524000] Freeing unused kernel memory: 200k freed
awk: /proc/cpuinfo: No such file or directory
[    3.248000] eth0: link forced UP - 100/full - flow control off/off
[    3.464000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.532000] There is already a switch registered on the device 'eth0'
[    6.008000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.996000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[   10.004000] Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[   10.012000] empty_blocks 172, bad_blocks 0, c->nr_blocks 173
switching to jffs2
- init -

Please press Enter to activate this console. [   12.964000] Compat-wireless backport release: compat-wireless-2012-07-13
[   12.972000] Backport based on wireless-testing.git master-2012-07-16
[   12.980000] compat.git: wireless-testing.git
[   13.044000] cfg80211: Calling CRDA to update world regulatory domain
[   13.048000] cfg80211: World regulatory domain updated:
[   13.056000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.064000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.072000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.080000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.088000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.096000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.536000] NET: Registered protocol family 10
[   13.992000] SCSI subsystem initialized
[   14.084000] There is already a switch registered on the device 'eth0'
[   14.436000] usbcore: registered new interface driver usbfs
[   14.440000] usbcore: registered new interface driver hub
[   14.448000] usbcore: registered new device driver usb
[   15.580000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.596000] ath: phy0: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   15.600000] ath: phy0: random mac address will be used: de:6d:79:71:70:87
[   15.628000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc0320000, irq=39
[   15.636000] cfg80211: Calling CRDA for country: US
[   15.640000] cfg80211: Regulatory domain changed to country: US
[   15.644000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   15.652000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   15.660000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   15.668000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.676000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.684000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.692000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   16.112000] PPP generic driver version 2.4.2
[   16.496000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.788000] NET: Registered protocol family 24
[   16.984000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.096000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   17.100000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   17.136000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   17.152000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   17.160000] hub 1-0:1.0: USB hub found
[   17.164000] hub 1-0:1.0: 2 ports detected
[   17.344000] nf_conntrack version 0.5.0 (969 buckets, 3876 max)
[   17.720000] usb 1-1: new high-speed USB device number 2 using bcm63xx_ehci
[   17.860000] hub 1-1:1.0: USB hub found
[   17.872000] hub 1-1:1.0: 2 ports detected
[   18.160000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.576000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   18.688000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   18.692000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   18.700000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   18.768000] hub 2-0:1.0: USB hub found
[   18.772000] hub 2-0:1.0: 1 port detected
[   18.944000] Initializing USB Mass Storage driver...
[   18.952000] usbcore: registered new interface driver usb-storage
[   18.956000] USB Mass Storage support registered.
[   18.992000] usbcore: registered new interface driver ums-alauda
[   19.032000] usbcore: registered new interface driver ums-cypress
[   19.068000] usbcore: registered new interface driver ums-datafab
[   19.104000] usbcore: registered new interface driver ums-freecom
[   19.144000] usbcore: registered new interface driver ums-isd200
[   19.180000] usbcore: registered new interface driver ums-jumpshot
[   19.216000] usbcore: registered new interface driver ums-karma
[   19.256000] usbcore: registered new interface driver ums-sddr09
[   19.292000] usbcore: registered new interface driver ums-sddr55
[   19.328000] usbcore: registered new interface driver ums-usbat
[   19.368000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0 [/spoiler]
Ese inicio es completamente funcional y no tiene ningún problema.

¿Estás seguro de que no es debido a ningún problema de la configuración IP de Windows?

Saludos.

aguera-competicion

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #676 en: 12-09-2012, 23:32 (Miércoles) »
He comprobado y daría por echo que no es problema de windows por esta vez! ;D

Lo curioso es que al iniciar hace ping durante parte del proceso de arranque, pero después desaparece el ping  :'(

he iniciado el equipo realizando un ping continuo y observo que aproximadamente empieza a hacer ping por la linea:

Press the [f] key and hit [enter] to enter failsafe mode

termina de realizar ping por la linea:

Please press Enter to activate this console. [   12.964000] Compat-wireless backport release: compat-wireless-2012-07-13

Tengo que decir que antes siempre terminaba el arranque y se veía el logotipo de OPENWRT y el promp para hacer comandos, ahora se queda clavado en la linea:

[   19.368000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0

tras esta linea no avanza ni se puede hacer intro.

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #677 en: 13-09-2012, 00:22 (Jueves) »
He comprobado y daría por echo que no es problema de windows por esta vez! ;D

Lo curioso es que al iniciar hace ping durante parte del proceso de arranque, pero después desaparece el ping  :'(

he iniciado el equipo realizando un ping continuo y observo que aproximadamente empieza a hacer ping por la linea:

Press the [f] key and hit [enter] to enter failsafe mode

termina de realizar ping por la linea:

Please press Enter to activate this console. [   12.964000] Compat-wireless backport release: compat-wireless-2012-07-13

Tengo que decir que antes siempre terminaba el arranque y se veía el logotipo de OPENWRT y el promp para hacer comandos, ahora se queda clavado en la linea:

[   19.368000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0

tras esta linea no avanza ni se puede hacer intro.
Prueba este firmware cuando puedas:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r33382_test.bin

Saludos.

aguera-competicion

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #678 en: 13-09-2012, 01:18 (Jueves) »
He comprobado y daría por echo que no es problema de windows por esta vez! ;D

Lo curioso es que al iniciar hace ping durante parte del proceso de arranque, pero después desaparece el ping  :'(

he iniciado el equipo realizando un ping continuo y observo que aproximadamente empieza a hacer ping por la linea:

Press the [f] key and hit [enter] to enter failsafe mode

termina de realizar ping por la linea:

Please press Enter to activate this console. [   12.964000] Compat-wireless backport release: compat-wireless-2012-07-13

Tengo que decir que antes siempre terminaba el arranque y se veía el logotipo de OPENWRT y el promp para hacer comandos, ahora se queda clavado en la linea:

[   19.368000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0

tras esta linea no avanza ni se puede hacer intro.
Prueba este firmware cuando puedas:
https://dl.dropbox.com/u/4708147/openwrt/hw556/openwrt-HW556-squashfs-cfe_r33382_test.bin

Saludos.
Macho a la primera la as clavado!!!!

Primer intento de flaseo: en la linea siguiente se a quedado bastante tiempo un minuto como mucho después han salido 2 lineas mas y se a quedado parado otro rato.

[   49.824000] jffs2_build_filesystem(): erasing all blocks after the end marker...

 Viendo que no respondia  he apagado y encendido el router, al cargar no terminaba de aparecer el logo de OPENWRT, pero si habia ping e interface de administracion HTTP, tras varios apaga y enciende no conseguía que terminara de cargar por lo que he vuelto a flasear.

segundo intento de flaseo: >:( OLE, OLE y OLE ^-^ >:(


[spoiler]Flashing root file system and kernel at 0xbe020000:
 ~~~~~~~Flag: 3
baseAddr 0xbe000000
kernelAddr 0xbe020100
rootfsAddr 0xbe020100
tagFs 0x808000b0
....................................................

.

Backup flag .

 ~~~~~~~Flag: 1
.
*** Image flash done *** !
Resetting board...

CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Mon Jul  6 20:08:55 CST 2009 (WangXinfeng 69233)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x80529FE0 (1216480)
Initialized Data:          0x8041EFF0 - 0x80421630 (9792)
BSS Area:                  0x80421630 - 0x80427FE0 (27056)
Local Heap:                0x80427FE0 - 0x80527FE0 (1048576)
Stack Area:                0x80527FE0 - 0x80529FE0 (8192)
Text (code) segment:       0x80401000 - 0x8041EFE8 (122856)
Boot area (physical):      0x0052A000 - 0x0056A000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1
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 Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 00:25:68:ed:df:d1
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
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 Thu Sep 13 00:18:46 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] HW556: ath9k caldata offset 0xf7e000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61848k/65536k available (2237k kernel code, 3688k reserved, 403k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] pci 0000:00:01.0: fixup device configuration
[    0.204000] audit: initializing netlink socket (disabled)
[    0.212000] type=2000 audit(0.212:1): initialized
[    0.216000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.224000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.236000] msgmni has been set to 120
[    0.240000] io scheduler noop registered
[    0.244000] io scheduler deadline registered (default)
[    0.252000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.276000] physmap platform flash device: 02000000 at 1e000000
[    0.284000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227a
[    0.292000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.300000]   Amd/Fujitsu Extended Query version 1.3.
[    0.304000] number of CFI chips: 1
[    0.308000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.316000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.320000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.328000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length ce0000
[    0.336000] bcm63xxpart: Partition 3 is cal_data offset e00000 and length 1f0000
[    0.344000] bcm63xxpart: Partition 4 is nvram offset ff0000 and length 10000
[    0.352000] bcm63xxpart: Partition 5 is linux offset 20000 and length de0000
[    0.360000] bcm63xxpart: Spare partition is offset 360004 and length a9fffc
[    0.364000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.372000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.380000] 0x000000000000-0x000000020000 : "CFE"
[    0.388000] 0x000000020100-0x000000120000 : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.408000] 0x000000120000-0x000000e00000 : "rootfs"
[    0.420000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=360000, len=AA0000
[    0.432000] 0x000000360000-0x000000e00000 : "rootfs_data"
[    0.444000] 0x000000e00000-0x000000ff0000 : "cal_data"
[    0.452000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.460000] 0x000000020000-0x000000e00000 : "linux"
[    0.480000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.492000] TCP cubic registered
[    0.496000] NET: Registered protocol family 17
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.516000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.524000] Freeing unused kernel memory: 200k freed
awk: /proc/cpuinfo: No such file or directory
[    2.924000] eth0: link forced UP - 100/full - flow control off/off
[    3.184000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.252000] There is already a switch registered on the device 'eth0'
[    5.772000] Button Hotplug driver version 0.4.1
- 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. [   12.728000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[   12.736000] Backport based on wireless-testing.git master-2012-09-07
[   12.740000] compat.git: wireless-testing.git
[   12.808000] cfg80211: Calling CRDA to update world regulatory domain
[   12.812000] cfg80211: World regulatory domain updated:
[   12.820000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.828000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.836000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.844000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.852000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.860000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.312000] NET: Registered protocol family 10
[   13.768000] SCSI subsystem initialized
[   13.864000] There is already a switch registered on the device 'eth0'
[   14.136000] usbcore: registered new interface driver usbfs
[   14.144000] usbcore: registered new interface driver hub
[   14.152000] usbcore: registered new device driver usb
[   15.284000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.296000] ath: phy0: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   15.304000] ath: phy0: random mac address will be used: ba:21:ae:50:ce:12
[   15.328000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc0320000, irq=39
[   15.340000] cfg80211: Calling CRDA for country: US
[   15.344000] cfg80211: Regulatory domain changed to country: US
[   15.348000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   15.356000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   15.364000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   15.372000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.380000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.388000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.396000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   15.492000] usbcore: registered new interface driver rt2800usb
[   16.292000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   17.024000] PPP generic driver version 2.4.2
[   17.448000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.004000] NET: Registered protocol family 24
[   18.384000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   18.492000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   18.496000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   18.532000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   18.548000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   18.556000] hub 1-0:1.0: USB hub found
[   18.560000] hub 1-0:1.0: 2 ports detected
[   18.728000] nf_conntrack version 0.5.0 (969 buckets, 3876 max)
[   19.828000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   20.260000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   20.372000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   20.376000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   20.384000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   20.452000] hub 2-0:1.0: USB hub found
[   20.456000] hub 2-0:1.0: 2 ports detected
[   20.672000] Initializing USB Mass Storage driver...
[   20.676000] usbcore: registered new interface driver usb-storage
[   20.684000] USB Mass Storage support registered.
[   20.868000] usbcore: registered new interface driver ums-alauda
[   20.908000] usbcore: registered new interface driver ums-cypress
[   20.948000] usbcore: registered new interface driver ums-datafab
[   20.984000] usbcore: registered new interface driver ums-freecom
[   20.996000] usb 2-1: new full-speed USB device number 2 using bcm63xx_ohci
[   21.032000] usbcore: registered new interface driver ums-isd200
[   21.068000] usbcore: registered new interface driver ums-jumpshot
[   21.108000] usbcore: registered new interface driver ums-karma
[   21.148000] usbcore: registered new interface driver ums-sddr09
[   21.156000] usb 2-1: not running at top speed; connect to a high speed hub
[   21.172000] hub 2-1:1.0: USB hub found
[   21.180000] hub 2-1:1.0: 2 ports detected
[   21.208000] usbcore: registered new interface driver ums-sddr55
[   21.248000] usbcore: registered new interface driver ums-usbat
[   26.752000] eth0: link forced UP - 100/full - flow control off/off
[   26.924000] device eth0 entered promiscuous mode
[   26.932000] br-lan: port 1(eth0) entered forwarding state
[   26.936000] br-lan: port 1(eth0) entered forwarding state
[   28.940000] br-lan: port 1(eth0) entered forwarding state
[   49.812000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   49.820000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   49.824000] jffs2_build_filesystem(): erasing all blocks after the end marker... [   49.824000] jffs2_build_filesystem(): erasing all blocks after the end marker...


BusyBox v1.19.4 (2012-09-13 00:06:37 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r33382)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:/#[/spoiler]

No se que as modificado en este .bin pero sin haber probado sus funciones aun, te diré que  as dado en el clavo a la primera.
Quizas tu puedas mas que yo mirar en log si todo a arrancado bien o hay algún fleco que sellar.

Voy a probar la wifi dentro de un rato contesto o mañana por la mañana según pueda aguantar.

Gracias Noltari

 
« Última modificación: 13-09-2012, 01:32 (Jueves) por aguera-competicion »

Noltari

  • Visitante
Re: OpenWRT en Huawei hg556a
« Respuesta #679 en: 13-09-2012, 01:38 (Jueves) »
Macho a la primera la as clavado!!!!

Primer intento de flaseo: en la linea siguiente se a quedado bastante tiempo un minuto como mucho despues an salido 2 lieas mas y se a quedado parado otro rato,

[   49.824000] jffs2_build_filesystem(): erasing all blocks after the end marker...

 viendo que no respondia  he apagado y encendido el router, al cargar no terminaba de parecer el logo de OPENWRT, pero si habia ping y interfac de administracion HTTP, tras varios apaga y enciende no conseguía que terminara de cargar por lo que he buelto a flasear.

segundo intento de flaseo: >:(




Te adjunto el resultado del flaseo:

[spoiler]Flashing root file system and kernel at 0xbe020000:
 ~~~~~~~Flag: 3
baseAddr 0xbe000000
kernelAddr 0xbe020100
rootfsAddr 0xbe020100
tagFs 0x808000b0
....................................................

.

Backup flag .

 ~~~~~~~Flag: 1
.
*** Image flash done *** !
Resetting board...

CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Mon Jul  6 20:08:55 CST 2009 (WangXinfeng 69233)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :227a

@w45260flipCFIGeometry:0
Parallel flash device: name MX29LV128DB, id 0x227a, size 16384KB
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x80529FE0 (1216480)
Initialized Data:          0x8041EFF0 - 0x80421630 (9792)
BSS Area:                  0x80421630 - 0x80427FE0 (27056)
Local Heap:                0x80427FE0 - 0x80527FE0 (1048576)
Stack Area:                0x80527FE0 - 0x80529FE0 (8192)
Text (code) segment:       0x80401000 - 0x8041EFE8 (122856)
Boot area (physical):      0x0052A000 - 0x0056A000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1
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 Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 00:25:68:ed:df:d1
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
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 Thu Sep 13 00:18:46 CEST 2012
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 39 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 100.48.56-49.46
[    0.000000] HW556: ath9k caldata offset 0xf7e000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: HW556
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 61848k/65536k available (2237k kernel code, 3688k reserved, 403k data, 200k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.068000] registering PCI controller with io_map_base unset
[    0.088000] bio: create slab <bio-0> at 0
[    0.096000] PCI host bridge to bus 0000:00
[    0.100000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.104000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.120000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.124000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.140000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.192000] pci 0000:00:01.0: fixup device configuration
[    0.204000] audit: initializing netlink socket (disabled)
[    0.212000] type=2000 audit(0.212:1): initialized
[    0.216000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.224000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.236000] msgmni has been set to 120
[    0.240000] io scheduler noop registered
[    0.244000] io scheduler deadline registered (default)
[    0.252000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.276000] physmap platform flash device: 02000000 at 1e000000
[    0.284000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227a
[    0.292000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.300000]   Amd/Fujitsu Extended Query version 1.3.
[    0.304000] number of CFI chips: 1
[    0.308000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.316000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.320000] bcm63xxpart: Partition 1 is kernel offset 20100 and length fff00
[    0.328000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length ce0000
[    0.336000] bcm63xxpart: Partition 3 is cal_data offset e00000 and length 1f0000
[    0.344000] bcm63xxpart: Partition 4 is nvram offset ff0000 and length 10000
[    0.352000] bcm63xxpart: Partition 5 is linux offset 20000 and length de0000
[    0.360000] bcm63xxpart: Spare partition is offset 360004 and length a9fffc
[    0.364000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.372000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.380000] 0x000000000000-0x000000020000 : "CFE"
[    0.388000] 0x000000020100-0x000000120000 : "kernel"
[    0.392000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.408000] 0x000000120000-0x000000e00000 : "rootfs"
[    0.420000] mtd: partition "rootfs" set to be root filesystem
[    0.424000] mtd: partition "rootfs_data" created automatically, ofs=360000, len=AA0000
[    0.432000] 0x000000360000-0x000000e00000 : "rootfs_data"
[    0.444000] 0x000000e00000-0x000000ff0000 : "cal_data"
[    0.452000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.460000] 0x000000020000-0x000000e00000 : "linux"
[    0.480000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.492000] TCP cubic registered
[    0.496000] NET: Registered protocol family 17
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.516000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.524000] Freeing unused kernel memory: 200k freed
awk: /proc/cpuinfo: No such file or directory
[    2.924000] eth0: link forced UP - 100/full - flow control off/off
[    3.184000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
[    4.252000] There is already a switch registered on the device 'eth0'
[    5.772000] Button Hotplug driver version 0.4.1
- 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. [   12.728000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[   12.736000] Backport based on wireless-testing.git master-2012-09-07
[   12.740000] compat.git: wireless-testing.git
[   12.808000] cfg80211: Calling CRDA to update world regulatory domain
[   12.812000] cfg80211: World regulatory domain updated:
[   12.820000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.828000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.836000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.844000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.852000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.860000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.312000] NET: Registered protocol family 10
[   13.768000] SCSI subsystem initialized
[   13.864000] There is already a switch registered on the device 'eth0'
[   14.136000] usbcore: registered new interface driver usbfs
[   14.144000] usbcore: registered new interface driver hub
[   14.152000] usbcore: registered new device driver usb
[   15.284000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.296000] ath: phy0: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   15.304000] ath: phy0: random mac address will be used: ba:21:ae:50:ce:12
[   15.328000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc0320000, irq=39
[   15.340000] cfg80211: Calling CRDA for country: US
[   15.344000] cfg80211: Regulatory domain changed to country: US
[   15.348000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   15.356000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   15.364000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   15.372000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.380000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.388000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   15.396000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   15.492000] usbcore: registered new interface driver rt2800usb
[   16.292000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   17.024000] PPP generic driver version 2.4.2
[   17.448000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.004000] NET: Registered protocol family 24
[   18.384000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   18.492000] bcm63xx_ehci bcm63xx_ehci.0: BCM63XX integrated EHCI controller
[   18.496000] bcm63xx_ehci bcm63xx_ehci.0: new USB bus registered, assigned bus number 1
[   18.532000] bcm63xx_ehci bcm63xx_ehci.0: irq 18, io mem 0xfffe1300
[   18.548000] bcm63xx_ehci bcm63xx_ehci.0: USB 2.0 started, EHCI 1.00, overcurrent ignored
[   18.556000] hub 1-0:1.0: USB hub found
[   18.560000] hub 1-0:1.0: 2 ports detected
[   18.728000] nf_conntrack version 0.5.0 (969 buckets, 3876 max)
[   19.828000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   20.260000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   20.372000] bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
[   20.376000] bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 2
[   20.384000] bcm63xx_ohci bcm63xx_ohci.0: irq 13, io mem 0xfffe1400
[   20.452000] hub 2-0:1.0: USB hub found
[   20.456000] hub 2-0:1.0: 2 ports detected
[   20.672000] Initializing USB Mass Storage driver...
[   20.676000] usbcore: registered new interface driver usb-storage
[   20.684000] USB Mass Storage support registered.
[   20.868000] usbcore: registered new interface driver ums-alauda
[   20.908000] usbcore: registered new interface driver ums-cypress
[   20.948000] usbcore: registered new interface driver ums-datafab
[   20.984000] usbcore: registered new interface driver ums-freecom
[   20.996000] usb 2-1: new full-speed USB device number 2 using bcm63xx_ohci
[   21.032000] usbcore: registered new interface driver ums-isd200
[   21.068000] usbcore: registered new interface driver ums-jumpshot
[   21.108000] usbcore: registered new interface driver ums-karma
[   21.148000] usbcore: registered new interface driver ums-sddr09
[   21.156000] usb 2-1: not running at top speed; connect to a high speed hub
[   21.172000] hub 2-1:1.0: USB hub found
[   21.180000] hub 2-1:1.0: 2 ports detected
[   21.208000] usbcore: registered new interface driver ums-sddr55
[   21.248000] usbcore: registered new interface driver ums-usbat
[   26.752000] eth0: link forced UP - 100/full - flow control off/off
[   26.924000] device eth0 entered promiscuous mode
[   26.932000] br-lan: port 1(eth0) entered forwarding state
[   26.936000] br-lan: port 1(eth0) entered forwarding state
[   28.940000] br-lan: port 1(eth0) entered forwarding state
[   49.812000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   49.820000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   49.824000] jffs2_build_filesystem(): erasing all blocks after the end marker... [   49.824000] jffs2_build_filesystem(): erasing all blocks after the end marker...


BusyBox v1.19.4 (2012-09-13 00:06:37 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r33382)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:/#[/spoiler]

Pues tenemos un problema xD.

Lo que he hecho ha sido quitar los botones del código fuente, porque me imaginaba que ese modelo en concreto el botón de reset es active high, mientras que en el resto de modelos el botón de reset es active low. En las compilaciones de danitool no pasaba nada porque antiguamente se utilizaba un driver distinto. Sin embargo, con el kernel actual si se mapea el botón de reset erróneamente, el kernel se cuelga.

Necesito que realices este procedimiento cuando puedas para buscar sólo los botones:
https://foro.seguridadwireless.net/openwrt/openwrt-en-comtrend-ar5387un/msg247663/#msg247663
Te sugiero que primero pruebes los gpio: 8, 9, 10 y 11.
Si esos gpio no coinciden con los botones del router prueba los siguientes: {4} U {5} U {7,39}.

A parte de eso, confirma que funcionan los LEDs con los siguientes comandos (echo 1 enciende / echo 0 apaga):
Power (debería estar encendido al iniciar el router):
Código: [Seleccionar]
echo 0 > /sys/class/leds/HW556\:red\:power/brightness
echo 1 > /sys/class/leds/HW556\:red\:power/brightness

Message:
Código: [Seleccionar]
echo 1 > /sys/class/leds/HW556\:red\:message/brightness
echo 0 > /sys/class/leds/HW556\:red\:message/brightness

HSPA:
Código: [Seleccionar]
echo 1 > /sys/class/leds/HW556\:red\:hspa/brightness
echo 0 > /sys/class/leds/HW556\:red\:hspa/brightness

DSL:
Código: [Seleccionar]
echo 1 > /sys/class/leds/HW556\:red\:dsl/brightness
echo 0 > /sys/class/leds/HW556\:red\:dsl/brightness

No sé qué LED es este, pero debería estar encendido por defecto:
Código: [Seleccionar]
echo 0 > /sys/class/leds/HW556\:red\:all/brightness
echo 1 > /sys/class/leds/HW556\:red\:all/brightness

Saludos.