QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1193|回复: 0

在SKYEYE下運行UCLINUX出錯

[复制链接]
发表于 2006-3-8 17:46:34 | 显示全部楼层 |阅读模式
0
2    console              [0x3b241be5, 0xb91cb285] 0020644, sz     0, at 0x10794
0
2    cua0                 [0x3b241be5, 0x2d09d032] 0020644, sz     0, at 0x10796
0
2    cua1                 [0x3b241be5, 0xd01b81f2] 0020644, sz     0, at 0x10798
0
2    mem                  [0x3b241be5, 0xe855b15f] 0020644, sz     0, at 0x1079a
0
2    kmem                 [0x3b241be5, 0x4afdd023] 0020644, sz     0, at 0x1079c
0
2    null                 [0x3b241be5, 0x9720f4a1] 0020644, sz     0, at 0x1079e
0
2    ram0                 [0x3b241be5, 0xb8e9208 ] 0060644, sz     0, at 0x107a0
0
2    ram1                 [0x3b241be5, 0xe1b9808a] 0060644, sz     0, at 0x107a2
0
2    ptyp0                [0x3b241be5, 0xcd63ffdf] 0020644, sz     0, at 0x107a4
0
2    ptyp1                [0x3b241be5, 0xa38eee61] 0020644, sz     0, at 0x107a6
0
2    ptyp2                [0x3b241be5, 0x79b9dce3] 0020644, sz     0, at 0x107a8
0
2    ptyp3                [0x3b241be5, 0x4fe4cb65] 0020644, sz     0, at 0x107aa
0
2    ptyp4                [0x3b241be5, 0x260fb9e7] 0020644, sz     0, at 0x107ac
0
2    ptyp5                [0x3b241be5, 0xfc3aa869] 0020644, sz     0, at 0x107ae
0
2    ptyp6                [0x3b241be5, 0xd26596eb] 0020644, sz     0, at 0x107b0
0
2    ptyp7                [0x3b241be5, 0xa890856d] 0020644, sz     0, at 0x107b2
0
2    ptyp8                [0x3b241be5, 0x7ebb73ef] 0020644, sz     0, at 0x107b4
0
2    ptyp9                [0x3b241be5, 0x54e66271] 0020644, sz     0, at 0x107b6
0
2    ptypa                [0x3b241be5, 0xc1defddf] 0020644, sz     0, at 0x107b8
0
2    ptypb                [0x3b241be5, 0x64f0af9f] 0020644, sz     0, at 0x107ba
0
2    ptypc                [0x3b241be5, 0x802615f ] 0020644, sz     0, at 0x107bc
0
2    ptypd                [0x3b241be5, 0xab14131f] 0020644, sz     0, at 0x107be
0
2    ptype                [0x3b241be5, 0x4e25c4df] 0020644, sz     0, at 0x107c0
0
2    ptypf                [0x3b241be5, 0xf137769f] 0020644, sz     0, at 0x107c2
0
2    rom0                 [0x3b241be5, 0x7c5c7da1] 0060644, sz     0, at 0x107c4
0
2    rom1                 [0x3b241be5, 0x1f6e2f61] 0060644, sz     0, at 0x107c6
0
2    rom2                 [0x3b241be5, 0xc27fe121] 0060644, sz     0, at 0x107c8
0
2    rom3                 [0x3b241be5, 0x659192e1] 0060644, sz     0, at 0x107ca
0
2    rom4                 [0x3b241be5, 0x8a344a1 ] 0060644, sz     0, at 0x107cc
0
2    rom5                 [0x3b241be5, 0xabb4f661] 0060644, sz     0, at 0x107ce
0
2    rom6                 [0x3b241be5, 0x4ec6a821] 0060644, sz     0, at 0x107d0
0
2    rom7                 [0x3b241be5, 0xf1d859e1] 0060644, sz     0, at 0x107d2
0
2    rom8                 [0x3b241be5, 0x94ea0ba1] 0060644, sz     0, at 0x107d4
0
2    rom9                 [0x3b241be5, 0x37fbbd61] 0060644, sz     0, at 0x107d6
0
2    tty0                 [0x3b241be5, 0x3601311 ] 0020644, sz     0, at 0x107d8
0
2    tty1                 [0x3b241be5, 0xd98b0193] 0020644, sz     0, at 0x107da
0
2    tty2                 [0x3b241be5, 0xafb5f015] 0020644, sz     0, at 0x107dc
0
2    tty3                 [0x3b241be5, 0x85e0de97] 0020644, sz     0, at 0x107de
0
2    ttyS0                [0x3b241be5, 0x964a200c] 0020644, sz     0, at 0x107e0
0
2    ttyS1                [0x3b241be5, 0x395bd1cc] 0020644, sz     0, at 0x107e2
0
2    ttyp0                [0x3b241be5, 0x68454564] 0020644, sz     0, at 0x107e4
0
2    ttyp1                [0x3b241be5, 0x3e7033e6] 0020644, sz     0, at 0x107e6
0
2    ttyp2                [0x3b241be5, 0x149b2268] 0020644, sz     0, at 0x107e8
0
2    ttyp3                [0x3b241be5, 0xeac610ea] 0020644, sz     0, at 0x107ea
0
2    ttyp4                [0x3b241be5, 0xc0f0ff6c] 0020644, sz     0, at 0x107ec
0
2    ttyp5                [0x3b241be5, 0x971bedee] 0020644, sz     0, at 0x107ee
0
2    ttyp6                [0x3b241be5, 0x6d46dc70] 0020644, sz     0, at 0x107f0
0
2    ttyp7                [0x3b241be5, 0x4371caf2] 0020644, sz     0, at 0x107f2
0
2    ttyp8                [0x3b241be5, 0x199cb974] 0020644, sz     0, at 0x107f4
0
2    ttyp9                [0x3b241be5, 0xefc7a7f6] 0020644, sz     0, at 0x107f6
0
2    ttypa                [0x3b241be5, 0x24d4199a] 0020644, sz     0, at 0x107f8
0
2    ttypb                [0x3b241be5, 0xc7e5cb5a] 0020644, sz     0, at 0x107fa
0
2    ttypc                [0x3b241be5, 0x6af77d1a] 0020644, sz     0, at 0x107fc
0
2    ttypd                [0x3b241be5, 0xe092eda ] 0020644, sz     0, at 0x107fe
0
2    ttype                [0x3b241be5, 0xb11ae09a] 0020644, sz     0, at 0x10800
0
2    ttypf                [0x3b241be5, 0x542c925a] 0020644, sz     0, at 0x10802
0
2    zero                 [0x3b241be5, 0xa812584 ] 0020644, sz     0, at 0x10804
0
2    random               [0x3b241be5, 0xc635d5c2] 0020644, sz     0, at 0x10806
0
2    urandom              [0x3b241be5, 0x1c065b4a] 0020644, sz     0, at 0x10808
0
1    etc                  [0x3b241be5, 0x54fba392] 0040755, sz     0, at 0x1080a
0
2    .                    [0x3b241be5, 0x54fba392] 0040755, sz     0, at 0x1080c
0 [link to 0x1080a0]
2    ..                   [0x3b241be5, 0x69d4be1a] 0040755, sz     0, at 0x1080e
0 [link to 0x20    ]
2    rc                   [0x3b241be5, 0xe4d158bb] 0100644, sz   207, at 0x10810
0
2    inittab              [0x3b241be5, 0x8b3728db] 0100644, sz    49, at 0x1081f
0
2    services             [0x3b241be5, 0x9338ee08] 0100644, sz  8205, at 0x10825
0
2    motd                 [0x3b241be5, 0x5b756e7c] 0100644, sz   343, at 0x10a28
0
2    passwd               [0x3b241be5, 0xbd9917a8] 0100644, sz    21, at 0x10a40
0
2    version              [0x3b241be5, 0xd341b96e] 0100644, sz    56, at 0x10a44
0
2    ramfs.img            [0x3b241be5, 0x3f520df6] 0100644, sz  2874, at 0x10a4a
0
2    inetd.conf           [0x3b241be5, 0x5a75486c] 0100644, sz    44, at 0x10b00
0
1    home                 [0x3b241be5, 0x16a76881] 0040755, sz     0, at 0x10b05
0
2    .                    [0x3b241be5, 0x16a76881] 0040755, sz     0, at 0x10b07
0 [link to 0x10b050]
2    ..                   [0x3b241be5, 0x69d4be1a] 0040755, sz     0, at 0x10b09
0 [link to 0x20    ]
1    lib                  [0x3b241be5, 0x58630d63] 0040755, sz     0, at 0x10b0b
0
2    .                    [0x3b241be5, 0x58630d63] 0040755, sz     0, at 0x10b0d
0 [link to 0x10b0b0]
2    ..                   [0x3b241be5, 0x69d4be1a] 0040755, sz     0, at 0x10b0f
0 [link to 0x20    ]
1    mnt                  [0x3b241be5, 0x58e61e31] 0040755, sz     0, at 0x10b11
0
2    .                    [0x3b241be5, 0x58e61e31] 0040755, sz     0, at 0x10b13
0 [link to 0x10b110]
2    ..                   [0x3b241be5, 0x69d4be1a] 0040755, sz     0, at 0x10b15
0 [link to 0x20    ]
1    proc                 [0x3b241be5, 0x8c5a1d78] 0040755, sz     0, at 0x10b17
0
2    .                    [0x3b241be5, 0x8c5a1d78] 0040755, sz     0, at 0x10b19
0 [link to 0x10b170]
2    ..                   [0x3b241be5, 0x69d4be1a] 0040755, sz     0, at 0x10b1b
0 [link to 0x20    ]
1    sbin                 [0x3b241be5, 0x10079636] 0040755, sz     0, at 0x10b1d
0
2    .                    [0x3b241be5, 0x10079636] 0040755, sz     0, at 0x10b1f
0 [link to 0x10b1d0]
2    ..                   [0x3b241be5, 0x69d4be1a] 0040755, sz     0, at 0x10b21
0 [link to 0x20    ]
1    usr                  [0x3b241be5, 0x5cdb9b72] 0040755, sz     0, at 0x10b23
0
2    .                    [0x3b241be5, 0x5cdb9b72] 0040755, sz     0, at 0x10b25
0 [link to 0x10b230]
2    ..                   [0x3b241be5, 0x69d4be1a] 0040755, sz     0, at 0x10b27
0 [link to 0x20    ]
1    var                  [0x3b241be5, 0x5d47a685] 0040755, sz     0, at 0x10b29
0
2    .                    [0x3b241be5, 0x5d47a685] 0040755, sz     0, at 0x10b2b
0 [link to 0x10b290]
2    ..                   [0x3b241be5, 0x69d4be1a] 0040755, sz     0, at 0x10b2d
0 [link to 0x20    ]
1    tmp                  [0x3b241be5, 0xad6b1db0] 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[2]: Leaving directory `/usr/src/uclinux-dist/vendors/GDB/ARMulator'
make[1]: Leaving directory `/usr/src/uclinux-dist/vendors'

