Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LZ77 firmware decompression for new Mikrotik devices #923

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

aanon4
Copy link
Contributor

@aanon4 aanon4 commented Sep 1, 2023

Let's try this again.

This patch add LZ77 decompression for newer Mikrotik devices. People are seeing newly bought Mikrotik devices fail to boot AREDN because the wifi wont startup up. This is because Mikrotik is using a new compression scheme which OpenWRT doesnt yet support (so neither do we). Fortunately @SCWhite found a patch written by @john-tho which adds support for some new Mikrotik devices. I generalized it for all Mikrotik (which wasn't very hard) as we're seeing it in older and newer hardware.

The first attempt at this change cause a couple of us to have HAP ac3 devices fail after the upgrade. It remains unclear why that happened as I've been unable to reproduce it again. This version has been tested on my entire bench of devices (24 of various makes and ages) including a power cycle test. Everything is working as I write this.

Ref:
john-tho/openwrt#5
#919

@aanon4 aanon4 changed the title LZ77 firwmare decompression for new Mikrotik devices LZ77 firmware decompression for new Mikrotik devices Sep 1, 2023
@aanon4 aanon4 merged commit 4ff51fa into aredn:main Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant