summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-jade/recipes-bsp/u-boot/u-boot-aspeed/0001-aspeed-scu-Switch-PWM-pin-to-GPIO-input-mode.patch
AgeCommit message (Collapse)AuthorFilesLines
2021-11-05meta-ampere: mtjade: remove u-boot patchesThang Q. Nguyen1-87/+0
Remove Mt.Jade u-boot patches as we have other approach for them: 1. Patch 0001 is to set FANs to maximum speed in u-boot to avoid hardware damage in case of Host ON with high CPU usage. This can be resolved by setting FAN to maximum speed when the FAN service stop. 2. Patch 0002 is to enable I2C4 device access. With commit 0b32c1b40@linux, I2C4 enable is set via gpio-hog 3. Patch 0003 will be resolved later by supporting Aspeed watchdog with boot status. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I247f99ebac7c3ca10a2dc77f1909f5c0c519401d
2021-02-01meta-ampere:mtjade:u-boot: Enable FANs to run at full speed on resetThang Q. Nguyen1-0/+87
When BMC is reseting, FANs do not run at all. This might cause heating issue in case the Host CPU is in high load. To protect the hardware, it is safe to set FANs run at full speed when BMC is booting. After it boots complete, phosphor-fan service will take control on FANs to make them work at the right speed. This commit adds patch to configure all PWM function pins to input GPIO mode to make FANs run at full speed. Tested: 1. Boot BMC to Linux. 2. Turn on Host by "ipmitool chassis power on" command 3. Reboot BMC and check if FAN speed is maximum at u-boot. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I38f1433a576a1700938347dc89eddacf3fb3bf60