mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
allow v2 signatures on kernel
This commit is contained in:
parent
0692a25323
commit
49b3b1f5d0
1 changed files with 1 additions and 1 deletions
|
|
@ -682,7 +682,7 @@ def main():
|
|||
while True:
|
||||
# first try the stable branch and see if it meets the version requirement
|
||||
kernel = get_with_progress(url + 'xous-' + language + '.img', 'Kernel')
|
||||
if int.from_bytes(kernel[:4], 'little') != 1:
|
||||
if int.from_bytes(kernel[:4], 'little') != 1 and int.from_bytes(kernel[:4], 'little') != 2:
|
||||
print("Downloaded kernel image has unexpected signature version. Aborting.")
|
||||
exit(1)
|
||||
kern_len = int.from_bytes(kernel[4:8], 'little') + 0x1000
|
||||
|
|
|
|||
Loading…
Reference in a new issue