U-boot recipe for most recent stable release.
cover U-boot recipe for most recent stable release.
This adds a recipe for U-Boot v2011.12. In doing so, some of non-shareable settings were moved out of u-boot.inc and others moved in.
The recipe was tested on an mpc8315 Yocto configuration.
Paul Gortmaker (3):
u-boot: Don't make the -Os removal part of global settings.
u-boot: make FILESDIR a shared setting.
u-boot: Add recipe for u-boot v2011.12
meta/recipes-bsp/u-boot/u-boot.inc | 4 +--- meta/recipes-bsp/u-boot/u-boot_2011.03.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.06.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.12.bb | 20 ++++++++++++++++++++ 4 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.12.bb
Signature · 1 line
1.7.7
PATCH 1/3 u-boot: Don't make the -Os removal part of global settings.
We don't want to force everyone to be stripping the -Os flags from their u-boot builds. Move it to the existing recipes so that current behaviour is maintained, while opening up the possibility for new recipes to avoid it.
--- meta/recipes-bsp/u-boot/u-boot.inc | 3 --- meta/recipes-bsp/u-boot/u-boot_2011.03.bb | 3 +++ meta/recipes-bsp/u-boot/u-boot_2011.06.bb | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-)
meta/recipes-bsp/u-boot/u-boot.inc +0 -3
@@ -7,9 +7,6 @@ inherit deploy PARALLEL_MAKE="" -# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'" - python () { if not d.getVar("UBOOT_MACHINE", True): PN = d.getVar("PN", True)
meta/recipes-bsp/u-boot/u-boot_2011.03.bb +3 -0
@@ -10,6 +10,9 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5" +# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'" + FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}" # This revision corresponds to the tag "v2011.03"
meta/recipes-bsp/u-boot/u-boot_2011.06.bb +3 -0
@@ -12,6 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}" +# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'" + # This revision corresponds to the tag "v2011.06" # We use the revision in order to avoid having to fetch it from the repo during parse SRCREV = "b1af6f532e0d348b153d5c148369229d24af361a"
Signature · 1 line
1.7.7
PATCH 2/3 u-boot: make FILESDIR a shared setting.
In reply to Paul GortmakerThe setting is the same in both recipes, so move it to the shared settings in u-boot.inc
--- meta/recipes-bsp/u-boot/u-boot.inc | 1 + meta/recipes-bsp/u-boot/u-boot_2011.03.bb | 2 -- meta/recipes-bsp/u-boot/u-boot_2011.06.bb | 2 -- 3 files changed, 1 insertions(+), 4 deletions(-)
meta/recipes-bsp/u-boot/u-boot.inc +1 -0
@@ -36,6 +36,7 @@ do_install () { } FILES_${PN} = "/boot" +FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}" do_deploy () { install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE}
meta/recipes-bsp/u-boot/u-boot_2011.03.bb +0 -2
@@ -13,8 +13,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ # GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'" -FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}" - # This revision corresponds to the tag "v2011.03" # We use the revision in order to avoid having to fetch it from the repo during parse SRCREV = "19b54a701811220221fc4d5089a2bb18892018ca"
meta/recipes-bsp/u-boot/u-boot_2011.06.bb +0 -2
@@ -10,8 +10,6 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" -FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}" - # GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'"
Signature · 1 line
1.7.7
PATCH 3/3 u-boot: Add recipe for u-boot v2011.12
In reply to Paul GortmakerThe v2011.12 is the latest stable release of u-boot.
--- meta/recipes-bsp/u-boot/u-boot_2011.12.bb | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.12.bb
meta/recipes-bsp/u-boot/u-boot_2011.12.bb new file +20 -0
@@ -0,0 +1,20 @@ +require u-boot.inc + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ + file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" + +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" + +# This revision corresponds to the tag "v2011.12" +# We use the revision in order to avoid having to fetch it from the repo during parse +SRCREV = "cba9a894fdb1cb49b60fcd1d1d6919cbd7995dd5" + +PV = "v2011.12+git${SRCPV}" +PR = "r0" + +SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
1.7.7
Re: [PATCH 1/3] u-boot: Don't make the -Os removal part of global settings.
In reply to Paul GortmakerDear Paul Gortmaker,
Quoted 4 lines · In message <[email protected]>…
We don't want to force everyone to be stripping the -Os flags from their u-boot builds. Move it to the existing recipes so that current behaviour is maintained, while opening up the possibility for new recipes to avoid it.
Is there any reason to keep this at all? The compiler issues that caused builds with -Os to fail have long been fixed.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Where people stand is not as important as which way they face. - Terry Pratchett & Stephen Briggs, _The Discworld Companion_
Re: [PATCH 1/3] u-boot: Don't make the -Os removal part of global settings.
Quoted 10 lines · Wolfgang Denk
Dear Paul Gortmaker,
Quoted 4 lines · In message <[email protected]>…
We don't want to force everyone to be stripping the -Os flags from their u-boot builds. Move it to the existing recipes so that current behaviour is maintained, while opening up the possibility for new recipes to avoid it.
Is there any reason to keep this at all? The compiler issues that caused builds with -Os to fail have long been fixed.
I would agree with you, but as I said in the commit log, I don't want to be changing other people's settings that I can't personally test. If the owners of those platforms figure that is an acceptable risk, then I'll gladly send another patch to remove the -Os toggle entirely.
Paul.
Quoted 5 lines
Best regards,
Wolfgang Denk
Re: [PATCH 1/3] u-boot: Don't make the -Os removal part of global settings.
Dear Paul,
Quoted 6 lines · In message <[email protected]> you wrote:
I would agree with you, but as I said in the commit log, I don't want to be changing other people's settings that I can't personally test. If the owners of those platforms figure that is an acceptable risk, then I'll gladly send another patch to remove the -Os toggle entirely.
The compiler options used by U-Boot are pretty carefully tuned. Messing with them is actually the greater risk - using -O2 instead of -Os results in considerably larger code, which breaks for example the mapping to flash sectors on a number of boards.
I recommend removing this.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Too many people are ready to carry the stool when the piano needs to be moved.
Re: [PATCH 1/3] u-boot: Don't make the -Os removal part of global settings.
Quoted 10 lines · Wolfgang Denk
Dear Paul,
Quoted 6 lines · In message <[email protected]> you wrote:
I would agree with you, but as I said in the commit log, I don't want to be changing other people's settings that I can't personally test. If the owners of those platforms figure that is an acceptable risk, then I'll gladly send another patch to remove the -Os toggle entirely.
it was a kludge to cope with gcc and now that gcc is fixed it should be removed. So please go ahead
Quoted 21 lines
The compiler options used by U-Boot are pretty carefully tuned. Messing with them is actually the greater risk - using -O2 instead of -Os results in considerably larger code, which breaks for example the mapping to flash sectors on a number of boards.
I recommend removing this.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Too many people are ready to carry the stool when the piano needs to be moved.
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Quoted 11 lines · Paul Gortmaker
This adds a recipe for U-Boot v2011.12. In doing so, some of non-shareable settings were moved out of u-boot.inc and others moved in.
The recipe was tested on an mpc8315 Yocto configuration.
Paul Gortmaker (3):
u-boot: Don't make the -Os removal part of global settings.
u-boot: make FILESDIR a shared setting.
u-boot: Add recipe for u-boot v2011.12
Quoted 7 lines
meta/recipes-bsp/u-boot/u-boot.inc | 4 +--- meta/recipes-bsp/u-boot/u-boot_2011.03.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.06.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.12.bb | 20 ++++++++++++++++++++ 4 files changed, 25 insertions(+), 5 deletions(-)create mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.12.bb
Who are the current usages of the older u-boot and should they really be moved into the BSP layer?
Also, looking at this recipe, there might be more that can be shared in the .inc file.
Sau!
Quoted 20 lines · Saul Wold
Quoted 11 lines · Paul Gortmaker
This adds a recipe for U-Boot v2011.12. In doing so, some of non-shareable settings were moved out of u-boot.inc and others moved in.
The recipe was tested on an mpc8315 Yocto configuration.
Paul Gortmaker (3):
u-boot: Don't make the -Os removal part of global settings.
u-boot: make FILESDIR a shared setting.
u-boot: Add recipe for u-boot v2011.12Quoted 7 lines
meta/recipes-bsp/u-boot/u-boot.inc | 4 +--- meta/recipes-bsp/u-boot/u-boot_2011.03.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.06.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.12.bb | 20 ++++++++++++++++++++ 4 files changed, 25 insertions(+), 5 deletions(-)create mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.12.bb
Quoted 2 lines
Who are the current usages of the older u-boot and should they really be moved into the BSP layer?
I'm not really sure who is using the older version, hence my reluctance to introduce any changes to what they had, or where they might be moved to (I'm relatively new to yocto/oe).
Quoted 3 lines
Also, looking at this recipe, there might be more that can be shared in the .inc file.
Meaning you want me to redo and resubmit, or are you OK with applying the existing content and having follow on commits to possibly relocate recipes and make more stuff shared?
Thanks,
Paul.
Quoted 3 lines
Sau!
Quoted 11 lines · Paul Gortmaker
This adds a recipe for U-Boot v2011.12. In doing so, some of non-shareable settings were moved out of u-boot.inc and others moved in.
The recipe was tested on an mpc8315 Yocto configuration.
Paul Gortmaker (3):
u-boot: Don't make the -Os removal part of global settings.
u-boot: make FILESDIR a shared setting.
u-boot: Add recipe for u-boot v2011.12
Quoted 7 lines
meta/recipes-bsp/u-boot/u-boot.inc | 4 +--- meta/recipes-bsp/u-boot/u-boot_2011.03.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.06.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.12.bb | 20 ++++++++++++++++++++ 4 files changed, 25 insertions(+), 5 deletions(-)create mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.12.bb
What about the u-boot-mkimage recipe, does that also need to be updated?
Sau!
Quoted 20 lines · Saul Wold
Quoted 11 lines · Paul Gortmaker
This adds a recipe for U-Boot v2011.12. In doing so, some of non-shareable settings were moved out of u-boot.inc and others moved in.
The recipe was tested on an mpc8315 Yocto configuration.
Paul Gortmaker (3):
u-boot: Don't make the -Os removal part of global settings.
u-boot: make FILESDIR a shared setting.
u-boot: Add recipe for u-boot v2011.12Quoted 7 lines
meta/recipes-bsp/u-boot/u-boot.inc | 4 +--- meta/recipes-bsp/u-boot/u-boot_2011.03.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.06.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.12.bb | 20 ++++++++++++++++++++ 4 files changed, 25 insertions(+), 5 deletions(-)create mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.12.bb
Quoted 1 line
What about the u-boot-mkimage recipe, does that also need to be updated?
It could be, but it strictly doesn't have to be. I'd say that mkimage is a tool akin to something like tar -- i.e. you can build whatever version you want, but its functionality isn't going to really change often from one release to the next.
If you want it updated, I can send a follow on patch to do that. What do you guys usually do with the old recipes, leave them laying around, or STONITH?
Thanks,
Paul.
Quoted 2 lines
Sau!
Quoted 23 lines · Paul Gortmaker
Quoted 20 lines · Saul Wold
Quoted 11 lines · Paul Gortmaker
This adds a recipe for U-Boot v2011.12. In doing so, some of non-shareable settings were moved out of u-boot.inc and others moved in.
The recipe was tested on an mpc8315 Yocto configuration.
Paul Gortmaker (3):
u-boot: Don't make the -Os removal part of global settings.
u-boot: make FILESDIR a shared setting.
u-boot: Add recipe for u-boot v2011.12Quoted 7 lines
meta/recipes-bsp/u-boot/u-boot.inc | 4 +--- meta/recipes-bsp/u-boot/u-boot_2011.03.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.06.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.12.bb | 20 ++++++++++++++++++++ 4 files changed, 25 insertions(+), 5 deletions(-)create mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.12.bb
Quoted 1 line
What about the u-boot-mkimage recipe, does that also need to be updated?
Quoted 9 lines
It could be, but it strictly doesn't have to be. I'd say that mkimage is a tool akin to something like tar -- i.e. you can build whatever version you want, but its functionality isn't going to really change often from one release to the next.
If you want it updated, I can send a follow on patch to do that. What do you guys usually do with the old recipes, leave them laying around, or STONITH?
Adding openembedded-core since that is really where patches to meta should go.
u-boot seems to be a special beast since we keep the older recipes around for u-boot itself, are they are compatibility issues with going to the latest u-boot-mkimage and older u-boot itself?
Comments from the u-boot users? Do we need to keep the older u-boot or u-boot-mkimage around, or should the move to BSP/layers that need the compatibility of the older version?
Thanks
Sau!
Quoted 6 lines
Thanks,
Paul.Quoted 2 lines
Sau!
Quoted 36 lines · Saul Wold
Quoted 23 lines · Paul Gortmaker
Quoted 20 lines · Saul Wold
Quoted 11 lines · Paul Gortmaker
This adds a recipe for U-Boot v2011.12. In doing so, some of non-shareable settings were moved out of u-boot.inc and others moved in.
The recipe was tested on an mpc8315 Yocto configuration.
Paul Gortmaker (3):
u-boot: Don't make the -Os removal part of global settings.
u-boot: make FILESDIR a shared setting.
u-boot: Add recipe for u-boot v2011.12Quoted 7 lines
meta/recipes-bsp/u-boot/u-boot.inc | 4 +--- meta/recipes-bsp/u-boot/u-boot_2011.03.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.06.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.12.bb | 20 ++++++++++++++++++++ 4 files changed, 25 insertions(+), 5 deletions(-)create mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.12.bb
Quoted 1 line
What about the u-boot-mkimage recipe, does that also need to be updated?
Quoted 9 lines
It could be, but it strictly doesn't have to be. I'd say that mkimage is a tool akin to something like tar -- i.e. you can build whatever version you want, but its functionality isn't going to really change often from one release to the next.
If you want it updated, I can send a follow on patch to do that. What do you guys usually do with the old recipes, leave them laying around, or STONITH?
Adding openembedded-core since that is really where patches to meta should go.
Quoted 7 lines
u-boot seems to be a special beast since we keep the older recipes around for u-boot itself, are they are compatibility issues with going to the latest u-boot-mkimage and older u-boot itself?
Comments from the u-boot users? Do we need to keep the older u-boot or u-boot-mkimage around, or should the move to BSP/layers that need the compatibility of the older version?
We should keep N and N-1 uboot versions around. This gives users time to ensure their BSP works. After that, if new u-boot cannot be made to work with a given BSP, then that BSP layer should include their own version of a u-boot recipe in the layer's recipes-bsp/u-boot.
--
Darren
Quoted 15 lines
Thanks
Sau!Quoted 6 lines
Thanks,
Paul.Quoted 2 lines
Sau!
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Quoted 36 lines · Saul Wold
Quoted 23 lines · Paul Gortmaker
Quoted 20 lines · Saul Wold
Quoted 11 lines · Paul Gortmaker
This adds a recipe for U-Boot v2011.12. In doing so, some of non-shareable settings were moved out of u-boot.inc and others moved in.
The recipe was tested on an mpc8315 Yocto configuration.
Paul Gortmaker (3):
u-boot: Don't make the -Os removal part of global settings.
u-boot: make FILESDIR a shared setting.
u-boot: Add recipe for u-boot v2011.12Quoted 7 lines
meta/recipes-bsp/u-boot/u-boot.inc | 4 +--- meta/recipes-bsp/u-boot/u-boot_2011.03.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.06.bb | 3 ++- meta/recipes-bsp/u-boot/u-boot_2011.12.bb | 20 ++++++++++++++++++++ 4 files changed, 25 insertions(+), 5 deletions(-)create mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.12.bb
Quoted 1 line
What about the u-boot-mkimage recipe, does that also need to be updated?
Quoted 9 lines
It could be, but it strictly doesn't have to be. I'd say that mkimage is a tool akin to something like tar -- i.e. you can build whatever version you want, but its functionality isn't going to really change often from one release to the next.
If you want it updated, I can send a follow on patch to do that. What do you guys usually do with the old recipes, leave them laying around, or STONITH?
Adding openembedded-core since that is really where patches to meta should go.
Quoted 7 lines
u-boot seems to be a special beast since we keep the older recipes around for u-boot itself, are they are compatibility issues with going to the latest u-boot-mkimage and older u-boot itself?
Comments from the u-boot users? Do we need to keep the older u-boot or u-boot-mkimage around, or should the move to BSP/layers that need the compatibility of the older version?
All machines from meta-smartphone which are using u-boot are using only uboot.inc from oe-core, because each has own patchset derived from specific upstream revision.
Not the best, but such machine specific u-boot_git.bb are quite small and not so bad to maintain.
Cheers,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
[Re: [OE-core] [poky] [PATCH 0/3] U-boot recipe for most recent stable release.]
Quoted 3 lines · On 31/01/2012 (Tue 11:16) Darren Hart wrote:
Quoted 2 lines · Saul Wold
Quoted 1 line · Paul Gortmaker
On 12-01-31 11:54 AM, Saul Wold wrote:
[...]
Quoted 22 lines
Quoted 14 lines
Quoted 11 lines
Quoted 1 line
What about the u-boot-mkimage recipe, does that also need to be updated?
It could be, but it strictly doesn't have to be. I'd say that mkimage is a tool akin to something like tar -- i.e. you can build whatever version you want, but its functionality isn't going to really change often from one release to the next.
If you want it updated, I can send a follow on patch to do that. What do you guys usually do with the old recipes, leave them laying around, or STONITH?
Adding openembedded-core since that is really where patches to meta should go.
Quoted 7 lines
u-boot seems to be a special beast since we keep the older recipes around for u-boot itself, are they are compatibility issues with going to the latest u-boot-mkimage and older u-boot itself?
Comments from the u-boot users? Do we need to keep the older u-boot or u-boot-mkimage around, or should the move to BSP/layers that need the compatibility of the older version?
Quoted 8 lines
We should keep N and N-1 uboot versions around. This gives users time to ensure their BSP works. After that, if new u-boot cannot be made to work with a given BSP, then that BSP layer should include their own version of a u-boot recipe in the layer's recipes-bsp/u-boot.
--
Darren
From: Paul Gortmaker <[email protected]>
Date: Tue, 31 Jan 2012 17:29:12 -0500
Subject: [PATCH] u-boot: update mkimage to use latest version.
Update the mkimage to use 2011.12 version. At the same time, make it use git instead of tarball (2011.06 bb uses tar).
Delete the oldest recipes and patches specific to 2011.03 support for mkimage. There is really no reason why anyone would need to go back to an older version of mkimage.
--- .../conf/distro/include/distro_tracking_fields.inc | 4 +- ...Drop-config.h-include-in-tools-imximage.h.patch | 39 --------- ...ove-LDSCRIPT-processing-to-the-top-level-.patch | 82 -------------------- ...Drop-config.h-include-in-tools-imximage.h.patch | 39 --------- ...ove-LDSCRIPT-processing-to-the-top-level-.patch | 82 -------------------- meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb | 31 -------- meta/recipes-bsp/u-boot/u-boot-mkimage_2011.12.bb | 33 ++++++++ 7 files changed, 35 insertions(+), 275 deletions(-) delete mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0001-Drop-config.h-include-in-tools-imximage.h.patch delete mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch delete mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage/0001-Drop-config.h-include-in-tools-imximage.h.patch delete mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch delete mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2011.12.bb
meta/conf/distro/include/distro_tracking_fields.inc +2 -2
@@ -1957,8 +1957,8 @@ RECIPE_MAINTAINER_pn-openswan = "Dexuan Cui <[email protected]>" RECIPE_STATUS_pn-u-boot-mkimage = "red" DISTRO_PN_ALIAS_pn-u-boot-mkimage = "Ubuntu=uboot-mkimage Debian=uboot-mkimage" RECIPE_NO_UPDATE_REASON_pn-u-boot-mkimage ="target version is not used" -RECIPE_LATEST_VERSION_pn-u-boot-mkimage = "2010.03" -RECIPE_LAST_UPDATE_pn-u-boot-mkimage = "Dec 15, 2009" +RECIPE_LATEST_VERSION_pn-u-boot-mkimage = "2011.12" +RECIPE_LAST_UPDATE_pn-u-boot-mkimage = "Jan 31, 2012" RECIPE_MAINTAINER_pn-u-boot-mkimage = "Saul Wold <[email protected]>" RECIPE_STATUS_pn-zaurusd = "green"
meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0001-Drop-config.h-include-in-tools-imximage.h.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From ce56e089ddb51dbd81bb2c86b1646d77447afe39 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <[email protected]> -Date: Thu, 3 Feb 2011 15:07:01 +0100 -Subject: Drop config.h include in tools/imximage.h -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Upstream-Status: Accepted - -"make tools-all" should allow building tools such as mkimage and the new -imximage without any config, but imximage.c currently fails to build -with: -imximage.h:27:20: error: config.h: No such file or directory - -config.h is not needed in imximage.h nor in imximage.c, and imximage.h -is only included from imximage.c, so drop this include to fix the build. - -Signed-off-by: Loïc Minier <[email protected]> ---- - tools/imximage.h | 2 -- - 1 files changed, 0 insertions(+), 2 deletions(-) - -diff --git a/tools/imximage.h b/tools/imximage.h -index 38ca6be..d126a46 100644 ---- a/tools/imximage.h -+++ b/tools/imximage.h -@@ -24,8 +24,6 @@ - #ifndef _IMXIMAGE_H_ - #define _IMXIMAGE_H_ - --#include <config.h> -- - #define MAX_HW_CFG_SIZE_V2 121 /* Max number of registers imx can set for v2 */ - #define MAX_HW_CFG_SIZE_V1 60 /* Max number of registers imx can set for v1 */ - #define APP_CODE_BARKER 0xB1 --- -1.7.4.4 -
meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch deleted +0 -82
82 lines not on this page · raw message
meta/recipes-bsp/u-boot/u-boot-mkimage/0001-Drop-config.h-include-in-tools-imximage.h.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From ce56e089ddb51dbd81bb2c86b1646d77447afe39 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <[email protected]> -Date: Thu, 3 Feb 2011 15:07:01 +0100 -Subject: Drop config.h include in tools/imximage.h -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Upstream-Status: Accepted - -"make tools-all" should allow building tools such as mkimage and the new -imximage without any config, but imximage.c currently fails to build -with: -imximage.h:27:20: error: config.h: No such file or directory - -config.h is not needed in imximage.h nor in imximage.c, and imximage.h -is only included from imximage.c, so drop this include to fix the build. - -Signed-off-by: Loïc Minier <[email protected]> ---- - tools/imximage.h | 2 -- - 1 files changed, 0 insertions(+), 2 deletions(-) - -diff --git a/tools/imximage.h b/tools/imximage.h -index 38ca6be..d126a46 100644 ---- a/tools/imximage.h -+++ b/tools/imximage.h -@@ -24,8 +24,6 @@ - #ifndef _IMXIMAGE_H_ - #define _IMXIMAGE_H_ - --#include <config.h> -- - #define MAX_HW_CFG_SIZE_V2 121 /* Max number of registers imx can set for v2 */ - #define MAX_HW_CFG_SIZE_V1 60 /* Max number of registers imx can set for v1 */ - #define APP_CODE_BARKER 0xB1 --- -1.7.4.4 -
meta/recipes-bsp/u-boot/u-boot-mkimage/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch deleted +0 -82
82 lines not on this page · raw message
meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb deleted +0 -31
@@ -1,31 +0,0 @@ -DESCRIPTION = "U-boot bootloader mkimage tool" -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ - file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5" -SECTION = "bootloader" - -PR = "r1" - -SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \ - file://0001-Drop-config.h-include-in-tools-imximage.h.patch \ - file://0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch" - -SRC_URI[md5sum] = "91d02124c94368557d0e9ac05fb8c33f" -SRC_URI[sha256sum] = "08677f66d8d4ee542f6599f580cdffdf730544e1803f9d3739117d6f6d68083e" - -S = "${WORKDIR}/u-boot-${PV}" - -BBCLASSEXTEND = "native nativesdk" - -EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTSTRIP=true' - -do_compile () { - oe_runmake tools -} - -do_install () { - install -d ${D}${bindir} - install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage - ln -sf uboot-mkimage ${D}${bindir}/mkimage -} -
meta/recipes-bsp/u-boot/u-boot-mkimage_2011.12.bb new file +33 -0
@@ -0,0 +1,33 @@ +DESCRIPTION = "U-boot bootloader mkimage tool" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ + file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" +SECTION = "bootloader" + +PR = "r0" + +# This revision corresponds to the tag "v2011.12" +# We use the revision in order to avoid having to fetch it from the repo during parse +SRCREV = "cba9a894fdb1cb49b60fcd1d1d6919cbd7995dd5" + +PV = "v2011.12+git${SRCPV}" +PR = "r0" + +SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git" + +S = "${WORKDIR}/git" + +BBCLASSEXTEND = "native nativesdk" + +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true' + +do_compile () { + oe_runmake tools +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage + ln -sf uboot-mkimage ${D}${bindir}/mkimage +} +
Signature · 1 line
1.7.7