QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1497|回复: 2

麻烦哪位高手过来看看,指点下.谢谢

[复制链接]
发表于 2007-11-22 13:58:10 | 显示全部楼层 |阅读模式
想自己编译一下能在skyeye上运行的uclinux,运行出错了.
skyeye.conf内容如下:
#skyeye config file sample
cpu: arm7tdmi

mach: at91

mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R,  addr=0x01400000, size=0x00400000, file=images/romfs.img
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000

运行结果:
root@lgx-ubuntu:/Usb_hda2/uClinux-dist# skyeye -e linux-2.4.x/linux
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x80568e0
uart_mod:0, desc_in:, desc_out:
SKYEYE: use arm7100 mmu ops
Loaded ROM   images/romfs.img
exec file "linux-2.4.x/linux"'s format is elf32-little.
load section .init: addr = 0x01000000  size = 0x0000a000.
load section .text: addr = 0x0100a000  size = 0x00209f28.
load section .data: addr = 0x01214000  size = 0x0000a8ec.
not load section .bss: addr = 0x0121e900  size = 0x00022740 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x0003fbce .
not load section .debug_info: addr = 0x00000000  size = 0x0199a128 .
not load section .debug_line: addr = 0x00000000  size = 0x002f35e0 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0001a450 .
not load section .debug_aranges: addr = 0x00000000  size = 0x00002640 .
start addr is set to 0x01000000 by exec file.
Linux version 2.4.31-uc0 (root@lgx-ubuntu) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)) #15 2007年 11月 22日 星期四 11:44:51 CST
Processor: Atmel AT91M40xxx revision 0
Architecture: EB01
Reserving page zero for vector table
On node 0 totalpages: 8192
zone(0): 0 pages.
zone(1): 8192 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 15.82 BogoMIPS
Memory: 32MB = 32MB total
Memory: 30056KB available (2087K code, 180K data, 40K init)
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
kernel BUG at slab.c:506!
kernel BUG at slab.c:518!
Kernel panic: Cannot create signal action SLAB cache
In idle task - not syncing
就此停止了.....
发表于 2007-11-22 19:33:49 | 显示全部楼层
当初编译uClinux内核时有没有问题?
看提示应该是内存管理部分,slab.c那个程序的问题。
检查一下吧。
反正配置文件和skyeye命令的使用看起来是对的。
回复

使用道具 举报

 楼主| 发表于 2007-11-22 22:24:33 | 显示全部楼层
错误是没有.不过有些warning
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-23 01:33 , Processed in 0.055023 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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