Firefly Open Source Community

Title: IDB Fail - impossible to update no Firmware [Print This Page]

Author: navigatoria    Time: 12/23/2018 00:08
Title: IDB Fail - impossible to update no Firmware
Last edited by navigatoria In 12/24/2018 00:02 Editor

I tried everything I could and everything I was advised, but it does not work. even in MaskRom mode I have the error IDB Fail. I am completely blocked I do not know what to do and to make matters worse I can not boot with a Micro SD card. How to repair my card? I looked a little on youtube and internet, but there are only people malhonete, there is even one who proposes to solve the problem with a file he called "EMMC IDB Fail.rar" but who actually contains a very dangerous Trojan. Apparently this problem of IDB is frequent it appears much on the forium but few people have a solutions, on the forums the articles are sometimes very old (2014) and more no link is valid. can you help me please, I can not use my Firefly Rk3399 card it is in MaskRom mode since I used the method to put it in Maskrom mode with a small iron screwdriver. Here is a screenshot of the current state of my card. You can see the beginning of my problem here:

http://bbs.t-firefly.com/forum.p ... 2470&extra=page%3D1

My screenshot and the video with this identical problem but with a trojan horse in the descriptions of the video!

[ytube]xemN9UnflVc[/ytube]



idbfail.jpg (53.47 KB, Down times: 171)

idbfail.jpg

Author: navigatoria    Time: 12/23/2018 23:50
Last edited by navigatoria In 12/24/2018 14:53 Editor

Hello,

I just bought a usb3 / usb3 male cable to try directly from usb3 to my computer in usb3, but the cable is not even recognized the connection firefly rk3399 - computer, I tried the same thing with a usb 2 cable, it's the same nothing, only the provided firefly usb3 - usb cable is recognized, but then.

I remind you that I just wanted to update ubuntu in version 18 with the firmware oridinal proposed on the site of firefly.I understand that you are a young company, but I paid 200$ (with shipping and customs charges and even more) for this card, I could have bought 4 Rasberry Pi 3 for this price and I am now owner of a card that is like dead, so apologize if I'm angry, but that can not be understood right?

Sorry if I'm angry, but when I see my "dead" card when she does not even have a week while I'm trying to save her alone on my side can understand each other.


IMG_20181223_165810.jpg (644.33 KB, Down times: 168)

IMG_20181223_165810.jpg

Author: penguin    Time: 12/24/2018 16:48
Last edited by penguin In 12/24/2018 16:55 Editor

Weird. I personally use an ordinary macro usb cable, with a small Type-C adapter,
which is fine.

From your posts in http://bbs.t-firefly.com/forum.p ... page%3D1&page=2"Read Flash Info" does not return the correct flash size (only the wrong one, zero)

The SD card boot should work out of the box. But I'm afraid there might be something wrong the the HDMI connection.

