RockPro64 has bad Memory (Software sogfaults and kernel panics)
#17
Well, another issue here could be bad DRAM clocks. As far as I know, there is a blob in u-boot (or is it open?) that does the RAM training. If this does not work out correctly, your RP64 might run with wrong timings, resulting in these errors. To quote some dated u-boot docs:

Quote:The most frequent cause of problems when porting U-Boot to new
hardware, or when using a sloppy port on some board, is memory errors.
In most cases these are not caused by failing hardware, but by
incorrect initialization of the memory controller.  So it appears to
be a good idea to always test if the memory is working correctly,
before looking for any other potential causes of any problems.

Source: https://gitlab.denx.de/u-boot/u-boot/-/b...emory-test

I am not sure how to check the current RAM clock settings, but it might be worth to compare them between your boards.

With that being said, it's common for DRAMs become defunct over time. If you are out of warranty, replacing the DRAMs is not easy as they are soldered. However, you could try to map out the damaged areas using badmem as described here:

https://web.archive.org/web/201408061750...mory-howto

Also, it would be better to run memtester directly from u-boot without booting a whole OS like Linux as you could test much more memory this way. It seems like there is an option in u-boot for doing this (haven't tried, but sounds interesting). Again, see this document in u-boot:

https://gitlab.denx.de/u-boot/u-boot/-/b...emory-test
  Reply


Messages In This Thread
RE: RockPro64 has bad Memory (Software sogfaults and kernel panics) - by kuleszdl - 01-09-2021, 05:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Powering on the Rockpro64 JPT223 1 826 09-24-2023, 12:23 PM
Last Post: hoarfrosty
  ROCKPro64 Battery Power Supply hoarfrosty 11 1,627 09-23-2023, 04:17 PM
Last Post: hoarfrosty
  ROCKPro64 with 16 ports SATA controller ZeblodS 19 25,258 12-18-2022, 06:25 PM
Last Post: heyghoge
  Using RPI hat on RockPro64? misterc 0 798 12-16-2022, 02:05 PM
Last Post: misterc
  GPIO on the RockPro64 - all pins high? colinmarc 2 1,523 11-18-2022, 10:20 AM
Last Post: colinmarc
  ROCKPro64 DOA ajtravis 8 6,350 11-08-2022, 03:40 AM
Last Post: ajtravis
  RockPro64 not booting up mvicha@gmail.com 0 1,091 09-19-2022, 07:35 AM
Last Post: mvicha@gmail.com
  GPIO Expander HAT for ROCKPro64 and Quartz64 CounterPillow 7 5,188 07-18-2022, 10:05 PM
Last Post: zer0sig
  RockPro64 premium aluminium casing justwantin 2 2,071 05-27-2022, 06:51 PM
Last Post: justwantin
  charging 3 rockpro64 from single source rpt312 1 1,664 05-16-2022, 02:34 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)