Mainline kernel 6.0+ hangs on S905D3
Oleksii Fedorov
vsnrain at gmail.com
Tue May 23 04:07:51 PDT 2023
Hello.
Sorry, it's been a long time since my last message, but I got back to checking this issue.
And I have found out, it seems is the issue with Arch Linux ARM kernel config file
https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-aarch64/config
6.3.3 kernel built with archlinuxarm config gives exact same issue
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log-6.3.3.txt
URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20230523/ce0a5944/attachment.txt>
-------------- next part --------------
But if I rebuild same kernel but with Manjaro config
https://gitlab.manjaro.org/manjaro-arm/packages/core/linux-aml/-/blob/master/config
it works fine.
Any idea which kernel config parameter might be breaking boot on sm1 (khadas vim3l) board but work fine on g12a (radxa zero) board ?
Thanks.
> On Mar 6, 2023, at 20:06, Oleksii Fedorov <vsnrain at gmail.com> wrote:
>
> Switching uboot does not look like it changes anything, though I am not sure how far back should I downgrade.
> I tried switching to khadas official uboot[1], and it has same issue.
>
> [1] https://dl.khadas.com/firmware/vim3l/uboot/mainline/
>
> I have not tried v6.3-rc1 yet, let me compile it and check...
>
>
>> On Mar 6, 2023, at 19:01, Neil Armstrong <neil.armstrong at linaro.org> wrote:
>>
>> Hi,
>>
>> On 06/03/2023 10:35, Oleksii Fedorov wrote:
>>> Hello.
>>>
>>> I am sorry for maybe a stupid question, but I am having issues running mainline kernel on Amlogic S905D3 (Khadas VIM3L board).
>>> It completely hangs around
>>>
>>> [ 2.376752] meson-gx-mmc ffe03000.sd: allocated mmc-pwrseq
>>> [ 2.378645] meson-gx-mmc ffe07000.mmc: allocated mmc-pwrseq
>>> [ 2.384125] simple-framebuffer 7fe5b000.framebuffer: framebuffer at 0x7fe5b000, 0x195000 bytes
>>> [ 2.391417] simple-framebuffer 7fe5b000.framebuffer: format=x8r8g8b8, mode=720x576x32, linelength=2880
>>> [ 2.401893] Console: switching to colour frame buffer device 90x36
>>> [ 2.406763] simple-framebuffer 7fe5b000.framebuffer: fb0: simplefb registered!
>>>
>>> If there is no HDMI display attached, last 4 lines do not appear and it hangs at
>>>
>>> [ 2.378645] meson-gx-mmc ffe07000.mmc: allocated mmc-pwrseq
>>>
>>> I will also put the full boot log to attachment.
>>> Kernels with amlogic specific patches seems to work fine, like manjaro linux-aml[1] or linux-aarch64-flippy[2]
>>>
>>> Do you know what might be the issue, or what exact patch fixes it? Is there any plans of moving it to mainline?
>>
>>
>> I don't know this issue at all, thanks.
>>
>>
>> Is this the same with v6.3-rc1 ? downgrading u-boot changes something ?
>>
>>
>> Neil
>>
>>
>>>
>>> Best regards,
>>>
>>> [1] https://gitlab.manjaro.org/manjaro-arm/packages/core/linux-aml
>>> [2] https://aur.archlinux.org/packages/linux-aarch64-flippy
>>>
>>>
>>
>
More information about the linux-amlogic
mailing list