sonic-buildimage/device/supermicro/arm64-supermicro_sse_g3748-r0/platform_reboot
selva 199661c216
[devices]: add support to Supermicro G3748 switches (#13420)
Why I did it
Enabled SONiC on Supermicro switch SSE G3748. This contains the code needed under "device" directory.

How I did it
As per the porting guide documentation posted in SONiC WiKi

How to verify it
Build SONiC with ARC=arm64 PLATFORM=marvell and download image from ONIE into Supermicro SSE G3748
2023-01-19 09:17:51 -08:00

12 lines
193 B
Bash
Executable File

#!/bin/bash
function SafePwrCycle() {
sync ; sync
umount -fa > /dev/null 2&>1
# Write CPLD register to initiate cold reboot
sudo i2cset -f -y 0 0x66 0x02 0x80
}
SafePwrCycle