Seguridad Wireless - Wifi
Equipos y materiales => Puntos de acceso, routers, switchs y bridges => Openwrt & LEDE => Mensaje iniciado por: gmtii en 13-08-2013, 13:29 (Martes)
-
Buenas,
Algo del router: http://wiki.openwrt.org/toh/huawei/hg622 (http://wiki.openwrt.org/toh/huawei/hg622)
El GIT de Pteridium tiene los parches aplicados para crear el firmware:
https://github.com/Pteridium/openwrt/tree/bcm63xx-r36529 (https://github.com/Pteridium/openwrt/tree/bcm63xx-r36529)
Todo funcional a falta del problema de renombrado de ficheros con kernel SMP.
FLASHEO VIA TFTP:
Suponiendo que usamos ubuntu/debian:
- para flashear montamos un servidor tftp, como por ejemplo el tftpd-hpa (apt-get install tftpd-hpa)
- editamos el ficher /etc/default/tftpd-hpa, poniendo la ruta donde iran los firmwares en TFTP_DIRECTORY (por ejemplo /home/mi_usuario/tftp):
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/home/mi_usuario/tftp"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"
- reiniciamos el servicio: sudo service tftpd-hpa restart
- arrancamos el router y pulsamos una tecla desde la consola serial para acceder a la línea de comandos del CFE antes de 3 segundos
- configuramos la IP de tu PC como 192.168.1.100
- el firmware debe llamarse bcm963xx_fs_kernel y estar el directorio de servidor tftpd.
- con el comando f en la línea de comandos del CFE se iniciará el proceso de flasheo.
COPIA DE SEGURIDAD DE DATOS DE CALIBRACIÓN EN PARTICIÓN CAL_DATA
Una vez instalado es importante hacer una copia de nuestro cal_data por si las moscas.
Si la partición es mtd4 por ejemplo haremos un:
cd /tmp
dd if=/dev/mtd4 of=cal_data.bin
y lo guardamos en el pc vía scp o similar.
Empleando URJTAG y un cable clon del usbblaster por ejemplo, sería algo como:
cable usbblaster
endian big
detect
register BR 1
register DIR 32
register EJIMPCODE 32
register EJADDRESS 32
register EJDATA 32
register EJCONTROL 32
register EJALL 96
instruction length 5
instruction BYPASS 11111 BR
instruction IDCODE 00001 DIR
instruction EJTAG_IMPCODE 00011 EJIMPCODE
instruction EJTAG_ADDRESS 01000 EJADDRESS
instruction EJTAG_DATA 01001 EJDATA
instruction EJTAG_CONTROL 01010 EJCONTROL
instruction EJTAG_ALL 01011 EJALL
instruction IDCODE
shift ir
shift dr
dr
initbus ejtag
readmem 0x38FA0000 0x200 RT2X00_HG622.bin
Saludos.
-
El CFE hace cosas raras como no dejar modificar las ip, tiempo de espera y demás... he metido con jtag el equivalente del modelo chino y permite modificar pero no acaba de ir fino...
No esperes mucho de huawei, ya sabes los dolores de cabeza que le dio a Noltari el HG556.
Necesitaría ayuda de alguien que tenga el router para verificar el offset exacto de los datos de calibración del wifi. Creo que es el 0xee0000, comienzo de la partición /dev/mtd4 cal_data ...
[ 0.328000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[ 0.340000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.344000] Amd/Fujitsu Extended Query version 1.3.
[ 0.352000] number of CFI chips: 1
[ 0.356000] bcm63xxpart: CFE boot tag found with version 6 and board type 96368MVWG_hg622
[ 0.364000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[ 0.368000] bcm63xxpart: Partition 1 is kernel offset 20100 and length 10ff00
[ 0.376000] bcm63xxpart: Partition 2 is rootfs offset 130000 and length db0000
[ 0.384000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[ 0.392000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[ 0.400000] bcm63xxpart: Partition 5 is linux offset 20000 and length ec0000
[ 0.408000] bcm63xxpart: Spare partition is offset 330004 and length bafffc
[ 0.412000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[ 0.420000] Creating 6 MTD partitions on "physmap-flash.0":
[ 0.428000] 0x000000000000-0x000000020000 : "CFE"
[ 0.432000] 0x000000020100-0x000000130000 : "kernel"
[ 0.440000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.452000] 0x000000130000-0x000000ee0000 : "rootfs"
[ 0.460000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.472000] mtd: partition "rootfs" set to be root filesystem
[ 0.480000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=BA0000
[ 0.488000] 0x000000340000-0x000000ee0000 : "rootfs_data"
[ 0.496000] 0x000000ee0000-0x000000f00000 : "cal_data"
[ 0.504000] 0x000000fe0000-0x000001000000 : "nvram"
[ 0.508000] 0x000000020000-0x000000ee0000 : "linux"
[ 10.028000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'rt2x00.eeprom'.
[ 10.048000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[ 10.056000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
Tampoco te creas que se hayan roto los cuernos pensando en cómo organizar la partición "cal_data", es más, me juego unas birras a que si lleva el mismo chip wifi Ralink que el HG556a la organización será la misma.
Rectifico: Perdón, sí que estos desgraciados hicieron cambios en cal_data según los parches que colgaste.
Cualquier cosa que necesites dentro de lo que pueda no dudes en decirlo, y felicidades por enfrentarte a ese bicho desalmado. >:(
Un saludo.
P.D.: a ver si esto te vale de algo
http://huaweihg612hacking.wordpress.com/
P.P.D.: este parche está vacío 931-board_96368MVWG_hg622.patch
-
Hola, estoy interesado en meterle openwrt a este router. Tengo varias preguntas:
1. La wifi admite norma N con openwrt?
2. Como hago la copia con el JTAG?
Tengo este router y lo quiero de AP en mi casa, eso de que tenga USB me gusta.
Saludos.
-
el problema es que el fw original espera los datos de calibración en 0xFA0000, pero en openwrt, ninguna partición incluye ese direccionamiento... así pues, algo raro tiene este CFE y la autodetección de particiones :-I
[ 0.384000] bcm63xxpart: Partition 3 is cal_data offset ee0000 and length 20000
[ 0.392000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
entre el final de la cal_data 0xF00000 y el principio de la nvram 0xFE0000 quedan 0xE0000 , 896 KB en tierra de nadie... y ahí justo están realmente los datos de calibración creo
gracias por el link!
-
Si tiene N.
Ahora mismo creo que es mejor esperar un poco a tener controlado el tema de particiones para no poner en riesgo los cal_data. Si tienes JTAG, Pteridium ha puesto un link con instrucciones.
El fichero de comandos para le urjtag para extraer los datos de calibración sería algo como:
cable usbblaster
endian big
detect
register BR 1
register DIR 32
register EJIMPCODE 32
register EJADDRESS 32
register EJDATA 32
register EJCONTROL 32
register EJALL 96
instruction length 5
instruction BYPASS 11111 BR
instruction IDCODE 00001 DIR
instruction EJTAG_IMPCODE 00011 EJIMPCODE
instruction EJTAG_ADDRESS 01000 EJADDRESS
instruction EJTAG_DATA 01001 EJDATA
instruction EJTAG_CONTROL 01010 EJCONTROL
instruction EJTAG_ALL 01011 EJALL
instruction IDCODE
shift ir
shift dr
dr
initbus ejtag
readmem 0x38FA0000 0x200 RT2X00_HG622.bin
El parámetro de cable va en función de tu JTAG.
Saludos.
Hola, estoy interesado en meterle openwrt a este router. Tengo varias preguntas:
1. La wifi admite norma N con openwrt?
2. Como hago la copia con el JTAG?
Tengo este router y lo quiero de AP en mi casa, eso de que tenga USB me gusta.
Saludos.
-
perdón!
https://www.dropbox.com/s/qe7xvd011wgc2a6/openwrt-hg622.tar.gz (https://www.dropbox.com/s/qe7xvd011wgc2a6/openwrt-hg622.tar.gz)
P.P.D.: este parche está vacío 931-board_96368MVWG_hg622.patch
-
Hola de nuevo.
Estoy pensando en comprar un JTAG, este me vale? http://dx.com/es/p/usb-blaster-programmer-jtag-cable-set-168025
Que es eso de cal_data?
Muchas gracias por todo, saludos.
-
En ebay lo tienes a mitad de precio. ::)
Saludos.
-
Tengo este router, sin usar.
Si consigo hacerme con un JTag, intentare ayudar en lo que pueda.
Un Saludo.
-
En ebay lo tienes a mitad de precio. ::)
Saludos.
Hola,
He estado mirando y no encuentro nada mas barato. En dealextreme va sin portes. No me importa pagar un poco mas, pero quiero asegurarme que me funcione para este router.
Gracias por todo.
Saludos.
-
Hola, he visto que en la wiki de openwrt no aparece nada de informacion.
A mi no me importa crear la entrada, pero prefiero que lo haga el autor del post. Si necesitais fotos avisar.
Gracias por todo.
Saludos.
-
el más barato... el vendedor no es que tenga muchos votos y tal, pero entre $7-8 debes poder conseguir algo similar... serán basados en Cy7C68013A o bien uno de los nuevos en STM32, ambos emulando al usb blaster y funcionando con urjtag...
http://www.ebay.com/itm/NEW-USB-Blaster-Programmer-Cable-For-FPGA-CPLD-JTAG-Development-Board-G6-/200942165356?pt=LH_DefaultDomain_0&hash=item2ec9161d6c (http://www.ebay.com/itm/NEW-USB-Blaster-Programmer-Cable-For-FPGA-CPLD-JTAG-Development-Board-G6-/200942165356?pt=LH_DefaultDomain_0&hash=item2ec9161d6c)
los cal_data es la partición que suele contener la eeprom de la rt3062f con datos como la mac, región o calibración de fábrica... es única para cada chip de modo que no debe perderse... yo la he perdido y restaurado de otro y tira bien, pero vamos, lo ideal es siempre conservarlos :-)
En ebay lo tienes a mitad de precio. ::)
Saludos.
Hola,
He estado mirando y no encuentro nada mas barato. En dealextreme va sin portes. No me importa pagar un poco mas, pero quiero asegurarme que me funcione para este router.
Gracias por todo.
Saludos.
-
buenas,
ya esta corregido el tema del cal_data (todo era cuestión de leer el parche que preparó Noltari para el soporte de cal_data en bcm63xx...); alguien puede probar este firmware en su hg622 por favor?
https://www.dropbox.com/s/rmrmvykrb502g64/openwrt-HG622-generic-squashfs-cfe.bin (https://www.dropbox.com/s/rmrmvykrb502g64/openwrt-HG622-generic-squashfs-cfe.bin)
Cualquier problema, postead el bootlog.
saludos
pd: creo que el método de subir el fw vía web no va con este bootloader y hay que hacerlo mediante TFTP... :(
-
buenas,
Creada la página en openwrt sobre este router con alguna fotuca...
http://wiki.openwrt.org/toh/huawei/hg622 (http://wiki.openwrt.org/toh/huawei/hg622)
Nadie se anima a probar el firmware???? ;D
Saludos!
-
Hola, ya me ha llegado el JTAG, pero no tengo idea de como hacer el backup del cal_data.
Como tengo que conectar los pines de la placa con el JTAG?
(http://oi43.tinypic.com/hufu5x.jpg)
(http://oi39.tinypic.com/2m4y71k.jpg)
Muchas gracias por todo.
Saludos.
-
pues unes pin a pin, siguiendo el siguiente esquema del conector de tu cable jtag:
(http://www.wvshare.com/img/devkit/USB-Blaster/JTAG_header__200.jpg)
No olvides conectar la tierra entre ambos.
Saludos.
-
pues unes pin a pin, siguiendo el siguiente esquema del conector de tu cable jtag:
(http://www.wvshare.com/img/devkit/USB-Blaster/JTAG_header__200.jpg)
No olvides conectar la tierra entre ambos.
Saludos.
Gracias por responder.
Tengo que conectar todos los pines?
Otra duda, en la placa tengo estas etiquetas:
TX
GND
VCC
NC
RX
TDI
TMS
TDO
TRST
TCK
Y en el adaptardor JTAG estos:
TCK
TDO
TMS
NC
TDI
GND
VCC
NC
NC
GND
En el JTAG tengo varios repetidos, que hago con ellos?
Podeis decirme como unir la etiquetas del adaptador JTAG y la placa?
Gracias
-
Se unen con cables de estos:
http://www.ebay.com/itm/40P-color-dupont-cables-2-54mm-1P-1P-20-CM-long-a-row-of-40-root-For-Arduino-/170821119805?pt=LH_DefaultDomain_0&hash=item27c5bb6f3d (http://www.ebay.com/itm/40P-color-dupont-cables-2-54mm-1P-1P-20-CM-long-a-row-of-40-root-For-Arduino-/170821119805?pt=LH_DefaultDomain_0&hash=item27c5bb6f3d)
los que se llaman igual, son el mismo pin; conecta uno de ellos, el que más rabie te dé. Los NC no se conectan.
Saludos.
-
Se unen con cables de estos:
http://www.ebay.com/itm/40P-color-dupont-cables-2-54mm-1P-1P-20-CM-long-a-row-of-40-root-For-Arduino-/170821119805?pt=LH_DefaultDomain_0&hash=item27c5bb6f3d (http://www.ebay.com/itm/40P-color-dupont-cables-2-54mm-1P-1P-20-CM-long-a-row-of-40-root-For-Arduino-/170821119805?pt=LH_DefaultDomain_0&hash=item27c5bb6f3d)
los que se llaman igual, son el mismo pin; conecta uno de ellos, el que más rabie te dé. Los NC no se conectan.
Saludos.
Gracias de nuevo.
Ya tengo esos cables. SI quito los NCs me quedan estos:
Placa - JTAG
TX
GND - GND
VCC - VCC
RX
TDI
TMS
TDO - TDO
TRST
TCK - TCK
Estos donde van?
TMS
TDI
Muchas gracias de nuevo.
Saludos.
-
sigue el serigrafiado en la placa del router y no hay pérdida... es algo como esto:
(http://i241.photobucket.com/albums/ff178/ejbs/hg622jtag_zps98a8868e.jpg) (http://s241.photobucket.com/user/ejbs/media/hg622jtag_zps98a8868e.jpg.html)
Saludos.
-
sigue el serigrafiado en la placa del router y no hay pérdida... es algo como esto:
(http://i241.photobucket.com/albums/ff178/ejbs/hg622jtag_zps98a8868e.jpg) (http://s241.photobucket.com/user/ejbs/media/hg622jtag_zps98a8868e.jpg.html)
Saludos.
Gracias!
He creado otro hilo para dejar este para el desarrollo: https://foro.seguridadwireless.net/openwrt/jtag-para-huawei-hg622/
Muchas gracias.
Saludos.
-
Hola a todos.
Creo que ya he hecho el backup de los datos "cal_data". He intentado instalar la imagen de openwrt desde la interfaz web (Firmware Upgrade) pero me dice "File format error."
¿Como se puede hacer por TFTP?
Muchas gracias a todos por vuestra ayuda.
Saludos.
-
entiendo que el interfaz web es desde el firmware de jazztel no?
- para flashear montas un servidor tftp, como por ejemplo el tftpd-hpa (apt-get install tftpd-hpa)
- editas el ficher /etc/default/tftpd-hpa, poniendo la ruta donde iran los firmwares en TFTP_DIRECTORY (por ejemplo /home/zorrua/tftp):
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/home/zorrua/tftp"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"
- reinicias el servicio: sudo service tftpd-hpa restart
- arrancas el router y pulsas una tecla desde la consola serial para acceder a la línea de comandos del CFE antes de 3 segundos
- configuras la IP de tu PC como 192.168.1.100
- pones el firmware con el nombre bcm963xx_fs_kernel en tu directorio de servidor tftpd.
- pones f en la línea de comandos del CFE.
y debería comenzar el flasheo...
pd: este CFE no deja cambiar los parámetros por defecto.. flasheando el CFE del modelo chino, si deja, pero cambia el nombre de la placa...
-
Gracias!
Lo que no entiendo es lo de "pulsas una tecla desde la consola serial". ¿Tengo que hacerlo conectando los pines en la placa?
Gracias de nuevo.
-
claro, pones tu conversor TTL con los pines TX-RX-GND y abres una consola tipo
screen /dev/ttyUSB0 115200
o con el minicom
minicom -D /dev/ttyUSB0 -b 115200
y verás como va arrancando el router y tal... en un punto te sale lo de pulsar una tecla antes de una cuenta atrás de 3 segundos, para acceder a la línea de comandos del CFE donde ejecutas el comando f, una vez tengas configurada la IP y el servidor TFTP en tu PC...
Saludos.
-
pones tu conversor TTL con los pines TX-RX-GND
Gracias de nuevo.
En la parte de la placa pone etiquetado cuales son TX, RX y GND, pero en la parte del coversor no lo tengo tan claro. Segun las etiquetas de arriba tengo esto:
TCK
TDO
TMS
NC
TDI
GND
VCC
NC
NC
GND
¿Me puedes decir cual va con cada PIN?
Muchas gracias por todo.
Saludos.
-
pues necesitas otra cosita más:
http://www.ebay.com/itm/New-USB-2-0-to-TTL-UART-6PIN-Module-Serial-Converter-CP2102-STC-PRGMR-Free-cable-/310511987503?pt=LH_DefaultDomain_0&hash=item484bf4eb2f
:( :( :(
-
pues necesitas otra cosita más:
http://www.ebay.com/itm/New-USB-2-0-to-TTL-UART-6PIN-Module-Serial-Converter-CP2102-STC-PRGMR-Free-cable-/310511987503?pt=LH_DefaultDomain_0&hash=item484bf4eb2f
:( :( :(
jejeje, ya lo he pedido. Ahora toca esperar.
Gracias de nuevo.
Saludos.
-
Una cosa que no termino de entender: ¿porqué usar un JTAG para hacer un backup del cal_data? Si como dice gmtii la partición ya está definida debería poderse copiar instalando openwrt. Yo compilaría una imagen pequeña con soporte usb y haría lo siguiente:
mount /dev/sdaX /mnt
dd if=/dev/mtd3 of=/mnt/cal_data.bin
Bueno, no estoy seguro de que sea mtd3, pero se puede averiguar fácil:
cat /proc/partitions
cat /proc/mtd
-
Una cosa que no termino de entender: ¿porqué usar un JTAG para hacer un backup del cal_data? Si como dice gmtii la partición ya está definida debería poderse copiar instalando openwrt. Yo compilaría una imagen pequeña con soporte usb y haría lo siguiente:
mount /dev/sdaX /mnt
dd if=/dev/mtd3 of=/mnt/cal_data.bin
Bueno, no estoy seguro de que sea mtd3, pero se puede averiguar fácil:
cat /proc/partitions
cat /proc/mtd
Hola, lo hago asi porque no sabia hacerlo de otra forma, xD.
Para poder instalar necesito el otro dispositivo USB, asi que cuando me llegue lo pruebo.
Saludos.
-
cierto es, pero cuento la historia: la primera compilación me cepille el cal_data por descuidado. Ahora que sé el offset
con seguridad gracias a zorrua, el firmware debería ser totalmente seguro y no sería preciso el jtag.
Saludos.
-
Hola de nuevo, ya me ha llegado el conversor TTL.
He probado con screen pero me falla:
$ screen /dev/ttyUSB0 115200
[screen is terminating]
Parece que el dispositivo se inicia bien:
$ dmesg
...
[ 338.168202] usb 2-1: new full-speed USB device number 3 using uhci_hcd
[ 338.326541] usb 2-1: New USB device found, idVendor=10c4, idProduct=ea60
[ 338.326549] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 338.326556] usb 2-1: Product: CP2102 USB to UART Bridge Controller
[ 338.326561] usb 2-1: Manufacturer: Silicon Labs
[ 338.326565] usb 2-1: SerialNumber: 0001
[ 338.425605] usbcore: registered new interface driver usbserial
[ 338.425625] USB Serial support registered for generic
[ 338.425687] usbcore: registered new interface driver usbserial_generic
[ 338.425689] usbserial: USB Serial Driver core
[ 338.454969] USB Serial support registered for cp210x
[ 338.455021] cp210x 2-1:1.0: cp210x converter detected
[ 338.564182] usb 2-1: reset full-speed USB device number 3 using uhci_hcd
[ 338.709032] usb 2-1: cp210x converter now attached to ttyUSB0
[ 338.709083] usbcore: registered new interface driver cp210x
[ 338.709088] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
Me falta algun paquete por instalar?
Muchas gracias por todo.
Saludos.
-
No, pero para que screen pueda acceder a /dev/ttyUSB0 tienes que ser superusuario.
Quizá sea mejor usar minicom o cutecom... >:D
-
No, pero para que screen pueda acceder a /dev/ttyUSB0 tienes que ser superusuario.
Quizá sea mejor usar minicom o cutecom... >:D
Gracias, he probado con minicon y root y me lee:
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 3
Boot image (0=latest, 1=previous) : 0
Board Id (0-5) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:e0:fc:xx:xx:xx
PSI Size (1-64) KBytes : 64
Main Thread Number [0|1] : 0
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 0
Support Double system.
Flash boot Flag:
Boot from main system!
El problema es que pulso cualquier tecla y no me hace nada.
¿Tengo que tener configurado el PC con la IP 192.168.1.100?
Estoy un poco perdido.
Gracias por todo.
Edito: borro la direccion MAC
-
Buenas,
Revisa el pin de TX de tu conversor que esté en el pin adecuado; además debes desactivar el control de flujo hardware en el Minicom.
Mejor haz un
sudo minicom -s
y asegurate que la opción de control de flujo está desactivada.
Saludos.
-
Buenas,
Revisa el pin de TX de tu conversor que esté en el pin adecuado; además debes desactivar el control de flujo hardware en el Minicom.
Mejor haz un
sudo minicom -s
y asegurate que la opción de control de flujo está desactivada.
Saludos.
Gracias, los pines los he conectador de esta forma (TTL -> placa):
GND -> GND
TX -> RX
RX -> TX
El pin RX del TTL lo he conectado en el TX de la placa. ¿Es asi?
Lo de desactivar el control de flujo hardware de minicom no se como hacerlo.
Si ejecuto "minicom -s" me aparece esto:
+-----[configuration]------+
| Filenames and paths |
| File transfer protocols |
| Serial port setup |
| Modem and dialing |
| Screen and keyboard |
| Save setup as dfl |
| Save setup as.. |
| Exit |
| Exit from Minicom |
+--------------------------+
¿Que hago aqui?
Muchas gracias de nuevo.
Saludos.
-
en serial port setup, lo pones todo así
+-----------------------------------------------------------------------+
| A - Serial Device : /dev/ttyUSB0 |
| B - Lockfile Location : /var/lock |
| C - Callin Program : |
| D - Callout Program : |
| E - Bps/Par/Bits : 115200 8N1 |
| F - Hardware Flow Control : No |
| G - Software Flow Control : No |
| |
| Change which setting? |
+-----------------------------------------------------------------------+
y luego haces un save default y a correr!
-
Creo que ya va.
Lo he configurado en "Serial port setup" y he desactivado el flow control.
Ahora me deja parar el proceso boot:
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 1
web info: Waiting for connection on socket 0.
CFE> f
Loading 192.168.1.100:bcm963xx_fs_kernel ...
Loading failed.: CFE error -21
*** command status = -21
He configurado mi PC con la IP 192.168.1.100 y he instalado "tftpd". He dejado el fichero "openwrt-HG622-generic-squashfs-cfe.bin" en /srv/tftp/.
Creo que me queda poco. ¿Tengo renombrar la imagen? ¿Me falta algo?
Muchas gracias de nuevo.
Saludos.
-
exacto, tienes que llamar la imagen bcm963xx_fs_kernel
-
Gracias de nuevo, esta vez si que ha funcionado, pero no arranca bien.
Al reiniciar no encuentro la red wireless, y al conectar el cable no me da ninguna IP.
He vuelto a conectar el conversor TTL y es esto el log, veo que existen muchos errores: http://paste.debian.net/plain/47625
La imagen es la que esta colgada en dropbox en este mismo hilo.
Pruebo a compilar la imagen? O ya esa imagen es la ultima version?
Gracias de nuevo por vuestra ayuda.
Saludos.
-
Pon esto en la línea de comandos una vez que arranque
mtd erase -r rootfs_data && reboot
Y pones el log otra vez a ver....
Enviado desde mi GT-P6810 usando Tapatalk 2
-
Gracias de nuevo,
He probado a meter esto en el arranque:
CFE> mtd erase -r rootfs_data && reboot
Invalid command: "mtd"
Available commands: sm, dm, w, e, r, p, c, f, i, b, reset, flashimage, help
*** command status = -1
No se si te refieres a esto con la linea de comandos.
Saludos.
-
nor! digo cuando termine de 'arrancar' el openwrt no te sale una linea de comandos con el mensajito de bienvenida? ahí es donde debes poner el comandito...
-
jejeje, me faltaba darle a la tecla enter para entrar a la linea de comandos.
He ejecutado los comandos y parece que va bien. Me asigna IP mediante DHCP por el cable de red, pero no entra a LuCI por el http://192.168.1.1, ¿no esta habilitado en la imagen?
Os pongo la salida de arranque: http://paste.debian.net/plain/47639
Quiero probar a compilar una imagen con LuCI, ¿podeis pasarme el fichero ".config" con lo basico para la placa y la tarjeta wireless?
Muchas gracias por todo.
Saludos!
-
Hola, he compilado una imagen con LuCI, pero no encuentro la imagen para el router HG622, esto es lo que tengo:
$ ls -lh bin/brcm63xx/
total 249M
-rw-r--r-- 1 zorrua zorrua 5.5K Oct 1 10:05 md5sums
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-6338GW-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-6338W-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-92345GW2-rev-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 8.1M Oct 1 10:05 openwrt-963281TAN-16M-flash-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-963281TAN-4M-flash-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 4.1M Oct 1 10:05 openwrt-963281TAN-8M-flash-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 8.1M Oct 1 10:05 openwrt-963281T_TEF-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 4.1M Oct 1 10:05 openwrt-963281T_TEF-lat-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 8.1M Oct 1 10:05 openwrt-96328A-1241N-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 8.1M Oct 1 10:05 openwrt-96328A-1441N1-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 8.1M Oct 1 10:05 openwrt-96328avng-16M-flash-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96328avng-4M-flash-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 4.1M Oct 1 10:05 openwrt-96328avng-8M-flash-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96345GW2-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96348A-122-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96348GW-10-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96348GW-11-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96348GW2-bc221-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96348GW-bc221-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96348GW-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96348R-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96358VW2-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96358VW-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96368MVNgr-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-96368MVWG-generic-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-A226G-cfe-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-A226G-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.7M Oct 1 10:05 openwrt-A226M-cfe-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.7M Oct 1 10:05 openwrt-A226M-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.7M Oct 1 10:05 openwrt-AGV2+W-cfe-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.7M Oct 1 10:05 openwrt-AGV2+W-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 1.5M Oct 1 10:05 openwrt-brcm63xx-generic-root.squashfs
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-BTV2091_BTR-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-BTV2091_ROI_WB-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-BTV210_BTR-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-BTV210_ROI_WB-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-BTV2110-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-BTV220V_MGCP_BTR-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-BTV2500V-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-CPA-ZNTE60T-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-CT536_CT5621-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-CT6373-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 3.2M Oct 1 10:05 openwrt-cvg834g-squashfs.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-DG834GT_DG834PN-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-DSL2640B-B2-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-DSL2650U-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-DSL274XB-C2-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-DSL274XB-C3-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 4.1M Oct 1 10:05 openwrt-DSL274XB-F1-AU-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 4.1M Oct 1 10:05 openwrt-DSL274XB-F1-EU-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-DV201AMR-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-DVAG3810BN-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-F5D7633-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-F@ST2404-cfe-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-F@ST2404-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-F@ST2604-cfe-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-F@ST2604-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-GW6000-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-GW6200-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.7M Oct 1 10:05 openwrt-HW553-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.7M Oct 1 10:05 openwrt-HW556-squashfs-cfe.bin
-rwxr-xr-x 1 zorrua zorrua 3.2M Oct 1 10:05 openwrt-livebox-vmlinux.elf
-rw-r--r-- 1 zorrua zorrua 1.5M Oct 1 10:05 openwrt-livebox-vmlinux.gz
-rw-r--r-- 1 zorrua zorrua 1.1M Oct 1 10:05 openwrt-livebox-vmlinux.lzma
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-NEUFBOX4-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-NEUFBOX6-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.7M Oct 1 10:05 openwrt-RG100A_DB120-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-RTA1025W_16-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-RTA1320_16M-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 4.1M Oct 1 10:05 openwrt-SPW303V-squashfs-cfe-factory.bin
-rw-r--r-- 1 zorrua zorrua 4.1M Oct 1 10:05 openwrt-SPW303V-squashfs-cfe-sysupgrade.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-SPW500V-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-TD8900GB-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-TP8810_8811-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 2.6M Oct 1 10:05 openwrt-USR9108-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 4.1M Oct 1 10:05 openwrt-VR-3025un-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 17M Oct 1 10:05 openwrt-VR-3025u-squashfs-cfe.bin
-rw-r--r-- 1 zorrua zorrua 4.1M Oct 1 10:05 openwrt-WAP-5813n-squashfs-cfe.bin
drwxr-xr-x 2 zorrua zorrua 4.0K Oct 1 10:05 packages
He compilado de esta forma:
git clone git://github.com/Pteridium/openwrt.git
cd openwrt/
./scripts/feeds update -a
./scripts/feeds install -a
make prereq
make menuconfig
#Target System (Broadcom BCM63xx)
#Target Profile (Ralink WiFi)
make -j 3 V=cs
No se si estoy haciendo algo mal.
Gracias por todo.
Saludos.
-
En el primer post del hilo se comenta que para compilar hay que usar: https://github.com/Pteridium/openwrt/tree/bcm63xx-r36529
Pero espera a que gmtii o Pteridium te lo confirmen.
De todas formas si ya tienes OpenWrt funcionando, puedes descargar e instalar LuCi desde una conexión ssh (siempre y cuando el router tenga conexión a internet).
-
En el primer post del hilo se comenta que para compilar hay que usar: https://github.com/Pteridium/openwrt/tree/bcm63xx-r36529
Pero espera a que gmtii o Pteridium te lo confirmen.
De todas formas si ya tienes OpenWrt funcionando, puedes descargar e instalar LuCi desde una conexión ssh (siempre y cuando el router tenga conexión a internet).
Gracias, he compilado usando ese repositorio y ahora si que me aparece:
$ ls -lh openwrt-bcm63xx-r36529/bin/brcm63xx/ | grep HG622
-rw-r--r-- 1 zorrua zorrua 4.1M Oct 1 16:49 openwrt-HG622-generic-jffs2-128k-cfe.bin
-rw-r--r-- 1 zorrua zorrua 4.1M Oct 1 16:49 openwrt-HG622-generic-jffs2-64k-cfe.bin
-rw-r--r-- 1 zorrua zorrua 4.1M Oct 1 16:49 openwrt-HG622-generic-squashfs-cfe.bin
¿Cual de ellos tengo que instalar? Una vez que instale una imagen con LuCI, ¿podre actualizar la imagen desde el panel web? Ya que tener que desmontar el router y conectarle el adaptador TTL con los pines es un poco rollazo.
Gracias a todos por vuestra ayuda.
Saludos.
-
Tienes que instalar la última.
Y sí, imagino que deberías poder actualizar después desde LuCi.
Enviado desde mi CUBOT GT99 usando Tapatalk
-
Gracias de nuevo,
Tengo problemas para instalar la imagen:
CFE> f
Loading 192.168.1.100:bcm963xx_fs_kernel ...
Finished loading 4194560 bytes
Linux file system CRC error. 222 Corrupted image?
Flashing root file system and kernel at 0xb8020000: ............................
Clear Flags ok!
.
*** Image flash done *** !
CFE timeout,reboot
Resetting board...
Puede que mi imagen este mal, me vuelve a cargar la imagen anterior.
¿Es posible que alguien compile una imagen "tipica" para este router? LuCI, transmission, htop, nano, ext3, ext4, samba...
Seguire intentando compilar de nuevo.
Otra duda, ¿es posible instalar una imagen desde consola? ¿sin tener LuCI?
Gracias y hasta pronto.
-
Puede que mi imagen este mal, me vuelve a cargar la imagen anterior.
El problema que estás teniendo es culpa de gmtii y mía. Mañana lo corrijo.
Si quieres compilar una imagen esta noche sólo tienes que cambiar --4 por --8 aquí: https://github.com/Pteridium/openwrt/blob/bcm63xx-r36529/target/linux/brcm63xx/image/Makefile#L192
Disculpa las molestias. :-[
-
Puede que mi imagen este mal, me vuelve a cargar la imagen anterior.
El problema que estás teniendo es culpa de gmtii y mía. Mañana lo corrijo.
Si quieres compilar una imagen esta noche sólo tienes que cambiar --4 por --8 aquí: https://github.com/Pteridium/openwrt/blob/bcm63xx-r36529/target/linux/brcm63xx/image/Makefile#L192
Disculpa las molestias. :-[
No hace falta que te disculpes, faltaria...
Ya lo he instalado con las opciones que queria (htop, nano...). Me ha costado lo mio entender que en el menuconfig tenia que poner "*" en vez de "M", jejeje.
Al final he no me ha dado el error de CRC y va bien, lo unico, que no tengo interfaz wireless. ¿Debo de activar algo en el menuconfig?
El router pinta muy bien.
Gracias a todos por vuestra ayuda.
Saludos.
-
tienes que tener el 'profile' ralink
Target Profile (Ralink WiFi) --->
y revisas que en wireless drivers tengas los rt2x00 y rt2800 pci activados...
recuerda que una vez instalado, salvo los modulos de kernel, casi todo lo puedes añadir con el gestor de paquetes opkg sin tener que andar recompilando, como por ejemplo el luci:
opkg update
opkg install luci
la imagen que instalarás será por general la squashfs.
saludos.
-
tienes que tener el 'profile' ralink
Target Profile (Ralink WiFi) --->
y revisas que en wireless drivers tengas los rt2x00 y rt2800 pci activados...
recuerda que una vez instalado, salvo los modulos de kernel, casi todo lo puedes añadir con el gestor de paquetes opkg sin tener que andar recompilando, como por ejemplo el luci:
opkg update
opkg install luci
la imagen que instalarás será por general la squashfs.
saludos.
Gracias!
Tenia que habilitar los rt2x00 y rt2800 pci.
Ahora ya me funciona bien, ademas con wifi N!!!
Una pregunta, es posible habilitar los leds de los puertos LAN? No se encienden cuando conecto un cable en cualquier puerto.
Gracias por todo.
Saludos.
-
Otra pregunta, si quiero actualizar la imagen, ¿es necesario hacerlo con TFTP mediante el CFE? O ya se puede flashear desde la interfaz web?
Gracias por todo.
Saludos.
-
Hola,
Pues no he probado... inténtalo y nos cuentas ;D
Otra pregunta, si quiero actualizar la imagen, ¿es necesario hacerlo con TFTP mediante el CFE? O ya se puede flashear desde la interfaz web?
Gracias por todo.
Saludos.
-
Hola,
Pues no he probado... inténtalo y nos cuentas ;D
Hola, lo he probado y nada, se queda bloqueado. Lo instalo desde LuCI, pero parece como que no llega a reiniciar. Lo reinicio desde el boton (apagar y encender) y nada, no puedo obtener IP, es como si se quedara en algun proceso del arranque. Ahora no tengo a mano el cable JTAG para ver que esta pasando. ¿Alguien lo puedo comprobar que le pasa lo mismo?
Otra cosa, al compilar la imagen me da este error:
perl scripts/headers_install.pl /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/tc_ematch mips /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/tc_ematch/tc_em_cmp.h /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/tc_ematch/tc_em_meta.h /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/tc_ematch/tc_em_nbyte.h /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/tc_ematch/tc_em_text.h ; for F in ; do echo "#include <asm-generic/$F>" > /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/tc_ematch/$F; done; touch /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/tc_ematch/.install
make -rR -f /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/scripts/Makefile.headersinst obj=include/uapi/linux/usb dst=include/uapi/linux/usb
perl scripts/headers_install.pl /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/usb mips /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/usb/audio.h /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/usb/cdc.h /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/usb/ch11.h /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/usb/ch9.h /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/usb/functionfs.h /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/usb/g_printer.h /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/usb/gadgetfs.h /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/usb/midi.h /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/usb/tmc.h /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/usb/video.h ; for F in ; do echo "#include <asm-generic/$F>" > /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/usb/$F; done; touch /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/usb/.install
make -rR -f /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/scripts/Makefile.headersinst obj=include/uapi/linux/wimax dst=include/uapi/linux/wimax
perl scripts/headers_install.pl /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/wimax mips /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/wimax/i2400m.h ; for F in ; do echo "#include <asm-generic/$F>" > /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/wimax/$F; done; touch /home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/wimax/.install
make[7]: execvp: /bin/sh: Argument list too long
make[7]: *** [/home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/.install] Error 127
make[6]: *** [linux] Error 2
make[5]: *** [headers_install] Error 2
make[5]: Leaving directory `/home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11'
make[4]: *** [/home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/.configured] Error 2
make[4]: Leaving directory `/home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/target/linux/brcm63xx'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529'
make[1]: *** [/home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529/staging_dir/target-mips_uClibc-0.9.33.2/stamp/.target_compile] Error 2
make[1]: Leaving directory `/home/zorrua/Desktop/openwrt/openwrt-bcm63xx-r36529'
make: *** [world] Error 2
Vuelvo a ejecutar el "make" y me finaliza bien, no es un problema grande ya que tiene solucion (repetir el make), pero lo comento por si se puede arreglar.
Saludos y hasta pronto.
Edición: workaround para que no se descuadre el hilo. Perdón por la chapuza.
-
Buenas,
En el repositorio de Pteridium ha habido muchos cambios en las ultimas semanas.
¿Afectan para este router?
Saludos.
-
Buenas,
En el repositorio de Pteridium ha habido muchos cambios en las ultimas semanas.
¿Afectan para este router?
Saludos.
Gracias por recordármelo; me olvidé de él completamente. :-[ :-[ :-[
-
Buenas,
En el repositorio de Pteridium ha habido muchos cambios en las ultimas semanas.
¿Afectan para este router?
Saludos.
Gracias por recordármelo; me olvidé de él completamente. :-[ :-[ :-[
De nada, xD.
¿Crees que se podra solucionar el problema de tener que flashear la imagen desde JTAG?
Al no tener CFE, es un peñazo andar desmontando el router para poder flashear nuevas imagenes.
Gracias por tu curro.
Saludos.
-
Buenas,
En el repositorio de Pteridium ha habido muchos cambios en las ultimas semanas.
¿Afectan para este router?
Saludos.
Añadido soporte para el HG622. No he podido probarlo, así que alguien tendrá que hacer de betatester. ^-^
¿Crees que se podra solucionar el problema de tener que flashear la imagen desde JTAG?
No necesitas jtag necesariamente; con tener cable serie y un servidor tftp ya está.
https://foro.seguridadwireless.net/openwrt/%28desarrollo%29-openwrt-en-huawei-hg622/msg283572/#msg283572
Al no tener CFE, es un peñazo andar desmontando el router para poder flashear nuevas imagenes.
Gracias por tu curro.
Saludos.
Dudo mucho que se pueda hacer nada a ese respecto. Si te vale de consuelo, con el VR-3025un, cada vez que necesito cargar algo desde CFE tengo que usar el cable serie.
-
Buenas, gracias por responder.
Si, cuando decia lo del JTAG, me referia al serial, asi que seguire desmontado el router, xD.
En que repositorio has hecho los cambios? En el que esta en el primer post?
Gracias y hasta pronto.
-
Buenas, gracias por responder.
Si, cuando decia lo del JTAG, me referia al serial, asi que seguire desmontado el router, xD.
En que repositorio has hecho los cambios? En el que esta en el primer post?
Gracias y hasta pronto.
En este:
https://github.com/Pteridium/Attitude-Adjustment-ARV4518PWR01
Para descargarlo seguro que ya sabes. ;)
-
Hola.
Ya que éste es el hilo de desarrollo del HG622 a ver si alguien me puede responder a esto que me está volviendo loco:
El bootloader del HG622 tiene un timeout que hace que a los pocos segundos de haberlo parado se resetee y vuelva a ejecutarse la rutina de carga con lo que hacer algo en poco menos que 15 segundos es una odisea. ¿Alguien sabe cómo quitar ese timeout o watchdog o lo que sea?
Esto es lo que aparece al pulsar una tecla para parar la carga y cómo a los pocos segundos se resetea y vuelve a reiniciarse:
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 1
web info: Waiting for connection on socket 0.
CFE>
CFE timeout,reboot
Resetting board...
CFE version 1.0.37-102.6 for BCM96368 (32bit,SP,BE)
Build Date: Mon May 30 22:11:43 CST 2011 (wangzhiquan@whg.build.huawei.com)
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
CPU type 0x2A031: 400MHz, Bus: 160MHz, Ref: 64MHz
CPU running TP0
Total memory: 33554432 bytes (32MB)
Boot Address 0xb8000000
-
Al fin he tenido éxito para flashear openWRT en un HG622.
Después de más de 30 intentos en que todas las transmisiones por TFTP se cortaban por el dichoso timeout he conseguido una transmisión completa y se ha puesto a quemar la flash. Mi miedo era que en mitad del quemado hiciera un timeout y mandara el router a hacer gárgaras, pero parece que al ponerse a quemar la flash el timeout no sucede.
No sé tampoco si tendrá que ver o no pero no he utilizado el comando "f" a secas, sino
"f 192.168.1.100:bcm963xx_fs_kernel" con en el que le podemos decir el servidor para conectarnos y el fichero a quemar (sí, ya sé que son los parámetros por defecto pero al ponérselos ha funcionado), por supuesto haciendo un corta pega en el Hyperterminal de Windows porque sino no da tiempo a teclear.
Ahora que tengo el openWRT en el router espero no tener que volver a utilizar este dichoso bootloader :P
-
Al fin he tenido éxito para flashear openWRT en un HG622.
Después de más de 30 intentos en que todas las transmisiones por TFTP se cortaban por el dichoso timeout he conseguido una transmisión completa y se ha puesto a quemar la flash. Mi miedo era que en mitad del quemado hiciera un timeout y mandara el router a hacer gárgaras, pero parece que al ponerse a quemar la flash el timeout no sucede.
No sé tampoco si tendrá que ver o no pero no he utilizado el comando "f" a secas, sino
"f 192.168.1.100:bcm963xx_fs_kernel" con en el que le podemos decir el servidor para conectarnos y el fichero a quemar (sí, ya sé que son los parámetros por defecto pero al ponérselos ha funcionado), por supuesto haciendo un corta pega en el Hyperterminal de Windows porque sino no da tiempo a teclear.
Ahora que tengo el openWRT en el router espero no tener que volver a utilizar este dichoso bootloader :P
Hola,
¿que version de OpenWRT has instalado? ¿la ultima de Noltari?
Si es asi, puedes subir la imagen para poder probarla?
Lo "malo" de este router es que es necesario abrir y conectar los cablecitos para poder flashear.
Gracias y hasta pronto.
-
Hola,
¿que version de OpenWRT has instalado? ¿la ultima de Noltari?
Si es asi, puedes subir la imagen para poder probarla?
Lo "malo" de este router es que es necesario abrir y conectar los cablecitos para poder flashear.
Gracias y hasta pronto.
Sí, es la que hay en el hilo Barrier Breaker 13.12 https://foro.seguridadwireless.net/openwrt/%28repositorio%29-barrier-breaker-13-12/ (https://foro.seguridadwireless.net/openwrt/%28repositorio%29-barrier-breaker-13-12/)
Hay un par de cosas que no me terminan de ir bien, como he comentado en ese hilo.
Si quieres probarla mándame un privado.
Un saludo.
-
Buenas,
Alguien tiene alguna compilacion con 14.04? Dicen que en otros routers va muy bien.
Saludos.
-
Buenas alguien sabes si es posible meter este firm desde windows de alguna manera ?? Tengo este router con jazztel y me gustaria tener mas opciones en el.Un saludo y gracias
-
Buenas alguien sabes si es posible meter este firm desde windows de alguna manera ?? Tengo este router con jazztel y me gustaria tener mas opciones en el.Un saludo y gracias
Perderías el xDSL.
Saludos.
-
Buenas,
¿Se sigue con el desarrollo de este router?
He visto que otros routers parecidos estan siendo añadidos al repositorio oficial de openwrt, pero de este hace mucho que no tengo noticias.
Saludos a todos.
-
Sí, pero Noltari necesita un "conejillo de indias" para probar los parches.
Si todo va ok se añade (o ese es el plan, creo recordar).
-
Yo podria probar alguna imagen.
Los parches donde estan?
Saludos.
-
Sigo estando disponible para hacer de "conejillo de indias" para probar los parches.
Ya se ha añadido el codigo a OpenWRT?
Gracias por todo y hasta pronto.
Saludos.
-
Muy buenas,
Estoy intentando compilar una imagen para este router, lo he probado con este repositorio:
https://github.com/Pteridium/openwrt/tree/bcm63xx-r36529
Al hacer el "./scripts/feeds update -a" me da estos problemas con repositorios:
Updating feed 'luci' from 'git://github.com/Noltari/openwrt-luci.git;r9812' ...
Cloning into './feeds/luci'...
fatal: remote error:
Repository not found.
failed.
Updating feed 'routing' from 'git://github.com/Noltari/openwrt-routing.git;b2ff4782d06d779c22e2b66f60afca3ece9261fe' ...
Cloning into './feeds/routing'...
warning: Could not find remote branch b2ff4782d06d779c22e2b66f60afca3ece9261fe to clone.
fatal: Remote branch b2ff4782d06d779c22e2b66f60afca3ece9261fe not found in upstream origin
failed.
Updating feed 'telephony' from 'git://github.com/Noltari/openwrt-telephony.git;facfafb4c6dba388dd44ccf76bc5917cc77bbbf2' ...
Cloning into './feeds/telephony'...
fatal: remote error:
Repository not found.
failed.
Y al compilar me da este otro error:
perl scripts/headers_install.pl /root/openwrt-abandoned-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/wimax mips
/root/openwrt-abandoned-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/include/uapi/linux/wimax/i2400m.h ;
for F in ; do echo "#include <asm-generic/$F>" > /root/openwrt-abandoned-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/wimax/$F;
done; touch /root/openwrt-abandoned-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/wimax/.install
make[7]: execvp: /bin/sh: Argument list too long
make[7]: *** [/root/openwrt-abandoned-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/user_headers/include/linux/.install] Error 127
make[6]: *** [linux] Error 2
make[5]: *** [headers_install] Error 2
make[5]: Leaving directory `/root/openwrt-abandoned-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11'
make[4]: *** [/root/openwrt-abandoned-bcm63xx-r36529/build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.8.11/.configured] Error 2
make[4]: Leaving directory `/root/openwrt-abandoned-bcm63xx-r36529/target/linux/brcm63xx'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/root/openwrt-abandoned-bcm63xx-r36529/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/root/openwrt-abandoned-bcm63xx-r36529'
make[1]: *** [/root/openwrt-abandoned-bcm63xx-r36529/staging_dir/target-mips_uClibc-0.9.33.2/stamp/.target_compile] Error 2
make[1]: Leaving directory `/root/openwrt-abandoned-bcm63xx-r36529'
make: *** [world] Error 2
Despues he probado con este repositorio:
https://github.com/Pteridium/Attitude-Adjustment-ARV4518PWR01
Pero el compilar me da este otro error:
WARNING: skipping libipq -- package not selected
make[3]: Leaving directory `/root/Attitude-Adjustment-ARV4518PWR01-master/package/iptables'
make[2]: Leaving directory `/root/Attitude-Adjustment-ARV4518PWR01-master'
make[1]: *** [/root/Attitude-Adjustment-ARV4518PWR01-master/staging_dir/target-mips_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/root/Attitude-Adjustment-ARV4518PWR01-master'
make: *** [world] Error 2
¿Desde que repositorio puedo compilar? ¿Alguien tiene alguna imagen que le funcione?
Saludos.
-
Intenta utilizar este: https://foro.seguridadwireless.net/openwrt/(repositorio)-barrier-breaker-13-12/msg298190/#msg298190 (https://foro.seguridadwireless.net/openwrt/(repositorio)-barrier-breaker-13-12/msg298190/#msg298190)
También puedes intentar este, aunque Noltari no dice expresamente si está soportado: https://foro.seguridadwireless.net/openwrt/(repositorio)-barrier-breaker-14-07-rc3/msg314613/#msg314613 (https://foro.seguridadwireless.net/openwrt/(repositorio)-barrier-breaker-14-07-rc3/msg314613/#msg314613)
-
Intenta utilizar este: https://foro.seguridadwireless.net/openwrt/(repositorio)-barrier-breaker-13-12/msg298190/#msg298190 (https://foro.seguridadwireless.net/openwrt/(repositorio)-barrier-breaker-13-12/msg298190/#msg298190)
También puedes intentar este, aunque Noltari no dice expresamente si está soportado: https://foro.seguridadwireless.net/openwrt/(repositorio)-barrier-breaker-14-07-rc3/msg314613/#msg314613 (https://foro.seguridadwireless.net/openwrt/(repositorio)-barrier-breaker-14-07-rc3/msg314613/#msg314613)
Gracias, he descargado los dos repositorios y si hago un [grep -r "hg622" .], solo tengo codigo de este router en este repositorio:
git clone git://github.com/openwrt-es/barrier-breaker-openwrt.git -b barrier-breaker_13.12
En el otro repositorio no tnego nada.
Voy a compilar y a ver como va, os tendre informados.
Gracias por la ayuda.
Saludos.
-
Buenas, ya he compilado una imagen desde este repositorio:
git clone git://github.com/openwrt-es/barrier-breaker-openwrt.git -b barrier-breaker_13.12
El problema lo tengo para poder flashear desde el CFE. He configura el TFTP en el 192.168.1.100, pero cuando le doy al comando "f" me da esto:
CFE> f
Loading 192.168.1.100:bcm963xx_fs_kernel ...
Loading failed.: CFE error -21
*** command status = -21
He probado con otra imagen que existe en este post, pero me da el mismo error.
Si dejo que arranque me da esto:
CFE>
CFE timeout,reboot
Resetting board...
CFE version 1.0.37-102.6 for BCM96368 (32bit,SP,BE)
Build Date: Sun Jul 24 16:58:20 CST 2011 (wangxinfeng@build.huawei.com)
Copyright (C) 2000-2008 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
CPU type 0x2A031: 400MHz, Bus: 160MHz, Ref: 64MHz
CPU running TP0
Total memory: 33554432 bytes (32MB)
Boot Address 0xb8000000
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 3
Boot image (0=latest, 1=previous) : 0
Board Id (0-5) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:e0:fc:xx:xx:xx (lo oculto)
PSI Size (1-64) KBytes : 64
Main Thread Number [0|1] : 0
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 0
Support Double system.
Flash boot Flag:
Boot from main system!
Linux kernel CRC error. Corrupted image? ../../../cfe/arch/mips/board/bcm63xx_ram/src/bcm63xx_cmd.c 749
Image error !Entry address:0xffffffff puiCmpImage:0xb8010100
Double system MAIN boot failed !
MAIND first Double Image is error boot failed !
System can not boot,go to CFE
web info: Waiting for connection on socket 0.
Me falta por configurar algo?
Gracias por todo y hasta pronto.
-
A mi me da la sensación que el problema está en tu ordenador. Funciona bien el servidor TFTP?
A veces podría ocurrir que si CFE no encuentra una imagen sana, éste se queda atontado y puede fallar a la hora de enviarle otros comandos, no es probable pero sí posible. Me ocurrió cierta vez con otro router diferente a este.
Supongo que este CFE no tiene interfaz web. He visto varios posts más atrás que tienes un adaptador JTAG que funciona con este router. Creo que podría compilar un CFE para esta placa con interfaz web, si te interesa probar asumiendo los riesgos que implica jugar con el bootloader.
Saludos.
-
@zorrua: es curioso; tenemos el mismo bootloader 1.0.37-102.6, pero con ditinta fecha y compilación
Build Date: Mon May 30 22:11:43 CST 2011 wangzhiquan@whg.build.huawei.com
El caso es que mi bootloader se resetea en 15 segundos y apenas da tiempo a teclear nada antes de que se haga un reset. Cargar algo por TFTP es una carrera contrarreloj y muchas veces no me da tiempo a teclear el comando completo. :-\
También me pasaba que openwrt sólo podía quemarlo a través del bootloader. Si lo intentaba a través de luci acababa en ladrillo y tenía que volver a quemar la misma imagen a través del CFE.
-
Como andaba metido de lleno en el tema de CFE, decidí compilar uno para esta placa concreta con board ID 96368MVWG_hg622
https://drive.google.com/open?id=0B-EMoBe-_OdBSktXd0d5bHF6RGs&authuser=0
Está absolutamente sin testear. ¿Algún valiente? ;D
También compilé una versión RAM la cual es inofensiva si se quiere probar:
https://drive.google.com/open?id=0B-EMoBe-_OdBSUdLelZmMHVIdzQ&authuser=0
Para ello bastaria con soltar el archivo en el directorio del server TFTP y ejecutar en CFE
r 192.168.1.100:cfe6368_ram
Si podrá arrancar otro CFE, ni idea... y no, no sería indicativo de que la versión ROM CFE para flashear funcionase correctamente, pero habría muchas probabilidades.
-
Como andaba metido de lleno en el tema de CFE, decidí compilar uno para esta placa concreta con board ID 96368MVWG_hg622
https://drive.google.com/open?id=0B-EMoBe-_OdBSktXd0d5bHF6RGs&authuser=0
Está absolutamente sin testear. ¿Algún valiente? ;D
También compilé una versión RAM la cual es inofensiva si se quiere probar:
https://drive.google.com/open?id=0B-EMoBe-_OdBSUdLelZmMHVIdzQ&authuser=0
Para ello bastaria con soltar el archivo en el directorio del server TFTP y ejecutar en CFE
r 192.168.1.100:cfe6368_ram
Si podrá arrancar otro CFE, ni idea... y no, no sería indicativo de que la versión ROM CFE para flashear funcionase correctamente, pero habría muchas probabilidades.
Yo lo haría, pero no tengo ese router en el sitio en el que estoy actualmente... De momento me bajo los archivos...
Gracias >:(
-
Gracias por vuestras respuestas.
Al final he podido meter la imagen en el router, lo he hecho con este comando:
f 192.168.1.100:openwrt-HG622-squashfs-cfe.bin
El unico repositorio que me ha funcionado es este:
git clone git://github.com/openwrt-es/barrier-breaker-openwrt.git -b barrier-breaker_13.12
De momento me va fenomenal, funcionan los LEDs y he configurado una interfaz WAN con VLANs. Ademas con wifi N.
Estaria de lujo que se pudiera meter estos parches en el repositorio oficial. ¿Alguien sabe que falta para poder hacerlo?
De momento lo unico que se podia mejorar es que en cada flash es necesario ejecutar esto:
mtd erase -r rootfs_data && reboot
Ademas que para meter la imagen hace falta abrir el router.
Lo he puesto como router principal en casa, asi que lo voy a testear a fondo.
Saludos y gracias por todo.
-
Como andaba metido de lleno en el tema de CFE, decidí compilar uno para esta placa concreta con board ID 96368MVWG_hg622
https://drive.google.com/open?id=0B-EMoBe-_OdBSktXd0d5bHF6RGs&authuser=0
Está absolutamente sin testear. ¿Algún valiente? ;D
También compilé una versión RAM la cual es inofensiva si se quiere probar:
https://drive.google.com/open?id=0B-EMoBe-_OdBSUdLelZmMHVIdzQ&authuser=0
Para ello bastaria con soltar el archivo en el directorio del server TFTP y ejecutar en CFE
r 192.168.1.100:cfe6368_ram
Si podrá arrancar otro CFE, ni idea... y no, no sería indicativo de que la versión ROM CFE para flashear funcionase correctamente, pero habría muchas probabilidades.
Hola,
¿que mejoraria con estos ficheros? ¿me puedo quedar sin router?
Saludos.
-
Como andaba metido de lleno en el tema de CFE, decidí compilar uno para esta placa concreta con board ID 96368MVWG_hg622
https://drive.google.com/open?id=0B-EMoBe-_OdBSktXd0d5bHF6RGs&authuser=0
Está absolutamente sin testear. ¿Algún valiente? ;D
También compilé una versión RAM la cual es inofensiva si se quiere probar:
https://drive.google.com/open?id=0B-EMoBe-_OdBSUdLelZmMHVIdzQ&authuser=0
Para ello bastaria con soltar el archivo en el directorio del server TFTP y ejecutar en CFE
r 192.168.1.100:cfe6368_ram
Si podrá arrancar otro CFE, ni idea... y no, no sería indicativo de que la versión ROM CFE para flashear funcionase correctamente, pero habría muchas probabilidades.
Hola,
¿que mejoraria con estos ficheros? ¿me puedo quedar sin router?
Saludos.
Creo que danitool lo ha compilado con servidor HTTP en el CFE, con lo cual ya no haría falta abrir el router para quemar la imagen, se podría hacer desde la página. Peeeeeeeeeeero, como bien dice, está sin probar y te puedes cargar el router del todo. Si no funciona el CFE que ha compilado te quedas sin router y necesitarías un JTAG para desbloquearlo, así que si pretendes que sea tu router principal, no te aconsejo que te arriesgues (¿o sí?) >:D
Yo lo probaré cuando "agarre" el mío. Pero de momento no sé cuándo iré a recogerlo, porque no tengo viaje planteado...
-
Como andaba metido de lleno en el tema de CFE, decidí compilar uno para esta placa concreta con board ID 96368MVWG_hg622
https://drive.google.com/open?id=0B-EMoBe-_OdBSktXd0d5bHF6RGs&authuser=0
Está absolutamente sin testear. ¿Algún valiente? ;D
También compilé una versión RAM la cual es inofensiva si se quiere probar:
https://drive.google.com/open?id=0B-EMoBe-_OdBSUdLelZmMHVIdzQ&authuser=0
Para ello bastaria con soltar el archivo en el directorio del server TFTP y ejecutar en CFE
r 192.168.1.100:cfe6368_ram
Si podrá arrancar otro CFE, ni idea... y no, no sería indicativo de que la versión ROM CFE para flashear funcionase correctamente, pero habría muchas probabilidades.
Hola,
¿que mejoraria con estos ficheros? ¿me puedo quedar sin router?
Saludos.
Tal como explica Tki2000 la mejora sería disponer de una interfaz web para flashear, con el botón de reset para entrar en ella cuando queramos como en el resto de routers de este tipo, por lo que no sería necesaria la consola serie.
Te puedes quedar sin router?, si flasheas la versión rom sí, pero aun sería en teoría recuperable mediante JTAG.
La versión RAM como ya dije, es inofensiva, se carga en la RAM y una vez le quitamos la corriente el router funciona igual que antes.
-
Gracias por las respuestas, de momento lo tengo en marcha y prefiero no arriesgarme.
En cuanto a dar soporte oficial a este router, ¿como lo veis? ¿Que es lo que faltaria?
Saludos.
-
Ya lo he probado mas de 10 dias y va fenomenal. Sin ningun problema.
Asi que si quereis ya lo podeis considerar como estable.
Saludos.
-
Buenas, alguien ha probado el nuevo CFE?
Saludos.
-
Buenas a todos,
Queria saber si alguien con suficientes conocimientos y ganas puede darle un pequeño empujon al router Huawei HG622 para poder integrarlo en el repositorio oficial.
Yo lo tengo funcionando meses con este repositorio y de momento va perfecto:
https://github.com/openwrt-es/barrier-breaker-openwrt
No se si requiere mucho trabajo integrarlo para Chaos Calmer 15.05, pero seria estupendo.
Si necesitais ayuda para hacer pruebas estoy disponible para lo que sea.
Os pongo el enlace del wiki:
http://wiki.openwrt.org/toh/huawei/hg622
Un saludo.
-
Buenas tardes,
¿Hay alguien que tenga un firmware compilado para este router? Estoy intentando compilar uno, pero siempre obtengo un montón de errores.
Gracias por anticipado.
Saludos.
-
Buenas tardes,
¿Hay alguien que tenga un firmware compilado para este router? Estoy intentando compilar uno, pero siempre obtengo un montón de errores.
Gracias por anticipado.
Saludos.
Buenas, yo no se donde lo tengo, pero si tengo tiempo esta semana te compilo uno.
¿Necesitas algun software o modulo en concreto?
Uns saludo.
-
No hace falta. Sólo lo quiero como punto de acceso wifi, repetidor,..., así que con luci y lo que viene por defecto es suficiente.
Muchas gracias.
Saludos.
-
No hace falta. Sólo lo quiero como punto de acceso wifi, repetidor,..., así que con luci y lo que viene por defecto es suficiente.
Muchas gracias.
Saludos.
Aqui lo tienes: https://filetea.me/t1sAUZMRlk4T8xcoCXK3jwtXQ
Si no te funciona me avisas.
Por si te sirve lo he hecho asi en un Debian Jessie de 64 bits:
1. Instalar dependecnias:
apt-get install libncurses5-dev ncurses-term zlib1g-dev gawk bison flex autoconf subversion build-essential git-core quilt unzip
2. Como usuario normal ejecutar esto:
git clone git://github.com/openwrt-es/barrier-breaker-openwrt.git -b barrier-breaker_13.12
cd barrier-breaker-openwrt/
./scripts/feeds update -a
./scripts/feeds install -a
make prereq
make menuconfig
#Target System (Broadcom BCM63xx)
#Subtarget (brcm6368)
#Target Profile (Huawei HG622)
#Kernel modules -> Wireless Drivers -> kmod-rt2800-pci
make -j 3 V=cs
md5sum bin/brcm63xx/openwrt-HG622-squashfs-cfe.bin
Ya lo he preguntado en mas de una ocasion, pero se sabe si se seguira dando soporte a este router?
Un saludo.
-
Zorrua, muchisimas gracias. ;)
Lo probaré este fin de semana.
A ver si me estaba fallando por el repositorio que estaba usando para compilar (BB 14.04). Haré lo mismo que tú y a ver que sale.
Saludos.
-
Zorrua, perdona que te moleste, pero no me funciona el enlace. ¿Ya lo han quitado del servidor?
Saludos.
-
Zorrua, perdona que te moleste, pero no me funciona el enlace. ¿Ya lo han quitado del servidor?
Saludos.
Te lo envio por MP.
Un saludo.
-
Zorrua, perdona que te moleste, pero no me funciona el enlace. ¿Ya lo han quitado del servidor?
Saludos.
Te lo envio por MP.
Un saludo.
Al final he resuelto los problemas de compilación (ya era un tema personal jeje) y he conseguido compilar un firmware con el repositorio del 14.04.
¿Alguien sabe si el SMP funciona en este router?
Saludos.
-
Zorrua, perdona que te moleste, pero no me funciona el enlace. ¿Ya lo han quitado del servidor?
Saludos.
Te lo envio por MP.
Un saludo.
Al final he resuelto los problemas de compilación (ya era un tema personal jeje) y he conseguido compilar un firmware con el repositorio del 14.04.
¿Alguien sabe si el SMP funciona en este router?
Saludos.
Hola, que repositorio has utilizado para el 14.04?
En teorio si que tiene que funcionar con SMP, ya que el chipset es Broadcom BCM6368.
Un saludo.
-
Lo he cogido de aquí.
git clone git://github.com/openwrt-es/barrier-breaker-openwrt.git -b barrier-breaker_14.04
Si quieres, te lo paso. Es el sencillo (sólo con luci).
Saludos.
-
Hola, funciona el driver wireless para wifi N?
Gracias.
-
Lo he cogido de aquí.
git clone git://github.com/openwrt-es/barrier-breaker-openwrt.git -b barrier-breaker_14.04
Si quieres, te lo paso. Es el sencillo (sólo con luci).
Saludos.
Muchas gracias, lo he compilado y parece que esta bien. A ver si esta semana lo meto en el router.
Sabeis si sigue el desarrollo de este router para Chaos Calmer 15.05, es que es una pena dejarlo sin soporte oficial. No se si es por problemas tecnicos o por falta de tiempo (que lo entiendo perfectamente).
Saludos.
-
Hola, funciona el driver wireless para wifi N?
Gracias.
Si tiene wifi N.
Saludos.
-
Lo he cogido de aquí.
git clone git://github.com/openwrt-es/barrier-breaker-openwrt.git -b barrier-breaker_14.04
Si quieres, te lo paso. Es el sencillo (sólo con luci).
Saludos.
Muchas gracias, lo he compilado y parece que esta bien. A ver si esta semana lo meto en el router.
Sabeis si sigue el desarrollo de este router para Chaos Calmer 15.05, es que es una pena dejarlo sin soporte oficial. No se si es por problemas tecnicos o por falta de tiempo (que lo entiendo perfectamente).
Saludos.
Yo he intentado compilar un firmware con los repositorios de la 14.07 y 14.07rc3 y nada. Ahí ya no está soportado, así que supongo que en la 15.05 tampoco lo estará.
No sé la razón, pero es una pena porque es muy buen router.
Saludos.
-
Lo he cogido de aquí.
git clone git://github.com/openwrt-es/barrier-breaker-openwrt.git -b barrier-breaker_14.04
Si quieres, te lo paso. Es el sencillo (sólo con luci).
Saludos.
Muchas gracias, lo he compilado y parece que esta bien. A ver si esta semana lo meto en el router.
Sabeis si sigue el desarrollo de este router para Chaos Calmer 15.05, es que es una pena dejarlo sin soporte oficial. No se si es por problemas tecnicos o por falta de tiempo (que lo entiendo perfectamente).
Saludos.
Yo he intentado compilar un firmware con los repositorios de la 14.07 y 14.07rc3 y nada. Ahí ya no está soportado, así que supongo que en la 15.05 tampoco lo estará.
No sé la razón, pero es una pena porque es muy buen router.
Saludos.
Entonces, cual es el repositorio mas nuevo que se puede compilar?
Un saludo.
-
El 14.04, que yo sepa.
Saludos.
-
Buenos días,
He compilado un firmware con el repositorio BB14.04 (r40396) que tiene lo siguiente:
SMP, FPU Emulation, LuCi, soporte para discos usb en formato ntfs, vfat y ext2-3-4, cifsmount, transmission, p910nd (servidor de impresion), servidor samba, vsftpd (servidor de ftp), wol, swap-utils, luci-app-wol, hd-idle, qos, statistics, upnp, ddns.
El router funciona de lujo con openwrt. También tengo el HG553 y el HG556a y éste es más rápido. Es más lioso meterle el firmware porque tiene que ser por el puerto serie, pero merece la pena.
Por si a alguien le interesa, está en: http://ul.to/dhf1mz9t
Saludos.
Pd: ¿Alguien sabe la razón por la que ya no tenga soporte desde la BB14.04? Gracias por anticipado.
-
Buenas tardes,
Estoy intentando pasar a dts el HG622 aprovechando la información del respositorio 14.04 y otros routers parecidos como el hg655b y me ha quedado así el fichero dts. ¿Alguien me puede decir si está bien?
/dts-v1/;
/include/ "bcm6368.dtsi"
/ {
model = "Huawei HG622";
compatible = "huawei,hg622", "brcm,bcm6368";
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
debounce-interval = <60>;
reset {
label = "reset";
gpios = <&gpio1 2 1>;
linux,code = <0x198>;
};
};
gpio-leds {
compatible = "gpio-leds";
dsl_green {
label = "HW622:green:dsl";
gpios = <&gpio0 2 1>;
};
internet_green {
label = "HW622:green:internet";
gpios = <&gpio0 5 1>;
};
usb_green {
label = "HW622:green:usb";
gpios = <&gpio0 11 1>;
};
power_green {
label = "HW622:green:power";
gpios = <&gpio0 22 1>;
default-state = "on";
};
};
};
&pflash {
status = "ok";
linux,part-probe = "bcm63xxpart";
cfe@0 {
label = "CFE";
reg = <0x000000 0x020000>;
};
linux@20000 {
label = "linux";
reg = <0x020000 0xf80000>;
};
cal_data@fa0000 {
label = "cal_data";
reg = <0xfa0000 0x020000>;
read-only;
};
nvram@fe0000 {
label = "nvram";
reg = <0xfe0000 0x020000>;
};
};
¿Habría que hacer algo más para añadir el HG622 a bb14.07 o a cc15.05?
Gracias por anticipado.
Edito: corrijo la extensión de la partición linux.
-
Buenas tardes,
Debido a que parece que el repositorio barrier breaker 14.04 ya no existe, he actualizado los archivos del repositorio oficial BB14.07 que Noltari modificó en su día en el 14.04 para darle soporte al HG622.
http://ul.to/petzhgjv
¿Alguien que entienda podría verificar que las modificaciones están bien hechas? No sé si es posible añadir estas modificaciones al repositorio oficial para que este router pueda seguir teniendo soporte.
Gracias por anticipado.
Saludos.
-
Buenas tardes,
Debido a que parece que el repositorio barrier breaker 14.04 ya no existe, he actualizado los archivos del repositorio oficial BB14.07 que Noltari modificó en su día en el 14.04 para darle soporte al HG622.
http://ul.to/a065ryc5
¿Alguien que entienda podría verificar que las modificaciones están bien hechas? No sé si es posible añadir estas modificaciones al repositorio oficial para que este router pueda seguir teniendo soporte.
Gracias por anticipado.
Saludos.
Buenas,
Como estoy en el trabajo no puedo acceder al enlace que has pasado porque está capado, pero yo también he hecho un parche que tengo pendiente de probar para el HG622:
https://gist.github.com/Noltari/753ea2226cb9c7700458
Saludos!
-
Hola,
No estoy puesto en ésto, así que he utilizado los cambios que tú hiciste en el repositorio 14.04 para darle soporte al HG622. El parche del kernel si lo he hecho con quilt para que no hubiera problemas al compilar. El resto sólo es coger los archivos del 14.07 y meter las modificaciones que hiciste.
En el 14.07 me ha compilado correctamente. Me falta grabarlo en el router y probarlo.
Muchas gracias por darle soporte.
Si necesitas que pruebe algo, cuenta conmigo.
Saludos.
-
Buenas tardes,
He actualizado los archivos del repositorio oficial CC15.05 para darle soporte al HG622 utilizando el parche de Noltari para la versión trunk.
http://ul.to/x7k282n9
Compila bien, pero me falta probarlo en el router. ¿Alguien que entienda podría verificar si las modificaciones están bien hechas? No sé si se pueden añadir a la versión CC15.05.
Gracias por anticipado.
Saludos.
-
Hola peppex, el parche lo veo bien, parece que tiene todo.
Aunque en la generación de la imagen podrían faltar estos parámetros
--image-offset 0x20000 --block-size 0x20000
Por lo que poner en la wiki el tamaño de bloque de la flash es de 128k por lo que al menos --block-size 0x20000 podría ser indispensable.
Tampoco estoy seguro de si el puerto USB que tiene cableado el router es el segundo interno, si es así entonces es correcto que definas 2 USBs, además del trigger correspondiente al led del segundo puerto.
########
Aprovechando que he estado jugando con el bootloader de los bcm63xx, he compilado una nueva versión de CFE que podría adaptarse a este router, funcional y con interfaz web.
De momento solo pongo la versión RAM, la cual debería arrancarse sin problemas ni peligro de cargarse nada:
cfe6368_ram (https://drive.google.com/file/d/0B-EMoBe-_OdBT2F1aWwtajFIckU/view?usp=sharing)
Para ejecutarla desde servidor TFTP solo sería necesario ejecutar el comando, en la línea de comandos de CFE:
r 192.168.1.35:cfe6368_ram
192.168.1.35 sería la dirección de nuestro pc, se puede cambiar
Estaría bien si alguien se anima a probarlo. Luego podría hacer la versión ROM para flashear desde el propio CFE o Openwrt de forma fácil. De esta forma se eliminarían los inconvenientes que tiene ester router para flashear.
Si funciona, poned el log de arranque de este CFE, Además de comprobar si la red y la interfaz web también funciona.
-
Danitool,
Actualizaré el archivo con lo que indicas. Respecto al usb, si necesitas el log de arranque o lo que sea para confirmarlo, te lo paso cuando quieras. Lo puse porque está en el parche de Noltari, pero en la versión 14.04 no estaba. Muchas gracias por los comentarios.
Ya he cargado la versión ram. El log es el siguiente:
CFE version 1.0.37-102.6 for BCM96368 (32bit,SP,BE)
Build Date: Sun Jul 24 16:58:20 CST 2011 (wangxinfeng@build.huawei.com)
Copyright (C) 2000-2008 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
CPU type 0x2A031: 400MHz, Bus: 160MHz, Ref: 64MHz
CPU running TP0
Total memory: 33554432 bytes (32MB)
Boot Address 0xb8000000
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 3
Boot image (0=latest, 1=previous) : 0
Board Id (0-5) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:e0:fc:09:09:09
PSI Size (1-64) KBytes : 64
Main Thread Number [0|1] : 0
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 2
web info: Waiting for connection on socket 0.
CFE>
CFE> r 192.168.1.100:cfe6368_ram
0x80700000/173660 0x8072a65c/83560 Entry at 0x80700000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x80700000
CFE version 2.0.3 for DGN2200v2 (32bit,SP,BE)
Build Date: Sun Dec 13 20:45:50 CET 2015 (dani@tool)
Copyright (C) 2000-2009 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201 size 16384KB
Total Flash size: 16384K with 128 sectors
Chip ID: BCM6368B2, MIPS: 400MHz
Main Thread: TP0
Total Memory: 33554432 bytes (32MB)
Boot Address: 0xb8000000
*** NVRAM version 5 != version 6) ***
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
*** NVRAM version 5 != version 6) ***
Board Id (0-15) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:e0:fc:09:09:09
PSI Size (1-64) KBytes : 64
Enable Backup PSI [0|1] : 0
System Log Size (0-256) KBytes : 0
Main Thread Number [0|1] : 0
Voice Board Configuration (0-19) :
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from only image (0xb8020000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80010000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x80010000
[ 0.000000] Linux version 3.10.34 (pepexx@pepexx-VirtualBox) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.01 r40396) ) #7 SMP Fri Nov 20 22:20:59 CET 2015
[ 0.000000] Detected Broadcom 0x6368 CPU revision b2
[ 0.000000] CPU frequency is 400 MHz
[ 0.000000] 32MB of RAM installed
[ 0.000000] registering 38 GPIOs
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-102.6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0002a031 (Broadcom BMIPS4350)
[ 0.000000] board_bcm963xx: board name: 96368MVWG_hg622
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] PERCPU: Embedded 7 pages/cpu @81043000 s6592 r8192 d13888 u32768
[ 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] Memory: 28780k/32768k available (2476k kernel code, 3988k reserved, 624k data, 224k init, 0k highmem)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[ 0.032000] pid_max: default: 32768 minimum: 301
[ 0.036000] Mount-cache hash table entries: 512
[ 0.044000] SMP: Booting CPU1...
[ 0.048000] CPU revision is: 0002a031 (Broadcom BMIPS4350)
[ 0.048000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 0.048000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.084000] SMP: CPU1 is running
[ 0.084000] Synchronize counters for CPU 1: done.
[ 0.084000] Brought up 2 CPUs
[ 0.116000] NET: Registered protocol family 16
[ 0.128000] registering PCI controller with io_map_base unset
[ 0.140000] bio: create slab <bio-0> at 0
[ 0.148000] PCI host bridge to bus 0000:00
[ 0.152000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.160000] pci_bus 0000:00: root bus resource [io 0x8000000-0x800ffff]
[ 0.168000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.192000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[ 0.200000] Switching to clocksource MIPS
[ 0.208000] NET: Registered protocol family 2
[ 0.212000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.220000] TCP bind hash table entries: 512 (order: 0, 4096 bytes)
[ 0.228000] TCP: Hash tables configured (established 512 bind 512)
[ 0.232000] TCP: reno registered
[ 0.236000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.244000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.248000] NET: Registered protocol family 1
[ 0.256000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.264000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.276000] msgmni has been set to 56
[ 0.280000] io scheduler noop registered
[ 0.284000] io scheduler deadline registered (default)
▒[ 0.296000] console [ttyS0] enabled, bootconsole disabled= 10) is a bcm63xx_uart
[ 0.296000] console [ttyS0] enabled, bootconsole disabled
[ 0.308000] bcm63xx-rng bcm63xx-rng: registered RNG driver
[ 0.316000] physmap platform flash device: 08000000 at 18000000
[ 0.324000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[ 0.336000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.340000] Amd/Fujitsu Extended Query version 1.3.
[ 0.344000] number of CFI chips: 1
[ 0.348000] bcm63xxpart: CFE boot tag found with version 6 and board type 96368MVWG_hg622
[ 0.356000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[ 0.364000] bcm63xxpart: Partition 1 is kernel offset 20100 and length 10ff00
[ 0.372000] bcm63xxpart: Partition 2 is rootfs offset 130000 and length e70000
[ 0.380000] bcm63xxpart: Partition 3 is cal_data offset fa0000 and length 20000
[ 0.388000] bcm63xxpart: Partition 4 is nvram offset fe0000 and length 20000
[ 0.392000] bcm63xxpart: Partition 5 is linux offset 20000 and length f80000
[ 0.400000] bcm63xxpart: Spare partition is offset 6c0004 and length 8dfffc
[ 0.408000] 6 bcm63xxpart partitions found on MTD device physmap-flash.0
[ 0.416000] Creating 6 MTD partitions on "physmap-flash.0":
[ 0.420000] 0x000000000000-0x000000020000 : "CFE"
[ 0.428000] 0x000000020100-0x000000130000 : "kernel"
[ 0.432000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.448000] 0x000000130000-0x000000fa0000 : "rootfs"
[ 0.452000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.468000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.472000] mtd: partition "rootfs_data" created automatically, ofs=0x6c0000, len=0x8e0000
[ 0.484000] 0x0000006c0000-0x000000fa0000 : "rootfs_data"
[ 0.492000] 0x000000fa0000-0x000000fc0000 : "cal_data"
[ 0.496000] 0x000000fe0000-0x000001000000 : "nvram"
[ 0.504000] 0x000000020000-0x000000fa0000 : "linux"
[ 0.512000] bcm63xx-spi bcm63xx-spi: at 0xb0000800 (irq 9, FIFOs size 542)
[ 0.560000] b53_common: found switch: BCM63xx, rev 0
[ 0.564000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.576000] TCP: cubic registered
[ 0.576000] NET: Registered protocol family 17
[ 0.584000] 8021q: 802.1Q VLAN Support v1.8
[ 0.592000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.604000] Freeing unused kernel memory: 224K (80318000 - 80350000)
procd: Console is alive
procd: - watchdog -
procd: - preinit -
[ 3.052000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full-duplex
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 4.448000] usbcore: registered new interface driver usbfs
[ 4.452000] usbcore: registered new interface driver hub
[ 4.460000] usbcore: registered new device driver usb
[ 4.472000] Button Hotplug driver version 0.4.1
[ 4.520000] SCSI subsystem initialized
[ 4.532000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.540000] ehci-platform: EHCI generic platform driver
[ 4.648000] ehci-platform ehci-platform: EHCI Host Controller
[ 4.652000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 4.660000] ehci-platform ehci-platform: irq 15, io mem 0xb0001500
[ 4.680000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[ 4.688000] hub 1-0:1.0: USB hub found
[ 4.692000] hub 1-0:1.0: 1 port detected
[ 4.700000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.708000] ohci-platform ohci-platform: Generic Platform OHCI Controller
[ 4.712000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 4.720000] ohci-platform ohci-platform: irq 13, io mem 0xb0001600
[ 4.788000] hub 2-0:1.0: USB hub found
[ 4.792000] hub 2-0:1.0: 1 port detected
[ 4.812000] usbcore: registered new interface driver usb-storage
[ 4.820000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
kmod: ran 1 iterations
[ 6.640000] jffs2: notice: (261) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 33 of xref (0 dead, 8 orphan) found.
block: extroot: no root or overlay mount defined
jffs2 is ready
[ 6.704000] jffs2: notice: (258) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 33 of xref (0 dead, 8 orphan) found.
switching to jffs2
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 10.732000] NET: Registered protocol family 10
[ 10.792000] nf_conntrack version 0.5.0 (453 buckets, 1812 max)
[ 10.816000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.888000] u32 classifier
[ 10.892000] input device check on
[ 10.896000] Actions configured
[ 10.904000] Mirror/redirect action on
[ 10.924000] fuse init (API version 7.22)
[ 10.932000] Loading modules backported from Linux version master-2014-03-31-1-0-g5c109d2
[ 10.940000] Backport generated by backports.git backports-20140221-0-g8e94650
[ 10.956000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.080000] usbcore: registered new interface driver ums-alauda
[ 11.100000] usbcore: registered new interface driver ums-cypress
[ 11.112000] usbcore: registered new interface driver ums-datafab
[ 11.124000] usbcore: registered new interface driver ums-freecom
[ 11.136000] usbcore: registered new interface driver ums-isd200
[ 11.148000] usbcore: registered new interface driver ums-jumpshot
[ 11.160000] usbcore: registered new interface driver ums-karma
[ 11.168000] usbcore: registered new interface driver ums-sddr09
[ 11.180000] usbcore: registered new interface driver ums-sddr55
[ 11.188000] usbcore: registered new interface driver ums-usbat
[ 11.200000] usbcore: registered new interface driver usblp
[ 11.264000] xt_time: kernel timezone is -0000
[ 11.308000] cfg80211: Calling CRDA to update world regulatory domain
[ 11.316000] cfg80211: World regulatory domain updated:
[ 11.320000] cfg80211: DFS Master region: unset
[ 11.324000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 11.336000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.344000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.352000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.360000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.368000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.376000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 11.480000] PPP generic driver version 2.4.2
[ 11.488000] NET: Registered protocol family 24
[ 11.540000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 11.548000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'rt2x00.eeprom'.
[ 11.556000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[ 11.564000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[ 14.888000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full-duplex
[ 18.908000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full-duplex
[ 18.920000] device eth0.1 entered promiscuous mode
[ 18.928000] device eth0 entered promiscuous mode
[ 18.932000] br-lan: port 1(eth0.1) entered forwarding state
[ 18.940000] br-lan: port 1(eth0.1) entered forwarding state
[ 19.904000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 20.088000] cfg80211: Calling CRDA for country: ES
[ 20.096000] cfg80211: Regulatory domain changed to country: ES
[ 20.104000] cfg80211: DFS Master region: ETSI
[ 20.108000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 20.116000] cfg80211: (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 20.124000] cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 20.132000] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 20.140000] cfg80211: (5470000 KHz - 5725000 KHz @ 80000 KHz), (N/A, 2700 mBm), (0 s)
[ 20.148000] cfg80211: (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 20.944000] br-lan: port 1(eth0.1) entered forwarding state
[ 22.648000] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[ 22.904000] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34
[ 23.008000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 23.020000] device wlan0 entered promiscuous mode
[ 23.024000] br-lan: port 2(wlan0) entered forwarding state
[ 23.028000] br-lan: port 2(wlan0) entered forwarding state
[ 23.312000] br-lan: port 2(wlan0) entered disabled state
[ 24.124000] br-lan: port 2(wlan0) entered forwarding state
[ 24.132000] br-lan: port 2(wlan0) entered forwarding state
[ 24.136000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
procd: - init complete -
[ 26.136000] br-lan: port 2(wlan0) entered forwarding state
Saludos.
-
Gracias por el test pepexx.
Respecto a la línea que genera la imagen también me he fijado que que tal vez necesites también el parámetro --tag-version 7. El padding que pones es de 4, sin embargo la flash es de 16MB, con lo que debería ser 8 (si fuese necesario). Con lo cual la línea del makefile quedaría así:
$(eval $(call ImageDTB,CFEDTB,HG622,HG622,hg622,96368MVWG_hg622,6368,--pad 8 --image-offset 0x20000 --block-size 0x20000 --tag-version 7))
En el dts yo quitaría el read-only a la partición de CFE, para dar la posibilidad de actualizar el bootloader más adelante.
Sobre el bootloader RAM que has testeado, una vez cargado y parado en la línea de comandos, podrías confirmar que puedes acceder a su interfaz web de flasheo?, o al menos si obtienes ping?
-
Danitool,
Aplicaré los cambios que dices. Gracias.
Respecto al bootloader, carga perfectamente la página para seleccionar la imagen. Te adjunto la captura.
(http://i64.tinypic.com/15ee8as.jpg)
Éste es el log:
CFE version 2.0.3 for DGN2200v2 (32bit,SP,BE)
Build Date: Sun Dec 13 20:45:50 CET 2015 (dani@tool)
Copyright (C) 2000-2009 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201 size 16384KB
Total Flash size: 16384K with 128 sectors
Chip ID: BCM6368B2, MIPS: 400MHz
Main Thread: TP0
Total Memory: 33554432 bytes (32MB)
Boot Address: 0xb8000000
*** NVRAM version 5 != version 6) ***
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
*** NVRAM version 5 != version 6) ***
Board Id (0-15) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:e0:fc:09:09:09
PSI Size (1-64) KBytes : 64
Enable Backup PSI [0|1] : 0
System Log Size (0-256) KBytes : 0
Main Thread Number [0|1] : 0
Voice Board Configuration (0-19) :
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 1
web info: Waiting for connection on socket 0.
CFE>
CFE>
CFE>
CFE>
CFE>
¿Se le podría poner que tarde un segundo o dos más en la cuenta atrás?
¿Necesitas que compruebe otra cosa?
Saludos.
-
Buenas,
He subido los cambios a un branch en Github:
https://github.com/openwrt-es/openwrt/commit/83159b09cc9820a02f18ad90d38edd7ba95b8cd1
Un firmware compilado para que alguien lo pruebe:
http://files.noltari.es/openwrt/firmwares/beta/openwrt-brcm63xx-smp-HG622-squashfs-cfe.bin
Si todo funciona envío los parches a openwrt-devel.
Saludos.
-
Noltari,
Un par de curiosidades de novato total:
- ¿Es mejor --pad 4 o --pad 8 como dice danitool al ser un router con 16 MB de flash?
- Si el cfe está en read only en el dts, ¿podré modificar el bootloader o tengo que meter otro firmware que no tenga esa característica puesta para poder modificarlo?
Muchas gracias a los dos por darle soporte a este router.
Puedo acceder a luci y todo parece correcto.
Éste es el log de arranque:
CFE version 1.0.37-102.6 for BCM96368 (32bit,SP,BE)
Build Date: Sun Jul 24 16:58:20 CST 2011 (wangxinfeng@build.huawei.com)
Copyright (C) 2000-2008 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
CPU type 0x2A031: 400MHz, Bus: 160MHz, Ref: 64MHz
CPU running TP0
Total memory: 33554432 bytes (32MB)
Boot Address 0xb8000000
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 3
Boot image (0=latest, 1=previous) : 0
Board Id (0-5) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:e0:fc:09:09:09
PSI Size (1-64) KBytes : 64
Main Thread Number [0|1] : 0
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 2
web info: Waiting for connection on socket 0.
CFE>
CFE> f 192.168.1.100:openwrt-brcm63xx-smp-HG622-squashfs-cfe.bin
Loading 192.168.1.100:openwrt-brcm63xx-smp-HG622-squashfs-cfe.bin ...
Finished loading 4194560 bytes
Flashing root file system and kernel at 0xb8020000: ............................ ......................................
Clear Flags ok!
.
*** Image flash done *** !
CFE timeout,reboot
Resetting board...
CFE version 1.0.37-102.6 for BCM96368 (32bit,SP,BE)
Build Date: Sun Jul 24 16:58:20 CST 2011 (wangxinfeng@build.huawei.com)
Copyright (C) 2000-2008 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
CPU type 0x2A031: 400MHz, Bus: 160MHz, Ref: 64MHz
CPU running TP0
Total memory: 33554432 bytes (32MB)
Boot Address 0xb8000000
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 3
Boot image (0=latest, 1=previous) : 0
Board Id (0-5) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:e0:fc:09:09:09
PSI Size (1-64) KBytes : 64
Main Thread Number [0|1] : 0
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 0
Support Double system.
Flash boot Flag:
Boot from main system!
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80a00000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
75 buffers found.
Closing DMA Channels.
Starting program at 0x80a00000
[ 0.000000] Linux version 4.1.13 (noltari@skynet) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47670) ) #3 SMP Mon Dec 14 23:00:05 CET 2015
[ 0.000000] Detected Broadcom 0x6368 CPU revision b2
[ 0.000000] CPU frequency is 400 MHz
[ 0.000000] 32MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-102.6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a031 (Broadcom BMIPS4350)
[ 0.000000] board: board name: 96368MVWG_hg622
[ 0.000000] MIPS: machine is Huawei HG622
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] PERCPU: Embedded 10 pages/cpu @81046000 s10048 r8192 d22720 u4096 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 8128
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jff s2 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] Memory: 26844K/32768K available (3209K kernel code, 141K rwdata, 616K rodata, 1272K init, 203K bss, 5924K reserved, 0K cma-reserved)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_id le_ns: 9556302233 ns
[ 0.000014] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737 418237ns
[ 0.008676] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[ 0.046958] pid_max: default: 32768 minimum: 301
[ 0.052391] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.059175] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.072837] SMP: Booting CPU1...
[ 11.081532] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 11.081548] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 11.081859] CPU1 revision is: 0002a031 (Broadcom BMIPS4350)
[ 0.125024] Synchronize counters for CPU 1: done.
[ 0.125029] SMP: CPU1 is running
[ 0.125235] Brought up 2 CPUs
[ 0.142452] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max _idle_ns: 7645041785100000 ns
[ 0.153921] NET: Registered protocol family 16
[ 0.167900] registering PCI controller with io_map_base unset
[ 0.199584] PCI host bridge to bus 0000:00
[ 0.203850] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.210924] pci_bus 0000:00: root bus resource [io 0x8000000-0x800ffff]
[ 0.217800] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.224787] pci_bus 0000:00: No busn resource found for root bus, will use [b us 00-ff]
[ 0.241481] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[ 0.251580] Switched to clocksource MIPS
[ 0.261213] NET: Registered protocol family 2
[ 0.267731] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.274964] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.281602] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.288519] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.294646] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.301800] NET: Registered protocol family 1
[ 0.309632] futex hash table entries: 512 (order: 1, 8192 bytes)
[ 0.317312] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.323362] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc.
[ 0.336771] io scheduler noop registered
[ 0.340849] io scheduler deadline registered (default)
[ 0.349056] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 10, base_baud = 1 562500) is a bcm63xx_uart
[ 0.358703] console [ttyS0] enabled
[ 0.358703] console [ttyS0] enabled
[ 0.365840] bootconsole [early0] disabled
[ 0.365840] bootconsole [early0] disabled
[ 0.375349] bcm63xx-rng bcm63xx-rng: registered RNG driver
[ 0.382923] 18000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufact urer ID 0x0000c2 Chip ID 0x00227e
[ 0.393306] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.398580] Amd/Fujitsu Extended Query version 1.3.
[ 0.403757] number of CFI chips: 1
[ 0.407642] bcm63xxpart: CFE boot tag found with version 7 and board type 963 68MVWG_hg622
[ 0.416166] 6 bcm63xxpart partitions found on MTD device 18000000.nor
[ 0.422789] Creating 6 MTD partitions on "18000000.nor":
[ 0.428251] 0x000000000000-0x000000020000 : "CFE"
[ 0.434843] 0x000000020100-0x00000016e5d0 : "kernel"
[ 0.441653] 0x00000016e5d0-0x000000fa0000 : "rootfs"
[ 0.448591] mtd: device 2 (rootfs) set to be root filesystem
[ 0.454438] 1 squashfs-split partitions found on MTD device rootfs
[ 0.460783] 0x0000003a0000-0x000000fa0000 : "rootfs_data"
[ 0.468136] 0x000000020000-0x000000fa0000 : "linux"
[ 0.474903] 0x000000fa0000-0x000000fc0000 : "cal_data"
[ 0.481967] 0x000000fe0000-0x000001000000 : "nvram"
[ 0.490575] bcm63xx-spi bcm63xx-spi: at 0xb0000800 (irq 9, FIFOs size 542)
[ 0.536243] b53_common: found switch: BCM63xx, rev 0
[ 0.541734] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.550794] NET: Registered protocol family 10
[ 0.557626] NET: Registered protocol family 17
[ 0.562307] bridge: automatic filtering via arp/ip/ip6tables has been depreca ted. Update your scripts to load br_netfilter if you need this.
[ 0.575304] 8021q: 802.1Q VLAN Support v1.8
[ 0.588343] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.603215] Freeing unused kernel memory: 1272K (803f2000 - 80530000)
[ 2.060069] init: Console is alive
[ 2.063876] init: - watchdog -
[ 3.240218] usbcore: registered new interface driver usbfs
[ 3.246094] usbcore: registered new interface driver hub
[ 3.251795] usbcore: registered new device driver usb
[ 3.267089] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.275766] ehci-platform: EHCI generic platform driver
[ 3.383608] ehci-platform ehci-platform: EHCI Host Controller
[ 3.389565] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 3.398030] ehci-platform ehci-platform: irq 15, io mem 0xb0001500
[ 3.415588] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurr ent ignored
[ 3.425415] hub 1-0:1.0: USB hub found
[ 3.429394] hub 1-0:1.0: 2 ports detected
[ 3.440100] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.448513] ohci-platform: OHCI generic platform driver
[ 3.454094] ohci-platform ohci-platform: Generic Platform OHCI controller
[ 3.461125] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 3.469474] ohci-platform ohci-platform: irq 13, io mem 0xb0001600
[ 3.537291] hub 2-0:1.0: USB hub found
[ 3.541270] hub 2-0:1.0: 2 ports detected
[ 4.072084] init: - preinit -
[ 4.536348] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full- duplex
ip: RTNETLINK answers: File exists
ip: RTNETLINK answers: File exists
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
ip: RTNETLINK answers: File exists
[ 8.046774] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 8.092681] procd: - early -
[ 8.095843] procd: - watchdog -
[ 8.894523] procd: - ubus -
[ 9.371631] random: nonblocking pool is initialized
[ 9.902283] procd: - init -
Please press Enter to activate this console.
[ 11.038102] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.063214] Loading modules backported from Linux version master-2015-12-03-0 -g1677f62
[ 11.071465] Backport generated by backports.git backports-20151120-0-g906a6b3
[ 11.084703] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.107514] nf_conntrack version 0.5.0 (439 buckets, 1756 max)
[ 11.198856] xt_time: kernel timezone is -0000
[ 11.230505] cfg80211: World regulatory domain updated:
[ 11.235884] cfg80211: DFS Master region: unset
[ 11.240401] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gai n, max_eirp), (dfs_cac_time)
[ 11.250450] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
[ 11.258685] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
[ 11.266937] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 m Bm), (N/A)
[ 11.275180] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2000 mBm), (N/A)
[ 11.284951] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2000 mBm), (0 s)
[ 11.294709] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 11.303062] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A)
[ 11.311303] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 11.379505] PPP generic driver version 2.4.2
[ 11.386569] NET: Registered protocol family 24
[ 11.429255] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 11.436840] rt2800pci 0000:00:01.0: failed to load eeprom property
[ 11.443197] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEP ROM data from 'rt2x00.eeprom'.
[ 11.453477] rt2800pci 0000:00:01.0: Direct firmware load for rt2x00.eeprom fa iled with error -2
[ 11.462418] rt2800pci 0000:00:01.0: Falling back to user helper
[ 11.578565] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 d etected
[ 11.586580] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[ 20.761876] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 20.779732] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 20.786494] jffs2_build_filesystem(): erasing all blocks after the end marker ...
[ 22.140328] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full- duplex
[ 22.173410] device eth0.1 entered promiscuous mode
[ 22.178363] device eth0 entered promiscuous mode
[ 22.196500] br-lan: port 1(eth0.1) entered forwarding state
[ 22.202280] br-lan: port 1(eth0.1) entered forwarding state
[ 24.203565] br-lan: port 1(eth0.1) entered forwarding state
Saludos.
-
Noltari,
Ahora me lo bajo y lo pruebo. ¿Te pongo el bootlog?
Un par de curiosidades de novato total:
- ¿Es mejor --pad 4 o --pad 8 como dice danitool al ser un router con 16 MB de flash?
- Si el cfe está en read only en el dts, ¿podré modificar el bootloader o tengo que meter otro firmware que no tenga esa característica puesta para poder modificarlo?
Muchas gracias a los dos por darle soporte a este router.
Saludos.
El pad sirve para que al flashear el firmware via CFE vaya siempre a la primera partición de la flash.
Algunos CFEs hacen dos particiones de la flash, de forma que puede haber un firmware antiguo que no se usa a la vez que el nuevo, pero esto sólo sirve para firmwares originales, puesto que con OpenWrt tiene que estar obligatoriamente al principio.
De esta forma podemos forzar al CFE a flashear el firmware en la primera partición si hacemos que el tamaño del firmware sea al menos la mitad de la flash.
Sin embargo, si con --pad 4 el firmware se puede flashear via CFE sin ningún problema es que no hace falta que le hagamos padding al firmware, por lo que podríamos quitar dicha opción. Si a veces flashea el firmware en la segunda partición entonces sí que haría falta cambiarlo a --pad 8.
Saludos!
-
Entendido. Muchas gracias por la explicación. Poco a poco me voy enterando de cómo va.
Saludos.
-
según el log de arranque CFE suelta esto
Support Double system
lo que podría significar que tiene activada la cosa de la imagen dual, con lo cual sería necesario
--pad 8
Ya que la flash es de 16 M.
Sobre el puerto USB, ¿te funciona el led cuando enchufas dispositivos usb2.0?
So no se enciende entonces el trigger está mal definido, y habría que usar esta línea en lugar de lo que ahora hay:
ucidef_set_led_usbdev "usb" "USB" "HG622:green:usb" "1-1"
Sobre la partición de CFE sigo pensando, que con las limitaciones que tiene CFE en este router, lo mejor es quitar la línea de read-only, ya que no le hace daño y permite actualizarlo esde Openwrt. Con read only podría haber la posibilidad de actualizarlo desde el propio CFE, pero aun no se ha comprobado.
-
Danitool,
El led USB se enciende con una luz fija al meter un pendrive.
Los leds de power y adsl están siempre encendidos.
Saludos.
-
Danitool,
El led USB se enciende con una luz fija al meter un pendrive.
Los leds de power y adsl están siempre encendidos.
Saludos.
La parte de USB está correcta.
Pero el led dsl está mal definido. Me parecía extraño que estuviese definido como active high, siendo el resto active low.
dsl_green {
label = "HG622:green:dsl";
gpios = <&gpio0 2 0>;
};
inet_green {
label = "HG622:green:inet";
gpios = <&gpio0 5 1>;
};
usb_green {
label = "HG622:green:usb";
gpios = <&gpio0 11 1>;
};
power_green {
label = "HG622:green:power";
gpios = <&gpio0 22 1>;
default-state = "on";
};
debería definirse así
dsl_green {
label = "HG622:green:dsl";
gpios = <&gpio0 2 1>;
};
-
según el log de arranque CFE suelta esto
Support Double system
lo que podría significar que tiene activada la cosa de la imagen dual, con lo cual sería necesario
--pad 8
Ya que la flash es de 16 M.
Sobre el puerto USB, ¿te funciona el led cuando enchufas dispositivos usb2.0?
So no se enciende entonces el trigger está mal definido, y habría que usar esta línea en lugar de lo que ahora hay:
ucidef_set_led_usbdev "usb" "USB" "HG622:green:usb" "1-1"
Sobre la partición de CFE sigo pensando, que con las limitaciones que tiene CFE en este router, lo mejor es quitar la línea de read-only, ya que no le hace daño y permite actualizarlo esde Openwrt. Con read only podría haber la posibilidad de actualizarlo desde el propio CFE, pero aun no se ha comprobado.
Tienes razón con el LED de DSL, a mi también me pareció extraño que uno fuera active high y el resto active low, pero como hay routers en los que pasa no le dí importancia :/.
Con respecto al CFE creo que es mejor dejarlo como read-only, puesto que así está en el resto de routers, y cambiarlo únicamente en éste no me parece una buena opción, porque jogo puede no estar de acuerdo. Además, siempre se puede cambiar el DT y regenerar el mismo firmware sin el bloqueo del CFE.
Por cierto, este Huawei es un poco especial, porque parece tener soportar dual image como dice danitool, por lo que hace falta padding, y porque también parece necesitar el fix del CRC.
https://github.com/openwrt-es/openwrt/commit/83159b09cc9820a02f18ad90d38edd7ba95b8cd1#diff-4ced4339f802c478e0023738f5fc933fR24
No estaría mal probar a ver si es realmente necesario.
Saludos.
-
Si necesitáis realizar pruebas, contad conmigo.
Danitool, ¿lo del bootloader en ram ha salido bien? Visualmente, daba la impresión que estaba todo correcto. No sé si habría que hacer alguna prueba adicional.
Saludos.
-
Con respecto al CFE creo que es mejor dejarlo como read-only, puesto que así está en el resto de routers, y cambiarlo únicamente en éste no me parece una buena opción, porque jogo puede no estar de acuerdo. Además, siempre se puede cambiar el DT y regenerar el mismo firmware sin el bloqueo del CFE.
Hay otros routers sin el read-only en la partición del bootloader
https://dev.openwrt.org/browser/trunk/target/linux/brcm63xx/dts/homehub2a.dts#L128
Cuando envié el parche para este router no hubo queja al respecto.
Para los interesados:
He compilado el CFE versión ROM para el HG622:
cfe-hg622-6368.bin (https://drive.google.com/file/d/0B-EMoBe-_OdBckYxdlVZR1U5LXc/view?usp=sharing)
el cual se podría flashear desde Openwrt, o bien mediante JTAG.
Y para hacer más fácil el flasheo, independientemente de tener Openwrt listo para ello, he creado un dummy firmware. Es una imagen para flashear desde CFE, que contiene el nuevo CFE, y un firmware vacío.
CFE_HG622-dummy_firmware (https://drive.google.com/file/d/0B-EMoBe-_OdBX1MtTjMyWXBjbXM/view?usp=sharing)
El procedimiento para flashear sería el habitual, el mismo que se usa para flashear cualquier otro firmware, con el comando f para cargar desde servidor TFTP.
f 192.168.1.35:CFE_HG622-dummy_firmware.bin
Ojo, la versión rom todavía tiene peligro de que no funcione en el router. así que está sin confirmar si puede flashearse sin peligro hasta que algún valiente la pruebe. En caso de brick solo sería recuperable mediante JTAG.
Ventajas de este bootloader:
- Interfaz web para flasheo
- Detección de botón pulsado para parar en CFE cuando se arranca el router
y por tanto
- No necesitará más la consola serie para actualizar cualquier firmware
Una vez que alguien lo pruebe y confirme que funciona, no habría peligro para que otros puedan actualizar el bootloader.
-
Acabo de pedir el JTAG por ebay, así que si para cuando llegue no lo ha intentando alguien antes, lo intento yo.
Si funcionó la versión RAM, lo más probable es que la versión ROM funcione, ¿no? ¿O no tiene nada que ver?
Saludos.
-
Acabo de pedir el JTAG por ebay, así que si para cuando llegue no lo ha intentando alguien antes, lo intento yo.
Si funcionó la versión RAM, lo más probable es que la versión ROM funcione, ¿no? ¿O no tiene nada que ver?
Saludos.
No debería haber motivo para que no funcione la versión ROM.
Pero la diferencia entre la RAM y la ROM es grande, ya que la versión ROM inicializa la memoria, la cpu, y también el acceso al chip flash. La versión RAM ya coge todo esto inicializado. Pero siendo estas inicializaciones de bajo nivel comunes a todos los routers, no debería ser un problema. De hecho ni siquiera la RAM necesita una configuración específica, como ocurría en los antiguos bcm6348/58, es autodetectada. Lo cual significa que si se hiciese un mod de RAM, p.ej soldando dos nuevos chips de memoria de 64MB estos serían autodetectados sin necesidad de cambiar de bootloader.
Buena idea es tener un JTAG por si acaso, ya que nunca se sabe. Hasta que algo se testea, no se puede asegurar nada al 100%.
-
Lo intentaré esta tarde. Supongo que es recomendable hacer una copia de seguridad del CFE actual por si acaso, no?
En caso afirmativo, he visto que se podrían usar estas órdenes:
cat/dev/mtd0 > ./tmp/cfe.original
dd if=/dev/mtd0 of=/tmp/cfe.original
¿Son correctas? ¿Hay que hacer algo más antes de flashear el nuevo CFE?
Gracias por anticipado.
Saludos.
-
Si no hay nada más que cambiar se podría mandar ya el parche para el router, no hace falta esperar a tener un CFE funcional.
El fix del LED de DSL:
https://github.com/openwrt-es/openwrt/commit/60bf98b74ce205ecb1ef7926a1acfd93b96e010e
El fix del padding:
https://github.com/openwrt-es/openwrt/commit/d8e8a6faa77689057969367fce80dc6b7d36f280
Saludos!
-
Si no hay nada más que cambiar se podría mandar ya el parche para el router, no hace falta esperar a tener un CFE funcional.
El fix del LED de DSL:
https://github.com/openwrt-es/openwrt/commit/60bf98b74ce205ecb1ef7926a1acfd93b96e010e
El fix del padding:
https://github.com/openwrt-es/openwrt/commit/d8e8a6faa77689057969367fce80dc6b7d36f280
Saludos!
Yo tengo instalado un firmware compilado con el repositorio donde has hecho las modificaciones y por ahora funciona bien. Si necesitas un bootlog o alguna prueba concreta, avísame.
Gracias.
Saludos.
-
Si no hay nada más que cambiar se podría mandar ya el parche para el router, no hace falta esperar a tener un CFE funcional.
El fix del LED de DSL:
https://github.com/openwrt-es/openwrt/commit/60bf98b74ce205ecb1ef7926a1acfd93b96e010e
El fix del padding:
https://github.com/openwrt-es/openwrt/commit/d8e8a6faa77689057969367fce80dc6b7d36f280
Saludos!
Yo tengo instalado un firmware compilado con el repositorio donde has hecho las modificaciones y por ahora funciona bien. Si necesitas un bootlog o alguna prueba concreta, avísame.
Gracias.
Saludos.
Con que me digas que me funciona me vale :).
A ver si esta tarde puedo mandar los parches.
Saludos.
-
Acabo de pedir el JTAG por ebay, así que si para cuando llegue no lo ha intentando alguien antes, lo intento yo.
Si funcionó la versión RAM, lo más probable es que la versión ROM funcione, ¿no? ¿O no tiene nada que ver?
Saludos.
No debería haber motivo para que no funcione la versión ROM.
Pero la diferencia entre la RAM y la ROM es grande, ya que la versión ROM inicializa la memoria, la cpu, y también el acceso al chip flash. La versión RAM ya coge todo esto inicializado. Pero siendo estas inicializaciones de bajo nivel comunes a todos los routers, no debería ser un problema. De hecho ni siquiera la RAM necesita una configuración específica, como ocurría en los antiguos bcm6348/58, es autodetectada. Lo cual significa que si se hiciese un mod de RAM, p.ej soldando dos nuevos chips de memoria de 64MB estos serían autodetectados sin necesidad de cambiar de bootloader.
Buena idea es tener un JTAG por si acaso, ya que nunca se sabe. Hasta que algo se testea, no se puede asegurar nada al 100%.
Danitool,
He flasheado la rom CFE_HG622-dummy_firmware.bin desde el CFE y parece que todo correcto. Luego he flasheado desde la web un firmware y lo ha hecho correctamente. También he probado si se puede acceder a la interfaz web con el botón reset y perfecto.
Te pongo el log de todo por si ves algo que no está bien:
CFE version 1.0.37-102.6 for BCM96368 (32bit,SP,BE)
Build Date: Sun Jul 24 16:58:20 CST 2011 (wangxinfeng@build.huawei.com)
Copyright (C) 2000-2008 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
CPU type 0x2A031: 400MHz, Bus: 160MHz, Ref: 64MHz
CPU running TP0
Total memory: 33554432 bytes (32MB)
Boot Address 0xb8000000
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 3
Boot image (0=latest, 1=previous) : 0
Board Id (0-5) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:e0:fc:09:09:09
PSI Size (1-64) KBytes : 64
Main Thread Number [0|1] : 0
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 1
web info: Waiting for connection on socket 0.
CFE>
CFE> f 192.168.1.100:CFW_HG622-dummy_firmware.bin
Loading 192.168.1.100:CFE_HG622-dummy_firmware.bin ...
Finished loading 87360 bytes
Flashing CFE: ..
readNvramData() CRC ERROR !!!!!!
writeNvramData write .....
Flashing root file system and kernel at 0xb8020000: ..
Clear Flags ok!
.
*** Image flash done *** !
CFE timeout,reboot
Resetting board...
CFE version 2.0.3 for BCM63XX (32bit,SP,BE)
Build Date: Tue Dec 15 18:07:41 CET 2015 (dani@tool)
Copyright (C) 2000-2009 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201 size 16384KB
Total Flash size: 16384K with 128 sectors
Chip ID: BCM6368B2, MIPS: 400MHz
Main Thread: TP0
Total Memory: 33554432 bytes (32MB)
Boot Address: 0xb8000000
*** Upgrading NVRAM (version 5 to version 6) ***
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 3
Board Id (0-15) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:e0:fc:09:09:09
PSI Size (1-64) KBytes : 64
Enable Backup PSI [0|1] : 0
System Log Size (0-256) KBytes : 0
Main Thread Number [0|1] : 0
Voice Board Configuration (0-19) :
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 0
Booting from only image (0xb8020000) ...
Code Address: 0x00000000, Entry Address: 0x00000000
Failed to decompress image. Corrupted image?
web info: Waiting for connection on socket 0.
web info: Waiting for connection on socket 1.
web info: Waiting for connection on socket 2.
web info: Waiting for connection on socket 0.
web info: Waiting for connection on socket 1.
web info: Waiting for connection on socket 3.
web warning: Unexpected TCP disconnect.
web warning: Unexpected TCP disconnect.
web warning: Unexpected TCP disconnect.
web info: Waiting for connection on socket 0.
web info: Upload 4587524 bytes, Broadcom image format.
CFE>
Flashing root file system and kernel at 0xb8020000: ....................................
.
*** Image flash done *** !
Resetting board...
CFE version 2.0.3 for BCM63XX (32bit,SP,BE)
Build Date: Tue Dec 15 18:07:41 CET 2015 (dani@tool)
Copyright (C) 2000-2009 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201 size 16384KB
Total Flash size: 16384K with 128 sectors
Chip ID: BCM6368B2, MIPS: 400MHz
Main Thread: TP0
Total Memory: 33554432 bytes (32MB)
Boot Address: 0xb8000000
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 3
Board Id (0-15) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:e0:fc:09:09:09
PSI Size (1-64) KBytes : 64
Enable Backup PSI [0|1] : 0
System Log Size (0-256) KBytes : 0
Main Thread Number [0|1] : 0
Voice Board Configuration (0-19) :
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 0
Booting from only image (0xb8020000) ...
Code Address: 0x80A00000, Entry Address: 0x80a00000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80a00000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
104 buffers found.
Closing DMA Channels.
Starting program at 0x80a00000
[ 0.000000] Linux version 4.1.13 (pepexx@pepexx-VirtualBox) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47892) ) #1 SMP Tue Dec 15 23:00:00 CET 2015
Eres un máquina!
Muchas gracias.
Saludos:
-
Genial!!
Gracias por atreverte, eso hace que sirva de algo el haberlo compilado. Ahora con interfaz web y botón reset funcional para flashear ya parece un router decente ;D
Pondré links en la wiki con este bootloader para que no se pierda en medio del hilo.
Saludos.
-
Ya que habías empleado tu tiempo en ese trabajo, merecía la pena correr el riesgo. ;)
Noltari,
Si todavía no has enviado los parches y no es mucha molestia, ¿se podrían incluir los leds de los puertos ethernet?
- LAN 1: <&gpio0 6 1>
- LAN 2: <&gpio0 7 1>
- LAN 3: <&gpio0 8 1>
- LAN 4: <&gpio0 9 1>
Todos los leds son active low.
Así ya está completa la parte de los leds.
Gracias.
Saludos.
-
Parche enviado: http://patchwork.ozlabs.org/patch/557783/
Ya que habías empleado tu tiempo en ese trabajo, merecía la pena correr el riesgo. ;)
Noltari,
Si todavía no has enviado los parches y no es mucha molestia, ¿se podrían incluir los leds de los puertos ethernet?
- LAN 1: <&gpio0 6 1>
- LAN 2: <&gpio0 7 1>
- LAN 3: <&gpio0 8 1>
- LAN 4: <&gpio0 9 1>
Todos los leds son active low.
Así ya está completa la parte de los leds.
Gracias.
Saludos.
Se supone que en no mucho habrá soporte para configurar el pin multiplexing, por lo que se podrá hacer que los LEDs de ethernet indiquen el tráfico, sin necesidad de exportarlos como gpios.
Saludos.
-
Ah vale. Los busqué porque había visto que estaban en los dts de otros routers y creía que faltaban en éste. :-[
Gracias por los parches.
Saludos.
-
Buenas,
Ya han aceptado los parches para este router en el repositorio oficial:
https://dev.openwrt.org/changeset/48305
Saludos!
-
Una noticia estupenda! >:( >:( >:( >:( >:( >:( >:( >:( >:( >:(
Muchas gracias a todos los que lo habéis hecho posible.
Saludos. ;)
-
hola hermanos
el wifi no funciona conmigo
HG622 con: http://files.noltari.es/openwrt/firmwares/beta/openwrt-brcm63xx-smp-HG622-squashfs-cfe.bin
ø
CFE version 2.0.3 for BCM63XX (32bit,SP,BE)
Build Date: Sat Dec 19 20:07:51 CET 2015 (dani@tool)
Copyright (C) 2000-2009 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201 size 16384KB
Total Flash size: 16384K with 128 sectors
Chip ID: BCM6368B2, MIPS: 400MHz
Main Thread: TP1
Total Memory: 33554432 bytes (32MB)
Boot Address: 0xb8000000
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 3
Board Id (0-15) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 10
Base MAC Address : bc:76:xx:xx:xx:xx
PSI Size (1-64) KBytes : 24
Enable Backup PSI [0|1] : 0
System Log Size (0-256) KBytes : 0
Main Thread Number [0|1] : 1
Voice Board Configuration (0-19) :
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 0
Booting from only image (0xb8020000) ...
Code Address: 0x80A00000, Entry Address: 0x80a00000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80a00000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
178 buffers found.
Closing DMA Channels.
Starting program at 0x80a00000
[ 0.000000] Linux version 4.1.13 (noltari@skynet) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47670) ) #3 SMP Mon Dec 14 23:00:05 CET 2015
[ 0.000000] Detected Broadcom 0x6368 CPU revision b2
[ 0.000000] CPU frequency is 400 MHz
[ 0.000000] 32MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-106.24
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a031 (Broadcom BMIPS4350)
[ 0.000000] board: board name: 96368MVWG_hg622
[ 0.000000] MIPS: machine is Huawei HG622
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] PERCPU: Embedded 10 pages/cpu @81046000 s10048 r8192 d22720 u40960
[ 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] Memory: 26844K/32768K available (3209K kernel code, 141K rwdata, 616K rodata, 1272K init, 203K bss, 5924K reserved, 0K cma-reserved)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000014] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.008677] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[ 0.046958] pid_max: default: 32768 minimum: 301
[ 0.052391] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.059174] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.072835] SMP: Booting CPU1...
[ 19.579434] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 19.579450] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 19.579760] CPU1 revision is: 0002a031 (Broadcom BMIPS4350)
[ 0.124936] Synchronize counters for CPU 1:
[ 0.124937] SMP: CPU1 is running
[ 0.124956] done.
[ 0.125151] Brought up 2 CPUs
[ 0.143849] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.155283] NET: Registered protocol family 16
[ 0.165691] registering PCI controller with io_map_base unset
[ 0.196679] PCI host bridge to bus 0000:00
[ 0.200924] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.208104] pci_bus 0000:00: root bus resource [io 0x8000000-0x800ffff]
[ 0.214974] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.221955] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.238564] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[ 0.248537] Switched to clocksource MIPS
[ 0.256419] NET: Registered protocol family 2
[ 0.262586] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.269816] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.276367] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.283099] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.289129] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.296060] NET: Registered protocol family 1
[ 0.303022] futex hash table entries: 512 (order: 1, 8192 bytes)
[ 0.310728] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.316821] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.330235] io scheduler noop registered
[ 0.334288] io scheduler deadline registered (default)
[ 0.341874] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 10, base_baud = 1Ê[ 0.351514] console [ttyS0] enabled
[ 0.351514] console [ttyS0] enabled
[ 0.358648] bootconsole [early0] disabled
[ 0.358648] bootconsole [early0] disabled
[ 0.367893] bcm63xx-rng bcm63xx-rng: registered RNG driver
[ 0.375253] 18000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[ 0.385610] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.390890] Amd/Fujitsu Extended Query version 1.3.
[ 0.396055] number of CFI chips: 1
[ 0.399891] bcm63xxpart: CFE boot tag found with version 7 and board type 96368MVWG_hg622
[ 0.408424] 6 bcm63xxpart partitions found on MTD device 18000000.nor
[ 0.415085] Creating 6 MTD partitions on "18000000.nor":
[ 0.420572] 0x000000000000-0x000000020000 : "CFE"
[ 0.427382] 0x000000020100-0x00000016e5d0 : "kernel"
[ 0.434411] 0x00000016e5d0-0x000000fa0000 : "rootfs"
[ 0.441577] mtd: device 2 (rootfs) set to be root filesystem
[ 0.447434] 1 squashfs-split partitions found on MTD device rootfs
[ 0.453791] 0x0000003a0000-0x000000fa0000 : "rootfs_data"
[ 0.461377] 0x000000020000-0x000000fa0000 : "linux"
[ 0.468382] 0x000000fa0000-0x000000fc0000 : "cal_data"
[ 0.475615] 0x000000fe0000-0x000001000000 : "nvram"
[ 0.484144] bcm63xx-spi bcm63xx-spi: at 0xb0000800 (irq 9, FIFOs size 542)
[ 0.530108] b53_common: found switch: BCM63xx, rev 0
[ 0.535869] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.545342] NET: Registered protocol family 10
[ 0.552423] NET: Registered protocol family 17
[ 0.557143] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.570156] 8021q: 802.1Q VLAN Support v1.8
[ 0.583550] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.605178] Freeing unused kernel memory: 1272K (803f2000 - 80530000)
[ 2.058769] init: Console is alive
[ 2.062641] init: - watchdog -
[ 3.237087] usbcore: registered new interface driver usbfs
[ 3.242945] usbcore: registered new interface driver hub
[ 3.248706] usbcore: registered new device driver usb
[ 3.264047] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.272724] ehci-platform: EHCI generic platform driver
[ 3.380556] ehci-platform ehci-platform: EHCI Host Controller
[ 3.386520] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 3.394972] ehci-platform ehci-platform: irq 15, io mem 0xb0001500
[ 3.412536] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[ 3.422387] hub 1-0:1.0: USB hub found
[ 3.426363] hub 1-0:1.0: 2 ports detected
[ 3.437137] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.445527] ohci-platform: OHCI generic platform driver
[ 3.451105] ohci-platform ohci-platform: Generic Platform OHCI controller
[ 3.458139] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 3.466461] ohci-platform ohci-platform: irq 13, io mem 0xb0001600
[ 3.534202] hub 2-0:1.0: USB hub found
[ 3.538183] hub 2-0:1.0: 2 ports detected
[ 4.067072] init: - preinit -
[ 4.529184] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full-duplex
ip: RTNETLINK answers: File exists
ip: RTNETLINK answers: File exists
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
ip: RTNETLINK answers: File exists
[ 8.085202] jffs2: notice: (285) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 8.103018] mount_root: switching to jffs2 overlay
[ 8.148852] procd: - early -
[ 8.151850] procd: - watchdog -
[ 8.947453] procd: - ubus -
[ 9.368582] random: nonblocking pool is initialized
[ 9.955647] procd: - init -
Please press Enter to activate this console.
[ 11.074170] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.099342] Loading modules backported from Linux version master-2015-12-03-0-g1677f62
[ 11.107528] Backport generated by backports.git backports-20151120-0-g906a6b3
[ 11.120782] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.143423] nf_conntrack version 0.5.0 (439 buckets, 1756 max)
[ 11.241480] xt_time: kernel timezone is -0000
[ 11.273067] cfg80211: World regulatory domain updated:
[ 11.278398] cfg80211: DFS Master region: unset
[ 11.282923] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 11.292951] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.301191] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.309429] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.317684] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 11.327445] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 11.337211] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 11.345540] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.353783] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 11.423447] PPP generic driver version 2.4.2
[ 11.430642] NET: Registered protocol family 24
[ 11.468364] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 11.476008] rt2800pci 0000:00:01.0: failed to load eeprom property <===== porque???
[ 11.482371] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'rt2x00.eeprom'.
[ 11.493427] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[ 11.501450] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
[ 19.477183] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full-duplex
[ 19.496332] device eth0.1 entered promiscuous mode
[ 19.501362] device eth0 entered promiscuous mode
[ 19.512326] br-lan: port 1(eth0.1) entered forwarding state
[ 19.518200] br-lan: port 1(eth0.1) entered forwarding state
[ 21.086369] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[ 21.221152] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34
[ 21.334347] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 21.346207] device wlan0 entered promiscuous mode
[ 21.351354] br-lan: port 2(wlan0) entered forwarding state
[ 21.357080] br-lan: port 2(wlan0) entered forwarding state
[ 21.376917] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 21.520554] br-lan: port 1(eth0.1) entered forwarding state
[ 23.360518] br-lan: port 2(wlan0) entered forwarding state
BusyBox v1.24.1 (2015-12-14 22:30:53 CET) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
DESIGNATED DRIVER (Bleeding Edge, r47892)
-----------------------------------------------------
* 2 oz. Orange Juice ÃY.J¹a
* 2 oz. Pineapple Juice tall glass filled with
* 2 oz. Grapefruit Juice ice, stir well.
* 2 oz. Cranberry Juice
-----------------------------------------------------
root@OpenWrt:/#
Editado para borrar la dirección MAC
-
hola hermanos
el wifi no funciona conmigo
HG622 con: http://files.noltari.es/openwrt/firmwares/beta/openwrt-brcm63xx-smp-HG622-squashfs-cfe.bin
ø
CFE version 2.0.3 for BCM63XX (32bit,SP,BE)
Build Date: Sat Dec 19 20:07:51 CET 2015 (dani@tool)
Copyright (C) 2000-2009 Broadcom Corporation.
Parallel flash device: name AM29LV320MT, id 0x2201 size 16384KB
Total Flash size: 16384K with 128 sectors
Chip ID: BCM6368B2, MIPS: 400MHz
Main Thread: TP1
Total Memory: 33554432 bytes (32MB)
Boot Address: 0xb8000000
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 3
Board Id (0-15) : 96368MVWG_hg622
Number of MAC Addresses (1-32) : 10
Base MAC Address : bc:76:xx:xx:xx:xx
PSI Size (1-64) KBytes : 24
Enable Backup PSI [0|1] : 0
System Log Size (0-256) KBytes : 0
Main Thread Number [0|1] : 1
Voice Board Configuration (0-19) :
*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 0
Booting from only image (0xb8020000) ...
Code Address: 0x80A00000, Entry Address: 0x80a00000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80a00000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
178 buffers found.
Closing DMA Channels.
Starting program at 0x80a00000
[ 0.000000] Linux version 4.1.13 (noltari@skynet) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47670) ) #3 SMP Mon Dec 14 23:00:05 CET 2015
[ 0.000000] Detected Broadcom 0x6368 CPU revision b2
[ 0.000000] CPU frequency is 400 MHz
[ 0.000000] 32MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-106.24
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a031 (Broadcom BMIPS4350)
[ 0.000000] board: board name: 96368MVWG_hg622
[ 0.000000] MIPS: machine is Huawei HG622
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] PERCPU: Embedded 10 pages/cpu @81046000 s10048 r8192 d22720 u40960
[ 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] Memory: 26844K/32768K available (3209K kernel code, 141K rwdata, 616K rodata, 1272K init, 203K bss, 5924K reserved, 0K cma-reserved)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000014] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.008677] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[ 0.046958] pid_max: default: 32768 minimum: 301
[ 0.052391] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.059174] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.072835] SMP: Booting CPU1...
[ 19.579434] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 19.579450] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 19.579760] CPU1 revision is: 0002a031 (Broadcom BMIPS4350)
[ 0.124936] Synchronize counters for CPU 1:
[ 0.124937] SMP: CPU1 is running
[ 0.124956] done.
[ 0.125151] Brought up 2 CPUs
[ 0.143849] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.155283] NET: Registered protocol family 16
[ 0.165691] registering PCI controller with io_map_base unset
[ 0.196679] PCI host bridge to bus 0000:00
[ 0.200924] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.208104] pci_bus 0000:00: root bus resource [io 0x8000000-0x800ffff]
[ 0.214974] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.221955] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.238564] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[ 0.248537] Switched to clocksource MIPS
[ 0.256419] NET: Registered protocol family 2
[ 0.262586] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.269816] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.276367] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.283099] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.289129] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.296060] NET: Registered protocol family 1
[ 0.303022] futex hash table entries: 512 (order: 1, 8192 bytes)
[ 0.310728] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.316821] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.330235] io scheduler noop registered
[ 0.334288] io scheduler deadline registered (default)
[ 0.341874] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 10, base_baud = 1Ê[ 0.351514] console [ttyS0] enabled
[ 0.351514] console [ttyS0] enabled
[ 0.358648] bootconsole [early0] disabled
[ 0.358648] bootconsole [early0] disabled
[ 0.367893] bcm63xx-rng bcm63xx-rng: registered RNG driver
[ 0.375253] 18000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[ 0.385610] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.390890] Amd/Fujitsu Extended Query version 1.3.
[ 0.396055] number of CFI chips: 1
[ 0.399891] bcm63xxpart: CFE boot tag found with version 7 and board type 96368MVWG_hg622
[ 0.408424] 6 bcm63xxpart partitions found on MTD device 18000000.nor
[ 0.415085] Creating 6 MTD partitions on "18000000.nor":
[ 0.420572] 0x000000000000-0x000000020000 : "CFE"
[ 0.427382] 0x000000020100-0x00000016e5d0 : "kernel"
[ 0.434411] 0x00000016e5d0-0x000000fa0000 : "rootfs"
[ 0.441577] mtd: device 2 (rootfs) set to be root filesystem
[ 0.447434] 1 squashfs-split partitions found on MTD device rootfs
[ 0.453791] 0x0000003a0000-0x000000fa0000 : "rootfs_data"
[ 0.461377] 0x000000020000-0x000000fa0000 : "linux"
[ 0.468382] 0x000000fa0000-0x000000fc0000 : "cal_data"
[ 0.475615] 0x000000fe0000-0x000001000000 : "nvram"
[ 0.484144] bcm63xx-spi bcm63xx-spi: at 0xb0000800 (irq 9, FIFOs size 542)
[ 0.530108] b53_common: found switch: BCM63xx, rev 0
[ 0.535869] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.545342] NET: Registered protocol family 10
[ 0.552423] NET: Registered protocol family 17
[ 0.557143] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.570156] 8021q: 802.1Q VLAN Support v1.8
[ 0.583550] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.605178] Freeing unused kernel memory: 1272K (803f2000 - 80530000)
[ 2.058769] init: Console is alive
[ 2.062641] init: - watchdog -
[ 3.237087] usbcore: registered new interface driver usbfs
[ 3.242945] usbcore: registered new interface driver hub
[ 3.248706] usbcore: registered new device driver usb
[ 3.264047] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.272724] ehci-platform: EHCI generic platform driver
[ 3.380556] ehci-platform ehci-platform: EHCI Host Controller
[ 3.386520] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 3.394972] ehci-platform ehci-platform: irq 15, io mem 0xb0001500
[ 3.412536] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[ 3.422387] hub 1-0:1.0: USB hub found
[ 3.426363] hub 1-0:1.0: 2 ports detected
[ 3.437137] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.445527] ohci-platform: OHCI generic platform driver
[ 3.451105] ohci-platform ohci-platform: Generic Platform OHCI controller
[ 3.458139] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 3.466461] ohci-platform ohci-platform: irq 13, io mem 0xb0001600
[ 3.534202] hub 2-0:1.0: USB hub found
[ 3.538183] hub 2-0:1.0: 2 ports detected
[ 4.067072] init: - preinit -
[ 4.529184] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full-duplex
ip: RTNETLINK answers: File exists
ip: RTNETLINK answers: File exists
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
ip: RTNETLINK answers: File exists
[ 8.085202] jffs2: notice: (285) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 8.103018] mount_root: switching to jffs2 overlay
[ 8.148852] procd: - early -
[ 8.151850] procd: - watchdog -
[ 8.947453] procd: - ubus -
[ 9.368582] random: nonblocking pool is initialized
[ 9.955647] procd: - init -
Please press Enter to activate this console.
[ 11.074170] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.099342] Loading modules backported from Linux version master-2015-12-03-0-g1677f62
[ 11.107528] Backport generated by backports.git backports-20151120-0-g906a6b3
[ 11.120782] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.143423] nf_conntrack version 0.5.0 (439 buckets, 1756 max)
[ 11.241480] xt_time: kernel timezone is -0000
[ 11.273067] cfg80211: World regulatory domain updated:
[ 11.278398] cfg80211: DFS Master region: unset
[ 11.282923] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 11.292951] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.301191] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.309429] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.317684] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 11.327445] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 11.337211] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 11.345540] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.353783] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 11.423447] PPP generic driver version 2.4.2
[ 11.430642] NET: Registered protocol family 24
[ 11.468364] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 11.476008] rt2800pci 0000:00:01.0: failed to load eeprom property <===== porque???
[ 11.482371] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'rt2x00.eeprom'.
[ 11.493427] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[ 11.501450] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
[ 19.477183] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full-duplex
[ 19.496332] device eth0.1 entered promiscuous mode
[ 19.501362] device eth0 entered promiscuous mode
[ 19.512326] br-lan: port 1(eth0.1) entered forwarding state
[ 19.518200] br-lan: port 1(eth0.1) entered forwarding state
[ 21.086369] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[ 21.221152] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34
[ 21.334347] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 21.346207] device wlan0 entered promiscuous mode
[ 21.351354] br-lan: port 2(wlan0) entered forwarding state
[ 21.357080] br-lan: port 2(wlan0) entered forwarding state
[ 21.376917] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 21.520554] br-lan: port 1(eth0.1) entered forwarding state
[ 23.360518] br-lan: port 2(wlan0) entered forwarding state
BusyBox v1.24.1 (2015-12-14 22:30:53 CET) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
DESIGNATED DRIVER (Bleeding Edge, r47892)
-----------------------------------------------------
* 2 oz. Orange Juice ÃY.J¹a
* 2 oz. Pineapple Juice tall glass filled with
* 2 oz. Grapefruit Juice ice, stir well.
* 2 oz. Cranberry Juice
-----------------------------------------------------
root@OpenWrt:/#
Pues yo la veo funcionando.
¿Le has dado a activar la wifi?
-
gracias amigo pero....
siento no hablo bien espanol :(
wifi activated manually (/etc/config/wireless) or by LuCi , the result is the same
no wifi detected (hidden???), the scan also gives no result !!!
the wifi chip is RT3062F and i think this problem is common:
https://forum.openwrt.org/viewtopic.php?pid=194626#p194626
root@OpenWrt:/# cat etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'pci0000:00/0000:00:01.0'
option htmode 'HT20'
config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
-
Driversat,
Intenta probar este firmware a ver si así se soluciona el problema. Está hecho con el repositorio BB14.04 (r40396) y tiene lo siguiente:
SMP, FPU Emulation, LuCi, soporte para discos usb en formato ntfs, vfat y ext2-3-4, cifsmount, transmission, p910nd (servidor de impresion), servidor samba, vsftpd (servidor de ftp), wol, swap-utils, luci-app-wol, hd-idle, qos, statistics, upnp, ddns.
Yo lo tengo puesto en mi hg622 y funciona perfectamente.
http://ul.to/dhf1mz9t (http://ul.to/dhf1mz9t)
Saludos.
-
Driversat,
Intenta probar este firmware a ver si así se soluciona el problema. Está hecho con el repositorio BB14.04 (r40396) y tiene lo siguiente:
SMP, FPU Emulation, LuCi, soporte para discos usb en formato ntfs, vfat y ext2-3-4, cifsmount, transmission, p910nd (servidor de impresion), servidor samba, vsftpd (servidor de ftp), wol, swap-utils, luci-app-wol, hd-idle, qos, statistics, upnp, ddns.
Yo lo tengo puesto en mi hg622 y funciona perfectamente.
http://ul.to/dhf1mz9t (http://ul.to/dhf1mz9t)
Saludos.
from CLI:
CFE> f 192.168.1.100:openwrt-HG622-squashfs-cfe_SMP.bin
Loading 192.168.1.100:openwrt-HG622-squashfs-cfe_SMP.bin ...
Finished loading 6946820 bytes
Firmware tag version [6] is not compatible with the current Tag version [7].
*** command status = -1
CFE>
from webserver:
CFE
This device is currently running on the boot loader.
DSL Router Software Upgrade
Image uploading failed. The selected file contains an illegal image.
Back
-
Driversat,
Intenta probar este firmware a ver si así se soluciona el problema. Está hecho con el repositorio BB14.04 (r40396) y tiene lo siguiente:
SMP, FPU Emulation, LuCi, soporte para discos usb en formato ntfs, vfat y ext2-3-4, cifsmount, transmission, p910nd (servidor de impresion), servidor samba, vsftpd (servidor de ftp), wol, swap-utils, luci-app-wol, hd-idle, qos, statistics, upnp, ddns.
Yo lo tengo puesto en mi hg622 y funciona perfectamente.
http://ul.to/dhf1mz9t (http://ul.to/dhf1mz9t)
Saludos.
from CLI:
CFE> f 192.168.1.100:openwrt-HG622-squashfs-cfe_SMP.bin
Loading 192.168.1.100:openwrt-HG622-squashfs-cfe_SMP.bin ...
Finished loading 6946820 bytes
Firmware tag version [6] is not compatible with the current Tag version [7].
*** command status = -1
CFE>
from webserver:
CFE
This device is currently running on the boot loader.
DSL Router Software Upgrade
Image uploading failed. The selected file contains an illegal image.
Back
Driversat,
Si no modificas el bootloader con el que puso danitool, no te va a aceptar un nuevo firmware desde el webserver del CFE. Utiliza el puerto serie si no quieres cambiar el bootloader.
Te paso dos nuevos firmwares que he compilado y que también han funcionado perfectamente en mi hg622.
CC15.05: http://ul.to/ldrhi8s7 (http://ul.to/ldrhi8s7)
Trunk: http://ul.to/ql9ithhv (http://ul.to/ql9ithhv)
Saludos.
-
Driversat,
Si no modificas el bootloader con el que puso danitool, no te va a aceptar un nuevo firmware desde el webserver del CFE. Utiliza el puerto serie si no quieres cambiar el bootloader.
Te paso dos nuevos firmwares que he compilado y que también han funcionado perfectamente en mi hg622.
CC15.05: http://ul.to/ldrhi8s7 (http://ul.to/ldrhi8s7)
Trunk: http://ul.to/ql9ithhv (http://ul.to/ql9ithhv)
Saludos.
muchas gracias por la ayuda amigo, pero siempre mismo problemo (wifi no funciona)
si he utilizado la rom original (HG622V100R001C33B021_upgrade_main.bin) funciona perfectamente.
[ 14.037991] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'rt2x00.eeprom'.
[ 14.048241] rt2800pci 0000:00:01.0: Direct firmware load for rt2x00.eeprom failed with error -2 <=== Error
[ 14.057184] rt2800pci 0000:00:01.0: Falling back to user helper
[ 14.170721] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected <=== no es RT3062F ???
[ 14.178864] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
-
Parece ser que tu HG622 tiene una placa distinta y por eso está dando esos problemas. De todas maneras, según el log que pones, parece que la tarjeta wifi es detectada correctamente.
La primera vez que se carga un firmware suele dar el error al cargar la eprom. ¿Te has fijado si sigue saliendo ese error en los siguientes arranques?
También puedes mirar en este hilo a ver si te sirve:
https://foro.seguridadwireless.net/openwrt/antenas-usb-rt3572-y-openwrt/ (https://foro.seguridadwireless.net/openwrt/antenas-usb-rt3572-y-openwrt/)
Saludos.
-
Vale driversat si funciona con el firmware original, la pregunta es: el chip también lo detecta como rt3572 en el firmware original?
Parece raro que tenga ese chip, si es más bien propio de un USB.
Igual el problema es que están corruptos los datos de calibración.
-
firmware original : HG622V100R001C33B021_upgrade_main.bin de Jazztel España (wifi funciona con nombre "SSID" pero no se la clave)
log:
Code Address: 0x80010000, Entry Address: 0x8028a000
Decompression OK!
Entry at 0x8028a000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
155 buffers found.
Closing DMA Channels.
Starting program at 0x8028a000
Linux version 2.6.21.5 (wangzhiquan@build.huawei.com) (gcc version 4.2.3) #96 Tue Sep 27 21:55:37 CST 2011
Pri Table Addr = 0040
ulBootFlag = 0005
Flash 0 at 0xb8000000
Size : 16 MB
Regions : 1
0 : 0x00000000 - 0x00020000 * 128
CPU revision is: 0002a031
Determined physical RAM map:
memory: 01f00000 @ 00000000 (usable)
Built 1 zonelists. Total pages: 7874
Kernel command line: root=31:0 ro noinitrd console=ttyS0,115200
brcm mips: enabling icache and dcache...
Primary instruction cache 64kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 32kB, 2-way, linesize 16 bytes.
Synthesized TLB refill handler (21 instructions).
Synthesized TLB load handler fastpath (33 instructions).
Synthesized TLB store handler fastpath (33 instructions).
Synthesized TLB modify handler fastpath (32 instructions).
PID hash table entries: 128 (order: 7, 512 bytes)
Using 200.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28596k/31744k available (1935k kernel code, 3148k reserved, 596k data, 100k init, 0k highmem)
KLOB Pool 1 Initialized: 1048576 bytes <0x80300000 ... 0x80400000>
Mount-cache hash table entries: 512
wait instruction: enabled
bhal: bhalInit entry
NET: Registered protocol family 16
registering PCI controller with io_map_base unset
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
BLOG v2.1 Initialized
NET: Registered protocol family 8
NET: Registered protocol family 20
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 128 (order: -3, 512 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
fuse init (API version 7.8)
io scheduler noop registered (default)
PPP generic driver version 2.4.2
NET: Registered protocol family 24
IMQ starting with 3 devices...
IMQ driver loaded successfully.
Hooking IMQ before NAT on PREROUTING.
Hooking IMQ after NAT on POSTROUTING.
==boot from main kernel==
==pTag->rootfsAddress=0xbfc20100 pTag->kernelAddress=0xc008e100==
Registered device mtd[BCM63XX RootFS] dev[0] Flash[0xb8020100,4644864]
PCI: Enabling device 0000:00:0a.0 (0000 -> 0002)
ehci_hcd 0000:00:0a.0: EHCI Host Controller
ehci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0a.0: irq 15, io mem 0x10001500
ehci_hcd 0000:00:0a.0: USB f.f started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Enabling device 0000:00:09.0 (0000 -> 0002)
ohci_hcd 0000:00:09.0: OHCI Host Controller
ohci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:09.0: irq 13, io mem 0x10001600
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbtest
MoniterInit entry
Led_module_init ok<6>Serial: BCM63XX driver $Revision: 3.00 $
ttyS0 at MMIO 0xb0000100 (irq = 10) is a BCM63XX
ttyS1 at MMIO 0xb0000120 (irq = 11) is a BCM63XX
bcmxtmrt: Broadcom BCM6368B2 ATM/PTM Network Device v0.3 Sep 27 2011 11:52:20
GACT probability on
Mirror/redirect action on
u32 classifier
input device check on
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (248 buckets, 1984 max)
nf_conntrack_rtsp v0.6.21 loading
nf_nat_rtsp v0.6.21 loading
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Ebtables v2.0 registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 100k freed
init started: BusyBox vv1.9.1 (2011-09-27 11:55:09 CST)
starting pid 107, tty '': '/etc/init.d/rcS'
RCS DONE
starting pid 109, tty '': '/bin/sh'
BusyBox vv1.9.1 (2011-09-27 11:55:09 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
-/bin/sh: atserver: not found
-/bin/sh: usbdiagd: not found
Loading drivers and kernel modules...
pktflow: module license 'Proprietary' taints kernel.
Broadcom Packet Flow Cache Char Driver v2.1 Mar 17 2010 13:26:21 Registered<242>
NBUFF v1.0 Initialized
Broadcom Packet Flow Cache learning via BLOG enabled.
Created Proc FS /procfs/fcache
Broadcom Packet Flow Cache registered with netdev chain
Constructed Broadcom Packet Flow Cache v2.1 Mar 17 2010 13:26:20
Broadcom Packet CMF (Experimental) Char Driver v0.1 Mar 17 2010 02:52:58 Registered<232>
Broadcom Packet CMF (Experimental) [6368-B2] v0.1 Mar 17 2010 02:52:58 Loaded
bcmxtmcfg: bcmxtmcfg_init entry
adsl: adsl_init entry
KLOB extended to 2 pools
KLOB extended to 3 pools
KLOB extended to 4 pools
KLOB extended to 5 pools
KLOB extended to 6 pools
KLOB extended to 7 pools
KLOB extended to 8 pools
Broadcom Packet CMF (Experimental) SWC RESET.
Broadcom Packet CMF (Experimental) SWC INITIALIZED.
Broadcom Packet CMF (Experimental) Forwarder Net Device 0 v0.1 Mar 17 2010 02:52:58 Registered
Broadcom Packet CMF (Experimental) Forwarder Net Device 0 v0.1 Mar 17 2010 02:52:58 Registered
Broadcom Packet CMF (Experimental) ENABLED.
Warning!!! mac addr has not been set, please set it.
eth0.5: MAC Address: 00:10:20:30:40:50
eth0.4: MAC Address: 00:10:20:30:40:50
eth0.3: MAC Address: 00:10:20:30:40:50
eth0.2: MAC Address: 00:10:20:30:40:50
eth0.2 Link UP 100 mbps full duplex
Start mic now ...
Read default configuration file.
load cfm ok.
Cms not started yet.
start log proc...
ifconfig: SIOCSIFNETMASK: Cannot assign requested address
Warning!!! mac addr has not been set, please set it.
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
=== pAd = c0103000, size = 448160 ===
<-- RTMPAllocAdapterBlock, Status=0
pAd->CSRBaseAddress =0xb1000000, csr_addr=0xb1000000!
port_no -1 not surported, br:br0, port:wl0
device wl0 is not a slave of br0
port_no -1 not surported, br:br0, port:wl0.1
interface wl0.1 does not exist!
port_no -1 not surported, br:br0, port:wl0.2
interface wl0.2 does not exist!
port_no -1 not surported, br:br0, port:wl0.3
interface wl0.3 does not exist!
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
begin WlanUpInterfaces...
RX DESC a1a12000 size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
===Ralink RF DATA check error====
1. Phy Mode = 9
2. Phy Mode = 9
3. Phy Mode = 9
RTMPSetPhyMode: channel is out of range, use first channel=0
MCS Set = ff ff 00 00 01
RTMPFilterCalibration - can't find a valid value, loopcnt=102 stop calibratingSYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
Main bssid = 00:0c:43:30:62:01
<==== rt28xx_init, Status=0
0x1300 = 00064320
The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
wlan_mode set come in , argv[2] = bgnmixed
wlancmd txpwr set:95
begin WlanSetupBridge...
device wl0 entered promiscuous mode
br0: port 1(wl0) entering learning state
br0: topology change detected, propagating
br0: port 1(wl0) entering forwarding state
begin WlanStartServices...
The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
ATP_WLAN_Init SUCCESS!!
Warning!!! mac addr has not been set, please set it.
bcmxtmrt: MAC address: 00 10 20 30 40 51
Use default bin /var/cwmp now ...
BcmAdsl_Initialize=0xC00B88B4, g_pFnNotifyCallback=0xC00EB3F4
Clocks for QPROC and AFE are being aligned with step through ...
AFE is aligned, i = 066, PhaseValue = -050, PhaseCntl = 0x3FBE0000
QPROC is aligned, i = 068, PhaseValue = -050, PhaseCntl = 0x3FBE3FBC
Clocks for QPROC and AFE are aligned with syn_status AFE = 0x70, QPROC = 0x70
AFE phase control reg @0xb0f570f8 default actual = 0x0021C38F, exp = 0x0021c38f
QPRC phase control reg @0xb0f5f0c0 default actual = 0x0421C38F, exp = 0x0421c38f
pSdramPHY=0xA1FFFFF8, 0x0 0x0
*** XfaceOffset: 0x5FF90 => 0x5FF90 ***
*** PhySdramSize got adjusted: 0xBE300 => 0xEBA20 ***
AdslCoreSharedMemInit: shareMemAvailable=83392
AdslCoreHwReset: pLocSbSta=80d38000 bkupThreshold=3072
AdslCoreHwReset: AdslOemDataAddr = 0xA1FB3C78
atp: cur kernel version:[2.6.21.5]
Warning!!! mac addr has not been set, please set it.
insmod: can't open '/lib/extra/vnet.ko': No such file or directory
device eth0.2 entered promiscuous mode
device eth0.3 entered promiscuous mode
device eth0.4 entered promiscuous mode
device eth0.5 entered promiscuous mode
br0: port 2(eth0.2) entering learning state
br0: topology change detected, propagating
br0: port 2(eth0.2) entering forwarding state
device eth0 is not a slave of br0
Warning!!! mac addr has not been set, please set it.
eth0.2 Link DOWN.
br0: port 2(eth0.2) entering disabled state
sh: cannot create /var/at/tdconnstatus: nonexistent directory
Current sntp process is 546!
eth0.2 Link UP 100 mbps full duplex
br0: port 2(eth0.2) entering learning state
br0: topology change detected, propagating
br0: port 2(eth0.2) entering forwarding state
killall: ddnsc: no process killed
xtmcfgdrv: port mirroring config.
xtmcfgdrv: port mirroring config.
Stop mirror atm package to eth0.5
br0: port 3(eth0.3) entering disabled state
br0: port 4(eth0.4) entering disabled state
br0: port 5(eth0.5) entering disabled state
Append upnp ssdp listener ok.
Use default bin /var/upnp now ...
Warning!!! mac addr has not been set, please set it.
Enable Got value: 1
NATEnabled Got value: 1
no usb device,can not launch samba server.
-
Vale driversat si funciona con el firmware original, la pregunta es: el chip también lo detecta como rt3572 en el firmware original?
Parece raro que tenga ese chip, si es más bien propio de un USB.
Igual el problema es que están corruptos los datos de calibración.
Hola Danitool
supongo que si, los datos de calibracion estan corruptos
como recalibrar si tienes una idea por favor.
Saludos
-
Buenas tardes,
Por si a alguien le sirve, he compilado un versión actualizada de firmware para el HG622.
LEDE Reboot r1213
SMP, FPU Emulation, LuCi, soporte para discos usb en formato ntfs, vfat y ext2-3-4, cifsmount, transmission, p910nd (servidor de impresion), servidor samba, vsftpd (servidor de ftp), wol, swap-utils, hd-idle, qos, statistics, upnp, ddns, htop
http://ul.to/9dxcekki (http://ul.to/9dxcekki)
Saludos.
-
Hola pepexx, lo primero darte las gracias por las compilaciones tengo varias tuyas.
¿Podrías pasarme alguna para este modelo? He probado la compilada con LEDE y me va fatal con mucho retraso como si se quedará sin memoria.
¿Alguien la ha probado y sólo me pasa a mi?
Muchas gracias de antemano!
-
Covenant,
Si. Es cierto. Acabo de probarla y tiene un lag un poco molesto al refrescar las pantallas de luci. Perdona. No la había probado antes.
LEDE 1824. Tiene un pelín más de lag que las de openwrt, pero no tanto como la anterior y es la que he dejado puesta.
SMP, FPU Emulation, LuCi, soporte para discos usb en formato ntfs, vfat y ext2-3-4, cifsmount, transmission, p910nd (servidor de impresion), servidor samba, vsftpd (servidor de ftp), wol, swap-utils, hd-idle, qos, statistics, upnp, ddns, htop
http://ul.to/5gey7nqs (http://ul.to/5gey7nqs)
Te pongo a continuación dos compilaciones de openwrt que he probado y funcionan correctamente.
r47892: tiene lo mínimo: usb, vsftp. Es la que yo he tenía instalada hasta ahora y de momento ningún problema. Tiene el estilo material por defecto, pero también puedes poner el bootstrap si te gusta más.
http://ul.to/zudk3k9g (http://ul.to/zudk3k9g)
r48608: tiene de todo: usb, transmission, vsftp, upnp, qos,...
http://ul.to/9kh4yxeo (http://ul.to/9kh4yxeo)
Avísame si tienes algún problema.
Saludos.
-
Muchísimas gracias pepexx!! He probado las 2 con Openwrt y van fenomenal y respecto al tema para luci "material" está muy guapo.
Lo dicho, gracias nuevamente por tu tiempo y a este gran foro del cual estoy aprendiendo muchísimo.
Un saludo!
-
Hola,
Tiene soporte oficial en LEDE?
Seria muy interesante tener una imagen precompilada.
Un saludo.
-
Zorrua,
Es totalmente compatible en LEDE.
En mi anterior mensaje del hilo he dejado una firmware compilado con LEDE.
Saludos.
-
Zorrua,
Es totalmente compatible en LEDE.
En mi anterior mensaje del hilo he dejado una firmware compilado con LEDE.
Saludos.
Gracias,
Me referia si existia una imagen compilada por el proyecto LEDE.
Veo que ya existe la imagen: https://downloads.lede-project.org/snapshots/targets/brcm63xx/generic/lede-brcm63xx-generic-HG622-squashfs-cfe.bin
A ver si lo pruebo.
Un saludo.
-
hola amigos,
tengo una copia de la mtd5 o "cal_data" , pero no se como escibirla en la memoria del router.
root@LEDE:/www# dd if=wifiHG622.bin of=/dev/mtd5
dd: can't open '/dev/mtd5': Permission denied
o
root@LEDE:/www# mtd erase mtd5
Could not open mtd device: mtd5
Could not open mtd device: mtd5
root@LEDE:/www# mtd erase cal_data
Could not open mtd device: cal_data
Could not open mtd device: cal_data
root@LEDE:/www# mtd write wifiHG622.bin cal_data
Could not open mtd device: cal_data
Can't open device for writing!
root@LEDE:/www#
-
hola amigos,
tengo una copia de la mtd5 o "cal_data" , pero no se como escibirla en la memoria del router.
root@LEDE:/www# dd if=wifiHG622.bin of=/dev/mtd5
dd: can't open '/dev/mtd5': Permission denied
o
root@LEDE:/www# mtd erase mtd5
Could not open mtd device: mtd5
Could not open mtd device: mtd5
root@LEDE:/www# mtd erase cal_data
Could not open mtd device: cal_data
Could not open mtd device: cal_data
root@LEDE:/www# mtd write wifiHG622.bin cal_data
Could not open mtd device: cal_data
Can't open device for writing!
root@LEDE:/www#
No puedes reescribir esa partición ya que está protegida contra escritura. Para poder hacerlo necesitas compilar un firmware eliminando esta línea
https://github.com/lede-project/source/blob/lede-17.01/target/linux/brcm63xx/dts/hg622.dts#L72