QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 11352|回复: 18

Skyeye安装笔记

[复制链接]
发表于 2006-4-8 01:24:50 | 显示全部楼层 |阅读模式
Skyeye安装笔记
作者:姜江
QQ:457283
Blog:http://blog.csdn.net/jznsmail

1.简介
    SkyEye是一个开源软件项目,它是在Linux和Windows平台上实现一个纯软件模拟集成开发环境,模拟常见的嵌入式系统。可以在SkyEye上运行Linux,uClinux以及uC/OS-II等多款嵌入式操作系统和各种系统软件。
    目前最新版本的SkyEye是skyeye-1.2-RC6.tar.bz2版本,该版本可以从www.skyeye.org获取。SkyEye目前支持多款嵌入式处理器:
    ATMEL AT91X40
    PHILIPS LPC2xxxx
    Samsung s3c4510b
    Samsung s3c44b0
    Cirrus Logic EP7312
    sharp LH79520
    Cirrus Logic EP9312
    cs89712
    sa1100
    xscale pxa250 lubbock developboard
    xscale pxa270 mainstone developboard
    at91RM9200
    s3c2410x
    s3c2440
    sharp lh7a400 developbaord
    NetSilicon ns9750
    Philips LPC2210

    对于附加设备该项目已经完成对Flash,LCD,Network Interface Card,touchsceen, UART的支持

2.SkyEye的安装
    下面我就以最新版本的skyeye-1.2.RC6为例子安装SkyEye.
    我的系统配置入下
    操作系统: Fedora Core 2 Linux(2.4.x)
    GCC Version: 3.3.2
    arm-elf-gcc Version: 2.95.3 20010315

    首先从www.uClinux.org下载arm-elf-tools,里面包含arm-elf-gcc, arm-elf-ld等工具。下载后可以通过如下方式安装:
    $su -c './arm-elf-tools-20030315.sh'
    $password:

    安装完毕后,可以进入存放skyeye的目录,例如我的是放在/home/jelly/download/目录。然后进行解压。
    $cd ~/download
    $ls
    skyeye-1.2-RC6.tar.bz2

    $tar jxvf skyeye-1.2-RC6-tar.bz2
   
    然后进入解压的skyeye目录
    $cd skyeye-v1
   
    最后使用make命令进行软件的安装,编译完毕后会在binary生成一个skyeye可执行文件,该文件就是skyeye模拟器了。
    使用make命令的时候可以加入一些选项参数,例如:
    不允许DBCT
    $make NO_DBCT=1

    不支持LCD
    $make NO_LCD=1

    不支持BFD库
    $make NO_BFD=1

    不支持网络设备
    $make NO_NET=1

    如果在binary目录下生成了skyeye文件,那么安装成功。下面我以uClinux为例子,在skyeye上模拟。
    可以通过使用-h参数来获取帮助
    $skyeye -h
------------------------- SkyEye -V1.2 ---------------------------
Usage: SkyEye [options] -e program [program args]
Default mode is STANDALONE mode
------------------------------------------------------------------
Options:
-e exec-file        the (ELF executable format)kernel file name.
-d                  in GDB Server mode (can be connected by GDB).
-c config-file      the skyeye configure file name.
-h                  This Help Display
-v                  This shows arch and cpu supported
------------------------------------------------------------------
    -e 指定elf各式的内核文件
    -d GDB调试模式
    -c 指定配置文件
    -h 获取帮助
    -v 显示体系结构和CPU支持信息(不知道是不是我用的这个版本没有实现该功能,使用-v选项后显示:Unknown option '-v')


