SKYEYE SIMULATOR.

105 views
Skip to first unread message

kavi tha

unread,
Oct 21, 2010, 12:43:09 AM10/21/10
to skyeye-simulator
hi sir,
I am doing the project using skyeye simulator.I installed skyeye
1.2.5 version in ubuntu 10.0. As i am a new user i doesnt know how to
configure and execute the file.

after installing the folloeing commands are disaplayed...

ranjith@ranjith-desktop:~$ skyeye

**************************** 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
skyeye.conf.
***********************************************************************

Your elf file is little endian.
Failed to open skyeye config file skyeye.conf in the same directory
error: No such file or directory
SkyEye 1.2.5
Bug report: skyeye-d...@lists.gro.clinux.org
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.
------------------------------------------------------------------
----------- 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
ranjith@ranjith-desktop:~$

I have read the before discussions..I installed IAR in windows xp.I
tried for .elf format..but not suceeded..how to overcome these
problems?
can any one help me by sending the images of installation process?

Thanks & Regards,
kavi

ravi teja

unread,
Oct 21, 2010, 2:16:48 AM10/21/10
to skyeye-s...@googlegroups.com
Hi kavi,
     It is pretty easy to use skyeye. All you need is skyeye configuration file for your board. This configuration file contains information you need to pass to skyeye, that tells about the target you are working on. Like the cpu, memory mapping, device configurations, etc your board has. An example of it is like this,

#skyeye config file sample
cpu: arm7tdmi

mach: at91

mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000, file=./romfs.img
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000
net: type=rtl8019, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
#net: type=rtl8019_16, ethmod=tuntap, hostip=10.0.0.1
#dbct: state=on
This config file is for At91. by the way which cpu you want to simulate. depending on that you can modify this file. Then execute this command,

skyeye -e some_elf_file -c your_config_file

some_elf_file - points to the elf binary file you want to simulate
your_config_file - points to the configuration file you have edited to fit your needs

I am planning to make a small tutorial for this on my blog. When i am finished, i will inform you.

Regards,
Ravi Teja

sai6...@gmail.com

unread,
Mar 11, 2016, 12:36:58 AM3/11/16
to skyeye-simulator, kavit...@gmail.com


But how to generate the skyeye conf file because when i am compiling my code it is showing the following error


[saiganeshk@DT_India_83 ~/M451-master.zip_FILES]$ skyeye -e gpio.elf -c skyeye.conf
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should note remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
 pen_buffer not implemented.
(skyeye)start
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
In do_mach_option, mach info: name at91, mach_init addr 0x2b453a9dfb10

uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
SKYEYE: use arm7100 mmu ops
exec file "gpio.elf"'s format is elf64-x86-64.
load section .text: addr = 0x00000000  size = 0x000001b4.
skyeye: bus/ram.c:101: mem_write_byte: Assertion `global_mbp != ((void *)0)' failed.
Abort

Please clarify this , thanks in advance
 
Reply all
Reply to author
Forward
0 new messages