Skip to contentSkip to conversation

u-boot: update to 2013.07

PATCH In review Laszlo Papp 2 participants 3 messages Jul 31, 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 | 28 +++++++++++++++++++++
 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb  | 29 ++++++++++++++++++++++
 meta/recipes-bsp/u-boot/u-boot_2013.07.bb          | 26 +++++++++++++++++++
 3 files changed, 83 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 +28 -0
new file mode 100644
index 0000000..e20e5f9
@@ -0,0 +1,28 @@
+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"
+
+PR = "r0"
+
+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 +29 -0
new file mode 100644
index 0000000..abd373f
@@ -0,0 +1,29 @@
+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"
+
+PR = "r0"
+
+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 +26 -0
new file mode 100644
index 0000000..111c066
@@ -0,0 +1,26 @@
+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}"
+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.8.3.4
#1 lore raw
Quoted 9 lines · Laszlo Papp
---
 meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb | 28 +++++++++++++++++++++
 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb  | 29 ++++++++++++++++++++++
 meta/recipes-bsp/u-boot/u-boot_2013.07.bb          | 26 +++++++++++++++++++
 3 files changed, 83 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

Unless there's a good reason to keep the older version around please delete the old files and use the -M option to send-email/format-patch so that it detects the rename and sends a minimal diff that is easier to review.

If there is a good reason to keep the old version around, please say what it is.

Ross

#2 lore raw

Just for the record as I already wrote, there are files already around, and I would not like to screw up anyone's work and use because I do not know why they are around. However, that should not be blocking people who need the new features for their software to operate.

Anyway, I would like to withdraw this change because I do not find my pleasure about pedantic nitpicking I got on IRC. I think those not only do not move the project forward, but blocking many people's contribution and usability for no real gain.

Anyone can grab my change, and do whatever wished with it.

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

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

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

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

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

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

Quoted 4 lines
 3 files changed, 83 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

Unless there's a good reason to keep the older version around please delete the old files and use the -M option to send-email/format-patch so that it detects the rename and sends a minimal diff that is easier to review.

If there is a good reason to keep the old version around, please say what it is.

Ross