openfang
openfang copied to clipboard
Flash openfang with raspberry pi1 SPI
Hi guys, I want to hack my cam SXJ02ZM.
I have opened the cam, i separed Vcc pin and I connected the pin of chip to my raspberry pi1. I have used flashrom for backup the stock firmware and it's working. (flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=51 2 -r backup.bin) Then I erase the memory and i've tried to write te bootloader (flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=512 -w /home/pi/Desktop/u-boot-lzo-with-spl_t20_64M.bin), but i received this error:
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on linux_spi. Error: Image size (215873 B) doesn't match the flash chip's size (16777216 B)!
I've used a compiled bootloader that i found in one of this issue, beacouse i don't know how to compile it.
Anyone can help me to resolve this problem without buy CH341A?
I have flashed finally the boot but now the led orange is on without blink. have i break?