Commit Graph

49 Commits

Author SHA1 Message Date
Tommaso Merciai
853a37c230 recipes-devtools: qtestsign: add qtestsign recipe
Add qtestsign tool.this is necessary to sign the u-boot for rb3gen2 board.

qtestsign is a simple tool to "sign" ELF Qualcomm firmware
images using a dummy certificate chain ("test keys").
It partially implements the image format described in Qualcomm's
whitepaper "Secure Boot and Image Authentication"
(both v1.0 and v2.0) by extending ELF images with a
Qualcomm-specific "hash segment", consisting of:

References:
 - https://www.linaro.org/blog/initial-u-boot-release-for-qualcomm-platforms/

Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
2024-09-19 16:43:31 +02:00
Dmitry Baryshkov
4b064f1006 qca-swiss-army-kinfe: provide AHB board-2.json generation script
Existing ath11k-generate-board-2_json.sh generates PCI ids. Add a script
to generate AHB-targeted board-2.json. Include regdb.bin if one is
provided.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-09-07 11:39:07 +03:00
Dmitry Baryshkov
e3d1bb7c10 qca-swiss-army-knife: fix ath11k/board-2.json generation
ath11k tools have slighly changed the format of the board-2.json by
adding a nested board / regdb arrays. Fix the script that generates
board-2.json to accomodate for those changes.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-26 09:12:34 +03:00
Dmitry Baryshkov
901503cb93 skales: add Upstream-Status trailer
Add the Upstream-Status trailer to the patch to fix OE's issue.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-06-15 11:48:00 +03:00
Dmitry Baryshkov
fb3e210c31 qc-image-unpacker: add Upstream-Status trailer
Add the Upstream-Status trailer to the patch to fix OE's issue.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-06-15 11:48:00 +03:00
Dmitry Baryshkov
becdf3d079 qc-image-unpacker: bump the SRCREV
Bump SRCREV, dropping three patches that were merged upstream.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-06-15 11:48:00 +03:00
Dmitry Baryshkov
fba809bc8b qca-swiss-army-knife: bump SRCREV
Bump SRCREV, dropping merged patches. This also brings up scripts to
support ath12k WiFi cards.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-06-15 11:48:00 +03:00
Dmitry Baryshkov
8e5627fbc8 qca-swiss-army-knife: fix WORKDIR usage
The recipe fell out of the WORKDIR -> UNPACKDIR conversion. Use
UNPACKDIR to reference provided scripts.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-06-15 11:48:00 +03:00
Ricardo Salveti
51d6b30808 qdl: update to the latest upstream
Update to the latest upstream repository, which is now at
https://github.com/linux-msm/qdl.git.

Relevant changes from latest upstream:
- USBDEVFS interface replaced with libusb
- Add ramdump support
- New utility 'ks' which uses sahara to load images from host to a
  device (relevant for Qualcomm Cloud AI 100).

Drop 0001-Makefile-Use-pkg-config-for-libxml2-detection.patch as these
changes are now available upstream.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2024-05-28 14:22:57 -03:00
Dmitry Baryshkov
bb2f72ff30 pil-squasher: bump SRCREV
Bump SRCREV to pickup the fix for sm8650 mbn files. Unfortunately this
also means updating the LIC_FILE_CHKSUM and SRC_URI.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-04-25 05:30:32 +03:00
Viswanath Kraleti
2d4f165df1 skales: Update SRCREV to latest
Update skales recipe to compile tip of the project where
support for compressed ARM64 kernel image and pad out the
image are avilable.

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2023-11-16 14:44:51 +05:30
Nicolas Dechesne
f0e4ab951b Merge pull request #510 from lumag/pil-update
pil-squasher: update to the latest revision
2023-04-03 14:00:40 +02:00
Dmitry Baryshkov
0d52c1240c pil-squasher: update to the latest revision
Update pil-squasher to the latest git revision to pull in several fixes.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-04-01 16:45:27 +03:00
Jay Greco
b3809683df skales: switch git url to codelinaro 2023-03-31 23:36:39 +00:00
Dmitry Baryshkov
0c2f2ae020 pil-squasher: update to latest commit
Update pil-squasher to get pil-splitter binary.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-03-07 20:41:52 +03:00
Dmitry Baryshkov
b9096eba34 debugcc: update to the latest revision
Update debugcc to the latest revision. Drop all the msm8996 patches,
they are merged upstream.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-02-24 21:55:06 +03:00
Dmitry Baryshkov
d232c7d7fe debugcc: allow filtering clocks by the clock controller
Import patches adding support for filtering of the clocks basing on the 'block' = clock controller.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-11-09 21:30:24 +03:00
Dmitry Baryshkov
63f81937d2 debugcc: add msm8996 support
Add support for the MSM8996 platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-11-09 20:50:20 +03:00
Dmitry Baryshkov
82913b1fc4 debugcc: bump source revision
Bump debugcc's source revision to get more platform support

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-11-09 20:49:44 +03:00
Dmitry Baryshkov
41943bb04e qc-image-unpacker: package tool to handle Qualcomm Android images
Add a tool to handle Qualcomm packed Qualcomm Android images, used
by several Nexus and Pixel driver binary packs.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-04-27 01:54:50 +03:00
Dmitry Baryshkov
9a4c57cedd pil-squasher: update to the latest revision
Update pil-squasher to the latest revision to get elf64 squashing
capability.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-04-04 12:24:11 +03:00
Vladimir Zapolskiy
7c1a331904 debugcc: bump package version
The latest version of debugcc contains QCOM SM8450 SoC support.

Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
2022-02-17 11:23:26 +02:00
Dmitry Baryshkov
e14ab37331 debugcc: package Bjorn's debugcc tool
The debugcc tool can be useful on the target platforms. Add a recipe to
build corresponding package.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-12-01 05:12:01 +03:00
Khem Raj
84f3263c2c skales: Specify branch parameter explicitly in SRC_URI
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 23:43:23 -07:00
Dmitry Baryshkov
5d9605832c qca-swiss-army-knife: add script to generate JSON data for PCI devices
The dragonboard-820c board has ath10k device on the PCI bus. Add support
for generating board JSON files for PCI board IDs.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-09-25 02:39:50 +03:00