Skip to content

Conversation

@lool
Copy link
Contributor

@lool lool commented Dec 2, 2025

Update ptool to the latest git commit to get support for the latest boards. Take advantage of the new flag to set build-id.

Add support for Lemans EVK, also known as IQ-9075 EVK (was RB8). Confusingly, this QCS9075 EVK is using the QCS9100 boot binaries.

@lool
Copy link
Contributor Author

lool commented Dec 2, 2025

I reviewed the ptool diff, and it seemed fairly safe.

@lool
Copy link
Contributor Author

lool commented Dec 2, 2025

This needs #186 first

@lool lool changed the title feat: debos: Add support for Lemans EVK Misc changes for Lemans EVK support Dec 3, 2025
@lool
Copy link
Contributor Author

lool commented Dec 3, 2025

actually lemans-evk support only landed after 6.17, so switching to the backports kernel is not enough to get this in the flat build.

@lool lool force-pushed the lemans-evk branch 2 times, most recently from 2b8c901 to 2bfa0ab Compare December 3, 2025 10:26
@lool lool marked this pull request as draft December 3, 2025 12:30
@lool
Copy link
Contributor Author

lool commented Dec 4, 2025

Just a note that flat images from this PR using lemans-evk board specific files and a mainline kernel were successfully booted on a Lemans EVK (RB8) by Vivek Puar and team.

@lool lool force-pushed the lemans-evk branch 2 times, most recently from 4b6633b to a2ffd98 Compare December 4, 2025 17:04
@lool lool marked this pull request as ready for review December 4, 2025 17:14
@lool lool changed the title Misc changes for Lemans EVK support Ptool update to bring Lemans EVK support Dec 4, 2025
@basak-qcom
Copy link
Contributor

The changes here look good, but shouldn't we have some successful LAVA test results reported? I tried to track this down, and found an RB1 failure: https://github.com/qualcomm-linux/qcom-deb-images/actions/runs/19941051119

It'd be nice to know that updating ptool doesn't regress our existing support for anything.

@lool
Copy link
Contributor Author

lool commented Dec 5, 2025

Yes it would, not sure why the latest push didn't retrigger; the RB1 failure looks like one of our recurring infra issues, so I've given it back.

lool added 4 commits December 5, 2025 19:38
In the current boot firmware for RB1 images, a DTB is stored in the
u-boot binary which then loads the latest version from the ESP. However
qcom-ptool was modified to align the partition scheme in anticipation of
an upcoming switch to a regular EDK2 based firmware. Generate the
dtb.bin with the correct dtb in anticipation of newer ptool and upcoming
firmware.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
This brings support for new platforms and fixes for existing ones, as
well as a new build-id flag for contents.xml. No architectural change.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Recent ptool versions support passing the build-id when generating
contents.xml files, drop our custom logic.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Also known as IQ-9075 EVK (was RB8). This is based on QCS9100 boot
binaries.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
All boards have a dtb now, drop conditionals.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
@lool
Copy link
Contributor Author

lool commented Dec 5, 2025

Yes it would, not sure why the latest push didn't retrigger; the RB1 failure looks like one of our recurring infra issues, so I've given it back.

Well that did yield an important failure:

>> unable to open dtb.bin...failing

I've addressed this in the newest version of the PR.

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Test jobs for commit cf30764

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Test Results

 2 files  ±0   6 suites  ±0   3m 14s ⏱️ ±0s
20 tests ±0  20 ✅ ±0  0 💤 ±0  0 ❌ ±0 
64 runs  ±0  64 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 8c2709b. ± Comparison against base commit 5219b84.

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Test jobs for commit 8c2709b

@lool
Copy link
Contributor Author

lool commented Dec 5, 2025

tests autotriggered and passed :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants