View Single Post
Old 10-18-2012, 06:35 PM   #24
murg
No Comment
murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.murg ought to be getting tired of karma fortunes by now.
 
Posts: 3,238
Karma: 23878043
Join Date: Jan 2012
Location: Australia
Device: Kobo: Not just an eReader, it's an adventure!
Quote:
Originally Posted by george.talusan View Post
This is why firmware packages should not be sideloaded.
This is why the onboard Firmware Update Management Firmware should confirm that the presented firmware update package is for the device being updated.

This isn't very hard. It can be done with a single file containing the device the firmware is for. And the FUMF should be able to determine which device it is operating on fairly easily.

Code:
if (DeviceCodeInFirmware != DeviceCodeOnDevice)
{
    // firmware for wrong device
    DeleteFirmwareFiles();
}
else
{
    // firmware for this device
    UpdateFirmware();
}
I'm sure we can find people on here that can write this snippet in any language or scripting language you want.
murg is offline   Reply With Quote