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