summaryrefslogtreecommitdiff
path: root/tools/qcom
AgeCommit message (Collapse)Author
2026-08-07tools: qcom: add mkmbn.pyCasey Connolly
Adjust the elf class to support creating ELF files from scratch so that mkmbn can build an MBN file from the U-Boot binary image and fix some imports to work correctly in the U-Boot build system. The new tool inspects the DTB embedded in u-boot.bin and uses a lookup table to determine the appropriate configuration based on the root compatible property, effectively encoding the info that was previously kept in documentation. Link: https://patch.msgid.link/20260511-b4-qcom-tooling-improvements-v7-3-0c06346e79a9@linaro.org Signed-off-by: Casey Connolly <[email protected]>
2026-08-07tools: qcom: introduce mkmbn libraryCasey Connolly
This is a fork of qtestsign[1] with modifications to integrate with the U-Boot build system. It is pulled from f3df53a5f0e3 ("Rename "fw" to "mbn"") New Qualcomm dev boards flash U-Boot to the "uefi" partition, the format is a standard ELF file with custom program headers containing Qualcomm signatures, hashes and other metadata. Currently this is accomplished with qtestsign manually, let's instead import it so we can integrate it into the build process. This library will be used by a new mkmbn.py tool to create MBN files which can be directly flashed to the board. [1]: https://github.com/msm8916-mainline/qtestsign Link: https://patch.msgid.link/20260511-b4-qcom-tooling-improvements-v7-2-0c06346e79a9@linaro.org Signed-off-by: Casey Connolly <[email protected]>