Use target hostnames and restore lk2nd bootloader reboot
This commit is contained in:
1 parent
1c011b360a
commit
3b96b8f242
22 files changed
+203
-70
No files matched your search
@@ -250,8 +250,6 @@ def main():
|
||||
help="require (1) or forbid (0) the forced-fastboot diagnostic build")
|
||||
ap.add_argument("--expect-display", type=int, choices=(0, 1), default=0,
|
||||
help="require (1) or forbid (0) the boot-time SPI display build")
|
||||
ap.add_argument("--allow-missing-cookie", action="store_true",
|
||||
help="allow the known-good display image built before the low-bit reboot cookie")
|
||||
args = ap.parse_args()
|
||||
|
||||
problems = []
|
||||
@@ -304,8 +302,7 @@ def main():
|
||||
b"aligned read exceeds partition"):
|
||||
if marker not in data:
|
||||
problems.append("binary is missing %r" % marker.decode("ascii", "replace"))
|
||||
if not args.allow_missing_cookie and \
|
||||
b"beatles low-bit reboot cookie" not in data:
|
||||
if b"beatles low-bit reboot cookie" not in data:
|
||||
problems.append("binary is missing b'beatles low-bit reboot cookie'")
|
||||
if not data.endswith(b"SEANDROIDENFORCE"):
|
||||
problems.append("missing SEANDROIDENFORCE trailer")
|
||||
|
||||
Reference in new issue
Block a user