Ubuntu下安装Skyeye

时间:2023-02-22 16:35:47

ubuntu12下安装skyeye1.3.2

1.首先安装skyeye的依赖包,比如gtk的依赖,一般Ubuntu 都默认安装了,稳妥起见,运行下面的代码:

sudo apt-get install libgtk2.0-dev pkg-config libatk1.0-dev libpango1.0-dev libfreetype6-dev libglib2.0-dev libx11-dev binutils-dev

2.安装skyeye

sudo apt-get install skyeye

3.在终端下执行skyeye,运行出错

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

在ubuntu 10.04LTS中,libbfd的版本是libbfd-2.20.1-system.20100303.so,把libbfd-2.20.1-system.20100303.so拷贝一份,然后将文件名改成libbfd- 2.19.90.20090909.so就可以了。libbfd-2.20.1-system.20100303.so在/usr/lib目录下。

sudo cp /usr/lib/libbfd-2.20.1-system.20100303.so /usr/lib/libbfd-2.19.90.20090909.so

sudo mv /usr/lib/libbfd-2.20.1-system.20100303.so /usr/lib/libbfd-2.20.so.bak

然后终端下输入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-developer@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

启动成功。。。

转自:http://blog.chinaunix.net/uid-11829250-id-337283.html

我自己的Ubuntu是12,最好下载最新的Ubuntu,不然apt-get会出错,因为旧的Ubuntu不支持了。本文是最简单的Skyeye的安装方法。

目前没有mini2440还未到手,只能先模拟运行padgin软件。

————————————签名——————————————

你必须相信点滴的进步会连接着你的未来,否则,你就没有未来。

————————————进展——————————————

没有硬件,只能先用软件模拟。不顺利,牵扯的太多。