EliasKotlyar / Xiaomi-Dafang-Hacks

4.19k stars 1k forks source link

sannce_i141cb_v2.bin + bg0806 + kernel Linux version 3.10.14 (eko@eko-GE62VR-6RF) (gcc version 4.7.2 (Ingenic r2.3.3 2016.12) ) #1688

Closed markonym closed 3 years ago

markonym commented 3 years ago

Hi I want to ask questions about an old problem that is already closed. I have sannce clone

1613981599272 1613981599264

and I did reflashing uboot sannce_i141cb_v2.bin, put in ext3 sdcard rootfs as described in sannce.md.

dmesg.txt

rcS.txt

v4l2rtspserver-master.txt

v4l2rtspserver-master.txt sensor datasheet --> http://www.brigates.com/product/3.html bg0806应用指南_v2.0.pdf

I can boot and reach camera site but I can't see any picture and can't move PT. I saw in original rootfs that it use different image sensor BG0806. I used kernel-t20.bin on uEnv.txt. on rcS I used mt7601Usta.ko , disable dafang sensor and added sensor_bg0806.ko and module bg0806.bin that I extracted from original flash dump.

Whatever I tried, there is no video ... how can I do it?

stale[bot] commented 3 years ago

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.

yeyeto2788 commented 2 years ago

Hey @markonym,

What voltage did you use to gather serial data? Do mind sharing a picture of the board? I have a Sannce camera that I want to dump the info also.

markonym commented 2 years ago

Hello colleague, my camera is a Chinese clone of Sannce with a cpu Ingenic T20. For serial communication use 3.3 volts.

yeyeto2788 commented 2 years ago

Hello colleague, my camera is a Chinese clone of Sannce with a cpu Ingenic T20. For serial communication use 3.3 volts.

Hey! Thanks for the reply. I have a camera called Ankee but looks similar to the Sannce one. 20211124_153532.jpg and wanted to know the normal voltage used for serial communication on the CPU.

markonym commented 2 years ago

Make it look the same as my camer RxTxpng a!

yeyeto2788 commented 2 years ago

Awesome! Thank you very much @markonym .Did your camera finally worked?

@EliasKotlyar is there anything to be done in regards making it work?

markonym commented 2 years ago

Before you start doing various experiments with the camera, be sure to make a dump on the flash !!!

markonym commented 2 years ago

To work as a device but no picture from the sensor

yeyeto2788 commented 2 years ago

@markonym I'll keep it in mind. The weird part is that using 115200 baud rate I do not get any console output

markonym commented 2 years ago

What usb to uart converter are you using?

yeyeto2788 commented 2 years ago

FTDI USB to serial converter

image

markonym commented 2 years ago

Wonderful!

yeyeto2788 commented 2 years ago

Seems like I'm now able to log into the camera as root and do some things on it. @markonym did you get it work with the hacks? Is there an option to open up this issue again? My camera is based on a T10 but I guess most of the hacks should work.

@EliasKotlyar any way I can help on this?

markonym commented 2 years ago

Yes Elias hacks work for me. Download and flash this bootloader - sannce_i21ag_v2.bin ( for Ingenic T10).

markonym commented 2 years ago

Which who terminal program are you working ? I use Tera Term !

yeyeto2788 commented 2 years ago

Yes Elias hacks work for me. Download and flash this bootloader - sannce_i21ag_v2.bin ( for Ingenic T10).

I thought your camera was a T20 one. Ok I'll try that then.

I'm using picocom and now I can get full access to the terminal via serial or telnet.

markonym commented 2 years ago

Yes my camera is with T20. But your bootloader is sannce_i21ag_v2.bin mine is different.

markonym commented 2 years ago

Do you see U-Boot already ?

yeyeto2788 commented 2 years ago

Yes I was able to see u-boot and even set some bootargs. I'll try that firmware after I dump everything from the camera as a safety measure.