All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] support for more kernel image types than just only uImage
@ 2013-04-23 12:42 Silvio
  2013-04-23 12:47 ` Daiane Angolini
  2013-04-23 12:50 ` Silvio F.
  0 siblings, 2 replies; 7+ messages in thread
From: Silvio @ 2013-04-23 12:42 UTC (permalink / raw)
  To: meta-freescale

---
 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



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] support for more kernel image types than just only uImage
  2013-04-23 12:42 [PATCH] support for more kernel image types than just only uImage Silvio
@ 2013-04-23 12:47 ` Daiane Angolini
  2013-04-23 12:55   ` Silvio F.
  2013-04-23 12:50 ` Silvio F.
  1 sibling, 1 reply; 7+ messages in thread
From: Daiane Angolini @ 2013-04-23 12:47 UTC (permalink / raw)
  To: Silvio; +Cc: meta-freescale

On 04/23/2013 09:42 AM, Silvio wrote:
> ---
>   classes/image_types_fsl.bbclass | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

Beautiful!

I believe it will work for linux-fslc as well, but, did you tested it?

Which board did you used to test it?

-- 
Daiane



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] support for more kernel image types than just only uImage
  2013-04-23 12:42 [PATCH] support for more kernel image types than just only uImage Silvio
  2013-04-23 12:47 ` Daiane Angolini
@ 2013-04-23 12:50 ` Silvio F.
  1 sibling, 0 replies; 7+ messages in thread
From: Silvio F. @ 2013-04-23 12:50 UTC (permalink / raw)
  To: meta-freescale

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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale

-- 
-- S. Fricke ---------------------------------------- silvio@port1024.net --
   Diplom-Informatiker (FH)         TEL:                 0049-177-4675014
   Linux-Entwicklung             JABBER: silvio@conversation.port1024.net   
-- Ina-Seidel-Bogen 45, D-81929 Muenchen -----------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] support for more kernel image types than just only uImage
  2013-04-23 12:47 ` Daiane Angolini
@ 2013-04-23 12:55   ` Silvio F.
  2013-04-23 13:06     ` Daiane Angolini
  2013-04-23 15:57     ` Daiane Angolini
  0 siblings, 2 replies; 7+ messages in thread
From: Silvio F. @ 2013-04-23 12:55 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale


> Beautiful!
> 
> I believe it will work for linux-fslc as well, but, did you tested it?
> 
> Which board did you used to test it?

I have test it on a 3rd party board, based on a own machine.conf. But on a
sabrelite it works.

Bye,
Silvio


-- 
-- S. Fricke ---------------------------------------- silvio@port1024.net --
   Diplom-Informatiker (FH)         TEL:                 0049-177-4675014
   Linux-Entwicklung             JABBER: silvio@conversation.port1024.net   
-- Ina-Seidel-Bogen 45, D-81929 Muenchen -----------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] support for more kernel image types than just only uImage
  2013-04-23 12:55   ` Silvio F.
@ 2013-04-23 13:06     ` Daiane Angolini
  2013-04-23 15:57     ` Daiane Angolini
  1 sibling, 0 replies; 7+ messages in thread
From: Daiane Angolini @ 2013-04-23 13:06 UTC (permalink / raw)
  To: Silvio F.; +Cc: meta-freescale

On 04/23/2013 09:55 AM, Silvio F. wrote:
>
>> Beautiful!
>>
>> I believe it will work for linux-fslc as well, but, did you tested it?
>>
>> Which board did you used to test it?
>
> I have test it on a 3rd party board, based on a own machine.conf. But on a
> sabrelite it works.

OK.

I can test it for imx28evk


-- 
Daiane



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] support for more kernel image types than just only uImage
  2013-04-23 12:55   ` Silvio F.
  2013-04-23 13:06     ` Daiane Angolini
@ 2013-04-23 15:57     ` Daiane Angolini
  2013-04-23 17:33       ` Otavio Salvador
  1 sibling, 1 reply; 7+ messages in thread
From: Daiane Angolini @ 2013-04-23 15:57 UTC (permalink / raw)
  To: Silvio F.; +Cc: meta-freescale

On 04/23/2013 09:55 AM, Silvio F. wrote:
>
>> Beautiful!
>>
>> I believe it will work for linux-fslc as well, but, did you tested it?
>>
>> Which board did you used to test it?
>
> I have test it on a 3rd party board, based on a own machine.conf. But on a
> sabrelite it works.
>

Could you, please, resend your patch using git send email?

https://github.com/Freescale/fsl-community-bsp-platform

Please, base your changes on master. And make sure your patch is applicable.

When you send v2 I test it for imx28evk.

-- 
Daiane



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] support for more kernel image types than just only uImage
  2013-04-23 15:57     ` Daiane Angolini
@ 2013-04-23 17:33       ` Otavio Salvador
  0 siblings, 0 replies; 7+ messages in thread
From: Otavio Salvador @ 2013-04-23 17:33 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org, Silvio F.

On Tue, Apr 23, 2013 at 12:57 PM, Daiane Angolini
<daiane.angolini@freescale.com> wrote:
> On 04/23/2013 09:55 AM, Silvio F. wrote:
>>
>>
>>> Beautiful!
>>>
>>> I believe it will work for linux-fslc as well, but, did you tested it?
>>>
>>> Which board did you used to test it?
>>
>>
>> I have test it on a 3rd party board, based on a own machine.conf. But on a
>> sabrelite it works.
>>
>
> Could you, please, resend your patch using git send email?
>
> https://github.com/Freescale/fsl-community-bsp-platform
>
> Please, base your changes on master. And make sure your patch is applicable.
>
> When you send v2 I test it for imx28evk.

And please follow the Yocto commit message style:

https://wiki.yoctoproject.org/wiki/Contribution_Guidelines#Patch_Headers_and_Commit_Messages

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-23 17:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-23 12:42 [PATCH] support for more kernel image types than just only uImage Silvio
2013-04-23 12:47 ` Daiane Angolini
2013-04-23 12:55   ` Silvio F.
2013-04-23 13:06     ` Daiane Angolini
2013-04-23 15:57     ` Daiane Angolini
2013-04-23 17:33       ` Otavio Salvador
2013-04-23 12:50 ` Silvio F.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.