sunlee 发表于 2005-3-26 12:47:24

ARMulator上跑uclinxu2.6.5出错,大家帮看

小弟在ARMulator上跑uclinux2.6.5的版本,编译通过,load到ARMulator也通过,在run的时候就出错,具体如下
# arm-elf-gdb linux-2.6.x/linux
GNU gdb 5.0
Copyright 2000 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 GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
Loaded ROM boot.rom to 0x01300000
Loaded ROM boot.rom to 0x01400000
Loaded ROM boot.rom to 0x04000000
Loaded ROM boot.rom to 0x01300000
Loaded ROM boot.rom to 0x01400000
Loaded ROM boot.rom to 0x04000000
Connected to the simulator.
Loading section .init, size 0xb000 vma 0x1000000
Loading section .text, size 0x8fb00 vma 0x100b000
Loading section __ex_table, size 0x6f8 vma 0x109ab00
Loading section .data, size 0xb2d4 vma 0x109c000
Start address 0x1000000
Transfer rate: 2724656 bits/sec.
(gdb) run
Starting program: /opt/uClinux-dist/linux-2.6.x/linux
undefined write to 0x15ff010 of 0x0
undefined write to 0x15ff008 of 0x1e0
undefined write to 0x15ff00c of 0x15ff1e0
undefined write to 0x15ff018 of 0x1
undefined write to 0x15ff01c of 0x2
undefined write to 0x15ff020 of 0x3
undefined write to 0x15ff024 of 0x4
undefined write to 0x15ff028 of 0x5
undefined write to 0x15ff02c of 0x6
undefined write to 0x15ff030 of 0x7
undefined write to 0x15ff034 of 0x8
undefined write to 0x15ff038 of 0x9
undefined write to 0x15ff03c of 0xa
undefined write to 0x15ff040 of 0xb
undefined write to 0x15ff044 of 0xc
undefined write to 0x15ff048 of 0xd

我按ctrl+c信息如下:

Program received signal SIGINT, Interrupt.
0x10328d0 in cache_init_objs (cachep=0x10b50a0, slabp=0x15ff000, ctor_flags=1)
    at mm/slab.c:1601
1601                  slab_bufctl(slabp) = i+1;


hsc1补丁和hsc2补丁都是一样
页: [1]
查看完整版本: ARMulator上跑uclinxu2.6.5出错,大家帮看