Install SkyEye and test on Ubuntu 16.04

Source: Internet
Author: User
Tags builtin

Note that the installation of the SkyEye method on Ubuntu 16.04 is not original, it is from the Internet and is for learning reference only.

1. Check the support package

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)

It is recommended that you enter the sudo apt-get install package in the terminal to check individually, for example sudo apt-get install Libx11-dev to check whether the X11-dev is installed. I use the Ubuntu16.04 system directly running sudo apt-get install SkyEye can be installed successfully, the installation process if the system prompts for a missing package, and then follow the prompts to install.

2. Installing SkyEye

It is recommended that you enter the sudo apt-get install SkyEye in the terminal to install, or you can download the source package for compilation and installation, this does not introduce the compilation installation method.

3. Check SkyEye installation is correct

Enter SkyEye in the terminal and return, if the following information appears, 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 are 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: [Email protected]
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 is connected by gdb).
-C Config-file The SkyEye configure file name.
-H The SkyEye command options, and Archs and CPUs simulated.
------------------------------------------------------------------
-----------architectures and CPUs simulated by SkyEye-------------
--------ARM Architectures---------
At91
Lpc
s3c4510b
s3c44b0x
S3c44b0
s3c3410x
ep7312
lh79520
ep9312
cs89712
sa1100
Pxa_lubbock
Pxa_mainstone
At91rm92
s3c2410x
s3c2440
sharp_lh7a400
ns9750
--------BlackFin Architectures----
bf533
bf537

If the above information does not appear, it appears:

Skyeye:error while loading shared libraries:libbfd-2.19.90.20090909.so:cannot open Shared object file:no such file or Directory

Workaround: in Ubuntu 16.04 in LIBBFD version is libbfd-2.20.1-system.20100303.so, and 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 enter, ok! in the terminal Execution SkyEye command, will print out the correct information.

4. Testing

Download skyeye-testsuite-1.2.5, unzip with tar jxvf, enter skyeye-testsuite-1.2.5/uclinux/at91/uclinux_cs8900a in the terminal, execute the following command: sudo SKYEYE-E Linux, the following information will be printed:

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 the set to 0x01000000 by exec file.
Linux version 2.4.27-uc1 ([email protected]) (GCC version 2.95.3 20010315 (release) (ColdFire patches-20010318 from) (uCl Inux XIP and shared lib patches from) #3 Tue 9 18:57:29 CST 2005
Processor:atmel at91m40xxx Revision 0
Architecture:eb01
On Node 0 totalpages:1024
Zone (0): 0 pages.
Zone (1): pages.
Zone (2): 0 pages.
Kernel Command Line:root=/dev/rom0
Calibrating delay loop ... 15.82 Bogomips
MEMORY:4MB = 4MB Total
MEMORY:2916KB available (903K code, 178K 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-1512BFF [VIRTUAL 1400000-1512BFF] (RO)
RAMDISK driver initialized:16 RAM disks of 4096K size 1024x768 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 buckets, 4Kbytes
Tcp:hash tables configured (established 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:mkdir/var/empty
Command:cat/etc/motd
Welcome to

____ _ _
/ __| || _|
_   _| | | | _ ____ _   _ _ _
| | | | | | || | _ \| | | |\ \/ /
| |_| | |__| || | | | | |_| |/    \
| ___\____|_|| _|_| |_|\____|\_/\_/
| |
|_|

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)


You can then enter some commands for testing, such as LS, CD, and other common system commands.

Install SkyEye and test on Ubuntu 16.04

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.