The best way to know what is happening is to use a serial adapter ( http://wiki.t-firefly.com/en/Firefly-RK3399/senial-debug.html ),
which will get all the way from bootrom, u-boot, to kernel and rootfs.

Author: penguin    Time: 12/24/2018 17:39
@navigatoria
Please use AndroidTool_Release_2.58.zip in
http://en.t-firefly.com/doc/download/page/id/3.html#windows_12

AndroidTool 2.39 is not working with Ubuntu firmware.
Author: navigatoria    Time: 12/24/2018 22:04
Ok, thanks for the response.

I will try your solution and I will tell you if it works well.
Author: navigatoria    Time: 12/24/2018 22:55
Where to buy USB to UART Module (CP2104) in Europe? Since China is 35 euros of shipping with DHL!
Author: penguin    Time: 12/25/2018 09:00
Please try AndroidTool v2.58 first.

Any serial adapter support 1.5M bps is ok. It should be not hard to find in your Europe online shop.
Author: navigatoria    Time: 12/25/2018 17:42
Hello,

ok I tried AndroidTool v2.58 first, I managed to erase the flash is already good, but I'm still stuck at the IDB fail. What image of ubuntu you advise me to try to flash in the firmware? However, I can never boot with the SD card. When I connect the card in hdmi on the tv, the blue led lights, the TV detects the resolution of the card but the screen remains 100% black, it is normal since there is no firmare in the memory emmc but in the card I flash with balena etcher the image ubuntu sd, but nothing happens. I will try to buy serial adapter support 1.5M bps, but I have very little to throw my money out the window, do you really think that will change something? And what is this IDB error, what is idb?

Thank you.
Author: navigatoria    Time: 12/25/2018 18:28
Hello,

Thank you for watching my video on youtube (unreferenced) that I did for you and tell me what it is wrong.

Thank you

[ytube]ENZi6ho83l0[/ytube]

Author: penguin    Time: 12/26/2018 17:59
I'd like to know how did you go to maskrom mode at last? Will you please spot the detail?
Author: navigatoria    Time: 12/26/2018 23:04
Last edited by navigatoria In 12/26/2018 23:29 Editor

Hello penguin,

it was really very difficult to switch to MaskRom mode, I tried with all kinds of metal but none was good. Finally I used a precision screwdriver for model aircraft and I touched the 2 connector TP31 and TP32 and it worked.

To turn on the fireflyRK3399 I used an electric lead that has a switch that I started with my foot because I do not have 3 hands!

But now I'm still in MaskRom mode, to come out and come back in LoaderMode I have to put a microSD card and I start with Press and hold RECOVERY key - Shortly press RESET key - Release RECOVERY key. To return to MaskRom mode I just need to remove the SD card. I used the Balena Etcher for the micro sim card, I put on the "SD" version of ubuntu proposed on the site of firefly (Firefly-rk3399_xubuntu1604_SD_201705151725.7z) but it does not work. I do not know what to do, I used and tried all the firmware, none can flash in the memory because I still have the IDB fail. I do not know what to do except to try to buy a USB to UART Module (CP2104) but I'm afraid of throwing money out of the window. but why the card does not start with the microsd card? I do not understand. You do not have an image that I can download for my SD card and try other than that proposed on the forum?

NOTE : I used this special tip on my precision "mini-screwdriver" to switch to MaskRom mode as you can see in the picture

thank you


tournevis.jpg (188.58 KB, Down times: 98)

tournevis.jpg

Author: penguin    Time: 12/27/2018 10:26
hi @navigatoria, I wish I had your "mini-screwdriver" too.

There might be something wrong with your eMMC flash.
In AndroidTool, when clicking the "ReadFlashInfo" button,
the correct flash size should be shown instead of zero in your case:



However, do not give up hope. You can try:

1. Use upgrade_tool in Linux OS to upgrade the firmware.

2. Use SD card boot, try other model of HDMI display.

3. Use SD card boot, with the serial adapter to monitor the boot sequence.

I've confirmed that the SD boot firmware Firefly-rk3399_xubuntu1604_SD_201705151725.7z
downloaded from
    https://drive.google.com/drive/f ... gAqAamx6cXd6b205eEk
is able to boot and the graphics window system is available.

After SD card boot, it can be confirmed whether your eMMC flash is broken or not.


Author: navigatoria    Time: 12/27/2018 23:39
Thank you penguin, I will try this solution that you propose. I will make photos and I will report. I'll try tomorrow, I have to install Linux first on a live cd or a usb key because I run windows10.
Author: navigatoria    Time: 12/29/2018 02:39
Last edited by navigatoria In 12/29/2018 02:43 Editor

Hello,

I tried with windows10 as you told me but nothing is always this error IDB when the SD card, nothing happens, it does not stay black and I respected everything to the letter. I also tried with 3 different screens in hdmi nothing, it detects the resolution of the card but the screen remains black. I wanted to try with Linux (Ubuntu) to make the SD card and flash the memory emmc but I do not understand anything, your instructions on the wiki is for specialized sites confirmed, it's totally unreachable . Your user guide for linux is really dedicated to people who master the linux terminal to perfection. I have only errors, nothing happens as in the tutorial. For example, nothing here is lost: unzip Linux_Upgrade_Tool_xxxx.zip  
  1. cd Linux_UpgradeTool_xxxx
  2. sudo mv upgrade_tool / usr / local / bin
  3. sudo chown root: root / usr / local / bin / upgrade_tool
Copy the code

I downloaded Download Linux_Upgrade_Tool(Android8.1 need Linux_Upgrade_Tool_for_android8.1), and install it to host filesystem:

and it arrived in my default ubuntu download folder but its commands are incomplete, how to indicate the right paths and what to put as a version to the palce of all its xxxx? I put the version I downloaded but nothing happens, probably I did not put the right way in the command, but I come from Windows, I do not know anything about ubuntu and linux. I'm 2 fingers to give up and make a reason for my card, I can not even sell it because it works more. it's my worst christmas since a long time.

anyway I do not see how the linux system will change anything in relation to windows to flash the rk3399 the problem is not the computer but the card, why it does not boot with the card, it's not logical in my opinion something is broken.

I followed this tutorial for windows and linux, but nothing windows is dead Linux is out of my reach, franchise who wrote this tutorial should really stop drinking alcohol and address the customer as a normal people and not like NASA engineers.

http://wiki.t-firefly.com/en/Firefly-RK3399/flash-image.html

Author: navigatoria    Time: 12/29/2018 02:48
You can make me a tutorial for the Linux please, but a specific tutorial or I will not have to follow step by step what to do. This is my only hope, after I give up.
Author: penguin    Time: 12/29/2018 17:18
Maybe the simplest way to use the serial adapter with SD card boot to detect the real culprint.

If the eMMC storage is confirmed to be broken, you can contact our service for warranty.
Author: navigatoria    Time: 12/29/2018 19:49
Hi Penguin, I will try this option, if it does not work, I will contact customer service to see what we can do. It will be a pity to throw a brand new card.
Author: navigatoria    Time: 1/4/2019 01:34
Last edited by navigatoria In 1/4/2019 01:36 Editor

Hello and happy new year 2019!

Good I ordered today the USB to UART Module (CP2104) official, with $ 30 shipping cost by DHL I hope the customs are not going to ask again $ 30 of customs clearance fee. I also hope that with this USB to UART I will finally be able to run this card because it is unusable. I just have to wait for the shipment from China to France and cross your fingers so that everything goes well. Maybe 2019 will bring me luck with this card.

This is my last hope, if it does not work with that, is that the memory emmc is dead, we'll see.




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