Skip to content

Commit

Permalink
Sannce
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasKotlyar committed Nov 6, 2018
1 parent 86ff275 commit b50a69b
Showing 1 changed file with 36 additions and 11 deletions.
47 changes: 36 additions & 11 deletions information/sannce.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,43 @@
1. Get Digma App from Play Store
2. Connect to Camera using Digma. Go to Settings -> Advanced Settings -> Telnet-Access
# Installation of the open source bootloader on generic devices:

1. Get Digma App from Play Store

Link: https://play.google.com/store/apps/details?id=digma.p2pipcam&hl=de
2. Connect to Camera using Digma. Go to Settings -> Advanced Settings -> Telnet-Access and enable Telnet
3. Connect via Telnet to Camera using following credentials:
root:hslwificam
4.

4. Find out how much ram your device have and which processor its using. Check if there is already an bootloader available here:
https://github.com/Dafang-Hacks/uboot/tree/master/compiled_bootloader

If there is an bootloader available, ask for help in an issue. Provide some dumps if possible.

5. Put the bootloader-file to your microsd and rename it to "bootloader.bin"

6. Verify the MD5 Hash of the bootloader file!! Do not skip this step, or you may brick your cam!

7. Run following command in shell

```
cd /mnt/
flash_eraseall /dev/mtd0
dd if=bootloader.bin of=/dev/mtd0
```

8.







If your camera get stuck at the first command(like SANNCE Devices)

``
### Providing Firmware

### Technical Information:
Use following Command to dump the layout:
cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "boot"
mtd1: 00220000 00010000 "kernel"
Expand All @@ -18,17 +47,13 @@ mtd4: 00010000 00010000 "factory"
mtd5: 00010000 00010000 "param"


Dump Firmware:
Dump Firmware according to the layout
dd if=/dev/mtdblock0 of=uboot.bin
dd if=/dev/mtdblock1 of=kernel.bin
dd if=/dev/mtdblock2 of=rootfs.bin
dd if=/dev/mtdblock3 of=system.bin
dd if=/dev/mtdblock4 of=factory.bin
dd if=/dev/mtdblock5 of=param.bin

Then zip everything and provide the zip in the issue

Flash New Bootloader:
fatload mmc 0 0x82000000 sannce.bin
sf probe
sf erase 0x0000 0x40000
sf write 0x82000000 0x00000 0x40000

0 comments on commit b50a69b

Please sign in to comment.