Age | Commit message (Collapse) | Author | Files | Lines |
|
It was observed that we have different approaches to modifying the
EXTRA_OEMESON variable across our recipes. The bitbake manual
implies that override syntax (":append") is slightly better and the
poky meson bbclass also prefers it:
meta/classes/meson.bbclass:EXTRA_OEMESON:append = " ${PACKAGECONFIG_CONFARGS}"
Switch all recipes to use the ":append" override syntax for the
EXTRA_OEMESON variable.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I24e9a27a87c61f374acfb03a63955821fce0dd20
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
|
|
(From meta-phosphor rev: 2badcf923f4666c9c83842d0c0bc08132c6ef1c5)
Change-Id: I124b014509e2370f65c24a1c3b3672932f156717
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Adriana Kobylak (2):
configure.ac: Set values to support a default configuration
meson: Fix compile errors
Bright Cheng (1):
Add checking ApplyTime for static layout
With the new support for ApplyTime on static layout, the reboot
service files move from the ubi bbclass to the common BMC updater.
(From meta-phosphor rev: b99a1ad6ddcbfc10fac3f23437ea105b542048a1)
Change-Id: I6eacdb1a254ee594fda1ba17463afe8a9ec9cbf3
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The usr-local.mount service file does not depend on a ubi
filesystem layout, so move it out to the common code.
(From meta-phosphor rev: 02b6df9343687286836f87f2478eea3cc50d7af3)
Change-Id: I398ebff667b8bee496debc933f2865e6cc1f03e5
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add an override based on FLASH_SIZE, for use with the hardcoded offsets
that exist when building raw flash images.
This lets us have different flash layouts for different size flash
modules that can be shared between machines.
The existing 32MiB layouts are unchanged:
partition: size: offset
u-boot: 384 KiB (0 KiB)
u-boot-env: 128 KiB (384 KiB)
kernel/FIT: 4352 KiB (512 KiB)
rootfs: 23808 KiB (4864 KiB)
rwfs: 4MiB (28672 KiB)
The new layout is as follows:
partition: size: offset
u-boot: 896 KiB (0 KiB)
u-boot-env: 128 KiB (896 KiB)
kernel/FIT: 9 MiB (1 MiB)
rootfs: 86 MiB (10 MiB)
rwfs: 32MiB (96 MiB)
(From meta-phosphor rev: 9e84ca2ad4aa7f864bb53faa6f21ae580d64d07d)
Change-Id: I4edf302d4e738b31906cd03459ad6f2f44c3c749
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Jayashankar Padath (1):
Code Update: ApplyTime software manager support
Add new service force-reboot.service
This adds a new service, force-reboot.service to meta-phosphor layer
which initiates a bmc reboot when ApplyTime value is immediate.
Reboot is only carried out after the reboot-guard-disable.service
and activation process got completed successfully.
(From meta-phosphor rev: f7e8258b053f55a753396be8d9dcad1d555c4c04)
Change-Id: I31725a151c2d36f94e46b93c06d189fe43526c1e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Use the script, systemd configuration file and service files provided
by phosphor-software-manager.
Tested: The moved files are installed in their respective locations
and code update on Witherspoon is successful.
(From meta-phosphor rev: 3b5c7fdc75988dfae86b824708a97c9e8764a565)
Change-Id: I316ab2b9bc0a250a5707b15251a9de8810217243
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
For static flash layout, configure ACTIVE_BMC_MAX_ALLOWED to 1, because
it has only one active BMC image;
For ubi-fs, configure ACTIVE_BMC_MAX_ALLOWED to 2, because ubi-fs
assumes there are two BMC images by default.
Resolves openbmc/phosphor-bmc-code-mgmt#2
Tested: Verify that ACTIVE_BMC_MAX_ALLOWED is set to 1 for Romulus
build, and set to 2 for Witherspoon build.
(From meta-phosphor rev: bf3edf1ce09f19836c38c2dd43ab4e50664fc46e)
Change-Id: I60e49c14bda25547fde9a2308470ed164ebbd249
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Configure MEDIA_DIR to /run/media for static flash layout;
Configure MEDIA_DIR to /media which is default for ubi-fs.
Resolves openbmc/phosphor-bmc-code-mgmt#3
Tested: Verify that the MEDIA_DIR is set to /run/media for Romulus
build, and set to /media for Witherspoon build.
(From meta-phosphor rev: f43eb6ee89433e4898cbdb1532963f038419c003)
Change-Id: If96c2ee135d314bd6de0cd745c6a871b75183fe1
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Static flash layout will use obmc-flash-bmc-setenv service to set
factory-reset env in u-boot, so make it common for both static and ubi
flash layout.
Tested: Build the image and verify the service and the obmc-flash-bmc
script exist in both static and ubi builds.
(From meta-phosphor rev: b2c944f13b0f891a7f569f3a9608e3c0de27a462)
Change-Id: Ia067cebfe35a9d2d7d2af8b4d1bd4cb5717372ae
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add ubifs_layout package config and pass --enable-ubifs_layout
configuration option when ubi-fs distro feature is enabled.
Tested: Verify --enable-ubifs_layout is passed to
phosphor-software-manager's config for Witherspoon;
And it is not passed for Romulus.
Change-Id: I6daa0c565d2c2be980b6292e62654c0a86a69bbc
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
Remove from the base phosphor-software-manager recipe everything
that is conditional in the ubi-fs distro feature and put it
in its own class.
This allows for the base recipe to be cleaner and for future
specific packages to be added conditionally.
Tested: Built witherspoon and romulus and verified only
witherspoon contained the UBI-specific files.
Booted a witherspoon and a romulus qemu.
Change-Id: I2a783abc6152aadcf212a35f0060409f8dac2241
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|