All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
@ 2019-08-04 22:03 Thomas Petazzoni
  2019-08-09 12:37 ` Romain Naour
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas Petazzoni @ 2019-08-04 22:03 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=5e45febb58d645de8875b9ad6bf964b0472555fa
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The odroidc2_defconfig has been dropped in commit
b80712a16ae3deb65331a7923aa878e13e2e66b6, do it no longer makes sense
to list it in the DEVELOPERS file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 DEVELOPERS | 2 --
 1 file changed, 2 deletions(-)

diff --git a/DEVELOPERS b/DEVELOPERS
index d43a9f2c74..6f15574e39 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -576,8 +576,6 @@ F:	arch/Config.in.powerpc
 F:	package/kvm-unit-tests
 
 N:	Dagg Stompler <daggs@gmx.com>
-F:	board/hardkernel/odroidc2
-F:	configs/odroidc2_defconfig
 F:	package/libamcodec/
 F:	package/odroid-mali/
 F:	package/odroid-scripts/

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
  2019-08-04 22:03 [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler Thomas Petazzoni
@ 2019-08-09 12:37 ` Romain Naour
  2019-08-09 16:38   ` Bernd Kuhls
  0 siblings, 1 reply; 12+ messages in thread
From: Romain Naour @ 2019-08-09 12:37 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

Le 05/08/2019 ? 00:03, Thomas Petazzoni a ?crit?:
> commit: https://git.buildroot.net/buildroot/commit/?id=5e45febb58d645de8875b9ad6bf964b0472555fa
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> 
> The odroidc2_defconfig has been dropped in commit
> b80712a16ae3deb65331a7923aa878e13e2e66b6, do it no longer makes sense
> to list it in the DEVELOPERS file.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
>  DEVELOPERS | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index d43a9f2c74..6f15574e39 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -576,8 +576,6 @@ F:	arch/Config.in.powerpc
>  F:	package/kvm-unit-tests
>  
>  N:	Dagg Stompler <daggs@gmx.com>
> -F:	board/hardkernel/odroidc2

Indeed, I forgot to remove this directory...

Actually there are still two packages related to the odroidc2 board:
odroid-script and odroid-mali.

I haven't noticed the BR2_PACKAGE_ODROID_SCRIPTS=y in the odroidc2 board defconfig.

odroid-script package is odroidc2 board specific and is selected by odroid-mali
package which is itself selected by kodi for AMLogic GPU support.

So up to BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_AML is related to the odroidc2 board
(from the Buildroot packaging point of view) and should be removed too.

Maybe KODI AML support can be used on other AML based board?

Best regards,
Romain

> -F:	configs/odroidc2_defconfig
>  F:	package/libamcodec/
>  F:	package/odroid-mali/
>  F:	package/odroid-scripts/
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
  2019-08-09 12:37 ` Romain Naour
@ 2019-08-09 16:38   ` Bernd Kuhls
  2019-08-10  5:50     ` daggs
  0 siblings, 1 reply; 12+ messages in thread
From: Bernd Kuhls @ 2019-08-09 16:38 UTC (permalink / raw)
  To: buildroot

Am Fri, 09 Aug 2019 14:37:48 +0200 schrieb Romain Naour:

> So up to BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_AML is related to the
> odroidc2 board (from the Buildroot packaging point of view) and should
> be removed too.
> 
> Maybe KODI AML support can be used on other AML based board?

Hi,

aml support in Kodi was added by Dagg Stompler with commit
https://git.buildroot.net/buildroot/commit/package/kodi?
id=00e7d119ec16cd64f89cb21a2ea715e2bfc3dc73

I am unable to answer your question because I never used Kodi on aml/
odroid hardware.

