Fixed some very hard to track down I2C bugs with the basic firmware variant in v2.1.1 release that were causing issues on some devices
Thanks to @booyaa_
and @daverdfw
for all the help testing.
- Reworked the build script to require both bfw and basic base images with --bfw and --basic parameters for choosing which image type to build.
- Removed static binaries from the basic files, they now get copied over from the bfw image.
- Changed load order of and added hack to mod_sfp_i2c kernel module to initialize the virtual EEPROM with physical EEPROM contents.
- Prevent resetting virtual EEPROM to default values in sfp_eeprom.sh init script.
- Add binary mods to the basic libpon to prevent system() calls to sfp_i2c from executing, fixing I2C bugs.
** IMPORTANT Reminder **
There are now 2 variants of the firmware:
- basic - This is based on the much cleaner Potrontec firmware and implements a custom LuCi based WebUI. I now recommend this version for all users. NOTE: This variant has no root password by default, set it under System > Administration in the WebUI
- bfw - This is based on the same Azores/BFW firmware as all releases before 2.0.0.
Upgrade Instrstructions
If on Azores/BFW firmware, use local-upgrade.img
in the WebUI. If on 2.1.0 or higher, local-upgrade.tar
can also be used from the 8311-firmware-upgrade.sh
cli tool.
If on the Basic firmware variant, use local-upgrade.tar
in the WebUI or CLI tool. If already on a version before 2.1.0, a manual update will be required.
Note: You can switch between firmware variants using these upgrade methods, both firmware variants are fully compatible with one another.
Full Changelog: v2.1.1...v2.2.0