All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Robert Marko <robert.marko@sartura.hr>
Cc: Andrey VOLKOV <andrey@volkov.fr>,
	Ramon Fried <rfried.dev@gmail.com>,
	u-boot@lists.denx.de
Subject: Re: [PATCH 1/2] mach-snapdragon/mach-ipq40xx: fix, merge and refactoring
Date: Tue, 8 Nov 2022 10:26:40 -0500	[thread overview]
Message-ID: <20221108152640.GS6335@bill-the-cat> (raw)
In-Reply-To: <CA+HBbNFBHW=NY0UYpdmmZ1RrU7FRMgpu9RHUkLbJvuOncLfzoA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2459 bytes --]

On Tue, Nov 08, 2022 at 04:23:16PM +0100, Robert Marko wrote:
> On Tue, Nov 8, 2022 at 4:20 PM Tom Rini <trini@konsulko.com> wrote:
> >
> > On Sun, Nov 06, 2022 at 02:52:56AM +0100, Andrey VOLKOV wrote:
> > > Hi Robert, Tom,
> > >
> > > Updated patches are following, could you review/accept them?
> > >
> > > Le 04/11/2022 à 12:05, Robert Marko a écrit :
> > > > On Tue, Oct 25, 2022 at 3:31 AM Andrey Volkov<andrey@volkov.fr>  wrote:
> > > >> SoC: qcom: Add missing Qualcomm's SOCs definitions to the arch KConfig
> > > >>
> > > >> From: Andrey VOLKOV<andrey@volkov.fr>
> > > >>
> > > >> Add APQ8016/APQ8096/QCS40X decls to the KConfig, convert SDM845 declaration to the hidden one (selected by target),
> > > >> and update mach-snapdragon/Makefile accordingly.
> > > >>
> > > >> Also move 'CONFIG_ARM64' choice to the new declarations, since 'Snapdragon' contains Cortex A7A members too.
> > > >>
> > > >> Signed-off-by: Andrey VOLKOV<andrey@volkov.fr>
> > > > I like this cleanup effort, however, can you rebase this to apply on the master?
> > > > I would like to use this as a base of moving IPQ40xx to use Linux DTS
> > > > and keep it in sync.
> > >
> > > It's nice idea, except that full blown DTS is huge enough (+some KiB at least),
> > > and i'm afraid it's an old, old story about failing to make it :(.
> > > Probably will be better if we will have some option that allowed to import and
> > > reuse DTS files directly from the kernel.
> > > Something like CONFIG_DTS_FILE_PATH/CONFIG_DTS_INCLUDES/...
> > >
> > > @Tom, any additional comments/objections?
> > >
> > > Btw As far as I remember, this topic (reuse kernel's DTS) has been discussed
> > > repeatedly since the mid-2000s, but I don't remember why it was not implemented yet.
> >
> > Is the problem that the full DTS would make the resulting binary too
> > large to fit in some restricted and can't be changed easily space?
> > Generally we do want to keep the DTS files in-sync with the kernel.
> 
> Most IPQ40xx devices have a slot of 512kB left for the bootloader
> which cannot be easily
> expanded, however, that should still be enough for synced DTS anyway.

This is about what I was expecting. And if we need to develop more
tooling to better support this, that's a problem we should solve. We do
have for example MULTI_DTB_FIT_GZIP (or LZO) but it might need a bit
more tweaking to be available / usable in all cases?

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2022-11-08 15:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-25  1:31 [PATCH 1/2] mach-snapdragon/mach-ipq40xx: fix, merge and refactoring Andrey Volkov
2022-11-04 11:05 ` Robert Marko
2022-11-06  1:52   ` Andrey VOLKOV
2022-11-08 15:20     ` Tom Rini
2022-11-08 15:23       ` Robert Marko
2022-11-08 15:26         ` Tom Rini [this message]
2022-11-06  1:52   ` [PATCH v2 1/2] SoC: qcom: Add missing Qualcomm's SOCs definitions to the arch KConfig Andrey VOLKOV
2022-11-06  1:52   ` [PATCH v2 2/2] ipq40xx/snapdragon: Merge the two, more than 90% overlapping Qualcomm's Snapdrgon based arches, into one: "mach-snapdragon" Andrey VOLKOV
2022-11-08 15:26     ` Robert Marko
2022-11-12 21:46       ` Andrey VOLKOV
2022-11-12 21:46       ` [PATCH v3 1/2] SoC: qcom: Add missing Qualcomm's SOCs definitions to the arch KConfig Andrey VOLKOV
2022-11-12 21:46       ` [PATCH v3 2/2] ipq40xx/snapdragon: Merge the two, more than 90% overlapping Qualcomm's Snapdrgon based arches, into one: "mach-snapdragon" Andrey VOLKOV

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=20221108152640.GS6335@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=andrey@volkov.fr \
    --cc=rfried.dev@gmail.com \
    --cc=robert.marko@sartura.hr \
    --cc=u-boot@lists.denx.de \
    /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 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.