skyeye运行linux2.4.18的问题
skyeye.conf配置如下:#skyeye config file sample
cpu: arm720t
mach: ep7312
mem_bank: map=I, type=RW, addr=0x80000000, size=0x00010000
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00200000
mem_bank: map=M, type=RW, addr=0xc0200000, size=0x00200000, file=./initrd
mem_bank: map=M, type=RW, addr=0xc0400000, size=0x01000000
log: logon=0,logfile=/tmp/test.log,start=5000000,end=6000000
在skyeye上运行时显示如下:
# 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 0x815e920
log_info: log is off.
log_info:log file is /tmp/test.log, fd is 0x9f96950
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) run
Starting program: /root/arm_skyeye/vmlinux
warning: No program loaded.//这是什么意思?
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,c020046c,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,
说明:
initrd为文件系统名
skyeye0.8.0版
initrd文件系统采用BUSYBOX1.0.0制作
配置内核
System type-->CLPS711X/EP721X-BASED-->CLEP7312
制作文件系统时修改了
#define INIT_SCRIPT"/etc/inittab"
而且把网络支持限了
恳请帮助,为何会出现不正常启动现象? use the latest SkyEye version and linux-2.6 version。 We do not give support for old skyeye version any more. Linux-2.4 maybe need some arm patch to support ep7312
高手请指点
# 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 vmlinux1
Reading symbols from vmlinux1...(no debugging symbols found)...done.
(SkyEye) target sim
cpu info: armv4, arm720t, 41807200, ffffff00, 1
mach info: name ep7312, mach_init addr 0x815e920
log_info: log is off.
log_info:log file is /tmp/test.log, fd is 0x92f0920
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 0x9000 vma 0xc0028000
Loading section .text, size 0x805a8 vma 0xc0031000
Loading section __ex_table, size 0x808 vma 0xc00b15b0
Loading section .data, size 0x61dc vma 0xc00b2000
Start address 0xc0028000
Transfer rate: 4717664 bits in <1 sec.
(SkyEye) run
Starting program: /root/test_kernel/vmlinux1
为何到此就不往下执行了?
类型:
skyeye0.8.0
linux2.4.18
busybox1.5.1 You can try some 2.6.x kernel versions .As fas as I know ,some related patches from www.arm.linux.uk.org is needed for linux-2.4.18. 我用的是linux2.6.0+patch-2.6.0-rmk1安装了补丁,能给一下具体的从编译到运行的步骤 吗? # 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 vmlinux2
Reading symbols from vmlinux2...(no debugging symbols found)...done.
(SkyEye) target sim
cpu info: armv4, arm720t, 41807200, ffffff00, 1
mach info: name ep7312, mach_init addr 0x815e920
SKYEYE: use arm7100 mmu ops
Loaded ROM ./initrd1
Connected to the simulator.
(SkyEye) load
Loading section .init, size 0xd000 vma 0xc0028000
Loading section .text, size 0xd676c vma 0xc0035000
Loading section .kstrtab, size 0x3988 vma 0xc010b76c
Loading section __ex_table, size 0x828 vma 0xc010f100
Loading section __ksymtab, size 0x1c10 vma 0xc010f928
Loading section .data, size 0x81c8 vma 0xc0112000
Start address 0xc0028000
Transfer rate: 7911328 bits in <1 sec.
(SkyEye) run
Starting program: /root/test/vmlinux2
Linux version 2.4.18-rmk7 ([email protected]) (gcc version 2.95.3 20010315 (release)) #1 2008年 04月 18日 星期五 11:04:28 CST
CPU: ARM ARM720T revision 0
Machine: Cirrus Logic 7212/7312
Warning: bad configuration page, trying to continue
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line:
Calibrating delay loop... 26.00 BogoMIPS
Memory: 16MB = 16MB total
Memory: 14980KB available (857K code, 198K data, 52K init)
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 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
ttyAM0 at I/O 0x100 (irq = 12) is a CLPS711x
ttyAM1 at I/O 0x1100 (irq = 28) is a CLPS711x
pty: 256 Unix98 ptys configured
block: 64 slots per queue, batch=16
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 1024 bind 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00
到此就不运行了。
这是什么原因,恳请帮忙
页:
[1]