Re: [PATCH v3 0/7] arm64: mediatek: Add initial MT6895 and Xiaomi Poco X4 GT support
From: Roman Vivchar
Date: Mon Nov 23 2026 - 07:04:41 EST
On Monday, November 23rd, 2026 at 1:59 PM, Alexander Letuchiy <asalde.le1@xxxxxxxxx> wrote:
> Hi Roman,
>
> On Mon Nov 23, 2026 at 2:41 PM MSK, Roman Vivchar wrote:
> > > Bootloader dependency
> > > ---------------------
> > > This was tested with a modified LK bootloader that is not public.
> >
> > How are other xaga users supposed to boot the kernel? You might want to
> > port uniLoader instead, or if you're on an old enough security patch you
> > can even replace stock LK with U-Boot. U-Boot chainloading is also
> > possible.
>
> Right now I am replacing the stock LK with a modified one that knows
> how to handle mainline DTs without expecting downstream Android nodes.
LK is known to mess up GPIO and clock state. The earlier you replace LK
the better.
>
> In an ideal world, I would like to replace LK directly with U-Boot as
> you suggested, though U-Boot chainloading or uniLoader are also valid
> options. Luckily, the security patch level isn't really a concern here —
> xaga is already EOL and hasn't received official firmware updates for a
> while, so LK replacement works across the final stock builds. I
> definitely plan to look into a proper open bootloader setup for other
> users in the future.
You can take a look at mt6768. It's not upstream, but we replace U-Boot
and TF-A with custom forks, as well as provide tooling to prepend
meditek-specific headers for the latter.
Best regards,
Roman