Near the very beginning of this thread, you were able to extract files from the firmware, how did you do that? how were you able to extract rootfs.squash?
As a first stab at looking at a firmware file, the utility binwalk is pretty good at giving some clues as to how a composite file is organised.how were you able to extract rootfs.squash?
alastair@PC-I5 ~/cctv/other/SV3C $ ll *.ov
-rw-r--r-- 1 alastair alastair 7667980 May 8 2017 UPG_ipc8700_f8-M20-snx660_f8-20170508_100042.ov
alastair@PC-I5 ~/cctv/other/SV3C $ binwalk *.ov
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
69713 0x11051 Certificate in DER format (x509 v3), header length: 4, sequence length: 3
203312 0x31A30 CRC32 polynomial table, little endian
220710 0x35E26 Unix path: /factory-1/kernel/rootfs-r/rootfs-rw/user-1/u-logo
221522 0x36152 Unix path: /factory/kernel/rootfs-r/rootfs-rw/user/u-logo
243964 0x3B8FC CRC32 polynomial table, little endian
327952 0x50110 uImage header, header size: 64 bytes, header CRC: 0x21E2, created: 2016-07-01 12:27:21, image size: 1294032 bytes, Data Address: 0x8000, Entry Point: 0x8040, data CRC: 0xBD5B, OS: Linux, CPU: ARM, image type: OS Kernel Image, compression type: none, image name: "Linux-2.6.35.12"
1638668 0x19010C Squashfs filesystem, little endian, version 4.0, compression:gzip, size: 5946111 bytes, 637 inodes, blocksize: 65536 bytes, created: 2017-05-08 02:00:43
7602444 0x74010C JFFS2 filesystem, little endian
alastair@PC-I5 ~/cctv/other/SV3C $ tail -c +1638669 *.ov | head -c $((7602444-1638668)) > rootfs.squashfs
alastair@PC-I5 ~/cctv/other/SV3C $ file rootf*
rootfs.squashfs: Squashfs filesystem, little endian, version 4.0, 5946111 bytes, 637 inodes, blocksize: 65536 bytes, created: Mon May 8 02:00:43 2017
alastair@PC-I5 ~/cctv/other/SV3C $
That's interesting.been in contact with s3vc and upto now they have sent me this .img .ov file
well, it appears my journey has ended. i ran the upgrade command and since it wasn't doing anything, i unplugged it (like i had done many times before) and u-boot is gone. now i only have 2 chevrons with no help commandBefore you do - check above - I mistyped the proposed commands, sorry.
Certainly hit a big barrier. That's a pity.well, it appears my journey has ended.
For the most part yes, it echos. But multiline echo.Do you have the transcript of that last session?
Does it echo what you type?
Certainly hit a big barrier. That's a pity.
But if you want to spend even more time on the topic - as the flash chip is SPI-based, there is a fair chance it could be easily programmed in-situ.
Can you provide a screenshot of the board that would provide enough detail to see the components.
Of interest would be any SOP-8 chips and their markings.
I'm all for it! I'll have to order it. I'm not a very good solder-er, is there a way to read from it without desoldering?The 8-pin chip at the top left is the flash memory chip.
There is a pretty good chance ( But I've not checked the supported devices list) that it could be programmed in-situ with something like the CH341A eeprom programmer, with a suitable 8 pin test clip to connect up. CH341A STC FLASH 24 25 EEPROM BIOS Writer USB Programmer SPI USB to TTL 833972787927 | eBay
I've done this with a few cameras, it's worked OK, but you do need a full flash image, though this can be read from another device.
In-situ has worked for me on several devices.is there a way to read from it without desoldering?
I've seen these devices, but i have not seen how they use it without taking the chip off. I've always seem them take it offIn-situ has worked for me on several devices.
In other words, with no power on the camera, just hook up the programmer to the chip still on the board, see if it reads OK, then write the image and verify.
Interesting - You are quite right, that's an SPI flash chip, 64Mb.Here is a picture of the other side because all the info i found on that 8-pin led to a 16kb memory chip. the MX25L6436F chip seems like the main memory.
On the way tuesday. I've definitely put the lens back on. But during reading and flashing I'll have to remove it. hopefully no dust falls in.Interesting - You are quite right, that's an SPI flash chip, 64Mb.
The FT24C16A is also a serial flash chip - but only 16KB. I didn't take the time to read the datasheet properly, and made an assumption.
But the idea still remains.
By the way - best to leave the IR-cut lens mount on, to protect the sensor from dust or accidental contact.