* Re: RFC: Renaming uboot-utils
@ 2007-12-17 3:14 Andy Wilcox
2007-12-17 11:09 ` Paul Sokolovsky
0 siblings, 1 reply; 14+ messages in thread
From: Andy Wilcox @ 2007-12-17 3:14 UTC (permalink / raw)
To: openembedded-devel
On Sat, 15 Dec 2007 14:14 "Leon Woestenberg"
<leon.woestenberg@gmail.com> wrote:
> On Dec 14, 2007 9:16 PM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
>> > Andy Wilcox schreef:
>>
>>> > > Since uboot-utils builds a native binary (mkImage) it should really be
>>> > > called uboot-utils-native.
>>>
>> >
>> > That part makes sense. FWIW, we already have a uboot-mkimage-native
>> > recipe in OE.
>> >
>>
> Also, consider u-boot-utils instead of uboot-utils. The project is
> called u-boot and I thought I saw both namespaces appear in the u-boot
> dir?
> (If I'm too late, probably forget this).
>
> Also +1 from me.
>
>
>>> > > My motivation is (a) I'd really like to build a few tools from uboot
>>> > > which are cross-compiled
>>>
>> >
>> > And now you're talking about uboot-utils-cross, not uboot-utils-native
>> >
>>
> Not necessarely.
>
> Anything *-cross is a tool that is built for, and runs on one platform
> and generates output for another.
>
> Andy said a few tools which *are* cross-compiled, so he I think he
> wants to cross-compile tools, which are deployed on the target and as
> such do not generate output for another target.
Leon is exactly right. I meant I'd use the newly-freed u-boot-utils
to build a few programs for the target - in my case, I'm interested
in fw-setenv, which allows one command-line manipulation of the
u-boot environment area in flash.
Sorry for any confusion.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: RFC: Renaming uboot-utils
2007-12-17 3:14 RFC: Renaming uboot-utils Andy Wilcox
@ 2007-12-17 11:09 ` Paul Sokolovsky
[not found] ` <47668695.5010701@protium.com>
0 siblings, 1 reply; 14+ messages in thread
From: Paul Sokolovsky @ 2007-12-17 11:09 UTC (permalink / raw)
To: Andy Wilcox; +Cc: openembedded-devel
Hello Andy,
Monday, December 17, 2007, 5:14:26 AM, you wrote:
> On Sat, 15 Dec 2007 14:14 "Leon Woestenberg"
> <leon.woestenberg@gmail.com> wrote:
>> On Dec 14, 2007 9:16 PM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
>>> > Andy Wilcox schreef:
>>>
>>>> > > Since uboot-utils builds a native binary (mkImage) it should really be
>>>> > > called uboot-utils-native.
>>>>
>>> >
>>> > That part makes sense. FWIW, we already have a uboot-mkimage-native
>>> > recipe in OE.
>>> >
>>>
>> Also, consider u-boot-utils instead of uboot-utils. The project is
>> called u-boot and I thought I saw both namespaces appear in the u-boot
>> dir?
>> (If I'm too late, probably forget this).
>>
>> Also +1 from me.
>>
>>
>>>> > > My motivation is (a) I'd really like to build a few tools from uboot
>>>> > > which are cross-compiled
>>>>
>>> >
>>> > And now you're talking about uboot-utils-cross, not uboot-utils-native
>>> >
>>>
>> Not necessarely.
>>
>> Anything *-cross is a tool that is built for, and runs on one platform
>> and generates output for another.
>>
>> Andy said a few tools which *are* cross-compiled, so he I think he
>> wants to cross-compile tools, which are deployed on the target and as
>> such do not generate output for another target.
> Leon is exactly right. I meant I'd use the newly-freed u-boot-utils
> to build a few programs for the target - in my case, I'm interested
> in fw-setenv, which allows one command-line manipulation of the
> u-boot environment area in flash.
> Sorry for any confusion.
Yeah, all this discussion became rather confusing. To understand
what's it all about, a careful look at the commit was required, and
that uncovered few botched things:
--- packages/uboot/u-boot-utils_1.2.0.bb 64396fa43c9fcef1ed1cd3ae82a49d140febbbd0
+++ packages/uboot/u-boot-utils_1.2.0.bb 64396fa43c9fcef1ed1cd3ae82a49d140febbbd0
+DEPENDS_openprotium = "mtd-utils"
Think again - does u-boot-utils require mtd-utils headers or tools
during compile-time? Moreover, is it required for openprotium only?
+SRC_URI_append_openprotium = " \
+ file://fw_env.c.patch;patch=1 \
+ file://tools-Makefile.patch;patch=1 \
+ file://env-Makefile.patch;patch=1 \
+ file://fw_env.config"
What so special of these patches that they apply only to
openprotium?
+EXTRA_OEMAKE_openprotium = "CROSS_COMPILE=${TARGET_PREFIX}"
Overrides above are worth privilege of doubt, but this one doesn't
need it: doing things like this in the OE mainline is rather incorrect
behavior to all other projects/users.
--- packages/tasks/task-base.bb 784db9539c99a3dfc0ce43cc4b61f9cd5eba3b27
+++ packages/tasks/task-base.bb 7a9b59f5510daa79b732e48d67445e1d5ebc4c81
RDEPENDS_task-base-uboot = "\
- uboot-utils"
+ u-boot-utils-native"
More attention could have been spent here too - non-native
package *cannot* RDEPENDS on native, this is one of abort conditions
in insane.bbclass. Someone who added the original line thought that
uboot-utils is actually what its name suggests. When you'll be fixing
it, don't forget about this:
--- conf/distro/include/angstrom-2007-preferred-versions.inc f3d89d1d37708d933d79f1a37dbef5925a80cf82
+++ conf/distro/include/angstrom-2007-preferred-versions.inc 2ee34e9004f488e328231f5a1f139e5225d0e2cf
-PREFERRED_VERSION_uboot-utils ?= "1.2.0"
+PREFERRED_VERSION_u-boot-utils-native ?= "1.2.0"
--
Best regards,
Paul mailto:pmiscml@gmail.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* RFC: Renaming uboot-utils
@ 2007-12-14 4:41 Andy Wilcox
2007-12-14 16:30 ` Philip Balister
2007-12-14 20:16 ` Koen Kooi
0 siblings, 2 replies; 14+ messages in thread
From: Andy Wilcox @ 2007-12-14 4:41 UTC (permalink / raw)
To: Openembedded-devel
Since uboot-utils builds a native binary (mkImage) it should really be
called
uboot-utils-native.
My motivation is (a) I'd really like to build a few tools from uboot
which are cross-compiled (notably, fw-setenv/printenv, which allow R/W
access to the u-boot configuration space), and (b) it's the "right"
thing to do (-;
The following files would be updated:
./conf/distro/foonas.conf
./conf/distro/include/angstrom-2007-preferred-versions.inc
./packages/linux/em-x270_2.6.23.bb
./packages/linux/linux-bd-neon-2.6_2.6.22.bb
./packages/linux/linux-gumstix_2.6.15.bb
./packages/linux/linux-omap.inc
./packages/linux/linux-storcenter_2.6.12.6.bb
./packages/linux/linux-turbostation_2.6.20.2.bb
./packages/tasks/task-base.bb
Any objection or comment?
Thanks!
Andy
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: RFC: Renaming uboot-utils
2007-12-14 4:41 Andy Wilcox
@ 2007-12-14 16:30 ` Philip Balister
2007-12-14 18:41 ` Khem Raj
2007-12-14 20:16 ` Koen Kooi
1 sibling, 1 reply; 14+ messages in thread
From: Philip Balister @ 2007-12-14 16:30 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]
+1
Philip
Andy Wilcox wrote:
> Since uboot-utils builds a native binary (mkImage) it should really be
> called
> uboot-utils-native.
>
> My motivation is (a) I'd really like to build a few tools from uboot
> which are cross-compiled (notably, fw-setenv/printenv, which allow R/W
> access to the u-boot configuration space), and (b) it's the "right"
> thing to do (-;
>
> The following files would be updated:
>
> ./conf/distro/foonas.conf
> ./conf/distro/include/angstrom-2007-preferred-versions.inc
> ./packages/linux/em-x270_2.6.23.bb
> ./packages/linux/linux-bd-neon-2.6_2.6.22.bb
> ./packages/linux/linux-gumstix_2.6.15.bb
> ./packages/linux/linux-omap.inc
> ./packages/linux/linux-storcenter_2.6.12.6.bb
> ./packages/linux/linux-turbostation_2.6.20.2.bb
> ./packages/tasks/task-base.bb
>
> Any objection or comment?
>
> Thanks!
> Andy
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: RFC: Renaming uboot-utils
2007-12-14 16:30 ` Philip Balister
@ 2007-12-14 18:41 ` Khem Raj
0 siblings, 0 replies; 14+ messages in thread
From: Khem Raj @ 2007-12-14 18:41 UTC (permalink / raw)
To: openembedded-devel
yes it is a logical step. Go for it
Khem
On Dec 14, 2007 8:30 AM, Philip Balister <philip@balister.org> wrote:
> +1
>
> Philip
>
>
> Andy Wilcox wrote:
> > Since uboot-utils builds a native binary (mkImage) it should really be
> > called
> > uboot-utils-native.
> >
> > My motivation is (a) I'd really like to build a few tools from uboot
> > which are cross-compiled (notably, fw-setenv/printenv, which allow R/W
> > access to the u-boot configuration space), and (b) it's the "right"
> > thing to do (-;
> >
> > The following files would be updated:
> >
> > ./conf/distro/foonas.conf
> > ./conf/distro/include/angstrom-2007-preferred-versions.inc
> > ./packages/linux/em-x270_2.6.23.bb
> > ./packages/linux/linux-bd-neon-2.6_2.6.22.bb
> > ./packages/linux/linux-gumstix_2.6.15.bb
> > ./packages/linux/linux-omap.inc
> > ./packages/linux/linux-storcenter_2.6.12.6.bb
> > ./packages/linux/linux-turbostation_2.6.20.2.bb
> > ./packages/tasks/task-base.bb
> >
> > Any objection or comment?
> >
> > Thanks!
> > Andy
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: RFC: Renaming uboot-utils
2007-12-14 4:41 Andy Wilcox
2007-12-14 16:30 ` Philip Balister
@ 2007-12-14 20:16 ` Koen Kooi
2007-12-15 13:14 ` Leon Woestenberg
2007-12-17 11:13 ` Paul Sokolovsky
1 sibling, 2 replies; 14+ messages in thread
From: Koen Kooi @ 2007-12-14 20:16 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andy Wilcox schreef:
> Since uboot-utils builds a native binary (mkImage) it should really be
> called
> uboot-utils-native.
That part makes sense. FWIW, we already have a uboot-mkimage-native
recipe in OE.
> My motivation is (a) I'd really like to build a few tools from uboot
> which are cross-compiled
And now you're talking about uboot-utils-cross, not uboot-utils-native
regards,
Koen
> (notably, fw-setenv/printenv, which allow R/W
> access to the u-boot configuration space), and (b) it's the "right"
> thing to do (-;
>
> The following files would be updated:
>
> ./conf/distro/foonas.conf
> ./conf/distro/include/angstrom-2007-preferred-versions.inc
> ./packages/linux/em-x270_2.6.23.bb
> ./packages/linux/linux-bd-neon-2.6_2.6.22.bb
> ./packages/linux/linux-gumstix_2.6.15.bb
> ./packages/linux/linux-omap.inc
> ./packages/linux/linux-storcenter_2.6.12.6.bb
> ./packages/linux/linux-turbostation_2.6.20.2.bb
> ./packages/tasks/task-base.bb
>
> Any objection or comment?
>
> Thanks!
> Andy
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
- --
koen@dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi@student.utwente.nl instead.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFHYuSWMkyGM64RGpERAs4YAJ40EIfK6AK1hfVn1jv/Lz85XSr0JgCfUXBS
6e2moAwqoeJBN0kqjXnPhX4=
=KWpO
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: RFC: Renaming uboot-utils
2007-12-14 20:16 ` Koen Kooi
@ 2007-12-15 13:14 ` Leon Woestenberg
2007-12-17 11:13 ` Paul Sokolovsky
1 sibling, 0 replies; 14+ messages in thread
From: Leon Woestenberg @ 2007-12-15 13:14 UTC (permalink / raw)
To: openembedded-devel
Hello all,
On Dec 14, 2007 9:16 PM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> Andy Wilcox schreef:
> > Since uboot-utils builds a native binary (mkImage) it should really be
> > called uboot-utils-native.
>
> That part makes sense. FWIW, we already have a uboot-mkimage-native
> recipe in OE.
>
Also, consider u-boot-utils instead of uboot-utils. The project is
called u-boot and I thought I saw both namespaces appear in the u-boot
dir?
(If I'm too late, probably forget this).
Also +1 from me.
> > My motivation is (a) I'd really like to build a few tools from uboot
> > which are cross-compiled
>
> And now you're talking about uboot-utils-cross, not uboot-utils-native
>
Not necessarely.
Anything *-cross is a tool that is built for, and runs on one platform
and generates output for another.
Andy said a few tools which *are* cross-compiled, so he I think he
wants to cross-compile tools, which are deployed on the target and as
such do not generate output for another target.
u-boot-utils-cross would be a package that generates tools, of which
the output only can run on a target.
I think some of the tools in u-boot are cross tools, some are not, and
some are agnostic (the output from mkimage can be interpreted on any
host AFAIK).
Regards,
Leon.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: RFC: Renaming uboot-utils
2007-12-14 20:16 ` Koen Kooi
2007-12-15 13:14 ` Leon Woestenberg
@ 2007-12-17 11:13 ` Paul Sokolovsky
1 sibling, 0 replies; 14+ messages in thread
From: Paul Sokolovsky @ 2007-12-17 11:13 UTC (permalink / raw)
To: openembedded-devel
Hello Koen,
Friday, December 14, 2007, 10:16:22 PM, you wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Andy Wilcox schreef:
>> Since uboot-utils builds a native binary (mkImage) it should really be
>> called
>> uboot-utils-native.
> That part makes sense. FWIW, we already have a uboot-mkimage-native
> recipe in OE.
>> My motivation is (a) I'd really like to build a few tools from uboot
>> which are cross-compiled
> And now you're talking about uboot-utils-cross, not uboot-utils-native
I had a look at mkimage source, it appears to generate
target-independent format (does htonl() and friends), so it at least
can stay uboot-utils-native as the actual commit made it.
More interestingly is that both u-boot and u-boot-utils-native stage
mkimage, and that's all what u-boot-utils-native does actually, so we
have redundancy here.
> regards,
> Koen
[]
--
Best regards,
Paul mailto:pmiscml@gmail.com
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-12-17 22:46 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-17 3:14 RFC: Renaming uboot-utils Andy Wilcox
2007-12-17 11:09 ` Paul Sokolovsky
[not found] ` <47668695.5010701@protium.com>
2007-12-17 15:02 ` Paul Sokolovsky
2007-12-17 18:23 ` Andy Wilcox
2007-12-17 21:31 ` Koen Kooi
2007-12-17 22:19 ` Paul Sokolovsky
2007-12-17 22:41 ` Marcin Juszkiewicz
2007-12-17 21:25 ` Rod Whitby
-- strict thread matches above, loose matches on Subject: below --
2007-12-14 4:41 Andy Wilcox
2007-12-14 16:30 ` Philip Balister
2007-12-14 18:41 ` Khem Raj
2007-12-14 20:16 ` Koen Kooi
2007-12-15 13:14 ` Leon Woestenberg
2007-12-17 11:13 ` Paul Sokolovsky
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.