|
有个疑问,我在做skyeye仿真u-boot加载linux和文件系统的时候,发现skyeye.conf的内容如下:
#skyeye config file for S3C2410X
cpu: arm920t
mach: s3c2410x
# physical memory
mem_bank: map=M, type=RW, addr=0x33f00000, size=0x01000000, file=u-boot.bin, boot=yes
mem_bank: map=M, type=RW, addr=0x30000000, size=0x04000000
#mem_bank: map=M, type=RW, addr=0xC0000000, size=0x00800000, file=./vmlinux
mem_bank: map=M, type=RW, addr=0xC0000000, size=0x007fffc0, file=./uImage
mem_bank: map=M, type=RW, addr=0xC0800000, size=0x00800000, file=./initrd.img
#mem_bank: map=M, type=RW, addr=0x30000000, size=0x03F80000
mem_bank: map=M, type=RW, addr=0xc1000000, size=0x03000000
# 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=08:00:3E:26:0A:5B, ethmod=tuntap, hostip=10.0.0.1
#nandflash: type=s3c2410x,name=K9F1208U0B,dump=./nand.dump
lcd: type=s3c2410x, mod=gtk
#dbct: state=on
内核部分为什么要用虚拟地址
#mem_bank: map=M, type=RW, addr=0xC0000000, size=0x00800000, file=./vmlinux
而不是物理的sdram地址呢? |
|