Message ID | 20231011111936.165581-1-dmitry.baryshkov@linaro.org |
---|---|
State | New |
Headers | show |
Series | arm64: dts: qcom: pad sa8155p-adp DTB file | expand |
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index d6cb840b7050..606ca0d97cc2 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -96,6 +96,9 @@ dtb-$(CONFIG_ARCH_QCOM) += qrb5165-rb5.dtb dtb-$(CONFIG_ARCH_QCOM) += qrb5165-rb5-vision-mezzanine.dtb dtb-$(CONFIG_ARCH_QCOM) += qru1000-idp.dtb dtb-$(CONFIG_ARCH_QCOM) += sa8155p-adp.dtb + +DTC_FLAGS_sa8155p-adp := --pad 1024 + dtb-$(CONFIG_ARCH_QCOM) += sa8295p-adp.dtb dtb-$(CONFIG_ARCH_QCOM) += sa8540p-ride.dtb dtb-$(CONFIG_ARCH_QCOM) += sa8775p-ride.dtb
On sa8155p-adp platfor the bootloader (ABL) fails to reserve enough memory for updating the DTB: Cmdline: console=tty0 console=ttyMSM0,115200n8 androidboot.verifiedbootstate Error adding node Error carving out UEFI memory: FFFFFFFF Adding `--pad 1024' to DTC_FLAGS for this board fixes the issue by providing enough empty space for node creation. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- This replaces my previous attempt, which added DTC_FLAGS globally ([1]), which was rejected. [1] https://lore.kernel.org/linux-arm-msm/20231009172717.2695854-1-dmitry.baryshkov@linaro.org/ --- arch/arm64/boot/dts/qcom/Makefile | 3 +++ 1 file changed, 3 insertions(+)