[RFC] arm64: dts: use size of reserved partition for bl2

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Mon Apr 3 05:43:37 PDT 2023


Il 03/04/23 12:58, Frank Wunderlich ha scritto:
> From: Frank Wunderlich <frank-w at public-files.de>
> 
> To store uncompressed bl2 more space is required than partition is
> actually defined.
> 
> Signed-off-by: Frank Wunderlich <frank-w at public-files.de>

If this doesn't get changed anymore, I'm fine with it... but a question arises:
did you send patches to add your BPI-r3 board(s) to upstream u-boot?


> ---
> I used the definition i got from mtk used in their SDK uboot.
> 
> Openwrt uses also the first reserved partition to give bl2 more
> space:
> 
> https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3-nor.dts;h=f597b869abc80d1a73f44ebb85ad4da17376bb52;hb=HEAD#l22
> 
> so imho it should be same in mainline to not require complex bl2
> compression.

Regards,
Angelo




More information about the Linux-mediatek mailing list