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)
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 84
- Forks
- 66
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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: mt6637vendor.connsys.wifi.adie.chipid: 0x6637ro.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 atsoc5_0there 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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Vergleiche bsp-duchamp-u-oss/gen4-mt79xx/chips/ und gen4-mt79xx/Makefile mit dem entsprechenden soc7_0-Quellcode, den Headern und der Build-Verdrahtung in bsp-rodin-v-oss. Identifiziere zunächst das vollständige soc7_0-Verzeichnis und die zugehörigen include/chips/coda/soc7_0-Header und überprüfe anschließend, dass das Makefile sie für die Chip-ID 0x7961 auswählt. Fertig ist die Aufgabe, wenn das wlan_drv_gen4m_6897-Modul mit soc7_0-Unterstützung aus diesem Branch gebaut wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- c
- Bereich
- mobile-dev, operating-systems
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 62/100