Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    裸机程序还需要bootloader吗?

    MR Series
    3
    3
    1387
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      July LV 2 last edited by xiaowenge

      看网上说,bootloader是为了给操作系统内核准备环境,那对于裸机程序而言,还需要bootloader吗?

      xiaowenge 1 Reply Last reply Reply Quote Share 0
      • L
        liangdi LV 4 last edited by

        需要的 ,除非你只用汇编, bootloader 是个逻辑上的概念, 需要这部分程序对内存,io设备进行初始化,然后调用你的主程序(可以是系统kernel, 也可以是你自己写的简单的hello world)

        1 Reply Last reply Reply Quote Share 0
        • xiaowenge
          DOT小文哥 LV 8 @March1 last edited by

          附boot启动流程,供参考:e3be988f-0b2a-4383-bb1f-084c986cc8e0-image.png

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策