在SKYEYE下運行UCLINUX出錯
02 console 0020644, sz 0, at 0x10794
0
2 cua0 0020644, sz 0, at 0x10796
0
2 cua1 0020644, sz 0, at 0x10798
0
2 mem 0020644, sz 0, at 0x1079a
0
2 kmem 0020644, sz 0, at 0x1079c
0
2 null 0020644, sz 0, at 0x1079e
0
2 ram0 0060644, sz 0, at 0x107a0
0
2 ram1 0060644, sz 0, at 0x107a2
0
2 ptyp0 0020644, sz 0, at 0x107a4
0
2 ptyp1 0020644, sz 0, at 0x107a6
0
2 ptyp2 0020644, sz 0, at 0x107a8
0
2 ptyp3 0020644, sz 0, at 0x107aa
0
2 ptyp4 0020644, sz 0, at 0x107ac
0
2 ptyp5 0020644, sz 0, at 0x107ae
0
2 ptyp6 0020644, sz 0, at 0x107b0
0
2 ptyp7 0020644, sz 0, at 0x107b2
0
2 ptyp8 0020644, sz 0, at 0x107b4
0
2 ptyp9 0020644, sz 0, at 0x107b6
0
2 ptypa 0020644, sz 0, at 0x107b8
0
2 ptypb 0020644, sz 0, at 0x107ba
0
2 ptypc 0020644, sz 0, at 0x107bc
0
2 ptypd 0020644, sz 0, at 0x107be
0
2 ptype 0020644, sz 0, at 0x107c0
0
2 ptypf 0020644, sz 0, at 0x107c2
0
2 rom0 0060644, sz 0, at 0x107c4
0
2 rom1 0060644, sz 0, at 0x107c6
0
2 rom2 0060644, sz 0, at 0x107c8
0
2 rom3 0060644, sz 0, at 0x107ca
0
2 rom4 0060644, sz 0, at 0x107cc
0
2 rom5 0060644, sz 0, at 0x107ce
0
2 rom6 0060644, sz 0, at 0x107d0
0
2 rom7 0060644, sz 0, at 0x107d2
0
2 rom8 0060644, sz 0, at 0x107d4
0
2 rom9 0060644, sz 0, at 0x107d6
0
2 tty0 0020644, sz 0, at 0x107d8
0
2 tty1 0020644, sz 0, at 0x107da
0
2 tty2 0020644, sz 0, at 0x107dc
0
2 tty3 0020644, sz 0, at 0x107de
0
2 ttyS0 0020644, sz 0, at 0x107e0
0
2 ttyS1 0020644, sz 0, at 0x107e2
0
2 ttyp0 0020644, sz 0, at 0x107e4
0
2 ttyp1 0020644, sz 0, at 0x107e6
0
2 ttyp2 0020644, sz 0, at 0x107e8
0
2 ttyp3 0020644, sz 0, at 0x107ea
0
2 ttyp4 0020644, sz 0, at 0x107ec
0
2 ttyp5 0020644, sz 0, at 0x107ee
0
2 ttyp6 0020644, sz 0, at 0x107f0
0
2 ttyp7 0020644, sz 0, at 0x107f2
0
2 ttyp8 0020644, sz 0, at 0x107f4
0
2 ttyp9 0020644, sz 0, at 0x107f6
0
2 ttypa 0020644, sz 0, at 0x107f8
0
2 ttypb 0020644, sz 0, at 0x107fa
0
2 ttypc 0020644, sz 0, at 0x107fc
0
2 ttypd 0020644, sz 0, at 0x107fe
0
2 ttype 0020644, sz 0, at 0x10800
0
2 ttypf 0020644, sz 0, at 0x10802
0
2 zero 0020644, sz 0, at 0x10804
0
2 random 0020644, sz 0, at 0x10806
0
2 urandom 0020644, sz 0, at 0x10808
0
1 etc 0040755, sz 0, at 0x1080a
0
2 . 0040755, sz 0, at 0x1080c
0
2 .. 0040755, sz 0, at 0x1080e
0
2 rc 0100644, sz 207, at 0x10810
0
2 inittab 0100644, sz 49, at 0x1081f
0
2 services 0100644, sz8205, at 0x10825
0
2 motd 0100644, sz 343, at 0x10a28
0
2 passwd 0100644, sz 21, at 0x10a40
0
2 version 0100644, sz 56, at 0x10a44
0
2 ramfs.img 0100644, sz2874, at 0x10a4a
0
2 inetd.conf 0100644, sz 44, at 0x10b00
0
1 home 0040755, sz 0, at 0x10b05
0
2 . 0040755, sz 0, at 0x10b07
0
2 .. 0040755, sz 0, at 0x10b09
0
1 lib 0040755, sz 0, at 0x10b0b
0
2 . 0040755, sz 0, at 0x10b0d
0
2 .. 0040755, sz 0, at 0x10b0f
0
1 mnt 0040755, sz 0, at 0x10b11
0
2 . 0040755, sz 0, at 0x10b13
0
2 .. 0040755, sz 0, at 0x10b15
0
1 proc 0040755, sz 0, at 0x10b17
0
2 . 0040755, sz 0, at 0x10b19
0
2 .. 0040755, sz 0, at 0x10b1b
0
1 sbin 0040755, sz 0, at 0x10b1d
0
2 . 0040755, sz 0, at 0x10b1f
0
2 .. 0040755, sz 0, at 0x10b21
0
1 usr 0040755, sz 0, at 0x10b23
0
2 . 0040755, sz 0, at 0x10b25
0
2 .. 0040755, sz 0, at 0x10b27
0
1 var 0040755, sz 0, at 0x10b29
0
2 . 0040755, sz 0, at 0x10b2b
0
2 .. 0040755, sz 0, at 0x10b2d
0
1 tmp 0120777, sz 8, at 0x10b2f
0
arm-elf-objcopy -O binary --remove-section=.romvec \
--remove-section=.text --remove-section=.ramvec \
--remove-section=.init \
--remove-section=.bss --remove-section=.eram \
/usr/src/uclinux-dist/linux-2.4.x/linux /usr/src/uclinux-dist/im
ages/linux.data
arm-elf-objcopy -O binary --remove-section=.ramvec \
--remove-section=.bss --remove-section=.data \
--remove-section=.eram \
--set-section-flags=.romvec=CONTENTS,ALLOC,LOAD,READONLY,CODE \
/usr/src/uclinux-dist/linux-2.4.x/linux /usr/src/uclinux-dist/im
ages/linux.text
cat /usr/src/uclinux-dist/images/linux.text /usr/src/uclinux-dist/images/linux.d
ata /usr/src/uclinux-dist/images/romfs.img > /usr/src/uclinux-dist/images/image.
bin
make: Leaving directory `/usr/src/uclinux-dist/vendors/GDB/ARMulator'
make: Leaving directory `/usr/src/uclinux-dist/vendors'
Owner@winxp /usr/src/uclinux-dist
$ ls -l
total 417
-rw-r--r-- 1 Owner None18007 Nov 221999 COPYING
drwxr-xr-x 3 Owner None 0 Nov 10 12:10 Documentation
-rw-r--r-- 1 Owner None10303 Aug 252005 Makefile
-rw-r--r-- 1 Owner None 4931 Nov 112004 README
-rw-r--r-- 1 Owner None 1743 Jan 212004 SOURCE
drwxr-xr-x 2 Owner None 0 Nov 10 12:21 bin
drwxr-xr-x 3 Owner None 0 Nov 10 12:21 config
lrwxrwxrwx 1 Owner None 33 Mar8 16:49 config.arch -> vendors/GDB/ARMulat
or/config.arch
-rw-r--r-- 1 Owner None13735 Mar8 16:48 config.in
-rwxr-xr-x 1 Owner None 210674 Mar8 16:48 config.tk
drwxr-xr-x11 Owner None 0 Nov 10 12:21 freeswan
drwxr-xr-x68 Owner None 0 Nov 10 12:16 glibc
drwxr-xr-x 2 Owner None 0 Mar8 17:29 images
drwxr-xr-x 5 Owner None 0 Nov 10 12:20 include
drwxr-xr-x28 Owner None 0 Nov 10 12:21 lib
drwxr-xr-x15 Owner None 0 Nov 10 12:10 linux-2.0.x
drwxr-xr-x16 Owner None 0 Nov 10 12:12 linux-2.4.x
drwxr-xr-x18 Owner None 0 Nov 10 12:21 linux-2.6.x
drwxr-xr-x13 Owner None 0 Nov 10 12:14 openswan
drwxr-xr-x12 Owner None 0 Mar8 17:29 romfs
-rw-r--r-- 1 Owner None 647 Mar8 17:30 skyeye.conf
drwxr-xr-x 5 Owner None 0 Nov 10 12:20 tools
drwxr-xr-x19 Owner None 0 Nov 10 12:21 uClibc
drwxr-xr-x 212 Owner None 0 Nov 10 12:21 user
drwxr-xr-x59 Owner None 0 Nov 10 12:21 vendors
Owner@winxp /usr/src/uclinux-dist
$ skyeye linux-2.4.x/linux
***********************************************************************
**** ****
**** SkyEyeSimulator Ver 0.9.8 withGDB/Insight 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-cygwin --target=arm-elf"...
(SkyEye) target sim
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x4f9e80
SKYEYE: use arm7100 mmu ops
Loaded ROM images/romfs.img
Connected to the simulator.
(SkyEye) load
Loading section .init, size 0xa000 vma 0x1000000
Loading section .text, size 0xdcab0 vma 0x100a000
Loading section .data, size 0x9ce4 vma 0x10e8000
Start address 0x1000000
Transfer rate: 7879840 bits in <1 sec.
(SkyEye) run
Starting program: /usr/src/uclinux-dist/linux-2.4.x/linux
Linux version 2.4.31-uc0 (Owner@winxp) (gcc version 2.95.3 20010315 (release)(Co
ldFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shar
ed lib patches from http://www.snapgear.com/)) #1 Wed Mar 8 16:55:19 2006
Processor: Atmel AT91M40xxx revision 0
Architecture: EB01
On node 0 totalpages: 1024
zone(0): 0 pages.
zone(1): 1024 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 15.82 BogoMIPS
Memory: 4MB = 4MB total
Memory: 2936KB available (882K code, 180K data, 40K init)
Dentry cache hash table entries: 512 (order: 0, 4096 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: 1024 (order: 0, 4096 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
Atmel USART driver version 0.99
ttyS0 at 0xfffd0000 (irq = 2) is a builtin Atmel APB USART
ttyS1 at 0xfffcc000 (irq = 3) is a builtin Atmel APB USART
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 1400000-150B3FF (RO) <ROMFS>
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 512 bind 512)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Kernel panic: No init found.Try passing init= option to kernel.
用RUN command 在SKYEYE﹐停在這裡﹐什麼原因
页:
[1]