-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to compile my own firmware? #23
Comments
@genz10 Let me know what you would like to do and I will guide you through the process of compiling your own firmware. |
Can you please describe the whole process here ? |
@genz10
|
|
Generating a replacement rootfs partition is very much the same process as described above. However with a different partition and base firmware file. Keep in mind that the free space on the rootfs partition is extremely limited. Hardly any extra programs/configurations can fit onto the rootfs partition. I am in the process of moving the web server away from |
Hi, Thanks for your reply. I haven't try this but someday i'll. |
What's the different between home partition and root partition ? |
@genz10 The home partition contains all other information stored on the camera such as the Xiaomi programs. It is something like the My Documents folder and C:\Program Files on Windows. So it contains important information, however not critical to the OS. |
@shadow-1 |
@genz10 I do not have a Makefile or config files for these. However I can post the commands required to cross-compile these programs if you wish. The trick is with the parameters passed onto the configure script. In addition the original Yi Dome and the Yi Home 17CN/27US have less memory than the Yi 1080p Home and Yi 1080p Dome cameras. I have found that you have to reduce the firmware filesize for these cameras for it to accept the firmware image. So what I did is compress yi-hack-v3 with 7zip format (same as the official firmware files) and automatically extract the archive when the firmware boots up for the first time. |
Yes please if you don't mind |
@genz10 First we need to download libuv. In my case I utilised libuv 1.11.0. The compilation commands are as follows:
Next, we need to download libwebsockets. I have modified libwebsockets a bit to fit the requirements of this project. I have generated a patch file with these changes. The compilation script is as follows:
These commands may need to be tweaked slightly to fit in with your exact build environment. |
Hi Guys, |
@Muradunal1
|
thank you. it is incredible. I searched in google but i couldnt find them. How did you find them? Where can i find them in the future? I have some questions.
|
sorry i mean Hi3518E chipset |
@Muradunal1 From memory I remember seeing basic boards that look like development boards for sale on Aliexpress/Alibaba. If you buy a camera based on HiSilicon Hi3518eV200, then you can use Hi3518E V200R001C01SPC040 SDK for development. For the regular HiSilicon Hi3518eV100, I have hosted Hi3518E_V100R001C01SPC081 SDK for development. |
Hi, thanks for work! Is there a way to run curl on camera? I want to use dropbox uploader |
@imsamurai If you need help with the compilation, I can help. |
@shadow-1 do you happen to know if the Hi3518E SDKs are backward compatible with Hi3518C ? |
@shadow-1 I'm trying to install the SDK to cross-compile some other tools (particularly the Mosquitto MQTT client). I note the following in your SDK install instructions:
I've done that, but it doesn't seem to set any environment variables. As a test, I've compiled curl as per your other instructions, but it generates an i386 binary. Where am I going wrong? |
Hi, Just a quick one. I'm trying to change the hard coded max bitrate settings on a camera with a 3516D chip. I've obtained the firmware for it, but for the life of me I can't figure out where these settings are stored. Would you happen to know? The issue I'm having is that the camera seems to have a max bitrate limit that gets set depending on encoding format, resolution and framerate. I want to alter these. If you could point me in the right direction, that'd be great. Thanks. |
Hi, 1 - I found a chinese company (Travellinux) that sells a development board but they don't answer to any e-mail. Does anybody know if there are other companies that sell a development board for that chip family? 2 - If I can't find a development board I have to use a production board; is it possible to debug the firmware through the USB port or another interface; should I use a dedicated programmer? Best regards |
Hi, I'm looking to compile application to the first yi cam revision. For example curl: My hello world: What could be wrong? Why Illegal instruction? |
In additional And my app looks the same: |
Is there is a way to compile my own firmware resulting only home_v201 for Yi Dome?
The text was updated successfully, but these errors were encountered: