HclX / WyzeHacks

Hacks I discovered allowing Wyze camera owners to do customizations
MIT License
786 stars 75 forks source link

Toolchain for wyze cameras. #102

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hello,

Long time lurker here. I’m not using this project but I’m interested in messing about with these devices. I was wondering if I could get a copy of your compiler/toolchain. I have one based on musl but it doesn’t support dynamic loading. I seem to recall seeing a link to the toolchain on GitHub somewhere but now I can’t find it.

Thanks for your consideration and great project!

Charlie

ghost commented 3 years ago

I found one and am good to go. Thanks.

endertable commented 3 years ago

I found one and am good to go. Thanks.

HI @cburns4563 I have also been seeking a correct toolchain for the cam. I guess my first question to you is are you going to compile programs for the stock cam firmware or are you going to create a whole new build/system? If you are creating for stock, can I ask where you got your toolchain. I have one (mips-gcc472-glibc216) but it is glibc and need one for uClibc which is what cam uses.

Thanks

ghost commented 3 years ago

I’m just writing small programs to run on the camera.

Building toolchains from scratch is above my pay grade so I googled around for a long time looking for an easier approach.

This is what worked for me:

https://sourcery.mentor.com/GNUToolchain/release3217

The documentation is quite good:

https://sourcery.mentor.com/GNUToolchain/doc23862/getting-started.pdf

Good luck and have fun.

Charlie

On Mar 19, 2021, at 9:09 PM, endertable @.***> wrote:

I found one and am good to go. Thanks.

HI @cburns4563 https://github.com/cburns4563 I have also been seeking a correct toolchain for the cam. I guess my first question to you is are you going to compile programs for the stock cam firmware or are you going to create a whole new build/system? If you are creating for stock, can I ask where you got your toolchain. I have one (mips-gcc472-glibc216) but it is glibc and need one for uClibc which is what cam uses.

Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeHacks/issues/102#issuecomment-803241690, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBXSYCW6S4JJEQFTOQNOXLTEQNWNANCNFSM4ZPBGVEA.