u-boot : Relocation

前端 未结 3 1923
独厮守ぢ
独厮守ぢ 2021-02-04 06:00

This one is a basic question related to u-boot.

Why does the u-boot code relocate itself ?

Ok, it makes sense if u-boot is executing from NOR-flash or boot ROM s

3条回答
  •  一整个雨季
    2021-02-04 06:27

    The code of NOR flash must initialize the SDRAM, Then the copy code from Nor Flash to SDRAM, The process will copy itself, because you could enable MMU, we will start Virtual address mapping.

提交回复
热议问题