commit | eb083550701a4e3bda8d4b07e37d1f9fd6017424 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Fri Aug 04 14:03:32 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Aug 07 01:34:55 2017 +0000 |
tree | f22db9cf883a3f55c7e673cfb8c7501132714cc7 | |
parent | c71dfd79ebec73e783888fee262b0952bc2040f4 [diff] |
Set partition actual size to file size if patch file present A patch partition file may be of smaller size than the size allocated for that partition. If that's the case then set the actual size value to the smaller file size. This mimics the pflash implementation of flashing an individual partition, which updates the actual size in the toc to the size of the provided file. Change-Id: I7653f5570e9e2b32b095ee6d7be4557cf59d2de7 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Copyright 2017 IBM
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This repo contains the protocol definition for the host to BMC mailbox communication specification which can be found in Documentation/mbox_procotol.md.
There is also a reference implementation of a BMC mailbox daemon, the details of which can be found in Documentation/mboxd.md.
Finally there is also an implementation of a mailbox daemon control program, the details of which can be found in Documentation/mboxctl.md.