A: Typically 4KB to 64KB, depending on boot ROM constraints.
A: Requires flashing a new bootloader that supports verification. Do in recovery mode with signed images only. svb configs
json.dump(config, open("svb_config.json","w")) A: Typically 4KB to 64KB, depending on boot ROM constraints
config = "rollback_index": 1, "spl_digest": spl_hash, "uboot_digest": hashlib.sha256(open("u-boot.bin","rb").read()).hexdigest() A: Typically 4KB to 64KB
sha256sum spl.bin > spl.hash sha256sum u-boot.bin > uboot.hash
openssl dgst -sha256 -sign private.pem -out svb_config.sig svb_config.json