|
楼主 |
发表于 2004-6-22 11:39:24
|
显示全部楼层
我就是按照walimis说的相似的做法做的,目前已经能够运行到这一步:
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, a
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=a
(SkyEye) target sim
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name s3c4510b, mach_init addr 0x813e310
SKYEYE: use arm7100 mmu ops
Loaded ROM ./images/romfs.img
Connected to the simulator.
(SkyEye) load
Loading section .init, size 0x8000 vma 0x8000
Loading section .text, size 0x15bc38 vma 0x10000
Loading section .data, size 0x5a94 vma 0x16c000
Start address 0x8000
Transfer rate: 11843168 bits/sec.
(SkyEye) run
Starting program: /root/uclinx/uClinux-dist/linux-2.4.x/linux
Linux version 2.4.24-uc0 (root@localhost) (gcc version 2.95.3 2001
(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uCl
hared lib patches from http://www.snapgear.com/)) #38 Tue Jun 22 1
04
Processor: Samsung S3C4510B revision 6
Architecture: SNDS100
On node 0 totalpages: 2048
zone(0): 0 pages.
zone(1): 2048 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 20.78 BogoMIPS
Memory: 8MB = 8MB total
Memory: 6492KB available (1391K code, 141K data, 32K init)
Dentry cache hash table entries: 1024 (order: 1, 8192 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: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd
Samsung S3C4510 Serial driver version 0.9 (2001-12-27) with no ser
abled
ttyS00 at 0x3ffd000 (irq = 5) is a S3C4510B
ttyS01 at 0x3ffe000 (irq = 7) is a S3C4510B
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 72038-16BC37 [VIRTUAL 72038-16BC37] (RO)
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 32K
Kernel panic: No init found. Try passing init= option to kernel.
请问各位大虾问题出在哪? |
|