QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 909|回复: 3

ep7312_io_read_word error

[复制链接]
发表于 2004-11-12 12:31:41 | 显示全部楼层 |阅读模式
按照P242,6。1。3ARM LINUX的配置;
稍有不同的地方,由于一直提示空间不足因此,
这一步:dd if=/dev/zero of=initrd bs=1024k count=1
我改为:dd if=/dev/zero of=initrd bs=1024k count=20
其它均按书步骤,但是会出现错误:
ep7312_io_read_word error,should use read_byte for net

详细信息如下:


[root@www arm_skyeye]# skyeye
***************************************************************
****                                                       ****
****   SkyEye  Simulator Ver 0.8.0 with  GDB 5.3 Interface ****
****                                                       ****
***************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=arm-elf".
(SkyEye) file vmlinux
Reading symbols from vmlinux...(no debugging symbols found)...done.
(SkyEye) target sim
cpu info: armv4, arm720t, 41807200, ffffff00, 1
mach info: name ep7312, mach_init addr 0x8140010
log_info: log is off.
log_info:log file is /tmp/test.log, fd is 0x82ccf48
log_info: log start clock 5000000
log_info: log end clock 6000000
SKYEYE: use arm7100 mmu ops
Loaded ROM ./initrd
Connected to the simulator.
(SkyEye) load
Loading section .init, size 0xb000 vma 0xc0028000
Loading section .text, size 0xbb888 vma 0xc0033000
Loading section __ex_table, size 0x6d8 vma 0xc00ee890
Loading section .data, size 0x961c vma 0xc00f0000
Start address 0xc0028000
Transfer rate: 6826976 bits in <1 sec.
(SkyEye) run
Starting program: /oracle/skyeye/arm_skyeye/vmlinux
SKYEYE ARMul_STC,CANT, undefinstr,  CPnum is 9, instr 5c44597e, addr 0
SKYEYE:ep7312_io_read_word error,should use read_byte for net
R 0,5b,0,0,0,0,0,0,0,0,0,0,0,0,c02004f4,8000a000,C db,S 0,0,0,0,0,d3,0,M 1b,B 5,E 0,I 0,P 0,T 0,L 0,D 0,[root@www arm_skyeye]#
发表于 2004-11-12 18:00:35 | 显示全部楼层
你是自己编译的内核吗?你用过 skyeye-binary-testutil提供的内核实验过吗?
回复

使用道具 举报

 楼主| 发表于 2004-11-12 18:28:51 | 显示全部楼层
[quote:d80c57a599="chyyuu"]你是自己编译的内核吗?你用过 skyeye-binary-testutil提供的内核实验过吗?[/quote]

我自已编译的内核,用linux-2.4.18-rmk7.tar.bz2;没用过skyeye-binary-testutil;应该没问题,我的LINUX是REDHAT LINUX 9.0;我想自已手工编译一个。我回头再试一下skyeye-binary-testutil;但是应该正常情况下。但是,我想应该可以自已编译一个内核,为什么会出错,是什么步骤漏了,还是那里出错了。
回复

使用道具 举报

发表于 2004-11-12 22:40:33 | 显示全部楼层
linux-2.4.18-rmk7.tar.bz2 对ep7312的支持不好。
如果你模拟的是ep7312 请用 gro 上提供的linux kernel。如果你编译的是srtrongarm, 可以尝试用你下的代码linux-2.4.18-rmk7.tar.bz2自己编译一个。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-6-6 17:05 , Processed in 0.084927 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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