I found an old TP-Link TL-WR850N v2 router in a drawer at home and wanted to put OpenWrt on it.
Finding Support
My router’s hardware version wasn’t officially supported yet. After some digging, I found an existing pull request (PR #3113) that added support for exactly this model.
The Abandoned PR
The original PR had been abandoned. A comment from a maintainer explained what was needed:
As it appears, the initial author mostly had problems with handling git. Nothing has happened for two months here, so if you are interested, just pick up what’s there, bring it in proper shape (squash into one commit, add proper ˝) and submit a new PR for it. No developer with commit access will care about a closed PR that does not meet formal requirements.
Picking It Up
The changes were already there and just needed tidying up. I:
- Cherry-picked the necessary changes
- Cleaned up the commit history
- Addressed a minor review comment about sorting GPIO nodes by their GPIO number
- Opened a fresh pull request (PR #3355)
Merged
After review and minor adjustments, the changes were merged into OpenWrt. You can find the merge commit at git.openwrt.org.
It took a while to land in a release, but the TL-WR850N v2 now has official OpenWrt support.