T0m 发表于 2004-11-12 12:31:41

ep7312_io_read_word error

按照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

详细信息如下:


# skyeye
***************************************************************
****                                                       ****
****   SkyEyeSimulator Ver 0.8.0 withGDB 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,#

chyyuu 发表于 2004-11-12 18:00:35

你是自己编译的内核吗?你用过 skyeye-binary-testutil提供的内核实验过吗?

T0m 发表于 2004-11-12 18:28:51

你是自己编译的内核吗?你用过 skyeye-binary-testutil提供的内核实验过吗?

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

chyyuu 发表于 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自己编译一个。
页: [1]
查看完整版本: ep7312_io_read_word error