Age | Commit message (Collapse) | Author | Files | Lines |
|
In the commit 16bb75ab on the openbmc repo, it disables warm-reboot
build option in phosphor-state-manager by default. To enable warm-reboot
option, we have to remove no-warm-reboot packge configuration.
Tested:
1. Request power reset Host.
$ipmitool power reset
2. ForceWarmReboot target is called.
Change-Id: I4f7d4d4b148e77867562ed1a8efe7797f4a6d8dd
Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
|
|
Mt.Jade GPIO line-names are updated to follow naming convention at
https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md.
This commit updates related scripts to use the correct linenames.
Tested:
Check below features to work as before:
+ UEFI and SCP firmware update.
+ Host power control
+ Ampere UART mux switch
+ SCP failover
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: I080f844047618327042a7742d3fa6423b62be744
|
|
Change to use gpioset and gpioget to set value for output GPIOs and read
value for input GPIOs.
This commit also corrects GPIO base numbers which are changed in Linux
kernel 6.5
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I802f9d777537ff28f94945006b6582b15523e3a8
|
|
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
|
|
This moves the OpenBMC kernel to a v6.5 base for ASPEED.
The 6.5 kernel moved all 32-bit ARM device trees, so our BMC device
tress are now under an 'aspeed' subdirectory. This change means systems
must describe the KERNEL_DEVICETREE with the aspeed directory prefix.
There are 78 patches in the tree, with 40 of those patches not
yet queued for merging in v6.6.
The remaining out of tree patches include:
Andrew Jeffery (6):
dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation
pmbus (max31785): Add support for devicetree configuration
pmbus (core): One-shot retries for failure to set page
pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers
ARM: dts: aspeed: witherspoon: Update max31785 node
ipmi: kcs_bmc: Add a "raw" character device interface
Cédric Le Goater (1):
/dev/mem: add a devmem kernel parameter to activate the device
Eddie James (16):
ARM: dts: aspeed: bonnell: Add reserved memory for TPM event log
dt-bindings: soc: Add Aspeed XDMA Engine
soc: aspeed: Add XDMA Engine Driver
soc: aspeed: xdma: Add user interface
soc: aspeed: xdma: Add reset ioctl
soc: aspeed: xdma: Add trace events
i2c: core: Add mux root adapter operations
iio: si7020: Lock root adapter to wait for reset
eeprom: ee1004: Enable devices on multiple busses
dt-bindings: trivial-devices: Add Atmel AT30TSE004A serial eeprom
eeprom: ee1004: Add OF matching support
leds: pca955x: Refactor with helper functions and renaming
leds: pca955x: Use pointers to driver data rather than I2C client
leds: pca955x: Optimize probe led selection
leds: pca955x: Add HW blink support
leds: Ensure hardware blinking turns off when requested
Jae Hyun Yoo (1):
clk: ast2600: enable BCLK for PCI/PCIe bus always
Joel Stanley (14):
net: ftgmac100: Ensure tx descriptor updates are visible
ARM: aspeed: Add debugfs directory
ARM: soc: aspeed: Add secure boot controller support
dt-bindings: trivial-devices: Remove Infineon SLB9673 TPM
ARM: dts: nuvoton: npmc750-evb: Add default console
tpm: tis-i2c: Add more compatible strings
leds: pca955x: Revert "Remove the unused function pca95xx_num_led_regs()"
arm64: configs: Add Nuvoton NPCM defconfig
ARM: configs: aspeed: Add new FSI drivers
ARM: config: aspeed_g5: Enable SSIF BMC driver
ARM: config: aspeed: Remove FIRMWARE_MEMMAP
ARM: config: aspeed: Add Ampere SMPro drivers
ARM: config: Add openbmc defconfig
ARM: config: openbmc: Add HPE GPX and Nuvoton 7xx
Johannes Holland (1):
dt-bindings: tpm: Add schema for TIS I2C devices
Potin Lai (1):
mtd: spi-nor: winbond: Add support for w25q01jvq
Change-Id: Ib97af192391af6e71c96fe14e12cfc88c23d7a7d
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
This commit removes scripts to check GPIO fault as they poll GPIOs every
0.25s. Better solution needs to be found for this feature.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Ieef28d7d7f74dc43548c5448706ca8dbcb06ec2e
|
|
This commit enables dynamic-storages-only to use FRU and SEL commands
in the dbus-sdr w/o enabling sensor commands in the dbus-sdr folder.
Tested:
1. Users can read/write/edit FRU via ipmitool
2. Users can get the SEL logs via ipmitool.
Change-Id: I86138f36b30d248ec5fac07be4cda10031ddf203
Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
|
|
Remove unused service files and add missing call for
ampere-host-reboot@.service.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: If25d92343a23c313705213fba8f13446dcdb933e
|
|
Enable reset-button-do-warm-reboot to configure the reset button to
trigger SYSRESET GPIO when released.
Tested:
1. Turn ON the Host.
2. Press and release the reset button. Check if the Host is reset while
Host power is still ON
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Ife26183fa39f6dcbbb4b6e0aec30163ced257a35
|
|
Move services that are used across Ampere platform to
meta-ampere/meta-common to prevent duplicate codes.
Tested:
1. Compile Mt.Jade and Mt.Mitchell without error.
2. From Host OS run 'reboot' command and check if the BMC handles
correctly.
3. From Host OS run 'shutdown' command and check if the BMC handles
correctly
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I678d9a19fea0a531ad59d54ea9386cb177af18c6
|
|
Support to report sensor information via IPMI for on-board sensors
Tested:
1. Check sensor report using IPMI sdr command:
$ ipmitool sdr list
OutletTemp | 28 degrees C | ok
Psu1InletTemp2 | 32 degrees C | ok
PcieZoneTemp1 | 30 degrees C | ok
Psu0InletTemp2 | 29 degrees C | ok
PcieZoneTemp2 | 28 degrees C | ok
Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Change-Id: Ia38519c79596f65f780fe105ee25e8890825a44f
|
|
Below messages are displayed during BMC reboots:
mtjade (speed.sh)[710]: phosphor-fan-control@0.service: Failed to locate
executable /usr/bin/ampere_set_fan_max_speed.sh: No such file or directory.
mtjade (speed.sh)[710]: phosphor-fan-control@0.service: Failed at step EXEC
spawning /usr/bin/ampere_set_fan_max_speed.sh: No such file or directory
This commit fixes the issue by updating phosphor-fan configuration file
to properly install ampere_set_fan_max_speed to /usr/bin/.
Tested:
1. Reboot BMC
--> no above warning displayed
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: I5e630e320cf7d05ed33ea54e28ef98495d88f9a1
|
|
The obmc-console application now uses "\0obmc-console.default" as the
default socket name for a console server.
This commit updates hostlogger's ttyS0 port to use SOCKET_ID=default to
adapt the requirement.
Tested:
1. Check no hostlogger error message from journal log.
2. Check WebUI's SOL console works well.
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: I8767a6c01922f4aaf074031cfb8a4dacc1889ab0
|
|
As of 9a8f30ec5b58 ("obmc-console: Introduce console-id, deprecate
socket-id") in obmc-console `console-id` is preferred over `socket-id`.
Convert all in-tree configurations to `console-id` to enable removal of
support for the deprecated `socket-id` configuration option.
Change-Id: Ifd50603c378cfed5eb793b829b8296b7964e4194
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
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>
|
|
The same channel_config.json and power_reading.json are used across
Ampere platforms so move to meta-ampere/meta-common to avoid duplicate.
Tested:
1. Check if "ipmitool lan print 1/2/3" works.
2. On Mt.Jade, check if "ipmitool dcmi power reading" works
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I77f401d0b74455c3951fb746f8bea2ddb1c3667b
|
|
obmc-console configurations are missing some service appending, this
commit adds these.
Remove socket connection check in ampere_uartmux_ctrl.sh for meta-jade
because no socket file is used now in obmc-console.
Tested:
$ ampere_uartmux_ctrl <uart_port> <mux>
Can successfully switch between console header and BMC for host uart
ports
$ ssh root@<BMC_IP> -p <client_port>
Can successfully connect to host console uarts
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: Iaa0c4d8f9045fc94f6f50822516aaac0b99f088e
|
|
Support to detect GPIO, PSU, FAN, ... faults and turn ON/OFF fault LED.
Tested:
1. Unplug a PSU and check if Fault LED is turned ON.
2. Unplug a FAN and check if Fault LED is turned ON.
3. Stimulate GPIO fault pattern and check if the BMC can detect
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Signed-off-by: Quang Nguyen <quangn@amperecomputing.com>
Change-Id: Idfcd32953cf811fbe9299a162f604cb8fd028962
|
|
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>
|
|
Upstream obmc-console now supports the meson build system. I consider
the autotools build system deprecated and intend to remove it.
Change-Id: Ic8eea195bee0b3bea1cb9418593596ce1aaceeae
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
This commit fixes shelllcheck source in ampere_uartmux_ctrl.sh
to point to the exact source path.
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: I38d92582bb7783b18ff19fb8ae5e5abe0c1e3d44
|
|
This commit refactors obmc-console setup for mtjade
Tested:
1. Successfully connects to host consoles via ssh sol
$ ssh root@${bmc} -p 220*
2. Successfully connects host consoles via ipmi sol
$ ipmitool -I lanplus -H ${bmc} -U root -P 0penBmc \
-C 17 sol activate
3. All the host console logs are in /var/log/
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: Ie01361139644f5836646d1d98934cda52828ec70
|
|
Many scripts in meta-ampere had `shellcheck source=/dev/null`, which
isn't as useful as putting the real sourced script. Fix up all of
these in the meta-layer to point to the right script, which as a
side-effect allow a few global-disables to be removed.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Icb43dc76a19edbdada8b4caa6ced57ff07f42d27
|
|
Issue: When users execute power cycle via out-of-band IPMI command, they
can not execute other out-of-band IPMI commands. The issue is reproduced
as below.
Step 1:
ipmitool -H <BMCIP> -U root -P 0penBmc -C 17 -I lanplus chassis \
power cycle
> Chassis Power Control: Cycle
Step 2:
ipmitool -H <BMCIP> -U root -P 0penBmc -C 17 -I lanplus chassis status
> Error: no response from RAKP 1 message
> Error: Received an Unexpected RAKP 2 message
> Error: no response from RAKP 1 message
> Error: Received an Unexpected RAKP 2 message
> Error: no response from RAKP 1 message
> Error: Received an Unexpected RAKP 2 message
> Error: no response from RAKP 1 message
> Get HPM.x Capabilities request failed, compcode = d4
> Get Device ID command failed
> No valid response received
> Unable to get Chassis Power Status
Root cause: When users execute out-of-band IPMI commands, OpenBMC has to
execute PAM authentication. BMC is using SHA512 algorithm to calculate
hashed value with default number of rounds (5000 times). When users
request "power cycle", many tasks have to be executed, therefore, CPU
does not have enough resource to complete the calculation SHA512 for
other requests on time.
Solution: Update the salted of default password (0penBmc) to specific
number of rounds. The number of rounds is the minimum value of SHA512
algorithmi (1000 times) to reduce SHA512 calculation time. The value is
generated from command 'openssl passwd -6 -salt rounds=1000\$UGMqyqdG
0penBmc'.
Tested:
1. Request power cycle
"ipmitool -H <BMCIP> -U root -P 0penBmc -C 17 -I
lanplus chassis power cycle"
> Chassis Power Control: Cycle
2. Request read power status immediately
"ipmitool -H <BMCIP> -U root -P 0penBmc -C 17 -I
lanplus chassis status"
> Chassis Power is on
Change-Id: I260f52413d9ad0ae4ef73fb8466c4460c0365ea6
Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
|
|
Instead of overwriting ssifbridge.service to set bmc-ok, use systemd
drop-in units instead.
Tested:
1. Stop ssifbridge.service service, check if bmc-ok is 0.
2. Start ssifbridge.service service, check if bmc-ok is 1.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I36e065ed84c4c8aa154996d9a31cfc21d0ab5657
|
|
New docker container is flagging some issues in this shell script:
```
Command appears to be unreachable. Check usage (or ignore if invoked indirectly)
```
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I1a64d3d6663812bfde2404fded05cfcae7b81a1c
|
|
We are suppose to use direct executable calls in service files
rather than indirections through /bin/env (See Anti-patterns).
Tested:
- Check related services to work like before
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Idb494ce781fa1bdcac176cd89612e6016e6e04d9
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8ea79d284356629f5b7b24ad3a99336e9e2e297e
|
|
Change to handle HIGHTEMP event via multi-gpio-monitor application,
replacing ampere-gpio-handling.
Tested:
1. Stop fan monitor service
2. Stress CPU HOST
stress-ng.sh 600 5 max 100
3. Wait SOC Temp goes over 105 degree.
5. Check for HIGHTEMP event log.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Ia6b34c7d1d7b458e6db60ca79a7a091e19ecaf06
|
|
Update Mt.Jade IPMI sensor configuration via the latest SDR Definition.
Tested:
1. Run 'ipmitool sensor list' and check if reported sensor information
is correct.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Id41c1a40070edf5c09f843a5d9b93e0b9d4f35d2
|
|
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
|
|
This commit supports phosphor-hostlogger in STREAM mode, to forward
the byte stream from obmc-console to rsyslog via the imuxsock module.
The logs can be obtained in /var/log/. The logs are rotated by
logrotate. The size threshold of cpu console is 256KB and the others are
64KB. Each log is polled every 1 minute to check if its file size
exceeds the threshold to rotate it to the new file. Each console can be
saved in up to 2 log files.
Tested (CPU console):
1. Change the mux of CPU console to BMC
$ ampere_uartmux_ctrl.sh 1 2
2. Connect to CPU SOL console
$ ssh root@<BMC_IP> -p 2200
3. Execute commands in the CPU SOL console
=> The console output on CPU SOL console will all be logged to
/var/log/obmc-console-cpu.log
=> The log will be rotated to /var/log/obmc-console-cpu.log.1 if the
original log file size exceeds 256KB every 1min poll
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: I5586d1c634ec0f244069b868bd48b75560520dc1
|
|
Before flashing UEFI firmware, the BMC calls "obmcutil chassisoff" to
turn OFF the Host and wait 10s before checking if the Host is actually
OFF or not.
In some cases, 10s is not enough. This will make the flashing script
sees the Host is still ON and bypasses the flashing.
This commit changes to check Host state each 2s until maximum 60s to
avoid above failure.
Tested: check below steps 10 times and ensure all done successful:
1. Request to flash SCP firmware via Redfish.
2. Sleep 120s, when CPU is booting (did not jump to OS)
3. Request to flash UEFI firmware via Redfish.
4. Check if the flashing successes
Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
Change-Id: I403f4b432e53b3b091315612488c50dbb595ea76
|
|
Some targets were changed in phosphor-state-manager at commit 86a1ebf9
"move chassis power services to phosphor-state-manager" which makes our
dependency incorrect.
This commit fixes the target dependency to work with new change
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I2c2b321161db367a86b5c1dc86071abab04f03b9
|
|
This commit supports phosphor-fan application for mtjade platform.
phosphor-fan-control service controls fan speed following the mapping
tables with TS4_Temp, OCP_Temp, nvme_bp_max and nvme_m2_max sensor.
phosphor-fan-presence-tach and phosphor-fan-monitor services are fully
supported.
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: I11a598f627d5e261689c2bd9d85ce65f4fc330ea
|
|
This commit removes phosphor-nvme implementation in mtjade
platform and configures to use dbus-sensors's nvmesensor.
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: Ib9ce787e34265382a222697fb102fe63b4ba8a03
|
|
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: If4608c0520c5cc7f04f82193d7fc2f5841fdbd85
|
|
This power control implementation is not specific to openpower systems
(as seen by the variety of systems including it) so rename it to
something more appropriate.
This is using code from skeleton which is not ideal but that's a change
for another day.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Iffe6427b5494558b53cd6f5716a08cce82cb90d8
|
|
Add script to bind smpro driver when the Host is available but it is not
bound before. This helps applications that use smpro driver works.
Tested:
1. Do A/C the system.
2. Turn ON the Host
3. Check if smpro nodes are available
# ls /sys/bus/i2c/drivers/smpro-core/
2-004e 2-004f bind uevent unbind
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I6f96dc1f78ab77dae29bdc266949dcf7845de68c
|
|
Handle Altra Boot Progress reported from SCP regiter map by the use of
smpro-misc driver.
Tested: check boot progress is updated in Redfish for:
1. Reboot Host.
2. IPMI chassis power reset
3. IPMI chassis power cycle
4. IPMI chassis power off, then on
5. WebUI Orderly – OS shuts down, then server reboots
6. WebUI Immediate – Server reboots without OS shutting down
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I9483328ccf5731904d0e6e71074561f7dd743bed
|
|
Enable smpro-hwmon/errmon/misc support for Mt.Jade.
This commit also enables IPMI SSIF and XFS filesystem support
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Ic9bfb2cbdaa8b873b9bae44da35c7869bc456a3c
|
|
The meta-ampere/meta-jade folder contains features for Mt.Jade platform
which might support various chassis. Having :mtjade is redundant and
will limit features to work only with "standard mtjade".
This commit removes this string so that additional MACHINEs based on
Mt.Jade can work.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: If57acd557d678b8834f0c77f98855277e4eee844
|
|
Enable IPMI SSIF support for Mt.Jade platform. This also supports to set
BMC_OK GPIO when SSIF service starts and unset when SSIF service stops.
Tested:
1. Check if ssifbridge.service service starts
root@mtjade:~# systemctl status ssifbridge.service | grep Active
Active: active (running) since Tue 2022-10-11 02:17:55 UTC; 1h 49min ago
2. From Host OS, check if IPMI SSIF works.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I6b3a764f15c63b45acafdb590c7dfb223bfdd3a3
|
|
All of these abstractions have exactly one implementation. Remove the
indirection to improve at a glance comprehension.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I5d701aff6d0876fa3b2d16c841cbdcb0433b221f
|
|
Correct expression to calculate nvme_bp_max and nvme_m2_max sensors in
case missing nvmeX sensors
Tested:
1. Unplug all NVMe drives, and check if they are all 0
2. Plug some in abitrary slots and check if they have correct values,
not n/a
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: If0cc4e05b540394d15ed6bde3f04bcb13887477d
|
|
Use obmc-power-already-on target to trigger
ampere-power-on-driver-binder scripts instead of intergrating code to
ampere-host-check service.
Use obmc-host-already-running target to trigger
ampere-host-on-driver-binder scripts.
Add ampere-power-on-driver-binder service.
Tested:
1. ampere-power-on-driver-binder scripst should be called when the
chassis-power-control pin is triggered and only when the drivers are
not bound.
2. ampere-host-on-driver-binder scripts will be called when the host
is already on, right after host0-ready.
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: I02f83d60a603dbc8d214534a13162f504c8c7deb
|
|
Change to use phosphor-multi-gpio-monitor to handle all GPIO events from
Altra Host.
Tested:
1. Run reboot command from Host OS and check if Host can reboot and then
boot to OS.
2. Run shutdown command from Host OS and check if PowerState change to
Off after complete.
3. Check SCP failover handling.
4. Check PSU Hotswap workaround is applied when hot plugging/unplugging
PSUs
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I9797b51facf31672a6d2c9bc7ab7add24d8e06b8
|
|
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
|
|
Enable phosphor-ipmi-blobs and phosphor-ipmi-blobs-binarystore so that
SMBIOS MDR data can be sent from Host.
Tested:
1. Run BmcBlobGetCount command
$ ipmitool raw 46 128 0xcf 0xc2 0x0 0
cf c2 00 a4 78 01 00 00 00
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Ib8fe4f92d6e27d0c620aeb301b1dc63901720c9b
|
|
Replace Ampere implementation for UID button by the use of
phosphor-button.
Tested:
1. By default, the UID LED status is OFF.
- Press UID button and check if the UID LED is ON
- Press UID button again and check if the UID LED is OFF
2. Turn on the UID LED via ipmi command
$ ipmitool chassis identify
3. Turn Lit/Blinking/Off UID LED via Redfish:
$ curl -X PATCH --user root:0penBmc -H "Content-Type: application/json"
-H "If-Match: *" --insecure https://<bmc_ip>/redfish/v1/Systems/system
-d '{"IndicatorLED": "Lit|Blinking|Off"}'
--> check if the UID LED is ON, blinking or OFF, respectively
Signed-off-by: HuyLe <hule@amperecomputing.com>
Change-Id: I912e26be827167a201dad5d81be6728101405521
|