[Buildroot] [PATCH v9 06/11] board/ti/am62x_sk|am64x_sk: switch to TI SDK v8.6 sources

Yann E. MORIN yann.morin.1998 at free.fr
Sun Jun 25 19:36:48 UTC 2023


Arnout, Andreas, All,

On 2023-06-25 16:33 +0200, Arnout Vandecappelle via buildroot spake thusly:
> 
> 
> On 25/06/2023 15:54, Yann E. MORIN wrote:
> >Andreas, All,
> >
> >On 2023-06-22 11:02 -0500, Andreas Dannenberg via buildroot spake thusly:
> >>Switch the following projects to using the same Git source repos and
> >>commit IDs that are used to build the TI SDK v8.6 for AM62x and AM64x
> >>devices to establish a baseline for comparable functionality:
> >>
> >>* TI Linux Kernel v5.10
> >
> >So this means going from a 6.3 kernel back to a 5.10 (the current latest
> >if 6.3, which is what is used in the defconfigs from the two previous
> >patches). That's a bit unfortunate.
> >
> >Do you have plans to update to a more recent kernel in the (near)
> >future? Can't we keep using 6.3 anyway?
> 
>  We don't actually have a clear policy on whether to use upstream or vendor
> kernels for the defconfigs. We have a few boards with both, but IMHO that's
> not a great approach either.
> 
>  Personally, I think it makes sense to focus on vendor kernels for the
> defconfigs. Using upstream is generally easy, you just have to find the
> appropriate device tree. But for the vendor kernel, you have to find the
> repository, which branch is "current", and often also make sure you sync up
> with U-Boot and OP-TEE etc. versions. @Andreas don't take this as law,
> though, it's just personal opinion.
> 
>  That said, I think for each board we should look at what the vendor kernel
> really brings. If everything, including GPU, is working with the upstream
> kernel, it doesn't make sense to use the vendor kernel. I don't know if
> that's the case in this specific situation.
> 
>  Yann, Peter, Romain, Thomas, what do you think?

My position is that we should use upstream as much as possible, and
switch to a fork only when that is needed.

Now, what "it is needed" means is very hazy. Lack of serial, storage,
network upstream certainly means it is not suitable. Lack of support for
some obscure IP block that no one uses or even knows of, is certainly
not a blocker. Then there is the wide gray range of peripherals (GPU, hw
crypto accels, etc...) that some may see as critical while others might
not care about.

So I guess the rule is: deviating from upstream should be dully
motivated, not just "get in sync with Yocto/OE" or whatev'.

What prompted my initial comment above, is that the series introduces
two defconfigs that use the upstream kernel, i.e. 6.3 as of now, but
then this patch dwindles back to use the 5.10-vendor. So, the question
is really, indeed: why use the 5.10-vendor tree when the 6.3-upstream
seems to work?

Or put in other words: does the 6.3-upstream actually works, as
introduced in the previous patches?

I.e. if we do not apply this patch, does the am62x_sk_defconfig and the
am64x_sk_defconfig work?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list