Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always rewrite EEPROM data and MAC addresses
Commit openwrt/openwrt@050621a introduced a new SPI-NAND driver for MediaTek SoCs to Linux. It's the same driver we have already been using in U-Boot and TF-A, so will be less maintainance work in future. However, it turns out the new driver is particularly picky when it comes to read data with broken OOB/ECC information, such as everything written using the old driver **or even the stock factory partition**. Hence, in order to run OpenWrt after commit openwrt/openwrt@050621a, we need to read and write back the factory partition using the new driver in order to make calibration data available again, as rewriting fixes ECC errors left behind by previous firmware.
- Loading branch information