diff --git a/layers/meta-balena-allwinner/recipes-bsp/u-boot/files/0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch b/layers/meta-balena-allwinner/recipes-bsp/u-boot/files/0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch deleted file mode 100644 index fcef320..0000000 --- a/layers/meta-balena-allwinner/recipes-bsp/u-boot/files/0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch +++ /dev/null @@ -1,26 +0,0 @@ -From f4a77da23b3890b53efab6a927cbe99b76ef3b26 Mon Sep 17 00:00:00 2001 -From: Florin Sarbu -Date: Wed, 12 Sep 2018 14:22:49 +0200 -Subject: [PATCH] nanopi_neo_air_defconfig: Enable eMMC support - -Upstream-status: Pending -Signed-off-by: Florin Sarbu ---- - configs/nanopi_neo_air_defconfig | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/configs/nanopi_neo_air_defconfig b/configs/nanopi_neo_air_defconfig -index ca9c2dd..74ce044 100644 ---- a/configs/nanopi_neo_air_defconfig -+++ b/configs/nanopi_neo_air_defconfig -@@ -10,6 +10,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-neo-air" - # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set - CONFIG_CONSOLE_MUX=y - CONFIG_SPL=y -+CONFIG_MMC_SUNXI_SLOT_EXTRA=2 - # CONFIG_CMD_FLASH is not set - # CONFIG_SPL_DOS_PARTITION is not set - # CONFIG_SPL_ISO_PARTITION is not set --- -2.7.4 - diff --git a/layers/meta-balena-allwinner/recipes-bsp/u-boot/files/resin-specific-env-integration-kconfig.patch b/layers/meta-balena-allwinner/recipes-bsp/u-boot/files/resin-specific-env-integration-kconfig_reworked.patch similarity index 100% rename from layers/meta-balena-allwinner/recipes-bsp/u-boot/files/resin-specific-env-integration-kconfig.patch rename to layers/meta-balena-allwinner/recipes-bsp/u-boot/files/resin-specific-env-integration-kconfig_reworked.patch diff --git a/layers/meta-balena-allwinner/recipes-bsp/u-boot/u-boot_2018.09.bbappend b/layers/meta-balena-allwinner/recipes-bsp/u-boot/u-boot_2018.09.bbappend index dea9d99..8c9a573 100644 --- a/layers/meta-balena-allwinner/recipes-bsp/u-boot/u-boot_2018.09.bbappend +++ b/layers/meta-balena-allwinner/recipes-bsp/u-boot/u-boot_2018.09.bbappend @@ -1,17 +1,13 @@ UBOOT_KCONFIG_SUPPORT = "1" inherit resin-u-boot +FILESEXTRAPATHS_append := ":${THISDIR}/files" -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +# remove the resin-specific-env-integration-kconfig.patch patch from +# meta-sunxi because it fails to apply +SRC_URI_remove = "file://resin-specific-env-integration-kconfig.patch" -#remove the resin-specific-env-integration-kconfig.patch patch from meta-resin -#and the 0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch patch from -#meta-sunxi because these fail to apply -SRC_URI_remove = "file://0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch \ - file://resin-specific-env-integration-kconfig.patch" - -#Add updated patches for 0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch -#and for 0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch -SRC_URI += "file://0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch \ - file://0001-Add-Resin-specific-boot-command.patch \ - file://resin-specific-env-integration-kconfig.patch \ - " +# Add re-worked patch resin-specific-env-integration-kconfig_reworked.patch +SRC_URI_append = " \ + file://0001-Add-Resin-specific-boot-command.patch \ + file://resin-specific-env-integration-kconfig_reworked.patch \ + "