Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9afd92ec 15-Feb-2024 Patrick Williams <patrick@stwcx.xyz>

meta-facebook: phosphor-state-manager: move greatlakes overrides to system

Greatlakes was a prototype and introduced a lot of noise at the top
level. Move this into the system-specific side.

Signe

meta-facebook: phosphor-state-manager: move greatlakes overrides to system

Greatlakes was a prototype and introduced a lot of noise at the top
level. Move this into the system-specific side.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibf3310c7e3ccc4d400f5d422ef577fb2bfdbd685

show more ...


# d3135247 19-Jan-2024 Patrick Williams <patrick@stwcx.xyz>

meta-facebook: reduce permissions on scripts

Scripts should be installed with 0755 permissions and not 0777,
otherwise non-root users can potentially modify or delete them.

Signed-off-by: Patrick W

meta-facebook: reduce permissions on scripts

Scripts should be installed with 0755 permissions and not 0777,
otherwise non-root users can potentially modify or delete them.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I41270a2bb3fb940d8ca49ed6230545d98efb2fea

show more ...


Revision tags: 2.16.0-dev, 2.14.0, 2.14.0-rc1, 2.15.0-dev
# 702b9a44 17-Mar-2023 DelphineCCChiu <Delphine_CC_Chiu@wiwynn.com>

meta-facebook: greatlakes: Remove the redundant dependency of power control

So far, there are two depnedency being redundant in greatlakes:
The first one is that, slot host off was waiting the inval

meta-facebook: greatlakes: Remove the redundant dependency of power control

So far, there are two depnedency being redundant in greatlakes:
The first one is that, slot host off was waiting the invalid ipmi host service,
and we won't use xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service in doing power off.

The second one is chassis power off mapper-wait@-org-openbmc-control-power4.service.
org-openbmc-control-power is no longer used in our system,
but still remains some redundant dependency in phosphor-state manager.

For these reasons, remove dependencies,
and it was verified that power control was affected by this change.

Tested:
- Check job list by systemctl after following power control:
- before this change
[slot host power on]
root@greatlakes:~# systemctl list-jobs
No jobs running.
[slot host power off]
root@greatlakes:~# systemctl list-jobs
JOB UNIT TYPE STATE
7507 obmc-host-shutdown@4.target start waiting
7605 mapper-wait@-org-openbmc-HostIpmi-1.service start running
7599 xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service start waiting

3 jobs listed.
[slot chassis power on]
root@greatlakes:~# systemctl list-jobs
JOB UNIT TYPE STATE
5638 obmc-power-start@4.target start waiting
5650 obmc-power-on@4.target start waiting
5646 mapper-wait@-org-openbmc-control-power4.service start running
5576 obmc-chassis-poweron@4.target start waiting
5577 obmc-power-start@4.service start waiting

5 jobs listed.
[slot chassis power off]
root@greatlakes:~# systemctl list-jobs
JOB UNIT TYPE STATE
6625 obmc-chassis-poweroff@4.target start waiting
6696 mapper-wait@-org-openbmc-control-power4.service start running
6626 obmc-power-stop@4.service start waiting
6701 obmc-power-off@4.target start waiting
6715 obmc-chassis-hard-poweroff@4.target start waiting
6694 obmc-power-stop@4.target start waiting

6 jobs listed.
- after this change
[slot host power on]
root@greatlakes:~# systemctl list-jobs
No jobs running.
[slot host power off]
root@greatlakes:~# systemctl list-jobs
No jobs running.
[slot chassis power on]
root@greatlakes:~# systemctl list-jobs
No jobs running.
[slot chassis power off]
root@greatlakes:~# systemctl list-jobs
No jobs running.

Change-Id: Ifb2acb179c6f4f676db325243e324314080a1a7c
Signed-off-by: DelphineCCChiu <Delphine_CC_Chiu@wiwynn.com>

show more ...


# e7625571 26-Jun-2023 Potin Lai <potin.lai@quantatw.com>

meta-facebook: fix phosphor-state-manager build error

