summaryrefslogtreecommitdiff
path: root/meta-ampere
AgeCommit message (Collapse)AuthorFilesLines
2023-04-03meta-ampere: mtmitchell: handle HIGHTEMP eventsChanh Nguyen5-0/+35
Handle HIGHTEMP assert/deassert GPIO events for both socket 0 and socket 1. Tested: 1. Stop fan monitor service 2. Stress CPU HOST stress-ng.sh 600 5 max 100 4. Wait for S0_SOC_Pkg_Temp exceeds 105 degree and check for event. 5. Turn OFF CPU stress and wait for S0_SOC_Pkg_Temp goes below 105C. Check for deassert event Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com> Change-Id: I7f2528b50c9a04e7c5ccbf56e9d2e04555351bba
2023-03-27treewide: switch '/usr/share' to datadirPatrick Williams2-2/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8ea79d284356629f5b7b24ad3a99336e9e2e297e
2023-03-27meta-ampere: mtjade: handle HIGHTEMP via multi-gpio-monitorThang Q. Nguyen10-51/+23
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
2023-03-15meta-ampere: phosphor-fan: Use monitor package configurationsChau Ly1-0/+8
This commit enables package configurations delay-host-control=20 and monitor-use-host-state, in order to delay and rescan before turning host off when fan sensors are not detected after power state changes from Off to On; and use CurrentHostState to decide host state for phosphor-fan-monitor instead of pgood state. Tested: 1. Host is ON, reboot BMC => Host is not turned off unexpectedly during BMC boot up 2. Power cycle host => fan sensors are not marked as non-functional Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: Iea6ed195a42e41bee23066e670b67c19bcfda722
2023-03-08meta-ampere: mtjade: update IPMI sensor configurationThang Q. Nguyen1-15/+259
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
2023-03-08meta-ampere: pam: set default unlock time to 1800Thang Q. Nguyen1-1/+1
Ampere account lockout policy is defined as: 'Five consecutive failed login attempts will lock the account for 30 minutes". While the login attempt was set to 5 already, the 30-minute lock period (auto-unlock) has not been set. This commit adds the missing 30-minute lockout by default. Tested: 1. Enter WebUI -> User management 2. Click on Account policy settings and check if: - Max failed login attempts: 5 - User unlock method: Automatic after timeout - Timeout duration (seconds): 1800 Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Ieed9a719c424a289687e66314f4c68de5d108b6e
2023-03-08meta-ampere: mtmitchell: platform init: remove some GPIOsThang Q. Nguyen1-2/+0
Remove power-button and reset-button from platform init to avoid GPIO access conflict with phosphor-buttons. Tested: 1. Check power button works. 2. Check reset button works Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I940e62a9c32a7abe232e02843e1b7b6078481b46
2023-02-21meta-ampere: mtmitchell: enable PostCodeHieu Huynh1-0/+2
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
2023-02-21meta-ampere: mac-update: MAC update with static IPHuyLe1-0/+23
When the IP Address is configured to static IP, changing BMC MAC Address in FRU does not change the MAC address in eth0. This commit fixes the issue by adding IPMI MAC address update and some other configuration via ipmitool lan set commands to ampere_update_mac.sh to ensure the update is taking effect. Signed-off-by: HuyLe <hule@amperecomputing.com> Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: Ib0466ee130af6d294fed03587c4d96328221d017
2023-02-21meta-ampere: support software revision using Ampere formatHieu Vu1-0/+17
OpenBMC uses os-release.bbappend to control the FW version, which is the output of 'git describe --dirty --long'. The format of this command's output is: {annotated-tag-name}-{num-commits-to-tag}-{current-commit-hash}. '-dirty' will be appended to the output if the working space is not clean. In addition, git describe --dirty --long only find an annotated tag, not lightweight tag which will miss internal release. This commit updates the rule to extract the right revision from Ampere build and release tag. Tested: tag with v1.02.100-ampere and check WebUI display revision 1.02.100. Signed-off-by: Thu Cao <thcao@os.amperecomputing.com> Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: I6d5e6d2dcdb4988809f71d48a5b0e2710e7810d2
2023-02-14meta-phosphor: mapper cleanupsBrad Bishop1-2/+0
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>
2023-01-30meta-ampere: Change login attempt default thresholdChau Ly2-0/+22
The default login attempt threshold is currently 0. This patch changes the value to 5 to match with Ampere's functional specification. Test: 1. Login via web and check Account policy settings 2. Default value at "Max failed login attempts Value must be between 0 – 65535" is 5 Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: I3b46d23f02b8c64ce27fd68cda335fe4550f926f
2023-01-13yocto:mickledore: add support for new yocto layerAndrew Geissler3-3/+3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
2023-01-13meta-ampere: mtmitchell: Support host consoles loggerChau Ly26-4/+186
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
2023-01-13meta-ampere: mtjade: Support host consoles loggerChau Ly12-4/+169
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
2022-12-15meta-ampere: mtjade: fix flash BIOS occasional failThang Tran2-30/+49
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
2022-12-09meta-ampere: mtjade: fix target dependencyThang Q. Nguyen4-5/+5
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
2022-11-30meta-ampere: mtjade: Support automatic fan controlChau Ly12-0/+867
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
2022-11-30meta-ampere: mtjade: Change from phosphor-nvme to nvmesensorChau Ly4-127/+1
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
2022-11-28meta-ampere: fix typo on phosphor-skeleton-control-powerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: If4608c0520c5cc7f04f82193d7fc2f5841fdbd85
2022-11-28rename obmc-op-control-power to phosphor-skeletonAndrew Geissler2-2/+2
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
2022-11-24meta-ampere: mtjade: bind smpro driverThang Q. Nguyen3-0/+35
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
2022-11-18meta-ampere: support Altra Boot Progress handlingThang Q. Nguyen5-0/+251
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
2022-11-18meta-ampere: kernel: enable SSIF, SMPRO, XFSThang Q. Nguyen2-0/+22
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
2022-11-18meta-ampere: mtjade: remove redundant mtjade stringThang Q. Nguyen5-20/+20
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
2022-11-15meta-ampere: mtmitchell: support system firmware hang handlerHieu Huynh4-0/+89
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
2022-11-09meta-ampere: mtmitchell: ipmi-oem: configure bus-address of BMC's FRUThang Tran1-0/+2
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
2022-11-08ampere-ipmi-oem: srcrev bump db24557c20..2a19152956Andrew Geissler1-1/+1
Thang Tran (1): Support IPMI OEM command to edit BMC MAC Address Change-Id: I0429e47d9831f2cd49bdda344760b28a33c41a19 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-11-02Remove PACKAGECONFIG for nic-ethtoolJason M. Bills1-1/+0
The nic-ethtool option was removed from phosphor-network, so we also need to remove the PACKAGECONFIG option to build the phosphor-network bump. Tested: Confirmed that the latest phosphor-network builds successfully. Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com> Change-Id: Id1e12f3f2af2450500ec6c0b2acef284cb69d0a7
2022-10-27meta-ampere: mtmitchell: handle overtemp eventChanh Nguyen3-0/+22
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>
2022-10-26meta-ampere: mtmitchell: fix WebUI does not workThang Q. Nguyen2-13/+15
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
2022-10-25meta-ampere: mtmitchell: initial support consolesHieu Huynh8-0/+174
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
2022-10-25meta-ampere: mtmitchell: support Host firmware updateChanh Nguyen5-21/+459
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
2022-10-19meta-ampere: mtmitchell: set BMC MAC address from FRUThang Tran3-0/+35
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
2022-10-15meta-ampere: mtmitchell: add Host power control supportChanh Nguyen7-0/+225
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
2022-10-15meta-ampere: Initial AmpereOne(TM) Mt. Mitchell's non-DC-SCM BMC supportChanh Nguyen24-0/+993
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
2022-10-15meta-ampere: mtjade: enable IPMI SSIFThang Q. Nguyen4-0/+206
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
2022-10-13treewide: remove pointless abstractionsBrad Bishop1-2/+2
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
2022-10-10meta-ampere: mtjade: correct virtual sensor expressionThang Q. Nguyen1-35/+19
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
2022-10-10meta-ampere: bmcweb: set http-body-limit to 65Thang Q. Nguyen1-0/+1
Ampere Mt.Jade platform has 64MB SPI-NOR but the default http-body-limit is just 30. It makes firmware update via WebUI or Redfish is fail to work when many features added. This commit increases the http-body-limit value to 65 to avoid firmware update failure. Tested: 1. Add full Mt.Jade features and verify if firmware update works well Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: If042a29aea8fe274194578326e2868e084d626e6
2022-10-06meta-ampere: refactor drivers binder servicesThu Nguyen4-0/+59
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
2022-10-06meta-ampere: mtjade: use phosphor-multi-gpio to handle GPIO eventsThang Q. Nguyen25-173/+97
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
2022-10-06meta-ampere: support ampere power/host already on targetsThu Nguyen5-0/+48
There are no targets to identity the already on of power state and the already running of host state. This commit adds those targets. The targets will be the check points to start ampere services such as drivers binder, hang detection... obmc-power-already-on@.target will be always activated when chassis-power-control is asserted. It will be deactivated before deasserting chassis-power-control. obmc-host-already-on@.target will be activated when the host%i-ready is triggered. The target will be deactivated before turning off/reseting the host. Tested: 1. The targets should be activated/deactivated as designing. Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: I09a8b94d8043f31f7cee83b29765f7e2c7a5c35a
2022-09-30add langdale to compatible layerAndrew Geissler2-2/+2
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
2022-09-27meta-ampere: mtjade: enable ipmi-blobsThang Q. Nguyen1-0/+2
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
2022-09-20meta-ampere: mtjade: handle UID button via phosphor-buttonsHuyLe4-17/+5
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
2022-09-12treewide: handle more upstream TEMPLATECONF movePatrick Williams1-0/+0
We also need to move the conf-notes.txt files. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic44e015c0216b526de4fec277ad42f162bca1f33
2022-09-09treewide: handle upstream TEMPLATECONF movePatrick Williams2-0/+0
The latest poky commit is requiring us to have all of our template configs in a subdirectory instead of directly in the `conf` directory. Without this we end up with errors during setup like: ``` Error: TEMPLATECONF value (which is .../openbmc/meta-facebook/meta-bletchley/conf) must point to meta-some-layer/conf/templates/template-name ``` Fix this by moving all of our template files into the 'default' template subdirectory (following the pattern of poky) and modifying `setup` as necessary to follow. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iecefde73d55acbb6bc63ae3d68c4311adaf327ae
2022-09-05meta-ampere: mtjade: enable dcache in ubootThang Tran1-0/+1
Currently, the uboot can not jump to Linux kernel due to the watchdog timeout. This commit enables dcache in uboot to speed up jumping from uboot to kernel, it made the kernel is booted successfully. Tested: 1. Linux kernel is booted successfully. 2. User can flash new BMC software in u-boot. Signed-off-by: Thang Tran <thuutran@amperecomputing.com> Change-Id: I17bce6bdea5168e5c261b44df6ccb16e0ef8a3c1
2022-08-16ampere-ipmi-oem: srcrev bump 14b2feea99..db24557c20Andrew Geissler1-1/+1
Thang Q. Nguyen (1): MAINTAINERS: remove file Change-Id: I8d759bba932e9727c4baa0bf914e7e553ef12d24 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>