[PATCH] mips: mtmips: align MT7621 image blobs to 8-byte boundary
Weijie Gao
weijie.gao at mediatek.com
Mon Apr 13 05:45:35 CEST 2026
Hi Shiji,
On Sun, 2026-04-12 at 20:12 +0800, Shiji Yang wrote:
>
> MT7621 doesn't boot on u-boot v2026.04. Fix it by correcting the
> u-boot aligned offset.
>
> Fixes: d9e183a04c92 ("MIPS: Assure end of U-Boot is at 8-byte aligned
> offset")
> Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
> ---
> arch/mips/dts/mt7621-u-boot.dtsi | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Weijie Gao <weijie.gao at mediatek.com>
>
> diff --git a/arch/mips/dts/mt7621-u-boot.dtsi b/arch/mips/dts/mt7621-
> u-boot.dtsi
> index fbac2ade25a..a6e585a0853 100644
> --- a/arch/mips/dts/mt7621-u-boot.dtsi
> +++ b/arch/mips/dts/mt7621-u-boot.dtsi
> @@ -47,13 +47,13 @@
>
> &binman {
> u-boot-spl-ddr {
> - align = <4>;
> - align-size = <4>;
> + align = <8>;
> + align-size = <8>;
> filename = "u-boot-spl-ddr.bin";
> pad-byte = <0xff>;
>
> u-boot-spl {
> - align-end = <4>;
> + align-end = <8>;
> filename = "u-boot-spl.bin";
> };
>
> @@ -90,7 +90,7 @@
>
> #ifndef CONFIG_MT7621_BOOT_FROM_NAND
> u-boot-tpl {
> - align-end = <4>;
> + align-end = <8>;
> filename = "u-boot-tpl.bin";
> };
> #endif
> --
> 2.53.0
>
More information about the U-Boot
mailing list