Lines Matching full:bootloader
16 (installing the bootloader)."""
32 def WriteBootloader(info, bootloader):
36 header_fmt, bootloader[:header_size])
38 assert magic == "BOOTLDR!", "bootloader.img bad magic value"
44 ifwi_size, droidboot_size = struct.unpack(header_v1_fmt, bootloader[offset:offset + header_v1_size])
46 ifwi = bootloader[offset:offset + ifwi_size]
48 droidboot = bootloader[offset:]
56 while offset < len(bootloader):
59 c_magic, size, flags, _, _ , _ = struct.unpack(c_header_fmt, bootloader[offset:offset + c_header_size])
60 buf = bootloader[offset + c_header_size: offset + c_header_size + size]
81 bootloader_img = info.input_zip.read("RADIO/bootloader.img")
83 print "no bootloader.img in target_files; skipping install"
90 target_bootloader_img = info.target_zip.read("RADIO/bootloader.img")
92 source_bootloader_img = info.source_zip.read("RADIO/bootloader.img")
97 print "bootloader unchanged; skipping"
99 print "bootloader changed; adding it"
102 print "no bootloader.img in target target_files; skipping install"