Patchwork u-boot: update to 2013.07

login
register
mail settings
Submitter Laszlo Papp
Date Aug. 3, 2013, 9:17 a.m.
Message ID <1375521469-1654-1-git-send-email-lpapp@kde.org>
Download mbox | patch
Permalink /patch/55029/
State New
Headers show

Comments

Laszlo Papp - Aug. 3, 2013, 9:17 a.m.
Signed-off-by: Laszlo Papp <lpapp@kde.org>
---
 meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb | 26 +++++++++++++++++++++
 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb  | 27 ++++++++++++++++++++++
 meta/recipes-bsp/u-boot/u-boot_2013.07.bb          | 25 ++++++++++++++++++++
 3 files changed, 78 insertions(+)
 create mode 100644 meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
 create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
 create mode 100644 meta/recipes-bsp/u-boot/u-boot_2013.07.bb
Otavio Salvador - Aug. 3, 2013, 5:53 p.m.
On Sat, Aug 3, 2013 at 6:17 AM, Laszlo Papp <lpapp@kde.org> wrote:
> Signed-off-by: Laszlo Papp <lpapp@kde.org>

Please reword the commit. You're not updating it but adding 2013.07 version.

Personally I'd prefer to update for 2013.07 and drop previous
releases. To support the update, I've been using this in meta-fsl-arm
since rc1 ;-)
Laszlo Papp - Aug. 3, 2013, 6:12 p.m.
It is updating the latest version while also preserving the option of using
an earlier one.


On Sat, Aug 3, 2013 at 6:53 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:

> On Sat, Aug 3, 2013 at 6:17 AM, Laszlo Papp <lpapp@kde.org> wrote:
> > Signed-off-by: Laszlo Papp <lpapp@kde.org>
>
> Please reword the commit. You're not updating it but adding 2013.07
> version.
>
> Personally I'd prefer to update for 2013.07 and drop previous
> releases. To support the update, I've been using this in meta-fsl-arm
> since rc1 ;-)
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://projetos.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
>
Saul Wold - Aug. 3, 2013, 8 p.m.
On 08/03/2013 11:12 AM, Laszlo Papp wrote:
> It is updating the latest version while also preserving the option of
> using an earlier one.
>
As has been mentioned both on the IRC and here to various other patches 
that update without out removing the older version, we ask why is the 
older version still needed.

In certain cases, such as changing licenses (GPLv2 -> GPLv3), we keep 
the older version, in the case of the toolchain and eglibc, we keep n-1 
around while we stability n.

It appears that u-boot is one of those special cases, but I do not have 
enough information in the logs to determine why we are not removing the 
older recipes.

Otavio, any reason we need to keep 3 older versions?

Sau!


>
> On Sat, Aug 3, 2013 at 6:53 PM, Otavio Salvador <otavio@ossystems.com.br
> <mailto:otavio@ossystems.com.br>> wrote:
>
>     On Sat, Aug 3, 2013 at 6:17 AM, Laszlo Papp <lpapp@kde.org
>     <mailto:lpapp@kde.org>> wrote:
>      > Signed-off-by: Laszlo Papp <lpapp@kde.org <mailto:lpapp@kde.org>>
>
>     Please reword the commit. You're not updating it but adding 2013.07
>     version.
>
>     Personally I'd prefer to update for 2013.07 and drop previous
>     releases. To support the update, I've been using this in meta-fsl-arm
>     since rc1 ;-)
>
>     --
>     Otavio Salvador                             O.S. Systems
>     http://www.ossystems.com.br http://projetos.ossystems.com.br
>     Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
Otavio Salvador - Aug. 3, 2013, 8:05 p.m.
On Sat, Aug 3, 2013 at 5:00 PM, Saul Wold <sgw@linux.intel.com> wrote:
> On 08/03/2013 11:12 AM, Laszlo Papp wrote:
>>
>> It is updating the latest version while also preserving the option of
>> using an earlier one.
>>
> As has been mentioned both on the IRC and here to various other patches that
> update without out removing the older version, we ask why is the older
> version still needed.
>
> In certain cases, such as changing licenses (GPLv2 -> GPLv3), we keep the
> older version, in the case of the toolchain and eglibc, we keep n-1 around
> while we stability n.
>
> It appears that u-boot is one of those special cases, but I do not have
> enough information in the logs to determine why we are not removing the
> older recipes.
>
> Otavio, any reason we need to keep 3 older versions?

