Skip to contentSkip to conversation

u-boot: update to 2013.07

PATCH In review Laszlo Papp 2 participants 3 messages Aug 15, 2013

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..a5bbb73
@@ -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=78b195c11cb6ef63e6985140db7d7bab"
+SECTION = "bootloader"
+
+DEPENDS = "mtd-utils"
+
+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}"
+
+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

Hi,

Quoted 84 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 +26 -0
new file mode 100644
index 0000000..a5bbb73
@@ -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=78b195c11cb6ef63e6985140db7d7bab"
+SECTION = "bootloader"
+
+DEPENDS = "mtd-utils"
+
+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}"
+
+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 +3 -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

meta/recipes-bsp/u-boot/u-boot_2013.07.bb line 13

Quoted 10 lines
meta/recipes-bsp/u-boot/u-boot_2013.07.bb new file +10 -0
+# 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 isn't needed as it is present in u-boot.inc, see
http://patches.openembedded.org/patch/30879/

meta/recipes-bsp/u-boot/u-boot_2013.07.bb line 25

Quoted 13 lines
meta/recipes-bsp/u-boot/u-boot_2013.07.bb new file +12 -0
+
+# 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}"

Cheers,

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  Cambrideshire, UK
  http://www.embed.me.uk
--
#2 lore raw

OK, thanks.

Seems fw-utils is broken, and I do not know how to fix it... So do not approve.

Quoted 148 lines · Jack Mitchell

Hi,

Quoted 3 lines · Laszlo Papp
---
 meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb | 26

+++++++++++++++++++++

Quoted 1 line
 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb  | 27

++++++++++++++++++++++

Quoted 1 line
 meta/recipes-bsp/u-boot/u-boot_2013.07.bb          | 25

++++++++++++++++++++

Review

Quoted 6 lines
 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
(quoted diff) +0 -0

u-boot-fw-utils_2013.07.bb

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

Quoted 8 lines

new file mode 100644
index 0000000..a5bbb73

meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb new file +3 -0
@@ -0,0 +1,26 @@
+DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb

\

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

Quoted 1 line
meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb new file +1 -0
+

file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab"

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

Quoted 8 lines
meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb new file +8 -0
+SECTION = "bootloader"
+
+DEPENDS = "mtd-utils"
+
+SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "8445162690052e6afd4b8f87af2bb557"
+SRC_URI[sha256sum] =

"2bbd440c1b29928d230604eac372fda5152d3ae23f52b1910c77fc5bf531250b"

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

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

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

Quoted 1 line
meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb new file +1 -0
+  install -m 755 ${S}/tools/env/fw_printenv

${D}${base_sbindir}/fw_setenv

Review

Quoted 2 lines
meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb new file +1 -0
+}
(quoted diff) +0 -0

u-boot-mkimage_2013.07.bb

meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb line 3

Quoted 8 lines

new file mode 100644
index 0000000..0108e00

meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb new file +3 -0
@@ -0,0 +1,27 @@
+DESCRIPTION = "U-boot bootloader mkimage tool"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb

\

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

Quoted 1 line
meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb new file +1 -0
+

file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab"

meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb line 10

Quoted 6 lines
meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb new file +6 -0
+SECTION = "bootloader"
+
+SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "8445162690052e6afd4b8f87af2bb557"
+SRC_URI[sha256sum] =

"2bbd440c1b29928d230604eac372fda5152d3ae23f52b1910c77fc5bf531250b"

meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb

Quoted 6 lines
meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb new file +6 -0
+
+S = "${WORKDIR}/u-boot-${PV}"
+
+BBCLASSEXTEND = "native nativesdk"
+
+EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}"

HOSTSTRIP=true'

Review

Quoted 12 lines
meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb new file +11 -0
+
+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
+}
+
(quoted diff) +0 -0

u-boot_2013.07.bb

meta/recipes-bsp/u-boot/u-boot_2013.07.bb line 3

Quoted 8 lines

new file mode 100644
index 0000000..8e05558

meta/recipes-bsp/u-boot/u-boot_2013.07.bb new file +3 -0
@@ -0,0 +1,25 @@
+require u-boot.inc
+
+# To build u-boot for your machine, provide the following lines in your

machine

meta/recipes-bsp/u-boot/u-boot_2013.07.bb

Quoted 7 lines
meta/recipes-bsp/u-boot/u-boot_2013.07.bb new file +7 -0
+# 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

\

meta/recipes-bsp/u-boot/u-boot_2013.07.bb line 11

Quoted 1 line
meta/recipes-bsp/u-boot/u-boot_2013.07.bb new file +1 -0
+

file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab"

meta/recipes-bsp/u-boot/u-boot_2013.07.bb line 13

Quoted 2 lines
meta/recipes-bsp/u-boot/u-boot_2013.07.bb new file +2 -0
+
+FILESDIR =

"${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}"

This isn't needed as it is present in u-boot.inc, see
http://patches.openembedded.org/patch/30879/

meta/recipes-bsp/u-boot/u-boot_2013.07.bb

Quoted 3 lines
meta/recipes-bsp/u-boot/u-boot_2013.07.bb new file +3 -0
+
+# 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

meta/recipes-bsp/u-boot/u-boot_2013.07.bb line 25

Quoted 10 lines
meta/recipes-bsp/u-boot/u-boot_2013.07.bb new file +9 -0
+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}"

Cheers,

--
Jack Mitchell ([email protected])
Embedded Systems Engineer
Cambrideshire, UK
http://www.embed.me.uk
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core