Regards, Bernd

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
  2019-08-09 16:38   ` Bernd Kuhls
@ 2019-08-10  5:50     ` daggs
  2019-08-10 11:08       ` Bernd Kuhls
  0 siblings, 1 reply; 12+ messages in thread
From: daggs @ 2019-08-10  5:50 UTC (permalink / raw)
  To: buildroot

Greetings,

> Sent: Friday, August 09, 2019 at 7:38 PM
> From: "Bernd Kuhls" <bernd.kuhls@t-online.de>
> To: buildroot at uclibc.org
> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
>
> Am Fri, 09 Aug 2019 14:37:48 +0200 schrieb Romain Naour:
>
> > So up to BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_AML is related to the
> > odroidc2 board (from the Buildroot packaging point of view) and should
> > be removed too.
> >
> > Maybe KODI AML support can be used on other AML based board?
>
> Hi,
>
> aml support in Kodi was added by Dagg Stompler with commit
> https://git.buildroot.net/buildroot/commit/package/kodi?
> id=00e7d119ec16cd64f89cb21a2ea715e2bfc3dc73
>
> I am unable to answer your question because I never used Kodi on aml/
> odroid hardware.
>
> Regards, Bernd

as the board was dropped from the support list, I see no reason to keep this. in addition, I think that this board is fully supported without the need for external libs.

the main issue with this board is that latest kernel and uboot from the vendor's site doesn't boot with gcc 7 and the my patches for the main kernel support never got enough replies to advance to a more workable state.
the main issue was the vendor's uboot firmware

I can try revising the patches again and sync them to latest master but as there is no help on how to provide the atf, I see no reason to continue pursuing this.

there are two ways to solve this:
1. continue with my original suggestion, e.g. on image generation, get the vendor's uboot, extract the atf and generate the uboot.
2. provide the atf as part of the board file, still there might be a need get the vendor's uboot to incorporate it into the uboot fw file.

imho, the first option is the right one (less binary files in the tree), the question is what the powers that be think.

Dagg.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
  2019-08-10  5:50     ` daggs
@ 2019-08-10 11:08       ` Bernd Kuhls
  2019-08-10 18:31         ` daggs
  0 siblings, 1 reply; 12+ messages in thread
From: Bernd Kuhls @ 2019-08-10 11:08 UTC (permalink / raw)
  To: buildroot

Am Sat, 10 Aug 2019 07:50:08 +0200 schrieb daggs:

> Greetings,
> 
>> Am Fri, 09 Aug 2019 14:37:48 +0200 schrieb Romain Naour:
>>
>> > So up to BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_AML is related to the
>> > odroidc2 board (from the Buildroot packaging point of view) and
>> > should be removed too.
>> >
>> > Maybe KODI AML support can be used on other AML based board?
> 
> as the board was dropped from the support list, I see no reason to keep
> this. in addition, I think that this board is fully supported without
> the need for external libs.

Hi,

sent http://patchwork.ozlabs.org/project/buildroot/list/?series=124369

Kodi v19 will remove specific aml support as well:
https://github.com/xbmc/xbmc/pull/16043#issuecomment-489331416
and encourages users to switch to gbm support:
https://github.com/xbmc/xbmc/pull/16043#issuecomment-498054447

Libreelec switched amlogic support to mainline kernel as well:
https://github.com/LibreELEC/LibreELEC.tv/pull/3536
https://github.com/xbmc/xbmc/pull/16043#issuecomment-498180789

In the end there is no reason for us to keep the old amlogic stuff alive.

Regards, bernd

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
  2019-08-10 11:08       ` Bernd Kuhls
@ 2019-08-10 18:31         ` daggs
  2019-08-10 20:19           ` Romain Naour
  0 siblings, 1 reply; 12+ messages in thread
From: daggs @ 2019-08-10 18:31 UTC (permalink / raw)
  To: buildroot

Greetings,

> Sent: Saturday, August 10, 2019 at 2:08 PM
> From: "Bernd Kuhls" <bernd.kuhls@t-online.de>
> To: buildroot at uclibc.org
> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
>
> Am Sat, 10 Aug 2019 07:50:08 +0200 schrieb daggs:
>
> > Greetings,
> >
> >> Am Fri, 09 Aug 2019 14:37:48 +0200 schrieb Romain Naour:
> >>
> >> > So up to BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_AML is related to the
> >> > odroidc2 board (from the Buildroot packaging point of view) and
> >> > should be removed too.
> >> >
> >> > Maybe KODI AML support can be used on other AML based board?
> >
> > as the board was dropped from the support list, I see no reason to keep
> > this. in addition, I think that this board is fully supported without
> > the need for external libs.
>
> Hi,
>
> sent http://patchwork.ozlabs.org/project/buildroot/list/?series=124369
>
> Kodi v19 will remove specific aml support as well:
> https://github.com/xbmc/xbmc/pull/16043#issuecomment-489331416
> and encourages users to switch to gbm support:
> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498054447
>
> Libreelec switched amlogic support to mainline kernel as well:
> https://github.com/LibreELEC/LibreELEC.tv/pull/3536
> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498180789
>
> In the end there is no reason for us to keep the old amlogic stuff alive.
>
> Regards, bernd

so if I build buildroot with latest kernel and kodi, it should work ok? e.g. hw decoding and stuff?

Dagg.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
  2019-08-10 18:31         ` daggs
