How to Modify U-Boot Environment Variables in PetaLinux

In this post we will look at two methods for modifying the U-Boot environment variables. The first method is changing the values stored in flash from the UBoot command prompt. The second method is changing the hard-coded default values in the PetaLinux project. We’ll be assuming a boot from QSPI flash, although the concepts also apply to booting from SD card or other non-voltatile storage devices.
The U-Boot environment variables determine exactly how a board is supposed to boot.
[Read More]