This is a cache of https://discuss.96boards.org/t/cap-error-on-dram-channel-0/10979. It is a snapshot of the page at 2024-11-01T00:56:49.124+0000.
Cap error on DRAM channel 0 - Rock960 - 96Boards Forum

Cap error on DRAM channel 0

Board based on the Rockchip RK3399 - ARM Cortex-A72 Dual-core up to 1.8GHz + Cortex A53 Quad-core up to 1.4GHz

Hi, I’m using rock960c 2GB version.
When I boot, DRAM cap error on the channel 0 occurred while reading idbloader.img.
I tried both image of ubuntu and Debian image but the result was the same.
Also, after linux boots, the DRAM physical area recognizes 100MB.
I have two boards, both DRAM channel 0 occur cap error.
Do you know anything? I would appreciate it if you would give me some advice.

DDR Version 1.12 20180518
In
Channel 0: LPDDR4,50MHz
CS = 0
MR0=0x19
MR4=0x3
MR5=0x6
MR8=0x0
MR12=0x4D
MR14=0x4D
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0xFF
W FF != R
Cap error!
Channel 1: LPDDR4,50MHz
CS = 0
MR0=0x19
MR4=0x3
MR5=0x6
MR8=0x0
MR12=0x4D
MR14=0x4D
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0xFF
Bus Width=32 Col=10 Bank=8 Row=14 CS=1 Die Bus-Width=16 Size=512MB
no stride
channel 1
CS = 0
MR0=0x19
MR4=0x3
MR5=0x6
MR8=0x0
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0xFF
channel 1 training pass!
change freq to 400MHz 0,1
channel 1
CS = 0
MR0=0x19
MR4=0x3
MR5=0x6
MR8=0x0
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0xFF
channel 1 training pass!
change freq to 800MHz 1,0
ch 0 ddrconfig = 0x101, ddrsize = 0x2020
pmugrf_os_reg[2] = 0x2241E000, stride = 0x18
OUT
Boot1: 2018-04-08, version: 1.12
CPUId = 0x0
ChipType = 0x10, 223
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
mmc0:cmd5,32
SdmmcInit=0 0
BootCapSize=0
UserCapSize=15193MB
FwPartOffset=2000 , 0
StorageInit ok = 67110
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa13b0
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):65aa5ce
NOTICE:  BL31: Built : 10:47:37, Jun 19 2018
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(1151): pd status 3e
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-g75e4984-dirty (Mar 07 2021 - 16:21:18 +0900)

Model: Rockchip RK3399 Evaluation Board
DRAM:  126 MiB
MMC:   dwmmc@fe320000: 1, sdhci@fe330000: 0
Card did not respond to voltage select!
mmc_init: -95, time 20
*** Warning - No block device, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Rockchip RK3399 Evaluation Board
Pcie:  Enable Power
Net:   No ethernet found.
Hit any key to stop autoboot:  0
=>
=>
=>
               :
            ( cut )
               :
               :
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

ubuntu 16.04.3 LTS rock960 ttyFIQ0

rock960 login: root (automatic login)

Last login: Thu Feb 11 16:28:03 UTC 2016 on ttyS4
[    6.725990] CONFIG-ERROR) dhd_conf_set_bufiovar: country setting failed -2
Welcome to ubuntu 16.04.3 LTS (GNU/Linux 4.4.154 aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
root@rock960:~#
root@rock960:~#
root@rock960:~# free
              total        used        free      shared  buff/cache   available
Mem:          92484       27292        6028        4940       59164       41440
Swap:             0           0           0
root@rock960:~#