hmm perhaps..
obviously there is something i did not ctahc in the command : zcat openwrt-ath79-nand-zyxel_nbg6716-squashfs-sysupgrade-4M-Kernel.bin | mtd -r -e ubi write - firmware; reboot -f
the -e expecting a device
and after the "-" what is the firmware...
-r reboots after mtd is done -e <device> erases the specified device before writing write does the obvious - refers to stdin (so whatever zcat feeds into mtd) firmware is the name of the target (mtd-) partition.
try using ar71xx instead of ath79 and see if this works. For ath79 we are still having issues. If you really want to get it going on ath79, use snapshots and flash via tftp. See this :
Yes i think so , i am able to flash stock firmware from Zyxel (V1.00(AAKG.12)C0.bin) . i have full access to console / Ssh
@Kev,
I triried the recovery and no luck. again i am able to flash stock Zyxel firmware (V1.00(AAKG.12)C0.bin) via tftp with no issue, but any method i tried for OpenWRT , are unsuccessfull, tftp, mtd, web ui
I will try flasihing later today with openwrt-ath79-nand-zyxel_nbg6716-squashfs-factory.bin via tftp to see
"Full access" is always possible with this device.
Try the 18 version of OpenWRT first.
I uploaded the 18.05.6 (factory) firmware as openwrt.bin to the /tmp directory on device using WinSCP in SCP mode.
Then login using ssh into /tmp and the write the firmware using mtd -r write openwrt.bin /dev/mtd7
i am about to give up
Seems like the 18.xxx bin missing some part that the ath79 have.... to get the device flash
and seems the ath79 bin do not found my root FS
[ 2.073299] UBI error: no valid UBI magic found inside mtd9
[ 2.079875] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 2.087462] Please append a correct "root=" boot option; here are the available partitions:
I dont have the knowledge rigth now to make this change so i will continue study
Are you at least able to reflash the stock firmware from zyxel and get it to work? If so, from time to time I have to do this prior to trying snapshots... but you may have something else going on.
Check this post, where I show different outputs for cat /proc/mtd
so it seems to change depending on the version... reflashing the stock firmware via tftp saved me a few times.
Hello,
Yes i am totally able to reflash with stock firmware, it is actually the only firmware who actually boot.
I will revisit this again and see if newer snapshot work.
I've had the same problem 2 years ago, I never got to flash OpenWRT and have been stuck with the Zyxel modified version ever since. Seems like this issue is related with mine. Tried flashing the newest ath79 image today. Goes through tftp but never boots, I am able to revert back though.