loading u-Boot in memory instead of flashing it

前端 未结 10 534
一个人的身影
一个人的身影 2021-02-04 17:13

In my ARM based custom board, I flash u-boot to NAND whenever I do changes on that. (putting some debug statements/modification). Is there any way to directly load the uboot ima

10条回答
  •  南方客
    南方客 (楼主)
    2021-02-04 18:19

    This is what can be read on the u-boot documentation FAQ:

    Question: I don't want to erase my flash memory because I'm not sure if my new U-Boot image will work. Is it possible to configure U-Boot such that I can load it into RAM instead of flash, and start it from my old boot loader?

    Answer: No. (Unless you're using a Blackfin processor, or Socfpga board, but you probably aren't.)

    Question: But I've been told it is possible??

    Answer: Well, yes. Of course this is possible. This is software, so everything is possible. But it is difficult, unsupported, and fraught with peril. You are on your own if you choose to do it. And it will not help you to solve your problem.

    source:http://www.denx.de/wiki/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM

提交回复
热议问题