@ 2019-08-10 20:19           ` Romain Naour
  2019-08-10 20:40             ` daggs
  0 siblings, 1 reply; 12+ messages in thread
From: Romain Naour @ 2019-08-10 20:19 UTC (permalink / raw)
  To: buildroot

Hi Daggs,

Le 10/08/2019 ? 20:31, daggs a ?crit?:
> Greetings,
> 
>> Sent: Saturday, August 10, 2019 at 2:08 PM
>> From: "Bernd Kuhls" <bernd.kuhls@t-online.de>
>> To: buildroot at uclibc.org
>> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
>>
>> Am Sat, 10 Aug 2019 07:50:08 +0200 schrieb daggs:
>>
>>> Greetings,
>>>
>>>> Am Fri, 09 Aug 2019 14:37:48 +0200 schrieb Romain Naour:
>>>>
>>>>> So up to BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_AML is related to the
>>>>> odroidc2 board (from the Buildroot packaging point of view) and
>>>>> should be removed too.
>>>>>
>>>>> Maybe KODI AML support can be used on other AML based board?
>>>
>>> as the board was dropped from the support list, I see no reason to keep
>>> this. in addition, I think that this board is fully supported without
>>> the need for external libs.
>>
>> Hi,
>>
>> sent http://patchwork.ozlabs.org/project/buildroot/list/?series=124369
>>
>> Kodi v19 will remove specific aml support as well:
>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-489331416
>> and encourages users to switch to gbm support:
>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498054447
>>
>> Libreelec switched amlogic support to mainline kernel as well:
>> https://github.com/LibreELEC/LibreELEC.tv/pull/3536
>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498180789
>>
>> In the end there is no reason for us to keep the old amlogic stuff alive.
>>
>> Regards, bernd
> 
> so if I build buildroot with latest kernel and kodi, it should work ok? e.g. hw decoding and stuff?

GPU Mali 450 support has been upstreamed recently in the kernel 5.2.x and mesa3d
19.1. You need to enable the support for the Lima DRM in the kernel and Gallium
Lima driver in mesa3d.

You probably need to apply this series and a patch to add the Gallium Lima
driver in mesa3d.
http://patchwork.ozlabs.org/project/buildroot/list/?series=123227

But I can't say for kodi...

Best regards,
Romain


> 
> Dagg.
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
  2019-08-10 20:19           ` Romain Naour
@ 2019-08-10 20:40             ` daggs
  2019-08-10 20:56               ` Romain Naour
  0 siblings, 1 reply; 12+ messages in thread
From: daggs @ 2019-08-10 20:40 UTC (permalink / raw)
  To: buildroot

Greetings Naour,

> Sent: Saturday, August 10, 2019 at 11:19 PM
> From: "Romain Naour" <romain.naour@gmail.com>
> To: daggs <daggs@gmx.com>, "Bernd Kuhls" <bernd.kuhls@t-online.de>
> Cc: buildroot at uclibc.org
> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
>
> Hi Daggs,
> 
> Le 10/08/2019 ? 20:31, daggs a ?crit?:
> > Greetings,
> > 
> >> Sent: Saturday, August 10, 2019 at 2:08 PM
> >> From: "Bernd Kuhls" <bernd.kuhls@t-online.de>
> >> To: buildroot at uclibc.org
> >> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
> >>
> >> Am Sat, 10 Aug 2019 07:50:08 +0200 schrieb daggs:
> >>
> >>> Greetings,
> >>>
> >>>> Am Fri, 09 Aug 2019 14:37:48 +0200 schrieb Romain Naour:
> >>>>
> >>>>> So up to BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_AML is related to the
> >>>>> odroidc2 board (from the Buildroot packaging point of view) and
> >>>>> should be removed too.
> >>>>>
> >>>>> Maybe KODI AML support can be used on other AML based board?
> >>>
> >>> as the board was dropped from the support list, I see no reason to keep
> >>> this. in addition, I think that this board is fully supported without
> >>> the need for external libs.
> >>
> >> Hi,
> >>
> >> sent http://patchwork.ozlabs.org/project/buildroot/list/?series=124369
> >>
> >> Kodi v19 will remove specific aml support as well:
> >> https://github.com/xbmc/xbmc/pull/16043#issuecomment-489331416
> >> and encourages users to switch to gbm support:
> >> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498054447
> >>
> >> Libreelec switched amlogic support to mainline kernel as well:
> >> https://github.com/LibreELEC/LibreELEC.tv/pull/3536
> >> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498180789
> >>
> >> In the end there is no reason for us to keep the old amlogic stuff alive.
> >>
> >> Regards, bernd
> > 
> > so if I build buildroot with latest kernel and kodi, it should work ok? e.g. hw decoding and stuff?
> 
> GPU Mali 450 support has been upstreamed recently in the kernel 5.2.x and mesa3d
> 19.1. You need to enable the support for the Lima DRM in the kernel and Gallium
> Lima driver in mesa3d.
> 
> You probably need to apply this series and a patch to add the Gallium Lima
> driver in mesa3d.
> http://patchwork.ozlabs.org/project/buildroot/list/?series=123227
> 
> But I can't say for kodi...
> 
> Best regards,
> Romain
> 

it is good to know, I'd assume that if a proper kernel and mesa support is in place, kodi will surly work, I only hope hw decoding is supported too.
unfortunately, that doesn't increase the likelihood of the board reinstated into buildroot. not until agreed flow when it comes to the board's ATF will exist.

Dagg.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
  2019-08-10 20:40             ` daggs
