RockPro64 has bad Memory (Software sogfaults and kernel panics)
#21
Please refer to the following.
https://forum.pine64.org/showthread.php?tid=7387

Since the recent kernel does not support "dmc", it is better to assume that the report about "dmc" in the above reference is not applicable.
Therefore, we have to deal with it on the "u-boot" side.

Fortunately, my own "rockpro64" doesn't have any memory problems, so I can't check its effect.
However, I have experienced the same problem at "rock64".
So, it is not surprising that some "rockpro64" have the same problem.

The following is an example of what I tried with "manjaro" for reference.
The memory clock is originally 800MHz, but I lowered it to 400MHz.


Memory-clock = 800MHz (Original image)
Code:
U-Boot TPL 2021.07-2 (Jul 28 2021 - 21:21:23)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2021.07-2 (Jul 28 2021 - 21:21:23 +0000)
Trying to boot from MMC2
....


Memory-clock = 400MHz (Modify the image by binary editor)
Code:
U-Boot TPL 2021.07-2 (Jul 28 2021 - 21:21:23)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 400000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2021.07-2 (Jul 28 2021 - 21:21:23 +0000)
Trying to boot from MMC2


U-Boot 2021.07-2 (Jul 28 2021 - 21:21:23 +0000) Manjaro ARM

SoC: Rockchip rk3399
Reset cause: RST
Model: Pine64 RockPro64 v2.1
DRAM:  3.9 GiB
PMIC:  RK808
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from SPIFlash... SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   vidconsole
Err:   vidconsole
Model: Pine64 RockPro64 v2.1
Net:   eth0: ethernet@fe300000
Hit any key to stop autoboot:  0
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
250 bytes read in 6 ms (40 KiB/s)
1:      Manjaro ARM
Retrieving file: /initramfs-linux.img
8348838 bytes read in 362 ms (22 MiB/s)
Retrieving file: /Image
31468032 bytes read in 1357 ms (22.1 MiB/s)
append: initrd=/initramfs-linux.img console=tty3 console=ttyS2,1500000 root=PARTUUID=3566f862-1b77-4f70-abdc-f7cac95c5ed9 rw rootwait quiet splash plymouth.ignore-serial-consoles
Retrieving file: /dtbs/rockchip/rk3399-rockpro64.dtb
78425 bytes read in 12 ms (6.2 MiB/s)
Moving Image from 0x2080000 to 0x2200000, end=40e0000
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to f172d000, end f1f234a6 ... OK
   Loading Device Tree to 00000000f1716000, end 00000000f172c258 ... OK

Starting kernel ...
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rockpro64 Sata Card kills itself jerry110 31 16,377 06-21-2021, 05:19 AM
Last Post: hyc
  rockpro64 13 megapixel camera Aycaramba 8 4,841 05-18-2021, 05:40 AM
Last Post: VictorSchonk
  Cap Error or Bad Memory GuyNoIRQ 5 1,172 04-22-2021, 08:16 PM
Last Post: t4_4t
  zfs on rockpro64 - any dual nvme PCI adapter for software raid ? romadr 0 431 04-22-2021, 02:59 PM
Last Post: romadr
  Industrial memory card m.ekstrom 1 680 03-23-2021, 05:55 AM
Last Post: barray
Question 1U Rackmount Case for ROCKPro64 tuaris 3 1,259 02-18-2021, 08:09 PM
Last Post: TRS-80
  Carte PCIe bloquant le démarrage du Noyau / PCIe card blocking Kernel boot dml-pc 4 1,227 02-17-2021, 11:35 AM
Last Post: dml-pc
  DHT22 on Rockpro64 {-DesT-} 0 648 02-08-2021, 01:20 PM
Last Post: {-DesT-}
  ROCKPro64 with 16 ports SATA controller ZeblodS 16 11,871 01-21-2021, 08:59 PM
Last Post: Film Gab
  case for RockPro64 + PCI-E M.2 NVMe Card? AndyOfLinux 9 5,637 01-05-2021, 05:05 PM
Last Post: kuleszdl

Forum Jump:


Users browsing this thread: 1 Guest(s)