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:3986 | Replies:3        Print     [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

1562

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

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

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

This forum Credits Rules

Quick Reply Back to top Back to list