-
Notifications
You must be signed in to change notification settings - Fork 112
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
48US support #282
Comments
I can't build a new hack for this model but I could help you to do it, if you want. |
If that is an option, I am keen to even contribute in helping the community. Let me know how you want to approach it. |
First step: clone the repo and rebuild a whole hack. |
@roleoroleo which stock firmware you want me to use? I would only have the one for hi3518e at the moment. |
Which hack are you using at the moment? Start cloning TheCrypt0 repo and use hi3518e firmware. |
@roleoroleo for some reason I am getting this error related to rootfs_y20. Any ideas? |
Probably rootfs_y20 is not the correct format.
Command: |
I don't know. |
Does it matter if '/tmp/ssc' is empty? |
No. |
Try to run manually all commands inside the script. |
Just to update, I still have it on my to-do list, but there was no further progress since. However, would I need the SDK for hi3518e installed properly in order to successfully mount or even process the init_sysroot.sh? |
Yes, check this wiki: |
Decompress manually the file using the script I posted above and copy the file in the sysroot folder. |
It was empty when I did it (mounted rootfs) the last time.
The content of the mounted folder is empty even if I mount yi-hack-v4 'rootfs_y20' file, but it is ok for 'home_y20'. Running everything in verbose mode seems to be working great until it mounts the 'rootfs_y20' and tries to copy something which does not exist; hence, the error. |
Mount with this: |
@roleoroleo Which version of mtd-utils you have? |
There are no files when rootfs is mounted. |
1:2.0.0-1 on Debian 9.
Now, I understand the question. Probably the image is corrupted. Are you sure that the image works when you try to restore the stock firmware. |
I have tried to mount plenty of 'rootfs_x20' files found in the universe (google) and all of them mounted with no content. home_x20 are fine but rootfs_x20 are empty. Sounds like a lame issue, but I tried everything except Debian 9 ;) |
Did you try to change the eraseblock size? |
Multiple times. |
Share with me a link of this file. |
Thank you @roleoroleo for your help - sounds like I am doing something wrong anyway - LINK |
With my debian 9 works without problems. |
Thanks. I will be doing the same on Debian. I started it already wrong as installed Debian 10 instead of 9 as a docker. |
@roleoroleo Took me a while as wsdd needed the same amendment, also some libraries were missing. The build is working and so do the camera, but there is no webserver: The output is as per the below:
Any ideas for the above? |
Install the package yui-compressor. |
If you don't find it in the standard repo, use this: |
That fixed the compilation of the www problem. ONVIF is enabled but not working. But I think I found an issue. There is a wrong path in install.wsdd. |
@roleoroleo some libraries are missing I got it installed in my Debian 9 |
Probably is missing in the cam, not in your host. |
I checked the lib folder on the cam, and it only has libraries from src/uClib* in the repo |
I think it should be in /home/lib |
If it is in /home/lib, probably your LD_LIBARY_PATH is not set correctly.
|
Do you have an original fw image to share with me? |
I found it on the official YI website |
I found a restore copy here: libstdc++ is absent in the original fw. |
This error is a problem. |
onvif_srvd needs a long command line.
And wsdd:
|
RTSP service is a very difficult task. |
I know the location now (from another thread you mentioned), but I will check if it's there and upload it tomorrow. |
@roleoroleo There is no file fshare_frame_buf in the /dev/ folder or anywhere on the device. I also searched for anything with fshare, frame and buf.
|
If I remember correctly, in your model the file is /tmp/view and not fshare_frame_buf. |
@roleoroleo I got the 'view' file. |
Could you send me two copies of the file made 5 seconds apart? |
I made more just in case |
Thank you @roleoroleo for your work and support so far. I am closing this issue as I think we got where we wanted to be. |
It was a pleasure. |
Please, dear roleoroleo |
Hi All
I understand there is another project covering models with hi3518e chipset, but I was wondering if there would be a chance to integrate ONVIF and steps that I would need to follow. Unfortunately, the other projects seem to be dead since early last year; hence why my question over here as more activity and commitment has been recognised.
Any help or direction would be appreciated.
The text was updated successfully, but these errors were encountered: