2

Recently, I'm facing problems related to mismatches between the actual image offsets in my QSPI flash and the offsets that are used in U-Boot via boot.scr. I saw that the offsets that are used in boot.scr can be updated using petalinux-config menu. (u-boot Configuration → u-boot script configuration → QSPI/OSPI image offsets)

However, even if I update the given offsets, the boot.scr file doesn't get affected. So, what is the way of triggering the recreation of boot.scr of U-Boot?

I've tried clearing the U-Boot build by calling petalinux-build -c u-boot -x distclean, and it didn't work. I don't want to rebuild the whole project.

Thanks in advance.

Caglayan DOKME
  • 948
  • 8
  • 21

1 Answers1

0

Changing the image offset values as you described will trigger the boot.scr file to update the next time you run petalinux-build.

You can also modify the boot.scr file directly.

thelummox
  • 336
  • 2
  • 8