Skip to content

Conversation

@lool
Copy link
Contributor

@lool lool commented Aug 27, 2025

Changes to debos recipes to have a more scalable board support approach and add
support for a couple more boards:

  • IQ-9 Beta EVK (QCS9100 Ride Rev3 EVK)
  • IQ-8 Beta EVK (QCS8300 Ride SX EVK)

Commits:

  • refactor: debos: data-driven flash recipe
  • fix: debos: Only strip top directories from zips
  • feat: debos: Add support for IQ-9 Beta EVK
  • feat: debos: Add support for IQ-8 Beta EVK

lool added 4 commits August 27, 2025 12:15
Rewrite flash recipe to use a data-driven approach to board definitions
instead of duplicating logic for each board.

Signed-off-by: Loïc Minier <[email protected]>
Instead of using `unzip -j` which will ignore the directory structure
inside zip archives, manually move files out of the toplevel
directories. This avoids errors if the same filename is used multiple
times, for instance prog_firehose_ddr.elf might be present multiple
times in some boot binaries zip archives (e.g. for the sail/
subdirectory).

Signed-off-by: Loïc Minier <[email protected]>
Also known as QCS9100 Ride Rev3 EVK

Signed-off-by: Loïc Minier <[email protected]>
Also known as QCS8300 Ride SX EVK

Signed-off-by: Loïc Minier <[email protected]>
@lool
Copy link
Contributor Author

lool commented Aug 27, 2025

Tested for RB1 and RB3Gen2 by downloading CI artifacts dtb.tar.gz and rb1-boot.img, running this before and after the changes:

debos -t u_boot_rb1:rb1-boot.img debos-recipes/qualcomm-linux-debian-flash.yaml

then compared the resulting flash subdirectories, and these were identical except for UUID changes to the GPT partition tables and the dtb.bin image.

@github-actions
Copy link

github-actions bot commented Aug 27, 2025

Test Results

 2 files  ±0   6 suites  ±0   9m 1s ⏱️ + 2m 5s
20 tests ±0  20 ✅ ±0  0 💤 ±0  0 ❌ ±0 
64 runs  ±0  64 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 0563494. ± Comparison against base commit 04aed4c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

Test jobs for commit ac618ac

@lool
Copy link
Contributor Author

lool commented Aug 27, 2025

I've submitted the build to LAVA for IQ-8, I took the rb3 config but had to remove the cambridge-lab tag as we only have one board in Hyderabad. Unfortunately, flashing times out:
https://lava.infra.foundries.io/scheduler/job/94937
this is a known issue which I don't expect will be resolved soon, so I don't want to enable CI for this board yet, but we can keep generating support for it in our images until it's ready.

@github-actions
Copy link

Test jobs for commit 0563494

@lool
Copy link
Contributor Author

lool commented Aug 27, 2025

I submitted the last CI build for this branch (https://quic-yocto-fileserver-1029608027416.us-central1.run.app/qualcomm-linux/qcom-deb-images/17271285426-1//flash-ufs.tar.gz) to LAVA. I increased the timeouts, and it goes through flashing, but it fails to boot:
https://lava.infra.foundries.io/scheduler/job/95050
https://lava.infra.foundries.io/scheduler/job/95056

I'd still want to merge this as to have a starting point for debugging.

The next thing to research is whether the mainline kernel boots.

Copy link

@ricardosalveti ricardosalveti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ride-sx does not boot but I was able to check that the content is correct, it might just be missing kernel configs for it.

@lool lool merged commit c8e9be3 into qualcomm-linux:main Aug 30, 2025
13 checks passed
@lool lool deleted the more-boards branch September 2, 2025 09:58
@lool
Copy link
Contributor Author

lool commented Sep 8, 2025

Did a manual boot of these boards using mainline kernel in LAVA:
https://lava.infra.foundries.io/scheduler/job/99263
https://lava.infra.foundries.io/scheduler/job/99264

both worked fine with 6.17-rc5

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