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
  Powering on the Rockpro64 JPT223 1 812 09-24-2023, 12:23 PM
Last Post: hoarfrosty
  ROCKPro64 Battery Power Supply hoarfrosty 11 1,597 09-23-2023, 04:17 PM
Last Post: hoarfrosty
  ROCKPro64 with 16 ports SATA controller ZeblodS 19 25,157 12-18-2022, 06:25 PM
Last Post: heyghoge
  Using RPI hat on RockPro64? misterc 0 785 12-16-2022, 02:05 PM
Last Post: misterc
  GPIO on the RockPro64 - all pins high? colinmarc 2 1,500 11-18-2022, 10:20 AM
Last Post: colinmarc
  ROCKPro64 DOA ajtravis 8 6,309 11-08-2022, 03:40 AM
Last Post: ajtravis
  RockPro64 not booting up mvicha@gmail.com 0 1,076 09-19-2022, 07:35 AM
Last Post: mvicha@gmail.com
  GPIO Expander HAT for ROCKPro64 and Quartz64 CounterPillow 7 5,152 07-18-2022, 10:05 PM
Last Post: zer0sig
  RockPro64 premium aluminium casing justwantin 2 2,056 05-27-2022, 06:51 PM
Last Post: justwantin
  charging 3 rockpro64 from single source rpt312 1 1,654 05-16-2022, 02:34 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)