Skip to content

Flash openfang with raspberry pi1 SPI #64

@chopin94

Description

@chopin94

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?

a

photo_2020-10-18_02-21-01
photo_2020-10-18_02-20-57

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions