About testing A64 DE2 patches

Icenowy Zheng icenowy at aosc.io
Wed Jan 31 16:47:13 PST 2018



于 2018年2月1日 GMT+08:00 上午5:11:17, Sergey Suloev <ssuloev at orpaltech.com> 写到:
>On 01/31/2018 08:47 PM, Icenowy Zheng wrote:
>>
>> 于 2018年2月1日 GMT+08:00 上午1:42:01, Sergey Suloev
><ssuloev at orpaltech.com> 写到:
>>> Hi, kernel people,
>>>
>>> I am testing A64 DE2 patches from the list below, series v4, with my
>>> NanoPi A64 and 4.15
>>>
>>>
>https://patchwork.kernel.org/project/linux-arm-kernel/list/?submitter=173461&page=1
>>>
>>> and I'm getting the following issue regarding SRAM:
>>>
>>> sunxi-de2-clks 1000000.clock: Error couldn't map SRAM to device
>> Could you check whether it's finally probed?
>>
>> DE2 clock may be probed before SRAM controller, so
>> the probe might be deferred. When SRAM controller is ready
>> it will retry.
>>
>>> Here is my full dmesg https://pastebin.com/SQvDfJF0
>>>
>>> Thanks
>>>
>>>
>>> _______________________________________________
>>> linux-arm-kernel mailing list
>>> linux-arm-kernel at lists.infradead.org
>>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
>no it is not probed , because there is no special return code from the 
>function

But it receives special return code from sunxi_sram_claim.
 
>
>if (ccu->sram_needed) {
>+ ret = sunxi_sram_claim(&pdev->dev);
>+ if (ret) {
>+ dev_err(&pdev->dev,
>+ "Error couldn't map SRAM to device\n");
>+ return ret;
>+ }
>+ }



More information about the linux-arm-kernel mailing list