Coder Social home page Coder Social logo

Comments (9)

guino avatar guino commented on July 28, 2024 1

@Ne3Mx as a form of closure to this issue (or if you are just curious) I posted information on our work in this camera here: https://github.com/guino/Geeni720P

from merkury720.

guino avatar guino commented on July 28, 2024

@Ne3Mx Your flash chip is the chip on the bottom-left on the last picture posted (if you ever want to mess with it using a programmer).

I would be willing to bet money that your UART can be accessed using the 4 holes above the micro-SD card slot on the last picture. If you have some protoboard wires you can probably just insert RX,TX and Ground on these and connect them to a raspberry pi (or similar) RX/TX/GROUND pins and access the serial port on the device. Alternatively you can use a USB-TTL adapter (3.3v) and connect the RX/TX/Ground to the UART holes. If you have a multimeter you should be able to check which pin is Ground/VCC which would leave only RX/TX to figure out. If y don't have a tester you can basically try to guess the connections with basically zero risk of causing any damage. I would be willing to bet that the "square" hole is ground, and that the 2 middle pins are rx/tx. You can verify the UART is connected correctly by monitoring it with a terminal application when applying power to the device (which should display some boot messages). If you provide the boot messages there is a good chance we can determine the address for this board -- which is what we need so we can modify the hack files to work with this device.

There's no easy way to 'dump the ROM' from the UART but once we have the correct address we can use the process in guino/BazzDoorbell#11 (with modified address) and it would likely work.

from merkury720.

guino avatar guino commented on July 28, 2024

This is how I accessed the UART on my device (similar holes) -- yellow is Ground in my case, I don't remember which is RX/TX but it's just a matter of trying one way and if doesn't work, switch RX/TX wires and try again:

UART

from merkury720.

Ne3Mx avatar Ne3Mx commented on July 28, 2024

Ok! Hooking up to the UART I get the following output.

SPI Nor total size: 8MB
PPS:Apr  3 2018 15:32:05   meari_c4:  0
magic err
ARM Linux Kernel Image (uncompressed)
2054864 Bytes = 2 MiB
   Loading Kernel Image ... magic err
Uncompressing Linux... done, booting the kernel.

Holding in the reset button I get

SPI Nor total size: 8MB
PPS:Apr  3 2018 15:32:05   meari_c4:  0
button
cmd:fatload mmc 0 0x81000000 ppsMmcTool.txt 1020
cmdBuf:fatload mmc 0 0x81000000 env;env import 81808000;saveenv
envreset - reset env para

Saving Environment to SPI Flash...
Erasing SPI flash, offset 0x00030000 size 64K ...done
Writing to SPI flash, offset 0x00030000 size 64K ...done
size:131
error: Pack header size error!
error: upgrade.bin unpack error!
envreset - reset env para

Saving Environment to SPI Flash...
Erasing SPI flash, offset 0x00030000 size 64K ...done
Writing to SPI flash, offset 0x00030000 size 64K ...done
readLen:131
read err
magic err
ARM Linux Kernel Image (uncompressed)
2054864 Bytes = 2 MiB
   Loading Kernel Image ... magic err
Uncompressing Linux... done, booting the kernel.

from merkury720.

guino avatar guino commented on July 28, 2024

@Ne3Mx The boot information wasn't very useful but you had a great idea to do the reset button while booting -- that was very helpful. The address for your camera is likely 0x81000000 so I'd like you to try the following:

1-Follow steps normally as if it was a new camera https://github.com/guino/Merkury720#rooting-and-customizng-the-device but STOP after step 2.
2-Unzip this zip file over the files in the SD card: old720phack.zip -- it should overwrite the env and ppsMmcTool.txt files with modified ones with address 81000000
3-Continue with the steps from https://github.com/guino/Merkury720#rooting-and-customizng-the-device from step 3

There's a very good chance this will work.

from merkury720.

guino avatar guino commented on July 28, 2024

@Ne3Mx if you'd like to 'read' your flash before making any changes (using: guino/BazzDoorbell#11 ) you can follow the steps as listed there and instead of using the 'mini7c.zip' posted in the original instructions you can use this one:
mini5c.zip

from merkury720.

Ne3Mx avatar Ne3Mx commented on July 28, 2024

Same problem, I'll do a dump of the ROM

SPI Nor total size: 8MB
PPS:Apr  3 2018 15:32:05   meari_c4:  0
button
cmd:fatload mmc 0 0x81000000 ppsMmcTool.txt 1020
cmdBuf:fatload mmc 0 0x81000000 env;env import 81000000;saveenv
envreset - reset env para

Saving Environment to SPI Flash...
Erasing SPI flash, offset 0x00030000 size 64K ...done
Writing to SPI flash, offset 0x00030000 size 64K ...done
size:131
error: Pack header size error!
error: upgrade.bin unpack error!
envreset - reset env para

Saving Environment to SPI Flash...
Erasing SPI flash, offset 0x00030000 size 64K ...done
Writing to SPI flash, offset 0x00030000 size 64K ...done
readLen:131
read err
magic err
ARM Linux Kernel Image (uncompressed)
2054864 Bytes = 2 MiB
   Loading Kernel Image ... magic err
Uncompressing Linux... done, booting the kernel.

from merkury720.

Ne3Mx avatar Ne3Mx commented on July 28, 2024

Dump of ROM was unsuccessful. Tried both Mini5C and Mini7C @ 0x81000000 and 0x81808000, no luck. Will try and read flash with programmer tomorrow.

SPI Nor total size: 8MB
PPS:Apr  3 2018 15:32:05   meari_c4:  0
button
cmd:fatload mmc 0 0x81000000 ppsMmcTool.txt 1020
cmdBuf:fatload mmc 0 0x81000000 env;env import 81808000;run fcmd
envreset - reset env para

Unknown command 'run' - try 'help'
size:90
error: Pack header size error!
error: upgrade.bin unpack error!
envreset - reset env para

Unknown command 'run' - try 'help'
readLen:90
read err
magic err
ARM Linux Kernel Image (uncompressed)
2054864 Bytes = 2 MiB
   Loading Kernel Image ... magic err
Uncompressing Linux... done, booting the kernel.

And

SPI Nor total size: 8MB
PPS:Apr  3 2018 15:32:05   meari_c4:  0
button
cmd:fatload mmc 0 0x81000000 ppsMmcTool.txt 1020
cmdBuf:fatload mmc 0 0x81000000 env;env import 81000000;run fcmd
envreset - reset env para

Unknown command 'run' - try 'help'
size:90
error: Pack header size error!
error: upgrade.bin unpack error!
envreset - reset env para

Unknown command 'run' - try 'help'
readLen:90
read err
magic err
ARM Linux Kernel Image (uncompressed)
2054864 Bytes = 2 MiB
   Loading Kernel Image ... magic err
Uncompressing Linux... done, booting the kernel.

from merkury720.

guino avatar guino commented on July 28, 2024

from merkury720.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.