[PATCH RFC v3] media: mediatek: mdp: Keep component suppliers powered while streaming
Ryan Brue
ryanbrue.dev at gmail.com
Fri Nov 13 06:28:34 PST 2026
Hi Youngjoon,
On 11/13/26 5:40 AM, YoungJoon Lee wrote:
> Out of curiosity, are you working on mainline Linux support for the
> Fire HD 10? Your mention of the board DTS being under review caught my
> eye. I’d be interested to hear how you’re booting and running Linux on
> it.
I am [1]!
The original boot sequence is something like BROM -> Preloader -> TF-A
-> LK -> Kernel (simplified)
Back in the day there was an old boot exploit you could use to unlock
the bootloader and allow booting other kernels [2]. This let me replace
the vendor Fire OS kernel with an upstream Linux kernel (with
modifications of course).
Almost everything from that is upstreamable from that, EXCEPT the lack
of proper PSCI 1.0. Amazon's TF-A is PSCI 0.2, and a broken version of
it, so it's more like PSCI 0.1 in practice. The upstream kernel expects
PSCI 1.0 or a spin table, and with a spin table my understanding is
you're giving up proper deep sleep.
There's a newer unlock [3] that works at the preloader-level, allowing
us to replace TF-A with upstream TF-A (supporting PSCI 1.1!). I'm also
replacing LK with U-Boot, because LK has some arbitrary restrictions on
kernel size that I had to figure out by trial-and-error annoyingly.
I'm not the only one working on Fire devices for upstream. I'm aware of
Ben Grisdale working on the SoC and DT for an Echo device [4]. More will
likely come in the future. I personally am working on the Amazon Fire TV
Stick (3rd Generation) and I'll be cleaning up more patches for it as I
wrap up the tablet support.
[1]
https://lore.kernel.org/all/20261111-rbrue-suez-upstreaming-amazon-suez-dts-v1-0-77b47cdea702@gmail.com/
[2]
https://xdaforums.com/t/unlock-root-twrp-unbrick-fire-hd-10-2017-suez.3913639/
[3] https://github.com/R0rt1z2/amonet-koboreru
[4]
https://lore.kernel.org/all/20261105-arm64-initial-support-for-mediatek-mt8163-soc-v2-0-e68d7d428f99@protonmail.ch/
Best Regards,
Ryan Brue
More information about the Linux-mediatek
mailing list