Filipowicz251 / mijia-1080P-hacks

436 stars 65 forks source link

Corrupt kernel image #25

Closed subashp closed 6 years ago

subashp commented 6 years ago

Folks, wrt issue (https://github.com/Filipowicz251/mijia-1080P-hacks/issues/15) I finally managed to solder a Tx pad very close to the processor pin(because my provided Tx TP came out during soldering) I got the following console message. It looks like my kernel could be corrupt. I had attempted to boot the image from SD card before and not sure if it flashed a wrong image. Any thoughts how to get recovery image and boot it from SDCard?

SPI NOR ID code:0xc8 0x40 0x18 SPI jump setting is 3 bytes mode Boot image offset: 0x10000. size: 0x50000. Booting Image .....

U-Boot 2013.01 (May 31 2017 - 18:07:51)

I2C: ready DRAM: 64 MiB ROM CODE has enable I cache SPI mode MMC: FTSDC021: 0 SF: Got idcodes 00000000: c8 40 18 c8 .@.. SF: Detected GD25Q128c with page size 64 KiB, total 16 MiB flash is 3byte mode *** Warning - bad CRC, using default environment

In: serial Out: serial Err: serial


ID: 8136150 AC: 200 HC: 200 P1: 860 P2: 600 P3: 540 C6: 860 DR:1146 J: 286 H1: 286

Net: GMAC set RMII mode reset PHY eth0 Warning: eth0 MAC addresses don't match: Address in SROM is 65:6d:3d:31:32:38 Address in environment is 00:42:70:00:30:22

Card did not respond to voltage select! Bad device mmc 0 there's no sdcard, ignore dfu Hit any key to stop autoboot: 0 SF: Got idcodes 00000000: c8 40 18 c8 .@.. SF: Detected GD25Q128c with page size 64 KiB, total 16 MiB flash is 3byte mode Wrong Image Format for bootm command ERROR: can't get kernel image!

subashp commented 6 years ago

I found that https://github.com/Filipowicz251/mijia-1080P-hacks/issues/21 provides the firmware to recover. Cool. My camera boots up now. Thanks to everyone who is working to provide support to this camera.