找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 6696|回复: 4

老掉牙的linksys无线AP改作ARM开发板

[复制链接]
发表于 2011-10-17 19:03 | 显示全部楼层 |阅读模式
本帖最后由 qhuaz 于 2011-10-17 19:34 编辑

目标板就是linksys wap11 2.2 版的无线AP主板,此目标板上的资源是
CPU:S3C4510B
8M SDRAM
1M  ROM
10/100M 以太网
256K  的I2C
一个16位的PCMCIA接口,和一个ACX100芯片的11M无线网卡,可做无线AP
板上已经接出来14针的JTAG接口和TTL串口0 (TTL串口1也可以接出来)



实验步骤:
1.用Jtag线连接板上的jtag接口,刷入启动bios
2.用交叉网线连接PC机和板上的网口
3.用TTL串口小板连接板上的TTL串口,TTL串口设置如下:
波特率 19200
数据位:8
奇偶校验:none
停止位:1
流控:无


以下是通过TTL串口连接目标板后,在SecureCRT中进行的实验

/*************************************************************/
Bios for download and program.
Author Jerry
Build date : Jun 16 2004 Time : 17:11:45
Type help for help.
/*************************************************************/
\>

键入命令help后出来bios的帮助提示

\>help
help    ------  show help
?       ------  = help
load    ------  load file to memory
prog    ------  program flash
boot    ------  boot from flash
ap      ------  auto load image flie and program flash
copy    ------  copy flash from src to dst address
ipcfg   ------  show or set IP address
go      ------  Go at 0x8000
dn      ------  ev-7t bootloader download
\>

键入命令load通过tftp32载入uClinux的image.ram (提供编译环境)

\>load
No begin address for download, use default address 0x8000
Mini TFTP Server 1.0 (IP : 192.168.168.101 PORT: 69)
Load image file from host
Type tftp -i 192.168.168.101 put filename at the host PC
Press ESC key to exit

在PC机上设置好tftp32,通过tftp32程序的put下载uClinux的内存映像文件image.ram到目标板上

No begin address for download, use default address 0x8000
Mini TFTP Server 1.0 (IP : 192.168.168.101 PORT: 69)
Load image file from host
Type tftp -i 192.168.168.101 put filename at the host PC
Press ESC key to exit
Starting the TFTP download...
...................................................
Received 1a62f8 Bytes, END...
Boot Image? (y/n)

键入y运行uClinux,显示uClinux启动信息

Linux version 2.4.27-uc1 (root@ubuntu) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from
http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)) #10 Sat Oct 15 14:34:48 CST 2011
Processor: Samsung S3C4510B revision 6
Architecture: SNDS100
On node 0 totalpages: 2048
zone(0): 0 pages.
zone(1): 2048 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 49.76 BogoMIPS
Memory: 8MB = 8MB total
Memory: 6244KB available (1608K code, 161K data, 44K init)
Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Samsung S3C4510 Serial driver version 0.9 (2001-12-27) with no serial options enabled
ttyS00 at 0x3ffd000 (irq = 5) is a S3C4510B
ttyS01 at 0x3ffe000 (irq = 7) is a S3C4510B
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 2 disk images:
0: D6A38-1A5237 [VIRTUAL D6A38-1A5237] (RO)
1: D6A38-1A5237 [VIRTUAL D6A38-1A5237] (RO)
RAMDISK driver initialized: 16 RAM disks of 1024K size 1024 blocksize
Samsung S3C4510 Ethernet driver version 0.1 (2002-02-20) <
mac@os.nctu.edu.tw>
eth0: 00:40:95:36:35:34
Linux Kernel Card Services 3.1.22
  options:  none
Intel ISA PCIC probe: not found.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
ds: no socket drivers loaded!
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 44K
Shell invoked to run file: /etc/rc
Command: hostname Samsung
Command: /bin/expand /etc/ramfs.img /dev/ram0
Command: mount -t proc proc /proc
Command: mount -t ext2 /dev/ram0 /var
Command: mkdir /var/config
Command: mkdir /var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir /var/lock
Command: mkdir /var/empty
Command: cat /etc/motd
Welcome to
          ____ _  _
         /  __| ||_|                 
    _   _| |  | | _ ____  _   _  _  _
   | | | | |  | || |  _ \| | | |\ \/ /
   | |_| | |__| || | | | | |_| |/    \
   |  ___\____|_||_|_| |_|\____|\_/\_/
   | |
   |_|

For further information check:
http://www.uclinux.org/

Command: ifconfig lo 127.0.0.1
Command: route add -net 127.0.0.0 netmask 255.255.255.0 lo
route: Bad command or file name
Command:
Command: ifconfig eth0 192.168.168.101 up
Command: dhcpcd &
[13]
Command: httpd &
[14]
Execution Finished, Exiting

Sash command shell (version 1.1.1)
/>


至此标准的uClinux已经启动成功

目前我找到了此板原配的pcmcia无线网卡的linux驱动,但不知道如何驱动板上的pcmcia接口,所以目前pcmcia接口没有用。
可以编辑开发环境uClinux-dist/vendors/Samsung/4510B目录内的rc文件来执行初始化命令,我成功地在PC机上显示了此目标板上自己编写的的html页面,可以用来做一个web server。


我求助的问题是
怎么驱动板上的pcmcia接口,进而驱动此板上的11M无线网卡
目前知道的时此板是通过可编程逻辑器件与pcmcia接口相连的

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
 楼主| 发表于 2011-10-17 19:27 | 显示全部楼层
本帖最后由 qhuaz 于 2011-10-17 19:47 编辑

图片总算贴上来了,原来要求图片大小在200KB以下才能贴上来
发表于 2011-10-17 21:27 | 显示全部楼层
自己太小白。看不懂。。。。。。。。。。。。。
发表于 2011-10-17 21:50 | 显示全部楼层
木有玩ARM
不过可以去www.ourdev.cn
提问题看有没有人回答 之前该论坛有人提出用路由板
做最便宜的ARM开发板
发表于 2011-10-18 00:40 | 显示全部楼层
S3C4510B 早已停产 而且GPIO很少 无开发价值
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-6-2 07:21

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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