1d8c9eea3SLei YU[Unit] 2*984cef59SLei YUDescription=Flash image-bmc to the alt chip and reset cs0 3d8c9eea3SLei YU 4d8c9eea3SLei YU[Service] 5d8c9eea3SLei YUType=oneshot 6d8c9eea3SLei YURemainAfterExit=no 7b5171acdSLei YUExecStartPre=-/bin/systemctl stop xyz.openbmc_project.Software.Sync.service 8b5171acdSLei YUExecStartPre=-/usr/bin/obmc-flash-bmc umount-static-altfs rofs-alt 9b5171acdSLei YUExecStartPre=-/usr/bin/obmc-flash-bmc umount-static-altfs rwfs-alt 10d8c9eea3SLei YUExecStart=/usr/sbin/flashcp /tmp/images/%i/image-bmc /dev/mtd/alt-bmc 11b5171acdSLei YUExecStartPost=-/usr/bin/obmc-flash-bmc static-altfs squashfs alt-rofs rofs-alt 12b5171acdSLei YUExecStartPost=-/usr/bin/obmc-flash-bmc static-altfs jffs2 alt-rwfs rwfs-alt 13b5171acdSLei YUExecStartPost=-/bin/systemctl start xyz.openbmc_project.Software.Sync.service 14*984cef59SLei YUExecStartPost=-/usr/bin/reset-cs0-aspeed 15