mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 19:14:58 -05:00
GPT fixes
This commit is contained in:
parent
94c266e84a
commit
9034862418
2 changed files with 4 additions and 4 deletions
|
@ -117,9 +117,9 @@ class gpt:
|
|||
self.part_entry_size = part_entry_size
|
||||
self.part_entry_start_lba = part_entry_start_lba
|
||||
if num_part_entries is None:
|
||||
self.gpt_header += [('num_part_entries', 'L'),]
|
||||
self.gpt_header += [('num_part_entries', 'I'),]
|
||||
if part_entry_size is None:
|
||||
self.gpt_header += [('part_entry_size', 'L'),]
|
||||
self.gpt_header += [('part_entry_size', 'I'),]
|
||||
|
||||
|
||||
def parse(self, gptdata, sectorsize=512):
|
||||
|
|
4
edl.py
4
edl.py
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
'''
|
||||
Licensed under MIT License, (c) B. Kerler 2018
|
||||
Licensed under MIT License, (c) B. Kerler 2018-2019
|
||||
'''
|
||||
|
||||
import argparse
|
||||
|
@ -71,7 +71,7 @@ infotbl={
|
|||
}
|
||||
|
||||
def main():
|
||||
info='Qualcomm Sahara / Firehose Client (c) B.Kerler 2018.'
|
||||
info='Qualcomm Sahara / Firehose Client (c) B.Kerler 2018-2019.'
|
||||
parser = argparse.ArgumentParser(description=info)
|
||||
print("\n"+info+"\n\n")
|
||||
parser.add_argument('-loader',metavar="none,<filename>",help='[Option] Flash programmer to load e.g. prog_emmc_firehose.elf', default='')
|
||||
|
|
Loading…
Reference in a new issue