According to MediaTek's proprietary PI_IMG parser, two cookies (one header and one footer) are expected. Therefore, add a script to perform validity check of the PI_IMG firmware, so that format errors could be caught in build time. Change-Id: I27011492c7fab747aa3ee12d514d20a6a52d0a4d Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87226 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
137 B
137 B
mediatek
- check-pi-img.py - Check
PI_IMGfirmware.Python3 - gen-bl-img.py - Generate MediaTek bootloader header.
Python3