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 DOA ajtravis 7 1,978 07-19-2022, 02:45 AM
Last Post: ajtravis
  GPIO Expander HAT for ROCKPro64 and Quartz64 CounterPillow 7 1,544 07-18-2022, 10:05 PM
Last Post: zer0sig
  RockPro64 premium aluminium casing justwantin 2 336 05-27-2022, 06:51 PM
Last Post: justwantin
  charging 3 rockpro64 from single source rpt312 1 317 05-16-2022, 02:34 AM
Last Post: dukla2000
  help or suggestions removing RockPro64 Playbox please? jahway603 2 559 03-22-2022, 12:17 PM
Last Post: jahway603
  rockpro64 13 megapixel camera Aycaramba 9 8,234 01-24-2022, 02:47 PM
Last Post: solbs
  RockPro64 doesn't boot when PCIe to M.2 adapter is installed Cerberus 3 1,395 11-27-2021, 11:38 PM
Last Post: Cerberus
  ROCKPro64 with 16 ports SATA controller ZeblodS 17 15,691 10-21-2021, 01:16 PM
Last Post: fieni
  Rockpro64 Sata Card kills itself jerry110 33 28,331 10-20-2021, 04:36 AM
Last Post: fieni
  Cap Error or Bad Memory GuyNoIRQ 5 3,060 04-22-2021, 08:16 PM
Last Post: t4_4t

Forum Jump:


Users browsing this thread: 1 Guest(s)