Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

projects/Amlogic: add support for S912 devices #2400

Closed
wants to merge 2 commits into from
Closed

projects/Amlogic: add support for S912 devices #2400

wants to merge 2 commits into from

Conversation

spycat88
Copy link
Contributor

@spycat88 spycat88 commented Jan 8, 2018

This PR adds support for devices with S912 soc.

@kszaq
Copy link
Contributor

kszaq commented Jan 8, 2018

Thank you for submitting this PR! I will add a few suggestions shortly.

@kszaq
Copy link
Contributor

kszaq commented Jan 8, 2018

Please drop device-specific linux.aarch64.conf. We can simply enable HMP- and DEVFREQ- related options in project config, no need to have a separate config to maintain. Amlogic provides a single config for all S9* devices and co can we.

--with-android-headers=$BUILD/android-headers-25 \
--with-default-hybris-ld-library-path=/system/lib \
--enable-mali-quirks"
post_makeinstall_target(){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please drop post_makeinstall_target() in favour of updated fbdev patch that you can find here:
https://raw.githubusercontent.com/kszaq/LibreELEC.tv/8.2.2.3/packages/devel/libhybris/patches/libhybris-0003-add-fbdev-window-h.patch

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the idea going forward within LE was to reduce the number of patches?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch I linked is already included in your PR but in a different and overblown version. I suggest replacing it with a better version that would also allow you to drop post_makeinstall_target.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just noticed that thanks :) just waiting for compile to finish before updating PR.

@kszaq
Copy link
Contributor

kszaq commented Jan 8, 2018

Thank you for updating the PR.

There are still a few kernel options missing, e.g. CONFIG_FB_OSD_SUPPORT_SYNC_FENCE , CONFIG_PSTORE, CONFIG_ASHMEM , CONFIG_SW_SYNC, perhaps something else.

You don't use MM kernel in your community builds, do you? What I would like to suggest is that I will update projects/Amlogic kernel config to work with S912 devices as soon as we switch to updated kernel in LE master (to this: https://kszaq.libreelec.tv/temp/linux.aarch64.conf), then we can merge this PR without having to update kernel config.

@spycat88
Copy link
Contributor Author

PR is complete, if there is no further reviews.

@Ray-future Ray-future requested a review from kszaq January 11, 2018 06:15
libhybris:
* bump to latest revision with sync_fence patch merged
* simplify Makefile patch (a lot)
* get rid of fbdev_window patch

kodi:
* get rid of fbdev_window
* simplify 1920x1080 hack

linux:
* remove a patch that should go upstream after cleaning up
@spycat88 spycat88 closed this Jan 12, 2018
@spycat88 spycat88 deleted the le90_s912 branch January 12, 2018 13:42
@kszaq
Copy link
Contributor

kszaq commented Jan 12, 2018

@adamg88 Why have you closed this PR?

@spycat88
Copy link
Contributor Author

Closed for you to take it over, I was told your looking for a way to remove the hacks and set windows resolution properly with libhybris

@kszaq kszaq mentioned this pull request Jan 13, 2018
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants