Jump to content

MediaTek MT7612U driver in current jammy image


OttawaHacker
 Share

Recommended Posts

I know this driver should be part of the recent kernel releases (and definitely avail for 5.10) but I am not sure how/why/where this driver would be in the armbian release. I also did install the firmware files but I don't see the module in the /usr/lib/module section. Any suggestions to build or enable this driver?

 

Thanks

Link to comment
Share on other sites

Check forum guidelines to use maximum potential!

2 hours ago, royk said:

Build the kernel with the MT76x2U driver, it's disabled by default.

Ah thank you - so I started looking into the build. My understanding is that the armbian build generates a new custom image. The tool is quite amazing and straightforward but few questions:

- For any updates, would I need to re-build and re-install a new image?

- Is there a way I could update my current build using a generated image?

Link to comment
Share on other sites

You could install the kernel from the debs folder, output/debs/linux-image... Mr Hacker😀

When you update the kernel from the apt repository you will loose the WiFi driver again. 

To build only the kernel as in the manual: ./compile.sh BUILD_ONLY=kernel KERNEL_CONFIGURE=yes BOARD=orangepi5 BRANCH=legacy

Link to comment
Share on other sites

On 1/20/2023 at 1:31 PM, royk said:

To build only the kernel as in the manual: ./compile.sh BUILD_ONLY=kernel KERNEL_CONFIGURE=yes BOARD=orangepi5 BRANCH=legacy

Thank you!! I rebuilt the whole image - I can't believe how easy the armbian build system is. Couple questions:

1) Any particular reason many modules are completly disabled from kernel?

2) Would it be worth doing a PR to build the MediaTek drivers as modules?

Link to comment
Share on other sites

1 hour ago, OttawaHacker said:

1) Any particular reason many modules are completly disabled from kernel?

No reason. In this particular case however it might been the influence of the BSP.

 

1 hour ago, OttawaHacker said:

2) Would it be worth doing a PR to build the MediaTek drivers as modules?

Well there is no warranty that it gets accepted, however if it is well documented and enabled across all configurations so people/maintainer have a chance to test I don't see a reason against.

Link to comment
Share on other sites

11 hours ago, Werner said:

Well there is no warranty that it gets accepted, however if it is well documented and enabled across all configurations so people/maintainer have a chance to test I don't see a reason against.

PR was accepted 🙂 so for anyone stumbling on this issue - it should be something of the past

https://github.com/armbian/build/pull/4727

Edited by OttawaHacker
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...