Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Common: Fix fw-util exit mechanism for bmc update (#2438)
Summary: Fw-util will throw exception string when update file size is more than 32MB. Pull Request resolved: facebookexternal/openbmc.quanta#2438 Test Plan: 1. Upload 64 MB image to bmc. 2. Update bmc with the image. Testing: 1. upload image root@bmc-oob:~# ls -lh /tmp/ | grep F -rw-r--r-- 1 root root 64.0M Mar 29 18:48 F0C_3A04.BIN 2. update bmc root@bmc-oob:~# fw-util bmc --update bmc /tmp/F0C_3A04.BIN /tmp/F0C_3A04.BIN over size /tmp/F0C_3A04.BIN is not a valid BMC image for angelslanding Upgrade of bmc : bmc failed Reviewed By: GoldenBug fbshipit-source-id: a15a94a5da
- Loading branch information