[U-Boot] [PATCH] sunxi: set the default CPUx frequency of H5 to 816MHz
Icenowy Zheng
icenowy at aosc.io
Tue Oct 31 09:08:37 UTC 2017
于 2017年10月31日 GMT+08:00 下午4:53:57, Jagan Teki <jagannadh.teki at gmail.com>
写到:
> On Tue, Oct 31, 2017 at 1:35 PM, <icenowy at aosc.io> wrote:
>> 在 2017-10-31 15:57,Jagan Teki 写道:
>>>
>>> On Tue, Oct 31, 2017 at 5:06 AM, Icenowy Zheng <icenowy at aosc.io>
> wrote:
>>>>
>>>> Some H5 boards are designed to start at 1.1V CPUx voltage (e.g.
> Nano Pi
>>>> NEO2), which may not work properly at 1008MHz if the chip's quality
> is
>>>> not so good.
>>>>
>>>> Lower the default CPUx frequency of H5 to 816MHz.
>>>>
>>>> Signed-off-by: Icenowy Zheng <icenowy at aosc.io>
>>>> ---
>>>> arch/arm/mach-sunxi/Kconfig | 2 +-
>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/arch/arm/mach-sunxi/Kconfig
> b/arch/arm/mach-sunxi/Kconfig
>>>> index 09cfec6f57..1fededd0a3 100644
>>>> --- a/arch/arm/mach-sunxi/Kconfig
>>>> +++ b/arch/arm/mach-sunxi/Kconfig
>>>> @@ -397,9 +397,9 @@ config SYS_CLK_FREQ
>>>> default 1008000000 if MACH_SUN5I
>>>> default 1008000000 if MACH_SUN6I
>>>> default 912000000 if MACH_SUN7I
>>>> + default 816000000 if MACH_SUN50I || MACH_SUN50I_H5
>>>> default 1008000000 if MACH_SUN8I
>>>
>>>
>>> Even orangepi pc2 has 1.1v after power-on and it's work fine [1] did
>>> you find an issue with neo2?
>>
>>
>> Yes, the boot process randomly hang at SPL stage -- but when it
> enters
>> ATF it will run smoothly as the ATF will re-configure CPUx frequency
>> to 816MHz.
>
> OK, Linux has similar issue, I will check it meanwhile.
>
>>
>> According to the official operating point table [2], 1008MHz is bound
>> to 1.2V, and 816MHz is bound to 1.1V.
>
> Does this common for all H5 SDK or orangepi design?
For all H5 SDK. It's the original comment in H5 SDK from AW.
>
> thanks!
More information about the U-Boot
mailing list