Install and test SkyEye on Ubuntu 16.04

Source: Internet
Author: User
Tags builtin

Install and test SkyEye on Ubuntu 16.04

To learn more, install SkyEye on Ubuntu 16.04.

I. Check the supported software packages

Gcc,
Make,
Vim (optional ),
Ssh,
Subversion
Binutils-dev (bfd)
Atk-dev (libatk1.0-dev)
Gtk +-2.0-dev (libgtk2.0-dev)
Pkg-config
Pango-dev (libpango1.0-dev)
Freetype2-dev (libfreetype6-dev)
Glib-dev (libglib2.0-dev)
X11-dev (libx11-dev)

We recommend that you enter the sudo apt-get install package in the terminal to check one by one, for example, The sudo apt-get install libx11-dev is used to check whether the x11-dev is installed. Run sudo apt-get install skyeye in Ubuntu16.04 to install it successfully. If the system prompts that a package is missing during installation, follow the prompts to install it.

Ii. Install skyeye

1. We recommend that you enter sudo apt-get install skyeye in the terminal for installation. The default installation version is 1.2.5 ,.

2. You can also download the source code package for compilation and installation. The source code installation method is as follows:

(1)、download source code package skyeye-1.2.5_rel.tar.gz

(2) decompress the source package:

Tar-zxvf skyeye-1.2.5_REL.tar.gz

(3) enter the command to start Compilation:

./Configure

Make NO_DBCT = 1 NO_BFD = 1

3. Check whether skyeye is correctly installed

Enter skyeye in the terminal and press Enter. If the following information is displayed, the installation is correct.

* *************************** WARNING *********** ***********************
If you want to run ELF image, you should use-e option to indicate
Your elf-format image filename. Or you only want to run binary image,
You need to set the filename of the image and its entry in nf.
**************************************** *******************************

Your elf file is little endian.
Failed to open skyeye config file nf in the same directory
Error: No such file or directory
SkyEye 1.2.5
Bug report: skyeye-developer @ list
Usage: skyeye [options]-e program [program args]
Default mode is STANDALONE mode
------------------------------------------------------------------
Options:
-E exec-file the (ELF executable format) kernel file name.
-L load_address, load_address_mask
Load ELF file to another address, not its entry.
-B specify the data type is big endian when non "-e" option.
-D in GDB Server mode (can be connected by GDB ).
-C config-file the skyeye configure file name.
-H The SkyEye command options, and ARCHs and CPUs simulated.
------------------------------------------------------------------
----------- Ubuntures and CPUs simulated by SkyEye -------------
-------- ARM ubuntures ---------
At91
Lpc
Initi4510b
Jx44b0x
Jx44b0
Cloudfront
Ep7312
Lh79520
Ep9312
Cs89712
Sa1100
Pxa_lubbock
Pxa_mainstone
At91rm92
S3c2410x
S3c2440
Sharp_l1_a400
Ns9750
-------- BlackFin ubuntures ----
Bf533
Bf537

If the preceding information is not displayed, the following message appears:

Skyeye: error while loading shared libraries: libbfd-2.19.90.20090909.so: cannot open shared object file: No such file or directory

Solution: In Ubuntu 16.04, The libbfd version is a libbfd-2.20.1-system.20100303.so, And the need is libbfd-2.19.90.20090909.so, manually create a symbolic link, enter the following command in the terminal: sudo ln-s/usr/lib/libbfd-2.20.1-system.20100303.so/usr/lib/libbfd-2.19.90.20090909.so and press enter, OK! Execute the skyeye command on the terminal to print the correct information.

4. Test

Download the skyeye-testsuite-1.2.5, decompress with tar jxvf, enter the skyeye-testsuite-1.2.5/uClinux/at91/uclinux_cs8900a in the terminal, execute the following command: sudo skyeye-e linux, will print the following information:

Your elf file is little endian.
Arch: arm
Cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
Mach info: name at91, mach_init addr 0x80605a0
Ethmod num = 1, mac addr = 0: 0: 0: 0: 0: 0, hostip = 10.0.0.1
Uart_mod: 0, desc_in:, desc_out:, converter:
SKYEYE: use arm7100 mmu ops
Loaded ROM./romfs. img
Exec file "linux"'s format is elf32-little.
Load section. init: addr = 0x01000000 size = 0x0000a000.
Load section. text: addr = 0x0100a000 size = 0x000e1cd0.
Load section. data: addr = 0x010ec000 size = 0x0000a434.
Not load section. bss: addr = 0x010f6440 size = 0x000222c0.
Call ARMul_InitSymTable, kernel filename is linux.
Start addr is set to 0x01000000 by exec file.
Linux version 2.4.27-uc1 (skyeyeuser @ debian) (gcc version 2.95.3 20010315 (release) (ColdFire patches-20010318 from) (uClinux XIP and shared lib patches from )) #3 Tue Aug 9 18:57:29 CST 2005
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... 15.82 BogoMIPS
Memory: 4 MB = 4 MB total
Memory: 2916KB available (903 K code, 178 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-1512BFF [VIRTUAL 1400000-1512BFF] (RO)
RAMDISK driver initialized: 16 RAM disks of 4096 K size 1024 blocksize
Cirrus Logic CS8900A driver for Linux (V0.02)
Eth0: CS8900A rev D detected
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: mkdir/var/empty
Command: cat/etc/motd
Welcome

______
/__ | _ |
_ | _________
| _ \ | | \\//
| _ | |__ | _ | /\
| ___ \____ | _ | \____ | \_/\_/
|
| _ |

GDB/ARMulator support by <>
For further information check:

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

Sash command shell (version 1.1.1)

Then you can enter some commands for testing, such as ls, cd, and other common system commands.

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.