taoyuetao的个人空间 https://blog.eetop.cn/taoyuetao [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

[转载] Booting a board with Redboot

已有 1686 次阅读| 2007-3-13 10:07 |个人分类:【 eCos RTOS 】

天气: 晴朗
心情: 高兴

这是ecos开发邮件列表里的,看了一下,有关redboot如何启动linux的,保存下来:

Anders Brogestam wrote:

Hi.

I'm new to Redboot and are in the process of setting up a new board
(with a MIPS) that will have Redboot and Linux. I have managed to get a RAMROM version of RedBoot running on the board,
and can use that with the serial consol (the board has no network
connection).
The questions that I have are:


1. One I have a Linux image on the board, how will Redboot automagically
boot that image? All I can see is commands to do it using the CLI.

Using 'fconfig', you can specify a script of commands to be executed when RedBoot starts up. These could include a way to load the Linux kernel and then execute it. This also leaves the possibility (via ^C) to break into RedBoot for maintenance, etc.


 


2. The documentation for the "exec" command specifies that the option -b
is used to specify the loaded address of the image (ie to me that
indicates where the image is stored, in flash). The source though gives
that -b is used as argument address...


3. When a Linux image is booted, is it Redboot that copies the Linux
image from flash to RAM or is it up to Linux?

Linux is usually started by loading it [from FLASH] into RAM via a RedBoot command and then using the 'exec' command. The "-b" option would be used to tell 'exec' where the image is, although with recent versions of RedBoot this can mostly be inferred from the load operation. For example,


 

  RedBoot> fi lo linux
  RedBoot> exec



 


点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 0

    粉丝
  • 0

    好友
  • 0

    获赞
  • 1075

    评论
  • 4435

    访问数
关闭

站长推荐 上一条 /2 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-19 23:56 , Processed in 0.012875 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部