[U-Boot] [PATCH] sunxi: lower the DDR frequency of Orange Pi Prime

Icenowy Zheng icenowy at aosc.io
Sat Oct 27 16:26:18 UTC 2018


在 2017-10-31二的 09:09 +0100,Maxime Ripard写道:
> On Tue, Oct 31, 2017 at 03:56:08PM +0800, Icenowy Zheng wrote:
> > When I use Orange Pi Prime to do some heavy compliation tasks, the
> > gcc
> > compiler sometimes mysteriously segfaults, and memtester catches
> > memory
> > error. As the lima-memtester cannot support H5 (Mali-450 GPU
> > equipped),
> > there's no really reliable way to detect DRAM stability except try
> > and
> > error.
> > 
> > Lower the DDR frequency to 624MHz seems to solved the issue.
> > 
> > Set the default frequency to 624MHz in the defconfig, as 672MHz is
> > observed to be unstable at least on my board.
> > 
> > Signed-off-by: Icenowy Zheng <icenowy at aosc.io>
> 
> What is the value used in the fex file?

When testing with BSP images made by Orange Pi, I found that in newer
images they secretly tweaked the DDR freq of Orange Pi PC2 and Prime to
624MHz.

This is found by checking pll-dram frequency after booting.

> 
> Maxime
> 



More information about the U-Boot mailing list