Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Unable to use emmc drive

66

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
66

Unable to use emmc drive

Posted at 12/9/2018 23:23:43      View:3476 | Replies:3        Print      Only Author   [Copy Link] 1#
Hi, folks.
I am now unable to boot from emmc drive.   Did clean it with blkdiscard /dev/mmcblk1.   I am unable to flash all firmware images with upgrade_tool (using debian 18.04 host) through usb-c cable.  The error messages are "Test Device Fail"  and "Creating Comm Object failed!" when using "upgrade_tool uf Firefly-RK3399_LinuxSDK_xubuntu16.04_20181011.img".   I only able to boot from the Firefly-rk3399_xubuntu1604_SD_201705151725.img.   This is getting frustrating.  The documentation will not help in this case.

Is it somehow  possible to flash the emmc drive with or without upgrade_tool?
Reply

Use props Report

1395

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1395
Posted at 12/10/2018 15:31:38        Only Author  2#
Try to dd  Firefly-rk3399_xubuntu1604_SD_201705151725.img directly to /dev/mmcblk1 . It might work.

Please try another USB port in your PC for upgrade_tool to work. In my case, I often find the USB 3.0 port
has more luck than the USB 2.0 port. YMMV.

Did you also try to flash the firmware to eMMC in MaskRom mode? (But if you clear the eMMC, it should go
to that mode. In case of something wrong, you can follow the instructions in the Wiki to force into MaskRom
mode. )
Reply

Use props Report

1395

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1395
Posted at 12/11/2018 17:36:38        Only Author  3#
Seems you have found the solution: start with sd boot and wipe eMMC
Reply

Use props Report

66

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
66
Posted at 12/12/2018 02:12:58        Only Author  4#
penguin Posted at 12/11/2018 17:36
Seems you have found the solution: start with sd boot and wipe eMMC

@penguin That is exactly what i did.   Got the firefly SD image from 2017 and did use etcher to put in on SD.   Then I could boot firefly rk3399 and wipe out emmc drive and make new ext4 file system.   Thanks for your advice.
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