Post Go back to editing

U-boot - difference between u-boot-spl-sc589-mini.elf and stage1-boot.ldr

Category: Software
Product Number: ADSP-SC589
Software Version: Yocto 3.1.1

What is the difference between u-boot-spl-sc589-mini.elf and stage1-boot.ldr?

I am currently making mods to uboot which only manifest when I run uboot over JTAG. Presumably that means the mods make their way to the u-boot-spl-sc589-mini.elf file.

However, when I power cycle the device, it doesn't work. Presumably that's because what is flashed to SPI flash is stage1-boot.ldr, not the ELF file.

So what is the difference between both files?

And how do i get my mods to persist on SPI flash?

Thank you.