Comments (5)
Just tried to see if I could compile a Go binary (since they are statically linked and easy to cross-compile for ARM / Raspberry Pi), but I couldn't find any way to get a "hello world" to work compiling from my Mac using GOOS=linux GOARCH=arm GOARM=7 go build
, also tried GOARM=6 and 7. Also tried compiling from a Raspberry Pi 3 with those same settings, no luck. Would get "invalid instruction" or a segfault when trying to run the binaries on my yi home 1080 v2.
So then I tried a C++ hello_world compiled on my Raspberry Pi 3: g++ -static hello_world.cpp -o hello_world
, it also segfaults.
Any suggestions would be much appreciated.
from yi-hack-v2.
@n8henrie
I suggest biting the bullet and use the cross compiler included with the SDK.
It is a little more difficult to compile applications and libraries compared to compiling natively (usually requires an additional 1 or 2 command line options). However on the positive side, the compiler is specific to the chipset used on the camera and can take advantage of any optimisations specific to the chipset rather than compiling to the lowest common denominator (e.g. armv5).
from yi-hack-v2.
Thanks for the response.
I will report back to this thread if I'm able to find a walkthrough or any more documentation about the Ambarella SDK -- it looks like it is pretty hard to get ahold of. I sent in a info request at their site and the form response basically says "if you're not considering a large order we probably won't get back to you."
from yi-hack-v2.
Possibly helpful for future readers:
https://github.com/hello/kasa
https://github.com/hello/kasanojo
from yi-hack-v2.
Walkthrough for extracting the firmware: https://tech.fpt.com.vn/language/en/extracting-firmware-xiaomi-ants-xiaoyi-smart-camera-part-1/
from yi-hack-v2.
Related Issues (20)
- please hack yi v1 upgrade 1080p HOT 4
- Intl version of Yi Home 2 ? HOT 3
- Need help removing the date and time stamp from the image HOT 1
- Video not recording to sdcard? HOT 2
- Is it possible to use US version in EU region? HOT 9
- I can't install the hack HOT 2
- Can't get FTP access
- NightVision (IR) does not work when in modified version HOT 2
- Duplicating success from Xiaomi MIJIA hack HOT 1
- the APP can not pare with the camera
- Solid Yellow Light on Startup HOT 3
- Reddish pall
- Solid Yellow Light on Startup HOT 2
- Bricked camera, solid yellow light, help?
- Since this repo has been marked outdated, is there a better resource available? HOT 2
- Yi Home Camera 2 bricked - violet led
- Current firmware 2.1.0.0E_201809191630 HOT 4
- niclet help sdk HOT 3
- RTSP stream stops when no motion HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yi-hack-v2.