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)

Aperta
#42 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Nessun dato sulla lingua
Stelle
84
Fork
66
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Confronta bsp-duchamp-u-oss/gen4-mt79xx/chips/ e gen4-mt79xx/Makefile con il codice sorgente, gli header e il wiring di build corrispondenti di soc7_0 in bsp-rodin-v-oss. Inizia identificando la directory soc7_0 completa e gli header corrispondenti di include/chips/coda/soc7_0, quindi verifica che il Makefile li selezioni per il chip ID 0x7961. Il lavoro è completato quando il modulo wlan_drv_gen4m_6897 viene compilato con il supporto soc7_0 da questo branch.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
c
Ambito
mobile-dev, operating-systems
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Specificata chiaramente
Idoneità per principianti
62/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.