build icon indicating copy to clipboard operation
build copied to clipboard

VIM1S: Use panfrost by default

Open viraniac opened this issue 1 year ago • 4 comments

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Enabling panfrost for VIM1S by default

Documentation summary for feature / change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • [x] Tested with xfce image. panfrost works fine.

Checklist:

Please delete options that are not relevant.

  • [ ] My code follows the style guidelines of this project
  • [ ] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

viraniac avatar Oct 03 '24 07:10 viraniac

binary overlay? not good.

adeepn avatar Oct 03 '24 07:10 adeepn

binary overlay? not good.

There were some issues getting overlay compilation to work when this family was initially added. Since then all overlays for this board are added as precompiled dtb files. Its been more than a year, and no one had tried to fix the same. I don't have time to waste on it. Feel free to close it if you think that is an issue

viraniac avatar Oct 03 '24 08:10 viraniac

I agree, this vendor kernel is some of the most convoluted stuff I've ever seen. It's absolutely no use trying to fix anything about it.

Did the Amlogic 5.15 ever go anywhere?

rpardini avatar Oct 03 '24 09:10 rpardini

Did the Amlogic 5.15 ever go anywhere?

Not sure what context you are asking this for. Corelec is using 5.15.119 kernel (Amlogic's 202311 release) for Amlogic new order builds for their next release. We are now on a newer 5.15.137 version which was released in May 2024 IIRC. It works pretty good in fenix, apart from minor issues here and there which sometimes were found to be bugs, other times it just comes down to some random config that is enabled in Amlogic's provided config. It does take time to figure some things out, but it does work ok.

viraniac avatar Oct 03 '24 12:10 viraniac

Not sure what context you are asking this for. Corelec is using 5.15.119 kernel (Amlogic's 202311 release) for Amlogic new order builds for their next release. We are now on a newer 5.15.137 version which was released in May 2024

Oh, sorry, I indeed missed that you already switched to 5.15 back in january! (I was thinking that 5.4 that initially went in was still there).

I asked because of https://docs.khadas.com/products/sbc/vim3/applications/earc -- this 5.15 kernel brings that "killer feature" for SM1. I've tried it (in Fenix) and it kind-of works (TV recognizes the board as an audio receiver) -- the kernel does all the CEC+eARC stuff itself though and it is very opaque about what is going on.

I can't even figure out what/where they put the DTs in that kernel to look for sm1/kvim3l stuff...

rpardini avatar Oct 04 '24 07:10 rpardini

I can't even figure out what/where they put the DTs in that kernel to look for sm1/kvim3l stuff...

You can find the dts here - https://github.com/khadas/common_drivers/blob/khadas-vims-5.15.y/arch/arm64/boot/dts/amlogic/kvim3l.dts

viraniac avatar Oct 04 '24 08:10 viraniac