Age | Commit message (Collapse) | Author | Files | Lines |
|
Enable PostCode from the phosphor-host-postd to support OEM Boot
Progress.
Tested:
1. Get Boot.Raw tree:
root@mtmitchell:~# busctl tree xyz.openbmc_project.State.Boot.Raw
`-/xyz
`-/xyz/openbmc_project
`-/xyz/openbmc_project/state
`-/xyz/openbmc_project/state/boot
`-/xyz/openbmc_project/state/boot/raw0
Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Change-Id: Idfd28d2d6512d7aa63339d5567628797538930b3
|
|
Mapper ships with systemd unit and dbus configuration files now, so
remove unnecessary bitbake classes.
Mapper is dbus-activated, so obmc-mapper.target dependencies are
redundant and no longer necessary.
obmc-mapper.target is the last target in obmc-targets, so remove that
recipe and any dependencies on it.
Change-Id: I59ff8dcd480b4449d0ef59422ba80c12848dade9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
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: I336bde09c4ef61ea68e05bef2c0b4e4298ea7959
|
|
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
|
|
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
|
|
Monitors GPIOF4 for 1P system and GPION5 for 2P system to detect if
system firmware hang. If these GPIOs stop asserting for more than three
seconds, BMC will trigger events and reset the system.
Tested:
1. Simulate the GPIO that deasserted for more than three seconds.
2. Fail to boot to Host, check the event log is created
and system will be reset.
Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Change-Id: I2c2d5d50e5ebd6d9b9e3435ab1c17393dac1d9cf
|
|
This commit configures the bus and address of the BMC FRU device
so that IPMI OEM commands can identify such.
Tested:
1. Request to update MAC address.
ipmitool raw 0x3c 0x01 0x70 0xe2 0x84 0x86 0x76 0xc0
2. Reboot then check MAC address.
ip a
3. MAC address is updated as step 1.
Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
Change-Id: Iad2bd9a5e43268e82f2bdb4413746bdcba45deb2
|
|
Configure gpio monitor to check for OVERTEMP GPIO signals from the Host
CPU. Once the event happens, shutdown the Host to avoid hardware damage
and log a Redfish event log.
Tested:
1. Unplug all FANs and run stress test the Host so that the Temperature
can reach 120C.
2. Check if BMC turns OFF the Host when the CPU Temp reaches 120C.
Change-Id: Idc2b446023a1ba3476463e5cca28146ae2ead84a
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
|
|
Accessing WebUI returns Unauthorize message because no webui-vue
available.
This commit fixes the issue by enabling webui-vue in
packagegroup-obmc-apps. Also fixes for other applications like
dbus-sensor, entity-manager.
Tested:
1. Browse the BMC IP via WebUI.
2. Check dbus-sensor and entity-manager works
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Icbed54fc5f45683c52a464ac58f701101fc8ccee
|
|
Add CPU console configuration so that users can use CPU console via
solssh and IPMI sol.
Tested:
1. Connect IPMI sol using "ipmitool sol activate" command via LAN.
2. Connect CPU console from WebUI.
3. Connect to CPU console via solssh:
ssh -p 2200 root@<BMC IP>
Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Change-Id: I4a123eca30f1b6d6a702957e332d0b924bd8b3c6
|
|
Support Host firmware update for HostFW, EEPROM and FRU via BMC
console and Redfish.
Tested:
1. Flash firmwares via BMC console.
2. Flash firmware via Redfish
3. Get MB CPLD firmware revision
$ ampere_firmware_version.sh mb_cpld
MB CPLD
CPLD Version: 22060268
CPLD DeviceID: 612BE043
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Change-Id: I1cfbe4832b7d57168e2ea1df0059e23ada1b3b6d
|
|
Update the MAC address via BMC FRU data, the MAC address is based on
"Board extra information 1". BMC FRU device is detected based on i2c bus
index and address.
Tested:
1. Clear environment and then reboot BMC.
2. Wait for BMC to boot complete, check for eth0 to have MAC Address the
same value defined in FRU at Board Extra.
Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
Change-Id: I5d644109143e4d600b92e23e3f1627986e827768
|
|
Support Host power control for Mt.Mitchell platform
Tested:
1. Verify if Host power ON/OFF/cycle/reset work via IPMI, Redfish and
WebUI.
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Change-Id: Ia397866ac3aef128958d84696209ecab80d16266
|
|
Add new Mt.Mitchell platform with basic features so that it can be
compiled and works.
Tested:
1. Compile for Mt.Mitchell successful.
2. Flash and check for the firmware can boot on the Mt.Mitchell
non-DC-SCM system without issue
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Change-Id: I8dc9db9029b27c0c6325c31d368cdbb614a3c8b6
|