All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-ppc][PATCH] u-boot: correct path to config files
@ 2012-08-10 22:48 Vladimir Zapolskiy
  2012-08-13 20:52 ` McClintock Matthew-B29882
  2012-08-13 22:24 ` McClintock Matthew-B29882
  0 siblings, 2 replies; 5+ messages in thread
From: Vladimir Zapolskiy @ 2012-08-10 22:48 UTC (permalink / raw)
  To: yocto; +Cc: Matthew McClintock

The trivial change fixes u-boot compilation task, boot_format utility installs
board configuration files into a subdirectory of STAGING_DATADIR_NATIVE.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Cc: Matthew McClintock <msm@freescale.com>
---
 recipes-kernel/u-boot/u-boot_git.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/u-boot/u-boot_git.bb b/recipes-kernel/u-boot/u-boot_git.bb
index 8ced122..4dfb723 100644
--- a/recipes-kernel/u-boot/u-boot_git.bb
+++ b/recipes-kernel/u-boot/u-boot_git.bb
@@ -59,7 +59,7 @@ do_compile () {
 				cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
 			else
 				${STAGING_BINDIR_NATIVE}/boot_format \
-					${STAGING_DATADIR_NATIVE}/${BOOTFORMAT_CONFIG} \
+					${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \
 					${S}/${board}/u-boot.bin -spi ${S}/${board}/${UBOOT_TARGET}.bin
 			fi 
 		fi
-- 
1.7.10.4



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

* Re: [meta-fsl-ppc][PATCH] u-boot: correct path to config files
  2012-08-10 22:48 [meta-fsl-ppc][PATCH] u-boot: correct path to config files Vladimir Zapolskiy
@ 2012-08-13 20:52 ` McClintock Matthew-B29882
  2012-08-13 21:28   ` Vladimir Zapolskiy
  2012-08-13 22:24 ` McClintock Matthew-B29882
  1 sibling, 1 reply; 5+ messages in thread
From: McClintock Matthew-B29882 @ 2012-08-13 20:52 UTC (permalink / raw)
  To: Vladimir Zapolskiy; +Cc: yocto@yoctoproject.org

On Fri, Aug 10, 2012 at 5:48 PM, Vladimir Zapolskiy
<vladimir_zapolskiy@mentor.com> wrote:
> The trivial change fixes u-boot compilation task, boot_format utility installs
> board configuration files into a subdirectory of STAGING_DATADIR_NATIVE.
>
> Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
> Cc: Matthew McClintock <msm@freescale.com>
> ---
>  recipes-kernel/u-boot/u-boot_git.bb |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-kernel/u-boot/u-boot_git.bb b/recipes-kernel/u-boot/u-boot_git.bb
> index 8ced122..4dfb723 100644
> --- a/recipes-kernel/u-boot/u-boot_git.bb
> +++ b/recipes-kernel/u-boot/u-boot_git.bb
> @@ -59,7 +59,7 @@ do_compile () {
>                                 cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
>                         else
>                                 ${STAGING_BINDIR_NATIVE}/boot_format \
> -                                       ${STAGING_DATADIR_NATIVE}/${BOOTFORMAT_CONFIG} \
> +                                       ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \

What is this applying against? The current versions of boot-format in
meta-fsl-ppc master install to /usr/share/... and this patch seems to
break things.

-M

>                                         ${S}/${board}/u-boot.bin -spi ${S}/${board}/${UBOOT_TARGET}.bin
>                         fi
>                 fi
> --
> 1.7.10.4
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: [meta-fsl-ppc][PATCH] u-boot: correct path to config files
  2012-08-13 20:52 ` McClintock Matthew-B29882
@ 2012-08-13 21:28   ` Vladimir Zapolskiy
  2012-08-13 21:43     ` McClintock Matthew-B29882
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir Zapolskiy @ 2012-08-13 21:28 UTC (permalink / raw)
  To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org

On 13.08.2012 23:52, McClintock Matthew-B29882 wrote:
> On Fri, Aug 10, 2012 at 5:48 PM, Vladimir Zapolskiy
> <vladimir_zapolskiy@mentor.com>  wrote:
>> The trivial change fixes u-boot compilation task, boot_format utility installs
>> board configuration files into a subdirectory of STAGING_DATADIR_NATIVE.
>>
>> Signed-off-by: Vladimir Zapolskiy<vladimir_zapolskiy@mentor.com>
>> Cc: Matthew McClintock<msm@freescale.com>
>> ---
>>   recipes-kernel/u-boot/u-boot_git.bb |    2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/recipes-kernel/u-boot/u-boot_git.bb b/recipes-kernel/u-boot/u-boot_git.bb
>> index 8ced122..4dfb723 100644
>> --- a/recipes-kernel/u-boot/u-boot_git.bb
>> +++ b/recipes-kernel/u-boot/u-boot_git.bb
>> @@ -59,7 +59,7 @@ do_compile () {
>>                                  cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
>>                          else
>>                                  ${STAGING_BINDIR_NATIVE}/boot_format \
>> -                                       ${STAGING_DATADIR_NATIVE}/${BOOTFORMAT_CONFIG} \
>> +                                       ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \
>
> What is this applying against? The current versions of boot-format in
> meta-fsl-ppc master install to /usr/share/... and this patch seems to
> break things.
>

My mistake, the change is against a local clone of boot-format.

Certainly there should be a prior (and trivial) fix against
boot-format/Makefile source, which sets the installation directory.

I can make the fix, if you want to proceed with this.

>>                                          ${S}/${board}/u-boot.bin -spi ${S}/${board}/${UBOOT_TARGET}.bin
>>                          fi
>>                  fi
>> --
>> 1.7.10.4
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: [meta-fsl-ppc][PATCH] u-boot: correct path to config files
  2012-08-13 21:28   ` Vladimir Zapolskiy
@ 2012-08-13 21:43     ` McClintock Matthew-B29882
  0 siblings, 0 replies; 5+ messages in thread
From: McClintock Matthew-B29882 @ 2012-08-13 21:43 UTC (permalink / raw)
  To: Vladimir Zapolskiy; +Cc: McClintock Matthew-B29882, yocto@yoctoproject.org

On Mon, Aug 13, 2012 at 4:28 PM, Vladimir Zapolskiy
<vladimir_zapolskiy@mentor.com> wrote:
> On 13.08.2012 23:52, McClintock Matthew-B29882 wrote:
>>
>> On Fri, Aug 10, 2012 at 5:48 PM, Vladimir Zapolskiy
>> <vladimir_zapolskiy@mentor.com>  wrote:
>>>
>>> The trivial change fixes u-boot compilation task, boot_format utility
>>> installs
>>> board configuration files into a subdirectory of STAGING_DATADIR_NATIVE.
>>>
>>> Signed-off-by: Vladimir Zapolskiy<vladimir_zapolskiy@mentor.com>
>>> Cc: Matthew McClintock<msm@freescale.com>
>>> ---
>>>   recipes-kernel/u-boot/u-boot_git.bb |    2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/recipes-kernel/u-boot/u-boot_git.bb
>>> b/recipes-kernel/u-boot/u-boot_git.bb
>>> index 8ced122..4dfb723 100644
>>> --- a/recipes-kernel/u-boot/u-boot_git.bb
>>> +++ b/recipes-kernel/u-boot/u-boot_git.bb
>>> @@ -59,7 +59,7 @@ do_compile () {
>>>                                  cp ${S}/${board}/u-boot.bin
>>> ${S}/${board}/${UBOOT_TARGET}.bin
>>>                          else
>>>                                  ${STAGING_BINDIR_NATIVE}/boot_format \
>>> -
>>> ${STAGING_DATADIR_NATIVE}/${BOOTFORMAT_CONFIG} \
>>> +
>>> ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \
>>
>>
>> What is this applying against? The current versions of boot-format in
>> meta-fsl-ppc master install to /usr/share/... and this patch seems to
>> break things.
>>
>
> My mistake, the change is against a local clone of boot-format.
>
> Certainly there should be a prior (and trivial) fix against
> boot-format/Makefile source, which sets the installation directory.
>
> I can make the fix, if you want to proceed with this.

I guess, you are saying it's "correct" to put the files in
/usr/share/boot-format instead of /usr/share? That seems sensible...

-M

>
>
>>>                                          ${S}/${board}/u-boot.bin -spi
>>> ${S}/${board}/${UBOOT_TARGET}.bin
>>>                          fi
>>>                  fi
>>> --
>>> 1.7.10.4
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: [meta-fsl-ppc][PATCH] u-boot: correct path to config files
  2012-08-10 22:48 [meta-fsl-ppc][PATCH] u-boot: correct path to config files Vladimir Zapolskiy
  2012-08-13 20:52 ` McClintock Matthew-B29882
@ 2012-08-13 22:24 ` McClintock Matthew-B29882
  1 sibling, 0 replies; 5+ messages in thread
From: McClintock Matthew-B29882 @ 2012-08-13 22:24 UTC (permalink / raw)
  To: Vladimir Zapolskiy; +Cc: yocto@yoctoproject.org

On Fri, Aug 10, 2012 at 5:48 PM, Vladimir Zapolskiy
<vladimir_zapolskiy@mentor.com> wrote:
> The trivial change fixes u-boot compilation task, boot_format utility installs
> board configuration files into a subdirectory of STAGING_DATADIR_NATIVE.

Applied to meta-fsl-ppc edison, denzil, and master branch.

Thanks,
-M

>
> Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
> Cc: Matthew McClintock <msm@freescale.com>
> ---
>  recipes-kernel/u-boot/u-boot_git.bb |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-kernel/u-boot/u-boot_git.bb b/recipes-kernel/u-boot/u-boot_git.bb
> index 8ced122..4dfb723 100644
> --- a/recipes-kernel/u-boot/u-boot_git.bb
> +++ b/recipes-kernel/u-boot/u-boot_git.bb
> @@ -59,7 +59,7 @@ do_compile () {
>                                 cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
>                         else
>                                 ${STAGING_BINDIR_NATIVE}/boot_format \
> -                                       ${STAGING_DATADIR_NATIVE}/${BOOTFORMAT_CONFIG} \
> +                                       ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \
>                                         ${S}/${board}/u-boot.bin -spi ${S}/${board}/${UBOOT_TARGET}.bin
>                         fi
>                 fi
> --
> 1.7.10.4
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

end of thread, other threads:[~2012-08-13 22:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-10 22:48 [meta-fsl-ppc][PATCH] u-boot: correct path to config files Vladimir Zapolskiy
2012-08-13 20:52 ` McClintock Matthew-B29882
2012-08-13 21:28   ` Vladimir Zapolskiy
2012-08-13 21:43     ` McClintock Matthew-B29882
2012-08-13 22:24 ` McClintock Matthew-B29882

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.