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

RB3 gen2: enable more hardware #754

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

koenkooi
Copy link
Contributor

The machine configs in meta-qcom don't enable all hardware by default, this PR makes wifi work for core-image-* and enables pc' as MACHINE_FEATURE.

Copy link

github-actions bot commented Feb 17, 2025

Test Results

 1 files  ±0   2 suites  ±0   36s ⏱️ ±0s
15 tests ±0  15 ✅ ±0  0 💤 ±0  0 ❌ ±0 
19 runs  ±0  19 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 174778f. ± Comparison against base commit 5c84a20.

♻️ This comment has been updated with latest results.

Copy link

Test jobs for commit 7994e80

@koenkooi koenkooi force-pushed the koen/rb3-hw-enablement branch from 7994e80 to 3dce8e8 Compare February 18, 2025 09:22
Copy link

Test jobs for commit 3dce8e8

…CHINE_ESSENTIAL_RRECOMMENDS

This packagegroup includes the firmware needed to make wifi work and
more.

Signed-off-by: Koen Kooi <[email protected]>
The modules listed should be common to all, or most, of the machines
supported by this BSP. This sets up downstream users of the BSP for
success instead of frustration.

Signed-off-by: Koen Kooi <[email protected]>
…COMMENDS

This lists modules that aren't dragged in by other drivers, determined
by looking at the dependents column in `lsmod` output.

Signed-off-by: Koen Kooi <[email protected]>
@koenkooi koenkooi force-pushed the koen/rb3-hw-enablement branch from 3dce8e8 to 174778f Compare February 20, 2025 09:41
@@ -11,5 +11,35 @@ KERNEL_DEVICETREE ?= " \
"

MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
kernel-module-ath11k-ahb \
kernel-module-camcc-sc7280 \
kernel-module-crct10dif-ce \
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you know, what pulls the CRC module? It doesn't sounds like it should be required on its own.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lsmod shows nothing:

root@qcs6490-rb3gen2-core-kit:~# lsmod | grep crc
crct10dif_ce           12288  1

The kernel docs show it's being used for SCSI T10, so I suspect the UFS driver autoloads it. I think we can safely drop it from the list, the net effect should only be using a non-SIMD version.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it's not even the UFS:

block/t10-pi.c: return cpu_to_be16(crc_t10dif_update(be16_to_cpu(csum), data, len));
drivers/scsi/lpfc/lpfc_scsi.c: * using crc_t10dif.
drivers/scsi/lpfc/lpfc_scsi.c:  crc = crc_t10dif(data, count);
drivers/scsi/scsi_debug.c:              csum = cpu_to_be16(crc_t10dif(buf, len));
drivers/target/target_core_sbc.c:                       crc = crc_t10dif(daddr + offset, avail);
drivers/target/target_core_sbc.c:                               crc = crc_t10dif_update(crc, daddr, offset);
drivers/target/target_core_sbc.c:                       crc = crc_t10dif(daddr + dsg_off, avail);
drivers/target/target_core_sbc.c:                               crc = crc_t10dif_update(crc, daddr, dsg_off);

Copy link

Test jobs for commit 174778f

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.

4 participants