cygwin和skyeye的安装

毕业论文选了RFID数据传输在arm中的应用,不得不学些linux和嵌入式的知识,于是在网上大肆得搜集资料,听说可以用skyeye模拟硬件平台,skeye要运行在linux环境下,cygwin恰恰可以在windows平台下模拟linux,正好解决了我的问题,很多资料都是从中国linux公社获取的,应该感谢这些fans,http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewforum&f=58

   从他们网站上下载下cygwin,从http://gro.clinux.org/frs/?group_id=327&release_id=808上下载skyeye,我用的是skyeye-cygwin-windows版本.

   运行skyeye时有点问题,以下是提示信息.
 $ ./skyeye.sh
D:/cygwin/bin/bash.exe (3292): *** system shared memory version mismatch detecte
d - 0x75BE0074/0x75BE0084.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:/cygwin/bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
   3701 [main] bash 1592 fork_parent: child 3292 died waiting for longjmp before
 initialization
bash: fork: No error

neily@javacm /tmp/skyeye.win32
$

 

问题很明显,只要把多余的cygwin1.dll 删除就行了.

 

接着运行uclinux


(SkyEye) file linux
A program is being debugged already.  Kill it? (y or n) y

Reading symbols from linux...(no debugging symbols found)...done.
(SkyEye) target sim
Connected to the simulator.
(SkyEye) load
Loading section .init, size 0xa000 vma 0x1000000
Loading section .text, size 0xcfdb0 vma 0x100a000
Loading section .data, size 0x9154 vma 0x10da000
Start address 0x1000000
Transfer rate: 7436320 bits in <1 sec.
(SkyEye) run
Starting program: /tmp/skyeye.win32/demo-uclinux3/linux
Linux version 2.4.20-uc0 (root@pretty.com) (gcc version 2.95.3 20010315 (release
)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(-msep-data patch
es)) #16 四 6月 5 10:19:33 CST 2003
Processor: Atmel AT91M40xxx revision 0
Architecture: EB01
On node 0 totalpages: 1024
zone(0): 0 pages.
zone(1): 1024 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 12.97 BogoMIPS
Memory: 4MB = 4MB total
Memory: 2992KB available (831K code, 175K data, 40K init)
Dentry cache hash table entries: 512 (order: 0, 4096 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: 1024 (order: 0, 4096 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
Atmel USART driver version 0.99
ttyS0 at 0xfffd0000 (irq = 2) is a builtin Atmel APB USART
ttyS1 at 0xfffcc000 (irq = 3) is a builtin Atmel APB USART
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 1400000-14DDFFF [VIRTUAL 1400000-14DDFFF] (RO)
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
SkyEye NE2k Ethernet driver version 0.2 (2003-04-27)
sene2k dev name: eth0: <6>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)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Shell invoked to run file: /etc/rc
Command: hostname GDB-ARMulator
Command: /bin/expand /etc/ramfs.img /dev/ram0
Command: mount -t proc proc /proc
mount: /etc/mtab: Read-only file system
Command: mount -t ext2 /dev/ram0 /var
mount: /etc/mtab: Read-only file system
Command: mkdir /var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir /var/lock
Command: cat /etc/motd
Welcome to
          ____ _  _
         /  __| ||_|
    _   _| |  | | _ ____  _   _  _  _
   | | | | |  | || |  _ /| | | |/ // /
   | |_| | |__| || | | | | |_| |/    /
   |  ___/____|_||_|_| |_|/____|/_//_/
   | |
   |_|

GDB/ARMulator support by <davidm@snapgear.com>
For further information check:
http://www.uclinux.org/

Command: /bin/ifconfig eth0 up 10.0.0.2
Execution Finished, Exiting

Sash command shell (version 1.1.1)
/>

 

这样就进入了uclinux系统.

 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值