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#2900 - ath79 nand trunk bootloop #8137
Comments
Cutepally: reference to github mirror: [[https://github.com/openwrt/openwrt/commit/53ab9865c2b91bc6a239b2adee800dc52875b6bc#commitcomment-37788979|here]] |
blocktrron: Please try this fix from my staging tree and report back if it resolves your issue: |
Cutepally: Will do, should I also attempt 5.4? I started a 4.19 build right now. Will report back shortly. |
blocktrron: Kernel 5.4 still has major bugs for ath79, but if you would like to do it, go ahead! |
Cutepally: Okay, the build just loaded and works with that commit as well (on 4.19). OpenWrt SNAPSHOT r12618 //edit: building a 5.4, why not? :)// |
Cutepally: Okay, kernel 5.4 test didn't build now (expected still, of course) this is the error i collected during the attempt. I don't expect this to be fixed soon or anything, the issue from this ticket is resolved. Thanks for your time. :) |
realmicu: Please use latest master, David Bauer recently provided a patch that adapts ar934x-nand driver to 5.4. Also please use GCC 9.3.0, default version 8.4.0 may produce unbootable kernel ("Kernel panic - not syncing: Unexpected DSP exception") for certain ath79 devices (confirmed for routers based on Atheros 9344). See FS#2928. |
Cutepally: i tested 5.4 with gcc 9.3.0 however the device still wouldn't boot, i tried the sysupgrade first then tftp the img file however both didn't work so i remade it with 4.19 and that one took (still using gcc9): |
Cutepally:
commit: [[https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=53ab9865c2b91bc6a239b2adee800dc52875b6bc|ath79: add support for kernel 5.4]]
this commit edits: target/linux/ath79/nand/config-default [[https://git.openwrt.org/?p=openwrt/openwrt.git;a=blobdiff;f=target/linux/ath79/nand/config-default;h=50bc55079432b2ac6b90a815f9c7df9f999d89d3;hp=b03f977a07f63c90374a17159d75363d50b14d38;hb=53ab9865c2b91bc6a239b2adee800dc52875b6bc;hpb=e1e6ff6648f5a0819a5b9429e787c1b6aacfec59|diff]]
this is causing the bootloop to happen. however, if:
CONFIG_MTD_NAND=y CONFIG_MTD_NAND_AR934X=y CONFIG_MTD_NAND_ECC=y
is readded, the bootloop won't happen and the build will load.
i don't know if all three of these are needed or just CONFIG_MTD_NAND
i also tested with this on 5.4 but i still have the bootloop however, that's probably expected i know it's currently a work in progress.
so, this change will only fix 4.19
after i patched this locally: //OpenWrt SNAPSHOT r12586+5-3b45a3b388//
also i should note, as of this version exFAT (specifically, kmod-fs-exfat0) won't compile at 4.19 but that's another issue that i'm sure will be resolved in no time.
The text was updated successfully, but these errors were encountered: