Firefly Open Source Community

Title: Cannot flash anything from maskrom mode (possibly broken emmc) [Print This Page]

Author: phkr    Time: 8/9/2019 18:23
Title: Cannot flash anything from maskrom mode (possibly broken emmc)
Hello,
I have tried to flash custom image to emmc (i used rkdeveloptool because there is not enough info about custom images on firefly wiki) but one of them was wrong and i had to enter maskrom mode using hardware method. After that i have following problem when trying to flash something (in both cases "rkdevelop db" step is already performed):
1) if i use
  1. rkdeveloptool gpt parameter.txt
Copy the code

it returns success but then does not show partition table. Partition table is shown if i reset device after this step or write partition table with
  1. rkdeveloptool prm parameter.txt
Copy the code

Anyway, if i flash any image after this step partition table is destroyed again
2) if i use upgrade_tool instead i can successfully flash parameter but when i flash any image after that i get the following error:
  1. Compare data  failed in checking,exit download image!
Copy the code


Also, i used rs and rl commands to check data blocks defore and after writing image: parameter blocks are overriden. These commands also show some strange behaviour:
  1. rl <any start block> 0x1
Copy the code

shows the same output for any start block.

So, could it be that i have broken emmc controller when entered maskrom mode? How could i then make device bootable?
Author: penguin    Time: 8/13/2019 09:39
Please try to download the latest firmware, and use the upgrade_tool bundled inside.

With the device in MaskRom mode, try to erase the flash first by:

  upgrade_tool ef  /path/to/firmware.img

Then upgrade the firmware:

  upgrade_tool uf  /path/to/firmware.img



Author: phkr    Time: 8/13/2019 14:29
penguin Posted at 8/13/2019 04:39
Please try to download the latest firmware, and use the upgrade_tool bundled inside.

With the dev ...

I have tried it, it hangs at the very beginning
Author: penguin    Time: 8/15/2019 16:12
phkr Posted at 8/13/2019 14:29
I have tried it, it hangs at the very beginning

Did it hang at the erasing flash stage, or upgrading firmware stage?

Would you post the full command log?
Author: rayhill996    Time: 1/9/2026 00:40
IĦŻm so grateful for your article, it was truly eye-catching and insightful. Free New D-CSF-SC-01 test test test materials are available! Good luck!
Author: gregree406    Time: 1/10/2026 06:04
Such an extraordinary article, I deeply appreciate your sharing. Sharpen your IT expertise with free Visual C_HRHFC_2411 cert test. Wishing you success!
Author: billfox831    Time: 1/13/2026 11:41
Adobe인증 AD0-E137시험은 중요한 IT인증자격증을 취득하는 필수시험과목입니다Adobe인증 AD0-E137시험을 통과해야만 자격증 취득이 가능합니다.자격증을 많이 취득하면 자신의 경쟁율을 높여 다른능력자에 의해 대체되는 일은 면할수 있습니다.PassTIP에서는Adobe 인증AD0-E137시험대비덤프를 출시하여 여러분이 IT업계에서 더 높은 자리에 오르도록 도움드립니다. 편한 덤프공부로 멋진 IT전문가의 꿈을 이루세요.
Author: stellap933    Time: 1/16/2026 09:58
Thank you so much for your article, it made a lasting impact on me. IĦŻm sharing the C-THR84-2505 reliable exam lab questions exam materials for freeĦŞbest of luck!




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1