Firefly开源社区

标题: 无法启动Firefly RK3399板子 [打印本页]

作者: monica    时间: 2021-3-2 16:00
标题: 无法启动Firefly RK3399板子
我购买了Firefly-rk3399,并且试图将操作系统从Android更新为Ubuntu,但现在无法启动。 通过USB-c连接或UART / USB连接在主机中看不到它。
我已在更新中附上了故障捕获信息,其中显示了与设备的最后一次通信。
要使此设备重新工作,需要采取什么步骤?
(我是美国客户,如果可以,请回复英文,谢谢)
作者: 895816513    时间: 2021-3-2 17:45
Please use this firmware.
https://drive.google.com/file/d/ ... yT/view?usp=sharing
作者: monica    时间: 2021-3-3 14:14
我的设备显示信息是如附件也是重新固件就可以了吗?

failure (1).jpg (73.54 KB, 下载次数: 140)

failure (1).jpg

作者: 895816513    时间: 2021-3-3 14:42
monica 发表于 2021-3-3 14:14
我的设备显示信息是如附件也是重新固件就可以了吗?

你先用那个固件,进入maskrom升级模式,升级看看能不能正常启动。怀疑你之前用错固件。
作者: 895816513    时间: 2021-3-3 14:44
参考
http://wiki.t-firefly.com/en/Firefly-RK3399/02-upgrade_table.html
作者: monica    时间: 2021-3-4 10:11
The firmware suggested was already tried. After being off for a couple
of days, it showed up in Maskrom mode this morning. I tried the firmware
from the link and it fails. Here is the screen capture of the results:
Please let me know what else I can do!
Thanks!See the attached

I'm attaching the image which might not have gotten through.The log file showed:11:18:53 452    RKDevTool v[link removed] start run11:20:37 913    Layer<1-3>:Download Boot Start11:20:41 757    Layer<1-3>:Download Boot Success11:20:41 759    Layer<1-3>:Wait For Maskrom Start11:20:42 227    Layer<1-3>:Wait For Maskrom Success11:20:42 231    Layer<1-3>:Test Device Start11:20:42 234    Layer<1-3>:Test Device Success11:20:42 238    Layer<1-3>:Check Chip Start11:20:42 241    Layer<1-3>: Check Chip Success11:20:42 244    Layer<1-3>:Get FlashInfo Start11:20:42 245    <LAYER 1-3> INFO:FlashInfo: 00 00 00 00 00 04 04 00 28 00 0011:20:42 247    <LAYER 1-3> INFO:GetFlashInfo-->Emmc storage.11:20:42 252    Layer<1-3>:Get FlashInfo Success11:20:42 255    Layer<1-3>:Prepare IDB Start11:20:42 256    <LAYER 1-3> ERROR:PrepareIDB-->No Found 1st Flash CS11:20:42 259    Error:Layer<1-3>:Prepare IDB FailAnd the UART output showed:DDR Version 1.22 20190506InChannel 0: DDR3, 800MHzBus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MBChannel 1: DDR3, 800MHzBus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB256B stridech 0 ddrconfig = 0x101, ddrsize = 0x2020ch 1 ddrconfig = 0x101, ddrsize = 0x2020pmugrf_os_reg[2] = 0x3AA17AA1, stride = 0xDOUTBoot1: 2019-03-14, version: 1.19CPUId = 0x0mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000mmc: ERROR: Card did not respond to voltage select!emmc reinitmmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000mmc: ERROR: Card did not respond to voltage select!emmc reinitmmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000mmc: ERROR: Card did not respond to voltage select!SdmmcInit=2 1UsbHook 57663powerOn 57746

mckekmhmfidljloh.png (277.24 KB, 下载次数: 135)

mckekmhmfidljloh.png

