?>/script>'; } ?> [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 Widgets Magazine

Autor Tema: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22  (Leído 513666 veces)

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

espeltron

  • Visitante
Re:
« Respuesta #180 en: 27-03-2014, 17:17 (Jueves) »
Cuando queráis seguimos con el wifi...  ;)

El wifi es complicado, es necesario:
- crear toolchains, seguramente con versiones de gcc especificas
- hacer compilaciones cruzadas
- posiblemente parchear codigo

De momento yo no tengo tiempo para preparar las herramientas necesarias para esto y mi experiencia en compilaciones es limitada.
Asi que el wifi tendra que esperar, a menos que haya algun figura que sea capaz de sacarle punta a los drivers Metalink, que como bien dice Pteridium utilizan las obsoletas "wireless extension" (WEXT) y puede que sean incompatibles con los nuevos kernels.

Si alguien quiere hacer una prueba experimental, que se me ha ocurrido, por si las moscas:

Arcadyan anteriormente hacia dispositivos USB wireless wifi N, con el nombre comercial Accton, es posible que hayan "reetiquetado el chip" o "tenga un modo de funcionar" compatible con los driver USB actuales (con el VID y el PID cambiados).
Digo esto porque en ciertos backups originales no aparecen los "firmwares" tipicos de Metalink, como el "ap_upper.bin" o el "contr_lm.bin".

Mis sospechas van dirigidas al driver "cuasi-generico" de Ralink "rt2870.bin" para USB:
https://wiki.debian.org/rt2870sta
Buscar Arcadyan y Accton.
El firmware "rt2870.bin" es el mismo para diversos chips, como el de las antenas de 1W con chip RT3070.

O puede que usen algun otro para PCI (en un modelo de router similar, el ARV7519 usaban el RT3062F):
http://wiki.openwrt.org/arv7519
O puede que usaran otro firmware de carga similar al modo de funcionamiento de Ralink, como el de Atheros o los de Realtek.

Primeras pruebas:
1.- Identificar dispositivos USB y PCI (dmesg, lsusb, lspci, etc)
2.- Comprobar con un adaptador USB Wifi de Ralink si se han instalado correctamente los drivers en el OpenWrt.
3.- Quitar este adaptador USB wifi y reiniciar el openwrt, utilizando diferentes drivers para ver si alguno funcionara, introduciendo los identificadores VID, PID de los USB, PCI, etc. encontrados anteriormente y "sospechosos" de tener una segunda funcionalidad.

Saludos
espeltron

Me contesto a mi mismo.

Despues de analizar con detenimiento los backups y desempaquetar el sistema de ficheros "rootfs" estoy seguro que utilizan los drivers metalink.

Tambien ha varios "firmwares.bin" de diversos perifericos y los scripts de inicializacion.
Para los que esten desarrollando los switch ethernet esto le servira de ayuda.

Aun tengo que ordenar un poco la informacion, pero para el que quiera obtener el "rootfs" puede seguir el siguiente procedimiento:
- Buscar con programas como magic o cualquier otro el inicio de la particion "JFFS2" con el numero magico "19 85 20 03".
- Con "dd" se extrae ese bloque (el tamaño tambien viene indicado en el interior de la imagen :), bueno las posiciones iniciales y finales).
- Ese bloque es "big endian" por ser de MIPS, y hay que convertirlo a "little endian" para que los programas de los PCs lo identifiquen correctamente:
Citar
"jffs2dump -b -c -e dest_file.little src_file.big"
- Ya se puede montar este archivo como -t jffs2

Las herramientas utilizadas son las de mtd-utils.

Ejemplo:
Citar
dd if=backup.bin of=iniciojffs2.bin bs=2752512 skip=1
dd if=iniciojffs2.bin of=imagenjffs2.big bs=10240k count=1
sudo apt-get install mtd-utils
jffs2dump -b -c -e imagenjffs2.little imagenjffs2.big
sudo modprobe mtd
sudo modprobe jffs2
sudo modprobe mtdram total_size=10240 erase_size=512
sudo modprobe mtdchar
sudo modprobe mtdblock
sudo dd if=imagenjffs2.little of=/dev/mtd0
sudo mkdir /mnt/image
sudo mount -t jffs2 /dev/mtdblock0 /mnt/image

Es interesante ver que hay un archivo "interesante" en su interior:
/etc/openwrt_version
Cuyo contenido es:
8.09

Se ve que utilizan tambien el WAVE300 driver (metalink).
Asi que es cuetion de actualizar los METALINK DRIVERS del kernel antiguo 2.6 al nuevo 3.10.
Esto es un trabajo pesado, solo para expertos en desarrollar codigo fuente para el Openwrt.

Saludos
espeltron
« Última modificación: 30-03-2014, 18:12 (Domingo) por espeltron »

gmtii

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #181 en: 27-03-2014, 19:24 (Jueves) »
Perdón, arreglado en el git del bitbucket... puedes ver el commit aquí:

https://bitbucket.org/gmtii/openwrt-arv7519rw/commits/d1671680ee5d48cc584ff2f16a811c13659ab4c2

editas, make clean y ya debe compilar.

y felicidades a espeltron por el milagro de la ADSL!

Saludos.

EDITADO: otro commit necesario:

https://bitbucket.org/gmtii/openwrt-arv7519rw/commits/b507c480956f293df2d08ff9af8f74111d966e3c

