199661c216
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
12 lines
193 B
Bash
Executable File
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
|