PINE64
RockPro64 has bad Memory (Software sogfaults and kernel panics) - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: RockPro64 Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=102)
+--- Thread: RockPro64 has bad Memory (Software sogfaults and kernel panics) (/showthread.php?tid=11714)

Pages: 1 2 3


RE: RockPro64 has bad Memory (Software sogfaults and kernel panics) - t4_4t - 08-04-2021

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 ...