Rock PI 4C boot error, little chance of successful boot, serial port print as follows,and then it stops:
ROCK PI 4C Boot error
boot what from where?
The power adapter supports qc3.0 5V 9V 12V
TF card ,armbian and rockpi4c_ubuntu_focal_minimal_arm64_20200820_1207-gpt.img
Send the full serial console log, especially the dram version print at the beginning.
This is all the serial output, and then there is no output
Rockpi4c was used_ ubuntu_ focal_ minimal_ arm64_ 20200820_ 1207- gpt.img
OPTIONS: I18n
Compiled on Sep 3 2020, 08:36:33.
Port /dev/ttyUSB0, 10:42:50
Press CTRL-A Z for help on special keys
ÿDDR Version 1.20 20190314
In
channel 0
CS = 0
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
I downloaded another image that supports rock PI 4C today
(rockpi4c_ debian_ stretch_ desktop_ arm64_ 20200716_ 0647- gpt.img)
Miraculously, it works and
The serial output is as follows:
ÛÚýÿ?ÿDDR Version 1.24 20191016
In
channel 0
CS = 0
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 416MHz 0,1
Channel 0: LPTDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
Channel 1: LPDDR4,416MHz
W FF != R
Cap error!
no stride
channel 0
CS = 0
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
]R19=0x0
MR24=ç
�cha·nel$0 tvaining pass!
channel 0, cs 0, advanced training done
channel 0, cs 1, advanced training done
change freq tï 856MHz 1,8
cx 0 ddrconfig = 0|101, ddrsize^ò0|202^x�pmugrf_os_reg[2] = 0x1000EAA1, stride 7
ddr_set_rate to 328MHZ
ddr_set_rate to 666MHZ
ddr_set_rate to 416MHZ, ctl_index 0
ddr_set_rate to 856MHZ, ctl_index 1
support 416 856 328 666 MHz, current 856MHz
OUT
Boot1: 2019-03-14, version: 1.19
CPUId = 0x0
ChipType = 0x10, 250
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x180°0
mmc: ERROR: Card did not råspond to voltage select!
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to volôage select!
emmc reinit
aÛmc: ERROR: Card did not respond to voìtage select!
SdmmcInit=2 1
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=121942MB
FwPartOffset=2000 , 0
StorageInit ok = 58854
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecuruInit0reat PrA:00xc04-ÊSecureInmt read PrA:00~1004
SecureInit read PBA: 0x1404
*SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0-
atags_set_bootdev: ret:(0)
GPT part: 0, name: loader1, start:0x40, size:2x1f41
GÐT part: =, naÛe: rÈ 3È�loader2, start:0x4000,?size;0x2000
�GPT part: 3, name: , boot¬ staòt:0x8000, size:0z80000í
GPT`partº 4,f
no find partétionºuboot.
LoadTrust Addr:0x4000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
hdr 0000000003380880 + 0x0:0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x,
Load OK, adgr=0x200004, size=0xf162c
RunbL31 0x10000
NOTICE: BL31: v1.3(debug):8e7a845
NOTICE: BM31:0Built : 96:13:46,0Apr 17 2019
NOTICE: BL31: Rockchip release version: v1.1
INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 0
INFO: plat_rockchip_pmu_init(1181): pd status 3e
INFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE iniK
áINFo: !BL31: Prupariog for EL; exiÝ to normal worldt
INFO: Entry point address =80x20ó�00�
INFO: SPSR = 0x3c9
ú
U-Boot 2017.09-2694-g04d66f4b45 (Jun 28 2020 - 15:01:20 +0000), Build: jenkins-5
Model: Radxa ROCK Pi 4C
PreSerial: 2
DRAM: 2 GiB
�Sysmem: initfset is: 7dbde>00
I2c speed: 400?00Hz
PMIC: RK>08
�MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0
Using default environment
Model: Radxa ÒOCK Pi 4C
Bootdew(atags): mmc 1
PartType: EFI
get part mióc fail -1
boov mode: None
init_resïurce_list: failed tï get resource |art, ret=-1
Can’t find file:logo.bmp
failed to display uboot logo
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 24000 KHz, init 24000 KHz, kernel 0N/A)
aplll 816000 KHz
apllb 24000 KHz
dpll 800000 KHz
cpll 24000 KHz
gpll 800000 KHz
npll 600000 KHz
vpll 24000 KHz
aclk_perihp 133333 KHz
hclk_perihp 66666 KHz
pclk_perihp 33333 KHz
aclk_perilp0 266666 KHz
hclk_perilp0 88888 KHz
pclk_perilp0 44444 KHz
hclk_perilp1 100000 KHz
pclk_perilp1 50000 KHz
Net: eth0: ethernet@fe300000
Hét key to {top qutoboot(‘CTRL+C’): � 0
Device 0: unknown device
switch to partitio·s #0- OK
JScanning mmc 1:4…ce
Found /extlinux/extlinux.conf
pxefilu_addr_strÖ��ÖÖ�ýbootfile =8/extlmnux/gxtlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
598 bytes#reaä in 6 ms (96.7àKiB/s)
select kernel
1: kernel-4.4.154-111-rockchip-g39b306a41b2d
2: kernel-4.4.154-95-rockchip-gd2ab1f26e1b3
Enter choice: Retrieving file: /hw_intfc.conf
reading /hw_intfc.conf
1807 bytes read in 4 ms (440.4 KiB/s)
dtoverlay number: 0, [lÛe:/overlays/conso[¶Ëon-ttyS2.dtbo´
dtoverl numcer: 1, name:/overlays/spi1-flash.dtbo
hw_conf.valid = 1
hw_conf.pwm0 = 0
hw_conf.pwm1 = 0
hw_conf.uart2 = 0
hw_conf.uart4 = 0
hw_conf.spi1 = 1
hw_conf.spi2 = 0Í
hw_conf.i2c2 = 0
hw_conf.i2c6 =80
hw_conf.i2c7 = 0
hw_conv.dts_overlay_count>= 2
hw_coîf.dts_overlay[0] = /overlays/console-on-ttyS2.dtbo
hw_conf.dts_overlay[1] = /overlays/spi1-flash.dtbo
1: kernel-4.4.154-111-rockchip-g39b306a41b2d
Retrieving file: /vmlinuz-4.4.154-111-rockchip-g39b306a41b2d
zeadiÛ6È/vmlinuz-4.4.154-111-rockchip-g39b306a41b2d
20371464 bytes read in 869 ms (22.4 MiB/s)
append: earlyprintk console=ttyFIQ0,1500000n8 init=/sbin/init root=PARTUUID=b924
Retrieving file: /dtbw/4.4.154-111-rockchip-g39b306a41b2l/rockchip/rk3399-rock-b
�94870(z}tesin 2k�9ó.Í Mib/s©�ó9b306a41b3d/rockchip/rk³399-rock-pi-4c.dtb
f6Ý addr 0>0000000830000?
fdt m}gic numbår edfe0dd0
�RetrieviÛ6Ífile:</overlays/consolu-oî-ttyS2.dtro
reading /overlays/console-on-ttyS2.dtbo
774 bytes read in 7 ms (107.4 KiB/s)
overlay dtb(0x0000000008200000) is valid
fdt_overlay_apply 0000000008300000 000000000820>000
merge_dts_overlay
Retrieving file: /overlays/spi1-flash.dtbo
reading /overlays/spi1-flash.dtbo
765 bytes read in 6 ms (124 KiB/s)
overlay dtb(0x0000000008200000) is valid
fdt_overlay_apply 0000000008300000 0000000008200000
Flattened Device Tree blob at 08300000
Booting using the fdt blob at 0x8300000
êAdding bgnk: <x002800000- 0x80000<00 (size: 0x7fe000°0)71dcsfff … O[
Total: 7632.995 ms
Starting kernel …
Starting kernel …
[ 0.000000] Booting Linux on physical CPU 0xÖ�á[" 0.000000] Initializinç ct
�[ < 0.00000°] Inmtializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.154-111-rockchip-g39b306a41b2d (root@ac5b128940
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@000B
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] pscé: Using standard PSCI v0.2 fwnction IDs
�[ <0.000000](PERCTU: Eobedded 21�pages/cpu @ffffffc07fee9�00 s46248,r8192 d36
[ " 0.080000] Bui|t 1 zonelmsts on Zooe order, mobility grouping on. Total ~a2
[ 8 0.0<0000_ Keroel c[[[lÈþine: eárlyprintk consone=ttyFIQ0,1500°00n8 init=Ùn4
[ 0.000400] ^ID hash table&entries:`4096.(order: s, 32768 bytes9
[ck�;33m OO ] SwarteÙ /etc/rc.¶ocal Com~atibility.
[ 9®163969] .local[6¸1]: , pregix: SDIO_ID=.
[ 8 9.165372] rc.local[681]: pid:vid : 02d0:a9bf
[ 9.166342] rc.local[681]: found device pid:vid : 02d0:a9bf
[ 9.167186] rc.local[681]: wifi detectd return ret:0
[ 9.168065] rc.local[681]: SDIO WIFI identify sucess
[ 9.169000] rc.local[681]: check_wifi_chip_type_string: AP6255
� OK ](Stqrted8Gett}°on vty1.annot create “/data/wifi_chip”:0No sush¼fole os [
[¼ ° 9.171382]0rc.lol[681]: wifibt_load_triver insmo/sys·ÙÛ/lib/modules/bcmd o
[ <ò 9.172781]prc.local[681]: wifibt_load_friver insmod /system/lib/modules/bcm.
[ OK ] Reached target L[ 9.256110] cdn-dp fec00000.dp: [drm:cdn_dp_dpcd_re2
ogin Prompts.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphal Ioterface.
Startinw Updyte UWMP about8System R}nlevel Changes…
[ 9.272849] cdn-dp fec00000.dp: [drm:cdn_dp_dpcd_read] ERROR dpcd read fai2
[ 9.290Î90] cdn-dp fe{0000<.dp:>[drm:cdn_dp_dxcd_read]0URROR dpcd read fái2
[ OK ] Started Update UTMP about System Runlevel Changes.
[ 9.297484] tty_port_close_start: tty->count = 1 port count = 2.
[ 9.308001] cdn-dp fec:40æ6ÓÙ�6nÛ:cdn_dº_vpcd_read]8êERROr*0dpst reqd fail �
Debian GNU/Linux 9 linaro-alip ttyFIQ0
linaro-alip login: root (automatic login)
[ 9.323967] cdn-dp fec00000.dp: [drm:cdn_dp_dpcd_read] ERROR dpcd read fai2
[ 9.3399³Î] cdn-dp fec00000.dp: _drm:cdn_dp_dpcd_read] E~ROR dpcd read2¶Øi2
[ 9.345925] sdio_reset_comm():
[ 9.355874] cdn-dp fec00000.dp: [drm:cdn_dp_dpcd_read] ERROR dpcd read fai2
[ 9.362713] mmc_xost omc2:È¡us speed (slït 0)à= 40<000Hz (slot req 404000H{,)
û 9.373934] cdn-dp fec00000.dp: [drm:cdn_dp_dpcd_read] ERROR dpcd read fai2
I found a new problem. Rock PI 4C is 4G memory, but the system only displays 2GB. Why? Using (rockpi4c_ debian_ stretch_ desktop_ arm64_ 20200716_ 0647-gpt)
login as: linaro
linaro@192.168.1.5’s password:
Linux linaro-alip 4.4.154-111-rockchip-g39b306a41b2d #1 SMP Wed Jul 8 15:03:52 U TC 2020 aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jul 16 06:50:00 2020 from 192.168.1.85
linaro@linaro-alip:~$ free
total used free shared buff/cache available
Mem: 1972572 181176 1535712 26668 255684 1742208
Swap: 0 0 0
linaro@linaro-alip:~$ top
top - 06:56:13 up 8 min, 3 users, load average: 0.00, 0.04, 0.03
Tasks: 186 total, 1 running, 185 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.6 us, 0.6 sy, 0.0 ni, 98.2 id, 0.5 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 1972572 total, 1534736 free, 181048 used, 256788 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 1742356 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1028 linaro 20 0 8260 3388 2744 R 22.7 0.2 0:00.12 top
1 root 20 0 157764 6564 4888 S 0.0 0.3 0:03.28 systemd
Why ?
I guess memory channel 1 is wrong. I bought a bad board. ???
From the log so far, it should be indeed a defective unit. Please ask the distributor for RMA.
Thank you,
I’ve applied for a replacement.