打印

成功编译2.6.14 并在skyeye1.2.4上运行的步骤--并成功 mount nfs

Loaded RAM   ./initrd.img
exec file "vmlinux_old"'s format is elf32-little.
load section .init: addr = 0xc0008000  size = 0x00019000.
load section .text: addr = 0xc0021000  size = 0x0016d014.
======正常应该是先load .init,就像上面哪样,不知为什么会直接load .text,高人指点一下

TOP

问题找到了。vmlinux要用根目录下面的哪个,原先我用的是compress下面的vmlinux

TOP

请问为什么要修改cs6的地址呢?根据datasheet上的说明原始的应该是正确的啊!

TOP

回复 28# albert198511 的帖子

按照楼主的指示,如果执行make smdk2410_defconfig,编译通过后执行在我的机器上(fedora8)会出现“Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)”的提示,我改为make s3c2410_defconfig其他的都不变则可以成功加载,具体原因不明,你可以试试我的方法。

TOP

回复 41# rongna 的帖子

请参照http://skyeye.wiki.sourceforge.net/Linux 修改内核文件:
make menuconfig时, 在[Device Driver] - [ Character Driver] - [Serial Driver] 菜单下选择去掉
8250/16550 and compatible serial support

TOP

我依照楼主的方法作的,为何后面无法继续启动了。大家帮我看看这段提示里有没有什么问题
root@ubuntu:/home/zsy/skyeye/2410# skyeye -e vmlinux
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x8067b9f
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
lcd_mod:1
SKYEYE: use arm920t mmu ops
Loaded RAM   initrd.img
exec file "vmlinux"'s format is elf32-little.
load section .text: addr = 0x00000000  size = 0x000dc294.
load section .got: addr = 0x000dc294  size = 0x00000060.
load section .got.plt: addr = 0x000dc2f4  size = 0x0000000c.
load section .data: addr = 0x000dc300  size = 0x00000000.
not load section .bss: addr = 0x000dc300  size = 0x00008438 .
not load section .stack: addr = 0x000e4738  size = 0x00001000 .
not load section .comment: addr = 0x00000000  size = 0x00000012 .
start addr is set to 0x00000000 by exec file.

TOP

配置文件如下:
# 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

TOP