Closed Sledmine closed 1 month ago
This is a while ago, reattempting this now, I would try to use musl instead as there's no dependency on libc.
Have a look at this repo's build.sh
file: https://github.com/c3c/CVE-2021-4034, which cross-compiles to a range of different targets using musl.
Good luck!
Thanks a lot, did not know about musl, it is pretty useful!
Hello!
I would like to know if is possible to know which setup you had to cross compile binaries for the firmware, I have tried using:
gcc-mipsel-linux-gnu g++-mipsel-linux-gnu
...But binaries always result in crashes, I have managed my way into uploading binaries to the latest firmware that my device has but there is not to much can do if I can't execute my code (I'm stll triying to figure out the firmware structure so we can use a custom fs in the future).
Do you happen to remember or have that compiling setup around?
I really would appreciate your input on this :(, Thanks!