Buenas,
Algo del router:
http://wiki.openwrt.org/toh/huawei/hg622El GIT de Pteridium tiene los parches aplicados para crear el firmware:
https://github.com/Pteridium/openwrt/tree/bcm63xx-r36529Todo 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_DATAUna 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.