From: Val Packett <val@packett.cool>
To: Aaron Kling <webgeek1234@gmail.com>,
Bjorn Andersson <andersson@kernel.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Kumar Sharma <quic_vksharma@quicinc.com>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Pavan Kondeti <pavan.kondeti@oss.qualcomm.com>
Subject: Re: [PATCH v2] arm64: dts: qcom: sm8550: Fix DTBO boot failure
Date: Sat, 28 Feb 2026 18:28:13 -0300 [thread overview]
Message-ID: <ad2c1f24-d205-4fb8-a79c-b955c0d08d40@packett.cool> (raw)
In-Reply-To: <CALHNRZ9eT+mEqaAbj0-My4DriKWP+WPy4M21caXhOJPQuuVNhA@mail.gmail.com>
On 2/16/26 11:27 PM, Aaron Kling wrote:
> On Fri, Feb 13, 2026 at 10:02 PM Bjorn Andersson <andersson@kernel.org> wrote:
>> On Fri, Feb 13, 2026 at 04:50:25PM -0600, Aaron Kling wrote:
>>> On Fri, Feb 13, 2026 at 2:34 PM Bjorn Andersson <andersson@kernel.org> wrote:
>>>> On Wed, Feb 11, 2026 at 09:10:39AM -0600, Aaron Kling wrote:
>>>>> On Mon, Feb 9, 2026 at 1:51 AM Krzysztof Kozlowski <krzk@kernel.org> wrote:
[…]
>>>>> My use case here is an open source Android rom. I would like to think
>>>>> that android would be a supported use case. Not necessarily a driving
>>>>> force for decisions, but at least supported. And I'm using the
>>>>> standard boot image v4 setup with dtb on vendor_boot and dtbo's on the
>>>>> dedicated partition. This isn't some weird and wacko setup, it's what
>>>>> the vast majority of devices this soc is used in are designed for.
>>>> Android isn't a weird and wacko setup; but I'm guessing that the
>>>> proposed changes aren't related to running Android, nor are they related
>>>> to dependencies of the overlays, but it rather relate to some
>>>> runtime-generated overlay that ABL wants to apply?
>>> I honestly can't say what the underlying cause is. A couple of us have
>>> looked at the public abl source and weren't able to find what causes
>>> this issue. We just know that this issue happens when abl tries to
>>> apply a dtbo off the dtbo partition. So yes, in technicality this is
>>> not an android specific issue. I mention android because having a dtbo
>>> is generally expected in the aosp setup. In my specific use case, I
>>> have four devices from the same odm, where it's simple to split the
>>> common part into a dts, then the device specific parts into dtso's,
>>> allowing for a single software build to support all four devices.
>>> Requiring everything to be baked into a dts would require separate
>>> vendor_boot images per device, and thus completely separate build
>>> targets.
[…]
>> Sounds like it, but I don't know what it is that ABL is expecting to be
>> able to insert. [0] seems to mostly say "I added this and then it works"
>> :(
What everyone (well, postmarketOS community at least) has been doing
when running mainline kernels on ABL devices is `fastboot erase
dtbo`(*). Which is why we don't have any DTBO target nodes anywhere
upstream.
If you want to intentionally use ABL DTBO, and you're absolutely sure
you **don't** reference these nodes in the DTBOs you're making, then
indeed it might be some "runtime overlay" coming from ABL code.. but
have you tried adding these nodes in the DTBOs themselves?
Wait, also, what is the build process for your DTBOs? Could there be
some weird Android build thing that inserts references to these nodes?
Have you tried decompiling them with dtc and looking at the resulting dts?
Also have you looked into intermediate bootloaders as an alternative?
postmarketOS uses lk2nd on ancient devices and U-Boot on modern ones;
these bootloaders can dynamically choose (or even modify) a DTB based on
runtime detection (like ABL cmdline). Might be hard/strange to fit that
into the Android world but well, that's Android's fault :)
(*) except on some old SoCs where we need a "blank" dtbo that just has
qcom,board-id! https://github.com/barni2000/dtbo-lk2nd (cursed)
~val
next prev parent reply other threads:[~2026-02-28 21:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-08 1:16 Aaron Kling via B4 Relay
2026-02-08 9:07 ` Krzysztof Kozlowski
2026-02-08 15:10 ` Aaron Kling
2026-02-09 7:51 ` Krzysztof Kozlowski
2026-02-11 15:10 ` Aaron Kling
2026-02-13 15:01 ` Krzysztof Kozlowski
2026-02-13 20:34 ` Bjorn Andersson
2026-02-13 22:50 ` Aaron Kling
2026-02-14 4:02 ` Bjorn Andersson
2026-02-17 2:27 ` Aaron Kling
2026-02-28 21:28 ` Val Packett [this message]
2026-02-08 22:59 ` Bjorn Andersson
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=ad2c1f24-d205-4fb8-a79c-b955c0d08d40@packett.cool \
--to=val@packett.cool \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavan.kondeti@oss.qualcomm.com \
--cc=quic_vksharma@quicinc.com \
--cc=robh@kernel.org \
--cc=webgeek1234@gmail.com \
/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
all inboxes | Powered by JetHome®