-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Completely Open Source Firmware - Testers needed #575
Comments
Which other cameras would you like tested? I have a few and no issue cracking them open. |
Wrote Entware Install Guide on Optware/Entware Support #542 |
Thanks your @AustinSaintAubin ! @Cabalist : For now, only the Dafang is supported. As soon as #573 gets resolved, we can test on different cameras. You can have a look at this issue first. |
I have reduced the amount of steps to only 5. Its basically: Create a EXT3 Partition, and clone the git inside it. |
Hi, Is it the right thing to do? Thanks !! |
@nik0 I don’t think fat32 is a good idea, we cannot have symlinks that way. Make one ext3 partition only and clone the rootfs to it. |
And yes you get the bootloader log via serial connection. |
Ok i’ll test with an ext3 .... |
Ok it works with ext3 |
@nik0 : If you need help - just tell me. You might need a custom bootloader for a Dafang with 64mb. Also: Do you know which wifi driver it uses by default? |
I used you custom 64mb bootloader that seems to work fine
Said that I tried to insert audio.ko module and it says /dsp is already in use. Is the plan using the default audio from linux ? Not anymore the sdk one ? |
@nik0 : DHCP should be working fine - It is using the same binary. I suppose that you have a different Wifi Module on your Dafang? Can you try to boot into the normal dafang-hacks and check which wifi driver is loaded? audio.ko is not needed anymore. I have tested sound and it was working fine with the new kernel. |
Do you think DHCP problem can come from the wifi driver ? |
Yes, if there is a Problem with wifi-driver, it wont run DHCP - so check the driver first. You can try to insert a USB-Wifi Dongle first to get a connection. Then you can experiment with the drivers. Audio is still OSS - we can try to switch to ALSA, but i dont think its a good idea because of the memory usage. I suppose that ALSA will use more memory than OSS |
The wifi driver is OK wlan0 Link encap:Ethernet HWaddr 78:11:DC:12:C5:54 |
I had a similar problem. Can you try to chmod +x the udhcpc.script in /etc? It helped me |
:-) |
having the open source bootloader installed, wich method is better to use?
Thanks |
Roots is finished yet, a lot of features are not working yet (the paths have changed) |
👍 Thanks |
I've tried the open source firmware, runs perfectly but most function still unavailable due to path problem, is there any new version planned? I volunteer to be the tester. (or if you can hints on where to change the path from fat32 version I think might want to try it). |
@arkhub you may want to try my pull request Dafang-Hacks/rootfs#3 most stuff should work. Or you can have a look at https://github.com/anmaped/openfang promising but not yet fully functional. |
Thank you, I will try look into your pull request first. |
Flashed this to my Xiaofang 1S (Ingenic XBurst T20 SoC) (from the logs). I believe it's 128MB from the original logs. I used the V2 version, which did flash and the device now boots (more than it did with the latest official release, which prevents booting the hacks!). The issue is I can't get an image from it, the web ui displays 'unable to load image'? FYI, I worked around the new firmware, by dropping your bootloader on the SD, connecting serial, botting and flashing from the media directory 👍 |
You are booting rootfs? Maybe the camera sensor driver does not fit your camera. Which sensor is detected? Does the script load the correct one? |
I'm booting the hack from the SD? (Sorry, I'm new to this). I'm not sure tbh what the difference between V1 and V2 is, I assumed as my camera appears to be a recent build (has the firmware that prevents the hack) it was new, hence V2! |
Rootfs from ext3 partition or the mainstream Dafang hacks? |
the latest Git of Defang hacks loading from micro... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Just saw that this got marked stale. What is the status of this? I'd love to see something in the README that consolidated the information on the different options with these cameras. :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello everyone,
I was able to compile a completely open source firmware. Here is a description how to flash it:
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/blob/master/hacks/install_sdcard.md
Unfortunately, its working only for a Dafang. I cannot test it on different hardware. However it should be possible to adapt it also to the other cameras.
It includes a completely open source kernel and a rootfs which was made by copying various files from the dafang firmware. You can use a package manager like optware, and all the paths are writeable.
The text was updated successfully, but these errors were encountered: