Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Hardware] Cannot flash anything from maskrom mode (possibly broken emmc)

1562

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1562

【Hardware】 Cannot flash anything from maskrom mode (possibly broken emmc)

Posted at 8/9/2019 18:23:06      View:6194 | Replies:7        Print      Only Author   [Copy Link] 1#
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?
Reply

Use props Report

1429

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1429
Posted at 8/13/2019 09:39:46        Only Author  2#
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


Reply

Use props Report

1562

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1562
Posted at 8/13/2019 14:29:40        Only Author  3#
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
Reply

Use props Report

1429

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1429
Posted at 8/15/2019 16:12:25        Only Author  4#
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?
Reply

Use props Report

132

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
132
Posted at 1/9/2026 00:40:43        Only Author  5#
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!
Reply

Use props Report

120

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
120
Posted at 1/10/2026 06:04:57        Only Author  6#
Such an extraordinary article, I deeply appreciate your sharing. Sharpen your IT expertise with free Visual C_HRHFC_2411 cert test. Wishing you success!
Reply

Use props Report

134

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
134
Posted at 1/13/2026 11:41:35        Only Author  7#
Adobe인증 AD0-E137시험은 중요한 IT인증자격증을 취득하는 필수시험과목입니다Adobe인증 AD0-E137시험을 통과해야만 자격증 취득이 가능합니다.자격증을 많이 취득하면 자신의 경쟁율을 높여 다른능력자에 의해 대체되는 일은 면할수 있습니다.PassTIP에서는Adobe 인증AD0-E137시험대비덤프를 출시하여 여러분이 IT업계에서 더 높은 자리에 오르도록 도움드립니다. 편한 덤프공부로 멋진 IT전문가의 꿈을 이루세요.
Reply

Use props Report

133

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
133
Posted at 1/16/2026 09:58:39        Only Author  8#
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!
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list