Last time it was proposed, IIRC, it was late in the release cycle and
people were worried about breaking other BSPs. I think every BSP which
has specific patches on top of U-Boot mainline should handle it on the
BSP so I see no reason to keep all those, I am all for updating to
2013.07.

As I said, we're using it in meta-fsl-arm for some time.
Saul Wold - Aug. 5, 2013, 4:09 a.m.
On 08/03/2013 02:17 AM, Laszlo Papp wrote:
> Signed-off-by: Laszlo Papp <lpapp@kde.org>
> ---
>   meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb | 26 +++++++++++++++++++++
>   meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb  | 27 ++++++++++++++++++++++
>   meta/recipes-bsp/u-boot/u-boot_2013.07.bb          | 25 ++++++++++++++++++++
>   3 files changed, 78 insertions(+)
>   create mode 100644 meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
>   create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
>   create mode 100644 meta/recipes-bsp/u-boot/u-boot_2013.07.bb
>
> diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
> new file mode 100644
> index 0000000..8d13151
> --- /dev/null
> +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
> @@ -0,0 +1,26 @@
> +DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils"
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
> +                    file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"

During a local build, I found that the md5 is not matching the file, can 
you please confirm you have the correct section and checksum.

> ERROR: Task 5440 (/srv/hdd/poky/meta/recipes-devtools/python/python3-jinja_1.2.bb, do_compile) failed with exit code '1'
> ERROR: u-boot-fw-utils: md5 data is not matching for file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90
> ERROR: u-boot-fw-utils: The new md5 checksum is 78b195c11cb6ef63e6985140db7d7bab
> ERROR: u-boot-fw-utils: Check if the license information has changed in
> ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix
> ERROR: Function failed: do_qa_configure


Thank for the contribution.

Sau!


> +SECTION = "bootloader"
> +
> +DEPENDS = "mtd-utils"
> +
> +SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
> +
> +SRC_URI[md5sum] = "0cc5026aad02f218a9b9ac56b301c97a"
> +SRC_URI[sha256sum] = "362ddb935885da98cf461eba08f31e3e59d0c4ada6cb2fa15596f43af310ba8b"
> +
> +S = "${WORKDIR}/u-boot-${PV}"
> +
> +EXTRA_OEMAKE = 'HOSTCC="${CC}"'
> +
> +do_compile () {
> +  oe_runmake env
> +}
> +
> +do_install () {
> +  install -d ${D}${base_sbindir}
> +  install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv
> +  install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv
> +}
> diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
> new file mode 100644
> index 0000000..0108e00
> --- /dev/null
> +++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
> @@ -0,0 +1,27 @@
> +DESCRIPTION = "U-boot bootloader mkimage tool"
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
> +                    file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab"
> +SECTION = "bootloader"
> +
> +SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
> +
> +SRC_URI[md5sum] = "8445162690052e6afd4b8f87af2bb557"
> +SRC_URI[sha256sum] = "2bbd440c1b29928d230604eac372fda5152d3ae23f52b1910c77fc5bf531250b"
> +
> +S = "${WORKDIR}/u-boot-${PV}"
> +
> +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
> +}
> +
> diff --git a/meta/recipes-bsp/u-boot/u-boot_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> new file mode 100644
> index 0000000..8e05558
> --- /dev/null
> +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> @@ -0,0 +1,25 @@
> +require u-boot.inc
> +
> +# To build u-boot for your machine, provide the following lines in your machine
> +# config, replacing the assignments as appropriate for your machine.
> +# UBOOT_MACHINE = "omap3_beagle_config"
> +# UBOOT_ENTRYPOINT = "0x80008000"
> +# UBOOT_LOADADDRESS = "0x80008000"
> +
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
> +                    file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab"
> +
> +FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}"
> +
> +# This revision corresponds to the tag "v2013.07"
> +# We use the revision in order to avoid having to fetch it from the repo during parse
> +SRCREV = "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c"
> +
> +PV = "v2013.07+git${SRCPV}"
> +
> +SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
> +
> +S = "${WORKDIR}/git"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>
Saul Wold - Aug. 5, 2013, 4:49 p.m.
On 08/03/2013 02:17 AM, Laszlo Papp wrote:
> Signed-off-by: Laszlo Papp <lpapp@kde.org>
> ---
>   meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb | 26 +++++++++++++++++++++
>   meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb  | 27 ++++++++++++++++++++++
>   meta/recipes-bsp/u-boot/u-boot_2013.07.bb          | 25 ++++++++++++++++++++
>   3 files changed, 78 insertions(+)
>   create mode 100644 meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
>   create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
>   create mode 100644 meta/recipes-bsp/u-boot/u-boot_2013.07.bb
>
> diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
> new file mode 100644
> index 0000000..8d13151
> --- /dev/null
> +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
> @@ -0,0 +1,26 @@
> +DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils"
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
> +                    file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"

Please note that the md5sum for the README for fw-utils is different 
than the other 2 below, and since they are all derived from the same 
tarball, that means something must be wrong with the above, did you test 
with a clean build.

Sau!

> +SECTION = "bootloader"
> +
> +DEPENDS = "mtd-utils"
> +
> +SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
> +
> +SRC_URI[md5sum] = "0cc5026aad02f218a9b9ac56b301c97a"
> +SRC_URI[sha256sum] = "362ddb935885da98cf461eba08f31e3e59d0c4ada6cb2fa15596f43af310ba8b"
> +
> +S = "${WORKDIR}/u-boot-${PV}"
> +
> +EXTRA_OEMAKE = 'HOSTCC="${CC}"'
> +
> +do_compile () {
> +  oe_runmake env
> +}
> +
> +do_install () {
> +  install -d ${D}${base_sbindir}
> +  install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv
> +  install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv
> +}
> diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
> new file mode 100644
> index 0000000..0108e00
> --- /dev/null
> +++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
> @@ -0,0 +1,27 @@
> +DESCRIPTION = "U-boot bootloader mkimage tool"
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
> +                    file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab"
> +SECTION = "bootloader"
> +
> +SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
> +
> +SRC_URI[md5sum] = "8445162690052e6afd4b8f87af2bb557"
> +SRC_URI[sha256sum] = "2bbd440c1b29928d230604eac372fda5152d3ae23f52b1910c77fc5bf531250b"
> +
> +S = "${WORKDIR}/u-boot-${PV}"
> +
> +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
> +}
> +
> diff --git a/meta/recipes-bsp/u-boot/u-boot_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> new file mode 100644
> index 0000000..8e05558
> --- /dev/null
> +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> @@ -0,0 +1,25 @@
> +require u-boot.inc
> +
> +# To build u-boot for your machine, provide the following lines in your machine
> +# config, replacing the assignments as appropriate for your machine.
> +# UBOOT_MACHINE = "omap3_beagle_config"
> +# UBOOT_ENTRYPOINT = "0x80008000"
> +# UBOOT_LOADADDRESS = "0x80008000"
> +
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
> +                    file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab"
> +
> +FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}"
> +
> +# This revision corresponds to the tag "v2013.07"
> +# We use the revision in order to avoid having to fetch it from the repo during parse
> +SRCREV = "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c"
> +
> +PV = "v2013.07+git${SRCPV}"
> +
> +SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
> +
> +S = "${WORKDIR}/git"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>
Saul Wold - Aug. 6, 2013, 2:05 p.m.
On 08/06/2013 01:39 AM, Laszlo Papp wrote:
> Which poky version have you used?
>
Laszlo, I am working against master.

Sau!

