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
  TPM module for rockpro64 misha64 0 891 12-03-2024, 06:19 PM
Last Post: misha64
  ROCKPro64 Battery Power Supply hoarfrosty 12 5,547 04-01-2024, 10:24 PM
Last Post: nano2
  Powering on the Rockpro64 JPT223 1 1,603 09-24-2023, 12:23 PM
Last Post: hoarfrosty
  ROCKPro64 with 16 ports SATA controller ZeblodS 19 31,862 12-18-2022, 06:25 PM
Last Post: heyghoge
  Using RPI hat on RockPro64? misterc 0 1,345 12-16-2022, 02:05 PM
Last Post: misterc
  GPIO on the RockPro64 - all pins high? colinmarc 2 2,691 11-18-2022, 10:20 AM
Last Post: colinmarc
  ROCKPro64 DOA ajtravis 8 9,360 11-08-2022, 03:40 AM
Last Post: ajtravis
  RockPro64 not booting up mvicha@gmail.com 0 1,693 09-19-2022, 07:35 AM
Last Post: mvicha@gmail.com
  GPIO Expander HAT for ROCKPro64 and Quartz64 CounterPillow 7 7,625 07-18-2022, 10:05 PM
Last Post: zer0sig
  RockPro64 premium aluminium casing justwantin 2 3,206 05-27-2022, 06:51 PM
Last Post: justwantin

Forum Jump:


Users browsing this thread: 2 Guest(s)