Autor Tema: [Desarrollo] OpenWrt en ZTE IX350  (Leído 15969 veces)

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

mekkon

  • Visitante
[Desarrollo] OpenWrt en ZTE IX350
« en: 13-02-2015, 11:05 (Viernes) »
Buenas,

Abro este hilo para añadir soporte para OpenWrt para el ZTE IX350.

No esta soportado aún, pero tengo una versión funcional con soporte para wifi y ethernet.

CPU: RT3052F
RAM: H57V2562GTR-75C (32MB)
FLASH: S29GL128N (16MB)
Ethernet: 4x RJ45 10/100 H4001CG

Para curiosear por el router he utilizado un conversor TTL-USB serial conectado de esta forma:



El arranque dispone de Uboot:

Código: [Seleccionar]
U-Boot 1.1.3 (Apr  7 2011 - 19:55:01)

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fac000
mips_cpu_feq=384000000

 Set info->start[0]=BF000000
flash_protect ON: from 0xBF000000 to 0xBF0208B3
protect on 0
protect on 1
protect on 2
flash_protect ON: from 0xBF040000 to 0xBF05FFFF
protect on 4
protect on 5
*** Warning - bad CRC, using default environment

============================================
ZTE UBoot Version: 1.0.1
--------------------------------------------
ASIC 3052_MP2 (Port5<->None)
DRAM COMPONENT: 256Mbits
DRAM BUS: 16BIT
Total memory: 32 MBytes
Date:Apr  7 2011  Time:19:55:01
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

freq = 384000000 MHZ

 ##### The CPU freq = 384 MHZ ####

SDRAM bus set to 16 bit
 SDRAM size =32 Mbytes
All PHY are used.


Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   9: Load Boot Loader code then write to Flash via TFTP.

Si escogemos la opción 4 nos salen estas opciones:

Código: [Seleccionar]
ZTE # ?
?       - alias for 'help'
loopback   - Ralink eth loopback test !!
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
cp      - memory copy
echo    - echo args to console
erase   - erase FLASH memory
go      - start application at address 'addr'
help    - print online help
loadb   - load binary file over serial line (kermit mode)
md      - memory display
mdio   - Ralink PHY register R/W command !!
mm      - memory modify (auto-incrementing)
mw      - memory write (fill)
nm      - memory modify (constant address)
printenv- print environment variables
protect - enable or disable FLASH write protection
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
spicmd  - read/write data from/to eeprom or vtss
tftpboot- boot image via network using TFTP protocol
version - print monitor version

Código: [Seleccionar]
ZTE # printenv
bootcmd=tftp
bootdelay=5
baudrate=115200
ethaddr="00:AA:BB:CC:DD:10"
ipaddr=192.168.0.1
serverip=192.168.0.22
preboot=echo;echo
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off
addmisc=setenv bootargs $(bootargs) console=ttyS0,$(baudrate) ethaddr=$(ethaddr) panic=1
flash_self=run ramargs addip addmisc;bootm $(kernel_addr) $(ramdisk_addr)
kernel_addr=BFC40000
u-boot=u-boot.bin
load=tftp 8A100000 $(u-boot)
u_b=protect off 1:0-1;era 1:0-1;cp.b 8A100000 BC400000 $(filesize)
loadfs=tftp 8A100000 root.cramfs
u_fs=era bc540000 bc83ffff;cp.b 8A100000 BC540000 $(filesize)
test_tftp=tftp 8A100000 root.cramfs;run test_tftp
stdin=serial
stdout=serial
stderr=serial
ethact=Eth0 (10/100-M)

Environment size: 785/131068 bytes

este es el log completo de arranque del aparato:

Código: [Seleccionar]
U-Boot 1.1.3 (Apr  7 2011 - 19:55:01)

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fac000
mips_cpu_feq=384000000

 Set info->start[0]=BF000000
flash_protect ON: from 0xBF000000 to 0xBF0208B3
protect on 0
protect on 1
protect on 2
flash_protect ON: from 0xBF040000 to 0xBF05FFFF
protect on 4
protect on 5
*** Warning - bad CRC, using default environment

============================================
ZTE UBoot Version: 1.0.1
--------------------------------------------
ASIC 3052_MP2 (Port5<->None)
DRAM COMPONENT: 256Mbits
DRAM BUS: 16BIT
Total memory: 32 MBytes
Date:Apr  7 2011  Time:19:55:01
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

freq = 384000000 MHZ

 ##### The CPU freq = 384 MHZ ####

SDRAM bus set to 16 bit
 SDRAM size =32 Mbytes
All PHY are used.


Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   9: Load Boot Loader code then write to Flash via TFTP.
 0
last i charator of rootfs flash is �
last i charator of rootfs flash is �
last i charator of rootfs flash is �
last i charator of rootfs flash is �
last i charator of rootfs flash is �
  
3: System Boot system code via Flash.
## Booting image at bf080000 ...
   Image Name:   Linux Kernel Image
   Created:      2011-07-15   2:04:58 UTC

 System Control Status = 0x00440000
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    6229952 Bytes =  5.9 MB
   Load Address: 80000000
   Entry Point:  803b9000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 803b9000) ...
## Giving linux memsize in MB, 32

Starting kernel ...


LINUX started...

 THIS IS ASIC
Linux version 2.6.21 (fanxy@localhost.localdomain) (gcc version 3.4.2) #60 PREEMPT Fri Jul 15 10:04:38 CST 2011

 The CPU feqenuce set to 384 MHz
CPU revision is: 0001964c
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Built 1 zonelists.  Total pages: 8128
Kernel command line: console=ttyS1,115200n8 root=/dev/mtdblock4
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
cause = 10800000, status = 1100ff00
PID hash table entries: 128 (order: 7, 512 bytes)
calculating r4koff... 00177000(1536000)
CPU frequency 384.00 MHz
Using 192.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28420k/32768k available (3159k kernel code, 4348k reserved, 648k data, 128k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
zhaoyong RALINK_REG_GPIOMODE=385
zhaoyong RALINK_REG_PIODIR=3
zhaoyong RALINK_REG_PIODIR_24_39=2182
zhaoyong RALINK_REG_PIODIR_40_51=e20
Ralink gpio driver initialized
Enable Ralink GDMA Controller Module
spidrv_major = 217
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
loop: loaded (max 8 devices)
rdm_major = 254
PPP generic driver version 2.4.2
PPP BSD Compression module registered
NET: Registered protocol family 24
ralink flash device: 0x1000000 at 0xbf000000
Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
Ralink SoC physically mapped flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 7 MTD partitions on "Ralink SoC physically mapped flash":
0x00000000-0x00040000 : "Bootloader"
0x00040000-0x00060000 : "Config"
0x00060000-0x00080000 : "Factory"
0x00080000-0x001c0000 : "Kernel"
0x001c0000-0x007c0000 : "RootFS"
0x007c0000-0x008c0000 : "Jffs2"
0x008c0000-0x01000000 : "back"
block2mtd: version $Revision: 1.1.1.1 $
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
usbcore: registered new interface driver usb-pcm
drivers/usb/serial/usb-pcm.c: usb to pcm Driver: V2.4.20_uC0_1B12
nf_conntrack version 0.5.0 (256 buckets, 2048 max)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
ipt_time loading
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 10
NET: Registered protocol family 17
NET: Registered protocol family 15
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
GDMA1_MAC_ADRH -- : 0x00000000
GDMA1_MAC_ADRL -- : 0x00000000
Ralink APSoC Ethernet Driver Initilization. v2.00  64 rx/tx descriptors allocated, mtu = 1500!
GDMA1_MAC_ADRH -- : 0x0000021e
GDMA1_MAC_ADRL -- : 0x73830b61
PROC INIT OK!
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 128k freed
init started: BusyBox v1.12.1 (2011-07-15 09:54:18 CST)
starting pid 610, tty '': '/etc_ro/rcS'
Algorithmics/MIPS FPU Emulator v1.5
devpts: called with bogus options
cfg: no version for "struct_module" found: kernel tainted.
Load cfg new driver...
drivers/cfg/cfg_param.c 622
drivers/cfg/cfg_param.c 438
drivers/cfg/cfg_param.c 446
drivers/cfg/cfg_param.c 450
cfg driver : read cfg
drivers/cfg/cfg_param.c 471

DDNSPassword=oamWiM
44444e5350617373776f72643d006f616d57694d

drivers/cfg/cfg_param.c 500
drivers/cfg/cfg_param.c 438
drivers/cfg/cfg_param.c 446
drivers/cfg/cfg_param.c 450
cfg driver : read cfg
drivers/cfg/cfg_param.c 471

SSID1=Instanet_4G_0B
53534944313d496e7374616e65745f34475f3042

drivers/cfg/cfg_param.c 500
drivers/cfg/cfg_param.c 438
drivers/cfg/cfg_param.c 446
drivers/cfg/cfg_param.c 450
cfg driver : read cfg
drivers/cfg/cfg_param.c 471


0000000000000000000000000000000000000000

drivers/cfg/cfg_param.c 500
drivers/cfg/cfg_param.c 624
                      _______    _______    _______
                    /|__     | /|       | /|  _____|
                    |/_ /   /  ||__   __| || |____/
                      //   /   |/_/| |_/  ||  _____|
                     //   /__     || |    || |____/
                    ||_______|    ||_|    ||_______|
                    |/______/     |/_/    |/______/    IX350
wifi_switchzhaoyong set gpio51 input e3f

get gpio dir
zhaoyong read gpio48 1c0
get gpio value
wifi_switch i=1
ra0       no private ioctls.

internet.sh
zhaoyong open gpzhaoyong set gpio51 input e3f
io success
zhaoyong RALINK_REG_PIOFENA_40_51=100
write_gpiodir_40_51  fd=3
Password for 'admin' changed
/sbin/internet.sh: line 257: wc: not found
[: 0: unknown operand
dwc_otg: config..done
dwc_otg: version 2.72a 24-JUN-2008
DWC_otg: Core Release: 2.66a
DWC_otg: Periodic Transfer Interrupt Enhancement - disabled
DWC_otg: Multiprocessor Interrupt Enhancement - disabled
DWC_otg: Using DMA mode
DWC_otg: Device using Buffer DMA mode
dwc_otg lm0: DWC OTG Controller
dwc_otg lm0: new USB bus registered, assigned bus number 1
dwc_otg lm0: irq 18, io mem 0x00000000
DWC_otg: Init: Port Power? op_state=1
DWC_otg: Init: Power Port (0)
usb usb1: --->>>[NDIS DEBUG]:enter  generic_probe.drivers/usb/core/generic.c,161
usb usb1: --->>>[NDIS DEBUG]:enter  choose_configuration.drivers/usb/core/generic.c,50
--->>>[NDIS DEBUG]:enter  generic_probe.drivers/usb/core/generic.c,30
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
insmod: bridge.ko: module not found
insmod: mii.ko: module not found
insmod: raeth.ko: module not found

phy_tx_ring0 = 019ad000, tx_ring0 = a19ad000, size: 16 bytes

phy_tx_ring1 = 019ae000, tx_ring1 = a19ae000, size: 16 bytes

phy_tx_ring2 = 019af000, tx_ring2 = a19af000, size: 16 bytes

phy_tx_ring3 = 019b0000, tx_ring3 = a19b0000, size: 16 bytes

phy_rx_ring = 0x00000000, rx_ring = 0x00000000
CDMA_CSG_CFG = 81000000
GDMA1_FWD_CFG = 10000
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
rmmod: rt2860v2_ap: No such file or directory
rmmod: rt2860v2_sta: No such file or directory
usb 1-1: new high speed USB device using dwc_otg and address 2
usb 1-1: --->>>[NDIS DEBUG]:enter  generic_probe.drivers/usb/core/generic.c,161
usb 1-1: --->>>[NDIS DEBUG]:enter  choose_configuration.drivers/usb/core/generic.c,50
--->>>[NDIS DEBUG]:enter  generic_probe.drivers/usb/core/generic.c,30
usb 1-1: configuration #1 chosen from 1 choice
rt2860v2_ap: module license 'unspecified' taints kernel.
2860 version : 2.0.0.0 (Jul 15 2011)


=== pAd = c15cb000, size = 110368 ===

rmmod: nf_nat_pptp: No such file or directory
rmmod: nf_conntrack_pptp: No such file or directory
rmmod: nf_nat_proto_gre: No such file or directory
rmmod: nf_conntrack_proto_gre: No such file or directory
RX DESC a1b7a000  size = 1024
1. Phy Mode = 9
2. Phy Mode = 9
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
The primary RSNIE: c15cecee, len = 22
0x0000 : 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02
0x0010 : 01 00 00 50 f2 02
zhaoyong isRadioOff==0
Main bssid = 02:1e:73:83:0b:61
The UUID Hex string is:2880288028801880a880021e73830b61
The UUID ASCII string is:28802880-2880-1880-a880-021e73830b61!
0x1300 = 00064380
insmod: 8021q.ko: module not found
BusyBox v1.12.1 (2011-07-15 09:54:18 CST) multi-call binary

Usage: ifconfig [-a] interface [address]

ifconfig: ioctl 0x8913 failed: No such device
brctl: bridge br0: No such device or address
iptables v1.4.0rc1: can't initialize iptables table `mangle': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
device ra0 entered promiscuous mode
##### restore RT3052 to dump switch #####
switch reg write offset=14, value=5555
switch reg write offset=40, value=1001
switch reg write offset=44, value=1001
switch reg write offset=48, value=1001
switch reg write offset=4c, value=1
switch reg write offset=50, value=2001
switch reg write offset=70, value=ffffffff
switch reg write offset=98, value=7f7f
switch reg write offset=e4, value=0
device eth2 entered promiscuous mode
br0: port 2(eth2) entering learning state
br0: port 1(ra0) entering learning state
route: ioctl 0x890c failed: No such process
route: ioctl 0x890b failed: Invalid argument
br0: port 2(eth2) entering disabled state
br0: port 1(ra0) entering disabled state
br0: port 2(eth2) entering learning state
br0: port 1(ra0) entering learning state
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
/sbin/lan.sh: line 63: hostname: not found
Set: phy[0].reg[0] = 3900
Set: phy[0].reg[0] = 3100
Set: phy[1].reg[0] = 3900
Set: phy[1].reg[0] = 3100
Set: phy[2].reg[0] = 3900
Set: phy[2].reg[0] = 3100
Set: phy[3].reg[0] = 3900
Set: phy[3].reg[0] = 3100
Set: phy[4].reg[0] = 3900
Set: phy[4].reg[0] = 3100
ifconfig: ioctl 0x8913 failed: No such device
killall rt2860apd 1>/dev/null 2>&1
iptables -F -t filter 1>/dev/null 2>&1
iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -F macipport_filter 1>/dev/null 2>&1
iptables -D FORWARD -j web_filter  1>/dev/null 2>&1
iptables -F web_filter  1>/dev/null 2>&1
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t filter -N time_control 1>/dev/null 2>&1
iptables -t filter -N web_filter 1>/dev/null 2>&1
iptables -t filter -N macipport_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j time_control 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/dev/null 2>&1
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1360
timectrl -F time_control
timefrom =
iptables -t filter -F INPUT
iptables -t filter -I INPUT  -p tcp -d 192.168.0.1 --dport 80  -j ACCEPT
iptables -t filter -A INPUT -i veth0 -p tcp --dport 80 -j DROP
iptables -t filter -I INPUT -i veth0 -p icmp -j ACCEPT
cfg save index:0
iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1
iptables -t nat -F port_forward  1>/dev/null 2>&1; iptables -t nat -X port_forward  1>/dev/null 2>&1
iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1
iptables -t nat -F DMZ 1>/dev/null 2>&1; iptables -t nat -X DMZ  1>/dev/null 2>&1
iptables -t nat -N port_forward 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 1 -j port_forward 1>/dev/null 2>&1
iptables -t nat -N DMZ 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j DMZ 1>/dev/null 2>&1
iptables -t nat -I PREROUTING -j DNAT -i veth0 -p tcp --dport 9000 --to 192.168.0.1:80
iptables -t nat -A POSTROUTING -o veth0 -j MASQUERADE
ip_table: set wan_name=veth0
echo 1 > /proc/sys/net/ipv4/ip_forward
ntp.sh
greenap.sh init
ddns.sh
route delete 239.255.255.250 1>/dev/null 2>&1
killall wscd 1>/dev/null 2>&1

 ### WIMAXMGR ### ________________________wimaxmgr run_________________________
### WIMAXMGR ### ____________________________MSGMGR_Main
### WIMAXMGR ### Creating wimaxmgr message queue success! msgid=0x8001
### WIMAXMGR ### Load wimax firmware, enter wait...
usbbcm_device_probe:subtype[1] = 0x000000ff

usbbcm_device_probe:subtype[2] = 0x00000000

usbbcm_device_probe:subtype[4] = 0x00000000

usbbcm_device_probe:subtype[8] = 0x00000000

InitAdapter:Initialising Adapter = 0x80dc0000
InitAdapter:Adapter initialised
usbbcm_device_probe:psIntfAdapter 0x80e76800
InterfaceAdapterInit:MODEM IS CONFIGURED TO HIGH_SPEED
InterfaceAdapterInit:First RDM Chip ID 0xbece3301

InterfaceAdapterInit:usb dev registered
register_control_device_interface:Got Major No: 251
create_worker_threads:Init Threads...
open_firmware_file:Got file descriptor pointer of /lib/firmware/macxvi.cfg!
beceem_parse_target_struct:AutoSyncup is Disabled

beceem_parse_target_struct:Disabling autolink up
beceem_parse_target_struct:DDR Setting: 3

beceem_parse_target_struct:Power Save Mode: 0

beceem_parse_target_struct:Enabling Auto Firmware Download

beceem_parse_target_struct:MIPSConfig   : 0x0

beceem_parse_target_struct:PMU MODE: 0
beceem_parse_target_struct:uiEEPROMFlag  : 0x0

Bcm_kill_all_URBs:Cancelling All Submitted TX Urbs

Bcm_kill_all_URBs:Cancelling All submitted Rx Urbs

Bcm_kill_all_URBs:TCB: used- 0 cur-0

Bcm_kill_all_URBs:RCB: used- 0 cur-0

reset_card_proc:Reseting UMA-B

usb 1-1: reset high speed USB device using dwc_otg and address 2
killall -9 wscd 1>/dev/null 2>&1
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1
killall -q klogd
killall -q syslogd
syslogd -C256 1>/dev/null 2>&1
klogd 1>/dev/null 2>&1
killall -q zebra
ddr_init:Register Count is =48

killall -q ripd
InitCardAndDownloadFirmware:CFG file downloaded

drivers/net/beceem_drv_5.2.7.3P2/Common/nvm.c:ReadMacAddressFromNVM:420:Buffer dump of size 0x6 in the HEX:
00 1E 73 83 0B 61
register_networkdev:Registering netdevice notifier

register_networkdev:BCM Notifier got Registered
bcm_notify_event:Register RefCount: 5

register_networkdev:Beceem Network device name is veth0!
open_firmware_file:Got file descriptor pointer of /lib/firmware/macxvi200.bin!
BcmFileDownload:Opened file is = /lib/firmware/macxvi200.bin and length =0x1ce998 to be downloaded at =0xbfc00000
BcmFileDownload:download start 6ad00697
zhaoyong RALINK_REG_PIOFENA_40_51=180
webs: Listening for HTTP requests at address 192.168.0.1
ra2880stop()...Done
Free TX/RX Ring Memory!
br0: port 2(eth2) entering disabled state
cfg save index:0
InterfaceFileDownload:Got end of file!

phy_tx_ring0 = 009af000, tx_ring0 = a09af000, size: 16 bytes

phy_tx_ring1 = 009b0000, tx_ring1 = a09b0000, size: 16 bytes

phy_tx_ring2 = 009b1000, tx_ring2 = a09b1000, size: 16 bytes

phy_tx_ring3 = 009b2000, tx_ring3 = a09b2000, size: 16 bytes

phy_rx_ring = 0x019b1000, rx_ring = 0xa19b1000
CDMA_CSG_CFG = 81000000
GDMA1_FWD_CFG = 10000
br0: port 2(eth2) entering learning state
InterfaceFileReadbackFromChip:Got end of file!
BcmFileDownload:file download done at 6ad00d02
InitCardAndDownloadFirmware:BIN file downloaded
device_run:Sending first interrupt URB down......
device_run:Got the mailbox interrupt ...Registering control interface...
 

 usbbcm_device_probe,[380],retval:0
usbcore: registered new interface driver usbbcm
Initialised usbbcmDEVMONITOR_Main: get MSG_MONITOR_WIMAXDEV_UP message
udhcpc (v1.12.1) started
udhcp_run_script client_config.interface=veth0, client_config.script=/sbin/udhcpc.sh
<7>ra0: no IPv6 routers present
### WIMAXMGR ### MSGMGR_Main: recieve a message from MSG_ID_WIMAXMGR
### WIMAXMGR ### HandleRvcMsg: receive MSG_MONITOR_WIMAXDEV_UP message
dhcpc deconfig
killall: dnsmasq: no process killed
####-DHCPC-####-->:UDHCPC:RELEASE main init.
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:If timeout dropped to zero, time to become active.
####-DHCPC-####-->:switch (state)  ====state = 0
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
br0: topology change detected, propagating
br0: port 2(eth2) entering forwarding state

----
Starting D2Tech vPort.
----

####-DHCPC-####-->:If timeout dropped to zero, time to become active.
####-DHCPC-####-->:switch (state)  ====state = 0
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
### WIMAXMGR ### Wimax firmware up, run wimax entry manage!
### WIMAXMGR ### No factory config file
### WIMAXMGR ### EAP: method=13, userid=, pw=blank, submethod=26, subuserid=4761016
AddMIBEntry,[46],u16Offset:1240
 ### WIMAXMGR ### enter BCMMIAC_Main **********
AddMIBEntry,[46],u16Offset:1240
***************** BeceemWiMAX_GetStatisticsAddress,[2318],puiStatAddress:BFF16ABC
### WIMAXMGR ### CONNMGR_ReadRFEEPROMVersionRequest, 785
### WIMAXMGR ### BCMCALLBACK_ReadRFEEPROMVersionResponse
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### CONNMGR_SSINFORequest, 71
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### CONNMGR_StatisticsGetRequest, 681
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### CONNMGR_StateMachine, 307, SM_EVENT_CONNCMDREC
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3405000 LastFreq=3415000 NextFreqStep=10000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
CreateSoftTimer index 0 success:
usTimerID = 3,
ucFlag = 1,
ulCurInterval = 25,
ulNextInterval = 25,
procCallBack = 0x00000000,
args = 0x00000000.
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 0 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
####-DHCPC-####-->:If timeout dropped to zero, time to become active.
####-DHCPC-####-->:switch (state)  ====state = 0
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=br0: topology change detected, propagating
br0: port 1(ra0) entering forwarding state
3402500 LastFreq=3417500 NextFreqStep=5000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 1 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
####-DHCPC-####-->:If timeout dropped to zero, time to become active.
####-DHCPC-####-->:switch (state)  ====state = 0
####-DHCPC-####-->:dhcpc......leasefail.
udhcp_run_script client_config.interface=veth0, client_config.script=/sbin/udhcpc.sh
dhcpc leasefail
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3462500 LastFreq=3517500 NextFreqStep=5000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
+ RC_D2_REV=3
+ D2_DIR=/usr/d2
+ IF_ADDR=192.168.0.1
+ mkdir -p /var/tmp/osal
+ mkdir -p /tmp/nv
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
+ insmod /usr/d2/extern_osal_kernel_gpl.ko
+ insmod /usr/d2/osal_kernel.ko
osal_module.c:35 OSAL module_init OK

+ insmod /usr/d2/ve_vtsp_hw.ko
TIC:  numTicFxs=1 numTicFxo=0 numTicAudio=0
+ insmod /usr/d2/ve_vtsp_rt.ko
### WIMAXMGR ### Frequency Band 2 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
lkm.c 171: devname /dev/d2vtspr
/dev/d2vtspr registered successfuly @ 250.
+ vapp -i 192.168.0.1


========
vPort Release +D2Tech+ VPORT  VPORT_R_1_5_66
========

               ZTE Technologies

       Unified Communication Products

                 www.zte.com.cn


voip_data.c:481 /tmp/nv/vport_cfg.xml doesn't exist, creat in now!
voip_data.c 31: Write parameters to /tmp/nv/vport_cfg.xml

voip_data.c:496 /tmp/nv/vport_cfg.xml exist!

voip_data.c:506 Now we do _VAPP_profileRead() to parse
vapp_init.c:506 - hostname_ptr=192.168.0.1

vapp_init.c:531 VAPP hostname 192.168.0.1 ('192.168.0.1')

vapp_init.c:533 VAPP hostname 192.168.0.1 (hbo c0a80001)
vapp_init.c: vTSP version +D2Tech+ VTSP VPORT_R_1_5_109,
 (R-1-4-0)
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3465000 LastFreq=3515000 NextFreqStep=10000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
vapp_init.c: 1229 UA 0 is configured with these params:
Hostname:      192.168.0.1 (hbo c0a80001)
HostAddr:      192.168.0.1
Authname:      2940100
Password:      dilbert
Domain:        test.d2tech.com
Realm:         test.d2tech.com
Registrar:    
Proxy    :    
Username[0]:   2940100
Dname[0]:      2940100



vhw.c VHW_init: VHW_NUM_PCM_CH = 1
_vhw.c _VHW_pcmOpen: SYSTEM_CLKCFG1 = 0x428C7
_vhw.c _VHW_pcmOpen: SYSTEM_GPIOMODE = 0x391
_vhw.c _VHW_pcmRegSetup: PCM_PCMCFG = 0x43000000
_vhw.c _VHW_pcmRegSetup: PCM_GLBCFG = 0x440000
_vhw.c _VHW_pcmRegSetup: PCM_CH0_CFG = 0x0
_vhw.c _VHW_pcmRegSetup: PCM_CH1_CFG = 0x0
_vhw.c _VHW_pcmStart: PCM_GLBCFG = 0xC0440000
_vhw.c _VHW_pcmEnable: PCM_GLBCFG = 0xC0440101
Revision Id 0x1 on channel 0
Si3217x_Init 897 - chip type = 0x14, rev = 1

VBAT Up = 61.275 v

Si3217x PCMStart

tic.c 165 TIC_initInfc(chan=0,infc=53760)
vapp_vtsp.c: VTSP_getVersion reports v1.4.0
vapp_init.c, 413: gainrx = 0, gaintx = -20
vapp_sip_task.c 240: msgget  Phone_VOIP_Msg_Id success
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 3 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3562500 LastFreq=3597500 NextFreqStep=5000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART

             D2 Technologies, Inc.
      _   _  __                          
     / | '/  /_  _  /_ _  _  /_  _  ._   _
    /_.'/_  //_'/_ / // //_///_//_///_'_\
                                _/        

        Unified Communication Products

               www.d2tech.com

        +D2Tech+ VTSP_RT VPORT_R_1_5_109

+D2Tech+ VTSP_RT VPORT_R_1_5_109

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+ nse M24KEC4_B_1_1-nse_1_2 src-svn: 225 d2tools-svn: 3454

+D2Tech+ plc M24KEC4_B_1_1-plc_1_1 src-svn: 225 d2tools-svn: 3454

+D2Tech+ tone M24KEC4_B_1_1-tone_1_2 src-svn: 225 d2tools-svn: 3454

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+

+D2Tech+
vapp_sip_fsm.c 1156: RELEASE action!
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 4 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3565000 LastFreq=3595000 NextFreqStep=10000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
starting pid 1379, tty '/dev/ttyS1': '/bin/sh'
waiting the time msg!
||||||||||||||

BusyBox v1.12.1 (2011-07-15 09:54:18 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

-> fac Server start
wait...
start accept......
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### CONNMGR_NetworkSelectMethod, 481
### WIMAXMGR ### INFOMGR_SelectBS
### WIMAXMGR ### no BS in all frequency band
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3405000 LastFreq=3415000 NextFreqStep=10000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 0 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3402500 LastFreq=3417500 NextFreqStep=5000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
####-DHCPC-####-->:If timeout dropped to zero, time to become active.
####-DHCPC-####-->:switch (state)  ====state = 0
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 1 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3462500 LastFreq=3517500 NextFreqStep=5000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
####-DHCPC-####-->:If timeout dropped to zero, time to become active.
####-DHCPC-####-->:switch (state)  ====state = 0
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 2 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3465000 LastFreq=3515000 NextFreqStep=10000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
####-DHCPC-####-->:If timeout dropped to zero, time to become active.
####-DHCPC-####-->:switch (state)  ====state = 0
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 3 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3562500 LastFreq=3597500 NextFreqStep=5000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
####-DHCPC-####-->:If timeout dropped to zero, time to become active.
####-DHCPC-####-->:switch (state)  ====state = 0
####-DHCPC-####-->:dhcpc......leasefail.
udhcp_run_script client_config.interface=veth0, client_config.script=/sbin/udhcpc.sh
dhcpc leasefail
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 4 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3565000 LastFreq=3595000 NextFreqStep=10000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### CONNMGR_NetworkSelectMethod, 481
### WIMAXMGR ### INFOMGR_SelectBS
### WIMAXMGR ### no BS in all frequency band
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3405000 LastFreq=3415000 NextFreqStep=10000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 0 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3402500 LastFreq=3417500 NextFreqStep=5000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 1 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3462500 LastFreq=3517500 NextFreqStep=5000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 2 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3465000 LastFreq=3515000 NextFreqStep=10000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 3 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3562500 LastFreq=3597500 NextFreqStep=5000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
####-DHCPC-####-->:If timeout dropped to zero, time to become active.
####-DHCPC-####-->:switch (state)  ====state = 0
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 4 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3565000 LastFreq=3595000 NextFreqStep=10000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
####-DHCPC-####-->:If timeout dropped to zero, time to become active.
####-DHCPC-####-->:switch (state)  ====state = 0
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### CONNMGR_NetworkSelectMethod, 481
### WIMAXMGR ### INFOMGR_SelectBS
### WIMAXMGR ### no BS in all frequency band
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3405000 LastFreq=3415000 NextFreqStep=10000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
####-DHCPC-####-->:If timeout dropped to zero, time to become active.
####-DHCPC-####-->:switch (state)  ====state = 0
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 0 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT
### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3402500 LastFreq=3417500 NextFreqStep=5000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
####-DHCPC-####-->:If timeout dropped to zero, time to become active.
####-DHCPC-####-->:switch (state)  ====state = 0
####-DHCPC-####-->:dhcpc......leasefail.
udhcp_run_script client_config.interface=veth0, client_config.script=/sbin/udhcpc.sh
dhcpc leasefail
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
### WIMAXMGR ### INFOMGR_Update_BSInfo:num_of_bs=0
### WIMAXMGR ### INFOMGR_Update_BSInfo: no bs searched!
### WIMAXMGR ### Frequency Band 1 scan complete!
### WIMAXMGR ### ***************SM_STATUS_INIT

-> ### WIMAXMGR ### SEARCH NEW BS
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, 106
### WIMAXMGR ### Before enter if ,g_sys_info.ScanFreqMode = 0
### WIMAXMGR ### g_sys_info.ChannelPlanNum = 6
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, g_sys_info.BandwidthList.NumOfBwsToScan = 2
### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW0=5000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, BW1=10000
 ### WIMAXMGR ### CONNMGR_NetworkSearchRequest, FirstFreq=3462500 LastFreq=3517500 NextFreqStep=5000 ### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1097, result=0
### WIMAXMGR ### CONNMGR_SendWiMAXMessage, 1101, SendWiMAXMessage SUCCESS
### WIMAXMGR ### SearchResponse: SUCCESS
### WIMAXMGR ### ***************SM_STATUS_WAITSCAN_PART
-> wifi_unload.sh
####-DHCPC-####-->:errno == EINTR..continue.
####-DHCPC-####-->:Main event loop. select() waits on signal pipe and possibly on sockfd.
####-DHCPC-####-->:Waiting on select...
####-DHCPC-####-->:If timeout dropped to zero, time to become active.
Received SIGTERM
br0: port 2(eth2) entering disabled state
br0: port 1(ra0) entering disabled state
device eth2 left promiscuous mode
br0: port 2(eth2) entering disabled state
device ra0 left promiscuous mode
br0: port 1(ra0) entering disabled state
ra2880stop()...Done
Free TX/RX Ring Memory!
GDMA1_MAC_ADRH -- : 0x0000021e
GDMA1_MAC_ADRL -- : 0x73830b61

phy_tx_ring0 = 01af1000, tx_ring0 = a1af1000, size: 16 bytes

phy_tx_ring1 = 01b11000, tx_ring1 = a1b11000, size: 16 bytes

phy_tx_ring2 = 01b57000, tx_ring2 = a1b57000, size: 16 bytes

phy_tx_ring3 = 01b54000, tx_ring3 = a1b54000, size: 16 bytes

phy_rx_ring = 0x009b3000, rx_ring = 0xa09b3000
CDMA_CSG_CFG = 81000000
GDMA1_FWD_CFG = 10000
->

Cuando iniciamos por el puerto serie, hay una serie de mensajes repetitivos sobre wimax intentando conectar, para parar wimax y poder trabajar cómodamente en la consola, ponemos:

Código: [Seleccionar]
wifi_unload.sh
Así paramos el wifi, el router se encuentra en 192.168.0.1

Comandos:

Código: [Seleccionar]
->
BeceemWiMaxApp       halt                 pppoe.sh
RemoteProxy.cfg      ifconfig             pptp
TestBeceemCalAPI     igmpproxy            pptp.sh
VPN                  igmpproxy.sh         ps
[                    inadyn               qos_run
[[                   init                 radvd
ash                  insmod               ralink_init
ated                 internet.sh          reboot
automount.sh         ip                   reg
awk                  ipaddr               ripd
brctl                iplink               rm
busybox              iproute              rmmod
cal_tgtxvi020        iprule               route
cat                  iptables             rpcapd
cfg                  iptunnel             rt2860apd
chat                 iwconfig             sed
chkSvr               iwevent              sh
chmod                iwgetid              sigmon
chpasswd             iwlist               sleep
chpasswd.sh          iwpriv               statedect
close                iwspy                switch
comgt                kill                 sync
config-3g-ppp.sh     killall              syslogd
config-dns.sh        klogd                tc
config-igmpproxy.sh  l2tp-control         tcpdump
config-l2tp.sh       l2tp.sh              telnetd
config-pppoe.sh      l2tpd                test
config-pptp.sh       lan.sh               tftp
config-udhcpd.sh     lld2d                tftp_ftp_up
config-vlan.sh       logger               tftpd
config.sh            login                timectrl
cp                   logread              top
d2restart.sh         ls                   touch
d2start.sh           lsmod                tr
date                 macgo                udhcpc
ddns.sh              mii_mgr              udhcpc.sh
dnsmasq              mkdir                udhcpc_vpn.sh
echo                 mkfs.jffs            udhcpd
egrep                mkfs.jffs2           uimlock
erase                mknod                upnp_xml.sh
eraseall             mount                upnpd
ethtool              msntp                uptime
expr                 mtd_write            vapp
facSvr               mv                   vconfig
firewall.sh          nat.sh               vi
flash                net2tty_dload.sh     vpn-passthru.sh
free                 net2tty_qxdm.sh      wan.sh
ftpget               ntp.sh               wdashn
ftpput               ntpclient            wdhcpc
global.sh            nvram_daemon         wifi_unload.sh
goahead              nvram_get            wimax_pc
gpio                 nvram_set            wimaxmgr
gpiotest             openssl              wscd
greenap.sh           ping                 zebra
grep                 poweroff             zte_wlan.sh
Código: [Seleccionar]
-> help

Built-in commands:
-------------------
        . : break cd chdir continue eval exec exit export false hash
        help local pwd read readonly return set shift source times trap
        true type ulimit umask unset wait


Cpuinfo:

Código: [Seleccionar]
-> cat /proc/cpuinfo
system type             : Ralink SoC
processor               : 0
cpu model               : MIPS 24K V4.12
BogoMIPS                : 255.48
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes
ASEs implemented        : mips16 dsp
VCED exceptions         : not available
VCEI exceptions         : not available


/dev/

Código: [Seleccionar]
-> ls /dev/
video0     ttyS0      ram0       mtdblock6  mtd5ro     mtd1       flash1
urandom    tarang     ram        mtdblock5  mtd5       mtd0ro     flash0
ttyp1      swnat0     ptyp1      mtdblock4  mtd4ro     mtd0       console
ttyp0      spiS0      ptyp0      mtdblock3  mtd4       mem        acl0
ttyUSB3    rdm0       pts        mtdblock2  mtd3ro     kmem       ac0
ttyUSB2    random     ptmx       mtdblock1  mtd3       i2cM0      PCM
ttyUSB1    ram3       ppp        mtdblock0  mtd2ro     hwnat0     I2S
ttyUSB0    ram2       null       mtd6ro     mtd2       gpio
ttyS1      ram1       mtr0       mtd6       mtd1ro     flash2


Particiones de la flash:
Código: [Seleccionar]
-> cat /proc/partitions
major minor  #blocks  name

  31     0        256 mtdblock0
  31     1        128 mtdblock1
  31     2        128 mtdblock2
  31     3       1280 mtdblock3
  31     4       6144 mtdblock4
  31     5       1024 mtdblock5
  31     6       7424 mtdblock6


Código: [Seleccionar]
-> cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00020000 "Bootloader"
mtd1: 00020000 00020000 "Config"
mtd2: 00020000 00020000 "Factory"
mtd3: 00140000 00020000 "Kernel"
mtd4: 00600000 00020000 "RootFS"
mtd5: 00100000 00020000 "Jffs2"
mtd6: 00740000 00020000 "back"

Otras cosas que pueden ser de interés:

Código: [Seleccionar]
-> cat /proc/iomem
00000000-01ffffff : System RAM
  00000000-00315ccb : Kernel code
  00315ccc-003b80bf : Kernel data
101c0000-101fffff : lm0


-> cat /proc/ioports
b0000500-b000051f : serial
b0000c00-b0000c1f : serial


-> cat /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
 10 misc
 13 input
 21 sg
 90 mtd
108 ppp
128 ptm
136 pts
180 usb
188 ttyUSB
189 usb_device
200 flash0
217 spiS0
250 d2vtspr
251 tarang
252 gpio
253 usb_endpoint
254 rdm0

Block devices:
  7 loop
 31 mtdblock

-> cat /proc/interrupts
           CPU0      
  3:        243       Surfboard  eth2
  5:     204650       Surfboard  timer
  6:          0       Surfboard  ralink_gpio
  7:     155064       Surfboard  Ralink_DMA
 11:          0       Surfboard  Ralink_ESW
 12:       6348       Surfboard  serial
 18:    6598439       Surfboard  dwc_otg, dwc_otg_hcd:usb1

ERR:          0


Como vemos en los comandos, hay uno que nos irá de perlas para el backup de la flash: ftpput

Para ello, montamos un servidor ftp en nuestro ordenador local, por ejemplo en: 192.168.0.10 y hacemos el backup de la flash de la siguiente forma:

Código: [Seleccionar]
ftpput 192.168.0.10 mtdblock0 /dev/mtdblock0 -u USER -p PASS
ftpput 192.168.0.10 mtdblock1 /dev/mtdblock1 -u USER -p PASS
ftpput 192.168.0.10 mtdblock2 /dev/mtdblock2 -u USER -p PASS
ftpput 192.168.0.10 mtdblock3 /dev/mtdblock3 -u USER -p PASS
ftpput 192.168.0.10 mtdblock4 /dev/mtdblock4 -u USER -p PASS
ftpput 192.168.0.10 mtdblock5 /dev/mtdblock5 -u USER -p PASS
ftpput 192.168.0.10 mtdblock6 /dev/mtdblock6 -u USER -p PASS

Donde USER y PASS son los usuarios para ftp. Tambien se puede hacer de forma anonima, en este caso no pondremos los parámetros -u y -p

Para obtener las contraseñas del wifi y la web:
Código: [Seleccionar]
cat /etc_rw/param/inic_param



Es el primer router al que le pongo OpenWrt sin estar soportado oficialmente, así que seguramente habrá muchas cosas que pulir  ^-^


continuará.


« Última modificación: 13-02-2015, 14:12 (Viernes) por mekkon »

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #1 en: 13-02-2015, 11:20 (Viernes) »
Dejo unas cuantas fotillos más:





Wimax:





Editado por jar229 para redimensionar las imágenes (descuadraban totalmente el hilo).
« Última modificación: 13-02-2015, 12:58 (Viernes) por jar229 »

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #2 en: 13-02-2015, 11:24 (Viernes) »
Y este es el log de arranque de la primera versión de openwrt funcionando en este router, esta basado en Barrier Breaker:

Código: [Seleccionar]
[    0.000000] Linux version 3.10.69 (xonom@xonom) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44382) ) #5 Thu Feb 12 21:20:34 CET 2015
[    0.000000] SoC Type: Ralink RT3052 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is ZTE IX350
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80292a10, node_mem_map 81003260
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=0000000c
[    0.000000] Readback ErrCtl register=0000000c
[    0.000000] Memory: 29360k/32768k available (2173k kernel code, 3408k reserved, 546k data, 156k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 384MHz
[    0.070000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.070000] pid_max: default: 4096 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] pinctrl core: initialized pinctrl subsystem
[    0.090000] NET: Registered protocol family 16
[    0.100000] rt2880-pinmux pinctrl.1: try to register 52 pins ...
[    0.100000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 28 (io28) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 29 (io29) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 30 (io30) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 31 (io31) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 32 (io32) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 33 (io33) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 34 (io34) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 35 (io35) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 36 (io36) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 37 (io37) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 38 (io38) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 39 (io39) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 40 (io40) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 41 (io41) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 42 (io42) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 43 (io43) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 44 (io44) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 45 (io45) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 46 (io46) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 47 (io47) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 48 (io48) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 49 (io49) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 50 (io50) on rt2880-pinmux
[    0.100000] pinctrl core: registered pin 51 (io51) on rt2880-pinmux
[    0.100000] pinctrl core: add 7 pinmux maps
[    0.100000] rt2880-pinmux pinctrl.1: found group selector 7 for sdram
[    0.100000] rt2880-pinmux pinctrl.1: found group selector 1 for spi
[    0.100000] rt2880-pinmux pinctrl.1: found group selector 0 for i2c
[    0.100000] rt2880-pinmux pinctrl.1: found group selector 4 for jtag
[    0.100000] rt2880-pinmux pinctrl.1: found group selector 6 for rgmii
[    0.100000] rt2880-pinmux pinctrl.1: found group selector 5 for mdio
[    0.100000] rt2880-pinmux pinctrl.1: found group selector 2 for uartf
[    0.100000] rt2880-pinmux pinctrl.1: request pin 24 (io24) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 25 (io25) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 26 (io26) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 27 (io27) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 28 (io28) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 29 (io29) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 30 (io30) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 31 (io31) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 32 (io32) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 33 (io33) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 34 (io34) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 35 (io35) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 36 (io36) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 37 (io37) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 38 (io38) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 39 (io39) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 3 (io3) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 4 (io4) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 5 (io5) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 6 (io6) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 1 (io1) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 2 (io2) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 17 (io17) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 18 (io18) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 19 (io19) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 20 (io20) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 21 (io21) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 40 (io40) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 41 (io41) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 42 (io42) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 43 (io43) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 44 (io44) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 45 (io45) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 46 (io46) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 47 (io47) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 48 (io48) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 49 (io49) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 50 (io50) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 51 (io51) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 22 (io22) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 23 (io23) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 7 (io7) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 8 (io8) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 9 (io9) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 10 (io10) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 11 (io11) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 12 (io12) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 13 (io13) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: request pin 14 (io14) for pinctrl.1
[    0.100000] rt2880-pinmux pinctrl.1: failed to lookup the sleep state
[    0.130000] bio: create slab <bio-0> at 0
[    0.130000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.140000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.150000] Switching to clocksource MIPS
[    0.160000] NET: Registered protocol family 2
[    0.160000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.170000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.170000] TCP: Hash tables configured (established 512 bind 512)
[    0.180000] TCP: reno registered
[    0.180000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.190000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.190000] NET: Registered protocol family 1
[    0.200000] rt-timer 10000100.timer: maximum frequncy is 7812Hz
[    0.210000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[    0.210000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.220000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.230000] msgmni has been set to 57
[    0.230000] io scheduler noop registered
[    0.240000] io scheduler deadline registered (default)
[    0.240000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.250000] serial8250 serial8250: no of_node; not parsing pinctrl DT
[    0.250000] pinctrl core: add 1 pinmux maps
[    0.250000] rt2880-pinmux pinctrl.1: found group selector 3 for uartlite
[    0.250000] rt2880-pinmux pinctrl.1: request pin 15 (io15) for 10000c00.uartlite
[    0.250000] rt2880-pinmux pinctrl.1: request pin 16 (io16) for 10000c00.uartlite
[    0.250000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.260000] console [ttyS0] enabled, bootconsole disabled
[    0.280000] 1f000000.cfi: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.290000] NOR chip too large to fit in mapping. Attempting to cope...
[    0.290000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.300000]   Amd/Fujitsu Extended Query version 1.3.
[    0.300000] number of CFI chips: 1
[    0.310000] Reducing visibility of 16384KiB chip to 8192KiB
[    0.310000] 4 ofpart partitions found on MTD device 1f000000.cfi
[    0.320000] Creating 4 MTD partitions on "1f000000.cfi":
[    0.330000] 0x000000000000-0x000000040000 : "u-boot"
[    0.330000] 0x000000040000-0x000000060000 : "u-boot-env"
[    0.340000] 0x000000060000-0x000000080000 : "factory"
[    0.350000] 0x000000080000-0x000001000000 : "firmware"
[    0.360000] mtd: partition "firmware" extends beyond the end of device "1f000000.cfi" -- size truncated to 0x780000
[    0.370000] 0x0000001759cc-0x000000800000 : "rootfs"
[    0.380000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.390000] mtd: device 4 (rootfs) set to be root filesystem
[    0.400000] mtd: partition "rootfs_data" created automatically, ofs=0x640000, len=0x1c0000
[    0.410000] 0x000000640000-0x000000800000 : "rootfs_data"
[    0.420000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    0.430000] rt2880_wdt 10000120.watchdog: Initialized
[    0.440000] zram: Created 1 device(s) ...
[    0.450000] TCP: cubic registered
[    0.450000] NET: Registered protocol family 17
[    0.450000] 8021q: 802.1Q VLAN Support v1.8
[    0.470000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.480000] Freeing unused kernel memory: 156K (802a9000 - 802d0000)
[    3.390000] usbcore: registered new interface driver usbfs
[    3.400000] usbcore: registered new interface driver hub
[    3.400000] usbcore: registered new device driver usb
[    3.470000] SCSI subsystem initialized
[    3.490000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.490000] ehci-platform: EHCI generic platform driver
[    3.500000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.520000] dwc_otg: version 2.72a 24-JUN-2008
[    3.530000] dwc_otg: Core Release: 2.66a
[    3.730000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[    3.740000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[    3.740000] dwc_otg: Using DMA mode
[    3.750000] dwc_otg: Device using Buffer DMA mode
[    3.750000] dwc_otg 101c0000.otg: DWC OTG Controller
[    3.760000] dwc_otg 101c0000.otg: new USB bus registered, assigned bus number 1
[    3.760000] dwc_otg 101c0000.otg: irq 26, io mem 0x101c0000
[    3.770000] dwc_otg: Init: Port Power? op_state=1
[    3.770000] dwc_otg: Init: Power Port (0)
[    3.780000] usb usb1: no of_node; not parsing pinctrl DT
[    3.780000] hub 1-0:1.0: no of_node; not parsing pinctrl DT
[    3.780000] hub 1-0:1.0: USB hub found
[    3.780000] hub 1-0:1.0: 1 port detected
[    3.800000] usbcore: registered new interface driver usb-storage
[    4.400000] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    5.020000] usb 1-1: no of_node; not parsing pinctrl DT
[    5.030000] 8021q: adding VLAN 0 to HW filter on device eth0
[    8.710000] jffs2: notice: (241) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and
22 of xref (0 dead, 3 orphan) found.
[    8.750000] jffs2: notice: (238) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and
22 of xref (0 dead, 3 orphan) found.
[   12.380000] NET: Registered protocol family 10
[   12.420000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   12.470000] nf_conntrack version 0.5.0 (461 buckets, 1844 max)
[   12.490000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.550000] u32 classifier
[   12.550000]     input device check on
[   12.560000]     Actions configured
[   12.580000] Mirror/redirect action on
[   12.620000] Loading modules backported from Linux version master-2014-11-04-0-gf3660a2
[   12.620000] Backport generated by backports.git backports-20141023-2-g4ff890b
[   12.640000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.730000] usbcore: registered new interface driver usblp
[   12.850000] xt_time: kernel timezone is -0000
[   12.910000] cfg80211: Calling CRDA to update world regulatory domain
[   12.920000] cfg80211: World regulatory domain updated:
[   12.920000] cfg80211:  DFS Master region: unset
[   12.930000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   12.940000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   12.940000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   12.950000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   12.960000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   12.970000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   12.980000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   12.990000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   12.990000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   13.110000] PPP generic driver version 2.4.2
[   13.120000] NET: Registered protocol family 24
[   13.180000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2872, rev 0200 detected
[   13.190000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[   13.200000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   24.980000] 8021q: adding VLAN 0 to HW filter on device eth0
[   25.010000] device eth0.1 entered promiscuous mode
[   25.010000] device eth0 entered promiscuous mode
[   25.030000] br-lan: port 1(eth0.1) entered forwarding state
[   25.030000] br-lan: port 1(eth0.1) entered forwarding state
[   27.030000] br-lan: port 1(eth0.1) entered forwarding state
[   51.050000] rt305x-esw 10110000.esw: link changed 0x00
[   53.610000] rt305x-esw 10110000.esw: link changed 0x01
[   54.260000] rt305x-esw 10110000.esw: link changed 0x00
[   61.920000] rt305x-esw 10110000.esw: link changed 0x01
[   62.590000] rt305x-esw 10110000.esw: link changed 0x00
[   64.270000] rt305x-esw 10110000.esw: link changed 0x01
[  110.140000] rt305x-esw 10110000.esw: link changed 0x00
[  113.690000] rt305x-esw 10110000.esw: link changed 0x01
[  123.180000] rt305x-esw 10110000.esw: link changed 0x00
[  123.220000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  123.240000] device wlan0 entered promiscuous mode
[  123.310000] br-lan: port 2(wlan0) entered forwarding state
[  123.310000] br-lan: port 2(wlan0) entered forwarding state
[  123.320000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  124.780000] rt305x-esw 10110000.esw: link changed 0x01
[  125.310000] br-lan: port 2(wlan0) entered forwarding state
[  134.540000] rt305x-esw 10110000.esw: link changed 0x00

Código: [Seleccionar]
Thu Feb 12 20:48:59 2015 kern.info kernel: [    4.400000] usb 1-1: new high-speed USB device number 2 using dwc_otg
Thu Feb 12 20:48:59 2015 kern.debug kernel: [    5.020000] usb 1-1: no of_node; not parsing pinctrl DT
Thu Feb 12 20:48:59 2015 kern.info kernel: [    5.030000] 8021q: adding VLAN 0 to HW filter on device eth0
Thu Feb 12 20:48:59 2015 kern.notice kernel: [    8.710000] jffs2: notice: (241) jffs2_build_xattr_subsystem: complete building xattr
subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 22 of xref (0 dead, 3 orphan) found.
Thu Feb 12 20:48:59 2015 kern.notice kernel: [    8.750000] jffs2: notice: (238) jffs2_build_xattr_subsystem: complete building xattr
subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 22 of xref (0 dead, 3 orphan) found.
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.380000] NET: Registered protocol family 10
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.420000] NTFS driver 2.1.30 [Flags: R/O MODULE].
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.470000] nf_conntrack version 0.5.0 (461 buckets, 1844 max)
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.490000] ip6_tables: (C) 2000-2006 Netfilter Core Team
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.550000] u32 classifier
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.550000]     input device check on
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.560000]     Actions configured
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.580000] Mirror/redirect action on
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.620000] Loading modules backported from Linux version master-2014-11-04-0-gf3660a2
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.620000] Backport generated by backports.git backports-20141023-2-g4ff890b
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.640000] ip_tables: (C) 2000-2006 Netfilter Core Team
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.730000] usbcore: registered new interface driver usblp
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.850000] xt_time: kernel timezone is -0000
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.910000] cfg80211: Calling CRDA to update world regulatory domain
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.920000] cfg80211: World regulatory domain updated:
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.920000] cfg80211:  DFS Master region: unset
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.930000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.940000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.940000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.950000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.960000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.970000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.980000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.990000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Thu Feb 12 20:48:59 2015 kern.info kernel: [   12.990000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Thu Feb 12 20:48:59 2015 kern.info kernel: [   13.110000] PPP generic driver version 2.4.2
Thu Feb 12 20:48:59 2015 kern.info kernel: [   13.120000] NET: Registered protocol family 24
Thu Feb 12 20:48:59 2015 kern.info kernel: [   13.180000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2872, rev 0200 detected
Thu Feb 12 20:48:59 2015 kern.info kernel: [   13.190000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
Thu Feb 12 20:48:59 2015 kern.debug kernel: [   13.200000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Thu Feb 12 20:49:02 2015 user.emerg syslog: this file has been obseleted. please call "/sbin/block mount" directly
Thu Feb 12 20:49:02 2015 user.err syslog: /dev/mtdblock5 is already mounted
Thu Feb 12 20:49:02 2015 user.emerg syslog: block: /dev/mtdblock5 is already mounted
Thu Feb 12 20:49:04 2015 authpriv.info dropbear[822]: Not backgrounding
Thu Feb 12 20:49:06 2015 user.info syslog: module is already loaded - xt_multiport
Thu Feb 12 20:49:06 2015 kern.emerg already loaded - xt_multiport
Thu Feb 12 20:49:06 2015 user.info syslog: module is already loaded - xt_comment
Thu Feb 12 20:49:06 2015 kern.emerg already loaded - xt_comment
Thu Feb 12 20:49:06 2015 user.info syslog: module is already loaded - xt_length
Thu Feb 12 20:49:06 2015 kern.emerg already loaded - xt_length
Thu Feb 12 20:49:07 2015 kern.info kernel: [   24.980000] 8021q: adding VLAN 0 to HW filter on device eth0
Thu Feb 12 20:49:07 2015 kern.info kernel: [   25.010000] device eth0.1 entered promiscuous mode
Thu Feb 12 20:49:07 2015 kern.info kernel: [   25.010000] device eth0 entered promiscuous mode
Thu Feb 12 20:49:07 2015 kern.info kernel: [   25.030000] br-lan: port 1(eth0.1) entered forwarding state
Thu Feb 12 20:49:07 2015 kern.info kernel: [   25.030000] br-lan: port 1(eth0.1) entered forwarding state
Thu Feb 12 20:49:07 2015 daemon.notice netifd: Interface 'lan' is enabled
Thu Feb 12 20:49:07 2015 daemon.notice netifd: Interface 'lan' is setting up now
Thu Feb 12 20:49:07 2015 daemon.notice netifd: Interface 'lan' is now up
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Interface 'loopback' is enabled
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Interface 'loopback' is setting up now
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Interface 'loopback' is now up
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Interface 'wan' is enabled
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Network device 'eth0' link is up
Thu Feb 12 20:49:08 2015 daemon.notice netifd: VLAN 'eth0.2' link is up
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Interface 'wan' has link connectivity
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Interface 'wan' is setting up now
Thu Feb 12 20:49:08 2015 daemon.notice netifd: VLAN 'eth0.1' link is up
Thu Feb 12 20:49:08 2015 daemon.notice netifd: VLAN 'eth0.1' link is down
Thu Feb 12 20:49:08 2015 daemon.notice netifd: VLAN 'eth0.1' link is up
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Bridge 'br-lan' link is up
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Interface 'lan' has link connectivity
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Network device 'lo' link is up
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Interface 'loopback' has link connectivity
Thu Feb 12 20:49:08 2015 daemon.notice netifd: VLAN 'eth0.2' link is down
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Interface 'wan' has link connectivity loss
Thu Feb 12 20:49:08 2015 daemon.notice netifd: VLAN 'eth0.2' link is up
Thu Feb 12 20:49:08 2015 daemon.notice netifd: Interface 'wan' has link connectivity
Thu Feb 12 20:49:09 2015 daemon.notice netifd: wan (982): udhcpc (v1.22.1) started
Thu Feb 12 20:49:09 2015 daemon.notice netifd: radio0 (941): command failed: Numerical result out of range (-34)
Thu Feb 12 20:49:09 2015 daemon.notice netifd: wan (982): Sending discover...
Thu Feb 12 20:49:09 2015 kern.info kernel: [   27.030000] br-lan: port 1(eth0.1) entered forwarding state
Thu Feb 12 20:49:10 2015 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Thu Feb 12 20:49:10 2015 user.info syslog: module is already loaded - xt_multiport
Thu Feb 12 20:49:10 2015 kern.emerg already loaded - xt_multiport
Thu Feb 12 20:49:10 2015 user.info syslog: module is already loaded - xt_comment
Thu Feb 12 20:49:10 2015 kern.emerg already loaded - xt_comment
Thu Feb 12 20:49:10 2015 user.info syslog: module is already loaded - xt_length
Thu Feb 12 20:49:10 2015 kern.emerg already loaded - xt_length
Thu Feb 12 20:49:12 2015 daemon.notice netifd: wan (982): Sending discover...
Thu Feb 12 20:49:16 2015 daemon.notice netifd: wan (982): Sending discover...
Thu Feb 12 20:49:17 2015 daemon.info dnsmasq[1240]: started, version 2.71 cachesize 150
Thu Feb 12 20:49:17 2015 daemon.info dnsmasq[1240]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6
 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC
Thu Feb 12 20:49:17 2015 daemon.info dnsmasq-dhcp[1240]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Thu Feb 12 20:49:17 2015 daemon.info dnsmasq[1240]: using local addresses only for domain lan
Thu Feb 12 20:49:17 2015 daemon.warn dnsmasq[1240]: no servers found in /tmp/resolv.conf.auto, will retry
Thu Feb 12 20:49:17 2015 daemon.info dnsmasq[1240]: read /etc/hosts - 1 addresses
Thu Feb 12 20:49:17 2015 daemon.info dnsmasq[1240]: read /tmp/hosts/dhcp - 1 addresses
Thu Feb 12 20:49:17 2015 daemon.info dnsmasq-dhcp[1240]: read /etc/ethers - 0 addresses
Thu Feb 12 20:49:18 2015 user.emerg syslog: configfile: stat (/etc/collectd/conf.d) failed: No such file or directory
Thu Feb 12 20:49:18 2015 user.emerg syslog: Could not find plugin iptables.
Thu Feb 12 20:49:18 2015 user.emerg syslog: Could not find plugin tcpconns.
Thu Feb 12 20:49:18 2015 user.emerg syslog: Found a configuration for the `tcpconns' plugin, but the plugin isn't loaded or didn't register
a configuration callback.
Thu Feb 12 20:49:18 2015 user.emerg syslog: Found a configuration for the `tcpconns' plugin, but the plugin isn't loaded or didn't register
a configuration callback.
Thu Feb 12 20:49:18 2015 user.emerg syslog: Found a configuration for the `tcpconns' plugin, but the plugin isn't loaded or didn't register
a configuration callback.
Thu Feb 12 20:49:18 2015 user.emerg syslog: Could not find plugin conntrack.
Thu Feb 12 20:49:19 2015 user.emerg syslog: rrdtool plugin: RRASingle = true: creating only AVERAGE RRAs
Thu Feb 12 20:49:19 2015 user.notice upnp daemon: external interface not found, not starting
Thu Feb 12 20:49:19 2015 user.emerg syslog: Could not find plugin processes.
Thu Feb 12 20:49:19 2015 user.emerg syslog: Found a configuration for the `processes' plugin, but the plugin isn't loaded or didn't register
a configuration callback.
Thu Feb 12 20:49:19 2015 user.emerg syslog: Found a configuration for the `processes' plugin, but the plugin isn't loaded or didn't register
a configuration callback.
Thu Feb 12 20:49:19 2015 user.emerg syslog: Found a configuration for the `processes' plugin, but the plugin isn't loaded or didn't register
a configuration callback.
Thu Feb 12 20:49:19 2015 user.emerg syslog: Could not find plugin olsrd.
Thu Feb 12 20:49:19 2015 user.emerg syslog: Found a configuration for the `olsrd' plugin, but the plugin isn't loaded or didn't register a
configuration callback.
Thu Feb 12 20:49:19 2015 user.emerg syslog: Found a configuration for the `olsrd' plugin, but the plugin isn't loaded or didn't register a
configuration callback.
Thu Feb 12 20:49:19 2015 user.emerg syslog: Could not find plugin memory.
Thu Feb 12 20:49:19 2015 user.emerg syslog: Could not find plugin uptime.
Thu Feb 12 20:49:19 2015 user.emerg syslog: Could not find plugin cpu.
Thu Feb 12 20:49:20 2015 daemon.info dnsmasq-dhcp[1240]: DHCPDISCOVER(br-lan) c8:60:00:5f:c4:af
Thu Feb 12 20:49:20 2015 daemon.info dnsmasq-dhcp[1240]: DHCPOFFER(br-lan) 192.168.1.241 c8:60:00:5f:c4:af
Thu Feb 12 20:49:20 2015 daemon.info dnsmasq-dhcp[1240]: DHCPREQUEST(br-lan) 192.168.1.241 c8:60:00:5f:c4:af
Thu Feb 12 20:49:20 2015 daemon.info dnsmasq-dhcp[1240]: DHCPACK(br-lan) 192.168.1.241 c8:60:00:5f:c4:af xonom
Thu Feb 12 20:49:21 2015 user.emerg syslog: - init complete -
Thu Feb 12 20:49:33 2015 kern.info kernel: [   51.050000] rt305x-esw 10110000.esw: link changed 0x00
Thu Feb 12 20:49:36 2015 kern.info kernel: [   53.610000] rt305x-esw 10110000.esw: link changed 0x01
Thu Feb 12 20:49:37 2015 kern.info kernel: [   54.260000] rt305x-esw 10110000.esw: link changed 0x00
Thu Feb 12 20:49:44 2015 kern.info kernel: [   61.920000] rt305x-esw 10110000.esw: link changed 0x01
Thu Feb 12 20:49:44 2015 daemon.info dnsmasq-dhcp[1240]: DHCPREQUEST(br-lan) 192.168.1.241 c8:60:00:5f:c4:af
Thu Feb 12 20:49:44 2015 daemon.info dnsmasq-dhcp[1240]: DHCPACK(br-lan) 192.168.1.241 c8:60:00:5f:c4:af xonom
Thu Feb 12 20:49:45 2015 kern.info kernel: [   62.590000] rt305x-esw 10110000.esw: link changed 0x00
Thu Feb 12 20:49:47 2015 kern.info kernel: [   64.270000] rt305x-esw 10110000.esw: link changed 0x01
Thu Feb 12 20:49:51 2015 daemon.info dnsmasq-dhcp[1240]: DHCPREQUEST(br-lan) 192.168.1.241 c8:60:00:5f:c4:af
Thu Feb 12 20:49:51 2015 daemon.info dnsmasq-dhcp[1240]: DHCPACK(br-lan) 192.168.1.241 c8:60:00:5f:c4:af xonom
Thu Feb 12 20:49:52 2015 daemon.warn odhcpd[780]: DHCPV6 SOLICIT IA_NA from 0004e7031e8678f42081d085e44e6fd0daf6 on br-lan: ok fd51:c663:6ce5::879/128
Thu Feb 12 20:49:53 2015 daemon.info dnsmasq[1240]: read /etc/hosts - 1 addresses
Thu Feb 12 20:49:53 2015 daemon.info dnsmasq[1240]: read /tmp/hosts/odhcpd - 0 addresses
Thu Feb 12 20:49:53 2015 daemon.info dnsmasq[1240]: read /tmp/hosts/dhcp - 1 addresses
Thu Feb 12 20:49:53 2015 daemon.info dnsmasq-dhcp[1240]: read /etc/ethers - 0 addresses
Thu Feb 12 20:49:53 2015 daemon.warn odhcpd[780]: DHCPV6 REQUEST IA_NA from 0004e7031e8678f42081d085e44e6fd0daf6 on br-lan: ok fd51:c663:6ce5::879/128
Thu Feb 12 20:49:54 2015 daemon.info dnsmasq[1240]: read /etc/hosts - 1 addresses
Thu Feb 12 20:49:54 2015 daemon.info dnsmasq[1240]: read /tmp/hosts/odhcpd - 1 addresses
Thu Feb 12 20:49:54 2015 daemon.info dnsmasq[1240]: read /tmp/hosts/dhcp - 1 addresses
Thu Feb 12 20:49:54 2015 daemon.info dnsmasq-dhcp[1240]: read /etc/ethers - 0 addresses
Thu Feb 12 20:50:33 2015 kern.info kernel: [  110.140000] rt305x-esw 10110000.esw: link changed 0x00
Thu Feb 12 20:50:36 2015 kern.info kernel: [  113.690000] rt305x-esw 10110000.esw: link changed 0x01
Thu Feb 12 20:50:45 2015 daemon.notice netifd: radio0 (1776): command failed: Numerical result out of range (-34)
Thu Feb 12 20:50:46 2015 kern.info kernel: [  123.180000] rt305x-esw 10110000.esw: link changed 0x00
Thu Feb 12 20:50:46 2015 kern.info kernel: [  123.220000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Thu Feb 12 20:50:46 2015 kern.info kernel: [  123.240000] device wlan0 entered promiscuous mode
Thu Feb 12 20:50:46 2015 kern.info kernel: [  123.310000] br-lan: port 2(wlan0) entered forwarding state
Thu Feb 12 20:50:46 2015 kern.info kernel: [  123.310000] br-lan: port 2(wlan0) entered forwarding state
Thu Feb 12 20:50:46 2015 kern.info kernel: [  123.320000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Thu Feb 12 20:50:46 2015 daemon.notice netifd: Network device 'wlan0' link is up
Thu Feb 12 20:50:47 2015 kern.info kernel: [  124.780000] rt305x-esw 10110000.esw: link changed 0x01
Thu Feb 12 20:50:48 2015 kern.info kernel: [  125.310000] br-lan: port 2(wlan0) entered forwarding state
Thu Feb 12 20:50:57 2015 kern.info kernel: [  134.540000] rt305x-esw 10110000.esw: link changed 0x00
Thu Feb 12 20:51:43 2015 daemon.info hostapd: wlan0: STA 74:2f:68:4a:1e:22 IEEE 802.11: authenticated
Thu Feb 12 20:51:43 2015 daemon.info hostapd: wlan0: STA 74:2f:68:4a:1e:22 IEEE 802.11: associated (aid 1)
Thu Feb 12 20:51:46 2015 daemon.info dnsmasq-dhcp[1240]: DHCPDISCOVER(br-lan) 74:2f:68:4a:1e:22
Thu Feb 12 20:51:46 2015 daemon.info dnsmasq-dhcp[1240]: DHCPOFFER(br-lan) 192.168.1.206 74:2f:68:4a:1e:22
Thu Feb 12 20:51:46 2015 daemon.info dnsmasq-dhcp[1240]: DHCPREQUEST(br-lan) 192.168.1.206 74:2f:68:4a:1e:22
Thu Feb 12 20:51:46 2015 daemon.info dnsmasq-dhcp[1240]: DHCPACK(br-lan) 192.168.1.206 74:2f:68:4a:1e:22 xonom
Thu Feb 12 20:51:46 2015 daemon.warn odhcpd[780]: DHCPV6 SOLICIT IA_NA from 0004e7031e8678f42081d085e44e6fd0daf6 on br-lan:
ok fd51:c663:6ce5::226/128
Thu Feb 12 20:51:47 2015 daemon.warn odhcpd[780]: DHCPV6 SOLICIT IA_NA from 0004e7031e8678f42081d085e44e6fd0daf6 on br-lan:
ok fd51:c663:6ce5::226/128
Thu Feb 12 20:51:49 2015 daemon.warn odhcpd[780]: DHCPV6 SOLICIT IA_NA from 0004e7031e8678f42081d085e44e6fd0daf6 on br-lan:
ok fd51:c663:6ce5::226/128
Thu Feb 12 20:51:49 2015 daemon.warn odhcpd[780]: DHCPV6 REQUEST IA_NA from 0004e7031e8678f42081d085e44e6fd0daf6 on
br-lan: ok fd51:c663:6ce5::226/128
Thu Feb 12 20:51:49 2015 daemon.info dnsmasq[1240]: read /etc/hosts - 1 addresses
Thu Feb 12 20:51:49 2015 daemon.info dnsmasq[1240]: read /tmp/hosts/odhcpd - 2 addresses
Thu Feb 12 20:51:49 2015 daemon.info dnsmasq[1240]: read /tmp/hosts/dhcp - 1 addresses
Thu Feb 12 20:51:49 2015 daemon.info dnsmasq-dhcp[1240]: read /etc/ethers - 0 addresses
Thu Feb 12 21:48:13 2015 daemon.info hostapd: wlan0: STA 74:2f:68:4a:1e:22 IEEE 802.11: authenticated
Thu Feb 12 21:48:13 2015 daemon.info hostapd: wlan0: STA 74:2f:68:4a:1e:22 IEEE 802.11: associated (aid 1)
Thu Feb 12 21:48:13 2015 daemon.info dnsmasq-dhcp[1240]: DHCPREQUEST(br-lan) 192.168.1.206 74:2f:68:4a:1e:22
Thu Feb 12 21:48:13 2015 daemon.info dnsmasq-dhcp[1240]: DHCPACK(br-lan) 192.168.1.206 74:2f:68:4a:1e:22 xonom
Thu Feb 12 21:48:15 2015 daemon.warn odhcpd[780]: DHCPV6 CONFIRM IA_NA from 0004e7031e8678f42081d085e44e6fd0daf6 on
br-lan: not on-link fd51:c663:6ce5::226/128
Thu Feb 12 21:48:16 2015 daemon.warn odhcpd[780]: DHCPV6 CONFIRM IA_NA from 0004e7031e8678f42081d085e44e6fd0daf6 on
br-lan: not on-link fd51:c663:6ce5::226/128
Thu Feb 12 21:48:16 2015 daemon.warn odhcpd[780]: DHCPV6 SOLICIT IA_NA from 0004e7031e8678f42081d085e44e6fd0daf6 on br-lan:
ok fd51:c663:6ce5::226/128
Thu Feb 12 21:48:16 2015 daemon.info dnsmasq[1240]: read /etc/hosts - 1 addresses
Thu Feb 12 21:48:16 2015 daemon.info dnsmasq[1240]: read /tmp/hosts/odhcpd - 1 addresses
Thu Feb 12 21:48:16 2015 daemon.info dnsmasq[1240]: read /tmp/hosts/dhcp - 1 addresses
Thu Feb 12 21:48:16 2015 daemon.info dnsmasq-dhcp[1240]: read /etc/ethers - 0 addresses
Thu Feb 12 21:48:17 2015 daemon.warn odhcpd[780]: DHCPV6 REQUEST IA_NA from 0004e7031e8678f42081d085e44e6fd0daf6 on
br-lan: ok fd51:c663:6ce5::226/128
Thu Feb 12 21:48:18 2015 daemon.info dnsmasq[1240]: read /etc/hosts - 1 addresses
Thu Feb 12 21:48:18 2015 daemon.info dnsmasq[1240]: read /tmp/hosts/odhcpd - 2 addresses
Thu Feb 12 21:48:18 2015 daemon.info dnsmasq[1240]: read /tmp/hosts/dhcp - 1 addresses
Thu Feb 12 21:48:18 2015 daemon.info dnsmasq-dhcp[1240]: read /etc/ethers - 0 addresses

Hay varias cosas que aún quedán por arreglar, como el tamaño de la flash por ejemplo no está del todo correctamente al igual que algunas de las zonas donde apunta (las ganas por probar a ver que tal iba  ^-^), wifi y ethernet son funcionales.

Este es el dts que he creado para ello:

Código: [Seleccionar]
/dts-v1/;

/include/ "rt3050.dtsi"

/ {
compatible = "ZTE-IX350", "ralink,rt3050-soc";
model = "ZTE IX350";

chosen {
bootargs = "console=ttyS0,115200";
};

pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};

cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;

bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;

partition@0 {
label = "u-boot";
reg = <0x0 0x40000>;
read-only;
};

partition@30000 {
label = "u-boot-env";
reg = <0x40000 0x20000>;
read-only;
};

factory: partition@40000 {
label = "factory";
reg = <0x60000 0x20000>;
read-only;
};

partition@50000 {
label = "firmware";
reg = <0x80000 0xf80000>;
};
};

ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;
};

esw@10110000 {
ralink,portmap = <0x3f>;
};

wmac@10180000 {
ralink,mtd-eeprom = <&factory 0>;
};

otg@101c0000 {
status = "okay";
};

i2c-gpio {
compatible = "i2c-gpio";

gpios = <&gpio0 1 0 &gpio0 2 0>;
i2c-gpio,delay-us = <10>;
};
};

No pongo la imagen porque contiene varios fallos, y el dts ahora que lo veo con la cabeza más depejada tiene algunas cosillas que no están bien del todo.

Editado por Tki2000: He intentado cuadrar un poquito más el foro...
« Última modificación: 13-02-2015, 14:12 (Viernes) por Tki2000 »

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4585
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #3 en: 13-02-2015, 13:05 (Viernes) »
Felicidades por el trabajo, mekkon  >:( >:(

Le pongo chicheta y lo añado al recopilatorio [Índice] Hilos relevantes de OpenWrt
Valoraciones positivas en compra/venta:
129 en Htcmania
169 en Har2mano
20 en elchapuzasinformatico
11 en gsmspain
 ....
 
Mis equipos en venta: https://drive.google.com/open?id=1jkj-kzmCBVkVb3_at6sgKinmE7YdFeRi

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #4 en: 13-02-2015, 14:27 (Viernes) »
Felicidades por el trabajo, mekkon  >:( >:(

Le pongo chicheta y lo añado al recopilatorio [Índice] Hilos relevantes de OpenWrt

Genial, he corregido ya el tamaño de la flash y en el arranque ya no hace correcciones, nuevo dts:

Código: [Seleccionar]
/dts-v1/;

/include/ "rt3050.dtsi"

/ {
compatible = "ZTE-IX350", "ralink,rt3050-soc";
model = "ZTE IX350";

chosen {
bootargs = "console=ttyS0,115200";
};

pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};

cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x1000000>;

bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;

partition@0 {
label = "u-boot";
reg = <0x0 0x40000>;
read-only;
};

partition@40000 {
label = "u-boot-env";
reg = <0x40000 0x20000>;
read-only;
};

factory: partition@60000 {
label = "factory";
reg = <0x60000 0x20000>;
read-only;
};

partition@80000 {
label = "firmware";
reg = <0x80000 0xf80000>;
};
};

ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;
};

esw@10110000 {
ralink,portmap = <0x3f>;
};

wmac@10180000 {
ralink,mtd-eeprom = <&factory 0>;
};

otg@101c0000 {
status = "okay";
};

i2c-gpio {
compatible = "i2c-gpio";

gpios = <&gpio0 1 0 &gpio0 2 0>;
i2c-gpio,delay-us = <10>;
};
};

he modificado también estos ficheros para añadir soporte:

openwrt/target/linux/ramips/base-files/etc/uci-defaults/02_network
openwrt/target/linux/ramips/base-files/etc/lib/ramips.sh
openwrt/target/linux/ramips/base-files/etc/lib/upgrade/platform.sh
openwrt/target/linux/ramips/image/Makefile

Al intentar actualizar por luci, me dice que la imagen no es válida... si alguien sabe darme alguna idea del porqué, encantado ;)  de momento lo hago por uboot y tftp...

También hay un detalle interesante, wimax, he visto que hay soporte para "WiMAX devices based on Samsung CMC-730", pero para ¿BECEEM BCSM250-1?

Pteridium

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #5 en: 13-02-2015, 15:47 (Viernes) »
También hay un detalle interesante, wimax, he visto que hay soporte para "WiMAX devices based on Samsung CMC-730", pero para ¿BECEEM BCSM250-1?
Parece que el driver para ese chip está en el kernel
http://cateee.net/lkddb/web-lkddb/BCM_WIMAX.html
https://lists.debian.org/debian-user/2014/12/msg00402.html
Lo que me llama la atención es que el puerto usb del RT3052 no lo detecte en openwrt mientras que sí lo hace con el firm original; si lo detectara pondría en el bootlog que hay un dispositivo conectado. Prueba con el comando lsusb (depende de usbutils) a ver si dice algo más...

Por cierto, gran trabajo.  >:(

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #6 en: 13-02-2015, 17:15 (Viernes) »
lsusb:

Código: [Seleccionar]
root@OpenWrt:/# lsusb
Bus 001 Device 002: ID 19d2:0132
Bus 001 Device 001: ID 1d6b:0002

He añadido soporte wimax en el kernel, pero para la BCSM250 necesita tener activado Support for Host-side USB (por defecto esta marcado como M al igual que BCSM250), si no, no la detecta.

Si lo activo (con *) la detecta:

Código: [Seleccionar]
[    4.790000] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    5.370000] usb 1-1: no of_node; not parsing pinctrl DT
[    5.370000] usbbcm 1-1:1.0: no of_node; not parsing pinctrl DT
[    5.370000] usbbcm_device_probe:subtype[1] = 0x000000ff
[    5.380000] usbbcm_device_probe:subtype[2] = 0x00000000
[    5.380000] usbbcm_device_probe:subtype[4] = 0x00000000
[    5.390000] usbbcm_device_probe:subtype[8] = 0x00000000
[    5.400000] usb 1-1: RDM Chip ID 0xbece3301
[    5.410000] beceemUnable To Open File /lib/firmware/macxvi.cfg, err -2
[    5.410000] beceemInitCardAndDownloadFirmware failed.
[    5.510000] 8021q: adding VLAN 0 to HW filter on device eth0
[    9.010000] usb_common: exports duplicate symbol usb_otg_state_string (owned by kernel)
[    9.020000] nls_base: exports duplicate symbol load_nls (owned by kernel)
[    9.030000] usb_common: exports duplicate symbol usb_otg_state_string (owned by kernel)
[    9.040000] nls_base: exports duplicate symbol load_nls (owned by kernel)
[    9.050000] usb_common: exports duplicate symbol usb_otg_state_string (owned by kernel)

Como contrapartida, esta el detalle de los símbolos duplicados...  :-\

Al parecer, falta  /lib/firmware/macxvi.cfg

Por cierto, gran trabajo.  >:(

Gracias! aunque a decir verdad, confieso que no he picado una sola linea de código aún, con lo que no le veo mucho mérito, solo he montado el dts y la investigación previa para poder ponerle openWrt :)
« Última modificación: 13-02-2015, 17:18 (Viernes) por mekkon »

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #7 en: 13-02-2015, 17:39 (Viernes) »
Al parecer me faltan estos archivos:

macxvi.cfg y macxvi200.bin

que parece ser que son nonfree...

Desconectado Tki2000

  • Moderador
  • *
  • Mensajes: 1951
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #8 en: 13-02-2015, 18:07 (Viernes) »
Al parecer me faltan estos archivos:

macxvi.cfg y macxvi200.bin

que parece ser que son nonfree...

Openwrt Merlin parece que los tenía: https://github.com/RMerl/asuswrt-merlin/tree/master/release/src/router/Beceem_BCMS250_arm/prebuild/rom/Beceem_firmware
Por aquí también aparecen: https://code.google.com/p/wimaxcmgui/wiki/HowTo

No sé si te serían de ayuda...
No habrás entendido algo, hasta que seas capaz de explicárselo a tu abuela...
Hacemos pantallas con píxeles casi invisibles, para luego ampliar la letra porque no la vemos... Bonita paradoja...
Creamos analfabetos tecnológicos con una velocidad pasmosa. Todo el mundo "maneja" tecnología, casi nadie sabe lo que tiene entre las manos, pero todo el mundo opina.
El analfabetismo, antes, pasaba desapercibido. Ahora, se transmite por Internet y las redes sociales.
Solo a un mandril epiléptico se le podría haber ocurrido diseñar la cinta de menú de M$.

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #9 en: 13-02-2015, 18:22 (Viernes) »
Gracias, también el firm original lo tiene, ahora mismo tengo 3 macxvi200.bin diferentes.

El que venia con el router de 1.894.808 bytes, el de merlin con 1.897.007 bytes, y el package nonfree de ubuntu con 2.031.168 bytes.

creo que tengo un dilema ahora mismo  ;D

los probaré todos a ver, supongo que el más moderno es el que irá mejor, no sé.

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #10 en: 13-02-2015, 19:41 (Viernes) »
ups!

Código: [Seleccionar]
[    5.260000] usbbcm_device_probe:subtype[1] = 0x000000ff
[    5.260000] usbbcm_device_probe:subtype[2] = 0x00000000
[    5.270000] usbbcm_device_probe:subtype[4] = 0x00000000
[    5.270000] usbbcm_device_probe:subtype[8] = 0x00000000
[    5.410000] usb 1-1: RDM Chip ID 0xbece3301
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
[    5.690000] beceem: AutoSyncup is Disabled
[    5.700000] beceem: Disabling autolink up
[    5.700000] beceem: DDR Setting: 3
[    5.700000] beceem: Power Save Mode: 0
[    5.710000] beceem: Enabling Auto Firmware Download
[    5.710000] beceem: MIPSConfig   : 0x0
[    5.720000] beceem: PMU MODE: 0
[    5.720000] beceem: uiEEPROMFlag  : 0x2
[    5.720000] reset_card_proc:Resetting UMA-B
[    5.910000] usb 1-1: reset high-speed USB device number 2 using dwc_otg
[    6.110000] BeceemFlashBulkRead:Device Got RemovedUnhandled kernel unaligned access[#1]:
[    6.110000] CPU: 0 PID: 84 Comm: khubd Not tainted 3.10.69 #16
[    6.110000] task: 81865088 ti: 8187c000 task.ti: 8187c000
[    6.110000] $ 0   : 00000000 00000000 0000011d 00000000
[    6.110000] $ 4   : 00000000 00000106 00000005 00000000
[    6.110000] $ 8   : 00000064 63697665 6f472065 65522074
[    6.110000] $12   : 00000000 64464663 00000000 65657073
[    6.110000] $16   : 8187dacc 8189dacc 8189dacc 80c203c0
[    6.110000] $20   : 80c3862c 00000090 81932868 80c59600
[    6.110000] $24   : 00000001 8006dbe0                 
[    6.110000] $28   : 8187c000 8187da80 80ca9b00 8000db9c
[    6.110000] Hi    : 00000000
[    6.110000] Lo    : cbd20000
[    6.110000] epc   : 8000dba0 BcmGetFlashCSInfo+0xb0/0xae0
[    6.110000]     Not tainted
[    6.110000] ra    : 8000db9c BcmGetFlashCSInfo+0xac/0xae0
[    6.110000] Status: 1100a403 KERNEL EXL IE
[    6.110000] Cause : 00800010
[    6.110000] BadVA : 00000121
[    6.110000] PrId  : 0001964c (MIPS 24KEc)
[    6.110000] Modules linked in: usb_storage leds_gpio dwc_otg ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 crc16 jbd2 mbcache crypto_hash
[    6.110000] Process khubd (pid: 84, threadinfo=8187c000, task=81865088, tls=00000000)
[    6.110000] Stack : 00001388 81932920 8187dac8 00000001 00000000 00000000 00000000 00000000
          00001388 8187dacc 0f000000 8187dacc 4d434542 8189dacc 80c203c0 80c3862c
          00000090 8000eb68 00000000 01000000 8187dacc 8187dad4 00000000 80c203c0
          8187dacc 8187dad4 8187dad4 80014d74 000000d0 00000001 0000007e 81aff5a0
          80c57800 00000400 80ca9c00 80c59000 001f4062 81aff580 80ca9b00 80c59000
          ...
[    6.110000] Call Trace:
[    6.110000] [<8000dba0>] BcmGetFlashCSInfo+0xb0/0xae0
[    6.110000] [<8000eb68>] BcmInitNVM+0x128/0x21c
[    6.110000] [<80014d74>] InitCardAndDownloadFirmware+0x234/0x4e8
[    6.110000] [<80233408>] usbbcm_device_probe+0x88c/0x9dc
[    6.110000] [<8022f8b4>] usb_probe_interface+0x168/0x1f4
[    6.110000] [<800cb9b0>] driver_probe_device+0xbc/0x210
[    6.110000] [<8008b600>] bus_for_each_drv+0x9c/0xac
[    6.110000] [<800af7b8>] device_attach+0x78/0x9c
[    6.110000] [<8008b6ac>] bus_probe_device+0x3c/0xb4
[    6.110000] [<800af558>] device_add+0x444/0x578
[    6.110000] [<80231314>] usb_set_configuration+0x570/0x658
[    6.110000] [<800f2c14>] generic_probe+0x54/0x98
[    6.110000] [<800cb9b0>] driver_probe_device+0xbc/0x210
[    6.110000] [<8008b600>] bus_for_each_drv+0x9c/0xac
[    6.110000] [<800af7b8>] device_attach+0x78/0x9c
[    6.110000] [<8008b6ac>] bus_probe_device+0x3c/0xb4
[    6.110000] [<800af558>] device_add+0x444/0x578
[    6.110000] [<8022efd4>] usb_new_device+0x1d8/0x2c8
[    6.110000] [<80103284>] hub_thread+0xac4/0xf38
[    6.110000] [<8013e9a0>] kthread+0xb0/0xb8
[    6.110000] [<80004878>] ret_from_kernel_thread+0x14/0x1c
[    6.110000]
[    6.110000]
Code: 0c003e4e  24070008  8e22a1a4 <8c430004> 7c0318a0  00231c02  ac430004  8e25a1a4  3c02bece
[    6.380000] ---[ end trace b6da7952ecd2e720 ]---

Probado con el nonfree de ubuntu  >:(

Hasta el router a salido volando  ;D

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #11 en: 13-02-2015, 20:29 (Viernes) »
Probado con el firmware que llevaba el router originalmente junto con el mismo .cfg, ocurre lo mismo que el post anterior.

¿Quizás sean los drivers del USB?  ???

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #12 en: 13-02-2015, 20:41 (Viernes) »
Utilizando únicamente los drivers del kernel para USB ocurre lo mismo:

Código: [Seleccionar]
    0.480000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    0.490000] dwc_otg: version 2.72a 24-JUN-2008
[    0.490000] dwc_otg: Core Release: 2.66a
[    0.700000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[    0.700000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[    0.710000] dwc_otg: Using DMA mode
[    0.710000] dwc_otg: Device using Buffer DMA mode
[    0.720000] dwc_otg 101c0000.otg: DWC OTG Controller
[    0.720000] dwc_otg 101c0000.otg: new USB bus registered, assigned bus number 1
[    0.730000] dwc_otg 101c0000.otg: irq 26, io mem 0x101c0000
[    0.740000] dwc_otg: Init: Port Power? op_state=1
[    0.740000] dwc_otg: Init: Power Port (0)
[    0.750000] hub 1-0:1.0: USB hub found
[    0.750000] hub 1-0:1.0: 1 port detected
[    0.760000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.760000] ehci-platform: EHCI generic platform driver
[    0.770000] rt2880_wdt 10000120.watchdog: Initialized
[    0.780000] beceem: Beceem Communications Inc. WiMAX driver, 5.2.45
[    0.780000] Copyright 2010. Beceem Communications Inc
[    0.790000] usbcore: registered new interface driver usbbcm
[    0.800000] TCP: cubic registered
[    0.800000] NET: Registered protocol family 17
[    0.800000] 8021q: 802.1Q VLAN Support v1.8
[    0.820000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.830000] Freeing unused kernel memory: 164K (802f7000 - 80320000)
[    1.430000] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.140000] usbbcm_device_probe:subtype[1] = 0x000000ff
[    2.150000] usbbcm_device_probe:subtype[2] = 0x00000000
[    2.150000] usbbcm_device_probe:subtype[4] = 0x00000000
[    2.160000] usbbcm_device_probe:subtype[8] = 0x00000000
[    2.160000] usb 1-1: RDM Chip ID 0xbece3301
procd: Console is alive
procd: - watchdog -
[    2.490000] beceem: AutoSyncup is Disabled
[    2.490000] beceem: Disabling autolink up
[    2.490000] beceem: DDR Setting: 3
[    2.500000] beceem: Power Save Mode: 0
[    2.500000] beceem: Enabling Auto Firmware Download
[    2.510000] beceem: MIPSConfig   : 0x0
[    2.510000] beceem: PMU MODE: 0
[    2.510000] beceem: uiEEPROMFlag  : 0x0
[    2.520000] reset_card_proc:Resetting UMA-B
[    2.790000] usb 1-1: reset high-speed USB device number 2 using dwc_otg
[    3.820000] CPU 0 Unable to handle kernel paging request at virtual address 0000000c, epc == 0000000d, ra == 8000eaa8
[    3.830000] Oops[#1]:
[    3.830000] CPU: 0 PID: 150 Comm: khubd Not tainted 3.10.69 #21
[    3.830000] task: 8187c0e8 ti: 8186e000 task.ti: 8186e000
[    3.830000] $ 0   : 00000000 00000000 00020000 20000000
[    3.830000] $ 4   : 81887e45 0f003004 8186fad8 00000004
[    3.830000] $ 8   : 8186ffe0 0000a400 00000001 0000000a
[    3.830000] $12   : 00001702 802deaf4 00000000 000000bc
[    3.830000] $16   : 8186facc 0f000000 8186fad4 81ac03c0
[    3.830000] $20   : 81ad862c 00000090 8193c868 81b12600
[    3.830000] $24   : 00000000 0000000d                 
[    3.830000] $28   : 8186e000 8186fac8 81b5df00 8000eaa8
[    3.830000] Hi    : 00000017
[    3.830000] Lo    : 00000000
[    3.830000] epc   : 0000000d 0xd
[    3.830000]     Not tainted
[    3.830000] ra    : 8000eaa8 BcmInitNVM+0x68/0x21c
[    3.830000] Status: 1100a403 KERNEL EXL IE
[    3.830000] Cause : 00800008
[    3.830000] BadVA : 0000000c
[    3.830000] PrId  : 0001964c (MIPS 24KEc)
[    3.830000] Modules linked in:
[    3.830000] Process khubd (pid: 150, threadinfo=8186e000, task=8187c0e8, tls=00000000)
[    3.830000] Stack : 00000000 01000000 8186facc 8186fad4 20000000 81ac03c0 8186facc 8186fad4
          8186fad4 80014d74 000000d0 00000001 0000007e 819330a0 81b10000 00000400
          81b52100 81b12000 001f4062 81933080 81b5df00 81b12000 81ac0000 81933080
          81ac03c0 00000080 819330a0 80243604 81ab6b0c 80289adc bece3301 803423e0
          819330a0 81934988 81aaa4c8 801f7250 00000000 81aaa4c8 00000000 00000000
          ...
[    3.830000] Call Trace:
[    3.830000] [<80014d74>] InitCardAndDownloadFirmware+0x234/0x4e8
[    3.830000] [<80243604>] usbbcm_device_probe+0x88c/0x9dc
[    3.830000] [<801f7250>] sysfs_add_one+0x14/0x50
[    3.830000] [<8023fab0>] usb_probe_interface+0x168/0x1f4
[    3.830000] [<800cc720>] driver_sysfs_add+0x6c/0xa0
[    3.830000] [<800cc31c>] driver_probe_device+0xbc/0x210
[    3.830000] [<8003e7bc>] __device_attach+0x0/0x64
[    3.830000] [<8003e808>] __device_attach+0x4c/0x64
[    3.830000] [<8003e7bc>] __device_attach+0x0/0x64
[    3.830000] [<8008b9c4>] bus_for_each_drv+0x9c/0xac
[    3.830000] [<8014ab78>] kobject_uevent_env+0x438/0x494
[    3.830000] [<800b003c>] device_attach+0x78/0x9c
[    3.830000] [<8008ba70>] bus_probe_device+0x3c/0xb4
[    3.830000] [<800afddc>] device_add+0x444/0x578
[    3.830000] [<80239090>] usb_control_msg+0xf4/0x130
[    3.830000] [<80241510>] usb_set_configuration+0x570/0x658
[    3.830000] [<800fe458>] generic_probe+0x54/0x98
[    3.830000] [<801ad530>] queue_work_on+0x48/0x6c
[    3.830000] [<800cc31c>] driver_probe_device+0xbc/0x210
[    3.830000] [<8003e7bc>] __device_attach+0x0/0x64
[    3.830000] [<8003e808>] __device_attach+0x4c/0x64
[    3.830000] [<8003e7bc>] __device_attach+0x0/0x64
[    3.830000] [<8008b9c4>] bus_for_each_drv+0x9c/0xac
[    3.830000] [<8014ab78>] kobject_uevent_env+0x438/0x494
[    3.830000] [<800b003c>] device_attach+0x78/0x9c
[    3.830000] [<8008ba70>] bus_probe_device+0x3c/0xb4
[    3.830000] [<800afddc>] device_add+0x444/0x578
[    3.830000] [<8006093c>] add_device_randomness+0xb8/0xd0
[    3.830000] [<8023f1d0>] usb_new_device+0x1d8/0x2c8
[    3.830000] [<8010ff44>] hub_thread+0xac4/0xf38
[    3.830000] [<80095088>] check_preempt_curr+0x38/0x9c
[    3.830000] [<8006e0f8>] autoremove_wake_function+0x0/0x44
[    3.830000] [<8010f480>] hub_thread+0x0/0xf38
[    3.830000] [<8010f480>] hub_thread+0x0/0xf38
[    3.830000] [<8014bf88>] kthread+0xb0/0xb8
[    3.830000] [<801c4e2c>] schedule_tail+0x1c/0x60
[    3.830000] [<8014bed8>] kthread+0x0/0xb8
[    3.830000] [<80004878>] ret_from_kernel_thread+0x14/0x1c
[    3.830000]
[    3.830000]
Code: (Bad address in epc)
[    3.830000]
[    4.160000] ---[ end trace 2e6db732fa93ec19 ]---
[    4.700000] SCSI subsystem initialized

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #13 en: 14-02-2015, 12:15 (Sábado) »
Empezaré de nuevo con una compilación desde cero a ver...

He visto que en el log de arranque del firmware original, se hace mención a este chip: Si3217x

He buscado por el kernel y así a primeras no he encontrado nada...
« Última modificación: 14-02-2015, 12:20 (Sábado) por mekkon »

Pteridium

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #14 en: 14-02-2015, 12:48 (Sábado) »
Empezaré de nuevo con una compilación desde cero a ver...

He visto que en el log de arranque del firmware original, se hace mención a este chip: Si3217x

He buscado por el kernel y así a primeras no he encontrado nada...
El Si3217x es el chip de la toma de teléfono del router, pero hasta donde sé no hay soporte para él.

Por los logs que pones parece que peta el driver wimax por culpa del driver usb de Ralink...
« Última modificación: 14-02-2015, 12:50 (Sábado) por Pteridium »

Pteridium

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #15 en: 14-02-2015, 16:44 (Sábado) »
El Si3217x es el chip de la toma de teléfono del router, pero hasta donde sé no hay soporte para él.

Por los logs que pones parece que peta el driver wimax por culpa del driver usb de Ralink...
Se me ocurrió hace un rato: ¿por qué no pruebas con trunk en vez de con Barrier Breaker? El driver usb para Ralink cambia un poco y quizá te quite problemas de encima. Por probar...

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #16 en: 14-02-2015, 16:58 (Sábado) »
Gracias, tengo pensadas varias cosas (hoy no sé si me dará tiempo), una de ellas es el FPU emulation, se me hace un poco extraño que el firm original lo tenga incluido, otra es probar con el trunk como bien recomiendas, otra es utilizar los drivers mac80211 originales del repositorio de barrier breaker  (que los cambie por los del trunk sin recordar ahora el motivo  ^-^) y algo más que se me a ido de la cabeza ahora mismo (ya volverá).

gogleando he encontrado alguna mención a kmod-spi-si3217x y kmod-si3217x sobre unos drivers FXS: https://groups.google.com/forum/#!topic/village-telco-dev/sNAquxc37mU

No lo he mirado a fondo ya que hoy no dispongo de mucho tiempo para dedicarlo al router.

Pteridium

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #17 en: 14-02-2015, 18:08 (Sábado) »
gogleando he encontrado alguna mención a kmod-spi-si3217x y kmod-si3217x sobre unos drivers FXS: https://groups.google.com/forum/#!topic/village-telco-dev/sNAquxc37mU

No lo he mirado a fondo ya que hoy no dispongo de mucho tiempo para dedicarlo al router.
Interesante. De acuerdo con el datasheet el si3217x se configura mediante bus spi y luego necesita un bus PCM/I2S para la señal de audio, pero ese driver no parece estar implementado para el RT3052. Como mucho creo que si configuras en el dts el SPI y el gpio asociado con ese chip y lo activas puedes toquetear algunas cosas pero poco más.  :-\
Ten en cuenta que lo que escribo es en base a la información que dispongo, pero igual tú encuentras algo que permita tener VoIP.

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #18 en: 14-02-2015, 19:22 (Sábado) »
Parece que ha habido algo de suerte: https://code.google.com/p/rt-n56u/source/browse/trunk/linux-2.6.21.x/drivers/char/pcm/?r=8276f4ab2cf4c5496108281300b6790a3e19e588#pcm%2Fsi321x

Lo pondré tal cual en el kernel 3.10.X que estoy utilizando.

Crucemos los dedos!  ;D

mekkon

  • Visitante
Re: [Desarrollo] OpenWrt en ZTE IX350
« Respuesta #19 en: 14-02-2015, 20:42 (Sábado) »
FPU emulation no tiene nada que ver...  :-\

He habilitado varias opciones de debug en esta compilación, para rastrar mejor el problema:

Código: [Seleccionar]
[    0.830000] rt2880_wdt 10000120.watchdog: Initialized
[    0.830000] beceem: Beceem Communications Inc. WiMAX driver, 5.2.45
[    0.840000] Copyright 2010. Beceem Communications Inc
[    0.840000] usbcore: registered new interface driver usbbcm
[    0.850000] TCP: cubic registered
[    0.850000] NET: Registered protocol family 17
[    0.860000] 8021q: 802.1Q VLAN Support v1.8
[    0.870000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.880000] Freeing unused kernel memory: 232K (80346000 - 80380000)
[    1.550000] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.240000] usb 1-1: New USB device found, idVendor=19d2, idProduct=0132
[    2.250000] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.250000] usb 1-1: Product: ZTE WiMAX USB Adapter
[    2.260000] usb 1-1: Manufacturer: ZTE Corporation
[    2.260000] usb 1-1: SerialNumber: 0
[    2.270000] usbbcm_device_probe:subtype[1] = 0x000000ff
[    2.280000] usbbcm_device_probe:subtype[2] = 0x00000000
[    2.280000] usbbcm_device_probe:subtype[4] = 0x00000000
[    2.290000] usbbcm_device_probe:subtype[8] = 0x00000000
[    2.290000] usb 1-1: RDM Chip ID 0xbece3301
[    2.540000] beceem: AutoSyncup is Disabled
[    2.540000] beceem: Disabling autolink up
[    2.540000] beceem: DDR Setting: 3
[    2.550000] beceem: Power Save Mode: 0
[    2.550000] beceem: Enabling Auto Firmware Download
[    2.560000] beceem: MIPSConfig   : 0x0
[    2.560000] beceem: PMU MODE: 0
[    2.560000] beceem: uiEEPROMFlag  : 0x0
[    2.570000] reset_card_proc:Resetting UMA-B
procd: Console is alive
procd: - watchdog -
[    2.890000] usb 1-1: reset high-speed USB device number 2 using dwc_otg
[    3.840000] CPU 0 Unable to handle kernel paging request at virtual address 0e87642e, epc == 0e87642f, ra == 8001ef10
[    3.850000] Oops[#1]:
[    3.850000] CPU: 0 PID: 150 Comm: khubd Not tainted 3.10.69 #2
[    3.850000] task: 8185d4c8 ti: 81888000 task.ti: 81888000
[    3.850000] $ 0   : 00000000 00000000 00020000 05000000
[    3.850000] $ 4   : 9b430336 0f00304c 818899bc 00000004
[    3.850000] $ 8   : 81889fe0 0000a400 ec5ad329 81b7de60
[    3.850000] $12   : 80304b20 00000007 0000000e edb88320
[    3.850000] $16   : 81889a3c 81889a08 0f000000 81ae03d0
[    3.850000] $20   : 00001388 81b75980 00000080 81b003c0
[    3.850000] $24   : 004130c0 0e87642f                 
[    3.850000] $28   : 81888000 818899a0 81b64380 8001ef10
[    3.850000] Hi    : 00000000
[    3.850000] Lo    : e4e1c000
[    3.850000] epc   : 0e87642f 0xe87642f
[    3.850000]     Not tainted
[    3.850000] ra    : 8001ef10 ReadBeceemEEPROMBulk.constprop.8+0x54/0x284
[    3.850000] Status: 1100a403 KERNEL EXL IE
[    3.850000] Cause : 10800008
[    3.850000] BadVA : 0e87642e
[    3.850000] PrId  : 0001964c (MIPS 24KEc)
[    3.850000] Modules linked in:
[    3.850000] Process khubd (pid: 150, threadinfo=81888000, task=8185d4c8, tls=00000000)
[    3.850000] Stack : 00001388 00000000 818899f4 00000001 0f003020 801d4638 00000000 05000000
          00000000 81ae03c0 81ae03c0 81ae03c0 81889a3c 8001f098 00001388 81b75980
          00000080 8001ee88 81889a48 80270664 00000000 00000004 4d434542 f00f0440
          0304c000 04400030 00000000 00000000 00000000 00000000 00000080 00000004
          00000000 00000000 00000000 8000f5c0 4d434542 f00f0440 0304c000 04400030
          ...
[    3.850000] Call Trace:
[    3.850000] [<801d4638>] rdmalt+0x20/0x5c
[    3.850000] [<8001f098>] ReadBeceemEEPROMBulk.constprop.8+0x1dc/0x284
[    3.850000] [<8001ee88>] ReadBeceemEEPROM+0x6c/0xa0
[    3.850000] [<80270664>] usb_start_wait_urb+0x134/0x158
[    3.850000] [<8000f5c0>] BeceemEEPROMBulkRead+0x144/0x1d4
[    3.850000] [<8000d6f0>] BcmGetEEPROMSize+0x34/0x118
[    3.850000] [<8000ed88>] BcmInitNVM+0x1bc/0x21c
[    3.850000] [<80014f14>] InitCardAndDownloadFirmware+0x23c/0x4f0
[    3.850000] [<80271b4c>] usbbcm_device_probe+0x634/0x9e4
[    3.850000] [<8016520c>] kmem_cache_alloc_trace+0xa0/0x170
[    3.850000] [<80271dac>] usbbcm_device_probe+0x894/0x9e4
[    3.850000] [<800b5bac>] dev_printk+0x28/0x34
[    3.850000] [<8026de28>] usb_probe_interface+0x1ac/0x240
[    3.850000] [<800d4c04>] driver_probe_device+0xd8/0x22c
[    3.850000] [<8003f11c>] __device_attach+0x0/0x64
[    3.850000] [<8003f168>] __device_attach+0x4c/0x64
[    3.850000] [<8003f11c>] __device_attach+0x0/0x64
[    3.850000] [<80090f88>] bus_for_each_drv+0x9c/0xac
[    3.850000] [<801677c8>] kobject_uevent_env+0x43c/0x498
[    3.850000] [<800b7bc8>] device_attach+0x78/0x9c
[    3.850000] [<80091034>] bus_probe_device+0x3c/0xcc
[    3.850000] [<800b7968>] device_add+0x444/0x578
[    3.850000] [<800b5bac>] dev_printk+0x28/0x34
[    3.850000] [<8026f9ac>] usb_set_configuration+0x5b4/0x6a0
[    3.850000] [<80266bc4>] usb_choose_configuration+0x1a4/0x214
[    3.850000] [<80117cb8>] generic_probe+0x54/0x98
[    3.850000] [<801cd274>] queue_work_on+0x44/0x68
[    3.850000] [<800d4c04>] driver_probe_device+0xd8/0x22c
[    3.850000] [<8003f11c>] __device_attach+0x0/0x64
[    3.850000] [<8003f168>] __device_attach+0x4c/0x64
[    3.850000] [<8003f11c>] __device_attach+0x0/0x64
[    3.850000] [<80090f88>] bus_for_each_drv+0x9c/0xac
[    3.850000] [<801677c8>] kobject_uevent_env+0x43c/0x498
[    3.850000] [<800b7bc8>] device_attach+0x78/0x9c
[    3.850000] [<80091034>] bus_probe_device+0x3c/0xcc
[    3.850000] [<800b7968>] device_add+0x444/0x578
[    3.850000] [<80063d50>] add_device_randomness+0xb8/0xd0
[    3.850000] [<8026d4c0>] usb_new_device+0x2b0/0x3a0
[    3.850000] [<8012b050>] hub_thread+0xcbc/0x1188
[    3.850000] [<801af2b0>] pick_next_task_fair+0xd0/0x120
[    3.850000] [<80072364>] autoremove_wake_function+0x0/0x44
[    3.850000] [<8012a394>] hub_thread+0x0/0x1188
[    3.850000] [<8012a394>] hub_thread+0x0/0x1188
[    3.850000] [<80168cb8>] kthread+0xb0/0xb8
[    3.850000] [<801ea4a8>] schedule_tail+0x1c/0x60
[    3.850000] [<80168c08>] kthread+0x0/0xb8
[    3.850000] [<80004878>] ret_from_kernel_thread+0x14/0x1c
[    3.850000]
[    3.850000]
Code: (Bad address in epc)
[    3.850000]
[    4.230000] ---[ end trace 026e935707f2dd73 ]---