|
发表于 2005-1-10 12:02:21
|
显示全部楼层
[quote:c5f6fe6263="walimis"]照着他说的作,然后就可以在skyeye上跑了,以下是skyeye.conf的示例配置
cpu: arm7tdmi
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00300000
mem_bank: map=M, type=RW, addr=0x01300000, size=0x00100000, file=./romfs.img
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000[/quote]
我完全照着作,并使用这个配置文件,非常容易的就跑起kernel 2.6.5的uClinux来了,但是执行几个简单的命令,如
ps
sh
ls
pwd
或连续执行4-7个sh后执行几个简单命令
之后就kernel panic了:
/> ./sh
DMA per-cpu: empty
Normal per-cpu:
cpu 0 hot: low 2, high 6, batch 1
cpu 0 cold: low 0, high 2, batch 1
HighMem per-cpu: empty
Free pages: 148kB (0kB HighMem)
Active:21 inactive:177 dirty:0 writeback:0 unstable:0 free:37 slab:350 mapped:0 pagetables:0
DMA free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB
Normal free:148kB min:128kB low:256kB high:384kB active:84kB inactive:708kB present:4096kB
HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB
DMA: empty
Normal: 5*4kB 4*8kB 6*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 148kB
HighMem: empty
Kernel panic: Out of memory and no killable processes...
是配置文件中指定的地址有问题么?
skyeye 0.74和0.8.5.1下都一样。 |
|