Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C7054E014DE for ; Tue, 23 Apr 2013 05:43:01 -0700 (PDT) Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Zw47m06KYz3hhgB for ; Tue, 23 Apr 2013 14:42:59 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3Zw47l4SMdzbbyp for ; Tue, 23 Apr 2013 14:42:59 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id FpDjegdkCg4q for ; Tue, 23 Apr 2013 14:42:58 +0200 (CEST) Received: from port1024.net (ppp-188-174-22-65.dynamic.mnet-online.de [188.174.22.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Tue, 23 Apr 2013 14:42:58 +0200 (CEST) Received: from sfrouter.localdomain ([127.0.0.1] helo=localhost) by port1024.net with esmtp (Exim 4.80.1) (envelope-from ) id 1UUcYk-0007Qy-2s for meta-freescale@yoctoproject.org; Tue, 23 Apr 2013 14:42:58 +0200 Date: Tue, 23 Apr 2013 14:42:57 +0200 From: Silvio To: meta-freescale@yoctoproject.org Message-ID: <20130423124257.GB27202@sfrouter> MIME-Version: 1.0 User-Agent: Mutt/1.5.21 (2011-07-01) Subject: [PATCH] support for more kernel image types than just only uImage X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2013 12:43:03 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --- classes/image_types_fsl.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index b803aef..b894495 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass @@ -118,7 +118,7 @@ generate_imx_sdcard () { BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDCARD} unit b print \ | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 1024 }') mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS - mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ::/uImage + mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin ::/${KERNEL_IMAGETYPE} # Copy boot scripts for item in ${BOOT_SCRIPTS}; do @@ -221,7 +221,7 @@ generate_mxs_sdcard () { | awk '/ 2 / { print substr($4, 1, length($4 -1)) / 1024 }') mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS - mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ::/uImage + mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin ::/${KERNEL_IMAGETYPE} if test -n "${KERNEL_DEVICETREE}"; then for DTS_FILE in ${KERNEL_DEVICETREE}; do DTS_BASE_NAME=`basename ${DTS_FILE} | awk -F "." '{print $1}'` -- 1.8.2.1