Sorry I took a while to reply but I can rebuild an image with the partition unlocked real quick and you can just sysupgrade
that would be great - i'll let you know how it goes.
@ghoffman here you go https://github.com/lmore377/openwrt-rt4230w/blob/master/openwrt-ipq806x-generic-askey_rt4230w-rev6.zip
@lmore377 - worked great. thank you. the led pattern during booting is very informative. wireless interfaces can be activated now. i'll test performaance again in followup.
thanks for the great work.
Can someone pm my a dump of the flash or the nss bin from the oem firmware? Just curious to know the version
From the boot log posted, kernel version is 4.4.60. So most likely it’ll be QSDK 6.x. But yeah it’ll be interesting to know if Askey is using a later version of the firmware.
Is the whole /lib/firmware folder fine? Or do you just want the whole nand (I made a backup of everything)
It's fine. But the contents must be from the stock firmware instead of from the OpenWrt build. But I guess you already knew that.
https://github.com/lmore377/openwrt-rt4230w/blob/master/firmware.zip Here you go. I remember seeing in the oem log that the -retail.bin files were loaded. If you need me to restore the oem firmware to test something I can
Looked at the NSS firmware.
Can't tell what's the QSDK version from the version string tho. Looks like a custom variant. Version string found in the firmware is:
Version: rjiguru, 18/03/02, 13:19:13
But from the size of the firmware, looks like it's for QSDK 6.x
Thanks!
checked that too... wtf is that o.O (DO NOT SEARCH rjiguru ON GOOGLE )
You made me google it and that's actually really funny
What do you think the difference is between the normal and -retail firmware is?
my bad sorry
oh, I just looked at the autocorrected result. Looks like some developer somewhere in China had some stuff on their mind when they were working on it.
How do you get the qsdk version on a running system?
We get version of the nss bin by inspecting the plan strings in it (with the command strings)
Oh ok. I was hoping it would just show in the boot log or something. Again, if you need me to test something I can restore the oem firmware.
nha if the installation process is not hard i would ask you to create a pr
Do you mean make one for installing openwrt? I already have a pr open here. I just use sysupgrade for installing since I couldn't get a factory image to work and overall it's just easy. I was thinking of seeing if I can come up with an install process that doesn't require opening the case because you can get root over the network.
Edit: I need to buy another router if I want to do that. I can't just simply restore the oem firm because it breaks /overlay and getting root requires a reboot so it just won't work.
Another update: Someone on the github pr helped with the pcie issue so now bootipq isn't needed in the bootcmd variable in uboot. Here's the updated image. You can keep the bootcmd that has bootipq in it, but I feel like it might be unstable down the line so I recommend changing it to the one on github. You can just do a sysupgrade and use fw_setenv afterwards to change it so no need for serial access.
Edit: Adding these lines to System > Startup > Local Startup or /etc/rc.local (Same thing) improves network speeds by a bit:
echo 35 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
I got this from the Netger R7800 device page.