Ampere Server Platforms๏
Enablement
LAVA by default is configured to work with this DUT + LAA setup. If you opt for a different setup youโll have to change your DUT + LAA device configuration on LAVA.
This guide covers the setup and configuration of Ampere server platforms, including:
AmpereOne Server Platform - Uses USB TTY serial connection with fan noise reduction
Altraยฎ Max AC02 - Uses IPMI SOL (Serial Over LAN) connection
Components๏
The following components are required to fully automate Ampere servers:
For AmpereOne๏
USB to TTY serial cable
Network cables for private network and IPMI connections
Power control via IPMI
For Altra Max AC02๏
Network cables for private network and IPMI connections
Power control via IPMI
SOL (Serial Over LAN) via IPMI
Firmware Requirements๏
GRUB Configuration๏
Both platforms require a properly configured GRUB bootloader with network boot capabilities:
Required modules:
net_bootp,tftpArchitecture: aarch64/arm64
Firmware location:
https://firmwares.lavacloud.io/grubaa64.efi
The GRUB firmware must be installed on the serverโs EFI system partition and configured as the primary boot option.
Platform-Specific Configuration๏
AmpereOne Server Platform๏
The AmpereOne platform has specific considerations:
Serial Connection: Uses
telnet localhost 2010for serial console access via USB TTYMore reliable than IPMI SOL for this platform
Requires USB serial adapter connected to LAA
Fan Noise Reduction: The platform includes IPMI raw commands to reduce fan noise:
ipmitool -I lanplus -H <BMC_IP> -U ADMIN -P ADMIN raw 0x3c 0x03 0x01 for i in $(seq 0 10); do ipmitool -I lanplus -H <BMC_IP> -U ADMIN -P ADMIN raw 0x3c 0x04 $i 0x1e done
These commands are automatically executed during hard reset operations.
USB Control: LAA USB port 2 is used for additional control:
laacli usb 2 off- Disable USB portlaacli usb 2 on- Enable USB port
Altra Max AC02๏
The Altra Max AC02 platform configuration:
Serial Connection: Uses IPMI SOL for console access
ipmitool -I lanplus -H <BMC_IP> -U ADMIN -P ADMIN sol activate
Boot Delay: Configured with a higher boot character delay (500ms) for stability
Standard IPMI Power Control:
Power on:
ipmitool -I lanplus -H <BMC_IP> -U ADMIN -P ADMIN power onPower off:
ipmitool -I lanplus -H <BMC_IP> -U ADMIN -P ADMIN power offSOL deactivation on power off for clean disconnection
Network Configuration๏
BMC/IPMI Network Setup๏
The BMC (Baseboard Management Controller) must be configured with a static IP address:
Required static IP:
198.18.0.3Default credentials:
ADMIN/ADMIN(should be changed in production)
LAA Private Network๏
The LAA provides a private network with DHCP:
DHCP range: Provides
198.18.0.2to the DUT (Device Under Test)LAA IP:
198.18.0.1(gateway and TFTP server)
Network Switch Configuration๏
To allow the LAA private network to communicate with both the IPMI interface and the DUT, you need one of the following:
Dumb/Unmanaged Switch (Simplest option):
Connect LAA private network port
Connect serverโs primary network interface (DUT)
Connect serverโs IPMI/BMC network interface
All devices will be on the same 198.18.0.0/24 network
Managed Switch with VLAN (For larger deployments):
Configure a dedicated VLAN for the test network
Add the following ports to the VLAN:
LAA private network port
Server DUT network port
Server IPMI/BMC port
Ensure all ports are untagged/access ports for this VLAN
Network Connectivity Requirements๏
LAA must reach IPMI at
198.18.0.3for power controlLAA must reach DUT at
198.18.0.2for TFTP boot and testingDUT receives DHCP from LAA at
198.18.0.1
GRUB Setup Instructions๏
Download the GRUB firmware:
wget https://firmwares.lavacloud.io/ampere/grubaa64.efiCopy to EFI partition (from a booted Linux system on the server):
mount /boot/efi cp grubaa64.efi /boot/efi/EFI/BOOT/BOOTAA64.EFI
The GRUB firmware is should now drop to a
grub>prompt, allowing LAVA to take control and execute network boot commands directly.
Troubleshooting๏
AmpereOne Fan Noise๏
If the AmpereOne server fans are running at high speed:
Verify the IPMI raw commands are being executed during reset
Check BMC firmware version for compatibility
Consider adjusting the fan control parameters in the raw commands
Serial Console Issues๏
AmpereOne: Verify USB serial cable connection and telnet port (2010)
Altra Max: Check IPMI SOL configuration and network connectivity
Network Boot Failures๏
Verify GRUB has the required network modules
Check DHCP/TFTP server configuration on the LAVA worker
Ensure BMC and target networks are properly segregated