albert198511 发表于 2008-4-24 16:27:33

启动vmlinux错误。。。

# ll vmlinux
-rwxr-xr-x1 root root 35817194月 24 15:58 vmlinux

# vi skyeye.conf
# skyeye config file for S3C2410X

cpu: arm920t
mach: s3c2410x

# physical memory
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xc0800000, size=0x00800000, file=./initrd.img
mem_bank: map=M, type=RW, addr=0xc1000000, size=0x01000000

# all peripherals I/O mapping area
mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000

mem_bank: map=I, type=RW, addr=0x19000300, size=0x00000020
net: type=cs8900a, base=0x19000300, size=0x20,int=9, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1

lcd: type=s3c2410x, mod=gtk
#dbct:state=on

# skyeye -e vmlinux
big_endian is false.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x808131c
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
lcd_mod:1
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM   ./initrd.img
exec file "vmlinux"'s format is elf32-little.
load section .init: addr = 0xc0008000size = 0x0001d000.
load section .text: addr = 0xc0025000size = 0x0022924c.
not load section .pci_fixup: addr = 0xc024e24csize = 0x00000000 .
load section __ksymtab: addr = 0xc024e24csize = 0x00003d20.
load section __ksymtab_gpl: addr = 0xc0251f6csize = 0x00000850.
not load section __kcrctab: addr = 0xc02527bcsize = 0x00000000 .
not load section __kcrctab_gpl: addr = 0xc02527bcsize = 0x00000000 .
load section __ksymtab_strings: addr = 0xc02527bcsize = 0x00009b24.
load section __param: addr = 0xc025c2e0size = 0x00000334.
load section .data: addr = 0xc025e000size = 0x0004ca90.
not load section .bss: addr = 0xc02aaaa0size = 0x00022e44 .
not load section .comment: addr = 0x00000000size = 0x00002826 .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0008000 by exec file.

到此卡住了,请高手指点,谢谢!

ksh 发表于 2008-4-24 23:34:54

可以用gdb进行调试。跟踪。

zqb101 发表于 2008-6-8 20:23:19

我也碰到一样的问题,有没有高手给详细指点一下

redeyesofdragon 发表于 2008-6-15 16:10:47

:shock: 我也是遇到同樣的問題
我照著 http://skyeye.wiki.sourceforge.net/Linux 中的方式製作
使用s3c2410
還是一樣卡在同一個地方
有什麼可能的問題呢?
謝謝!!

redeyesofdragon 发表于 2008-6-16 13:29:48

OS: ubuntu 8.04
skyeye: 1.2.4
test kernel version: 2.6.16.60 2.6.20.1
arm system type: samsung s3c2410
----------------------------------------
看到網上有人談到
修改 你的kernel/include/asm/arch-s3c2410/map.h

#define S3C2410_CS6 (0x30000000) 將此行修改為 #define S3C2410_CS6 (0xC0000000)

修改 你的kernel/include/asm/arch-s3c2410/memory.h

#define PHYS_OFFSET   UL(0x30000000) 將此行修改為 #define PHYS_OFFSET   UL(0xC0000000)

redeyesofdragon 发表于 2008-6-16 13:32:00

為何要這樣做我個人也不清楚
如果有誰知道的話
可以煩請回應一下的嗎
先謝謝了!!:P

rongna 发表于 2008-6-16 16:47:38

估计是要配合skyeye.conf中的配置吧。。

redeyesofdragon 发表于 2008-6-17 00:29:12

喔喔!!
此話怎說呢?
可以提出您的見解嗎?
謝謝您的回應!!:P

ksh 发表于 2008-6-17 20:24:45

不用修改。参考 http://skyeye.wiki.sourceforge.net/Linux#tocLinux2
页: [1]
查看完整版本: 启动vmlinux错误。。。