diff options
author | Yilin Yang <kerker@google.com> | 2020-09-16 14:20:52 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2020-09-18 08:00:22 +0000 |
commit | f944e619dd2739d268fc7eaea85d8acdf91bbfb8 (patch) | |
tree | b858eabdad86c0373eb701dad8a6de279e5f0d0f /LICENSES/CC-BY-4.0.txt | |
parent | 541f2f74a37db36a8e35800950fd02adb0443d88 (diff) |
util/mtkheader: Port gen-bl-img.py to python3
BUG=chromium:1023662
TEST=1. Use python2 script
2. Run `emerge-asurada coreboot` twice, so we get bootblock.bin.1
and bootblock.bin.2
3. Run `xxd` on these two bootblock so we get bootblock.bin.1.hex
and bootblock.bin.2.hex
4. `diff bootblock.bin.1.hex bootblock.bin.2.hex` and record the
difference. (at least, the time info changes)
5. Migrate to python3
6. Similar steps, we get bootblock.bin.py3.hex
7. `diff bootblock.bin.1.hex bootblock.bin.py3.hex`, the difference
is similar.
Signed-off-by: Yilin Yang <kerker@google.com>
Change-Id: I788e7c9b09257142728a0f76df8c2ccc72bf6b3b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45440
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'LICENSES/CC-BY-4.0.txt')
0 files changed, 0 insertions, 0 deletions