From ad923ea232ca60c999b9cc94faccc3b14c2fe3e0 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 26 Dec 2023 10:28:15 +0800
Subject: [PATCH] Update meta-igkboard to add igkboard-imx6ull support

---
 yocto/meta-igkboard/recipes-bsp/u-boot/u-boot-imx_%.bbappend |   22 +++-------------------
 1 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/yocto/meta-igkboard/recipes-bsp/u-boot/u-boot-imx_%.bbappend b/yocto/meta-igkboard/recipes-bsp/u-boot/u-boot-imx_%.bbappend
index 344a567..9675d97 100644
--- a/yocto/meta-igkboard/recipes-bsp/u-boot/u-boot-imx_%.bbappend
+++ b/yocto/meta-igkboard/recipes-bsp/u-boot/u-boot-imx_%.bbappend
@@ -1,23 +1,7 @@
 FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
 SRC_URI:append = " file://uboot-imx-lf-6.1.36-2.1.0.patch "
 
-do_deploy:append:igkboardbase() {
-    # Deploy u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary
-    if [ -n "${UBOOT_CONFIG}" ]
-    then
-        for config in ${UBOOT_MACHINE}; do
-            i=$(expr $i + 1);
-            for type in ${UBOOT_CONFIG}; do
-                j=$(expr $j + 1);
-                if [ $j -eq $i ]
-                then
-                    install -d ${DEPLOYDIR}/${BOOT_TOOLS}
-                    install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME}  ${DEPLOYDIR}/${BOOT_TOOLS}
-                    install -m 0777 ${B}/${config}/u-boot-nodtb.bin  ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${type}
-                fi
-            done
-            unset  j
-        done
-        unset  i
-    fi
+addtask copy_logo after do_unpack before do_configure
+do_copy_logo(){
+    cp ${BSPDIR}/sources/meta-igkboard/recipes-bsp/u-boot/files/uboot-logo-${MACHINE}.bmp ${S}/tools/logos/lingyun.bmp
 }

--
Gitblit v1.9.1