Skip to contentSkip to conversation

kernel: fitimage: deploy real fit-image

PATCH New Denys Dmytriyenko 1 participant 1 message Jul 21, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel: fitimage: deploy real fit-image

From: Gaël PORTAY <[email protected]>

Currently, do_deploy installs a standard kernel image as an ITB. This image is linux.bin and it is prepared by uboot_prep_kimage.

The real kernel fit-image is build under arch/${ARCH}/boot/fitImage.

This patch deploys the real fit-image instead of the one prepared by u-boot and which is included in the ITB.

Note: this patch only concerns fit-images without initramfs.

---
 meta-arago-distro/classes/kernel-fitimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/classes/kernel-fitimage.bbclass +1 -1
index 3a4da6d..1249644 100644
@@ -578,7 +578,7 @@ kernel_do_deploy_append() {
 		cd ${B}
 		echo "Copying fit-image.its source file..."
 		install -m 0644 fit-image.its ${DEPLOYDIR}/${FITIMAGE_ITS_IMAGE}
-		install -m 0644 linux.bin ${DEPLOYDIR}/${FITIMAGE_ITB_IMAGE}
+		install -m 0644 arch/${ARCH}/boot/fitImage ${DEPLOYDIR}/${FITIMAGE_ITB_IMAGE}
 
 		if [ -n "${INITRAMFS_IMAGE}" ]; then
 			echo "Copying fit-image-${INITRAMFS_IMAGE}.its source file..."
Signature · 1 line
2.7.4