05-12-2020, 01:04 AM
(This post was last modified: 07-26-2020, 06:03 AM by devrtz.
Edit Reason: Updated flashable binaries + debian/mobian packages
)
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):
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
I am interested to see whether this issue is widespread or if I just had bad luck in the silicon lottery
PS: From the datasheet it seems that the ram should be usable up to 800MHz?
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
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
PS: From the datasheet it seems that the ram should be usable up to 800MHz?