The `systemd_system_unitdir` path changs after enabling 'usrmerge',
replace actual path with `systemd_system_unitdir` to avoid build issues
due

meta-facebook: fix phosphor-state-manager build error

The `systemd_system_unitdir` path changs after enabling 'usrmerge',
replace actual path with `systemd_system_unitdir` to avoid build issues
due to path changes.

Add machine name into FILESEXTRAPATHS to fix files not included issue.

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I5bb58f48dcf5e689ad44265f0b6add50b7d141bd

show more ...


# ab1722f1 30-Nov-2022 Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>

meta-facebook: Move phoshphor-state-manager scripts into subdirectory

Description:
Move scripts under /usr/libexec/ to /usr/libexec/phosphor-state-manager/.

Test Case:
Check file path under BMC con

meta-facebook: Move phoshphor-state-manager scripts into subdirectory

Description:
Move scripts under /usr/libexec/ to /usr/libexec/phosphor-state-manager/.

Test Case:
Check file path under BMC console.

Change-Id: Ia4178b62653e90dd6e0ae567df693f03468257bb
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>

show more ...


# deb20e4b 23-Nov-2022 Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>

meta-facebook: Add service for power control initialization in phosphor-state-manager

Description:
Add service to for power control initialization use.

Test Case:
Get corresponding BMC register con

meta-facebook: Add service for power control initialization in phosphor-state-manager

Description:
Add service to for power control initialization use.

Test Case:
Get corresponding BMC register configuration.

Change-Id: I8d227da66ddca4e38142744606ee130c1ce7aa7f
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>

show more ...


Revision tags: 2.13.0, 2.14.0-dev
# 0528ecd6 03-Nov-2022 Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>

meta-facebook: phosphor-state-manager: support host power reset and chassis power cycle

Summary:
Add service and script to support host reset and chassis
power cycle.

Tested:
Change property to tri

meta-facebook: phosphor-state-manager: support host power reset and chassis power cycle

Summary:
Add service and script to support host reset and chassis
power cycle.

Tested:
Change property to trigger host and chassis
target and check the power status.

Change-Id: Ie21903f5bc5bbebeaf31153c52d1605cd35619a0
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>

show more ...


# 60e2e535 20-Jan-2023 Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>

meta-facebook: greatlakes: fix overriding issue in DEFAULT_TARGETS variable

The existing implementation completely override the DEFAULT_TARGETS in
/meta-phosphor/recipes-phosphor it seems like error

meta-facebook: greatlakes: fix overriding issue in DEFAULT_TARGETS variable

The existing implementation completely override the DEFAULT_TARGETS in
/meta-phosphor/recipes-phosphor it seems like error and that changes
doesn't get in the platform. now instead of overriding have append
to the original DEFAULT_TARGETS with bb_append.

Testing: The soft links are created properly and the transition
change and target mappings are also verified successfully.

change-Id: I950e04891cd1438fb24f688231143be966b3a4c9
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>

show more ...


# 0622e1dd 20-Dec-2022 Potin Lai <potin.lai@quantatw.com>

meta-facebook: add phosphor-discover-system-state service for each host

add phosphor-discover-system-state service for each host to support
power restore feature.

Signed-off-by: Potin Lai <potin.la

meta-facebook: add phosphor-discover-system-state service for each host

add phosphor-discover-system-state service for each host to support
power restore feature.

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ic61a2e532a5928e76914706bd537e12f638e3e3c

show more ...


Revision tags: 2.12.0
# 36f035b5 28-Aug-2022 Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>

meta-facebook: greatlakes: initial phopsphor-state-manager support

Added machine layer support for greatlakes to support control the
BMC, Chassis, and Host. It supports requests to power on and off

meta-facebook: greatlakes: initial phopsphor-state-manager support

Added machine layer support for greatlakes to support control the
BMC, Chassis, and Host. It supports requests to power on and off
the system by the user.

Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
Change-Id: Ie62cc289783d47d8b50cd0c555157749f160c253

show more ...