samveen / mt7902-dkms

Cloning the MT9721 driver into the MT702 driver in the hopes of getting something running.
GNU General Public License v3.0
29 stars 5 forks source link

Initial `mt7925` driver implementation for `mt7902` #11

Closed DarkMatter-999 closed 1 month ago

DarkMatter-999 commented 1 month ago

Initial implementation of the mt7902 driver build upon the already existing mt7925 driver sources.

The build currently compiles successfully *.ko objects are generated successfully, but does not load successfully as a kernel module.

Output:

insmod: ERROR: could not insert module ./mt76/mt7902/mt7902-common.ko: Unknown symbol in module
insmod: ERROR: could not insert module ./mt76/mt7902/mt7902.ko: Unknown symbol in module

I suspect it is still built as mt7925 driver

dmesg logs:

[   87.533836] mt7902_common: Unknown symbol __SCK__tp_func_dev_irq (err -2)
[   87.533928] mt7902_common: Unknown symbol __tracepoint_dev_irq (err -2)
[   87.533952] mt7902_common: Unknown symbol __SCT__tp_func_dev_irq (err -2)
[   87.572154] mt7902: Unknown symbol mt7902_rx_check (err -2)
[   87.572168] mt7902: Unknown symbol mt7902_mac_sta_add (err -2)
[   87.572180] mt7902: Unknown symbol mt7902_mt792x_poll_rx (err -2)
[   87.572190] mt7902: Unknown symbol mt7902_mt76_unregister_device (err -2)
[   87.572209] mt7902: Unknown symbol __mt7902_mt792xe_mcu_drv_pmctrl (err -2)
[   87.572219] mt7902: Unknown symbol mt7902_mt792x_wpdma_reset (err -2)
[   87.572231] mt7902: Unknown symbol mt7902_ops (err -2)
[   87.572242] mt7902: Unknown symbol mt7902_txwi_free (err -2)
[   87.572252] mt7902: Unknown symbol mt7902_mt792x_irq_tasklet (err -2)
[   87.572263] mt7902: Unknown symbol __mt7902_mt76_poll (err -2)
[   87.572273] mt7902: Unknown symbol mt7902_mt792x_update_channel (err -2)
[   87.572283] mt7902: Unknown symbol mt7902_mac_write_txwi (err -2)
[   87.572293] mt7902: Unknown symbol mt7902_mt76_connac_free_pending_tx_skbs (err -2)
[   87.572305] mt7902: Unknown symbol mt7902_mt76_token_consume (err -2)
[   87.572317] mt7902: Unknown symbol mt7902_mt76_connac_init_tx_queues (err -2)
[   87.572328] mt7902: Unknown symbol mt7902_mt792x_poll_tx (err -2)
[   87.572343] mt7902: Unknown symbol mt7902_mt792x_rx_poll_complete (err -2)
[   87.572353] mt7902: Unknown symbol mt7902_mac_sta_remove (err -2)
[   87.572363] mt7902: Unknown symbol mt7902_mt76_connac_mcu_set_hif_suspend (err -2)
[   87.572375] mt7902: Unknown symbol mt7902_mcu_parse_response (err -2)
[   87.572388] mt7902: Unknown symbol mt7902_mt792x_wpdma_reinit_cond (err -2)
[   87.572398] mt7902: Unknown symbol mt7902_register_device (err -2)
[   87.572408] mt7902: Unknown symbol mt7902_mt76_set_irq_mask (err -2)
[   87.572419] mt7902: Unknown symbol mt7902_mt76_dma_attach (err -2)
[   87.572429] mt7902: Unknown symbol mt7902_mt76_tx_status_skb_add (err -2)
[   87.572440] mt7902: Unknown symbol mt7902_mcu_set_deep_sleep (err -2)
[   87.572450] mt7902: Unknown symbol mt7902_mt792x_mcu_drv_pmctrl (err -2)
[   87.572464] mt7902: Unknown symbol mt7902_mt792x_get_mac80211_ops (err -2)
[   87.572474] mt7902: Unknown symbol mt7902_run_firmware (err -2)
[   87.572485] mt7902: Unknown symbol mt7902_mt76_connac_write_hw_txp (err -2)
[   87.572494] mt7902: Unknown symbol mt7902_mt792x_mcu_fw_pmctrl (err -2)
[   87.572504] mt7902: Unknown symbol mt7902_mt792x_reset (err -2)
[   87.572514] mt7902: Unknown symbol mt7902_mt792xe_mcu_drv_pmctrl (err -2)
[   87.572528] mt7902: Unknown symbol mt7902_mt792x_wfsys_reset (err -2)
[   87.572540] mt7902: Unknown symbol mt7902_mt76_alloc_device (err -2)
[   87.572551] mt7902: Unknown symbol mt7902_mt76_connac_tx_complete_skb (err -2)
[   87.572561] mt7902: Unknown symbol mt7902_mcu_set_eeprom (err -2)
[   87.572571] mt7902: Unknown symbol mt7902_mt792x_dma_disable (err -2)
[   87.572582] mt7902: Unknown symbol mt7902_mt792x_dma_cleanup (err -2)
[   87.572594] mt7902: Unknown symbol mt7902_mt792xe_mcu_fw_pmctrl (err -2)
[   87.572604] mt7902: Unknown symbol mt7902_mac_sta_assoc (err -2)
[   87.572614] mt7902: Unknown symbol mt7902_queue_rx_skb (err -2)
[   87.572630] mt7902: Unknown symbol mt7902_mac_init (err -2)
[   87.572640] mt7902: Unknown symbol mt7902_mt792x_dma_enable (err -2)
[   87.572650] mt7902: Unknown symbol mt7902_mt76_init_queue (err -2)
[   87.572660] mt7902: Unknown symbol mt7902_mt76_mmio_init (err -2)
[   87.572670] mt7902: Unknown symbol mt7902_mcu_fill_message (err -2)
[   87.572680] mt7902: Unknown symbol mt7902_mt76_txq_schedule_all (err -2)
[   87.572691] mt7902: Unknown symbol mt7902_mt76_pci_disable_aspm (err -2)
[   87.572706] mt7902: Unknown symbol mt7902_mt76_free_device (err -2)
[   87.572716] mt7902: Unknown symbol mt7902_mt792x_irq_handler (err -2)
[   87.572726] mt7902: Unknown symbol __mt7902_start (err -2)
samveen commented 1 month ago

Thank you for taking the time to do this. Been busy with other stuff.

Let me see if I can take a look at this over today or tomorrow.