[tiU20.01 PATCH] configs: am65x_evm_a53: Re order the overlay files

Lokesh Vutla lokeshvutla at ti.com
Tue Mar 17 07:44:26 CET 2020

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 <lokeshvutla at ti.com>
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_OVERLAY_LIST="k3-am654-pcie-usb2 k3-am654-idk"
+CONFIG_OF_OVERLAY_LIST="k3-am654-idk k3-am654-pcie-usb2"

More information about the U-Boot mailing list