MiCode / MiCode/MTK_kernel_modules

gen4-mt79xx: missing soc7_0 chip support (MT6637) on bsp-duchamp-u-oss — present on other branches (e.g. bsp-rodin-v-oss)

Đang mở
#42 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
84
Fork
66
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Summary

The bsp-duchamp-u-oss branch (Poco X6 Pro / Redmi Turbo 3, MT6897) is missing WiFi chip source
for the device's actual on-die WiFi silicon (chip ID 0x7961, "soc7_0"), which prevents building a
working wlan_drv_gen4m_6897 module from this public source alone.

Details

The device's stock firmware reports:

  • ro.hardware.wlan.chip: mt6637
  • vendor.connsys.wifi.adie.chipid: 0x6637
  • ro.vendor.wlan.gen: gen4m_6897
  • Firmware string: WIFI_RAM_CODE_soc7_0-...

This corresponds to MediaTek's "soc7_0" chip generation (chip_id 0x7961), which is a distinct,
standalone driver implementation (register base 0x830c0000, its own descriptor format, ~2700
lines in soc7_0.c) — not a variant of the existing chips/connac2x2/connac2x2.c in this branch
(which is chip_id 0x0001, an older/different part with a v1 descriptor path).

gen4-mt79xx/chips/ on bsp-duchamp-u-oss only goes up to soc5_0. No soc7_0/ directory
exists, and gen4-mt79xx/Makefile has no findstring 7_0 / SOC7_0 build block.

Confirmed present elsewhere in this same repo

chips/soc7_0/ (and the matching include/chips/coda/soc7_0/ headers) exist on other branches
of this repo, e.g. bsp-rodin-v-oss. This suggests the omission on bsp-duchamp-u-oss is likely
an incomplete/stale OSS drop rather than an intentional exclusion, since the same silicon
generation is already public elsewhere in this org.

Also checked (for completeness)

  • Independently verified against oppo-source/android_kernel_modules_and_devicetree_oppo_mt6897
    (also MT6897) — same gap, tops out at soc5_0 there too, consistent with this being a genuine
    source-completeness issue rather than something device-specific to duchamp.

Ask

Could the soc7_0 chip source (and corresponding gen4-mt79xx/Makefile build wiring) be added to
bsp-duchamp-u-oss, matching what's already public on other branches like bsp-rodin-v-oss?

Happy to provide more detail (build logs, diffs) if useful.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

So sánh bsp-duchamp-u-oss/gen4-mt79xx/chips/ và gen4-mt79xx/Makefile với mã nguồn, các header và phần wiring build soc7_0 tương ứng trên bsp-rodin-v-oss. Trước tiên, hãy xác định đầy đủ thư mục soc7_0 và các header tương ứng trong include/chips/coda/soc7_0, sau đó xác minh rằng Makefile chọn chúng cho chip ID 0x7961. Hoàn thành khi module wlan_drv_gen4m_6897 build được với hỗ trợ soc7_0 từ branch này.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
c
Lĩnh vực
mobile-dev, operating-systems
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
62/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.