Skip to contentSkip to conversation

RFC: Renaming uboot-utils

DISCUSSION Andy Wilcox 6 participants 6 messages Dec 14, 2007 – Dec 17, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

+1

Philip

Quoted 31 lines · Andy Wilcox

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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw

yes it is a logical step. Go for it

Khem

Quoted 45 lines · Philip Balister

+1

Philip

Quoted 23 lines · Andy Wilcox

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?

Quoted 9 lines

Thanks!
Andy

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw
In reply to Andy Wilcox

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Wilcox schreef:

Quoted 3 lines

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.

Quoted 2 lines

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

Quoted 18 lines

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

Quoted 9 lines

Thanks!
Andy

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

- --
[email protected] will go go away in december 2007, please use [email protected] instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHYuSWMkyGM64RGpERAs4YAJ40EIfK6AK1hfVn1jv/Lz85XSr0JgCfUXBS 6e2moAwqoeJBN0kqjXnPhX4=
=KWpO
-----END PGP SIGNATURE-----

#4 lore raw

Hello all,

Quoted 7 lines · Koen Kooi

Andy Wilcox schreef:

Quoted 2 lines

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.

Quoted 5 lines
Quoted 2 lines

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.

#5 lore raw
In reply to Koen Kooi

Hello Koen,

Quoted 8 lines · you

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Wilcox schreef:

Quoted 3 lines

Since uboot-utils builds a native binary (mkImage) it should really be called
uboot-utils-native.

Quoted 7 lines

That part makes sense. FWIW, we already have a uboot-mkimage-native recipe in OE.

Quoted 2 lines

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.

Quoted 3 lines

regards,

Koen

[]

Signature · 2 lines
Best regards,
 Paul                            mailto:[email protected]