?>/script>'; } ?> [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518) Widgets Magazine

Autor Tema: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)  (Leído 653437 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado Tki2000

  • Moderador
  • *
  • Mensajes: 2247
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #980 en: 14-10-2014, 08:13 (Martes) »
Antes de ponerme a intentarlo, una pregunta: ¿como copio el archivo a la memoria del router?
Mas que nada porque el archivo dump ocupa mas del espacio disponible...

Gracias de antemano

Si quieres subir algo a la memoria RAM del router, cópialo al directorio /tmp. Después puedes hacer lo que quieras con él, pero recuerda que al estar en RAM, si reinicias lo pierdes...

De todas formas, a ver si no me he perdido en la conversación: ¿pretendes cambiar el actual u-boot por brnboot dejando openwrt? Si es así, no te va a funcionar ya que las primeras KB de brnboot y su configuración van a sobreescribir parte del openwrt ya instalado.
Yo iniciaría el router con la consola serie y uboot. Subiría la imagen completa por tftp y lo quemaría todo en la flash, restaurando así el firmware original. De esta forma te aseguras de que tanto brnboot como su configuración se han grabado bien.
Si mal no recuerdo, para hacer funcionar openwrt con brnboot hay que compilar openwrt con las particiones de brnboot (las que dice mekkon aquí), que son distintos a las de u-boot, así que meter openwrt con brnboot va a ser más complicado.

Precisamente eso es lo que quiero: devolver al astoria a su firmware original.
En cuanto lo intente publico aquí los resultados.

Entonces lo mejor es que arranques con el adaptador USB/TTL y quemes la imagen original por tftp.
Las directrices que te indicó pippolippi son buenas para quemar también toda la flash, pero utiliza varias líneas para quemar la flash en lugar de hacerlo de una vez (no utilices run update_uboot)  :
Código: [Seleccionar]
tftp 0x80500000 backup.bin
era 0xb0000000 +${filesize}
cp.b 0x80500000 0xb0000000 ${filesize}

En el servidor tftp que utilices la imagen completa debe llamarse backup.bin (o renómbrala a algo más corto para usar más fácil)

pippolippi

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #981 en: 14-10-2014, 10:15 (Martes) »
Y por mayor seguridad, antes de hacer el era ejecuta un crc32 0x80500000 ${filesize} y verifica que la checksum sea la misma del fichero (pequeño problema: no sé como calcular la crc32 del fichero. En mi distribución hay un comando crc32 en el paquete perl-Archive-Zip pero no sé si el algoritmo que usa es el mismo de uboot).

mekkon

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #982 en: 15-10-2014, 13:16 (Miércoles) »
Buenas,

Aquí dejo una versión de OpenWrt para el ARV4518, esta basado en Barrier Breaker final, el archivo tiene 4 imagenes, para los dos modelos y para los dos boot loaders.

tiene luci, vfat, ntfs, soporte para unidades USB y alguna cosilla más que ahora no recuerdo, con el soporte externo se puede ampliar el sistema y añadirle más paquetes.

he eliminado cosas como la depuración del kernel, printk, IPV6, ipkg/opkg status data files in final images... total, que no salen casi mensajes a través de la consola del puerto serie  ^-^

http://www.multiupfile.com/f/dc5d915f, edito: al parecer cuando jffs2 prepara la partición borra la firma para BRNBOOT, dejando de arrancar el router en el siguiente reset, mejor no utilizar las imágenes para BRNBOOT.

con 4MB que tiene el aparato no creo que dé para mucho más, quizás me anime con Attitude adjustment para poner más cosas, no sé.

he intentado cambiar el kernel a una versión anterior, pero no he encontrado parches de lantiq para barrier breaker de un kernel más antiguo de momento.

La opción que trae Luci de actualizar el firmware sólo lo recomiendo para quien tiene UBOOT instalado, ya que por defecto openWRT esta configurado para este, si alguien actualiza teniendo BRNBOOT lo más seguro es que deje de funcionar el aparato ya que las particiones no estarán configuradas para este. No lo he probado, pero no me extrañaría que sucediera así.
« Última modificación: 16-10-2014, 13:10 (Jueves) por mekkon »

pelocho

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #983 en: 15-10-2014, 17:23 (Miércoles) »
Buenas tardes.
Tengo instalado Attitude adjustment en un router 4518, al que le he hecho extroot. Tengo asterisk, minidlna, samba y amule. He aquí mis problemas:

1.   En pocas ocasiones la wifi deja de funcionar. Apagando y volviendo a encender el router a veces se soluciona. Pero a veces eso no funciona, y lo extraño es que, en esos casos se suele solucionar ejecutando el comando “reboot”, dejando que arranque, y luego volviendo a apagar y encender el router. Sé que ejecutar ese comando no es equivalente a apagar y volver a encender porque se ven cosas diferente en el log de arranque (usando el comando dmesg). Esto me ha ocurrido siempre desde que instalé OpenWRT.

2.   Tengo el ADSL con Orange, por lo que puedo usar dos líneas de VoIP con el mismo número de teléfono. La cuestión es que si estoy hablando por una línea (llamémosla línea 1), y me llaman al teléfono, en la línea 1 automáticamente me dejan de oir, aunque yo sigo oyéndoles. En la línea 2 todo funciona perfectamente.

3.   Ultimamente tengo otro problema con la VoIP que no he tenido nunca desde que instalé OpenWRT. A veces me escuchan entrecortado, yo les escucho bien. Reiniciando el servicio Asterisk se soluciona, pero es un engorro hacerlo y no entiendo por qué pasa esto ahora sin haber modificado nada cuando yo nunca había tenido ese problema. No es problema de ancho de banda, ni de falta de memoria RAM, de eso estoy seguro.

¿A alguien le suenan estos problemas o tiene idea de cuál puede ser la causa?

El caso es que parecen tres problemas complicados de solucionar. Así que me planteo si no sería mejor invertir mi tiempo en pasarme a Barrier Breaker. Tengo la posibilidad de instalarlo en el 4518 o en un router 7518 que también tengo guardado en un cajón. He leído todo el hilo actual y el de la VoIP, y no me queda claro si Barrier Breaker está bien soportado en alguno de estos dos routers. Me da igual no poder usar LUCI, nunca lo usé porque tengo conocimientos de Linux más que suficientes como para manejar la shell.

¿Alguien me puede decir si le funciona Barrier Breaker con VoIP bien en el 4518 o en el 7518?

Muchas gracias.

mekkon

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #984 en: 16-10-2014, 13:18 (Jueves) »
Hola Pelocho,

Barrier Breaker, probando básicamente MLdonkey y un disco externo USB con NTFS funciona bien en el 4518, eso lo digo ahora, de aquí una o dos semanas quizás cambie de opinión...

el software que utiliza también esta más actualizado, con lo que en teoría habrán más bugs corregidos y funcionalidades extra.

creo que obteniendo la configuración y probándola, con suerte no tendrás que cambiar nada.

rectifico: con NTFS va a tiros y a la muerte más absoluta.
« Última modificación: 23-10-2014, 00:08 (Jueves) por mekkon »

juandingas

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #985 en: 16-10-2014, 13:33 (Jueves) »
Hola

Voy a instalar la ultima versión de barrier breaker para el ARv4518R10A. Entiendo que funciona todo, especialmente me interesa que funcione el modo repetidor en wifi y que tenga luci.

Voy a usar el primer u-boot que da CieNTi al principio de este hilo. ¿hay algún otro que sea nuevo y vaya mejor o con ese sirve?

¿Funciona todo en la ultima versión de barrier breaker - creo que era la de agosto 2014-?

Al ir a los repositorios oficiales, además de la imagen, veo un archivo que pone ulmage. ¿este archivo que es?

Saludos

Reflected_God

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #986 en: 17-10-2014, 21:01 (Viernes) »
Antes de ponerme a intentarlo, una pregunta: ¿como copio el archivo a la memoria del router?
Mas que nada porque el archivo dump ocupa mas del espacio disponible...

Gracias de antemano

Si quieres subir algo a la memoria RAM del router, cópialo al directorio /tmp. Después puedes hacer lo que quieras con él, pero recuerda que al estar en RAM, si reinicias lo pierdes...

De todas formas, a ver si no me he perdido en la conversación: ¿pretendes cambiar el actual u-boot por brnboot dejando openwrt? Si es así, no te va a funcionar ya que las primeras KB de brnboot y su configuración van a sobreescribir parte del openwrt ya instalado.
Yo iniciaría el router con la consola serie y uboot. Subiría la imagen completa por tftp y lo quemaría todo en la flash, restaurando así el firmware original. De esta forma te aseguras de que tanto brnboot como su configuración se han grabado bien.
Si mal no recuerdo, para hacer funcionar openwrt con brnboot hay que compilar openwrt con las particiones de brnboot (las que dice mekkon aquí), que son distintos a las de u-boot, así que meter openwrt con brnboot va a ser más complicado.

Precisamente eso es lo que quiero: devolver al astoria a su firmware original.
En cuanto lo intente publico aquí los resultados.

Entonces lo mejor es que arranques con el adaptador USB/TTL y quemes la imagen original por tftp.
Las directrices que te indicó pippolippi son buenas para quemar también toda la flash, pero utiliza varias líneas para quemar la flash en lugar de hacerlo de una vez (no utilices run update_uboot)  :
Código: [Seleccionar]
tftp 0x80500000 backup.bin
era 0xb0000000 +${filesize}
cp.b 0x80500000 0xb0000000 ${filesize}

En el servidor tftp que utilices la imagen completa debe llamarse backup.bin (o renómbrala a algo más corto para usar más fácil)


Muchas gracias a todos.
He conseguido devolver mi Astoria ARV4518R01A a su firmware original con BRNBOOT.

Solo una cosa: Los comandos de Tki2000 funcionan perfectamente pero, puesto que lo que copiamos a la flash del router, DEBEMOS acceder todos los bancos de memoria (no olvidemos que era una copia de toda la flash) debemos quitarle la protección contra escritura que tienen algunos.

Para comprobarlo, ejecutamos
Código: [Seleccionar]
fliy veremos que hay una serie de direcciones de memoria que tienen a su lado las letras "RO" (Read-Only). Hay que quitarles esa protección o de lo contrario el comando era y el cp nos informan de que hay bloques que no pueden borrar ni modificar.
Así que en definitiva, y recordando que el archivo backup.bin es la copia de la flash completa que hicimos con brndumper y la hemos copiado al directorio del programa tftp en nuestro PC, la secuencia de comandos a usar para este proceso es la siguiente:
Código: [Seleccionar]
tftp 0x80500000 backup.bin
prot off all
era 0xb0000000 +${filesize}
cp.b 0x80500000 0xb0000000 ${filesize}

Espero que esto le sirva a alguien.

Un saludo y seguid así, sois unos máquinas.
« Última modificación: 17-10-2014, 21:16 (Viernes) por Reflected_God »

Reflected_God

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #987 en: 17-10-2014, 21:12 (Viernes) »
podría ser interesante tener un log de arranque del firmware original de ya.com, no recuerdo si había alguno en el hilo.

Aquí tienes el de mi ARV4518R01A devuelto a su firmware original con parámetros por defecto del firmware de ya.com
Código: [Seleccionar]
T3:0x00000016
 T4:0x00000001
 T5:0x803E872D
 T6:0x00000007
 T7:0x00000000
 T8:0x804FECA0
 T9:0x0000FFFF
 S0:0xFFFFFFFF
 S1:0x809A7474
 S2:0xC0010071
 S3:0x809A7474
 S4:0xC0010070
 S5:0xA0577C40
 S6:0x813F0714
 S7:0x80F01740
 S8:0x00000000
EPC:0x800C35F4
 SR:0x0000FC02
 CAUSE:0x9000001C
 SP (Save Point) :0x80B3A0FC
==============================

===================
Print call

ROM VER: 1.0.3
CFG 01
Read▒
ROM VER: 1.0.3
CFG 01
Read EEPROMX
 X



=======================================================================
Wireless ADSL Gateway DANUBE Loader 64M-V0.02 build Apr 24 2008 16:12:25
                    Arcadyan Technology Corporation
=======================================================================
MXIC MX29LV320ABTC bottom boot 16-bit mode found

Copying boot params.....DONE


Press Space Bar 3 times to enter command mode ...
Flash Checking - fw/ui...  Passed.

Image[1] at 0xb0060000, len:1392013, type:0
Image[2] at 0xb01b4000, len:473622, type:10
Image[3] at 0xb0227c00, len:174146, type:50
Image[4] at 0xb0252800, len:173329, type:60
Image[5] at 0xb027d000, len:316099, type:90
Firmware image at 0, ART image at -1

Run-up Normal Firmware...

Unzipping firmware at 0x80002000 ... [ZIP 3] [ZIP 1]  done
Run-time code running ...

Ready to run firmware

In c_entry() function ...
install_exception
Co config = 80008483
[INIT] Interrupt ...
##### _ftext      = 0x80002000
##### _fdata      = 0x804FEBA0
##### __bss_start = 0x80575804
##### end         = 0x81B9666C
##### Backup Data from 0x804FEBA0 to 0x81B9E66C~0x81C152D0 len 486500
##### Backup Data completed
##### Backup Data verified
[GPIO FLOW] SetGpio() Begin ..
gptu: totally 6 16-bit timers/counters
Init timer = 0
[GPIO FLOW] SetGpio() End.
[INIT] System Log Pool startup ...
[INIT] MTinitialize ..
[INIT] usrclk
CPU Clock 333333334 Hz
mips_counter_frequency:166666667
r4k_offset: 00028b0a(166666)
init_US_counter : time1 = 62 , time2 = 40000086, diff 40000024
US_counter = 68
 cnt1 40666610 cnt2 40668383, diff 1773
Runtime code version: 0.10.016
System startup...
[INIT] Memory COLOR 0, 2400000 bytes ..
[INIT] Memory COLOR 1, 1048576 bytes ..
[INIT] Memory COLOR 2, 3004000 bytes ..
InitCommSys: RESOURCE_BASE = 62, NUMRES = 640
InitCommSys: EVENT_BASE = 181, NUMEVT = 768
InitCommSys: MAILBOX_BASE = 6, NUMMBX = 64

rzMemory start: 0x80D73774, end 0x80ED2F74, size 1439744
MXIC MX29LV320ABTC bottom boot 16-bit mode found
Set flash memory layout to Boot Parameters found !!!
Bootcode version: 64M-V0.02
Serial number: J013000909
Hardware version: 01A
strWlanMacAddr:00264D7DA221
[BUILD-WEP] S6,7,8,9,10:[0,0,9,0,9]
[BUILD-WEP] M7,8,9,10,11,12:[7,D,A,2,2,1]
[BUILD-WEP] K1,2:[C,5]
[BUILD-WEP] (K1 XOR S10)=(C XOR 9)=5
[BUILD-WEP] (K1 XOR S9) =(C XOR 0)=C
[BUILD-WEP] (K1 XOR S8) =(C XOR 9)=5
[BUILD-WEP] (X1 X2 X3): 5C5
[BUILD-WEP] (K2 XOR M10)=(5 XOR 2)=7
[BUILD-WEP] (K2 XOR M11)=(5 XOR 2)=7
[BUILD-WEP] (K2 XOR M12)=(5 XOR 1)=4
[BUILD-WEP] (Y1 Y2 Y3): 774
[BUILD-WEP] (M11 XOR S10)=(2 XOR 9)=B
[BUILD-WEP] (M12 XOR S9) =(1 XOR 0)=1
[BUILD-WEP] (K1  XOR K2) =(C XOR 5)=9
[BUILD-WEP] (Z1 Z2 Z3): B19
[BUILD-WEP] (x[1] XOR z[2])=(5 XOR 1)=4
[BUILD-WEP] (y[2] XOR y[3]) =(7 XOR 4)=3
[BUILD-WEP] (x[3]  XOR y[1]) =(5 XOR 7)=2
[BUILD-WEP] (x[2]  XOR z[3]) =(C XOR 9)=5
[BUILD-WEP] (w[0] w[1] w[2] w[3]): 5432
[BUILD-WEP]: Key:557B4C7135492
MXIC MX29LV320ABTC bottom boot 16-bit mode found


sizeof(struct III_Config_t) is 171288, nLen:88248, Magic:0xffffffff
!![E-CFG-VER]1 Configuration data Model mismatch!!
!![E-CFG-VER]1 Adapting factory defaults!!
!![E-CFG-VER]1 Reconfiguration required!!
!![E-CFG-VER] Configuration data version mismatch!!
!![E-CFG-VER] Adapting factory defaults!!
!![E-CFG-VER] Reconfiguration required!!
!!No configuration file present!!
!!Cleanup configuration in flash memory!!
MXIC MX29LV320ABTC bottom boot 16-bit mode found
etcpip_init_config> sizeof(III_Config_t)=171288
etcpip_init_config> flash version:[], [0.0.0]
default route: 0.0.0.0
ifno:2  enableOS:1 enableWEP:0 enableSSN:0
ifno:25  enableOS:0 enableWEP:0 enableSSN:0
BufferInit:
BUF_HDR_SZ=192 BUF_ALIGN_SZ=28 BUFFER_OFFSET=256
BUF_BUFSZ0=384 BUF_BUFSZ1=2464
NUM_OF_B0=0 NUM_OF_B1=1500
BUF_POOL0_SZ=0 BUF_POOL1_SZ=3984000
sizeof(BUFFER0)=576,sizeof(BUFFER1)=2656
*BUF0=0x812d6c9c *BUF1=0x80f0a1fc
Altgn *Buf0=0x812d6ca0 *Buf1=0x80f0a200
End at BUF0:0x812d6ca0, BUF1:0x812d6c80

BUF0[0]=0x812d6ca0 BUF1[0]=0x80f0a200

buffer0 pointer init OK!
buffer1 pointer init OK!
[qm_lnk_init] CLOCKHZ=1000 ...
[qm_lnk_init] add if 3 into QM link 0
[qm_cbq_enable] no QM attached
[qm_cbq_detach] no QM is attached at link 0
f=3492148201/100000, ns_per_byte=1090005888/100000
New cls: id=0, bw=8080 ns/byte, maxd=0 ms,
         maxb=32, minb=2, avgpktsz=0, maxpktsz=0,
         offtime=1, parent=0, borrow=0
         pri=0, maxidle=1, minidle=0,
         maxq=96, clsfg=17
f=2002645667/100000, ns_per_byte=1083109375/100000
New cls: id=1, bw=808080 ns/byte, maxd=0 ms,
         maxb=16, minb=1, avgpktsz=0, maxpktsz=0,
         offtime=1, parent=819dcc70, borrow=819dcc70
         pri=5, maxidle=1, minidle=0,
         maxq=48, clsfg=21
qm_cbq_attach(): cbqp->cbq_res=54
f=90439747/100000, ns_per_byte=1089990048/100000
New cls: id=2, bw=8162 ns/byte, maxd=0 ms,
         maxb=32, minb=4, avgpktsz=0, maxpktsz=0,
         offtime=1, parent=819dcc70, borrow=819dcc70
         pri=5, maxidle=1, minidle=0,
         maxq=48, clsfg=21
f=3846176767/100000, ns_per_byte=1072693248/100000
New cls: id=3, bw=799999999 ns/byte, maxd=0 ms,
         maxb=16, minb=4, avgpktsz=0, maxpktsz=0,
         offtime=1, parent=819db670, borrow=819db670
         pri=0, maxidle=0, minidle=0,
         maxq=96, clsfg=21
f=3846176767/100000, ns_per_byte=1072693248/100000
New cls: id=4, bw=799999999 ns/byte, maxd=0 ms,
         maxb=16, minb=4, avgpktsz=0, maxpktsz=0,
         offtime=1, parent=819db670, borrow=819db670
         pri=1, maxidle=0, minidle=0,
         maxq=48, clsfg=23
f=3846176767/100000, ns_per_byte=1072693248/100000
New cls: id=5, bw=799999999 ns/byte, maxd=0 ms,
         maxb=16, minb=4, avgpktsz=0, maxpktsz=0,
         offtime=1, parent=819db670, borrow=819db670
         pri=2, maxidle=0, minidle=0,
         maxq=48, clsfg=23
f=3846176767/100000, ns_per_byte=1072693248/100000
New cls: id=6, bw=799999999 ns/byte, maxd=0 ms,
         maxb=16, minb=4, avgpktsz=0, maxpktsz=0,
         offtime=1, parent=819db670, borrow=819db670
         pri=3, maxidle=0, minidle=0,
         maxq=48, clsfg=23
f=3846176767/100000, ns_per_byte=1072693248/100000
New cls: id=7, bw=799999999 ns/byte, maxd=0 ms,
         maxb=16, minb=4, avgpktsz=0, maxpktsz=0,
         offtime=1, parent=819db670, borrow=819db670
         pri=4, maxidle=0, minidle=0,
         maxq=48, clsfg=23
f=90439747/100000, ns_per_byte=1089990048/100000
New cls: id=8, bw=8162 ns/byte, maxd=0 ms,
         maxb=16, minb=4, avgpktsz=0, maxpktsz=0,
         offtime=1, parent=819db670, borrow=819db670
         pri=6, maxidle=1, minidle=0,
         maxq=48, clsfg=20
[qm_cbq_reset_dstcp_ctrl] dstcp_ctrl_fg=0x1, dstcp_pkt_delay=0 ms, dstcp_max_burst=6056 bytes
CLOCKHZ=1000
gConfig.Interface[0].IP_Addr = 127.0.0.1
gConfig.Interface[0].Subnet_Mask = 255.255.255.255
***** [iput_IpLinkUp] ifno=0, link_type:12
TRAP(linkUp) : send ok!
Interface 0 ip = 127.0.0.1

gConfig.Interface[1].IP_Addr = 192.168.2.1
gConfig.Interface[1].Subnet_Mask = 255.255.255.0
gSetting.Interface[1].VLAN_Idx = 0
ifp->ipaddr = C0A80201
ifp->netmask = FFFFFF00
gSetting.Vlan_Ports[gSetting.Interface[1].VLAN_Idx].VNet = 1
gSetting.Vlan_Ports[gSetting.Interface[1].VLAN_Idx].IGMP_Querier_Enable = 1
[1][20][21][22]
ifno=1, vlan=0, vid=1, port_mask=0xf
DMA g_desc_list=0x80BF1D60
danube_sw_chip_init: in MII mode
reset GPIO#13.
[rtl8306_setLedMode] modeCur 7fff mode 3
[mac_0_init] call rtl8306_setAsicIGMPMLDSnooping()...
[VLAN] port: 0x000f, ifCount=1
------->add port 0 to vlan 1
------->add port 1 to vlan 1
------->add port 2 to vlan 1
------->add port 3 to vlan 1
mac_0_init: interface 1 registered to VLAN 1, port_mask=f
MAC Address: 00:26:4d:7d:a2:21
***** [iput_IpLinkUp] ifno=1, link_type:12
TRAP(linkUp) : send ok!
br_MacAddress=00-26-4D-7D-A2-21
Interface 1 ip = 192.168.2.1

gConfig.Interface[2].IP_Addr = 0.0.0.0
gConfig.Interface[2].Subnet_Mask = 0.0.0.0
gSetting.Interface[2].VLAN_Idx = 0
ifp->ipaddr = C0A80201
ifp->netmask = FFFFFF00
gSetting.Vlan_Ports[gSetting.Interface[2].VLAN_Idx].VNet = 1
gSetting.Vlan_Ports[gSetting.Interface[2].VLAN_Idx].IGMP_Querier_Enable = 1
[1][20][21][22]
PCI: Probing PCI hardware on host bus 0.
danube pci startup...
danube_pci_startup> gChangePCIClockToInternal=0
PCI clock 33.3MHz
cut-off PCI internal clock
DANUBE_GPIO_P1_ALTSEL0=5c7
DANUBE_GPIO_P1_ALTSEL1=0
DANUBE_GPIO_P1_DIR=91fe
Autoconfig PCI channel 0x805575E8
Scanning bus 00, I/O 0x1ae00000:0x1b000001, Mem 0x18000000:0x1a000001
00:0e.0 Class 0200: 168c:ff1a (rev 01)
        Mem at 0x18000000 [size=0x10000]
Scanning bus 00
Found 00:70 [168c/ff1a] 000200 00
Fixups for bus 00
Bus scan for 00 returning with max=00
ff1a168c  2900006  2000001     8000 18000000        0        0        0
       0        0        0        0        0       44        0      100

[HWLAN] ifno=2 irno=7 port=0x00000000
KERN_INFO: wlan: 0.8.4.2 (Atheros/multi-bss)
KERN_INFO: ath_hal: 0.9.17.1 (AR5212, RF5111, RF5112, RF2413, DEBUG, REGOPS_FUNC)
KERN_INFO: ath_rate_atheros: Version 2.0.1
Copyright (c) 2001-2004 Atheros Communications, Inc, All Rights Reserved
KERN_INFO: ath_pci: 0.9.4.5 (Atheros/multi-bss)
[PCI] devtag=00000070 probe=800a4b04
pci_find_slot bus 0 devfn 70
dev->bus->number 0 dev->devfn 70
pci_find_slot bus 0 devfn 70
dev->bus->number 0 dev->devfn 70
##### We detect Griffin-Lite(2413) without EEPROM #####, pci_info.Device_id=0x1d
pci_find_slot bus 0 devfn 70
dev->bus->number 0 dev->devfn 70
pci_find_slot bus 0 devfn 70
dev->bus->number 0 dev->devfn 70
pci_find_slot bus 0 devfn 70
dev->bus->number 0 dev->devfn 70
[HWLAN] devtag = 00000070
[HWLAN] Vendor ID 0x168c
[HWLAN] Device ID 0x1d
[HWLAN] Base Addr 0xb8000000
[HWLAN] SVendor ID 0x0
[HWLAN] SDevice ID 0x0
[HWLAN] Revision ID 0x1
[HWLAN] interrupt vector 0x1
ath_pci_probe :
ath_pci_probe : dev->name wifi0
call ath_attach 1 : dev 80f01740 name 80f01fe4 wifi0
ath_attach: devid 0x1d dev 80f01740 name wifi0
ath_attach : dev 80f01740 name 80f01fe4 wifi0
ATH_LOCK_INIT called ...
ATH_INIT_TQUEUE() : 800bbbd0 ???
ATH_INIT_TQUEUE() : 800b1fd0 ???
ATH_INIT_TQUEUE() : 800b59c4 ???
ATH_INIT_TQUEUE() : 800b1f98 ???
ATH_INIT_TQUEUE() : 800b1f60 ???
ATH_INIT_SCHED_TASK() ?????
ATH_INIT_TQUEUE() : 800b7208 ???
ath_hal_attach : devid 29
ar5212Attach 1
ar5212Attach 2
Setting ah_eepromDetach
ar5212EepromRead : off 0110 org value 0186
ar5212EepromRead : off 0110 value 0186
[HWLAN] domain from EEPROM 82d4
ar5212EepromRead : off 0110 org value 0186
ar5212EepromRead : off 0110 value 0186
[HWLAN] Set HWLAN MAC as LAN MAC ..
ar5212GetEepromCapabilityInfo: mac address read : 00:26:4d:7d:a2:21
[HWLAN] Set HWLAN MAC as LAN MAC ..
ar5212GetEepromCapabilityInfo: mac address read : 00:26:4d:7d:a2:21
_ath_hal_attach: should call AH_MOD_INC_USE_COUNT???
ar2417GetChipPowerLimits, Chan 2412: MaxPow = 96 MinPow = 0
ar2417GetChipPowerLimits, Chan 2412: MaxPow = 96 MinPow = 0
ar2417GetChipPowerLimits, Chan 2417: MaxPow = 95 MinPow = 0
ar2417GetChipPowerLimits, Chan 2417: MaxPow = 95 MinPow = 0
ar2417GetChipPowerLimits, Chan 2422: MaxPow = 95 MinPow = 0
ar2417GetChipPowerLimits, Chan 2422: MaxPow = 95 MinPow = 0
ar2417GetChipPowerLimits, Chan 2427: MaxPow = 95 MinPow = 0
ar2417GetChipPowerLimits, Chan 2427: MaxPow = 95 MinPow = 0
ar2417GetChipPowerLimits, Chan 2432: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2432: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2437: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2437: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2442: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2442: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2447: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2447: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2452: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2452: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2457: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2457: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2462: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2462: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2467: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2467: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2472: MaxPow = 94 MinPow = 0
ar2417GetChipPowerLimits, Chan 2472: MaxPow = 94 MinPow = 0
ar5212GetChipPowerLimits, Chan 2412: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2412: MaxPow = 36 MinPow = 0
ar5212GetChipPowerLimits, Chan 2417: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2417: MaxPow = 36 MinPow = 0
ar5212GetChipPowerLimits, Chan 2422: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2422: MaxPow = 36 MinPow = 0
ar5212GetChipPowerLimits, Chan 2427: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2427: MaxPow = 36 MinPow = 0
ar5212GetChipPowerLimits, Chan 2432: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2432: MaxPow = 36 MinPow = 0
ar5212GetChipPowerLimits, Chan 2437: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2437: MaxPow = 36 MinPow = 0
ar5212GetChipPowerLimits, Chan 2442: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2442: MaxPow = 36 MinPow = 0
ar5212GetChipPowerLimits, Chan 2447: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2447: MaxPow = 36 MinPow = 0
ar5212GetChipPowerLimits, Chan 2452: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2452: MaxPow = 36 MinPow = 0
ar5212GetChipPowerLimits, Chan 2457: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2457: MaxPow = 36 MinPow = 0
ar5212GetChipPowerLimits, Chan 2462: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2462: MaxPow = 36 MinPow = 0
ar5212GetChipPowerLimits, Chan 2467: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2467: MaxPow = 36 MinPow = 0
ar5212GetChipPowerLimits, Chan 2472: MaxPow = 32 MinPow = 0
ar5212GetChipPowerLimits, Chan 2472: MaxPow = 36 MinPow = 0
ath_descdma_setup: rx DMA: 40 buffers 1 desc/buf
ath_descdma_setup: rx DMA map: A0577B00 (1600) -> 577b00 (1600)
ath_descdma_setup: tx DMA: 200 buffers 2 desc/buf
ath_descdma_setup: tx DMA map: A0578140 (16000) -> 578140 (16000)
ath_descdma_setup: beacon DMA: 4 buffers 1 desc/buf
ath_descdma_setup: beacon DMA map: A057BFC0 (160) -> 57bfc0 (160)
ath_xr_rate_setup: rate table too small (13 > 15)
should assign open and hard_start_xmit in dev structure ??
SuperG is disabled ????????????????????????????
ieee80211_ifattach : should call _MOD_INC_USE
RUNTASK id=2 rapi_tmr_task ...
should call register_netdev() ???
Request Simple Config intr handler ????
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: mac 15.0 phy 7.0 radio 10.2
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
call ath_attach 2 : dev 80f01740 name 80f01fe4 wifi0
[wifi0] : Atheros 5212 : mem=0xb8000000, irq=0 hw_base=0x00000000
***** [iput_IpLinkUp] ifno=2, link_type:12
TRAP(linkUp) : send ok!
[HWLAN] hwlan_ioctl() ..
Interface 2 ip = 192.168.2.1

[HWLAN] hwlan_ioctl() ..
gConfig.Interface[3].IP_Addr = 0.0.0.0
gConfig.Interface[3].Subnet_Mask = 0.0.0.0
ppe: ATM init succeeded (firmware version 1.1.0.2.1.13)
ATM_UBR
Init SAR ifno:3 g_atm_vcc[0] CONN:1 VPI/VCI:8/32
MAC Address: 00:26:4d:7d:a2:22
Interface 3 ip = 0.0.0.0

gConfig.Interface[23].IP_Addr = 0.0.0.0
gConfig.Interface[23].Subnet_Mask = 0.0.0.0
gSetting.Interface[23].VLAN_Idx = 0
ifp->ipaddr = C0A80201
ifp->netmask = FFFFFF00
gSetting.Vlan_Ports[gSetting.Interface[23].VLAN_Idx].VNet = 1
gSetting.Vlan_Ports[gSetting.Interface[23].VLAN_Idx].IGMP_Querier_Enable = 1
[1][20][21][22]
[HWLAN] ifno=23 irno=7 port=0x00000000
***** [iput_IpLinkUp] ifno=23, link_type:12
TRAP(linkUp) : send ok!
[HWLAN] hwlan_ioctl() ..
Interface 23 ip = 192.168.2.1

[HWLAN] hwlan_ioctl() ..
gConfig.Interface[24].IP_Addr = 0.0.0.0
gConfig.Interface[24].Subnet_Mask = 0.0.0.0
gSetting.Interface[24].VLAN_Idx = 0
ifp->ipaddr = C0A80201
ifp->netmask = FFFFFF00
gSettigr[.VN_x].IMP_uerer_able= 1rface4].LANdxVN =
[][20[2122
[HLAN i=2irno=7 ort=o=2 lnk_pe:1
TAP(linp)  se ok
[W hwlaoct()
i->ipdr= CA801rac25]VLANIdx =
              fpne FFFFF0
getIerc].VLN_dx].Net= 1
                       gSetin.Vln_Pts[Settnterac[25VLA_Idx.IGM[0
**ipu_Ipin] no=25, nk_d
[WLA] hlanoctl() .
Intefac25 ip 19168.1

[WL] hwanoct()6IPd0.0.0.0Confignterface[6].bnet_Mk =0..0
                                                        gSeti.Inrface[2].VL=gSei[HWN] fn***** pIpLikUp] ifo=, lik_tpe:2
0LAN hwan_p                            RAP(inkp) se ok
gStting.terace28]VLAIdx  0
ifp>ipddr C08021
p->etmk aor[gS.Inrface[2].VN_Idx].Vet = 1gSeting.Vl_Pots[ettingntefacer_ble  1
[120]21][2]
           [HWAsd o!
                    WLA hwlanoct() ..
ntefa 28p =19168.1

[HWLgterfac29]P_Adr = 0.0.0gConfigIntrfa[29.SunetMas= 0.0.00
if>ipaddr= CA801
ip->netask FFFF0
e_Id.IGerie_Eble = 1
**** [iIpLikUpif=29, lk_tye:12
TAPnkUp) :sen ok!
Inrface = 12.1.2.

HWLAN]w0.0
gStinIntrfae[3].VN_Ix = 0
                         p->paddr =C000gSetiVl_Pots[Seng.Intefac30]LANIdx].VN = 1
ruChek()>Gree trunced: Usleex illbe ruted
CB re fmat Buf ini timeGap pl,v 100
mory AereqCBABuf> int samestol,ve: 2000
morAddess 019e24 0x19iialze!!
in_if loal__mas=07f80007iniif00007
t_na_ppRUNTASK id=3 if_task if0...
RUNTASK id=4 if_task if1...
RUNTASK id=5 if_task if2...
                           UNASd=6if_sk f3..
RUTAS id5 conn_g._k..
N id=16 ul  209
hcpI] main( =====l UssIn() ..
hcplt_Sta]
RUNTASKid=2t[ZIP 2] done
Uncompressed size = 1663003
RUNTASK httpd...
RUNTASK id=26 SSLServer ...
g_Server_Cert_Array=0x80d736e0
RUNTASK id=27 SSLClient ...
g_Client_Cert_Array=0x80d7364c
mapping "www.brntech.com.tw" to 192.168.2.1RUNTASK id=28 dnsproxy...
startNBIOSTask()...
RUNTASK id=29 nbios_main...
RUNTASK id=30 padmin_task_entry...
RUNTASK id=31 dhcpd_mgmt_task...
runDDNS() ddns_enable:0, DDNSTaskRun:0, needReRunDDNS:1
UPnP task run-up... upnpFunc:1
UPNP Device initialize success! slot=32
update_device_OUI: OUI_str=00264D
[0] Allocate mailbox 6
[0] Allocate mailbox 7
RUNTASK id=36 ds_tcp_policing...
[0] Allocate resource 62, FreeResource = 1
fpiclk=83333333, rmc=16, fpiclk/rmc=5208333
ifx_ssc_clock = 5208333, baud=2000000
ifx_ssc_set_baud: br = 0