@ 2019-08-10 20:56               ` Romain Naour
  2019-08-11 17:14                 ` daggs
  0 siblings, 1 reply; 12+ messages in thread
From: Romain Naour @ 2019-08-10 20:56 UTC (permalink / raw)
  To: buildroot

Hi Daggs,

Le 10/08/2019 ? 22:40, daggs a ?crit?:
> Greetings Naour,
> 
>> Sent: Saturday, August 10, 2019 at 11:19 PM
>> From: "Romain Naour" <romain.naour@gmail.com>
>> To: daggs <daggs@gmx.com>, "Bernd Kuhls" <bernd.kuhls@t-online.de>
>> Cc: buildroot at uclibc.org
>> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
>>
>> Hi Daggs,
>>
>> Le 10/08/2019 ? 20:31, daggs a ?crit?:
>>> Greetings,
>>>
>>>> Sent: Saturday, August 10, 2019 at 2:08 PM
>>>> From: "Bernd Kuhls" <bernd.kuhls@t-online.de>
>>>> To: buildroot at uclibc.org
>>>> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
>>>>
>>>> Am Sat, 10 Aug 2019 07:50:08 +0200 schrieb daggs:
>>>>
>>>>> Greetings,
>>>>>
>>>>>> Am Fri, 09 Aug 2019 14:37:48 +0200 schrieb Romain Naour:
>>>>>>
>>>>>>> So up to BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_AML is related to the
>>>>>>> odroidc2 board (from the Buildroot packaging point of view) and
>>>>>>> should be removed too.
>>>>>>>
>>>>>>> Maybe KODI AML support can be used on other AML based board?
>>>>>
>>>>> as the board was dropped from the support list, I see no reason to keep
>>>>> this. in addition, I think that this board is fully supported without
>>>>> the need for external libs.
>>>>
>>>> Hi,
>>>>
>>>> sent http://patchwork.ozlabs.org/project/buildroot/list/?series=124369
>>>>
>>>> Kodi v19 will remove specific aml support as well:
>>>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-489331416
>>>> and encourages users to switch to gbm support:
>>>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498054447
>>>>
>>>> Libreelec switched amlogic support to mainline kernel as well:
>>>> https://github.com/LibreELEC/LibreELEC.tv/pull/3536
>>>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498180789
>>>>
>>>> In the end there is no reason for us to keep the old amlogic stuff alive.
>>>>
>>>> Regards, bernd
>>>
>>> so if I build buildroot with latest kernel and kodi, it should work ok? e.g. hw decoding and stuff?
>>
>> GPU Mali 450 support has been upstreamed recently in the kernel 5.2.x and mesa3d
>> 19.1. You need to enable the support for the Lima DRM in the kernel and Gallium
>> Lima driver in mesa3d.
>>
>> You probably need to apply this series and a patch to add the Gallium Lima
>> driver in mesa3d.
>> http://patchwork.ozlabs.org/project/buildroot/list/?series=123227
>>
>> But I can't say for kodi...
>>
>> Best regards,
>> Romain
>>
> 
> it is good to know, I'd assume that if a proper kernel and mesa support is in place, kodi will surly work, I only hope hw decoding is supported too.
> unfortunately, that doesn't increase the likelihood of the board reinstated into buildroot. not until agreed flow when it comes to the board's ATF will exist.

