From 21b5a7e28820ae6c3599f8adff0c3cf7c227a278 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Sat, 20 Jan 2024 18:23:13 +0800 Subject: [PATCH] Update network configure to DHCP in yocto --- 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