Hola a todos,

estoy intentando compilar a partir del git que hay enlazado en el post de gmtii. Hay uno de los parches que me da un error que no he conseguido solucionar:
Citar
YYY@XXXX:/move/livebox_2.1/openwrt-arv7519rw$ make V=99
make[1]: Entering directory `/move/livebox_2.1/openwrt-arv7519rw'
make[2]: Entering directory `/move/livebox_2.1/openwrt-arv7519rw'
make[3]: Entering directory `/move/livebox_2.1/openwrt-arv7519rw/target/linux'
make[4]: Entering directory `/move/livebox_2.1/openwrt-arv7519rw/target/linux/lantiq'
if [ -s "/move/livebox_2.1/openwrt-arv7519rw/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/linux-3.10.32/patches/series" ]; then (cd "/move/livebox_2.1/openwrt-arv7519rw/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/linux-3.10.32"; if quilt --quiltrc=- next >/dev/null 2>&1; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi
Applying patch platform/0008-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
patching file drivers/net/phy/Kconfig
patching file drivers/net/phy/Makefile
patching file drivers/net/phy/lantiq.c
patch: **** unexpected end of file in patch
Patch platform/0008-NET-PHY-adds-driver-for-lantiq-PHY11G.patch does not apply (enforce with -f)
make[4]: *** [/move/livebox_2.1/openwrt-arv7519rw/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/linux-3.10.32/.quilt_checked] Error 1
make[4]: Leaving directory `/move/livebox_2.1/openwrt-arv7519rw/target/linux/lantiq'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/move/livebox_2.1/openwrt-arv7519rw/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/move/livebox_2.1/openwrt-arv7519rw'
make[1]: *** [/move/livebox_2.1/openwrt-arv7519rw/staging_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/stamp/.target_compile] Error 2
make[1]: Leaving directory `/move/livebox_2.1/openwrt-arv7519rw'
make: *** [world] Error 2
YYY@XXXX:/move/livebox_2.1/openwrt-arv7519rw$

¿Alguien más lo ha intentado? ¿Cómo lo habéis solucionado?

Eliminando ese parche consigo compilar pero no funcionan los puertos ethernet del router. Quiero compilar el firmware para añadir soporte para un módem 3g y un conversor de puerto serie-usb, desde la versión que hay publicada no es posible hacerlo a través de opkg.

Gracias!
« Última modificación: 27-03-2014, 20:17 (Jueves) por gmtii »

espeltron

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #182 en: 27-03-2014, 19:52 (Jueves) »
Referente al 04rootfs.tar.gz:

Del archivo "usr/sbin/sync_umngcfg" se deduce que durante el desarrollo hubieron varios chips wifi:
Código: [Seleccionar]
if [ `grep -c "CONFIG_PACKAGE_KMOD_ATHROS_SDK" /etc/config.sh` == "1" ] ; then
WIRELESS_TYPE="ATHEROS"
WIRELESS_FILE=/tmp/.apcfg
elif [ `grep -c "CONFIG_PACKAGE_WAVE300" /etc/config.sh` == "1" ] ; then
WIRELESS_TYPE="WAVE300"
WIRELESS_FILE=/tmp/wlan0.txt
WIRELESS_FILE2=/tmp/wlan1.txt
elif [ `grep -c "CONFIG_PACKAGE_RALINK_3662F" /etc/config.sh` == "1" ] ; then
WIRELESS_TYPE="RALINK3662"

...

if [ "$WIRELESS_TYPE" == "ATHEROS" ] ; then
. /usr/lib/umng/umngcfg_wireless
sync_wireless_section
elif [ "$WIRELESS_TYPE" == "WAVE300" ] ; then
. /usr/lib/umng/umngcfg_wireless_wave300
sync_wireless_section
elif [ "$WIRELESS_TYPE" == "RALINK3662" ] ; then
echo "this is ralink wifi "
fi

usr/sbin/bringup_wifi.sh:
Código: [Seleccionar]
ifconfig ra0 down
rmmod rt3062ap
insmod rt3062ap
ifconfig ra0 up
brctl addif br-lan ra0

usr/lib/umng/umngcfg_wireless

usr/lib/umng/umngcfg_wireless_wave300

Saludos
espeltron

espeltron

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #183 en: 28-03-2014, 00:05 (Viernes) »
Definitivamente:
Aunque en teoria se pudieran habilitar los drivers de Atheros o Ralink:
- Al no existir /etc/init.d/ath.sh
- Y no haber ningun script para Ralink
No queda mas remedio que acabar en los drivers de Metalink.

Los scripts de inicializacion "sh" estan, y se sabe como trabajan.
Pero seria necesario "compilar" el modulo del kernel y asi poder obtener "mtlk.ko".

Saludos
espeltron
« Última modificación: 30-03-2014, 18:10 (Domingo) por espeltron »

Desconectado Tki2000

  • Moderador
  • *
  • Mensajes: 2247
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #184 en: 28-03-2014, 10:57 (Viernes) »
No sé si tendrá que ver o no, pero aquí creo que están intentando compilar los drivers metalink para openwrt:

http://chomikuj.pl/Bloody-Hunter/NetiaSpot+*2b+OpenWRT

Habla del mtlk.ko y de la inclusión en el sistema.

barriteleves

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #185 en: 28-03-2014, 11:48 (Viernes) »
 grs compañero Tki 2000 he tratado de bajarmela pero pide un sms  y creo que aqui este igual o algo parecido tambien hay una version de desarrollo y se puede bajar sin costo:


http://superspot.pl/index.php/ct-menu-item-6/summary/5-netia-spot-1/21-openrg-vtech-arx168-netia-5-4-8-2-101-rm

para los expertos estoy tratando de hacer funcionar la adsl renombrado por winscp,  tengo algunas dudad donde estoy parado he medito el drivers en su lugar  lib/firmware: bien pero ahora como puedo optener el adsl.bin ??? de aqui:

Citar
Primero hay que ver los distintos modelos y familias de Lantiq, para evitar confusiones:
http://wiki.openwrt.org/doc/hardware/soc/soc.lantiq
La "danube" era la del ARV7518, despues esta la AR9 de otros similares y la de este ARV7519 es la "VR9", del VRX288.

Como la rama utilizada actualmente es la "trunk", ya que esta en desarrollo, tenemos los siguientes paquetes:
http://downloads.openwrt.org/snapshots/trunk/lantiq/packages/kmod-ltq-adsl-danube-fw-a_0.1-1_lantiq.ipk
http://downloads.openwrt.org/snapshots/trunk/lantiq/packages/kmod-ltq-adsl-ar9-fw-a_0.1-1_lantiq.ipk

De estos paquetes se obtienen:
/lib/firmware/ltq-dsl-fw-a-danube.bin
/lib/firmware/ltq-dsl-fw-a-ar9.bin
/lib/firmware/adsl.bin

adsl.bin es un enlace al "ltq-dsl-fw-a-xxx.bin" correspondiente.

Para hacerlo de forma correcta:

Renombrar el archivo de la imagen backup "dsl_vr9_firmware_xdsl-05.03.02.08.01.06_05.04.01.0A.01.01.bin" a:
/lib/firmware/ltq-dsl-fw-a-vr9.bin

Ya que es un VR9 por ser un VRX288.

Crear los siguientes enlaces directos a ese archivo ("por no saber" que archivo es el que carga el modulo del kernel que se esta utilizando actualmente):
/lib/firmware/ltq-dsl-fw-a-danube.bin  --> enlace al ltq-dsl-fw-a-vr9.bin
/lib/firmware/ltq-dsl-fw-a-ar9.bin  --> enlace al ltq-dsl-fw-a-vr9.bin
/lib/firmware/adsl.bin  --> enlace al ltq-dsl-fw-a-vr9.bin
Borrando previamente algun archivo ".bin" con el mismo nombre que pudiera haber (no creo que sirvan los firmwares del ar9 o de danube).

Si no se quieren crear enlaces simbolicos con "ln -s" se pueden hacer multiples copias del archivo.

Saludos
espeltron
me he bajado tambien estos enlaces que hay como continuar ???

espeltron

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #186 en: 28-03-2014, 12:52 (Viernes) »
Descargar de la pagina polaca el archivo con los firmwares VDSL/ADSL:
http://pliki.gru.one.pl/11-2013/vr9.7z

Extraer el archivo (es la version mas reciente y verificada):
dsl_vr9_firmware_xdsl-05.06.00.08.01.06_05.05.02.00.01.01.bin

Renombrar este archivo a:
vdsl.bin

Copiarlo con winscp a:
/lib/firmware/vdsl.bin

Escribir en un terminal:
/etc/init.d/dsl_control stop
/etc/init.d/dsl_control start
/etc/init.d/dsl_control status

Esperar unos 2 minutos

Saludos
espeltron

neubauten

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #187 en: 28-03-2014, 14:00 (Viernes) »
Muchas gracias!!

Citar
Perdón, arreglado en el git del bitbucket... puedes ver el commit aquí:

https://bitbucket.org/gmtii/openwrt-arv7519rw/commits/d1671680ee5d48cc584ff2f16a811c13659ab4c2

editas, make clean y ya debe compilar.

y felicidades a espeltron por el milagro de la ADSL!

Saludos.

EDITADO: otro commit necesario:

https://bitbucket.org/gmtii/openwrt-arv7519rw/commits/b507c480956f293df2d08ff9af8f74111d966e3c

ayer conseguí que compilase pero seguían sin funcionar los puertos ethernet correctamente. Lo revisaré este fin de semana a ver si doy con lo que hago mal.


Saludos

doblecero

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #188 en: 28-03-2014, 14:56 (Viernes) »
Si no te funcionan los puertos ethernet es que lo has comilado para el switch equivocado. Es decir, tienes el 1.2 y has compilado el 1.1 o al revés. :)

