diff --git a/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot/enable-DT-overlays-support.patch b/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot/enable-DT-overlays-support.patch new file mode 100644 index 0000000..e31df42 --- /dev/null +++ b/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot/enable-DT-overlays-support.patch @@ -0,0 +1,12 @@ +diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig +index 0ed36cded..822ebb812 100644 +--- a/arch/arm/Kconfig ++++ b/arch/arm/Kconfig +@@ -578,6 +578,7 @@ config ARCH_SUNXI + select CMD_GPIO + select CMD_MMC if MMC + select CMD_USB if DISTRO_DEFAULTS ++ select OF_LIBFDT_OVERLAY + select DM + select DM_ETH + select DM_GPIO diff --git a/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot_%.bbappend b/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot_%.bbappend index 03ba5e9..fd344a2 100644 --- a/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot_%.bbappend +++ b/layers/meta-resin-allwinner/recipes-bsp/u-boot/u-boot_%.bbappend @@ -9,4 +9,5 @@ SRC_URI_append = " \ file://h3-enable-power-led.patch \ file://h3-set-safe-axi_apb-clock-dividers.patch \ file://h3-adjust-dram-frequency.patch \ + file://enable-DT-overlays-support.patch \ " \ No newline at end of file