Tag: swupdate

  • Accessing the U-Boot environment from a C program

    Accessing the U-Boot environment from a C program

    Need to modify the U-Boot environment from Linux There are multiple reasons for wanting to modify U-Boot variables from Linux, one of them being to implement A/B update mechanisms. Typically, after you’ve flashed a device with a new version, you’ll set the upgrade_available U-Boot variable to 1, reboot, and let U-Boot try to boot the…