Firmware validation
CISCO SPA504G
Software
The logic to validate the firmware bundle begins at: libupg_validate_firmware_mem.
This is called from libupg_upgrade_mem that is subsequently called from the command upgrade in the psbl terminal.
This can be seen from the upgrade command handler:
int upgrade...