code-update.md: Call fw_setenv twice for PrepareForUpdate

Support for u-boot redundant environment variables was
added where u-boot alternates writing to each environment
every time a variable is written. But initramfs doesn't
know which environment is active so it always reads from
the same one. Therefore need to twice set the
variables that initramfs reads so that they're written
to both environments and initramfs can read them.

Change-Id: I203386fc4be6a0deb7fa8b13757c83c8b0d4b4c4
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed
tree: d67780f604cce87ccfdb0b64f6a178fcdc53f233
  1. userguide/
  2. cheatsheet.md
  3. code-update.md
  4. console.md
  5. contributing.md
  6. cpp-style-and-conventions.md
  7. dbus-interfaces.md
  8. host-management.md
  9. kernel-development.md
  10. LED-architecture.md
  11. MAINTAINERS
  12. Makefile
  13. openbmc-conversion.md
  14. openbmc-systemd.md
  15. README.md
  16. rest-api.md
  17. rfc-obmc-service-iface.md
  18. run-test-docker.md
  19. sensor-architecture.md
  20. yocto-development.md
README.md

OpenBMC documentation

This repository contains documentation for OpenBMC as a whole. There may be component-specific documentation in the repository for each component.

OpenBMC Usage

These documents describe how to use OpenBMC, including using the programmatic interfaces to an OpenBMC system.

OpenBMC Development

These documents contain details on developing OpenBMC code itself

OpenBMC Goals

The OpenBMC project's aim is to create a highly extensible framework for BMC software and implement for data-center computer systems.

We have a few high-level objectives:

  • The OpenBMC framework must be extensible, easy to learn, and usable in a variety of programming languages.

  • Provide a REST API for external management, and allow for "pluggable" interfaces for other types of management interactions.

  • Provide a remote host console, accessible over the network

  • Persist network configuration settable from REST interface and host

  • Provide a robust solution for RTC management, exposed to the host.

  • Compatible with host firmware implementations for basic IPMI communication between host and BMC

  • Provide a flexible and hierarchical inventory tracking component

  • Maintain a sensor database and track thresholds