|
您好,我在ubuntu9.10上按下步骤编译inux-2.6.20内核,成功编译后为什么没initrd.img文件?在skyeye1.3.1上加载后,用"run"运行,则提示内核加载出错!
run "make s3c2410_defconfig" and "make menuconfig" enter config menu of kernel. Enter [Device Driver] -> [ Character Driver] -> [Serial Driver] menu , check off the following option:
<>8250/16550 and compatible serial support
Exit the menu of kernel config. then run make to build your kernel image.
Download the latest release of SkyEye and build it.
After finish your build procedure, run your kernel on Skyeye by "skyeye -e vmlinux" . The config file of Skyeye can be the following content:
#skyeye config file sample
arch: arm
cpu: arm920t
mach: s3c2410x
#physical memory
#mem_bank: map=M, type=RW, addr=0x20000000, size=0x01000000
mem_bank: map=M, type=RW, addr=0x30000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0x30800000, size=0x00800000, file=./initrd.img
mem_bank: map=M, type=RW, addr=0x31000000, size=0x01000000
#all peripherals I/O mapping area
#mem_bank: map=I, type=RW, addr=0xfefa0000, size=0x00060000
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
load_addr:base=0x30000000, mask=0xFFFFFF
dbct:state=on
uart: mod=term |
|