diff mbox series

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

Message ID 20200317064426.27734-1-lokeshvutla@ti.com
State New
Headers show
Series [tiU20.01] configs: am65x_evm_a53: Re order the overlay files | expand

Commit Message

Lokesh Vutla March 17, 2020, 6:44 a.m. UTC
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(-)

Comments

Lokesh Vutla March 17, 2020, 6:46 a.m. UTC | #1
On 17/03/20 12:14 PM, Lokesh Vutla wrote:
> 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>

Sorry please ignore this patch.

Thanks and regards,
Lokesh
diff mbox series

Patch

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