From: Arnout Vandecappelle via buildroot <buildroot@buildroot.org>
To: "Yann E. MORIN" <yann.morin.1998@free.fr>,
Andreas Dannenberg <dannenberg@ti.com>
Cc: Romain Naour <romain.naour@smile.fr>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v9 06/11] board/ti/am62x_sk|am64x_sk: switch to TI SDK v8.6 sources
Date: Sun, 25 Jun 2023 16:33:04 +0200 [thread overview]
Message-ID: <bd293d20-a3c8-d76d-e711-75daaa5ec136@mind.be> (raw)
In-Reply-To: <20230625135435.GC589277@scaer>
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?
Regards,
Arnout
>
>> * TI U-Boot v2021.01
>> * ARM Trusted Firmware
>> * OP-TEE
>>
>> For the Linux Kernel this also includes switching the defconfig to a new
>> one that is generated with the ti_config_fragments/defconfig_builder.sh
>> tool that is part of the respective ti-linux-5.10.y repository.
>>
>> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
>> ---
>> .../ti/am62x_sk/ti_sdk_arm64_debug_defconfig | 1991 +++++++++++++++++
>> .../am62x_sk/ti_sdk_arm64_release_defconfig | 1894 ++++++++++++++++
>> .../ti/am64x_sk/ti_sdk_arm64_debug_defconfig | 1991 +++++++++++++++++
>> .../am64x_sk/ti_sdk_arm64_release_defconfig | 1894 ++++++++++++++++
>
> Those are really big defconfigs... Why can't we use the defconfig
> anymore?
>
> Also, for each board, you are providing two defconfigs, one release and
> one debug, but only one is used. We don;t want to carry files that are
> unused, because they are going to bitrot sooner than later.
>
> Just add the two defconfigs that are needed, one for each board.
>
> Also, I think it would be preferrable that the files be named
> linux.config (.config even though it is a defconfig, yes), like we do
> for the other boards (there are slight deviations, like adding the
> lernel version, or a 'nommu', but only one is named after the board).
>
> Regards,
> Yann E. MORIN.
>
> [--SNIP--]
>> diff --git a/configs/am62x_sk_defconfig b/configs/am62x_sk_defconfig
>> index 083720f512..0b196f4cce 100644
>> --- a/configs/am62x_sk_defconfig
>> +++ b/configs/am62x_sk_defconfig
>> @@ -1,8 +1,12 @@
>> BR2_aarch64=y
>> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
>
> This is out-of-order.
>
> Either you have manually-edited defconfigs, and then you should provide
> comments in there, like (see existing defconfigs for exampleS):
>
> # Linux headers same as kernel, a 5.10 series
> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
>
> or you have a defconfig that is fully auto-gemnerated with
> save-defconfig.
>
> I prefer the latter, but other maintainers may prefer the former..
>
> Regards,
> Yann E. MORIN.
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-06-25 14:33 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-22 16:02 [Buildroot] [PATCH v9 00/11] add support for TI's AM64x and AM62x boards Andreas Dannenberg via buildroot
2023-06-22 16:02 ` [Buildroot] [PATCH v9 01/11] boot/ti-k3-r5-loader: allow for full build source customization Andreas Dannenberg via buildroot
2023-06-24 21:23 ` Yann E. MORIN
2023-06-25 13:21 ` Arnout Vandecappelle via buildroot
2023-06-25 13:35 ` Yann E. MORIN
2023-06-26 19:44 ` Julien Olivain
2023-06-26 19:53 ` Julien Olivain
2023-06-22 16:02 ` [Buildroot] [PATCH v9 02/11] boot/ti-k3-image-gen: new package Andreas Dannenberg via buildroot
2023-06-24 22:28 ` Yann E. MORIN
2023-08-08 23:38 ` Bryce Johnson
2023-08-15 7:15 ` Andreas Dannenberg via buildroot
2023-08-15 22:54 ` Bryce Johnson
2023-06-22 16:02 ` [Buildroot] [PATCH v9 03/11] boot/uboot: add support for building the TI K3 DM into U-Boot Andreas Dannenberg via buildroot
2023-06-25 7:02 ` Yann E. MORIN
2023-06-25 7:08 ` Yann E. MORIN
2023-06-22 16:02 ` [Buildroot] [PATCH v9 04/11] board/ti/am64x_sk: add new board Andreas Dannenberg via buildroot
2023-06-25 5:41 ` François Perrad
2023-06-25 13:43 ` Yann E. MORIN
2023-06-22 16:02 ` [Buildroot] [PATCH v9 05/11] board/ti/am62x_sk: " Andreas Dannenberg via buildroot
2023-06-25 5:42 ` François Perrad
2023-08-15 7:21 ` Andreas Dannenberg via buildroot
2023-06-22 16:02 ` [Buildroot] [PATCH v9 06/11] board/ti/am62x_sk|am64x_sk: switch to TI SDK v8.6 sources Andreas Dannenberg via buildroot
2023-06-25 13:54 ` Yann E. MORIN
2023-06-25 14:33 ` Arnout Vandecappelle via buildroot [this message]
2023-06-25 15:22 ` Peter Korsgaard
2023-06-25 18:59 ` Arnout Vandecappelle via buildroot
2023-06-25 19:14 ` Peter Korsgaard
2023-06-25 19:36 ` Yann E. MORIN
2023-06-22 16:02 ` [Buildroot] [PATCH v9 07/11] package/ti-core-secdev-k3: new package Andreas Dannenberg via buildroot
2023-06-23 3:48 ` Patrick Oppenlander
2023-06-23 14:53 ` Andreas Dannenberg via buildroot
2023-06-24 0:32 ` Patrick Oppenlander
2023-06-24 1:11 ` Andreas Dannenberg via buildroot
2023-06-24 4:09 ` Patrick Oppenlander
2023-06-25 7:55 ` Yann E. MORIN
2023-06-25 13:26 ` Arnout Vandecappelle via buildroot
2023-06-22 16:02 ` [Buildroot] [PATCH v9 08/11] board/ti/am62x_sk|am64x_sk: switch to HS-FS device variants Andreas Dannenberg via buildroot
2023-06-22 16:02 ` [Buildroot] [PATCH v9 09/11] package/ti-rogue-km: new package Andreas Dannenberg via buildroot
2023-06-25 8:59 ` Yann E. MORIN
2023-08-18 17:30 ` Bryce Johnson
2023-06-22 16:02 ` [Buildroot] [PATCH v9 10/11] package/ti-rogue-um: " Andreas Dannenberg via buildroot
2023-06-23 7:30 ` François Perrad
2023-06-23 14:59 ` Andreas Dannenberg via buildroot
2023-06-25 5:37 ` François Perrad
2023-06-25 10:15 ` Yann E. MORIN
2023-06-27 2:02 ` Andreas Dannenberg via buildroot
2023-08-22 15:15 ` Thomas Petazzoni via buildroot
2023-06-27 22:48 ` Andreas Dannenberg via buildroot
2023-08-22 10:40 ` Thomas Petazzoni via buildroot
2023-06-22 16:02 ` [Buildroot] [PATCH v9 11/11] configs/am62x_sk_defconfig: enable IMG Rogue graphics driver Andreas Dannenberg via buildroot
2023-06-23 4:02 ` [Buildroot] [PATCH v9 00/11] add support for TI's AM64x and AM62x boards Patrick Oppenlander
2023-06-23 15:04 ` Andreas Dannenberg via buildroot
2023-08-22 10:14 ` Thomas Petazzoni via buildroot
2023-08-22 18:05 ` Thomas Petazzoni via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bd293d20-a3c8-d76d-e711-75daaa5ec136@mind.be \
--to=buildroot@buildroot.org \
--cc=arnout@mind.be \
--cc=dannenberg@ti.com \
--cc=romain.naour@smile.fr \
--cc=thomas.petazzoni@bootlin.com \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox