From patchwork Tue Mar 17 06:44:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lokesh Vutla X-Patchwork-Id: 243732 List-Id: U-Boot discussion From: lokeshvutla at ti.com (Lokesh Vutla) Date: Tue, 17 Mar 2020 12:14:26 +0530 Subject: [tiU20.01 PATCH] configs: am65x_evm_a53: Re order the overlay files Message-ID: <20200317064426.27734-1-lokeshvutla@ti.com> In case of SPL_LOAD_FIT_APPLY_OVERLAY, overlay files are applied in the order as specified in overlay structure in board/ti/am65x/evm.c: - k3-am654-gp.dtbo - k3-am654-idk.dtbo - k3-am654-pcie-usb2.dtbo - k3-am654-pcie-usb3.dtbo - k3-am654-evm-oldi-lcd1evm.dtbo Since it is peripheral boot and overlays are applied on the fly, if the above order is not maintained, specific overlays cannot be applied as images would have already loaded and got discarded. So create u-boot.img with the above order. Signed-off-by: Lokesh Vutla --- Fixes: LCPD-18310 - In general I see this restriction in ovelays a problem, as this issue can occur whenever a new overlay is added. May be in future we should re think on overlay design. configs/am65x_evm_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 01d66554f9..659161441f 100644 --- a/configs/am65x_evm_a53_defconfig +++ b/configs/am65x_evm_a53_defconfig @@ -60,7 +60,7 @@ CONFIG_CMD_UBI=y CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y CONFIG_DEFAULT_DEVICE_TREE="k3-am654-base-board" -CONFIG_OF_OVERLAY_LIST="k3-am654-pcie-usb2 k3-am654-idk" +CONFIG_OF_OVERLAY_LIST="k3-am654-idk k3-am654-pcie-usb2" CONFIG_SPL_MULTI_DTB_FIT=y CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y CONFIG_ENV_IS_IN_MMC=y