Install cygwin and Skyeye

Source: Internet
Author: User
Tags builtin
I chose the application of RFID data transmission in arm and had to learn some Linux and embedded knowledge. So I had to collect data on the Internet. I heard that Skyeye can be used to simulate the hardware platform, skeye is running in a Linux environment. cygwin can simulate Linux on a Windows platform, which solves my problem. Many materials are obtained from the Linux community in China. Thanks to these fans, http://www.linuxfans.org/nuke/modules.php? Name = forums & file = viewforum & F = 58

Download cygwin from their website, from http://gro.clinux.org/frs? Group_id = 327 & release_id = 808 download Skyeye. I useSkyeye-cygwin-WindowsVersion.

There is a problem when running Skyeye. The following is a prompt.
$./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 * shocould *
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
$

 

Obviously, you just need to delete the excess cygwin1.dll.

 

Run 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) # June 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: 4 MB = 4 MB total
Memory: 2992kb available (831 K code, 175 K data, 40 k 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 uniix
Linux net4.0 in 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 kenth albanowski
Blkmem 1 Disk Images:
0: 1400000-14ddfff [Virtual 1400000-14ddfff] (RO)
Ramdisk driver initialized: 16 RAM disks of 4096 K size 1024 blocksize
Skyeye ne2k Ethernet driver version 0.2)
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, 4 Kbytes
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
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
______
/__ | _ |
_ | _________
| _/| ////
| _ | |__ | _ | //
| ___/____ | _ |/____ | /_//_/
|
| _ |

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)
/>

 

In this way, the uClinux system is started.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.