* [PATCH] u-boot.inc: make sure all counter variables are properly unset
@ 2015-04-20 19:17 Carlos Rafael Giani
2015-04-20 19:31 ` Otavio Salvador
2015-04-21 23:22 ` Tom Rini
0 siblings, 2 replies; 5+ messages in thread
From: Carlos Rafael Giani @ 2015-04-20 19:17 UTC (permalink / raw)
To: openembedded-core
The script does "i == j" checks to retrieve the config <-> type pairs from
the UBOOT_MACHINE and UBOOT_CONFIG lists. This check however requires both
j and i to be initially unset. Ensure this by explicitely unsetting i.
This fixes broken u-boot SPL installations with SolidRun machines
(the SPL wasn't being installed and deployed.)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
meta/recipes-bsp/u-boot/u-boot.inc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
index 7053a56..88e239d 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -78,6 +78,7 @@ do_compile () {
done
unset j
done
+ unset i
else
oe_runmake ${UBOOT_MACHINE}
oe_runmake ${UBOOT_MAKE_TARGET}
@@ -101,6 +102,7 @@ do_install () {
done
unset j
done
+ unset i
else
install -d ${D}/boot
install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
@@ -129,6 +131,7 @@ do_install () {
done
unset j
done
+ unset i
else
install ${S}/${SPL_BINARY} ${D}/boot/${SPL_IMAGE}
ln -sf ${SPL_IMAGE} ${D}/boot/${SPL_BINARY}
@@ -162,6 +165,7 @@ do_deploy () {
done
unset j
done
+ unset i
else
install -d ${DEPLOYDIR}
install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
@@ -193,6 +197,7 @@ do_deploy () {
done
unset j
done
+ unset i
else
install ${S}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_IMAGE}
rm -f ${DEPLOYDIR}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_SYMLINK}
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] u-boot.inc: make sure all counter variables are properly unset
2015-04-20 19:17 [PATCH] u-boot.inc: make sure all counter variables are properly unset Carlos Rafael Giani
@ 2015-04-20 19:31 ` Otavio Salvador
2015-04-23 18:31 ` Carlos Rafael Giani
2015-04-21 23:22 ` Tom Rini
1 sibling, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2015-04-20 19:31 UTC (permalink / raw)
To: Carlos Rafael Giani; +Cc: Patches and discussions about the oe-core layer
On Mon, Apr 20, 2015 at 4:17 PM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> The script does "i == j" checks to retrieve the config <-> type pairs from
> the UBOOT_MACHINE and UBOOT_CONFIG lists. This check however requires both
> j and i to be initially unset. Ensure this by explicitely unsetting i.
>
> This fixes broken u-boot SPL installations with SolidRun machines
> (the SPL wasn't being installed and deployed.)
>
> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Richard, this needs to be applied into master and fido branches.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] u-boot.inc: make sure all counter variables are properly unset
2015-04-20 19:31 ` Otavio Salvador
@ 2015-04-23 18:31 ` Carlos Rafael Giani
2015-04-23 18:33 ` Otavio Salvador
0 siblings, 1 reply; 5+ messages in thread
From: Carlos Rafael Giani @ 2015-04-23 18:31 UTC (permalink / raw)
To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer
It is in master, which is nice. But not in fido? Is it too late for
fixes like these? If so, I'll have to backport this fix into
meta-fsl-arm-extra for the cubox-i uboot.
Otherwise, if it is to be reviewed for inclusion into fido, I'm fine
with that.
Am 2015-04-20 um 21:31 schrieb Otavio Salvador:
> On Mon, Apr 20, 2015 at 4:17 PM, Carlos Rafael Giani
> <dv@pseudoterminal.org> wrote:
>> The script does "i == j" checks to retrieve the config <-> type pairs from
>> the UBOOT_MACHINE and UBOOT_CONFIG lists. This check however requires both
>> j and i to be initially unset. Ensure this by explicitely unsetting i.
>>
>> This fixes broken u-boot SPL installations with SolidRun machines
>> (the SPL wasn't being installed and deployed.)
>>
>> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
>
> Richard, this needs to be applied into master and fido branches.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] u-boot.inc: make sure all counter variables are properly unset
2015-04-20 19:17 [PATCH] u-boot.inc: make sure all counter variables are properly unset Carlos Rafael Giani
2015-04-20 19:31 ` Otavio Salvador
@ 2015-04-21 23:22 ` Tom Rini
1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2015-04-21 23:22 UTC (permalink / raw)
To: Carlos Rafael Giani; +Cc: openembedded-core
On Mon, Apr 20, 2015 at 09:17:08PM +0200, Carlos Rafael Giani wrote:
> The script does "i == j" checks to retrieve the config <-> type pairs from
> the UBOOT_MACHINE and UBOOT_CONFIG lists. This check however requires both
> j and i to be initially unset. Ensure this by explicitely unsetting i.
>
> This fixes broken u-boot SPL installations with SolidRun machines
> (the SPL wasn't being installed and deployed.)
>
> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-04-23 18:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-20 19:17 [PATCH] u-boot.inc: make sure all counter variables are properly unset Carlos Rafael Giani
2015-04-20 19:31 ` Otavio Salvador
2015-04-23 18:31 ` Carlos Rafael Giani
2015-04-23 18:33 ` Otavio Salvador
2015-04-21 23:22 ` Tom Rini
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.