Skip to contentSkip to conversation

allow user-provided WKS_FILE

PATCH In review Trevor Woerner 2 participants 4 messages Jan 29, 2024 – Feb 5, 2024 1 message not in the archive Arm Rockchip

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 allow user-provided WKS_FILE

Allow the user to provide their own WKS_FILE in situations where they want a different layout (e.g. to support A/B updates).

---
 conf/machine/include/rockchip-wic.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/rockchip-wic.inc +1 -1
index b1ca27cdd0a2..67a8310f7d6a 100644
@@ -3,7 +3,7 @@
 SPL_BINARY ?= "idbloader.img"
 
 IMAGE_FSTYPES += "wic wic.bmap"
-WKS_FILE = "rockchip.wks"
+WKS_FILE ?= "rockchip.wks"
 WKS_FILE_DEPENDS ?= " \
 	mtools-native \
 	dosfstools-native \
Signature · 1 line
2.43.0.76.g1a87c842ece3
#1 lore raw

PATCH 2/2 rename u-boot bbappend

The bbappend provided in this layer only needs to apply to the u-boot_<version> file itself and not all u-boot files in oe-core.

---
 recipes-bsp/u-boot/{u-boot%.bbappend => u-boot_%.bbappend} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-bsp/u-boot/{u-boot%.bbappend => u-boot_%.bbappend} (100%)
recipes-bsp/u-boot/u-boot_%.bbappend renamed from recipes-bsp/u-boot/u-boot%.bbappend +0 -0
similarity index 100%
rename from recipes-bsp/u-boot/u-boot%.bbappend
rename to recipes-bsp/u-boot/u-boot_%.bbappend
Signature · 1 line
2.43.0.76.g1a87c842ece3
author Applied
#4 lore raw

Re: [yocto] [meta-rockchip][PATCH 2/2] rename u-boot bbappend

In reply to a message not in the archive
Quoted 8 lines · Trevor Woerner via lists.yoctoproject.org

The bbappend provided in this layer only needs to apply to the u-boot_<version> file itself and not all u-boot files in oe-core.

---
 recipes-bsp/u-boot/{u-boot%.bbappend => u-boot_%.bbappend} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-bsp/u-boot/{u-boot%.bbappend => u-boot_%.bbappend} (100%)

Applied to meta-rockchip, master branch.

#2 lore raw

Re: [yocto] [meta-rockchip][PATCH 2/2] rename u-boot bbappend

In reply to Trevor Woerner

Hi Trevor,

Quoted 3 lines · Trevor Woerner via lists.yoctoproject.org

The bbappend provided in this layer only needs to apply to the u-boot_<version> file itself and not all u-boot files in oe-core.

Well.... We need BL31 and ROCKCHIP_TPL environment variables set, as well as the proper dependencies set, and that, for all U-Boot recipes. So now I'll have to copy those in my own U-Boot recipe(s) :)

I'm not against the change, just that some parts inside that bbappend made sense to apply to more than just u-boot_% recipes :).

Cheers,
Quentin