blob: d562b66199f6b087efb954bf9503ac753764c686 [file] [log] [blame]
Stewart Smith59d3cb42018-02-12 11:52:12 +11001.. _versioning:
2
3Version Scheme
4==============
5
6Each firmware component has its own versioning scheme, and `op-build` brings
7all of these components together in one image with one global version
8number.
9
10Firmware versions are exposed to the user through both the device tree
11(:ref:`skiboot:device-tree/ibm,firmware-versions`) and the VERSION firmware
12partition. As such, firmware versioning numbers **MUST** follow the
13requirements in order for some functionality to be correct.
14
15skiboot
16 :ref:`skiboot:versioning`
17Hostboot
18 Currently just uses the git SHA1 of the commit
19OCC
20 Currently just uses the git SHA1 of the commit
21Petitboot
22 Uses a X.Y.Z versioning scheme.
23Linux
24 We use the upstream Linux kernel version, and always append ``-openpowerN``
25 where N is a number starting at 1 that increases for each change we make
26 to any additional patches carried in `op-build` for that specific kernel
27 version.
28 We follow the stable tree and have an "upstream *first*" policy in place.
29