summaryrefslogtreecommitdiff
path: root/meta-ampere
AgeCommit message (Collapse)AuthorFilesLines
2021-02-01meta-ampere: Support virtual Ethernet over USB deviceThang Q. Nguyen6-0/+153
Implement systemd service to create an Ethernet over USB interface for communication between CPU and BMC. Tested: 1. Check usb0 ethernet interface in BMC console root@mtjade:~# ifconfig usb0 usb0 Link encap:Ethernet HWaddr DA:F7:E9:A3:5A:0C inet addr:192.168.0.10 Bcast:192.168.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:412 (412.0 B) 2. Check USB Ethernet device on Host Linux $ lsusb | grep Ethernet Bus 001 Device 004: ID 1d6b:0103 Linux Foundation NCM (Ethernet) Gadget Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com> Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Icb7c096df426233e8f2ee7318f2a1805f07ab3a7
2021-02-01meta-ampere: u-boot: Disable internal PD resistors for GPIOsThang Q. Nguyen2-0/+46
Configure SCU8C - Multi-function pin control 4 to disable internal pull down resistors for GPIOJ, GPIOG/GPIOAB, GPIOD/GPIOY, GPIOC/GPIOS as external resistors are already installed. Tested: scan I2C4 and check devices on the bus are detected Signed-off-by: Thinh Pham <thinh.pham@amperecomputing.com> Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I5a4b682310b5243830bd9c7a66889b0a52c4770c
2021-02-01meta-ampere: Support Ampere power controlTung Nguyen14-0/+325
Implement the Ampere power control requirements for Altra system. Tested: - Check the ipmi commands: ipmi power on/off/soft/reset/cycle - Check the redfish commands: On, Off, ForceOn, ForceOff, GracefulShutdown, GracefulRestart, ForceRestart, PowerCycle Signed-off-by: Tung Nguyen <tungnguyen@os.amperecomputing.com> Change-Id: Id0c64c1284a6338ce47ca720d0ef75e99d21aa3c
2021-02-01meta-ampere:mtjade:u-boot: Enable FANs to run at full speed on resetThang Q. Nguyen2-0/+92
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
2021-01-30meta-ampere:meta-jade Add skeleton configuationTung Nguyen2-0/+55
Add the Mt.Jade skeleton configuration to support the basic power control Tested: 1. Compile OpenBMC image and boot successfully on Mt.Jade 2. Check basic gpio get/set and the power control action successfully Signed-off-by: Tung Nguyen <tungnguyen@os.amperecomputing.com> Change-Id: Ifc4f5746c3fb7e8d5e30a12cf29dd3f02e5de953
2021-01-30meta-ampere: Add Mt.Jade machineThang Q. Nguyen9-0/+889
Add initial Mt.Jade platform support with minimal configuration so that the code can be compiled and booted on the Mt.Jade platform system. Tested: 1. Compile OpenBMC image for Mt.Jade successfully and can boot on Mt.Jade. 2. Login to console and WebUI successfully. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Ib4c2c30be7fc0a13cc66f7eb1c8b9604e9a5292f
2021-01-30meta-ampere: Initial commit of Ampere ComputingThang Q. Nguyen5-0/+263
This commit adds layer configuration, license, and maintainer files for meta-ampere. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I7fc3e08cddb1e402153c8d163576fa36d4441785