Skip to contentSkip to conversation

u-boot: update to 2013.07

PATCH In review Laszlo Papp 3 participants 8 messages Aug 3, 2013 – Aug 6, 2013 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 u-boot: update to 2013.07

---
 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
meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb new file +26 -0
new file mode 100644
index 0000000..8d13151
@@ -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
+}
meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb new file +27 -0
new file mode 100644
index 0000000..0108e00
@@ -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
+}
+
meta/recipes-bsp/u-boot/u-boot_2013.07.bb new file +25 -0
new file mode 100644
index 0000000..8e05558
@@ -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}"
Signature · 1 line
1.8.3.4
#1 lore raw
Quoted 1 line · Laszlo Papp

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 ;-)

Signature · 3 lines
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
#2 lore raw

It is updating the latest version while also preserving the option of using an earlier one.

Quoted 15 lines · Otavio Salvador
Quoted 1 line · Laszlo Papp

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

#3 lore raw
Quoted 3 lines · Laszlo Papp

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!

Quoted 28 lines

On Sat, Aug 3, 2013 at 6:53 PM, Otavio Salvador <[email protected] <mailto:[email protected]>> wrote:

On Sat, Aug 3, 2013 at 6:17 AM, Laszlo Papp <[email protected] <mailto:[email protected]>> wrote:
> Signed-off-by: Laszlo Papp <[email protected] <mailto:[email protected]>>

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

#4 lore raw
Quoted 13 lines · Saul Wold
Quoted 4 lines · Laszlo Papp

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.

Quoted 5 lines

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.

Signature · 3 lines
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
#5 lore raw
In reply to Laszlo Papp
Quoted 16 lines · Laszlo Papp
---
  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

meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb new file +0 -0
new file mode 100644
index 0000000..8d13151

meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb line 4

Quoted 4 lines
meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb new file +4 -0
@@ -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.

Quoted 6 lines

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!

Quoted 87 lines
meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb new file +22 -0
+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
+}
meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb new file +27 -0
new file mode 100644
index 0000000..0108e00
@@ -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
+}
+
meta/recipes-bsp/u-boot/u-boot_2013.07.bb new file +25 -0
new file mode 100644
index 0000000..8e05558
@@ -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}"
#6 lore raw
In reply to Laszlo Papp
Quoted 16 lines · Laszlo Papp
---
  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

meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb new file +0 -0
new file mode 100644
index 0000000..8d13151

meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb line 4

Quoted 4 lines
meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb new file +4 -0
@@ -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!

Quoted 87 lines
meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb new file +22 -0
+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
+}
meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb new file +27 -0
new file mode 100644
index 0000000..0108e00
@@ -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
+}
+
meta/recipes-bsp/u-boot/u-boot_2013.07.bb new file +25 -0
new file mode 100644
index 0000000..8e05558
@@ -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}"

A message that is not in the archive (sent off-list or not yet received): CAOMwXhN_0SgvFEY1ai9ZntkC-zPCBgbUaQNjqPeoNe931Xr_8w@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CAOMwXhNYeqM6m_R0eTpqHjK-E9d6qmqQw7aGeOJEEqOeByw29A@mail.gmail.com

#9 lore raw
Quoted 2 lines · Laszlo Papp

Which poky version have you used?

Laszlo, I am working against master.

Sau!

Quoted 177 lines

On Mon, Aug 5, 2013 at 6:18 PM, Laszlo Papp <[email protected] <mailto:[email protected]>> 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 <[email protected]
    <mailto:[email protected]>> wrote:

        On 08/03/2013 02:17 AM, Laszlo Papp wrote:

            Signed-off-by: Laszlo Papp <[email protected]
            <mailto:[email protected]>>
            ---
               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}"