Age | Commit message (Collapse) | Author | Files | Lines |
|
The webui-vue package is now enabled by default. Clean up all the meta
layers to clean up the explicit enablement.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4895be56c70d2c8666dd96cec18d2c097f0c05a3
|
|
Patrick Williams (6):
clang-format: copy latest and re-format
writefrudata: remove vla
strgfnhandler: suppress unused parameter warnings
frup: suppress stringop-truncation warning
scripts: accept absolute paths to YAML
build: enable meson builds
build: install strgfnhandler into ipmi-providers dir
Vernon Mauery (1):
Set new maintainer as Patrick Williams
Willy Tu (1):
fru-parser: Remove the use of mktime
Switch to Meson.
Change-Id: Iec9c41cc17a72f84248b8cd75f70353e053f17e2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
This reverts commit ec7cab9378f548e94ee4af83946b2583d1fc7194.
ec7cab9378f5 ("Add socket-id for the first console") was only a partial
fixup of the obmc-console configurations found in the tree. For
historical reasons not all platforms that support multiple consoles
install a client configuration file for all consoles. Instead they relied
on some default behaviour that was removed in obmc-console's 4e7186918599
("Fixed broken dbus interface for multiple consoles"). Applying the
configuration changes in the manner of ec7cab9378f5 ("Add socket-id for
the first console") resulted in an asymmetric configuration between the
client and server, breaking some SSH SOL instances.
As of ae2460d0b8e8 ("obmc-console: Provide a default value for
`console-id`.") in obmc-console the requirement to specify
`socket-id`[^1] is lifted. Instead, the configuration can choose to
override a default value. This restores the original behaviour and
unbreaks SSH SOL.
[^1]: Now an alias of the `console-id` configuration key
Websocket and IPMI consoles remain broken. A fix is under development
that also takes a proper approach to supporting multiple consoles in
bmcweb, and the same solution pattern can be applied in ipmid.
More discussion of the problems involved can be found here:
https://amboar.github.io/notes/2023/05/08/happenings-in-obmc-console.html
Change-Id: I274284c791758f336da6d6301dc523bac2b5dd69
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
This drop adds socket-id for first console. This was left out before
but with the new design this parameter is required and enforced by
obmc-console code. It is decided to set "socket-id = console0"
initially because that is the current path used by bmcweb but in future
you can change this value to whatever is appropriate.
The console information is now available through the DBUS interface.
Each console server register it's object path on DBUS. The leaf node of
the object path is used to create a console path. For example in the
following console0 the leaf node "console0" is used to make up the
console path and the GUI will use console path "/console/console0" to
connect to the console.
busctl tree xyz.openbmc_project.Console.console0
`-/xyz
`-/xyz/openbmc_project
`-/xyz/openbmc_project/console
`-/xyz/openbmc_project/console/console0
Here is a discord thread where new design was discussed.
https://discord.com/channels/775381525260664832/1083551792094249051
Tested:
Tested on the rainier system.
Related commits:
1) phosphor-dbus-interface: https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/61486
2) obmc-console: https://gerrit.openbmc.org/c/openbmc/obmc-console/+/62496
3) bmcweb: https://gerrit.openbmc.org/c/openbmc/bmcweb/+/62525
Change-Id: I5fd06f3aac69872a3e5032d592a9b59711795cfe
Signed-off-by: Ninad Palsule <ninadpalsule@us.ibm.com>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I49f7334245394be03e77cb455d9e4d461fdb5705
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8ea79d284356629f5b7b24ad3a99336e9e2e297e
|
|
Harvey.Wu (2):
dbus-sdr: fix SEL record Generator ID to fit SPEC
dbus-sdr: fix the vector size in sdrWriteTable and sdrStatsTable
Jian Zhang (1):
Add data types to Value to extend setDbusProperty
Vernon Mauery (1):
fix header install
Willy Tu (4):
cleanup: Remove all warning errors for the Meson build support
build: Add meson build for phosphor-host-ipmi
build: move all shared_library/module to library with version suffix
build: Remove dynamicsensor library if it is not enabled
Change-Id: I92503c6625d1ec2bf88c0a28afac9b4eeb8fbd75
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Tested: Test on qemu ipmi chassis status cmd work correct
Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com>
Change-Id: I60d20bf58c21b5c81d5fbad7649c1e2b43351392
|
|
With the upstream aspeed-uart-routing changes, the user space interface needs
to be updated to use the new path.
Tested: Verify the SOL is working fine on g220a.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I4313d240b2778ef8070214eb19029b559588bcea
|
|
The node manager is maintained in
https://github.com/Intel-BMC/node-manager and it is not buildable with
latest OpenBMC.
The OpenBMC guideline[1] and the repotest[2] does not accept pathces in
machine layers, so the patches to node-manager are not accepted.
Remove the recipe for now, otherwise the build fails.
[1]:
https://github.com/openbmc/docs/blob/master/meta-layer-guidelines.md
[2]:
https://github.com/openbmc/openbmc-build-scripts/blob/master/build-setup.sh#L141
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I735f5b4d9b1cfa0ff4c0e47d349f99e847c0a7bd
|
|
Fix the environment variables of the destination directory
Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com>
Change-Id: Iffd1ca218da9d9aeaff560ecf96c8b8267702994
|
|
Config additional device Support and manufacturer ID
Tested: ipmitool mc info and ipmitool fru
Signed-off-by: Henry Tian <tianxiaofeng@bytedance.com>
Change-Id: I08488b2c9f19e086eee8082242a9efdb96957e61
|
|
It adjusts some sensors' number and adds the total power sensor.
Tested: Verify the "Total_Power" is shwon in ipmi sensor list.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I334fe602f949bbd95cb59bcdfba390ea5147df33
|
|
Add virtual sensor's associations so that the sensors could be shown in
Redfish and WebUI.
Tested: Verify the Total_Power is shown in Redfish as below
$ curl -k -H "X-Auth-Token: $token" https://${bmc}/redfish/v1/Chassis/G220A/Sensors/Total_Power
{
"@odata.id": "/redfish/v1/Chassis/G220A/Sensors/Total_Power",
"@odata.type": "#Sensor.v1_0_0.Sensor",
"Id": "Total_Power",
"Name": "Total Power",
"Reading": 514.0,
"ReadingRangeMax": null,
"ReadingRangeMin": null,
"ReadingType": "Power",
"ReadingUnits": "W",
"Status": {
"Health": "OK",
"State": "Enabled"
}
}
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I0c9c84917364cad701f00fc3041d427a6e8750bc
|
|
Add below virtual sensors based on VR sensors:
P0_DIMM_VR_Pwr = CPU0_DIMM_VR_0_Input_Power + CPU0_DIMM_VR_1_Input_Power
P1_DIMM_VR_Pwr = CPU1_DIMM_VR_0_Output_Voltage + CPU1_DIMM_VR_1_Output_Voltage
CPU0_VR_Pwr = CPU0_VR_0_Input_Power + CPU0_VR_1_Input_Power + CPU0_VR_2_Input_Power
CPU1_VR_Pwr = CPU1_VR_0_Input_Power + CPU1_VR_1_Input_Power + CPU1_VR_2_Input_Power
CPU0_VR_Temp = max(CPU0_VR_0_Temperature, CPU0_VR_1_Temperature, CPU0_VR_2_Temperature)
CPU1_VR_Temp = max(CPU1_VR_0_Temperature , CPU1_VR_1_Temperature, CPU1_VR_2_Temperature)
P0_DIMM_VR_Temp = max(CPU0_DIMM_VR_0_Temperature, CPU0_DIMM_VR_1_Temperature)
P1_DIMM_VR_Temp = max(CPU1_DIMM_VR_0_Temperature, CPU1_DIMM_VR_1_Temperature)
Tested: Verify the above sensors appear on DBus and the values are
expected.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I9412e7da1a147b64cb43a5f9981042623cfb6423
|
|
Add phosphor-virtual-sensor pakcage and configure it to enable
"total_power" sensor that is the sum of PSU0/1's input power.
Tested: Verify the Total_Power sensor is on DBus and the value is the
sum or PSU0 and PSU1's input power.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Ie8f61800299bef01a8bb74256c24d1f0a90df258
|
|
Use nonarch_base_libdir instead of base_libdir, because the files are
always in /lib/udev/rules.d/. On ppc64le base_libdir is lib64, and the
files end up in the wrong spot.
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Change-Id: I3c24dae293f4166f1ed1826d09d4bde7cd7d0357
|
|
convert-overrides.py meta-bytedance
git grep -l _g220a -- meta-bytedance | grep ".bb" | \
xargs sed -i 's/_g220a/:g220a/'
git grep -l _u-boot -- meta-bytedance | xargs sed -i \
's/_u-boot/:u-boot/'
Tested:
$ git grep "_[a-z0-9_/-]*[ :]" -- meta-bytedance | grep ".bb"
meta-bytedance/meta-g220a/recipes-phosphor/chassis/x86-power-control_%.bbappend:do_install:append() {
meta-bytedance/meta-g220a/recipes-phosphor/configuration/entity-manager_%.bbappend:do_install:append() {
meta-bytedance/meta-g220a/recipes-phosphor/console/obmc-console_%.bbappend:do_install:append() {
meta-bytedance/meta-g220a/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend:do_install:append(){
meta-bytedance/meta-g220a/recipes-phosphor/ipmi/phosphor-ipmi-kcs_%.bbappend:do_install:append() {
meta-bytedance/recipes-core/systemd/systemd-conf_%.bbappend:do_install:append() {
meta-bytedance/recipes-core/systemd/systemd_%.bbappend:do_install:append () {
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I26fb4c52012ee407ceb26c5a4120bf7b0b7a165a
|
|
Tested: Run ipmitool sensor list and verify the output is as
expected.
Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com>
Change-Id: Ibd81144adf8cb1477a8963cc3b8331b72c1a928b
|
|
ipmb may not be ready for communication when me-time-sync start.
Add some retry so that the time could be synced.
Tested: Test 10 times, me-time-sync can work well
Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com>
Change-Id: I93343d2ac17fc13b1d094bf05f424d9cb54cfa3f
|
|
The Total_Power sensor is not available on g220a system, add patch to
remove it.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Ibc70bec3d56b13740d3f17a666a8d0b0fa7c8429
|
|
Tested: Verify the CPU_Power and Memory_Power sensors are OK.
Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com>
Change-Id: I13fde13adc4062d5586167e411c129a986e3ad76
|
|
Add the power related config to enable power on.
Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com>
Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com>
Change-Id: I3912fc603cf249bb2a1f48f69b7e14d458a6e0f1
|
|
Tested:now we can see ipmi-kcs4 and eth1
Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com>
Change-Id: I85166e66c0b37a7b5b3f5b8387b6056afc66e1cd
|
|
Although hostlogger does not read the serial port, its systemd unit
depends on the obmc-console and waits for the obmc-console of the
specified serial port instance, which is vuart by default, ttyS2
on the g220a
Tested: journalctl |grep VUART, no realted log
Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com>
Change-Id: I4136e6f376e71d3590ab2a787784446bcc7647df
|
|
This patch is for phosphor-ipmi-host
(From meta-bytedance rev: 588f458cf553f84e1cc2cc9e7dca07ed6ebd3d86)
Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com>
Change-Id: I41a0c113ec6853f8a49ac1664c66595419b570e8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
read a byte at one time eg:
for the first byte
i2cset -y 1 0x50 0x00 0x00
i2cget -y 1 0x50
(From meta-bytedance rev: 6389a4f03a518e49241d13843cf005f4a85d7cc8)
Tested: Verify the eeprom mac addr can be read
use `fw_printenv`,`ip a` can read device
mac addr
Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com>
Change-Id: I5fbf28e5bb3bb2ccc2a074388f4166e35da48afc
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Do not enter the failmode if a temperature sensor's value is
NAN, It's useful for debug. We always want the pid-controler to
run, when debugging.
(From meta-bytedance rev: ae79ff9e289c85498e656172e99d44b11d969109)
Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com>
Change-Id: I957528b2e2f336bdf3abbd78ec105bdc249e3716
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Tested: Login in the webui, it works.
(From meta-bytedance rev: 69a07b424834dc1f78046177c1314988812e27e9)
Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com>
Change-Id: I2c89ce0cddfb0f68b788b855b67cbc56e321c3f4
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Tested: Run ipmitool fru print 0 and ipmitool sensor list,
the output is as expected.
(From meta-bytedance rev: 9e8a65aa85782b09f21fda3df0f502f6037e0f02)
Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com>
Change-Id: I0ab25c386a418d039f05a4c4e96553152322194f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
g220a BMC needs to get time from ME on start.
Add me-time-sync package that fetches time from ME via ipmb, and set the
time to BMC via `date` command.
Tested: Verify the time is set on BMC boots
(From meta-bytedance rev: c8640d007d25676261acc04317e5612269bd3ed5)
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I0e7f1d249cf743e3477843a67a6d2e6250c43aa6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Tested : we can see /dev/ipmb-4 on g220a
Use `busctl call xyz.openbmc_project.Ipmi.Channel.Ipmb \
"/xyz/openbmc_project/Ipmi/Channel/Ipmb" org.openbmc.Ipmb \
sendRequest yyyyay 0x01 0x0a 0x00 0x48 0`
to get ME time correctly
(From meta-bytedance rev: 58c6841aee1bd93c1070401ce7ca589367b8e6d0)
Signed-off-by: Lotus Xu <xuxiaohan@bytrdance.com>
Change-Id: Ic45173405ec9cd1806b5caa7a5081b6ed0d8fc3e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Tested: ssh -p 2200, SOL works well.
(From meta-bytedance rev: 1f40f6da4fc2e00fc06128ae6ba7dd1f045c8a84)
Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com>
Change-Id: I2abd1e11c5158da887ac382bb2a98f94d85a4749
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-bytedance rev: aec4880792267c1d8a00ba8a77b3fd23640691f3)
Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com>
Change-Id: I729b66aa82c4bde434879e9ef696c03d4015c624
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|