call ifx_ssc_init() = 0
call ifx_ssc_open() = 0
SPI_Init!
T_WLAN_INT=2
gSetting.CountryCode=0x82d4
gSetting.Interface[T_WLAN_INT].Link_Type=1
set GPIO 28 as input...
RUNTASK id=38 apAppInit...
RUNTASK id=40 UCPServer...
[qm_cbq_resetclst] n_totalcls=9
Danube MEI version:1.00.07
Image[1] at 0xB0060000, len=1392013, type=0
Image[2] at 0xB01B4000, len=473622, type=10
Image[3] at 0xB0227C00, len=174146, type=50
Image[4] at 0xB0252800, len=173329, type=60
Image[5] at 0xB027D000, len=316099, type=90
[get_datapump_address] Datapump for Annex A:2, B:3, C:-1
[get_datapump_address] r_img=2, t_img=5
Unzip DSP firmware ...
Unzipping from B0227C00 to 817F8000 ... [ZIP 1] done
Uncompressed size = 300880
0:ifno2dot1x_if[2]=0
1:ifno2dot1x_if[27]=81
6:ifno2dot1x_if[28]=6
7:ifno2dot1x_if[29]=7
8:ifno2dot1x_if[30]=8
dot1x_wireless_if_mask=0x78000004
[main_8021x] dot1x_build_if_mapping() completed.
init psock cnt=2
apAppInit called ????
Atheros_NetTask running ...
Reset Duslic High begin
ath_create_vap: ifr.ifr_name = wifi0 (before ioctl)
ATH_LOCK called ...
ath_ioctl :  cmd 89f7 ??????
ieee80211_ioctl_create_vap: ifr->ifr_name = wifi0, unit = 0
ieee80211_ioctl_create_vap: name = wlan0, ic->ic_vap_create=0x800b0770
alloc_etherdev: name = wlan0
GetWdsIfno: name = wlan0
GetWdsIfno : return 2 , T_WDS_INT 23
dev 80ed6694 sizeof(struct ath_vap) 1808 sc->sc_rc->arc_vap_space 4
ieee80211_vap_setup : name wlan0
should asigned hard_start_xmit and open in dev structure ???
vap->iv_myaddr : 00:26:4d:7d:a2:21
ic->ic_myaddr : 00:26:4d:7d:a2:21
should call ieee80211_sysctl_vattach() ???
===ath_vap_create opmode 6===
===ath_vap_create:1 avp->av_bcbuf 809a21f4===
ath_vap_create : sc->sc_stagbeacons 1 813f161c
===ath_vap_create:2 avp->av_bcbuf 809a21f4===
ieee80211_reset_bss: old bss 00000000
should call register_netdevice ???
===ath_vap_create:3 avp->av_bcbuf 809a21f4===
ATH_UNLOCK called ...
ath_create_vap: ifr.ifr_name = wlan0 (after ioctl)
apAppInit: ath_create_ap, T_WLAN_INT done
Basic 11g Rates: (1,2, 5.5, 11)
------------------->change mode to argv[3] 3 ,Success
should check capable(CAP_NET_ADMIN) ???
request_module : wlan_acl ???
resetWDS>
<mapping sub-ioctl wds to cmd 0x8BE0-39>
should check capable(CAP_NET_ADMIN) ???
resetWDS> end
Set Channel : channel = 9
should check capable(CAP_NET_ADMIN) ???
1 dev_open: dev->open = 800fc2d4, dev->name = wlan0
1 dev_open: dev->open = 800b207c, dev->name = wifi0
ath_init: dev->name = wifi0
ATH_LOCK called ...
ath_init: mode 6
ath_stop_locked: invalid 0 flags 0x0
should call ath_hal_setcapability -> HAL_CAP_TPC???
tpc 1
tpc 2
tpc 3
tpc 4
tpc 5
ath_merge_mcast() is called ????????????
tpc 6
tpc 7
----> ieee80211_start_running :
dev : 80ed6694 flags 00000000
ATH_UNLOCK called ...
rapi_tmr_cancel: cookie 813f2064, Initialized=1
 00000000 813f0778 813f11f0
