QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 789|回复: 1

请教一个问题

[复制链接]
发表于 2005-3-22 22:52:52 | 显示全部楼层 |阅读模式
调试uclinux的时候,我看at91的例子是这样子设置的
cpu: arm7tdmi
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R,  addr=0x01400000, size=0x00400000, file=./boot.rom
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

然后还需要打命令,skyeye linux
这里boot.rom是烧写在flash里面的内核映象对吧,但是,为什么命令需要加上linux呢?
还有一种是不用linux的
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000, file=./image.bin, boot=yes
mem_bank: map=M, type=R,  addr=0x01400000, size=0x00400000, file=./boot.rom
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
#set nic info state=on/off  mac=xxxxxxx  ethmod=tuntap/vnet hostip=dd.dd.dd.dd
net: state=on, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
#log: logon=1, logfile=/tmp/test.log, start=100000, end=1000000
log: logon=0, logfile=/tmp/test.log, start=3200000, end=3330000

请问这两中做法的区别在哪里?具体的意义是怎么样的?
发表于 2005-3-24 06:30:59 | 显示全部楼层
In the 1st case, skyeye load the elf file "linux"
in 2nd case, image.bin is a binary image coverted from elf file
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-25 18:47 , Processed in 0.070882 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表