>
> On Mon, Aug 5, 2013 at 6:18 PM, Laszlo Papp <lpapp@kde.org
> <mailto:lpapp@kde.org>> wrote:
>
>     Yes, of course I tested it, but unfortunately I do not have any free
>     time in the near future to update this change.
>
>
>     On Mon, Aug 5, 2013 at 5:49 PM, Saul Wold <sgw@linux.intel.com
>     <mailto:sgw@linux.intel.com>> wrote:
>
>         On 08/03/2013 02:17 AM, Laszlo Papp wrote:
>
>             Signed-off-by: Laszlo Papp <lpapp@kde.org
>             <mailto:lpapp@kde.org>>
>             ---
>                meta/recipes-bsp/u-boot/u-__boot-fw-utils_2013.07.bb
>             <http://u-boot-fw-utils_2013.07.bb> | 26 +++++++++++++++++++++
>                meta/recipes-bsp/u-boot/u-__boot-mkimage_2013.07.bb
>             <http://u-boot-mkimage_2013.07.bb>  | 27 ++++++++++++++++++++++
>                meta/recipes-bsp/u-boot/u-__boot_2013.07.bb
>             <http://u-boot_2013.07.bb>          | 25 ++++++++++++++++++++
>                3 files changed, 78 insertions(+)
>                create mode 100644
>             meta/recipes-bsp/u-boot/u-__boot-fw-utils_2013.07.bb
>             <http://u-boot-fw-utils_2013.07.bb>
>                create mode 100644
>             meta/recipes-bsp/u-boot/u-__boot-mkimage_2013.07.bb
>             <http://u-boot-mkimage_2013.07.bb>
>                create mode 100644
>             meta/recipes-bsp/u-boot/u-__boot_2013.07.bb
>             <http://u-boot_2013.07.bb>
>
>             diff --git
>             a/meta/recipes-bsp/u-boot/u-__boot-fw-utils_2013.07.bb
>             <http://u-boot-fw-utils_2013.07.bb>
>             b/meta/recipes-bsp/u-boot/u-__boot-fw-utils_2013.07.bb
>             <http://u-boot-fw-utils_2013.07.bb>
>             new file mode 100644
>             index 0000000..8d13151
>             --- /dev/null
>             +++ b/meta/recipes-bsp/u-boot/u-__boot-fw-utils_2013.07.bb
>             <http://u-boot-fw-utils_2013.07.bb>
>             @@ -0,0 +1,26 @@
>             +DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils"
>             +LICENSE = "GPLv2+"
>             +LIC_FILES_CHKSUM =
>             "file://COPYING;md5=__1707d6db1d42237583f50183a5651e__cb \
>             +
>               file://README;beginline=1;__endline=22;md5=__5ba4218ac89af7846802d0348df3fb__90"
>
>
>         Please note that the md5sum for the README for fw-utils is
>         different than the other 2 below, and since they are all derived
>         from the same tarball, that means something must be wrong with
>         the above, did you test with a clean build.
>
>         Sau!
>
>
>             +SECTION = "bootloader"
>             +
>             +DEPENDS = "mtd-utils"
>             +
>             +SRC_URI =
>             "ftp://ftp.denx.de/pub/u-boot/__u-boot-${PV}.tar.bz2
>             <ftp://ftp.denx.de/pub/u-boot/u-boot-$%7BPV%7D.tar.bz2>"
>             +
>             +SRC_URI[md5sum] = "__0cc5026aad02f218a9b9ac56b301c9__7a"
>             +SRC_URI[sha256sum] =
>             "__362ddb935885da98cf461eba08f31e__3e59d0c4ada6cb2fa15596f43af310__ba8b"
>             +
>             +S = "${WORKDIR}/u-boot-${PV}"
>             +
>             +EXTRA_OEMAKE = 'HOSTCC="${CC}"'
>             +
>             +do_compile () {
>             +  oe_runmake env
>             +}
>             +
>             +do_install () {
>             +  install -d ${D}${base_sbindir}
>             +  install -m 755 ${S}/tools/env/fw_printenv
>             ${D}${base_sbindir}/fw___printenv
>             +  install -m 755 ${S}/tools/env/fw_printenv
>             ${D}${base_sbindir}/fw_setenv
>             +}
>             diff --git
>             a/meta/recipes-bsp/u-boot/u-__boot-mkimage_2013.07.bb
>             <http://u-boot-mkimage_2013.07.bb>
>             b/meta/recipes-bsp/u-boot/u-__boot-mkimage_2013.07.bb
>             <http://u-boot-mkimage_2013.07.bb>
>             new file mode 100644
>             index 0000000..0108e00
>             --- /dev/null
>             +++ b/meta/recipes-bsp/u-boot/u-__boot-mkimage_2013.07.bb
>             <http://u-boot-mkimage_2013.07.bb>
>             @@ -0,0 +1,27 @@
>             +DESCRIPTION = "U-boot bootloader mkimage tool"
>             +LICENSE = "GPLv2+"
>             +LIC_FILES_CHKSUM =
>             "file://COPYING;md5=__1707d6db1d42237583f50183a5651e__cb \
>             +
>               file://README;beginline=1;__endline=22;md5=__78b195c11cb6ef63e6985140db7d7b__ab"
>             +SECTION = "bootloader"
>             +
>             +SRC_URI =
>             "ftp://ftp.denx.de/pub/u-boot/__u-boot-${PV}.tar.bz2
>             <ftp://ftp.denx.de/pub/u-boot/u-boot-$%7BPV%7D.tar.bz2>"
>             +
>             +SRC_URI[md5sum] = "__8445162690052e6afd4b8f87af2bb5__57"
>             +SRC_URI[sha256sum] =
>             "__2bbd440c1b29928d230604eac372fd__a5152d3ae23f52b1910c77fc5bf531__250b"
>             +
>             +S = "${WORKDIR}/u-boot-${PV}"
>             +
>             +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
>             +}
>             +
>             diff --git a/meta/recipes-bsp/u-boot/u-__boot_2013.07.bb
>             <http://u-boot_2013.07.bb>
>             b/meta/recipes-bsp/u-boot/u-__boot_2013.07.bb
>             <http://u-boot_2013.07.bb>
>             new file mode 100644
>             index 0000000..8e05558
>             --- /dev/null
>             +++ b/meta/recipes-bsp/u-boot/u-__boot_2013.07.bb
>             <http://u-boot_2013.07.bb>
>             @@ -0,0 +1,25 @@
>             +require u-boot.inc
>             +
>             +# To build u-boot for your machine, provide the following
>             lines in your machine
>             +# config, replacing the assignments as appropriate for your
>             machine.
>             +# UBOOT_MACHINE = "omap3_beagle_config"
>             +# UBOOT_ENTRYPOINT = "0x80008000"
>             +# UBOOT_LOADADDRESS = "0x80008000"
>             +
>             +LICENSE = "GPLv2+"
>             +LIC_FILES_CHKSUM =
>             "file://COPYING;md5=__1707d6db1d42237583f50183a5651e__cb \
>             +
>               file://README;beginline=1;__endline=22;md5=__78b195c11cb6ef63e6985140db7d7b__ab"
>             +
>             +FILESDIR =
>             "${@os.path.dirname(d.getVar('__FILE',1))}/u-boot-git/${__MACHINE}"
>             +
>             +# This revision corresponds to the tag "v2013.07"
>             +# We use the revision in order to avoid having to fetch it
>             from the repo during parse
>             +SRCREV = "__62c175fbb8a0f9a926c88294ea9f7e__88eb898f6c"
>             +
>             +PV = "v2013.07+git${SRCPV}"
>             +
>             +SRC_URI =
>             "git://git.denx.de/u-boot.git;__branch=master;protocol=git
>             <http://git.denx.de/u-boot.git;branch=master;protocol=git>"
>             +
>             +S = "${WORKDIR}/git"
>             +
>             +PACKAGE_ARCH = "${MACHINE_ARCH}"
>
>
>