Espeltron!! Gran curro el que te estás dando! Gracias!  >:( >:( >:( >:(

barriteleves

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #189 en: 28-03-2014, 19:57 (Viernes) »
hola espeltron dice:

Descargar de la pagina polaca el archivo con los firmwares VDSL/ADSL:
http://pliki.gru.one.pl/11-2013/vr9.7z

Extraer el archivo (es la version mas reciente y verificada):
dsl_vr9_firmware_xdsl-05.06.00.08.01.06_05.05.02.00.01.01.bin

Renombrar este archivo a:
vdsl.bin

Copiarlo con winscp a:
/lib/firmware/vdsl.bin

Escribir en un terminal:
/etc/init.d/dsl_control stop
/etc/init.d/dsl_control start
/etc/init.d/dsl_control status

Esperar unos 2 minutos

Saludos
espeltron

grs es un placer leerte tops son geniales en cuanto este en casa me pongo con ello estaba renombrado mal un saludo

espeltron

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #190 en: 28-03-2014, 21:10 (Viernes) »
Si no te funcionan los puertos ethernet es que lo has comilado para el switch equivocado. Es decir, tienes el 1.2 y has compilado el 1.1 o al revés. :)

Espeltron!! Gran curro el que te estás dando! Gracias!  >:( >:( >:( >:(
Gracias a vosotros, ya que sin la colaboracion de todos y cada uno de vosotros no existiria soporte de OpenWrt para este router, y tampoco para los demas.
Yo solo ayudo un poquito en lo que puedo, y eso que lo mio no es la programacion.  ;D

Saludos
espeltron

barriteleves

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #191 en: 29-03-2014, 12:22 (Sábado) »
hola compañero uno que lo ha conseguido en este momento estoy entrado desde el astoria bingo, grs al compañero espeltron auque he realizado lo que me ha comentado en el post anterior anoche  no lo conseguia, creo que es tema de enlazar, auque lo tengo funcionando no se bien como lo he conseguido a veces para algunos es dificil ya que no se domina esto pero insistiendo todos lo podeis lograr sobre todo grs por vuestros trabajos tanto de maestros como de resto que con sus pruebas y preguntas se aclara bastante. >:( >:( >:( >:(

aqui pongo la prueba realizada:

long de arranque:

Citar
ROM VER: ©©ï#!„Dó

U-Boot 2013.10-openwrt5-00014-g0b78b5c-dirty (Mar 11 2014 - 22:56:27) arv7519rw

Board: Lantiq ARV7519RW VRX200 Family Board
SoC:   Lantiq VRX288 v1.1
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NOR
DRAM:  128 MiB
Flash: 32 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  0
## Booting kernel from Legacy Image at b0080000 ...
   Image Name:   MIPS OpenWrt Linux-3.10.24
   Created:      2014-02-11  21:03:04 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1243541 Bytes = 1.2 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.10.24 (ebensan@ubuntu) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r39210) ) #11 Tue Feb 11 21:02:46 WET 2014
[    0.000000] SoC: VR9 rev 1.1
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019555 (MIPS 34Kc)
[    0.000000] MIPS: machine is ARV7519 - Astoria Networks ARV7519RW22-A-LT
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=0006a2d8
[    0.000000] Readback ErrCtl register=0006a2d8
[    0.000000] Memory: 125972k/131072k available (2642k kernel code, 5100k reserved, 878k data, 180k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 500MHz
[    0.000000] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.032000] pid_max: default: 32768 minimum: 301
[    0.036000] Mount-cache hash table entries: 512
[    0.040000] pinctrl core: initialized pinctrl subsystem
[    0.044000] NET: Registered protocol family 16
[    0.056000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.060000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.068000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.072000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_assert[185]
[    0.184000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_deassert[193]
[    0.212000] bio: create slab <bio-0> at 0
[    0.216000] usbcore: registered new interface driver usbfs
[    0.220000] usbcore: registered new interface driver hub
[    0.224000] usbcore: registered new device driver usb
[    0.228000] PCI host bridge to bus 0000:00
[    0.232000] pci_bus 0000:00: root bus resource [mem 0x1c000000-0x1cffffff]
[    0.236000] pci_bus 0000:00: root bus resource [io  0x1d800000-0x1d8fffff]
[    0.240000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.244000] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[    0.256000] ifx_pcie_fixup_resource: fixup host controller 0000:00:00.0 (15d1:0011)
[    0.260000] pci 0000:00:00.0: BAR 9: assigned [mem 0x1c000000-0x1cbfffff pref]
[    0.264000] pci 0000:01:00.0: BAR 1: assigned [mem 0x1c000000-0x1c7fffff pref]
[    0.268000] pci 0000:01:00.0: BAR 0: assigned [mem 0x1c800000-0x1c800fff pref]
[    0.272000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.276000] pci 0000:00:00.0:   bridge window [mem 0x1c000000-0x1cbfffff pref]
[    0.280000] ifx_pcie_bios_map_irq port 0 dev 0000:00:00.0 slot 0 pin 1
[    0.284000] ifx_pcie_bios_map_irq dev 0000:00:00.0 irq 144 assigned
[    0.288000] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[    0.292000] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[    0.296000] Switching to clocksource MIPS
[    0.304000] NET: Registered protocol family 2
[    0.308000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.312000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.320000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.328000] TCP: reno registered
[    0.332000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.336000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.344000] NET: Registered protocol family 1
[    0.348000] gptu: totally 6 16-bit timers/counters
[    0.352000] gptu: misc_register on minor 63
[    0.356000] gptu: succeeded to request irq 126
[    0.360000] gptu: succeeded to request irq 127
[    0.364000] gptu: succeeded to request irq 128
[    0.368000] gptu: succeeded to request irq 129
[    0.376000] gptu: succeeded to request irq 130
[    0.380000] gptu: succeeded to request irq 131
[    0.384000] phy-xrx200 gphy-xrx200.8: requesting lantiq/vr9_phy11g_a1x.bin
[    0.392000] phy-xrx200 gphy-xrx200.8: booting GPHY0 firmware at 78C0000
[    0.400000] phy-xrx200 gphy-xrx200.8: booting GPHY1 firmware at 78C0000
[    0.508000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.516000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.524000] msgmni has been set to 246
[    0.528000] io scheduler noop registered
[    0.532000] io scheduler deadline registered (default)
[    0.540000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112) is a lantiq,asc
[    0.548000] console [ttyLTQ0] enabled, bootconsole disabled
[    0.548000] console [ttyLTQ0] enabled, bootconsole disabled
[    0.560000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[    0.568000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.572000]   Amd/Fujitsu Extended Query version 1.3.
[    0.580000] number of CFI chips: 1
[    0.580000] 4 ofpart partitions found on MTD device ltq_nor
[    0.588000] Creating 4 MTD partitions on "ltq_nor":
[    0.592000] 0x000000000000-0x000000060000 : "uboot"
[    0.600000] 0x000000060000-0x000000080000 : "uboot_cfg"
[    0.604000] 0x000000080000-0x000001f80000 : "firmware"
[    0.608000] 0x0000001af9d5-0x000001f80000 : "rootfs"
[    0.612000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.628000] mtd: device 3 (rootfs) set to be root filesystem
[    0.632000] mtd: partition "rootfs_data" created automatically, ofs=0x3e0000, len=0x1ba0000
[    0.640000] 0x0000003e0000-0x000001f80000 : "rootfs_data"
[    0.664000] 0x000001f80000-0x000002000000 : "boardconfig"
[    0.776000] libphy: lantiq,xrx200-mdio: probed
[    0.784000] net-xrx200: invalid MAC, using random
[    0.788000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[    0.796000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[    0.804000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:00, irq=-1)
[    0.812000] wdt 1f8803f0.watchdog: Init done
[    0.816000] leds-gpio gpio-leds.7: pins are not configured from the driver
[    0.824000] TCP: cubic registered
[    0.828000] NET: Registered protocol family 17
[    0.832000] 8021q: 802.1Q VLAN Support v1.8
[    0.844000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    0.852000] Freeing unused kernel memory: 180K (80373000 - 803a0000)
procd: Console is alive
procd: - watchdog -
procd: - preinit -
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.204000] SCSI subsystem initialized
[    4.212000] IFXUSB: ifxusb_hcd: version 3.2 B110801
[    4.216000] Chip Version :01c0 BurstSize=0
[    4.820000] IFXUSB: USB core #0 soft-reset
[    5.124000] IFXUSB: USB core #0 soft-reset
[    5.124000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[    5.128000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 1
[    5.136000] ifxusb_hcd ifxusb_hcd: irq 62, io mem 0xbe101000
[    5.144000] IFXUSB: Init: Power Port (0)
[    5.156000] hub 1-0:1.0: USB hub found
[    5.156000] hub 1-0:1.0: 1 port detected
[    5.660000] IFXUSB: USB core #1 soft-reset
[    5.964000] IFXUSB: USB core #1 soft-reset
[    5.968000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[    5.972000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 2
[    5.980000] ifxusb_hcd ifxusb_hcd: irq 91, io mem 0xbe106000
[    5.984000] IFXUSB: Init: Power Port (0)
[    5.988000] hub 2-0:1.0: USB hub found
[    5.992000] hub 2-0:1.0: 1 port detected
[    5.996000] ifxusb_hcd ifxusb_hcd: requested GPIO 232
[    6.016000] usbcore: registered new interface driver usb-storage
mount_root: jffs2 is ready
[    7.232000] jffs2: notice: (265) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 8 of xref (0 dead, 2 orphan) found.
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[    8.140000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH

[    8.208000] NET: Registered protocol family 10
[    8.216000] NET: Registered protocol family 8
[    8.220000] NET: Registered protocol family 20
[    8.232000] PPP generic driver version 2.4.2
[    8.244000] nf_conntrack version 0.5.0 (1971 buckets, 7884 max)
[    8.256000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.280000] MEI CPE Driver, Version 1.2.0

[    8.284000] (c) Copyright 2009, Infineon Technologies AG
### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###


Lantiq CPE API Driver version: DSL CPE API V4.11.4
[    8.304000]
[    8.304000] Predefined debug level: 2
[    8.316000] Loading modules backported from Linux version master-2013-11-05-0-gafa3093
[    8.320000] Backport generated by backports.git backports-20130802-0-gdb67a3f
[    8.332000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    8.352000] ATM1.0.26    ATM (A1) firmware version 0.24
[    8.356000] ifxmips_atm: ATM init succeed
[    8.364000] Infineon Technologies DEU driver version 2.0.0
[    8.376000] IFX DEU DES initialized (multiblock).
[    8.380000] IFX DEU AES initialized (multiblock).
[    8.388000] IFX DEU ARC4 initialized (multiblock).
[    8.388000] IFX DEU SHA1 initialized.
[    8.396000] IFX DEU MD5 initialized.
[    8.396000] IFX DEU SHA1_HMAC initialized.
[    8.404000] IFX DEU MD5_HMAC initialized.
[    8.432000] NET: Registered protocol family 24
[    8.460000] xt_time: kernel timezone is -0000
[    8.492000] cfg80211: Calling CRDA to update world regulatory domain
[    8.500000] cfg80211: World regulatory domain updated:
[    8.500000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.512000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.516000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.524000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.532000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    8.540000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    8.548000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[    8.664000] usbcore: registered new interface driver rt2800usb
[   13.900000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   13.912000] device eth0 entered promiscuous mode
[   13.912000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
procd: - init complete -
[   47.644000] enter showtime, cell rate: 0 - 1509, 1 - 1509, xdata addr: 0x869f0000
[   47.656000] enter showtime, cell rate: 0 - 1509, 1 - 1509, xdata addr: 0x869f0000

Citar
 _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r39211)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:/# /etc/init.d/dë½¹Ñɽ±stop
/bin/ash: /etc/init.d/dë½¹Ñɽ±stop: not found
root@OpenWrt:/# /etc/init.d/dsl_control start
root@OpenWrt:/# /etc/init.d/dsl_control status
Chipset:                Lantiq-VRx Unknown
Line State:             UP [0x801: showtime_tc_sync]
Data Rate:              6.016 Mb/s / 640 Kb/s
Line Attenuation:       40.4dB / 24.0dB
Noise Margin:           16.5dB / 18.0dB
Line Uptime:            7m 30s
root@OpenWrt:/#

como podeis observar tengo una linea bastante antigua y creo que deberian retirarla, pero es lo que hay por ahora, aunque visualizo ya cajas negras y blancas. espero que la competencia baje los precios de fibra .
« Última modificación: 29-03-2014, 12:54 (Sábado) por barriteleves »

espeltron

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #192 en: 29-03-2014, 16:32 (Sábado) »
Citar
ROM VER: ©©ï#!„Dó
[    8.492000] cfg80211: Calling CRDA to update world regulatory domain
[    8.500000] cfg80211: World regulatory domain updated:
[    8.500000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.512000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.516000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.524000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.532000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    8.540000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    8.548000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[    8.664000] usbcore: registered new interface driver rt2800usb
...
He visto que carga el driver rt2800usb.
¿Es que te funciona el wifi con este driver?
¿O es que le has añadido un adaptador wifi USB externo?

Saludos
Jose

barriteleves

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #193 en: 30-03-2014, 06:54 (Domingo) »
hola compañero si ese driver lo trae la imagen y ya te respondi anteriormente que si que detecta el usb pero no he conseguido o no se como funciona, ayer he tratado de cargar luci y si tengo  por lo menos un fichero en ETC/config/ pero no se que mas tengo que hacer lo he realizado de dos formas pero la ultima creo es la que ha cargado los opk ,aqui te pongo la anterior respuesta que esta mas arriba:


Citar
i:


pues yo aun estoy muy novato trasteando con la imagen, y para ver si vale o no le he metido en los dos usb que tiene un usb wifi 150n chips

[quote[   17.852000] br-lan: port 1(eth0) entered forwarding state
[  191.856000] usb 1-1: USB disconnect, device number 2
[  217.700000] usb 2-1: new high-speed USB device number 2 using ifxusb_hcd
[  218.084000] usb 2-1: reset high-speed USB device number 2 using ifxusb_hcd
[  218.284000] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[  218.376000] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 5370 detected

esto se carga en cualquiera de los dos usb que tiene el router.
« Última modificación: 30-03-2014, 10:46 (Domingo) por barriteleves »

barriteleves

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #194 en: 30-03-2014, 10:58 (Domingo) »
hola espletron te paso unos detalles de las instalcion de luci y los drivers del wifi que anque se que no funcionan aun trato de probarlos.

Citar
BusyBox v1.19.4 (2014-01-14 23:07:55 WET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r39211)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/trunk/lantiq/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker.
root@OpenWrt:~# opkg install luci-app-transmission
Package luci-app-transmission (svn-r9961-1) installed in root is up to date.
root@OpenWrt:~# opkg install luci-app-samba
Package luci-app-samba (svn-r9961-1) installed in root is up to date.
root@OpenWrt:~# opkg install samba36-server
Package samba36-server (3.6.11-2) installed in root is up to date.
root@OpenWrt:~# opkg install luci-i18n-spanish
Package luci-i18n-spanish (svn-r9961-1) installed in root is up to date.
root@OpenWrt:~# opkg install kmod-fs-ext4
Multiple packages (kmod-fs-ext4 and kmod-fs-ext4) providing same name marked HOLD or PREFER. Using latest.
Upgrading kmod-fs-ext4 on root from 3.10.24-1 to 3.10.34-1...
Downloading http://downloads.openwrt.org/snapshots/trunk/lantiq/packages/kmod-fs-ext4_3.10.34-1_lantiq.ipk.
Multiple packages (kmod-lib-crc16 and kmod-lib-crc16) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-crypto-hash and kmod-crypto-hash) providing same name marked HOLD or PREFER. Using latest.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-ext4:
 *      kernel (= 3.10.34-1-b2a49be93c71d52b3e4935389fdf1d08) *
 * opkg_install_cmd: Cannot install package kmod-fs-ext4.
root@OpenWrt:~# opkg install luci-mod-admin-full
Package luci-mod-admin-full (svn-r9961-1) installed in root is up to date.
root@OpenWrt:~# opkg install luci-lib-fastindex
Package luci-lib-fastindex (svn-r9961-1) installed in root is up to date.
root@OpenWrt:~# opkg install luci-theme-base
Package luci-theme-base (svn-r9961-1) installed in root is up to date.
root@OpenWrt:~# opkg install luci-theme-openwrt
Package luci-theme-openwrt (svn-r9961-1) installed in root is up to date.
root@OpenWrt:~# opkg install uhttpd
Installing uhttpd (2014-03-22-31b459cb1d0ba3280cbc3fc06ce6fab903c07da6) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/lantiq/packages/uhttpd_2014-03-22-31b459cb1d0ba3280cbc3fc06ce6fab903c07da6_lantiq.ipk.
Configuring uhttpd.
root@OpenWrt:~# /etc/init.d/uhttpd enable
root@OpenWrt:~# /etc/init.d/uhttpd reload
Command failed: Not found
root@OpenWrt:~# reboot





aqui tambien he metido los drivers de wifi todos pues no se bien como intentarlo y al no tener luci no se seguir:


BusyBox v1.19.4 (2014-01-14 23:07:55 WET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r39211)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:~# /lib/firmware ls -lh
-ash: /lib/firmware: Permission denied
root@OpenWrt:~#  ls -lh /lib/firmware/
-rw-r--r--    1 root     root       46.9K Dec 11 10:59 ProgModel_A_CB.bin
-rw-r--r--    1 root     root        7.8K Dec 11 10:59 ProgModel_A_CB_3D_RevB.bin
-rw-r--r--    1 root     root       46.9K Dec 11 10:59 ProgModel_A_nCB.bin
-rw-r--r--    1 root     root        7.8K Dec 11 10:59 ProgModel_A_nCB_3D_RevB.bin
-rw-r--r--    1 root     root       46.9K Dec 11 10:59 ProgModel_BG_CB.bin
-rw-r--r--    1 root     root        7.8K Dec 11 10:59 ProgModel_BG_CB_3D_RevB.bin
-rw-r--r--    1 root     root       46.9K Dec 11 10:59 ProgModel_BG_nCB.bin
-rw-r--r--    1 root     root        7.8K Dec 11 10:59 ProgModel_BG_nCB_3D_RevB.bin
-rw-r--r--    1 root     root      157.3K Dec 11 10:59 ap_upper.bin
-rw-r--r--    1 root     root       83.4K Dec 11 10:59 contr_lm.bin
-rw-r--r--    1 root     root        8.0K Feb 11 21:02 rt2870.bin
-rwxr-xr-x    1 root     root      864.8K Jan 11  2013 vdsl.bin
root@OpenWrt:~#

venga un saludo y dime que quieres que pruebe con los usb son chips ralint los dos uno desconocido 150n  y el otro Kasens 680wn

Pteridium

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #195 en: 30-03-2014, 12:48 (Domingo) »
Soporte oficial del Livebox 2.1 en OpenWRT:
http://nbd.name/gitweb.cgi?p=openwrt.git;a=commit;h=0adbd659768acc87d2b74ec8d441f2b161eeb502
Básicamente son los parches de gmtii y Lesgar con un par de retoques menores para que los desarrolladores no pusieran pegas.
Sigo esperando por esto: https://foro.seguridadwireless.net/openwrt/astoria-networks-arv7519-de-ya-com-ahora-orange/180/

Desconectado Tki2000

  • Moderador
  • *
  • Mensajes: 2247
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #196 en: 30-03-2014, 16:40 (Domingo) »
¡¡¡PERO QUE "MOUSTRUOS" ESTAIS HECHOS CHICOS!!!!
 ;D ;D ;D
« Última modificación: 30-03-2014, 16:43 (Domingo) por Tki2000 »

gmtii

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #197 en: 30-03-2014, 19:52 (Domingo) »
estupendo!!!

actualizo el primer post con el soporte de VDSL y en el trunk del opernwrt!!!

@Pteridium: a que te refieres?

Saludos.

PD: si alguien intenta compilar el trunk no genera los ficheros de firmware.. .hay un error .. aplicar lo siguiente hasta que se arregle:

Código: [Seleccionar]
diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile
index 28cb96c..5361d75 100644
--- a/target/linux/lantiq/image/Makefile
+++ b/target/linux/lantiq/image/Makefile
@@ -307,12 +307,6 @@ Image/Build/Profile/H201L=$(call Image/Build/$(1),$(1),H201L)
 Image/BuildKernel/Profile/P2601HNFX=$(call Image/BuildKernel/Template,P2601HNFX)
 Image/Build/Profile/P2601HNFX=$(call Image/Build/$(1),$(1),P2601HNFX)
 
-Image/BuildKernel/Profile/ARV7519RWV11=$(call Image/BuildKernel/Template,ARV7519RWV11,$(1))
-Image/Build/Profile/ARV7519RWV11=$(call Image/Build/$(1), $(1),ARV7519RWV11)
-
-Image/BuildKernel/Profile/ARV7519RWV12=$(call Image/BuildKernel/Template,ARV7519RWV12,$(1))
-Image/Build/Profile/ARV7519RWV12=$(call Image/Build/$(1), $(1),ARV7519RWV12)
-
 endif
 
 
@@ -344,6 +338,12 @@ Image/Build/Profile/VGV7519NOR=$(call Image/Build/$(1),$(1),VGV7519NOR)
 Image/BuildKernel/Profile/VGV7519BRN=$(call Image/BuildKernel/Template,VGV7519BRN,$(1))
 Image/Build/Profile/VGV7519BRN=$(call Image/Build/$(1),$(1),VGV7519BRN,5D00008000,0x12345678,$(1))
 
+Image/BuildKernel/Profile/ARV7519RWV11=$(call Image/BuildKernel/Template,ARV7519RWV11,$(1))
+Image/Build/Profile/ARV7519RWV11=$(call Image/Build/$(1),$(1),ARV7519RWV11)
+
+Image/BuildKernel/Profile/ARV7519RWV12=$(call Image/BuildKernel/Template,ARV7519RWV12,$(1))
+Image/Build/Profile/ARV7519RWV12=$(call Image/Build/$(1),$(1),ARV7519RWV12)
+
 endif

si quieren habilitar el pcie aplicar esto:

Código: [Seleccionar]
diff --git a/target/linux/lantiq/patches-3.10/0001-MIPS-lantiq-add-pcie-driver.patch b/target/linux/lantiq/patches-3.10/0001-MIPS-lantiq-add-pcie-driver.patch
index 9329e15..5d626cd 100644
--- a/target/linux/lantiq/patches-3.10/0001-MIPS-lantiq-add-pcie-driver.patch
+++ b/target/linux/lantiq/patches-3.10/0001-MIPS-lantiq-add-pcie-driver.patch
@@ -3914,7 +3914,7 @@ Subject: [PATCH 01/34] MIPS: lantiq: add pcie driver
 +#include <linux/gpio.h>
 +#include <lantiq_soc.h>
 +
-+#define IFX_PCIE_GPIO_RESET  238
++#define IFX_PCIE_GPIO_RESET  221
 +
 +#define IFX_REG_R32    ltq_r32
 +#define IFX_REG_W32    ltq_w32
@@ -5288,7 +5288,7 @@ Subject: [PATCH 01/34] MIPS: lantiq: add pcie driver
 +
 +#include <lantiq_soc.h>
 +
-+#define IFX_PCIE_GPIO_RESET  38
++#define IFX_PCIE_GPIO_RESET  21
 +#define IFX_REG_R32   ltq_r32
 +#define IFX_REG_W32   ltq_w32
 +#define CONFIG_IFX_PCIE_HW_SWAP
« Última modificación: 30-03-2014, 21:54 (Domingo) por gmtii »

Pteridium

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #198 en: 30-03-2014, 23:26 (Domingo) »
Este es un extracto de un correo que me envió blogic. Básicamente va dirigido a gmtii, Lesgar, Tki2000 y Noltari:
could we try to get aligned so i now which patches/boards we stil need
to merge ? you guys do a lot of good work in that forum of yours and i
want to see this work honoured and inside openwrt asap ...

Si me he olvidado de mencionar a alguien que me lo diga, que mi memoria ya no es lo que era...  :'(

Pteridium

  • Visitante
Re: [Desarrollo] OpenWrt en ASTORIA ARV7519RW22 - Livebox 2.1
« Respuesta #199 en: 31-03-2014, 10:50 (Lunes) »
Leyendo un par de cosas sueltas resulta que hay un firm para que el switch interno funcione como fast ethernet (vr9_phy22f_a1x.bin) y otro para que funcione como gigabit ethernet (vr9_phy11g_a1x.bin).
Puedo estar perfectamente equivocado, pero me da que si se pasa el firm vr9_phy22f en vez del vr9_phy11g deberían funcionar los cuatro puertos fast ethernet del router, pero seguramente el puerto wan se quedará con una velocidad máxima de 100mbps.
Si alguien pudiera echarle un ojo y comentar los resultados...
Los cambios habría que hacerlos en los ficheros ARV7519RWV11.dts y ARV7519RWV12.dts al final de todo. Ejemplo:
Código: [Seleccionar]
/dts-v1/;


/include/ "ARV7519RW.dtsi"

/ {
fpi@10000000 {
localbus@0 {
nor-boot@0 {
compatible = "lantiq,nor";
bank-width = <2>;
reg = <0 0x0 0x2000000>, <1 0x2000000 0x2000000>;
#address-cells = <1>;
#size-cells = <1>;

partition@0 {
label = "uboot";
reg = <0x000000000000 0x00060000>;
read-only;
};

partition@60000 {
label = "uboot_cfg";
reg = <0x000000060000 0x00020000>;
read-only;
};

partition@80000 {
label = "firmware";
reg = <0x000000080000 0x01f00000>;
};

partition@1f80000 {
label = "boardconfig";
reg = <0x000001f80000 0x00080000>;
read-only;

};



};
};
};
gphy-xrx200 {
compatible = "lantiq,phy-xrx200";
firmware = "lantiq/vr9_phy22f_a1x.bin";  /*VR9 1.1*/
phys = [ 00 01 ];
};
};
blogic ha hecho algunos cambios en el switch de los xrx200:
http://nbd.name/gitweb.cgi?p=openwrt.git;a=shortlog
http://nbd.name/gitweb.cgi?p=openwrt.git;a=commit;h=925a10460e04bb2931658a0702df237519053ee0
http://nbd.name/gitweb.cgi?p=openwrt.git;a=commit;h=a61ea64cb7eb0acb7561a34f6f42f9da68e176c2
¿Puede probar alguien a ver si ahora funciona con firmware = "lantiq/vr9_phy22f_a1x.bin";  /*VR9 1.1*/ para que funcionen los cuatro puertos Fast ethernet?