I'm using a board Le Potato
(https://libre.computer/products/boards/aml-s905x-cc) based on AML-S905X-CC.
Like for the Odroid-C2, Amlogic doesn't provide sources for the firmware and for
tools needed to create the bootloader image (only binaries are available).

But an opensource tool has been made by reverse engineering:

https://github.com/repk/gxlimg

Maybe you can take a look at this tool and see if it can work for your board?

Best regards,
Romain

> 
> Dagg.
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
  2019-08-10 20:56               ` Romain Naour
@ 2019-08-11 17:14                 ` daggs
  2019-08-11 18:37                   ` Romain Naour
  0 siblings, 1 reply; 12+ messages in thread
From: daggs @ 2019-08-11 17:14 UTC (permalink / raw)
  To: buildroot

Greetings Romain,

> Sent: Saturday, August 10, 2019 at 11:56 PM
> From: "Romain Naour" <romain.naour@gmail.com>
> To: daggs <daggs@gmx.com>
> Cc: "Bernd Kuhls" <bernd.kuhls@t-online.de>, buildroot at uclibc.org
> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
>
> Hi Daggs,
> 
> Le 10/08/2019 ? 22:40, daggs a ?crit?:
> > Greetings Naour,
> > 
> >> Sent: Saturday, August 10, 2019 at 11:19 PM
> >> From: "Romain Naour" <romain.naour@gmail.com>
> >> To: daggs <daggs@gmx.com>, "Bernd Kuhls" <bernd.kuhls@t-online.de>
> >> Cc: buildroot at uclibc.org
> >> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
> >>
> >> Hi Daggs,
> >>
> >> Le 10/08/2019 ? 20:31, daggs a ?crit?:
> >>> Greetings,
> >>>
> >>>> Sent: Saturday, August 10, 2019 at 2:08 PM
> >>>> From: "Bernd Kuhls" <bernd.kuhls@t-online.de>
> >>>> To: buildroot at uclibc.org
> >>>> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
> >>>>
> >>>> Am Sat, 10 Aug 2019 07:50:08 +0200 schrieb daggs:
> >>>>
> >>>>> Greetings,
> >>>>>
> >>>>>> Am Fri, 09 Aug 2019 14:37:48 +0200 schrieb Romain Naour:
> >>>>>>
> >>>>>>> So up to BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_AML is related to the
> >>>>>>> odroidc2 board (from the Buildroot packaging point of view) and
> >>>>>>> should be removed too.
> >>>>>>>
> >>>>>>> Maybe KODI AML support can be used on other AML based board?
> >>>>>
> >>>>> as the board was dropped from the support list, I see no reason to keep
> >>>>> this. in addition, I think that this board is fully supported without
> >>>>> the need for external libs.
> >>>>
> >>>> Hi,
> >>>>
> >>>> sent http://patchwork.ozlabs.org/project/buildroot/list/?series=124369
> >>>>
> >>>> Kodi v19 will remove specific aml support as well:
> >>>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-489331416
> >>>> and encourages users to switch to gbm support:
> >>>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498054447
> >>>>
> >>>> Libreelec switched amlogic support to mainline kernel as well:
> >>>> https://github.com/LibreELEC/LibreELEC.tv/pull/3536
> >>>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498180789
> >>>>
> >>>> In the end there is no reason for us to keep the old amlogic stuff alive.
> >>>>
> >>>> Regards, bernd
> >>>
> >>> so if I build buildroot with latest kernel and kodi, it should work ok? e.g. hw decoding and stuff?
> >>
> >> GPU Mali 450 support has been upstreamed recently in the kernel 5.2.x and mesa3d
> >> 19.1. You need to enable the support for the Lima DRM in the kernel and Gallium
> >> Lima driver in mesa3d.
> >>
> >> You probably need to apply this series and a patch to add the Gallium Lima
> >> driver in mesa3d.
> >> http://patchwork.ozlabs.org/project/buildroot/list/?series=123227
> >>
> >> But I can't say for kodi...
> >>
> >> Best regards,
> >> Romain
> >>
> > 
> > it is good to know, I'd assume that if a proper kernel and mesa support is in place, kodi will surly work, I only hope hw decoding is supported too.
> > unfortunately, that doesn't increase the likelihood of the board reinstated into buildroot. not until agreed flow when it comes to the board's ATF will exist.
> 
> I'm using a board Le Potato
> (https://libre.computer/products/boards/aml-s905x-cc) based on AML-S905X-CC.
> Like for the Odroid-C2, Amlogic doesn't provide sources for the firmware and for
> tools needed to create the bootloader image (only binaries are available).
> 
> But an opensource tool has been made by reverse engineering:
> 
> https://github.com/repk/gxlimg
> 
> Maybe you can take a look at this tool and see if it can work for your board?
> 
> Best regards,
> Romain
> 
> > 
> > Dagg.
> > 
> 
> 

I've looked into the repo a bit, first, the c2 is s905, not s905x. I'd imagine that matters.
moreover, I've looked into the readme on how to build it, it looks the same like the vendor's flow, one still need to get bins from somewhere and compile two pkgs.
I don't see how this changes the issue I'm facing?

Dagg.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
  2019-08-11 17:14                 ` daggs
@ 2019-08-11 18:37                   ` Romain Naour
  2019-08-12  6:21                     ` daggs
  0 siblings, 1 reply; 12+ messages in thread
From: Romain Naour @ 2019-08-11 18:37 UTC (permalink / raw)
  To: buildroot

Hi Dagg,

Le 11/08/2019 ? 19:14, daggs a ?crit?:
> Greetings Romain,
> 
>> Sent: Saturday, August 10, 2019 at 11:56 PM
>> From: "Romain Naour" <romain.naour@gmail.com>
>> To: daggs <daggs@gmx.com>
>> Cc: "Bernd Kuhls" <bernd.kuhls@t-online.de>, buildroot at uclibc.org
>> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
>>
>> Hi Daggs,
>>
>> Le 10/08/2019 ? 22:40, daggs a ?crit?:
>>> Greetings Naour,
>>>
>>>> Sent: Saturday, August 10, 2019 at 11:19 PM
>>>> From: "Romain Naour" <romain.naour@gmail.com>
>>>> To: daggs <daggs@gmx.com>, "Bernd Kuhls" <bernd.kuhls@t-online.de>
>>>> Cc: buildroot at uclibc.org
>>>> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
>>>>
>>>> Hi Daggs,
>>>>
>>>> Le 10/08/2019 ? 20:31, daggs a ?crit?:
>>>>> Greetings,
>>>>>
>>>>>> Sent: Saturday, August 10, 2019 at 2:08 PM
>>>>>> From: "Bernd Kuhls" <bernd.kuhls@t-online.de>
>>>>>> To: buildroot at uclibc.org
>>>>>> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
>>>>>>
>>>>>> Am Sat, 10 Aug 2019 07:50:08 +0200 schrieb daggs:
>>>>>>
>>>>>>> Greetings,
>>>>>>>
>>>>>>>> Am Fri, 09 Aug 2019 14:37:48 +0200 schrieb Romain Naour:
>>>>>>>>
>>>>>>>>> So up to BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_AML is related to the
>>>>>>>>> odroidc2 board (from the Buildroot packaging point of view) and
>>>>>>>>> should be removed too.
>>>>>>>>>
>>>>>>>>> Maybe KODI AML support can be used on other AML based board?
>>>>>>>
>>>>>>> as the board was dropped from the support list, I see no reason to keep
>>>>>>> this. in addition, I think that this board is fully supported without
>>>>>>> the need for external libs.
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> sent http://patchwork.ozlabs.org/project/buildroot/list/?series=124369
>>>>>>
>>>>>> Kodi v19 will remove specific aml support as well:
>>>>>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-489331416
>>>>>> and encourages users to switch to gbm support:
>>>>>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498054447
>>>>>>
>>>>>> Libreelec switched amlogic support to mainline kernel as well:
>>>>>> https://github.com/LibreELEC/LibreELEC.tv/pull/3536
>>>>>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498180789
>>>>>>
>>>>>> In the end there is no reason for us to keep the old amlogic stuff alive.
>>>>>>
>>>>>> Regards, bernd
>>>>>
>>>>> so if I build buildroot with latest kernel and kodi, it should work ok? e.g. hw decoding and stuff?
>>>>
>>>> GPU Mali 450 support has been upstreamed recently in the kernel 5.2.x and mesa3d
>>>> 19.1. You need to enable the support for the Lima DRM in the kernel and Gallium
>>>> Lima driver in mesa3d.
>>>>
>>>> You probably need to apply this series and a patch to add the Gallium Lima
>>>> driver in mesa3d.
>>>> http://patchwork.ozlabs.org/project/buildroot/list/?series=123227
>>>>
>>>> But I can't say for kodi...
>>>>
>>>> Best regards,
>>>> Romain
>>>>
>>>
>>> it is good to know, I'd assume that if a proper kernel and mesa support is in place, kodi will surly work, I only hope hw decoding is supported too.
>>> unfortunately, that doesn't increase the likelihood of the board reinstated into buildroot. not until agreed flow when it comes to the board's ATF will exist.
>>
>> I'm using a board Le Potato
>> (https://libre.computer/products/boards/aml-s905x-cc) based on AML-S905X-CC.
>> Like for the Odroid-C2, Amlogic doesn't provide sources for the firmware and for
>> tools needed to create the bootloader image (only binaries are available).
>>
>> But an opensource tool has been made by reverse engineering:
>>
>> https://github.com/repk/gxlimg
>>
>> Maybe you can take a look at this tool and see if it can work for your board?
>>
>> Best regards,
>> Romain
>>
>>>
>>> Dagg.
>>>
>>
>>
> 
> I've looked into the repo a bit, first, the c2 is s905, not s905x. I'd imagine that matters.
> moreover, I've looked into the readme on how to build it, it looks the same like the vendor's flow, one still need to get bins from somewhere and compile two pkgs.
> I don't see how this changes the issue I'm facing?

I just found a recent blog post about odroidc2 built with Yocto using uboot
2019.01 and kernel 4.19:

https://jumpnowtek.com/odroid/Odroid-C2-Systems-with-Yocto.html

I haven't looked into all the details, but I guess if we can build and boot a
system built with Yocto we should be able to do the same with Buildroot.

For the hardware video acceleration, you can try with a Linux kernel 5.2 with
the lima driver and mesa3d 19.1.

I hope this help.

Best regards,
Romain

> 
> Dagg.
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
  2019-08-11 18:37                   ` Romain Naour
@ 2019-08-12  6:21                     ` daggs
  0 siblings, 0 replies; 12+ messages in thread
From: daggs @ 2019-08-12  6:21 UTC (permalink / raw)
  To: buildroot

Greetings Romain,

> Sent: Sunday, August 11, 2019 at 9:37 PM
> From: "Romain Naour" <romain.naour@gmail.com>
> To: daggs <daggs@gmx.com>
> Cc: "Bernd Kuhls" <bernd.kuhls@t-online.de>, buildroot at uclibc.org
> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
>
> Hi Dagg,
> 
> Le 11/08/2019 ? 19:14, daggs a ?crit?:
> > Greetings Romain,
> > 
> >> Sent: Saturday, August 10, 2019 at 11:56 PM
> >> From: "Romain Naour" <romain.naour@gmail.com>
> >> To: daggs <daggs@gmx.com>
> >> Cc: "Bernd Kuhls" <bernd.kuhls@t-online.de>, buildroot at uclibc.org
> >> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
> >>
> >> Hi Daggs,
> >>
> >> Le 10/08/2019 ? 22:40, daggs a ?crit?:
> >>> Greetings Naour,
> >>>
> >>>> Sent: Saturday, August 10, 2019 at 11:19 PM
> >>>> From: "Romain Naour" <romain.naour@gmail.com>
> >>>> To: daggs <daggs@gmx.com>, "Bernd Kuhls" <bernd.kuhls@t-online.de>
> >>>> Cc: buildroot at uclibc.org
> >>>> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
> >>>>
> >>>> Hi Daggs,
> >>>>
> >>>> Le 10/08/2019 ? 20:31, daggs a ?crit?:
> >>>>> Greetings,
> >>>>>
> >>>>>> Sent: Saturday, August 10, 2019 at 2:08 PM
> >>>>>> From: "Bernd Kuhls" <bernd.kuhls@t-online.de>
> >>>>>> To: buildroot at uclibc.org
> >>>>>> Subject: Re: [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler
> >>>>>>
> >>>>>> Am Sat, 10 Aug 2019 07:50:08 +0200 schrieb daggs:
> >>>>>>
> >>>>>>> Greetings,
> >>>>>>>
> >>>>>>>> Am Fri, 09 Aug 2019 14:37:48 +0200 schrieb Romain Naour:
> >>>>>>>>
> >>>>>>>>> So up to BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_AML is related to the
> >>>>>>>>> odroidc2 board (from the Buildroot packaging point of view) and
> >>>>>>>>> should be removed too.
> >>>>>>>>>
> >>>>>>>>> Maybe KODI AML support can be used on other AML based board?
> >>>>>>>
> >>>>>>> as the board was dropped from the support list, I see no reason to keep
> >>>>>>> this. in addition, I think that this board is fully supported without
> >>>>>>> the need for external libs.
> >>>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> sent http://patchwork.ozlabs.org/project/buildroot/list/?series=124369
> >>>>>>
> >>>>>> Kodi v19 will remove specific aml support as well:
> >>>>>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-489331416
> >>>>>> and encourages users to switch to gbm support:
> >>>>>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498054447
> >>>>>>
> >>>>>> Libreelec switched amlogic support to mainline kernel as well:
> >>>>>> https://github.com/LibreELEC/LibreELEC.tv/pull/3536
> >>>>>> https://github.com/xbmc/xbmc/pull/16043#issuecomment-498180789
> >>>>>>
> >>>>>> In the end there is no reason for us to keep the old amlogic stuff alive.
> >>>>>>
> >>>>>> Regards, bernd
> >>>>>
> >>>>> so if I build buildroot with latest kernel and kodi, it should work ok? e.g. hw decoding and stuff?
> >>>>
> >>>> GPU Mali 450 support has been upstreamed recently in the kernel 5.2.x and mesa3d
> >>>> 19.1. You need to enable the support for the Lima DRM in the kernel and Gallium
> >>>> Lima driver in mesa3d.
> >>>>
> >>>> You probably need to apply this series and a patch to add the Gallium Lima
> >>>> driver in mesa3d.
> >>>> http://patchwork.ozlabs.org/project/buildroot/list/?series=123227
> >>>>
> >>>> But I can't say for kodi...
> >>>>
> >>>> Best regards,
> >>>> Romain
> >>>>
> >>>
> >>> it is good to know, I'd assume that if a proper kernel and mesa support is in place, kodi will surly work, I only hope hw decoding is supported too.
> >>> unfortunately, that doesn't increase the likelihood of the board reinstated into buildroot. not until agreed flow when it comes to the board's ATF will exist.
> >>
> >> I'm using a board Le Potato
> >> (https://libre.computer/products/boards/aml-s905x-cc) based on AML-S905X-CC.
> >> Like for the Odroid-C2, Amlogic doesn't provide sources for the firmware and for
> >> tools needed to create the bootloader image (only binaries are available).
> >>
> >> But an opensource tool has been made by reverse engineering:
> >>
> >> https://github.com/repk/gxlimg
> >>
> >> Maybe you can take a look at this tool and see if it can work for your board?
> >>
> >> Best regards,
> >> Romain
> >>
> >>>
> >>> Dagg.
> >>>
> >>
> >>
> > 
> > I've looked into the repo a bit, first, the c2 is s905, not s905x. I'd imagine that matters.
> > moreover, I've looked into the readme on how to build it, it looks the same like the vendor's flow, one still need to get bins from somewhere and compile two pkgs.
> > I don't see how this changes the issue I'm facing?
> 
> I just found a recent blog post about odroidc2 built with Yocto using uboot
> 2019.01 and kernel 4.19:
> 
> https://jumpnowtek.com/odroid/Odroid-C2-Systems-with-Yocto.html
> 
> I haven't looked into all the details, but I guess if we can build and boot a
> system built with Yocto we should be able to do the same with Buildroot.
> 
> For the hardware video acceleration, you can try with a Linux kernel 5.2 with
> the lima driver and mesa3d 19.1.
> 
> I hope this help.
> 
> Best regards,
> Romain
> 
> > 
> > Dagg.
> > 
> 

I never had issue booting fairly recent kernel with that board, see https://github.com/daggs1/buildroot
that snapshot allowed to boot the board, there is no support for vpu but it did booted.

I was never able to generate a Yocto image, it always failed. still that link has the same issue, it needs the atf from hardkernel, see copy_boot.sh section.
as said before, the issue here is the atf and how to properly handle it.
I can submit new patchset but I'm not sure I'll get much traction based on previous iteration.

Dagg.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-08-12  6:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-04 22:03 [Buildroot] [git commit] DEVELOPERS: drop odroidc2 from Dagg Stompler Thomas Petazzoni
2019-08-09 12:37 ` Romain Naour
2019-08-09 16:38   ` Bernd Kuhls
2019-08-10  5:50     ` daggs
2019-08-10 11:08       ` Bernd Kuhls
2019-08-10 18:31         ` daggs
2019-08-10 20:19           ` Romain Naour
2019-08-10 20:40             ` daggs
2019-08-10 20:56               ` Romain Naour
2019-08-11 17:14                 ` daggs
2019-08-11 18:37                   ` Romain Naour
2019-08-12  6:21                     ` daggs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.