hi , hasanovazamat !
i meet the same problem with you! My system log is end with:
[ 37.110000] rt305x-esw 10110000.esw: link changed 0x04
[ 37.120000] rt305x-esw 10110000.esw: link changed 0x00
[ 37.190000] rt305x-esw 10110000.esw: link changed 0x10
[ 37.240000] rt305x-esw 10110000.esw: link changed 0x00
and have wifi ,have lan ,but no wan.
I know wifi is set to close as default ,you can open it at this file :
"package/kernel/mac80211/files/lib/wifi/mac80211.sh"
change "option disabled 1" to "option disabled 0" and you can also add some parameter about the wifi just below this line.
for example:
option disabled 0
option htmode HT40+
option channel 1
option country CN
option noscan 1
option txpower 17
my skype: shindow
my email: shindow@hotmail.com
my system log :
U-Boot 1.1.3 (Apr 11 2013 - 00:10:51)
Board: Ralink APSoC DRAM: 32 MB
relocate_code Pointer at: 81fb4000
spi_wait_nsec: 42
spi device id: ef 40 16 0 0 (40160000)
find flash: W25Q32BV
raspi_read: from:30000 len:1000
.*** Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 3.6.0.0
--------------------------------------------
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: Boot-Strapping
DRAM_TYPE: SDRAM
DRAM_SIZE: 256 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 MBytes
Flash component: SPI Flash
Date:Apr 11 2013 Time:00:10:51
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384
##### The CPU freq = 360 MHZ ####
estimate memory size =32 Mbytes
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.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
0
3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
. Image Name: Linux Kernel Image
Created: 2014-03-21 2:37:37 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 981996 Bytes = 959 kB
Load Address: 80000000
Entry Point: 80000000
raspi_read: from:50040 len:efbec
............... Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32
Starting kernel ...
[ 0.000000] Linux version 3.10.32 (shindow@shindow-MS-7680) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.01 r39943) ) #5 Fri Mar 21 10:37:26 CST 2014
[ 0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[ 0.000000] MIPS: machine is HAME MPR-A2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=ttyS0,57600 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=00000004
[ 0.000000] Readback ErrCtl register=00000004
[ 0.000000] Memory: 29352k/32768k available (2133k kernel code, 3416k reserved, 529k data, 216k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:128
[ 0.000000] CPU Clock: 360MHz
[ 0.000000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[ 0.070000] pid_max: default: 32768 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.110000] rt2880-pinmux pinctrl.1: invalid group "rgmii" for function "gpio"
[ 0.120000] rt2880-pinmux pinctrl.1: invalid group "mdio" for function "gpio"
[ 0.150000] bio: create slab <bio-0> at 0
[ 0.160000] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.170000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.180000] Switching to clocksource MIPS
[ 0.190000] NET: Registered protocol family 2
[ 0.200000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.220000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.230000] TCP: Hash tables configured (established 512 bind 512)
[ 0.240000] TCP: reno registered
[ 0.250000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.260000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.270000] NET: Registered protocol family 1
[ 0.280000] rt-timer 10000100.timer: maximum frequncy is 7324Hz
[ 0.330000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.340000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.370000] msgmni has been set to 57
[ 0.370000] io scheduler noop registered
[ 0.380000] io scheduler deadline registered (default)
[ 0.390000] gpio-export gpio_export.6: 2 gpio(s) exported
[ 0.410000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.440000] console [ttyS0] enabled, bootconsole disabledirq = 20) is a 16550A
[ 0.440000] console [ttyS0] enabled, bootconsole disabled
[ 0.470000] m25p80 spi32766.0: found w25q32, expected s25fl064k
[ 0.480000] m25p80 spi32766.0: w25q32 (4096 Kbytes)
[ 0.490000] 4 ofpart partitions found on MTD device spi32766.0
[ 0.500000] Creating 4 MTD partitions on "spi32766.0":
[ 0.510000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.530000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.540000] 0x000000040000-0x000000050000 : "factory"
[ 0.560000] 0x000000050000-0x000000400000 : "firmware"
[ 0.570000] 0x00000013fc2c-0x000000400000 : "rootfs"
[ 0.580000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.610000] mtd: device 4 (rootfs) set to be root filesystem
[ 0.620000] mtd: partition "rootfs_data" created automatically, ofs=0x390000, len=0x70000
[ 0.640000] 0x000000390000-0x000000400000 : "rootfs_data"
[ 0.660000] eth0: done loading
[ 0.670000] rt3xxx-usbphy ubsphy.3: loaded
[ 0.680000] rt2880_wdt 10000120.watchdog: Initialized
[ 0.690000] TCP: cubic registered
[ 0.700000] NET: Registered protocol family 17
[ 0.710000] 8021q: 802.1Q VLAN Support v1.8
[ 0.740000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 0.760000] Freeing unused kernel memory: 216K (8029a000 - 802d0000)
procd: Console is alive
procd: - watchdog -
procd: - preinit -
[ 7.070000] rt305x-esw 10110000.esw: link changed 0x00
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
[ 8.480000] usbcore: registered new interface driver usbfs
[ 8.490000] usbcore: registered new interface driver hub
[ 8.510000] usbcore: registered new device driver usb
[ 8.530000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 8.540000] ehci-platform: EHCI generic platform driver
[ 8.660000] rt305x-esw 10110000.esw: link changed 0x10
[ 8.680000] rt305x-esw 10110000.esw: link changed 0x00
[ 8.730000] rt305x-esw 10110000.esw: link changed 0x04
[ 8.740000] rt305x-esw 10110000.esw: link changed 0x00
[ 8.790000] rt3xxx-usbphy ubsphy.3: remote usb device wakeup disabled
[ 8.810000] rt3xxx-usbphy ubsphy.3: UTMI 16bit 30MHz
[ 8.820000] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 8.830000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 8.850000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 8.880000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 8.890000] hub 1-0:1.0: USB hub found
[ 8.900000] hub 1-0:1.0: 1 port detected
[ 8.910000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 8.920000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller
[ 8.940000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 8.950000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 9.030000] hub 2-0:1.0: USB hub found
[ 9.040000] hub 2-0:1.0: 1 port detected
[ 9.050000] leds-gpio gpio-leds.4: pins are not configured from the driver
[ 10.300000] rt305x-esw 10110000.esw: link changed 0x10
[ 10.310000] rt305x-esw 10110000.esw: link changed 0x00
jffs2 is ready
[ 10.720000] jffs2: notice: (288) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 15 of xref (0 dead, 2 orphan) found.
switching to jffs2
procd: - early -
procd: - watchdog -
[ 11.280000] rt305x-esw 10110000.esw: link changed 0x04
[ 11.310000] rt305x-esw 10110000.esw: link changed 0x00
procd: - ubus -
procd: - init -
[ 11.920000] rt305x-esw 10110000.esw: link changed 0x10
[ 11.940000] rt305x-esw 10110000.esw: link changed 0x00
Please press Enter to activate this console.
Command failed: Not found
[ 12.990000] rt305x-esw 10110000.esw: link changed 0x04
[ 13.000000] rt305x-esw 10110000.esw: link changed 0x00
[ 13.510000] rt305x-esw 10110000.esw: link changed 0x10
[ 13.530000] rt305x-esw 10110000.esw: link changed 0x00
[ 15.080000] rt305x-esw 10110000.esw: link changed 0x10
[ 15.100000] rt305x-esw 10110000.esw: link changed 0x00
[ 15.460000] rt305x-esw 10110000.esw: link changed 0x04
[ 15.490000] rt305x-esw 10110000.esw: link changed 0x00
[ 16.670000] rt305x-esw 10110000.esw: link changed 0x10
[ 16.720000] rt305x-esw 10110000.esw: link changed 0x00
[ 17.050000] rt305x-esw 10110000.esw: link changed 0x04
[ 17.060000] rt305x-esw 10110000.esw: link changed 0x00
[ 17.160000] NET: Registered protocol family 10
[ 17.180000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[ 17.210000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 17.250000] usbcore: registered new interface driver cdc_acm
[ 17.260000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 17.280000] Loading modules backported from Linux version master-2014-01-23-0-g62c147d
[ 17.300000] Backport generated by backports.git backports-20140124-0-g1256d3e
[ 17.320000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 17.380000] usbcore: registered new interface driver usbserial
[ 17.400000] usbcore: registered new interface driver usbserial_generic
[ 17.410000] usbserial: USB Serial support registered for generic
[ 17.490000] xt_time: kernel timezone is -0000
[ 17.500000] usbcore: registered new interface driver asix
[ 17.520000] usbcore: registered new interface driver cdc_ether
[ 17.570000] cfg80211: Calling CRDA to update world regulatory domain
[ 17.580000] cfg80211: World regulatory domain updated:
[ 17.590000] cfg80211: DFS Master region: unset
[ 17.600000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 17.620000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 17.640000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 17.650000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 17.670000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[ 17.680000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[ 17.700000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[ 17.830000] PPP generic driver version 2.4.2
[ 17.840000] NET: Registered protocol family 24
[ 17.860000] usbcore: registered new interface driver rndis_host
[ 17.900000] usbcore: registered new interface driver option
[ 17.910000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 17.960000] rt2800_wmac 10180000.wmac: failed to load eeprom property
[ 17.970000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[ 17.990000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
[ 18.010000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected
[ 18.390000] rt305x-esw 10110000.esw: link changed 0x10
[ 18.410000] rt305x-esw 10110000.esw: link changed 0x00
[ 19.540000] rt305x-esw 10110000.esw: link changed 0x04
[ 19.560000] rt305x-esw 10110000.esw: link changed 0x00
[ 20.130000] rt305x-esw 10110000.esw: link changed 0x10
[ 20.190000] rt305x-esw 10110000.esw: link changed 0x00
[ 23.170000] rt305x-esw 10110000.esw: link changed 0x04
[ 23.180000] rt305x-esw 10110000.esw: link changed 0x00
[ 23.260000] rt305x-esw 10110000.esw: link changed 0x00
[ 24.820000] rt305x-esw 10110000.esw: link changed 0x10
[ 24.830000] rt305x-esw 10110000.esw: link changed 0x00
[ 25.640000] rt305x-esw 10110000.esw: link changed 0x04
[ 25.650000] rt305x-esw 10110000.esw: link changed 0x00
[ 26.520000] rt305x-esw 10110000.esw: link changed 0x10
[ 26.540000] rt305x-esw 10110000.esw: link changed 0x00
[ 28.100000] rt305x-esw 10110000.esw: link changed 0x10
[ 28.110000] rt305x-esw 10110000.esw: link changed 0x00
[ 28.150000] rt305x-esw 10110000.esw: link changed 0x04
[ 28.190000] rt305x-esw 10110000.esw: link changed 0x00
[ 28.900000] device eth0.1 entered promiscuous mode
[ 28.900000] device eth0 entered promiscuous mode
[ 28.940000] br-lan: port 1(eth0.1) entered forwarding state
[ 28.950000] br-lan: port 1(eth0.1) entered forwarding state
procd: - init complete -
[ 29.740000] rt305x-esw 10110000.esw: link changed 0x10
[ 29.750000] rt305x-esw 10110000.esw: link changed 0x00
[ 29.830000] rt305x-esw 10110000.esw: link changed 0x04
[ 29.850000] rt305x-esw 10110000.esw: link changed 0x00
[ 29.890000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 30.950000] br-lan: port 1(eth0.1) entered forwarding state
[ 31.000000] cfg80211: Calling CRDA for country: CN
[ 31.040000] cfg80211: Regulatory domain changed to country: CN
[ 31.050000] cfg80211: DFS Master region: unset
[ 31.060000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 31.070000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 31.090000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm)
[ 31.100000] cfg80211: (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
[ 31.120000] cfg80211: (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4400 mBm)
[ 31.130000] cfg80211: (63720000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
[ 31.370000] rt305x-esw 10110000.esw: link changed 0x10
[ 31.390000] rt305x-esw 10110000.esw: link changed 0x00
[ 32.240000] rt305x-esw 10110000.esw: link changed 0x04
[ 32.260000] rt305x-esw 10110000.esw: link changed 0x00
[ 33.030000] rt305x-esw 10110000.esw: link changed 0x10
[ 33.080000] rt305x-esw 10110000.esw: link changed 0x00
[ 33.220000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 33.230000] device wlan0 entered promiscuous mode
[ 33.270000] br-lan: port 2(wlan0) entered forwarding state
[ 33.280000] br-lan: port 2(wlan0) entered forwarding state
[ 33.290000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 34.700000] rt305x-esw 10110000.esw: link changed 0x10
[ 35.120000] rt305x-esw 10110000.esw: link changed 0x00
[ 35.280000] br-lan: port 2(wlan0) entered forwarding state
[ 37.110000] rt305x-esw 10110000.esw: link changed 0x04
[ 37.120000] rt305x-esw 10110000.esw: link changed 0x00
[ 37.190000] rt305x-esw 10110000.esw: link changed 0x10
[ 37.240000] rt305x-esw 10110000.esw: link changed 0x00
[ 38.920000] rt305x-esw 10110000.esw: link changed 0x10
[ 39.570000] rt305x-esw 10110000.esw: link changed 0x04
[ 39.860000] rt305x-esw 10110000.esw: link changed 0x00
[ 40.550000] rt305x-esw 10110000.esw: link changed 0x10
[ 40.610000] rt305x-esw 10110000.esw: link changed 0x00
[ 41.470000] rt305x-esw 10110000.esw: link changed 0x04
[ 41.530000] rt305x-esw 10110000.esw: link changed 0x00
[ 42.270000] rt305x-esw 10110000.esw: link changed 0x10
[ 42.280000] rt305x-esw 10110000.esw: link changed 0x00