Owner@winxp /usr/src/uclinux-dist
$ ls -l
total 417
-rw-r--r--   1 Owner None  18007 Nov 22  1999 COPYING
drwxr-xr-x   3 Owner None      0 Nov 10 12:10 Documentation
-rw-r--r--   1 Owner None  10303 Aug 25  2005 Makefile
-rw-r--r--   1 Owner None   4931 Nov 11  2004 README
-rw-r--r--   1 Owner None   1743 Jan 21  2004 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 Mar  8 16:49 config.arch -> vendors/GDB/ARMulat
or/config.arch
-rw-r--r--   1 Owner None  13735 Mar  8 16:48 config.in
-rwxr-xr-x   1 Owner None 210674 Mar  8 16:48 config.tk
drwxr-xr-x  11 Owner None      0 Nov 10 12:21 freeswan
drwxr-xr-x  68 Owner None      0 Nov 10 12:16 glibc
drwxr-xr-x   2 Owner None      0 Mar  8 17:29 images
drwxr-xr-x   5 Owner None      0 Nov 10 12:20 include
drwxr-xr-x  28 Owner None      0 Nov 10 12:21 lib
drwxr-xr-x  15 Owner None      0 Nov 10 12:10 linux-2.0.x
drwxr-xr-x  16 Owner None      0 Nov 10 12:12 linux-2.4.x
drwxr-xr-x  18 Owner None      0 Nov 10 12:21 linux-2.6.x
drwxr-xr-x  13 Owner None      0 Nov 10 12:14 openswan
drwxr-xr-x  12 Owner None      0 Mar  8 17:29 romfs
-rw-r--r--   1 Owner None    647 Mar  8 17:30 skyeye.conf
drwxr-xr-x   5 Owner None      0 Nov 10 12:20 tools
drwxr-xr-x  19 Owner None      0 Nov 10 12:21 uClibc
drwxr-xr-x 212 Owner None      0 Nov 10 12:21 user
drwxr-xr-x  59 Owner None      0 Nov 10 12:21 vendors

Owner@winxp /usr/src/uclinux-dist
$ skyeye linux-2.4.x/linux
***********************************************************************
****                                                               ****
****   SkyEye  Simulator Ver 0.9.8 with  GDB/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 [VIRTUAL 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﹐停在這裡﹐什麼原因
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-23 13:45 , Processed in 0.038626 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表