Update FW Update command to new Redfish message format

The REDFISH_MESSAGE_ID requirements and format for
REDFISH_MESSAGE_ARGS have changed, so this change updates the
Redfish message to the new format and makes a couple minor fixes
for getting the instance and checking the target range.

Tested:
Ran these commands:
root@wolfpass:~# ipmitool raw 0x30 0x44 0 0x00 1 2 3 4 5 6

root@wolfpass:~# ipmitool raw 0x30 0x44 1 0x12 1 2 3 4 5 6

root@wolfpass:~# ipmitool raw 0x30 0x44 2 0x24 1 2 3 4 5 6

root@wolfpass:~# ipmitool raw 0x30 0x44 1 0x36 1 2 3 4 5 6
Unable to send RAW command (channel=0x0 netfn=0x30 lun=0x0
cmd=0x44 rsp=0xcc): Invalid data field in request

root@wolfpass:~# ipmitool raw 0x30 0x44 1 0x48 1 2 3 4 5 6

root@wolfpass:~# ipmitool raw 0x30 0x44 3 0x00 1 2 3 4 5 6
Unable to send RAW command (channel=0x0 netfn=0x30 lun=0x0
cmd=0x44 rsp=0xcc): Invalid data field in request

Confirmed that the successful commands added the expected Redfish
message.

Change-Id: I9c81cdb2b81b630c5dfd6eccea878cec14c7f076
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
1 file changed