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
FS#2864 - New trunks (atleast 12297 and 12320) overwrite ART mtd partition on ar71xx #7673
Comments
pepe2k: Please, provide full bootlog. |
droncheg: Phase 1 (flashed via web-interface from 12162, indice working wifi): Phase 2 (setting password and reboot newly flashed firmware, indice not working wifi): I suppose, rootfs_data overwrite art partition. Cause when i'm not setting password - after reboot wifi keep working. Setting password or any other settings cause that? |
pepe2k: This could be related: https://bugs.openwrt.org/index.php?do=details&task_id=2837 |
droncheg: Thank you! That's works now. I tested on 12464 and now my art-partiion keeps untouched =) |
droncheg:
Device: TP-Link WDR4300 v1, wifi chips AR9344 and AR95801.
Platform: ar71xx
Trunk version: 12297 and newer (maybe earlier, but 12162 doesnt have this bug)
What's wrong: after first clean firmware write boots ok. But after first restart it will zeroed ART mtd4 partition. So no wifi (2.4 and 5GHz). In dmesg there's a errors like this:
[ 9.662487] ath: phy0: Unable to initialize hardware; initialization status: -5
[ 9.864421] ath: phy1: Unable to initialize hardware; initialization status: -5
Restoring ART partition helps till next reboot, then again no wifi (partiion zeroed again).
How to fix: write ART mtd4 partition without reboot, flash older (12162) firmware, reboot.
I got ART from [[http://https://github.com/gwlim/art-radio/tree/master/AR9344-Tested_on_WDR4300|this nice repo]]. Then build (or got from my site) new 12320 firmware with kmod-mtd-rw module. Flash firmware, scp working [[http://https://github.com/gwlim/art-radio/blob/master/AR9344-Tested_on_WDR4300/2.4-24dbm-5-24dbm-art-ar9344-ar9580%20(7).bin|ART]] to /tmp. Write ART without reboot:
insmod mtd-rw i_want_a_brick=1
mtd unlock art
mtd write /tmp/2.4-24dbm-5-24dbm-art-ar9344-ar9580\ 20(7).bin art
Then write old (12162) firmware, reboot. Everything works well!
My builds avaible [[http://openwrt.do2.pw/my_builds/firmware/|here]].
The text was updated successfully, but these errors were encountered: