What is the highest usable DRAM clock speed for you?
552
29.17%
7
564
0%
0
576
12.50%
3
588
8.33%
2
600
4.17%
1
612
8.33%
2
624
37.50%
9
24 vote(s)
* You voted for this item. [Show Results]

[Volunteer needed]Too high DRAM clock speed MAY be causing you random crashes/freezes
#1
Lightbulb 
Hello all,

after having faced crashes on the latest (yet to be publicly released) debian+phosh image,
which troubled only me and none of the other team members, I have found out that the issue
had only occured after the patch increasing dram frequency had been incorporated.
pmOS had this patch for a while now and I remember when first getting the pinephone it also crashed on me.
At that time I thought that the build may not have been mature yet, but now it dawned on me that this was probably
also related to dram frequency.

So I have built a few different uboot images with varying frequencies (from 492MHz to 624Mhz) to see how high I can go,
while still having a reliable system.
I figured I can't be the only one having this problem, maybe someone else had the same problem without realizing what exactly the problem was, so thats why I'm calling for willing volunteers to try out different clock speeds and see if they have any problems.

TL;DR:
Had problems with crashes; turns out it had to do with dram clock speeds
Feel free to download my u-boot binaries or built them yourself and please report your findings.
Personally I had a stable system with 588MHz, but not with 600MHz!

LAST UPDATE: 26.07.2020
Flashable binaries (should work on all distros?)

https://fortysixandtwo.eu/upload/pinepho...pl-492.bin
https://fortysixandtwo.eu/upload/pinepho...pl-504.bin
https://fortysixandtwo.eu/upload/pinepho...pl-516.bin
https://fortysixandtwo.eu/upload/pinepho...pl-528.bin
https://fortysixandtwo.eu/upload/pinepho...pl-540.bin
https://fortysixandtwo.eu/upload/pinepho...pl-552.bin
https://fortysixandtwo.eu/upload/pinepho...pl-564.bin
https://fortysixandtwo.eu/upload/pinepho...pl-576.bin
https://fortysixandtwo.eu/upload/pinepho...pl-588.bin
https://fortysixandtwo.eu/upload/pinepho...pl-600.bin
https://fortysixandtwo.eu/upload/pinepho...pl-612.bin
https://fortysixandtwo.eu/upload/pinepho...pl-624.bin

Flashing the u-boot binaries onto your device (as root) - make sure to use the correct device (jumpdrive exposes both eMMC and the SD):

Code:
# dd if=u-boot-sunxi-with-spl-XXX.bin of=/dev/sdX bs=8k seek=1
This should work independent of which distro you are currently using.


Debian packages

https://fortysixandtwo.eu/upload/pinepho..._arm64.deb
https://fortysixandtwo.eu/upload/pinepho..._arm64.deb
https://fortysixandtwo.eu/upload/pinepho..._arm64.deb
https://fortysixandtwo.eu/upload/pinepho..._arm64.deb
https://fortysixandtwo.eu/upload/pinepho..._arm64.deb
https://fortysixandtwo.eu/upload/pinepho..._arm64.deb
https://fortysixandtwo.eu/upload/pinepho..._arm64.deb
https://fortysixandtwo.eu/upload/pinepho..._arm64.deb
https://fortysixandtwo.eu/upload/pinepho..._arm64.deb
https://fortysixandtwo.eu/upload/pinepho..._arm64.deb
https://fortysixandtwo.eu/upload/pinepho..._arm64.deb
https://fortysixandtwo.eu/upload/pinepho..._arm64.deb

As a debian package it will only work on debian based distros.

To install it you should
  • download the .deb
  • install with dpkg -i
  • run u-boot-install-pinephone

I am interested to see whether this issue is widespread or if I just had bad luck in the silicon lottery Smile


PS: From the datasheet it seems that the ram should be usable up to 800MHz?
  Reply


Messages In This Thread
[Volunteer needed]Too high DRAM clock speed MAY be causing you random crashes/freezes - by devrtz - 05-12-2020, 01:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Phone powers off with high user demands car46999 7 548 04-11-2024, 09:17 AM
Last Post: zetabeta
  Help needed: Jump drive not working UsnR2 5 4,939 07-09-2021, 03:22 PM
Last Post: UsnR2
  Endless crashes on Pine64 received today luciphercolors 4 5,543 11-24-2020, 06:09 PM
Last Post: rocket2nfinity
  Does the PinePhone have a hardware random number generator? LibrePhoneUser 4 6,294 11-12-2020, 07:47 PM
Last Post: megous
  Only enable modem when needed with kill switches sokolgeo 2 4,089 09-20-2020, 04:40 AM
Last Post: sokolgeo
Sad Crashes in every OS - Hardware-issue? rakor 4 6,099 06-22-2020, 09:20 AM
Last Post: Nooblife

Forum Jump:


Users browsing this thread: 3 Guest(s)