SSHD for Official Linksys EA7500v2 Firmware

O...Kay. It looks like we'll have to go back to compiling OpenWrt. From my experience, it's more likely to succeed building the latest main branch than building a release. You previous screen shot suggested including <cstdint>, how about include it and try again? Sometimes we are only one step away...

Sorry for late reply..

I try recompile, but I can't find drivers/mtd/ubi/build.c file



Or miss step?

After building, i can find it,
But there are two files.
One in folder openwrt/build_dir/toolchain-mipsel_24kc_gcc-11.2.0_musl/linux-5.10.176/drivers/mtd/ubi/build.c
and another in folder openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.10.176/drivers/mtd/ubi/build.c

Which one should be changed? and after changing it, I just have to rebuild it?

Sorry I am very noob, where I must insert the patch code?
I don't understand programming.

not my device,
but I can help here on interpreting the patch note post:

See this line in your screenshot?

goto cleanup;

Surround that with a comment section and you are done:

/* goto cleanup; */

(I cant help you on compiling or the device, but that is what the patch post was saying)

Thanks its worked, it's booting to openwrt.

Because you didn't subtract the size of the image using flash.

1 Like

Sorry for replying old thread,
You seem good at modifying firmware, I want to ask, is it possible to add the USB tethering feature to the official Linksys firmware?

Your question is better asked in a Linksys forum.

Is that allowed?
Because I'm afraid it's not related to openwrt

Correct, installing packages on Linksys firmware isn't OpenWrt related. That's why its better to ask there.

My apologies if I've mistaken.