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)

未关闭
#42 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
没有语言数据
星标
84
派生
66
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

将 bsp-duchamp-u-oss/gen4-mt79xx/chips/ 和 gen4-mt79xx/Makefile 与 bsp-rodin-v-oss 上对应的 soc7_0 源代码、头文件和构建 wiring 进行比较。首先确定完整的 soc7_0 目录以及匹配的 include/chips/coda/soc7_0 头文件,然后验证 Makefile 是否会针对 chip ID 0x7961 选择它们。完成标准是:从此 branch 构建 wlan_drv_gen4m_6897 模块时支持 soc7_0。

由索引模型根据 Issue 内容生成。

评估

技术栈
c
领域
mobile-dev, operating-systems
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
描述清楚
新手友好度
62/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。