[meta-freescale] [PATCH] support for more kernel image types than just only uImage
Silvio F.
silvio at port1024.net
Tue Apr 23 05:50:32 PDT 2013
Hi,
sorry for no text in the last mail. Please review and/or apply
Cheers,
Silvio
> ---
> 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
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
--
-- S. Fricke ---------------------------------------- silvio at port1024.net --
Diplom-Informatiker (FH) TEL: 0049-177-4675014
Linux-Entwicklung JABBER: silvio at conversation.port1024.net
-- Ina-Seidel-Bogen 45, D-81929 Muenchen -----------------------------------
More information about the meta-freescale
mailing list