|
【General】
Upgrade Exception of RK3566/RK3568
Posted at 7/26/2021 15:27:03
View:8763
|
Replies:1
Print
Only Author
[Copy Link]
1#
Last edited by zyk In 7/28/2021 17:10 Editor
If the board RK3566/RK3568 have both Nor Flash and EMMC storage media, and we upgrading firmware miss some steps, it may cause some exceptions such as system failed to start normally
The following summarizes some exceptions and handling methods for reference:
Download Firmware Fail
![](https://dev.t-firefly.com/data/attachment/forum/202107/14/192943qckyqo7ca77vcmv7.png)
R: Without switching storage media to EMMC, the firmware is directly upgraded. At this time, the firmware is burned into Nor Flash. The capacity of Nor Flash cannot load a complete firmware with a size of 1GB +, so it will fail. In case of upgrading failure, it is recommended to click EraseFlash to erase to prevent entering Nor Flash after restart
![](https://dev.t-firefly.com/data/attachment/forum/202107/22/145354aoejyrpymeg8m0qj.png)
S: Refer to steps of wiki https://wiki.t-firefly.com/en/Co ... are_with_flash.html
List Storage Fail
![](https://dev.t-firefly.com/data/attachment/forum/202107/14/193006m4cek2s1cqq4wkju.png)
R: Without downloading MiniLoaderAll.bin , and directly click to read the storage list. A typical step is missing,
S:
1. downloading MiniLoaderAll.bin, we could get it in this link https://www.t-firefly.com/share/ ... 2084e383074ada.html
2. Follow the steps to download MiniLoaderAll.bin to the boot column of the tool, and then click to read the storage list
![](https://dev.t-firefly.com/data/attachment/forum/202107/14/193025hsppmj1eljmpomre.png)
Click Download Exception
![](https://dev.t-firefly.com/data/attachment/forum/202107/14/193045la8hebefflplepbl.png)
![](https://dev.t-firefly.com/data/attachment/forum/202107/14/193114lqaglm53315vgi6f.png)
R:
1. There is a problem of MiniLoaderAll.bin that we got
2. Downloaded MiniLoaderAll.bin repeatedly
S: Download MiniLoaderAll.bin again. After the boot column is downloaded successfully, there is no need to click download repeatedly
System Failed to Start Normally
R: System boot from Nor Flash, check the log "Bootdev(atags): mtd 2".
S:
1. erase Nor flash directly in this uboot mode
- => mtd erase nor0
- Erasing 0x00000000 ... 0x01ffffff (8192 eraseblock(s))
- => reboot
Copy the code
2. Enter maskrom mode and erase Nor flash by AndroidTool(RKdevTool), refer to https://wiki.t-firefly.com/en/Co ... are_with_flash.html
![](https://dev.t-firefly.com/data/attachment/forum/202107/15/084702xfmmm5ca1ztf70gg.png)
There are two situations when we entering maskrom mode, one EMMC is empty, another one EMMC has burned into a firmware
If EMMC is empty, we could refer to chapter 《MaskRom Mode》 to short Nor FLash circuit to enter maskrom
AIO-3568J: https://wiki.t-firefly.com/en/Core-3568J/04-maskrom_mode.html
ROC-RK3568-PC: https://wiki.t-firefly.com/en/ROC-RK3568-PC/04-maskrom_mode.html
ROC-RK3566-PC: https://wiki.t-firefly.com/en/ROC-RK3566-PC/04-maskrom_mode.html
If EMMC has burned into a firmware, the system will boot from EMMC to normal mode after short circuit Nor Flash. Each time we want to boot from EMMC to normal mode, we must short Nor Flash, it's cumbersome and inconformity. So we need to go back maskrom mode to erase Nor Flash, there are two ways for us to enter maskrom:
①Short circuit Nor Flash and EMMC at the same time
②When shorting circuit of Nor Flash, press ctrl+c to enter uboot command line mode during EMMC startup. and then enter command rbrom to go back maskrom mode
- U-Boot 2017.09 (Jul 07 2021 - 10:03:57 +0800)
- ...
- dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0
- Bootdev(atags): mmc 0
- MMC0: HS200, 200Mhz
- ...
- pclk_pmu 100000 KHz
- Net: eth1: ethernet@fe010000, eth0: ethernet@fe2a0000
- Hit key to stop autoboot('CTRL+C'): 0
- => <INTERRUPT>
- => <INTERRUPT>
- => rbrom
Copy the code "Bootdev(atags): mmc 0" means system boot from EMMC
Trapped in "Starting kernel"
R: It may be caused by improper configuration of the serial port debug module or software used. The system may have been up. At this time, we can connect the screen like HDMI to see whether there is a display or whether ADB can be used normally
S: Try to use official serial port module https://www.firefly.store/goods.php?id=32
|
|