3.uClinux移植
    从www.uclinux.org网站上下载比较新的内核包文件,并且解压。
    $tar xvzf uClinux-dist-xxxxxxxx.tar.gz
    进入生成的uClinux-dist目录
    可以使用make xconfig - 图形配置模式,make menuconfig - 菜单模式配置,方式来配置uClinux.
    在uClinux-dist目录下执行:
    $make xconfig

    在Target Platform Selection选项卡中选择:
    Vendor/Product: GDB/ARMulator
    Kernel Version: linux-2.4.x
    Libc Version: uC-libc
    然后选择save and exit

    完成配置后,可以使用make dep建立内核依赖关系,然后使用make编译内核和文件系统
    $make dep; make

    经过一段时间的编译后,如果没有出现错误,则在uClinux-dist目录下的images目录里会建立如下几个文件:
    image.bin linux.data linux.text. romfs.img
    该romfs.img就是我们需要的文件系统映象了
    同时,在uClinux-dist/linux-2.4.x/目录下会生成linux,该文件是一个我们需要模拟的内核文件。

    接下来我们可以使用skyeye软件来模拟我们编译的uClinux系统了。
    我们在uClinux-dist目录下建立一个名为skyeye.conf的配置文件。
    内容如下:
    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=images/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
    lcd: state=on

    保存退出

    然后在uClinux-dist目录里执行~/download/skyeye-v1/binary/skyeye -e linux-2.4.x/linux
    看看uclinux是不是跑起来了?
    下面是我的输出

arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x80727e0
can't find device module: (null)
SKYEYE: use arm7100 mmu ops
Loaded ROM   images/romfs.img
exec file "linux-2.4.x/linux"'s format is elf32-little.
load section .init: addr = 0x01000000  size = 0x0000a000.
load section .text: addr = 0x0100a000  size = 0x000c5ca0.
load section .data: addr = 0x010d0000  size = 0x00008320.
not load section .bss: addr = 0x010d8320  size = 0x00022198 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x00039846 .
not load section .debug_info: addr = 0x00000000  size = 0x016b812f .
not load section .debug_line: addr = 0x00000000  size = 0x00378ef3 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0000b40d .
not load section .debug_aranges: addr = 0x00000000  size = 0x000022e0 .
start addr is set to 0x01000000 by exec file.
Linux version 2.4.19-uc1 ([email protected]) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)) #1 五 4#1 五 4月 7 23:41:40 CST 2006
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: 4MB = 4MB total
Memory: 3036KB available (791K code, 170K 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-145DBFF [VIRTUAL 1400000-145DBFF] (RO)
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
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 /proc
Command: mount -t ext2 /dev/ram0 /var
Command: mkdir /var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir /var/lock
Command: cat /etc/motd
Welcome to
          ____ _  _
         /  __| ||_|
    _   _| |  | | _ ____  _   _  _  _
   | | | | |  | || |  _ \| | | |\ \/ /
   | |_| | |__| || | | | | |_| |/    \
   |  ___\____|_||_|_| |_|\____|\_/\_/
   | |
   |_|

GDB/ARMulator support by <[email protected]>
For further information check:
http://www.uclinux.org/

Execution Finished, Exiting

Sash command shell (version 1.1.1)
/>

    对于skyeye.conf文件的一点说明
    对于skyeye-v0.2.5版本之前的skyeye使用的是memmap.conf文件,而之后的是使用skyeye.conf文件
    cpu: 指定CPU类型,如arm7tdmi,arm720t等
    mach: 开发板类型,如at91, ep7312
    mem_bank: 内存块
              map=M 指定为rom/ram, map=I 指定为IO空间
              type=RW 可读写,type=R 只读
              addr=0x00000000 内存块开始地址
              size=0x10000000 内存块大小
              files=romfs.img 文件系统映象文件
    net: 网络配置
              state=on 模拟NIC,等于off则不模拟
              mac=0:4:3:2:1:f 指定MAC地址
              ethmod=tuntap/vnet 使用虚拟驱动
              hostip= 指定ip地址
              例如:net: state = on, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1

    uart: 串口支持
              fd_in= 指定输入文件
              fd_out= 指定输出文件
              例如:uart: fd_in=/dev/ttyS0, fd_out=/dev/ttyS1
              则你可以使用minicon来监听COM1口来进行数据交换

    LCD:LCD模拟
              state = on/off 打开或者关闭LCD模拟

4.SkyEye调试功能
    要使用SkeyEye调试功能,可以在执行的时候加入-d参数,例如:
    $skyeye -e linux -d
    这时就在本机的12345端口开启了gdb服务

    这时重新开一个终端程序
    $arm-elf-gdb linux
    (gdb)target remote 127.0.0.1:12345
    此时就可以象使用本地gdb一样来调试服务端的uClinux了。


5.参考文档
    1.skyeye源码
    2.SkyEye User Manual http://skyeye.sourceforge.net/wiki/UserManual
    3.skyeyelcdts http://gro.clinux.org/frs/download.php/789/SkyEyelcdtouchscreen4gro.pdf
    4.skyeyeinternal http://gro.clinux.org/frs/download.php/719/skyeyeinternal-0.6.8.pdf
    5.hardwaredoc4skyeye http://gro.clinux.org/frs/download.php/835/hardwaredoc4skyeye.tar.bz2
发表于 2006-4-11 08:54:42 | 显示全部楼层
jellycn兄
能否把你编译的可执行skyeye给我发一份?
我编译的有点问题,可能和编译环境有关系。
[email protected]
回复

使用道具 举报

发表于 2006-4-12 04:48:41 | 显示全部楼层
文章已拷贝到wiki上,欢迎继续完善!

http://skyeye.sourceforge.net/wiki/InstallNotesCn
回复

使用道具 举报

 楼主| 发表于 2006-4-13 16:51:25 | 显示全部楼层
[quote:a60db37c9a="lilofreeman"]jellycn兄
能否把你编译的可执行skyeye给我发一份?
我编译的有点问题,可能和编译环境有关系。
[email protected][/quote]

你好,请你给我发送一封电子邮件,我将编译好的skyeye发给你。我的电子邮件是[email protected]
回复

使用道具 举报

 楼主| 发表于 2006-4-13 16:54:36 | 显示全部楼层
lilofreeman,请你发送一封电子邮件给我,注明skyeye编译文件,我发给你。。。E-mail:[email protected]
回复

使用道具 举报

发表于 2006-4-14 08:57:10 | 显示全部楼层
jellycn兄,以按要求发送。谢谢
回复

使用道具 举报

发表于 2006-4-14 09:34:20 | 显示全部楼层
If anyone can write a same english version , that willbe great.....
回复

使用道具 举报

 楼主| 发表于 2006-4-14 21:39:10 | 显示全部楼层
Skyeye Installation Notes
Author: Jiang Jiang
E-mail: [email protected]
Blog:http://blog.csdn.net/jznsmail

1.Introduction
    SkyEye is an Open Source Software Project(GPL Licence).The goal of SkyEye is to provide an integrated simulation environment in Linux and Windows.SkyEye environment simulates typical Embedded Conputer Sysytems, such as Linux, uClinux, uC/OS-II and can analyze or debug in source level.
    The latest version of SkyEye is skyeye-1.2-RC6.tar.bz2.You can download the source code and related packages from http://www.skyeye.org.Now the following hardwares can be simulated by SkyEye:
    CPU Core:
        ARM7TDMI
        ARM720T
        StrongARM
        XScale
        Blackfin
    Application CPU:
        ATMEL AT91X40
        PHILIPS LPC2xxxx
        Samsung s3c4510b
        Samsung s3c44b0
        Cirrus Logic EP7312
        sharp LH79520
        Cirrus Logic EP9312
        cs89712
        sa1100
        xscale pxa250 lubbock developboard
        xscale pxa270 mainstone developboard
        at91RM9200
        s3c2410x
        s3c2440
        sharp lh7a400 developbaord
        NetSilicon ns9750
        Philips LPC2210
    Memory:
        RAM
        ROM
        FLASH
    Peripheral:
        Timer
        UART
        NIC chip
        LCD
        TouchScreen

2.Installation of SkyEye
    Now we install skyeye by the latest version of SkyEye(skyeye-1.2.RC6).
    The configuration of host computer is:
    Operating System: Fedora Core 2 Linux(2.4.x)
    GCC Version: 3.3.2
    arm-elf-gcc Version: 2.95.3 20010315

    First, download the arm-elf-tools, which contain arm-elf-gcc, arm-elf-ld etc, from www.uClinux.org and install it as following:
    $su -c './arm-elf-tools-20030315.sh'
    $password:

    After installation of arm-elf-tools, we can enter the download directory of SkyEye(Our directroy is /home/jelly/download/).
    $cd ~/download
    $ls
    skyeye-1.2-RC6.tar.bz2

    Second,decompress the  compressed package of SkyEye
    $tar jxvf skyeye-1.2-RC6-tar.bz2
   
    Enter the directory of SkyEye
    $cd skyeye-v1
   
    The last, compile the source code of SkyEye by 'make' command.After compiling,the executable file of SkyEye will be created in binary directory.
    The Option argument fo make command is following:
   
    To compile the bianry as static, which allows for easy distribution:
    $make STATIC=1

    To disable DBCT do the following:
    $make NO_DBCT=1

    To disable compiling with the LCD do the following:
    $make NO_LCD=1

    To disable compiling the BFD library do the following:
    $make NO_BFD=1

    To disable compiling the network device support do the following:
    $make NO_NET=1

    If successful compiling,the executable file of skyeye will be created in the binary directory. You can use '-h' option argument for more help information.
    $skyeye -h
    ------------------------- SkyEye -V1.2 ---------------------------
    Usage: SkyEye [options] -e program [program args]
    Default mode is STANDALONE mode
    ------------------------------------------------------------------
    Options:
    -e exec-file        the (ELF executable format)kernel file name.
    -d                  in GDB Server mode (can be connected by GDB).
    -c config-file      the skyeye configure file name.
    -h                  This Help Display
    -v                  This shows arch and cpu supported
    ------------------------------------------------------------------
   
    -e specify the kernel file name(ELF executable format)
    -d in GDB server debug mode(can be connected by GDB)
    -c specify skyeye configure file name
    -h display help information
    -v display the architectrue and cpu supported information.(But when we used this option, the terminal displaied "Unknown option '-v'".We are puzzled.I think it haven't implemented in this version)


3.Compiling uClinux Kernel
    First, download the latest version of uClinux compressed pakcage from www.uclinux.org and decompress.
    $tar xvzf uClinux-dist-xxxxxxxx.tar.gz
  
    Enter the directory of uClinux-dist and use configuration command to configure kernel.
    Following is the available configuration command:
    make xconfig - configuration mode with GUI
    make menuconfig - menu configuration mode with terminal
  
    $make xconfig

    In the Target Platform Selection Option Table:
    Vendor/Product: select GDB/ARMulator
    Kernel Version: select linux-2.4.x
    Libc Version: select uC-libc
   
    Click save and exit button for saving and exiting

    To build dependence and compile kernel, file system to do following:
    $make dep; make

    If no error message display on terminal, the following files will be created in images directory.
    image.bin, linux.data, linux.text. romfs.img, uClinux-dist/linux2.4.x/linux

    romfs.img - file system image
    uClinux-dist/linux2.4.x/linux - kernel image

    If we wanna simulate the uClinux kernel, we must create a configuration file named 'skyeye.conf'.
    For example, we can create skyeye.conf file as following:
    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=images/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
    lcd: state=on

    Saving and exiting

    Now, we can use skyeye to run this uClinux kernel as following:
    $~/download/skyeye-v1/binary/skyeye -e linux-2.4.x/linux
   
    The detial informtion will be dispaly on terminal, as following:

    arch: arm
    cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
    mach info: name at91, mach_init addr 0x80727e0
    can't find device module: (null)
    SKYEYE: use arm7100 mmu ops
    Loaded ROM   images/romfs.img
    exec file "linux-2.4.x/linux"'s format is elf32-little.
    load section .init: addr = 0x01000000  size = 0x0000a000.
    load section .text: addr = 0x0100a000  size = 0x000c5ca0.
    load section .data: addr = 0x010d0000  size = 0x00008320.
    not load section .bss: addr = 0x010d8320  size = 0x00022198 .
    not load section .debug_abbrev: addr = 0x00000000  size = 0x00039846 .
    not load section .debug_info: addr = 0x00000000  size = 0x016b812f .
    not load section .debug_line: addr = 0x00000000  size = 0x00378ef3 .
    not load section .debug_pubnames: addr = 0x00000000  size = 0x0000b40d .
    not load section .debug_aranges: addr = 0x00000000  size = 0x000022e0 .
    start addr is set to 0x01000000 by exec file.
    Linux version 2.4.19-uc1 ([email protected]) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)) #1 五 4#1 五 4月 7 23:41:40 CST 2006
    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: 4MB = 4MB total
    Memory: 3036KB available (791K code, 170K 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-145DBFF [VIRTUAL 1400000-145DBFF] (RO)
    RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP
    IP: routing cache hash table of 512 buckets, 4Kbytes
    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 /proc
    Command: mount -t ext2 /dev/ram0 /var
    Command: mkdir /var/tmp
    Command: mkdir /var/log
    Command: mkdir /var/run
    Command: mkdir /var/lock
    Command: cat /etc/motd
    Welcome to
              ____ _  _
             /  __| ||_|
        _   _| |  | | _ ____  _   _  _  _
       | | | | |  | || |  _ \| | | |\ \/ /
       | |_| | |__| || | | | | |_| |/    \
       |  ___\____|_||_|_| |_|\____|\_/\_/
       | |
       |_|

    GDB/ARMulator support by <[email protected]>
    For further information check:
    http://www.uclinux.org/

    Execution Finished, Exiting

    Sash command shell (version 1.1.1)
    />

   Description detail of configure files:
   The memmap.conf and skyeye.conf  are all skyeye's hardware configure files.The memmap.conf is for skyeye-v0.2.5-.The skyeye.conf is for skyeye-v0.2.5+.
    cpu: specify CPU type,For example:arm7tdmi,arm720t etc.
    mach: develop board type,For example:at91, ep7312 etc.
    mem_bank: memory bank
              map=M means rom or ram, map=I means mapped IO space
              type=RW means can be read and written,type=R means read only.
              addr=0x00000000 means the mem bank's beginning address.
              size=0x10000000 means the mem bank's memory size.
              files=romfs.img is the filesystem image files
   
    net: Network configure
              state=on/off means simulated NIC is wired or not
              mac=0:4:3:2:1:f means the mac address in simulated NIC
              ethmod=tuntap/vnet means the virtual driver used in host environment
              hostip= means the ip address in host environment to interactive with skyeye
            
              For example:net: state = on, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1

    uart: Serial port configure
              fd_in= specify the input file description in simulated UART
              fd_out= specify the output file description in simulated UART

              For example:uart: fd_in=/dev/ttyS0, fd_out=/dev/ttyS1
              Then use a terminal connect host's COM1 port, you can see the output and input character in the
teminal.

    LCD:LCD configure
              state = on/off means enable or disable the LCD simulated

4.SkyEye debug
    You can add '-d' option argument enable skyeye debug when run skyeye.
    For example:
    $skyeye -e linux -d
    Then the gdb server listen on 12345 port for debuging

    Use another terminal connect target's 12345 port.
    $arm-elf-gdb linux
    (gdb)target remote 127.0.0.1:12345
    Now, you can debug remote program as native gdb.


5.Reference Documentation
    1.skyeye source code
    2.SkyEye User Manual http://skyeye.sourceforge.net/wiki/UserManual
    3.skyeyelcdts http://gro.clinux.org/frs/download.php/789/SkyEyelcdtouchscreen4gro.pdf
    4.skyeyeinternal http://gro.clinux.org/frs/download.php/719/skyeyeinternal-0.6.8.pdf
    5.hardwaredoc4skyeye http://gro.clinux.org/frs/download.php/835/hardwaredoc4skyeye.tar.bz2
回复

使用道具 举报

发表于 2006-4-15 18:01:22 | 显示全部楼层
好!!!
回复

使用道具 举报

发表于 2006-4-20 16:29:46 | 显示全部楼层
补充一点,我在FC3的系统上编译uCLinux时, Libc Version: 用uC-libc时总是无法编译通过,用uClibc时才可以通过.
arm-elf-gcc 2.95.3
kernel:2.4.31
回复

使用道具 举报

 楼主| 发表于 2006-4-20 22:44:29 | 显示全部楼层
你编译无法通过的错误信息是什么?能贴出来看看么?我的可以正常编译。
回复

使用道具 举报

发表于 2006-4-24 12:07:13 | 显示全部楼层
环境配置是:RD9,gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5),
gcc version 2.95.3 20010315 (release)
我的编译错误信息:

