what is the use of SPL (secondary program loader)

前端 未结 2 1744
陌清茗
陌清茗 2021-01-30 02:20

I am confused in clearing my concepts regarding these three questions

  1. why do we need a secondary program loader ?

  2. in which memory it gets loade

2条回答
  •  梦毁少年i
    2021-01-30 03:01

    There is no theoretical need for a Secondary Program Loader (SPL). However, there are often pragmatic reasons for having one. Two off the top of my head.

    • First, modularity and ease of development.
    • Second, the hardware boot process may be too restrictive. It may expect the bootloader to be in a specific location where there is not enough room to store the entire boot process.

    The primary loader does whatever is necessary to load the full boot process (SPL). The primary loader, for example, may be stored in ROM with memory limitations.

提交回复
热议问题