Patch

diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
new file mode 100644
index 0000000..8d13151
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
@@ -0,0 +1,26 @@ 
+DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
+                    file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"
+SECTION = "bootloader"
+
+DEPENDS = "mtd-utils"
+
+SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "0cc5026aad02f218a9b9ac56b301c97a"
+SRC_URI[sha256sum] = "362ddb935885da98cf461eba08f31e3e59d0c4ada6cb2fa15596f43af310ba8b"
+
+S = "${WORKDIR}/u-boot-${PV}"
+
+EXTRA_OEMAKE = 'HOSTCC="${CC}"'
+
+do_compile () {
+  oe_runmake env
+}
+
+do_install () {
+  install -d ${D}${base_sbindir}
+  install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv
+  install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv
+}
diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
new file mode 100644
index 0000000..0108e00
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
@@ -0,0 +1,27 @@ 
+DESCRIPTION = "U-boot bootloader mkimage tool"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
+                    file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab"
+SECTION = "bootloader"
+
+SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "8445162690052e6afd4b8f87af2bb557"
+SRC_URI[sha256sum] = "2bbd440c1b29928d230604eac372fda5152d3ae23f52b1910c77fc5bf531250b"
+
+S = "${WORKDIR}/u-boot-${PV}"
+
+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
+}
+
diff --git a/meta/recipes-bsp/u-boot/u-boot_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
new file mode 100644
index 0000000..8e05558
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
@@ -0,0 +1,25 @@ 
+require u-boot.inc
+
+# To build u-boot for your machine, provide the following lines in your machine
+# config, replacing the assignments as appropriate for your machine.
+# UBOOT_MACHINE = "omap3_beagle_config"
+# UBOOT_ENTRYPOINT = "0x80008000"
+# UBOOT_LOADADDRESS = "0x80008000"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
+                    file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab"
+
+FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}"
+
+# This revision corresponds to the tag "v2013.07"
+# We use the revision in order to avoid having to fetch it from the repo during parse
+SRCREV = "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c"
+
+PV = "v2013.07+git${SRCPV}"
+
+SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
+
+S = "${WORKDIR}/git"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"