[root@mmdb skyeye-v1]# make
gcc-3.3 -c arch/arm/common/armcopro.c -o binary/armcopro.o -g    -DSTANDALONE -DDEFAULT_INLINE=0  -DMODET -DMODET -I arch/arm -I arch/arm/common/ -I arch/arm/common/mmu/ -I arch/arm/mach/ -I arch/bfin/common -I arch/bfin/mach -I arch/coldfire/common -I device/ -I device/net -I device/lcd -I device/flash -I utils/share -I utils/main -I utils/config -I utils/debugger  -DARM -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
make: gcc-3.3: Command not found
make: *** [binary/armcopro.o] Error 127
[root@mmdb skyeye-v1]#
回复

使用道具 举报

发表于 2006-4-24 16:46:43 | 显示全部楼层
我按照上面的步骤编译uClinux时出错。
host:redhat9 2.4.18
arm-elf-gcc 2.95.3 20010315 (release)
arm-elf-gcc  -Os                     -g   -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -nostdinc -I/home/maoyiyong/uClinux-dist/include -I/home/maoyiyong/uClinux-dist/include/include -fno-builtin -nostartfiles -D__PIC__ -fpic -msingle-pic-base -Wl,-elf2flt /home/maoyiyong/uClinux-dist/lib/libc/crt0.o -L/home/maoyiyong/uClinux-dist/lib -o init simpleinit.o -lcrypt -lc
init.elf2flt: In function `boot_single':
/home/maoyiyong/uClinux-dist/user/init/simpleinit.c:499: undefined reference to `crypt'
collect2: ld returned 1 exit status
make[2]: *** [init] Error 1
make[2]: Leaving directory `/home/maoyiyong/uClinux-dist/user/init'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/maoyiyong/uClinux-dist/user'
make: *** [subdirs] Error 1

选用uClibc库后,可以编译过去,但执行:
skyeye -e linux2.4.x/linux
时出错,程序中止。
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8072910
can't find device module: (null)
SKYEYE: use arm7100 mmu ops
Loaded ROM   images/romfs.img
exec file "linux-2.4.x/linux"'s format is elf32-little.
段错误

请问是什么原因,谢谢!
回复

使用道具 举报

发表于 2006-4-24 17:49:34 | 显示全部楼层
baizhiwen的问题看下Makefile就知道了
回复

使用道具 举报

发表于 2006-4-24 18:15:08 | 显示全部楼层
我试过testsuit2.1.tar.bz2中编译好的skyeye,运行时报错:
./skyeye: error while loading shared libraries: libXinerama.so.1: cannot open shared object file: No such file or directory
重新编译testsuit2.1.tar.bz2中的skyeye,发现仍然报告如下错误:
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8072910
can't find device module: (null)
SKYEYE: use arm7100 mmu ops
Loaded ROM images/romfs.img
exec file "linux-2.4.x/linux"'s format is elf32-little.
段错误

请教!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-10 07:36 , Processed in 0.086826 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表