作者: 895816513    时间: 2021-3-4 10:53
You try to use the upgrade_tool tool to upgrade on the ubuntu system. Enter Maskrom mode, lsusb mode detects whether there is a usb device, first erase and then write the firmware program.
作者: monica    时间: 2021-3-5 09:47
I have tried the same process on Ubuntu! Also tried the rkdeveloptool to
erase it. Nothing has worked.
The documentation mentions RK3399_Android7.1_EraseIDB.7z but I cannot
find it to download. I have found a link to the Erase_IDB on the Baidu
site. But I cannot create a login and I cannot read the language. The
device will not load any firmware.
Here is the output from running the upgrade_tool on Linux:
gha@ubuntu:~/firefly-rk3399/u34/Linux_Upgrade_Tool/Linux_Upgrade_Tool$
sudo ./upgrade_tool ef FIREFLY-RK3399-UBUNTU18.04-GPT-20200714-1510.img
Program Data in /home/gha/.config/upgrade_tool
Loading loader...
Erase flash ok.
gha@ubuntu:~/firefly-rk3399/u34/Linux_Upgrade_Tool/Linux_Upgrade_Tool$
sudo ./upgrade_tool uf FIREFLY-RK3399-UBUNTU18.04-GPT-20200714-1510.img
Program Data in /home/gha/.config/upgrade_tool
Loading firmware...
Support Type:RK330C    FW Ver:8.1.40    FW Time:2020-07-14 15:11:41
Loader ver:1.19    Loader Time:2020-07-14 15:10:09
Prepare IDB Fail
Here is the serial UART Debug output during the above. Note: I have to
power off/on the RK3399  after the erase (EF) in order for the UF comand
to proceed to the IDB failure.
DDR Version 1.22 20190506
In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x2020
ch 1 ddrconfig = 0x101, ddrsize = 0x2020
pmugrf_os_reg[2] = 0x3AA17AA1, stride = 0xD
OUT
Boot1: 2019-03-14, version: 1.19
CPUId = 0x0
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
SdmmcInit=2 1
UsbHook 57794
powerOn 57875
DDR Version 1.22 20190506
In
soft reset
DDR Version 1.22 20190506
In
Channel
作者: 895816513    时间: 2021-3-5 10:33
Have you inserted the SD card? Please pull out the SD card and try again.
作者: monica    时间: 2021-3-5 12:00

I have tried the same process on Ubuntu! Also tried the rkdeveloptool to
erase it. Nothing has worked.
The documentation mentions RK3399_Android7.1_EraseIDB.7z but I cannot
find it to download. I have found a link to the Erase_IDB on the Baidu
site
作者: 895816513    时间: 2021-3-5 15:24
Look at your upgrade tool version.

jincheng@jincheng-System-Product-Name:/tmp/kk$ upgrade_tool -v
Not found config.ini
Program Data in /usr/local/bin
Upgrade Tool v1.38
作者: wx_peter_7682    时间: 2021-3-5 19:35
如果换V1.38还是刷不成功, 那就建议先擦除一下flash,断电重启后,再重新刷
作者: monica    时间: 2021-3-9 18:23
I was finally able to download the erase image. But, it does not fix the
problem. After running the erase, all the updates still fail with
"Prepare IDB". I tried all of this using Ubuntu 18.04 and Windows. On
Linux, I tried it with various versions of upgrade_tool and rkdeveloptool.
Here the UART output of the failure:
DDR Version 1.17 20190115
In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x2020
ch 1 ddrconfig = 0x101, ddrsize = 0x2020
pmugrf_os_reg[2] = 0x3AA17AA1, stride = 0xD
OUT
Boot1: 2017-06-09, version: 1.09
CPUId = 0x0
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
SdmmcInit=2 1
UsbHook 457454
powerOn 457576
Here is the erase working:
Here is the Upgrade Firmware failing:
And, here is the download image attempt failing:


, Android no longer loads onto the device. All updates fail with IDB problems. I have not found any tools which will clear the error and allow anything to be stored into the EMMC.

1.png (151.17 KB, 下载次数: 77)

1.png

2.png (336.38 KB, 下载次数: 75)

2.png

作者: monica    时间: 2021-3-10 10:46
I've tried a different cable. Fails the same. SD card also fails.  It is
impossible for the card to cause the errors with volta
DDR Version 1.17 20190115
In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x2020
ch 1 ddrconfig = 0x101, ddrsize = 0x2020
pmugrf_os_reg[2] = 0x3AA17AA1, stride = 0xD
OUT
Boot1: 2017-06-09, version: 1.09
CPUId = 0x0
*mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000**
**mmc: ERROR: Card did not respond to voltage select!*
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
SdmmcInit=2 1
UsbHook 457919
powerOn 458040
Here is the picture of the eMMC:

Firefly RK3399 eMMC 2.png (899.35 KB, 下载次数: 70)

Firefly RK3399 eMMC 2.png

作者: hiction    时间: 2021-6-24 14:42
老外 中文写的挺好  




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1