cookie 813f2064 813f0778
cookie 813f2064 813f11f0
rapi_tmr_cancel: can't find time structure cookie 813f2064
rapi_tmr_cancel: cookie 80999050, Initialized=1
 00000000 813f0778 813f11f0
cookie 80999050 813f0778
cookie 80999050 813f11f0
rapi_tmr_cancel: can't find time structure cookie 80999050
ath_chan_set: 1 (2412 MHz) -> 9 (2452 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
/home/jay/CC/YaCom/source/firmware-4519/linklayer/hwlan_11ag_nana/madwifi/net80211/ieee80211_proto.c:1303: spin_is_locked
(/home/jay/CC/YaCom/source/firmware-4519/linklayer/hwlan_11ag_nana/madwifi/net80211/ieee80211.c:813F0730)
 already locked by /home/jay/CC/YaCom/source/firmware-4519/linklayer/hwlan_11ag_nana/madwifi/net80211/ieee80211_proto.c/1303
/home/jay/CC/YaCom/source/firmware-4519/linklayer/hwlan_11ag_nana/madwifi/net80211/ieee80211_proto.c:1303: spin_lock
(/home/jay/CC/YaCom/source/firmware-4519/linklayer/hwlan_11ag_nana/madwifi/net80211/ieee80211.c:813F0730)
 already locked by /home/jay/CC/YaCom/source/firmware-4519/linklayer/hwlan_11ag_nana/madwifi/net80211/ieee80211_proto.c/1303
rapi_tmr_cancel: cookie 813f2064, Initialized=1
 00000000 813f0778 813f11f0
cookie 813f2064 813f0778
cookie 813f2064 813f11f0
rapi_tmr_cancel: can't find time structure cookie 813f2064
===ath_newstate IEEE80211_M_HOSTAP===
ath_beacon_alloc :
rapi_tmr_cancel: cookie 80999050, Initialized=1
 00000000 813f0778 813f11f0
cookie 80999050 813f0778
cookie 80999050 813f11f0
rapi_tmr_cancel: can't find time structure cookie 80999050
/home/jay/CC/YaCom/source/firmware-4519/linklayer/hwlan_11ag_nana/madwifi/net80211/ieee80211_proto.c:1305: spin_unlock
(/home/jay/CC/YaCom/source/firmware-4519/linklayer/hwlan_11ag_nana/madwifi/net80211/ieee80211.c:813F0730) not locked
Vap_init called ????
update_img_hdr = A17F8000
idx=0 mem_ptr=0xA17F8000 size=65536
idx=1 mem_ptr=0xA1808000 size=65536
idx=2 mem_ptr=0xA1818000 size=65536
idx=3 mem_ptr=0xA1828000 size=65536
idx=4 mem_ptr=0xA1838000 size=38736
Got MODEM_READY_MSG
Vap_set_rates>
Vap_set_rates> end
into Vap_set_HIDESSID();
exit Vap_set_HIDESSID();
Vap_set_channel>
Vap_set_channel> end
Vap_dev_open>
Vap_dev_open> end
apAppInit : dev->flags  00001001
[HWLAN] Ready
Reset Duslic end
IFX TAPI v3 - The Common Voice API, version 3.5.1.4
(c) Copyright 2006, Infineon Technologies AG
[39] Allocate resource 63, FreeResource = 2
IFX VMMC device driver, version 1.1.5.4
(c) Copyright 2006, Infineon Technologies AG
ifx_mps_init_module...
ifx_mps_init_module...return
VMMC_Open : Major 122 Minor 10
ifx_tapi_open minorNum 10 majorNum 122 drvCtxIndex 0
IFX_FALSE ifx_tapi_open minorNum 10 majorNum 122 drvCtxIndex 0
[39] Allocate resource 64, FreeResource = 3
[39] Allocate resource 65, FreeResource = 4
[39] Allocate resource 66, FreeResource = 5
[39] Allocate resource 67, FreeResource = 6
-----------------------VMMC_VOICE_POLL-----------------------
>>>>>>>>>>>>>>>>>>>>>>>>> OS_GetEventNumber event number 1
-----------------------VMMC_TAPI_WAKEUP-----------------------
[39] Allocate resource 68, FreeResource = 7
[39] Allocate resource 69, FreeResource = 8
[39] Allocate resource 70, FreeResource = 9
[39] Allocate resource 71, FreeResource = 10
[39] Allocate resource 72, FreeResource = 11
[39] Allocate resource 73, FreeResource = 12
[39] Allocate resource 74, FreeResource = 13
[39] Allocate resource 75, FreeResource = 14
[39] Allocate resource 76, FreeResource = 15
>>>>>>>>>>>>>>>>>>>>>>>>> OS_GetEventNumber event number 2
[39] Allocate resource 77, FreeResource = 16
>>>>>>>>>>>>>>>>>>>>>>>>> OS_GetEventNumber event ncurce78 Resur= 17
>>>>>>>>>>>>>> OS_Gevenr 12drtxIex 0
                                    ------------ on 8072f0 nw ML_n, Dev ,
fxs_oen,ine 2
             _dvpTiDed7180
                          VMMCOpe -- 70a:8718
ifxmpspe, id7cMMp-> b7600d76c
-----------> pen80df80  pDvCt 80d73,ode d7e6VMMCOnajo 12 MirN13 ajoNum22 vCIndx
ix
iftapope morN 14 maor 12 drCtxIde0
- 720 no px 7334 VMMLpen nD 0inod 4
                                   impp e 5
if_trm  drvtxnde----------> opn 80d720 npvCt833e4
VMMCL_OpTev d729c4MMCO--> 0b70660 80d72i 5 MMC_handl:8d4
VMC_Open : _o meode6
Tape0c4
Cn -> b700 872
i6 VMC: Mor 2 Minor 17
                       iapipe2no8ifxapi_open minoNu18 jorNum 122-------- open 80d7f80pDtx 8d7e4 V_LLpen, nDev 0, n 8
_drvpTapiO -8006680d729c4
i 8V_hale:80d729c4
>>>>>>>>>>>>>StEtNumber event r 6
[39] All Reur =
>>>>>>>>>>>>>>>>> OSGetur eentumb 7
[39]Aloca r 1
>>>>>>>>>>>>>>>>>>>> OS_GetEventbepso: ie 1, cmd 4f1
[getdre] Cnziin0 8F7 ...[ZIdone                     x_miocl:O_WND.
Uncompressed size = 497424
IFX_MPS: Download firmware (size 497424 bytes)... [HWLAN] [2] rapi_tmr_task running
[dhcp_clt] enable dhcp client in interface ATM1[3]
[26] SSLServer> SSLServer() run
[26] ssld_conf_init> ssl server info:
[26] PrivateKey=
[26] MyCertificate=
[26] CaCertificate=
[26] SSL_method=20
[26] verify_mode=0
[26] cipher_suites=ADH:SHA1:HIGH:EXP:!kEDH
[26] tftp_server_ip=140.92.61.131
[26] fn_myCerttificate=ServCert.pem
[26] fn_privateKey=PrivKey.pem
[26] fn_caCertificate=CaCert.pem
[26] ssld_conf_init> ssl server info end:
PKCS12_PBE_add>
PKCS12_PBE_add> support RC4
PKCS12_PBE_add> support DES
PKCS12_PBE_add> support RC2
[26] pCtx=0x80d59934 in ssld_conf_init

[26] ssld_ctx_reset_cert> re-LoadCACertificate( 1stCA ) ok!!ssld_ctx_reset_cert> this is pkcs12 type certificate
[26] ERR_put_error> lib=13, func=114,reason=155, /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/asn1/asn1_lib.c 142
[26] CRYPTO_realloc_clean> malloc_ex_func=0x802e69e8, /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/mem.c 482
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 154
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 156
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 158
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 160
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 162
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 168
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 170
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 176
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 184
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 158
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 160
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 162
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 165
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 170
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 176
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 184
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 188
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 190
[26] CRYPTO_realloc_clean> malloc_ex_func=0x802e69e8, /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/mem.c 482
[26] CRYPTO_realloc_clean> malloc_ex_func=0x802e69e8, /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/mem.c 482
[26] CRYPTO_realloc_clean> malloc_ex_func=0x802e69e8, /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/mem.c 482

[26] ssld_ctx_reset_cert : re-LoadServerCertAndKey() ok!!
[26] ssld_conf_init> ssld_conf_init() ok
[26] SSLServer> bind SSL server socket!
[26] SSLServer> listen SSL's basic IO socket!
ok!
Version 7.6.3 up and running...
[27] SSLClient> SSLClient() run
[27] sslc_conf_init> ssl client info:
[27] PrivateKey=
[27] MyCertificate=
[27] CaCertificate=
[27] SSL_method=31
[27] verify_mode=1
[27] cipher_suites=ADH:SHA1:HIGH:EXP:!kEDH
[27] tftp_server_ip=140.92.61.131
[27] fn_myCerttificate=ServCert.pem
[27] fn_privateKey=PrivKey.pem
[27] fn_caCertificate=CaCert.pem
[27] sslc_conf_init> ssl client info end:
[27] sslc_conf_init> pCtx=0x80d3b358 in ssld_conf_init

[27] sslc_ctx_reset_cert> re-LoadCACertificate( 3rdCA ) ok!!
[27] sslc_ctx_reset_cert> re-LoadCACertificate( 2ndCA ) ok!!
[27] sslc_ctx_reset_cert> re-LoadCACertificate( 1stCA ) ok!!sslc_ctx_reset_cert> this is pkcs12 type certificate
[27] ERR_put_error> lib=13, func=114,reason=155, /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/asn1/asn1_lib.c 142
[27] CRYPTO_realloc_clean> malloc_ex_func=0x802e69e8, /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/mem.c 482
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 154
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 156
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 158
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 160
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 162
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 168
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 170
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 176
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 184
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 158
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 160
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 162
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 165
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 170
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 176
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 184
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 188
parse_pk12> /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/pkcs12/p12_kiss.c 190
[27] CRYPTO_realloc_clean> malloc_ex_func=0x802e69e8, /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/mem.c 482
[27] CRYPTO_realloc_clean> malloc_ex_func=0x802e69e8, /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/mem.c 482
[27] CRYPTO_realloc_clean> malloc_ex_func=0x802e69e8, /home/jay/CC/YaCom/source/firmware-4519/secure/ssl/0.9.8e/openssl/crypto/mem.c 482

[27] sslc_ctx_reset_cert : re-LoadServerCertAndKey() ok!!
[27] sslc_conf_init> sslc_conf_init() ok
[27] SSLClient> want to bind socket for client application!
[USBLPT] Printer Initialize Fail : Plug Out !!
padmin_task_entry() task running
DNS not found for hnm3.hnm.ya.com
xSpeedtsk priority is 120
ptp Daemon task running
lpd Daemon task running
[USB ROOTHUB_LOOP] RUNTASK id=46 lpd_main ...
[USB] lpd_init() End.
printer schedule task running
usb_hc_timer_active() id:5, tick:15360, status5:0
usb: wrong number of companions (1 != 0)
[USB] dwc3884_reset() DANUBE_RCU_UBSCFG:0xBF203018, var:0x00000400
[USB] dwc3884_reset() rstctl:0xBE101010
[USB] dwc3884_reset() intsts:0xBE101014, var:0x04008829


>>>>>> usbd_new_device: adding unit addr=1, rev=200, class=9, subclass=0, protocol=1, maxpacket=64, len=18, speed=3

usbd_probe_and_attach,probe 1!
usb_explore_task() Begin ...
startExplore() usb explore task run-up, slot:0, tsk_id:48, reason:0
USB Module: Version 2.0.0 build Jul 29 2009 16:10:51
Atheros_NetTask return ...
[signal_1x_reset] ...
rapi_tmr_cancel: cookie 813f2064, Initialized=1
 00000000 813f2064 813f0778 813f11f0
cookie 813f2064 813f2064
cookie 813f2064 813f0778
cookie 813f2064 813f11f0
rapi_tmr_cancel: can't find time structure cookie 813f2064
rapi_tmr_cancel: cookie 80999050, Initialized=1
 00000000 813f0778 813f11f0
cookie 80999050 813f0778
cookie 80999050 813f11f0
rapi_tmr_cancel: can't find time structure cookie 80999050
ieee80211_reset_bss: old bss 80997D44<00:26:4d:7d:a2:21>
netif_poll_disable() called, 2
netif_poll_enable(0 called ???
rapi_tmr_cancel: cookie 80999050, Initialized=1
 00000000 813f0778 813f11f0
cookie 80999050 813f0778
cookie 80999050 813f11f0
rapi_tmr_cancel: can't find time structure cookie 80999050
ATH_LOCK called ...
ath_stop_locked: invalid 0 flags 0x1001
ath_stop_locked : Shutdown the hardware and driver ????
ath_draintxq: beacon queue 0057BFC0
ATH_UNLOCK called ...
Set Channel : channel = 0
should check capable(CAP_NET_ADMIN) ???
ap_deauth_sta called ???
[hostapd]: should check capable(CAP_NET_ADMIN) ???
[hostapd]: should check capable(CAP_NET_ADMIN) ???
set80211priv : ioctl[IEEE80211_IOCTL_SETMLME] error???
[hostapd]: should check capable(CAP_NET_ADMIN) ???
set80211priv : ioctl[IEEE80211_IOCTL_SETMLME] error???
[hostapd]: should check capable(CAP_NET_ADMIN) ???
set80211priv : ioctl[IEEE80211_IOCTL_SETMLME] error???
[Config Hwlan Sec] : AUTH_AUTO
<mapping sub-ioctl authmode to cmd 0x8BE0-3>
should check capable(CAP_NET_ADMIN) ???
Set Auth mode:4 Success
-------128bits
should check capable(CAP_NET_ADMIN) ???
netif_poll_disable() called, 0
wep_attach : should call _MOD_INC_USE ???
netif_poll_enable(0 called ???
Set WEP Key [1]: 35353742344337313335343932 Success
-------128bits
should check capable(CAP_NET_ADMIN) ???
netif_poll_disable() called, 0
wep_attach : should call _MOD_INC_USE ???
netif_poll_enable(0 called ???
Set WEP Key [2]: 35353742344337313335343932 Success
-------128bits
should check capable(CAP_NET_ADMIN) ???
netif_poll_disable() called, 0
wep_attach : should call _MOD_INC_USE ???
netif_poll_enable(0 called ???
Set WEP Key [3]: 35353742344337313335343932 Success
-------128bits
should check capable(CAP_NET_ADMIN) ???
netif_poll_disable() called, 0
wep_attach : should call _MOD_INC_USE ???
netif_poll_enable(0 called ???
Set WEP Key [4]: 35353742344337313335343932 Success
should check capable(CAP_NET_ADMIN) ???
netif_poll_disable() called, 0
netif_poll_enable(0 called ???
Set WEP Default Key [1] Success
1 dev_open: dev->open = 800fc2d4, dev->name = wlan0
1 dev_open: dev->open = 800b207c, dev->name = wifi0
ath_init: dev->name = wifi0
ATH_LOCK called ...
ath_init: mode 6
ath_stop_locked: invalid 0 flags 0x0
should call ath_hal_setcapability -> HAL_CAP_TPC???
tpc 1
tpc 2
tpc 3
tpc 4
tpc 5
ath_merge_mcast() is called ????????????
tpc 6
tpc 7
----> ieee80211_start_running :
dev : 80ed6694 flags 00000000
ATH_UNLOCK called ...
rapi_tmr_cancel: cookie 813f2064, Initialized=1
 00000000 813f0778 813f11f0
cookie 813f2064 813f0778
cookie 813f2064 813f11f0
rapi_tmr_cancel: can't find time structure cookie 813f2064
rapi_tmr_cancel: cookie 80999050, Initialized=1
 00000000 813f0778 813f11f0
cookie 80999050 813f0778
cookie 80999050 813f11f0
rapi_tmr_cancel: can't find time structure cookie 80999050
ap_attach : should call _MOD_INC_USE???
dump channel ...
wlan0: scan set 1g, 2g, 3g, 4g, 5g, 6g, 7g, 8g, 9g, 10g, 11g, 12g, 13g dwell min 200 max 300
dump channel 2...
Vap_security>
Vap_security> end
ath_chan_set: 9 (2452 MHz) -> 1 (2412 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
ADSL> READY
ath_chan_set: 1 (2412 MHz) -> 2 (2417 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
ath_chan_set: 2 (2417 MHz) -> 3 (2422 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
ath_chan_set: 3 (2422 MHz) -> 4 (2427 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
ath_chan_set: 4 (2427 MHz) -> 5 (2432 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
ath_chan_set: 5 (2432 MHz) -> 6 (2437 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
ath_chan_set: 6 (2437 MHz) -> 7 (2442 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
ath_chan_set: 7 (2442 MHz) -> 8 (2447 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
ath_chan_set: 8 (2447 MHz) -> 9 (2452 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
ath_chan_set: 9 (2452 MHz) -> 10 (2457 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
ath_chan_set: 10 (2457 MHz) -> 11 (2462 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
ath_chan_set: 11 (2462 MHz) -> 12 (2467 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
FWCAP: nPCM: 8  nALM: 2  nSIG: 4  nCOD: 4
FWCAP: nNLEC: 4 nWLEC: 4 nAGC: 4  nFAX: 4
FWCAP: nUTG: 4  UTG/CH: 1 nMFTD: 4
VMMC_BBD_Download: time 6009
VMMC_BBD_Download: block_num = 4, time 6009
VMMC_BBD_Download: systime 6028
ath_chan_set: 12 (2467 MHz) -> 13 (2472 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
VMMC_BBD_Download: systime 6044
VMMC_BBD_Download: systime 6047
VMMC_BBD_Download: systime 6050
===>
 VMMC_Ioctl: Phone 1 IFX_TAPI_LINE_TYPE ok!
 VMMC_Ioctl: Phone 1 IFXPHONE_SET_LINEFEED ok!
 VMMC_Ioctl: Phone 1 IFX_TAPI_MAP_DATA_ADD ok!
Set PCM I/F 1 VMMC_handle:80d718c0
TAPI_Phone_PCM_IF_Set_Config 80d72f80
PCM Setting ------------>  DCLFREQ 2 DBLCLK 1 SM 0
===>
 VMMC_Ioctl: Phone 2 IFX_TAPI_LINE_TYPE ok!
 VMMC_Ioctl: Phone 2 IFXPHONE_SET_LINEFEED ok!
 VMMC_Ioctl: Phone 2 IFX_TAPI_MAP_DATA_ADD ok!
Set PCM I/F 2 VMMC_handle:80d71e6c
TAPI_Phone_PCM_IF_Set_Config 80d72f80
===>
Set PCM I/F 3 VMMC_handle:80d72418
TAPI_Phone_PCM_IF_Set_Config 80d72f80
===>
Set PCM I/F 4 VMMC_handle:80d729c4
TAPI_Phone_PCM_IF_Set_Config 80d72f80
===>
Set PCM I/F 5 VMMC_handle:80d729c4
TAPI_Phone_PCM_IF_Set_Config 80d72f80
===>
Set PCM I/F 6 VMMC_handle:80d729c4
TAPI_Phone_PCM_IF_Set_Config 80d72f80
===>
Set PCM I/F 7 VMMC_handle:80d729c4
TAPI_Phone_PCM_IF_Set_Config 80d72f80
===>
Set PCM I/F 8 VMMC_handle:80d729c4
TAPI_Phone_PCM_IF_Set_Config 80d72f80
FXS_FXO is talking now...
Relay On now ch:0
----------------------->>>>>>>VMMC_IFX_TAPI_LL_COD_RTP_Cfg ch 0
----------------------->>>>>>>VMMC_IFX_TAPI_LL_COD_RTP_Cfg ch 1
----------------------->>>>>>>VMMC_IFX_TAPI_LL_COD_RTP_Cfg ch 2
----------------------->>>>>>>VMMC_IFX_TAPI_LL_COD_RTP_Cfg ch 3
Setting HOOK Related Parameters 0
Setting HOOKFLASH_TIME min 80 ms max 800 ms
Setting HOOKON_TIME min 370 max 370
Setting HOOK Related Parameters 1
Setting HOOKFLASH_TIME min 80 ms max 800 ms
Setting HOOKON_TIME min 370 max 370
Setting HOOK Related Parameters 2
Setting HOOK Related Parameters 3
RUNTASK id=30 VINETIC_DRV_Task...
[38] Allocate mailbox 8
RUNTASK id=38 VINETIC_T38_Task...
RUNTASK id=42 VOICE_API_task...
************** Enable ProDaaCheckInterrupt() detect 6496
Reset Duslic High begin
Reset Duslic end
ProDAAInitialize: begin now
ath_chan_set: 13 (2472 MHz) -> 9 (2452 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
ath_chan_set: 9 (2452 MHz) -> 2 (2417 MHz)
ath_draintxq: beacon queue 00000000
ath_merge_mcast() is called ????????????
rapi_tmr_cancel: cookie 813f2064, Initialized=1
 00000000 813f0778 813f11f0
cookie 813f2064 813f0778
cookie 813f2064 813f11f0
rapi_tmr_cancel: can't find time structure cookie 813f2064
===ath_newstate IEEE80211_M_HOSTAP===
ath_beacon_alloc :
rapi_tmr_cancel: cookie 80999050, Initialized=1
 00000000 813f0778 813f11f0
cookie 80999050 813f0778
cookie 80999050 813f11f0
rapi_tmr_cancel: can't find time structure cookie 80999050
/home/jay/CC/YaCom/source/firmware-4519/linklayer/hwlan_11ag_nana/madwifi/net80211/ieee80211_linux.c-266 : call wireless_send_event ???
ProDAAInitialize: Line-Side Device Status ff
Port 2 sytem-side revision ff, line-side revision f
init_DTMF_data: time 7440
force_daa_offhook ch 2 onoff 1 time 7440
ProDaaOffhook ff 2 onoff 1
CID_Detect CH 2 onoff 0
FXO_PolState_DTMFCID --> Disable DTMF CID
force_daa_offhook ch 2 onoff 0 time 7498
ProDaaOffhook ff 2 onoff 0
CID_Detect CH 2 onoff 1
FXO_PolState_DTMFCID --> Detect Polarity Changed Enable DTMF CID
 TEL_DRV_Init
 TEL_DRV_StartDetVOIPHook
 TEL_DRV_StartDetDTMF
 TEL_DRV_StartDetCEDTone
 TEL_DRV_StartDetVOIPHook
 TEL_DRV_StartDetDTMF
 TEL_DRV_StartDetCEDTone
 TEL_DRV_InitTone
When * the value is 60000
When * the value is 60000
When * the value is 60000
When * the value is 60000
sys_voip_cfg->cpt.reorder = 425@-230;20(0.24/0.24/1)
TEL_DRV_TONE_REORDER  duration = 480
 TEL_DRV_InitRing
[39] Allocate resource 84, FreeResource = 23
[39] Allocate mailbox 9
TEL_MGR_Init
[39] Allocate resource 85, FreeResource = 24
tel_mgr_mutex=85
[39] Allocate mailbox 10
 TEL_DM_Init
[39] Allocate resource 86, FreeResource = 25
[39] Allocate resource 87, FreeResource = 26
 TEL_DRV_SetPhoneEvtHookFunc
 TEL_DRV_SetLineEvtHookFunc
 TEL_MGR_VoiceChannelInit
 TEL_MGR_SetVoiceChannel 1
TEL_MGR_SetVoiceChannel: ec mode is 16ms
 TEL_MGR_SetPhoneEC
 TEL_MGR_SetPhoneVAD
 TEL_MGR_SetPhoneGain
VMMC_IFX_TAPI_LL_ALM_Volume_Set Ch 0 TxGain -2 RxGain -9
 TEL_MGR_SetPhoneJitter
 TEL_MGR_SetVoiceChannel 2
TEL_MGR_SetVoiceChannel: ec mode is 16ms
 TEL_MGR_SetPhoneEC
 TEL_MGR_SetPhoneVAD
 TEL_MGR_SetPhoneGain
VMMC_IFX_TAPI_LL_ALM_Volume_Set Ch 1 TxGain -2 RxGain -9
 TEL_MGR_SetPhoneJitter
TEL_MGR_EnableDebug
[39] Allocate resource 88, FreeResource = 27
[39] Allocate mailbox 11
[49] Allocate resource 89, FreeResource = 28
[49] Allocate resource 90, FreeResource = 29
[SIP_CORE_Task] sip_core_ready
TEL_MGR_SetVoipPhoneEvtHookFunc
TEL_MGR_SetVoipPhoneEvtHookFunc
[39] Allocate resource 91, FreeResource = 30
TEL_MGR_DisableDebug
[reset_802dot1x] wireless module ready
[init_wpa] dot1x_ready[0]=1, ifno=2, dot1x_ifno=0
[init_wpa] dot1x_ready[1]=1, ifno=27, dot1x_ifno=129
[init_wpa] dot1x_ready[2]=1, ifno=23, dot1x_ifno=255
[init_wpa] dot1x_ready[3]=1, ifno=24, dot1x_ifno=255
[init_wpa] dot1x_ready[4]=1, ifno=25, dot1x_ifno=255
[init_wpa] dot1x_ready[5]=1, ifno=26, dot1x_ifno=255
[init_wpa] dot1x_ready[6]=1, ifno=28, dot1x_ifno=6
[init_wpa] dot1x_ready[7]=1, ifno=29, dot1x_ifno=7
[init_wpa] dot1x_ready[8]=1, ifno=30, dot1x_ifno=8
[reset_802dot1x] 802.1Xv2 ready
0:ifno2dot1x_if[2]=0
1:ifno2dot1x_if[27]=81
6:ifno2dot1x_if[28]=6
7:ifno2dot1x_if[29]=7
8:ifno2dot1x_if[30]=8
dot1x_wireless_if_mask=0x78000004
[main_8021x] dot1x_build_if_mapping() completed.
ath_draintxq: beacon queue 0057BFC0
ath_merge_mcast() is called ????????????
ath_draintxq: beacon queue 0057BFC0
ath_merge_mcast() is called ????????????
ath_draintxq: beacon queue 0057BFC0
ath_merge_mcast() is called ????????????
DNS not found for hnm3.hnm.ya.com
[reset_802dot1x] wireless module ready
[init_wpa] dot1x_ready[0]=1, ifno=2, dot1x_ifno=0
[init_wpa] dot1x_ready[1]=1, ifno=27, dot1x_ifno=129
[init_wpa] dot1x_ready[2]=1, ifno=23, dot1x_ifno=255
[init_wpa] dot1x_ready[3]=1, ifno=24, dot1x_ifno=255
[init_wpa] dot1x_ready[4]=1, ifno=25, dot1x_ifno=255
[init_wpa] dot1x_ready[5]=1, ifno=26, dot1x_ifno=255
[init_wpa] dot1x_ready[6]=1, ifno=28, dot1x_ifno=6
[init_wpa] dot1x_ready[7]=1, ifno=29, dot1x_ifno=7
[init_wpa] dot1x_ready[8]=1, ifno=30, dot1x_ifno=8
[reset_802dot1x] 802.1Xv2 ready
usb_hc_timer_stop() timer_id:5
DNS not found for hnm3.hnm.ya.com
upnp_Init: flag=0
SSDP Initialization completed...
GenaInit : event_hook is NULL!!
DNS not found for hnm3.hnm.ya.com
DNS not found for hnm3.hnm.ya.com
DNS not found for hnm3.hnm.ya.com
DNS not found for hnm3.hnm.ya.com
CMV_task> rt_macrostate!=7, goto rt_reboot
Got MODEM_READY_MSG
meiRunAdslModem()  ok...
ADSL Firmware: 2.1.2.15.0.1 [Annex A:0x8105 0x0]
ADSL> READY

Espero que no os descuadre mucho el foro  ;D

Desconectado Tki2000

  • Moderador
  • *
  • Mensajes: 2247
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #988 en: 18-10-2014, 13:59 (Sábado) »
Solo una cosa: Los comandos de Tki2000 funcionan perfectamente pero, puesto que lo que copiamos a la flash del router, DEBEMOS acceder todos los bancos de memoria (no olvidemos que era una copia de toda la flash) debemos quitarle la protección contra escritura que tienen algunos.

Para comprobarlo, ejecutamos
Código: [Seleccionar]
fliy veremos que hay una serie de direcciones de memoria que tienen a su lado las letras "RO" (Read-Only). Hay que quitarles esa protección o de lo contrario el comando era y el cp nos informan de que hay bloques que no pueden borrar ni modificar.
Así que en definitiva, y recordando que el archivo backup.bin es la copia de la flash completa que hicimos con brndumper y la hemos copiado al directorio del programa tftp en nuestro PC, la secuencia de comandos a usar para este proceso es la siguiente:
Código: [Seleccionar]
tftp 0x80500000 backup.bin
prot off all
era 0xb0000000 +${filesize}
cp.b 0x80500000 0xb0000000 ${filesize}

Espero que esto le sirva a alguien.

Un saludo y seguid así, sois unos máquinas.

Xácticamente. Se me había olvidado que había que desproteger el bootloader... La edad no perdona...  ^-^

mekkon

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #989 en: 20-10-2014, 11:45 (Lunes) »
Buenas,

he estado haciendo pruebas con diferentes pendrives y discos duros externos USB, en algunos cuando el manejo de archivos es relativamente grande por decirlo de alguna manera, me sale:

Código: [Seleccionar]
dd if=/dev/zero of=swap.swp bs=1024 count=65536
dd: writing 'swap.swp': Input/output error
9785+0 records in
9784+0 records out

no ocurre en todos, sólo en algunos, en el pc me funcionan todos bien cuando hago la misma operación. Por lo que he podido ver en algún que otro hilo parece que no es un problema aislado, quizás algún parámetro del USB no esta bien puesto?

He descubierto que UBIFS se compila si o si en barrier breaker, teniendo jffs2 y 4MB de flash es totalmente innecesario, a eso se suma un package que se añade también y que se incluye sin opción a quitarlo desde menuconfig package/utils/ubi-utils/, quitándolos ahorras unas 200k e incluso diría que el router va más rápido.

mekkon

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #990 en: 20-10-2014, 13:15 (Lunes) »
Aquí os dejo unos tests de velocidad usando el mismo pendrive

NTFS:
Código: [Seleccionar]
time sh -c "dd if=/dev/zero of=swap.swp bs=1024 count=65536"
65536+0 records in
65536+0 records out
real    2m 22.68s
user    0m 1.17s
sys     0m 11.32s


VFAT:
Código: [Seleccionar]
time sh -c "dd if=/dev/zero of=swap.swp bs=1024 count=65536"
65536+0 records in
65536+0 records out
real    0m 14.29s
user    0m 0.46s
sys     0m 10.49s


EXT4:
Código: [Seleccionar]
time sh -c "dd if=/dev/zero of=swap.swp bs=1024 count=65536"
65536+0 records in
65536+0 records out
real    0m 17.47s
user    0m 0.57s
sys     0m 14.12s

NTFS es muuuuyy lento, cade resaltar el detalle de que mientras se crea en VFAT y EXT4, la creación es continua (la luz del pen parpadea continuamente) pero en NTFS va a ráfagas (la luz del pen parpadea en intervalos de varios segundos). Falta memoria para NTFS? alguna pista?

Cuando el tamaño del bloque en vfat es de 4K, el pen funciona sin el mencionado Input/output error (antes lo tenia a 32k)

que de cosas que tiene esto  ;D
« Última modificación: 20-10-2014, 13:18 (Lunes) por mekkon »

juandingas

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #991 en: 28-10-2014, 14:43 (Martes) »
Hola

Me da este error


ARV4518 => run update_openwrt
Using lq_cpe_eth device
TFTP from server 192.168.144.100; our IP address is 192.168.144.99
Filename 'ARV4518PW-squashfs.image'.
Load address: 0x80500000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################
done
Bytes transferred = 4194308 (400004 hex)
Error: end address (0xb0420003) not in flash!
Bad address format
Copy to Flash... Outside available Flash
ARV4518 =>

mekkon

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #992 en: 29-10-2014, 13:14 (Miércoles) »
Eso es porque la imagen que intentas flashear es mayor de 4MB!

Para hacer la imagen tienes que contar con 128K que necesita uboot más 64K para el firmware de atheros que se encuentra al final de la memoria flash. Suerte que no se te ha grabado, ya que habrías machacado esas 64K y el wifi no te habría funcionado (desconozco si uboot protege de por sí esos últimos 64K).

También has de tener en cuenta que jffs2 es el único sistema de archivos que se monta en escritura y lectura y que se utiliza para guardar las configuraciones que vas haciendo, necesita un mínimo de 320K (5 bloques de 64K).

Si la imagen que has compilado es mayor de 3.670.020 bytes, mejor cambia algunas cosillas, ya que overlayfs (jffs2) no se montará, a menos que uses un pen USB para ello, claro

Puedes quitar UBIFS editándolo directamente en el .config, y eliminar package/utils/ubi-utils, no sirven absolutamente de nada, con ellos ahorras unas 200k en el kernel.

Otra cosa que he descubierto es buscar CONFIG_TARGET_SQUASHFS_BLOCK_SIZE en el .config y ponerlo a 1024, con ello ganas en compresión y quizás consigas reducir el tamaño de la imagen final.

Un saludo.
« Última modificación: 29-10-2014, 13:20 (Miércoles) por mekkon »

juandingas

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #993 en: 29-10-2014, 14:01 (Miércoles) »
Hola

Al final me descargué otra imagen del repositorio general de openwert barrier breaker. Pero biene sin luci.
¿Alguíen tiene por ahí alguna bin con luci?
Gracias

mekkon

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #994 en: 29-10-2014, 14:36 (Miércoles) »
Si quieres probar puedes utilizar esta recién cocinada:

http://www.multiupfile.com/f/468d2017

Tiene Luci, FPU, NTFS, VFAT, QOS, WOL, usb Printer, Custom Commands, DDNS, UPNP, FTP y algo más.

no he podido meter ext4 por el tema del espacio y la imagen contiene un "silent kernel".

Un saludo.
« Última modificación: 29-10-2014, 14:43 (Miércoles) por mekkon »

juandingas

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #995 en: 29-10-2014, 18:08 (Miércoles) »
Si quieres probar puedes utilizar esta recién cocinada:

http://www.multiupfile.com/f/468d2017

Tiene Luci, FPU, NTFS, VFAT, QOS, WOL, usb Printer, Custom Commands, DDNS, UPNP, FTP y algo más.

no he podido meter ext4 por el tema del espacio y la imagen contiene un "silent kernel".

Un saludo.


Muchas gracias, lo voy a probar

juandingas

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #996 en: 30-10-2014, 08:48 (Jueves) »
Si quieres probar puedes utilizar esta recién cocinada:

http://www.multiupfile.com/f/468d2017

Tiene Luci, FPU, NTFS, VFAT, QOS, WOL, usb Printer, Custom Commands, DDNS, UPNP, FTP y algo más.

no he podido meter ext4 por el tema del espacio y la imagen contiene un "silent kernel".

Un saludo.

Probado y funcionando perfectamente. El wifi en radio0.

Luego intento instalar otros paquetes, como luci en español o kmod para una antena externa y me da error en dependencias del kernel.


mekkon

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #997 en: 30-10-2014, 12:21 (Jueves) »
para añadir más paquetes, tendrás que utilizar un pen drive y montar overlaysfs en él, no lo he probado aún (estoy probando varias cosas y una de ellas es esta), hay un hilo en el foro que habla sobre ello.

el error de las dependencias es porque había eliminado la información de los paquetes en la imagen, por eso no se resuelven  ^-^

He creado otra imagen, al igual que la anterior, tiene Luci, FPU, NTFS (sólo lectura), VFAT, QOS, WOL, usb Printer, Custom Commands, DDNS, UPNP, FTP más swconfig, y EXT4!!!

esta basada en el kernel 3.10.58.

http://www.multiupfile.com/f/3e8c6dc8

la información de los paquetes instalados sí que se incluye esta vez  ;)

Desconectado Tki2000

  • Moderador
  • *
  • Mensajes: 2247
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #998 en: 30-10-2014, 12:22 (Jueves) »
Si quieres probar puedes utilizar esta recién cocinada:

http://www.multiupfile.com/f/468d2017

Tiene Luci, FPU, NTFS, VFAT, QOS, WOL, usb Printer, Custom Commands, DDNS, UPNP, FTP y algo más.

no he podido meter ext4 por el tema del espacio y la imagen contiene un "silent kernel".

Un saludo.

Probado y funcionando perfectamente. El wifi en radio0.

Luego intento instalar otros paquetes, como luci en español o kmod para una antena externa y me da error en dependencias del kernel.


Evidentemente las dependencias fallarán porque la imagen que has puesto no se corresponde con la que hay en internet. Tendrás que forzar dependencias.
De todas formas, me parece que si mekkon ha dicho que no ha puesto ext4 porque faltaba sitio, no vas a poder instalar mucho más, ya que para hacer extroot y poder instalar algo hace falta ext4.

EDITO: mekkon ha añadido otra compilación con ext4.
« Última modificación: 30-10-2014, 12:24 (Jueves) por Tki2000 »

mekkon

  • Visitante
Re: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)
« Respuesta #999 en: 30-10-2014, 12:40 (Jueves) »
EDITO: mekkon ha añadido otra compilación con ext4.

sí, esta última compilación lleva ext4, que funciona también para ext3 y ext2, esta integrada en el núcleo, supongo que así me será más fácil hacer pruebas con overlayfs

un saludo