Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Qualcomm Snapdragon bootloader for Android. #471

Merged
merged 7 commits into from
Sep 2, 2021
36 changes: 36 additions & 0 deletions archive/android_bootldr.ksy
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
meta:
id: android_bootldr
generalmimon marked this conversation as resolved.
Show resolved Hide resolved
title: Qualcomm Snapdragon (MSM) bootloader.img format
generalmimon marked this conversation as resolved.
Show resolved Hide resolved
file-extension: img
tags:
- archive
- android
license: CC0-1.0
endian: le
doc-ref: https://android.googlesource.com/device/lge/hammerhead/+/7618a7/releasetools.py
generalmimon marked this conversation as resolved.
Show resolved Hide resolved
seq:
- id: magic
contents: BOOTLDR!
- id: images
-orig-id: num_images
type: u4
armijnhemel marked this conversation as resolved.
Show resolved Hide resolved
- id: ofs_start
-orig-id: start_offset
type: u4
armijnhemel marked this conversation as resolved.
Show resolved Hide resolved
- id: bootloader_size
-orig-id: bootldr_size
type: u4
armijnhemel marked this conversation as resolved.
Show resolved Hide resolved
- id: img_info
type: img_info
repeat: expr
repeat-expr: images
armijnhemel marked this conversation as resolved.
Show resolved Hide resolved
types:
img_info:
-webide-representation: '{name}'
seq:
- id: name
type: strz
encoding: UTF-8
size: 64
armijnhemel marked this conversation as resolved.
Show resolved Hide resolved
- id: size
type: u4
generalmimon marked this conversation as resolved.
Show resolved Hide resolved