搜索
bottom↓
回复: 18

求推荐内置WIFI的ARM或者MIPS,能跑Linux的,搞不定RT5350

[复制链接]

出0入0汤圆

发表于 2013-5-28 12:32:07 | 显示全部楼层 |阅读模式
如题,多谢大家。

出0入0汤圆

发表于 2013-5-28 13:44:12 | 显示全部楼层
5350好搞啊,原厂的SDK功能已经很全了

出0入0汤圆

 楼主| 发表于 2013-5-28 17:42:04 | 显示全部楼层
问题多多,我编译老是出错,解决一个又一个,我编译好的固件烧进去,系统跑了,但发现GOAHEAD无法打开,SDK的来源可以说是没问题,大联大的FAE给的,从3600到4110我全都有,发现只有3600可以选5350之后用默认配置可以顺利编译,其他的都需要小修改;
我试着编译进去MINIUPNP,和USB-MODESWITCH都不行,都需要小修改;
编译过了吧,兴致勃勃烧进去,发现GOAHEAD无法打开,看到提示如下:大大们帮我看下:



0x00000000-0x00030000 : "Bootloader"
0x00030000-0x00040000 : "Config"
0x00040000-0x00050000 : "Factory"
0x00050000-0x00157e29 : "Kernel"
mtd: partition "Kernel" doesn't end on an erase block -- force read-only
0x00157e29-0x01000000 : "RootFS"
mtd: partition "RootFS" extends beyond the end of device "raspi" -- size truncated to 0x6a81d7
mtd: partition "RootFS" doesn't start on an erase block boundary -- force read-only
0x00050000-0x01000000 : "Kernel_RootFS"
mtd: partition "Kernel_RootFS" extends beyond the end of device "raspi" -- size truncated to 0x7b0000
Load Timer Module(Wdg/Soft)
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered (default)
Ralink gpio driver initialized
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.8 $ 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 = 253
Ralink APSoC Ethernet Driver Initilization. v2.1  256 rx/tx descriptors allocated, mtu = 1500!
MAC_ADRH -- : 0x0000000a
MAC_ADRL -- : 0xeb380d4e
PROC INIT OK!
IMQ starting with 2 devices...
IMQ driver loaded successfully.
        Hooking IMQ after NAT on PREROUTING.
        Hooking IMQ before NAT on POSTROUTING.
PPP generic driver version 2.4.2
PPP BSD Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V0.17
PPTP driver version 0.8.1
block2mtd: version $Revision: 1.1.1.1 $
nf_conntrack version 0.5.0 (128 buckets, 1024 max)
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 116k freed
init started: BusyBox v1.12.1 (2013-05-25 14:22:02 CST)
starting pid 13, tty '': '/etc_ro/rcS'
Algorithmics/MIPS FPU Emulator v1.5
devpts: called with bogus options
Welcome to
     _______  _______  ___     __  ____   _  _   ___
    |  ___  \|   __  ||   |   |__||    \ | || | /  /
    | |___| ||  |__| ||   |__  __ |     \| || |/  /
    |   _   /|   _   ||      ||  || |\     ||     \
    |__| \__\|__| |__||______||__||_| \____||_|\___\

                     =System Architecture Department=

starting pid 23, tty '/dev/ttyS1': '/bin/sh'


BusyBox v1.12.1 (2013-05-25 14:22:02 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# internet.sh
Password for 'admin' changed
rmmod: ralink_wdt: No such file or directory
rmmod: cls: No such file or directory
rmmod: hw_nat: No such file or directory
rmmod: raeth: No such file or directory
insmod: bridge.ko: module not found
insmod: mii.ko: module not found
insmod: raeth.ko: module not found

phy_tx_ring = 0x009a6000, tx_ring = 0xa09a6000

phy_rx_ring0 = 0x009a7000, rx_ring0 = 0xa09a7000
MAC_ADRH -- : 0x0000000a
MAC_ADRL -- : 0xeb380d4e
RT305x_ESW: Link Status Changed

##### disable 1st wireless interface #####
rmmod: rt2860v2_ap_net: No such file or directory
rmmod: rt2860v2_ap: No such file or directory
rmmod: rt2860v2_ap_util: No such file or directory
rmmod: rt2860v2_sta_net: No such file or directory
rmmod: rt2860v2_sta: No such file or directory
rmmod: rt2860v2_sta_util: No such file or directory
insmod: rt2860v2_ap_util.ko: module not found
rt2860v2_ap: module license 'unspecified' taints kernel.


=== pAd = c004c000, size = 804848 ===

<-- RTMPAllocAdapterBlock, Status=0
insmod: rt2860v2_ap_net.ko: module not found
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
insmod: nf_conntrack_proto_gre.ko: module not found
insmod: nf_nat_proto_gre.ko: module not found
insmod: nf_conntrack_pptp.ko: module not found
insmod: nf_nat_pptp.ko: module not found
RX DESC a0900000  size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 9
2. Phy Mode = 9
3. Phy Mode = 9
pAd->TxPowerCtrl.bInternalTxALC == FALSE !
MCS Set = ff 00 00 00 01
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2
Main bssid = 00:0a:eb:38:0d:4d
<==== rt28xx_init, Status=0
0x1300 = 00064380
vconfig: ioctl error for rem: Invalid argument
vconfig: ioctl error for rem: Invalid argument
rmmod: 8021q: No such file or directory
insmod: 8021q.ko: module not found
eth2.2: Setting MAC address to  00 0a eb 38 0d 52.
device eth2 entered promiscuous mode
VLAN (eth2.2):  Setting underlying device (eth2) to promiscious mode.
ifconfig: ioctl 0x8913 failed: No such device
brctl: bridge br0: No such device or address
##### config Ralink ESW vlan partition (LLLLW) #####
switch reg write offset=14, value=405555
switch reg write offset=50, value=2001
switch reg write offset=98, value=7f3f
switch reg write offset=e4, value=3f
switch reg write offset=40, value=1001
switch reg write offset=44, value=1001
switch reg write offset=48, value=1002
switch reg write offset=70, value=ffff506f
done.
device ra0 entered promiscuous mode
eth2.1: dev_set_promiscuity(master, 1)
device eth2.1 entered promiscuous mode
udhcpc (v1.12.1) started
br0: port 2(eth2.1) 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
br0: topology change detected, propagating
br0: port 2(eth2.1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(ra0) entering forwarding state
killall: udhcpd: no process killed
Set: phy[0].reg[0] = 3900
Set: phy[1].reg[0] = 3900
Set: phy[2].reg[0] = 3900
Set: phy[3].reg[0] = 3900
Set: phy[0].reg[0] = 3100
Set: phy[1].reg[0] = 3100
Set: phy[2].reg[0] = 3100
Set: phy[3].reg[0] = 3100
ifconfig: ioctl 0x8913 failed: No such device
libupnp: using UDP SSDP_PORT = 1900
upnpd[819]: UPnP SDK Successfully Initialized.
Jan  1 00:00:17 upnpd[819]: UPnP SDK Successfully Initialized.
upnpd[819]: Succesfully set the Web Server Root Directory.
Jan  1 00:00:17 upnpd[819]: Succesfully set the Web Server Root Directory.
upnpd[819]: IGD root device successfully registered.
Jan  1 00:00:17 upnpd[819]: IGD root device successfully registered.
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 -D FORWARD -j malicious_filter 1>/dev/null 2>&1
iptables -F malicious_filter  1>/dev/null 2>&1
iptables -D INPUT -j malicious_input_filter 1>/dev/null 2>&1
iptables -F malicious_input_filter  1>/dev/null 2>&1
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
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 -N malicious_filter 1>/dev/null 2>&1
iptables -t filter -N synflood_filter 1>/dev/null 2>&1
iptables -t filter -N malicious_input_filter 1>/dev/null 2>&1
iptables -t filter -N synflood_input_filter 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 -t filter -A FORWARD -j malicious_filter 1>/dev/null 2>&1
iptables -t filter -A malicious_filter -p tcp --syn -j synflood_filter 1>/dev/null 2>&1
iptables -t filter -A INPUT -j malicious_input_filter 1>/dev/null 2>&1
iptables -t filter -A malicious_input_filter -p tcp --syn -j synflood_input_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 malicious_input_filter -i eth2.2 -p tcp --dport 80 -j DROP
/bin/super_dmz -f
upnpd[819]: Advertisements Sent.  Listening for requests ...
Jan  1 00:00:19 upnpd[819]: Advertisements Sent.  Listening for requests ...
killall: udhcpd: no process killed
Set: phy[0].reg[0] = 3900
Set: phy[1].reg[0] = 3900
Set: phy[2].reg[0] = 3900
Set: phy[3].reg[0] = 3900
Set: phy[0].reg[0] = 3100
Set: phy[1].reg[0] = 3100
Set: phy[2].reg[0] = 3100
Set: phy[3].reg[0] = 3100
sh: arptables: not found
superdmz:Can't get WAN gateway
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
ntp.sh
greenap.sh init
ddns.sh
kill -9 `cat /var/run/wscd.pid.ra0`
cat: can't open '/var/run/wscd.pid.ra0': No such file or directory
kill: you need to specify whom to kill
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1
The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2
route delete 239.255.255.250 1>/dev/null 2>&1
killall -q klogd
killall -q syslogd
syslogd -C8 1>/dev/null 2>&1
klogd 1>/dev/null 2>&1
killall -q zebra
killall -q ripd
/bin/qos_run
gohead.c: Can't get host address

出0入0汤圆

 楼主| 发表于 2013-6-3 13:12:11 | 显示全部楼层
来看下有木有人回帖

出0入0汤圆

发表于 2013-6-3 17:06:07 | 显示全部楼层
本帖最后由 Auir 于 2013-6-3 17:09 编辑

如果实在不想用RT5350的方案,
可以考虑 arm9 + RTL8188的方案。 arm9可以用Alphascale的 ASAP1826T , RTL8188模块很便宜的(10~14元).

http://www.alphascale.com/index.asp?wifibox.html
这个已经实现了,基本上该有的wifi功能。

如果感兴趣,可以打我头像中的电话。

出0入0汤圆

发表于 2013-6-5 15:17:55 | 显示全部楼层
zhanji007 发表于 2013-5-28 17:42
问题多多,我编译老是出错,解决一个又一个,我编译好的固件烧进去,系统跑了,但发现GOAHEAD无法打开,SDK ...

可以給.config檔來試試嗎。我有3600的

出0入0汤圆

发表于 2013-6-22 23:29:06 | 显示全部楼层
wisefaucetm 发表于 2013-6-5 15:17
可以給.config檔來試試嗎。我有3600的

问题解决了没,我可以帮你看看。qq:2481@@@278,取消@@@

出0入0汤圆

发表于 2013-6-24 15:16:30 | 显示全部楼层
感谢分享
RT5350

WIFI模块  

出0入0汤圆

 楼主| 发表于 2013-6-24 15:56:35 | 显示全部楼层
问题次日就解决了。不好意思

出0入0汤圆

发表于 2013-6-26 08:42:59 | 显示全部楼层
你好,5350用什么仿真器啊,哪里可以买到这种仿真器啊

出0入12汤圆

发表于 2013-6-28 15:54:49 | 显示全部楼层
支持 MIPS 的调试器应该都可以,毕竟都要遵循 ejtag 标准。

出0入0汤圆

发表于 2013-10-9 14:48:08 | 显示全部楼层
我也碰到同样的问题,你是怎样解决的。

出0入0汤圆

发表于 2013-10-21 11:18:43 | 显示全部楼层
我这里有做 串口转WiFi/以太网  的透明传输模块,如果烧录原版固件
就可以当做RT5350开发板使用了 ,

MTK的东西就是这样有一些隐藏小bug 在开发过程中都会遇到的, 要费点心思才解决

出0入0汤圆

发表于 2013-11-13 10:19:40 | 显示全部楼层
zhanji007 发表于 2013-6-24 15:56
问题次日就解决了。不好意思

能说说怎么解决的吗,也好让大伙学习下呀

出0入0汤圆

发表于 2013-11-13 10:24:12 | 显示全部楼层
goahead那个错误估计增加一个hosts脚本,指定主机名与对应的IP地址即可;我之前移植过goahead,就是这样做的;不过RT5350没玩过

出0入0汤圆

发表于 2013-11-13 11:21:03 | 显示全部楼层
zhanji007 发表于 2013-6-24 15:56
问题次日就解决了。不好意思

兄台,问题解决了,说下吗,好让大家一起学习进步呀.

出0入0汤圆

发表于 2013-11-13 11:57:27 | 显示全部楼层
用WM-G-MR-09更好搞,linux上只要有SDIO驱动,加个WIFI只是配置的事
用这个,可以直接插到带SD卡座的板上用
http://item.taobao.com/item.htm? ... q&id=9679430134

出0入0汤圆

发表于 2014-1-26 16:01:33 | 显示全部楼层
zhanji007 发表于 2013-6-24 15:56
问题次日就解决了。不好意思

gohead.c: Can't get host address

这个问题百度无线音乐盒也遇到了,你那个5350的怎么解决的阿?

出0入0汤圆

发表于 2015-1-7 18:17:55 | 显示全部楼层
我们搞过5350的案子,可以上传数据、文件,下载数据、文件到服务器,io控制之类的,可以讨论下
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-5-8 10:22

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表