All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] u-boot: update to 2013.07
@ 2013-08-23  9:48 Laszlo Papp
  2013-08-23 16:57 ` Laszlo Papp
  2013-08-27 19:57 ` Randy MacLeod
  0 siblings, 2 replies; 35+ messages in thread
From: Laszlo Papp @ 2013-08-23  9:48 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Laszlo Papp <lpapp@kde.org>
---
 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb | 27 +++++++++++++++++++++++
 meta/recipes-bsp/u-boot/u-boot_2013.07.bb         | 23 +++++++++++++++++++
 2 files changed, 50 insertions(+)
 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-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..f3f4b62
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
@@ -0,0 +1,23 @@
+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"
+
+# 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}"
-- 
1.8.3.4



^ permalink raw reply related	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-23  9:48 [PATCH] u-boot: update to 2013.07 Laszlo Papp
@ 2013-08-23 16:57 ` Laszlo Papp
  2013-08-23 21:56   ` Saul Wold
  2013-08-26 17:55   ` Saul Wold
  2013-08-27 19:57 ` Randy MacLeod
  1 sibling, 2 replies; 35+ messages in thread
From: Laszlo Papp @ 2013-08-23 16:57 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2870 bytes --]

Any update? It would be nice not to miss the freeze ... ;-)


On Fri, Aug 23, 2013 at 10:48 AM, Laszlo Papp <lpapp@kde.org> wrote:

> Signed-off-by: Laszlo Papp <lpapp@kde.org>
> ---
>  meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb | 27
> +++++++++++++++++++++++
>  meta/recipes-bsp/u-boot/u-boot_2013.07.bb         | 23
> +++++++++++++++++++
>  2 files changed, 50 insertions(+)
>  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-mkimage_2013.07.bbb/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.bbb/meta/recipes-bsp/u-boot/
> u-boot_2013.07.bb
> new file mode 100644
> index 0000000..f3f4b62
> --- /dev/null
> +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> @@ -0,0 +1,23 @@
> +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"
> +
> +# 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}"
> --
> 1.8.3.4
>
>

[-- Attachment #2: Type: text/html, Size: 4467 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-23 16:57 ` Laszlo Papp
@ 2013-08-23 21:56   ` Saul Wold
  2013-08-24  4:31     ` Saul Wold
  2013-08-26 17:55   ` Saul Wold
  1 sibling, 1 reply; 35+ messages in thread
From: Saul Wold @ 2013-08-23 21:56 UTC (permalink / raw)
  To: Laszlo Papp; +Cc: openembedded-core

On 08/23/2013 09:57 AM, Laszlo Papp wrote:
> Any update? It would be nice not to miss the freeze ... ;-)
>
I had some networking issues this morning, and I am pulling together 
patches now.  This was build on the Autobuilders last night and there a 
a problem with meta-fsl-ppc-lsb build, I am not sure if it's a transient 
issue or a real one.

I have not look into it yet.  The high level logs can be found here:
http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-ppc-lsb/builds/231/steps/Building%20Images/logs/stdio

As you might have seen I rejected Otavio's patch and am working to 
include this one.  It will still need the rest of the maintainers to review.

Thanks for your time and effort.

Sau!

>
> On Fri, Aug 23, 2013 at 10:48 AM, Laszlo Papp <lpapp@kde.org
> <mailto:lpapp@kde.org>> wrote:
>
>     Signed-off-by: Laszlo Papp <lpapp@kde.org <mailto:lpapp@kde.org>>
>     ---
>       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>         | 23 +++++++++++++++++++
>       2 files changed, 50 insertions(+)
>       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-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=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
>     <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..f3f4b62
>     --- /dev/null
>     +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
>     <http://u-boot_2013.07.bb>
>     @@ -0,0 +1,23 @@
>     +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"
>     +
>     +# 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
>     <http://git.denx.de/u-boot.git;branch=master;protocol=git>"
>     +
>     +S = "${WORKDIR}/git"
>     +
>     +PACKAGE_ARCH = "${MACHINE_ARCH}"
>     --
>     1.8.3.4
>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-23 21:56   ` Saul Wold
@ 2013-08-24  4:31     ` Saul Wold
  0 siblings, 0 replies; 35+ messages in thread
From: Saul Wold @ 2013-08-24  4:31 UTC (permalink / raw)
  To: Laszlo Papp, Otavio Salvador; +Cc: openembedded-core

On 08/23/2013 02:56 PM, Saul Wold wrote:
> On 08/23/2013 09:57 AM, Laszlo Papp wrote:
>> Any update? It would be nice not to miss the freeze ... ;-)
>>
> I had some networking issues this morning, and I am pulling together
> patches now.  This was build on the Autobuilders last night and there a
> a problem with meta-fsl-ppc-lsb build, I am not sure if it's a transient
> issue or a real one.
>
> I have not look into it yet.  The high level logs can be found here:
> http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-ppc-lsb/builds/231/steps/Building%20Images/logs/stdio
>
As I said above I had not looked into this yet, after looking at it a 
little further this is an issue with the u-boot_git recipe that 
FreeScale PPC is using, so not an issue for you to worry about.

Sorry for the alarm.

Sau!

>
> As you might have seen I rejected Otavio's patch and am working to
> include this one.  It will still need the rest of the maintainers to
> review.
>
> Thanks for your time and effort.
>
> Sau!
>
>>
>> On Fri, Aug 23, 2013 at 10:48 AM, Laszlo Papp <lpapp@kde.org
>> <mailto:lpapp@kde.org>> wrote:
>>
>>     Signed-off-by: Laszlo Papp <lpapp@kde.org <mailto:lpapp@kde.org>>
>>     ---
>>       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>         | 23 +++++++++++++++++++
>>       2 files changed, 50 insertions(+)
>>       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-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=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
>>     <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..f3f4b62
>>     --- /dev/null
>>     +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
>>     <http://u-boot_2013.07.bb>
>>     @@ -0,0 +1,23 @@
>>     +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"
>>
>>     +
>>     +# 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
>>     <http://git.denx.de/u-boot.git;branch=master;protocol=git>"
>>     +
>>     +S = "${WORKDIR}/git"
>>     +
>>     +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>     --
>>     1.8.3.4
>>
>>
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-23 16:57 ` Laszlo Papp
  2013-08-23 21:56   ` Saul Wold
@ 2013-08-26 17:55   ` Saul Wold
  2013-08-26 21:48     ` Peter A. Bigot
  2013-08-27 10:45     ` Laszlo Papp
  1 sibling, 2 replies; 35+ messages in thread
From: Saul Wold @ 2013-08-26 17:55 UTC (permalink / raw)
  To: Laszlo Papp; +Cc: openembedded-core

On 08/23/2013 09:57 AM, Laszlo Papp wrote:
> Any update? It would be nice not to miss the freeze ... ;-)
>
This has been merged, and I was informed by the QA team that it works 
correctly for the mpc8315e-rdb and beagleboard, but NOT the beagleboard XM.

So maintaining this as DEFAULT_PREFERENCE = "-1" is correct for now, 
until the XM issue can be resolved.

Thanks for the contribution.

Sau!

>
> On Fri, Aug 23, 2013 at 10:48 AM, Laszlo Papp <lpapp@kde.org
> <mailto:lpapp@kde.org>> wrote:
>
>     Signed-off-by: Laszlo Papp <lpapp@kde.org <mailto:lpapp@kde.org>>
>     ---
>       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>         | 23 +++++++++++++++++++
>       2 files changed, 50 insertions(+)
>       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-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=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
>     <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..f3f4b62
>     --- /dev/null
>     +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
>     <http://u-boot_2013.07.bb>
>     @@ -0,0 +1,23 @@
>     +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"
>     +
>     +# 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
>     <http://git.denx.de/u-boot.git;branch=master;protocol=git>"
>     +
>     +S = "${WORKDIR}/git"
>     +
>     +PACKAGE_ARCH = "${MACHINE_ARCH}"
>     --
>     1.8.3.4
>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-26 17:55   ` Saul Wold
@ 2013-08-26 21:48     ` Peter A. Bigot
  2013-08-26 21:55       ` Laszlo Papp
  2013-08-26 22:03       ` Bruce Ashfield
  2013-08-27 10:45     ` Laszlo Papp
  1 sibling, 2 replies; 35+ messages in thread
From: Peter A. Bigot @ 2013-08-26 21:48 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core

I can confirm this also works with the Gumstix Overo in a layer bbappend 
that used SRC_URI_append_overo for additional patches.  Thanks to you 
both for getting it merged.

I did come up with a question, though.  The recipe uses:

   PV = "v2013.07+git${SRCPV}"

which creates an informative but ugly ${BPN}.  I'd like to use something 
like:

   FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"

in the bbappend to simplify updates, but I don't want to have a 
directory named u-boot-v2013.07+gitAUTOINC+62c175fbb8.  For linux-yocto, 
this is solved through introduction of ${LINUX_VERSION} allowing 
${PN}-${LINUX_VERSION}.

Is there reason to create a parallel UBOOT_VERSION?

Is there reason to have some way to access the default ${PV} inferred 
from the recipe name before the base recipe overrode it? (Is there 
already some way to get that value?)

Is there a better approach than bbappend-in-layer that I should use for 
adding patches required for a specific u-boot machine?

Peter

On 08/26/2013 12:55 PM, Saul Wold wrote:
> On 08/23/2013 09:57 AM, Laszlo Papp wrote:
>> Any update? It would be nice not to miss the freeze ... ;-)
>>
> This has been merged, and I was informed by the QA team that it works 
> correctly for the mpc8315e-rdb and beagleboard, but NOT the 
> beagleboard XM.



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-26 21:48     ` Peter A. Bigot
@ 2013-08-26 21:55       ` Laszlo Papp
  2013-08-26 22:03       ` Bruce Ashfield
  1 sibling, 0 replies; 35+ messages in thread
From: Laszlo Papp @ 2013-08-26 21:55 UTC (permalink / raw)
  To: Peter A. Bigot; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

This email contains some nuances, so I will try to reply to the main points
(IMO).

On Mon, Aug 26, 2013 at 10:48 PM, Peter A. Bigot <pab@pabigot.com> wrote:

> Is there reason to create a parallel UBOOT_VERSION?
>

Yes. fw-utils is not available with this u-boot version just yet. Also, I
have not tested all the reference BSPs.


> Is there a better approach than bbappend-in-layer that I should use for
> adding patches required for a specific u-boot machine?
>

That is hard to answer without details. fw-utils could be some help layer,
maybe. Other than that, what do you mean? Something like config fragments
(see busybox)?

Cheers,
Laszlo

[-- Attachment #2: Type: text/html, Size: 1147 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-26 21:48     ` Peter A. Bigot
  2013-08-26 21:55       ` Laszlo Papp
@ 2013-08-26 22:03       ` Bruce Ashfield
  1 sibling, 0 replies; 35+ messages in thread
From: Bruce Ashfield @ 2013-08-26 22:03 UTC (permalink / raw)
  To: Peter A. Bigot; +Cc: openembedded-core

On Mon, Aug 26, 2013 at 5:48 PM, Peter A. Bigot <pab@pabigot.com> wrote:
> I can confirm this also works with the Gumstix Overo in a layer bbappend
> that used SRC_URI_append_overo for additional patches.  Thanks to you both
> for getting it merged.
>
> I did come up with a question, though.  The recipe uses:
>
>   PV = "v2013.07+git${SRCPV}"
>
> which creates an informative but ugly ${BPN}.  I'd like to use something
> like:
>
>   FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
>
> in the bbappend to simplify updates, but I don't want to have a directory
> named u-boot-v2013.07+gitAUTOINC+62c175fbb8.  For linux-yocto, this is
> solved through introduction of ${LINUX_VERSION} allowing
> ${PN}-${LINUX_VERSION}.
>
> Is there reason to create a parallel UBOOT_VERSION?
>
> Is there reason to have some way to access the default ${PV} inferred from
> the recipe name before the base recipe overrode it? (Is there already some
> way to get that value?)
>
> Is there a better approach than bbappend-in-layer that I should use for
> adding patches required for a specific u-boot machine?

That's the right approach. Only when complexity warrants is it worth
the effort to maintain
a targeted git tree that manages changes via branches. So until the
directories full of patches
and conflicting features collapse on themselves, go with SRC_URIs and bbappends.

Cheers,

Bruce

>
> Peter
>
>
> On 08/26/2013 12:55 PM, Saul Wold wrote:
>>
>> On 08/23/2013 09:57 AM, Laszlo Papp wrote:
>>>
>>> Any update? It would be nice not to miss the freeze ... ;-)
>>>
>> This has been merged, and I was informed by the QA team that it works
>> correctly for the mpc8315e-rdb and beagleboard, but NOT the beagleboard XM.
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-26 17:55   ` Saul Wold
  2013-08-26 21:48     ` Peter A. Bigot
@ 2013-08-27 10:45     ` Laszlo Papp
  1 sibling, 0 replies; 35+ messages in thread
From: Laszlo Papp @ 2013-08-27 10:45 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

On Mon, Aug 26, 2013 at 6:55 PM, Saul Wold <sgw@linux.intel.com> wrote:

> Thanks for the contribution.
>

Looks my first contribution which is in then! Yay, thanks. :)

-- Laszlo

[-- Attachment #2: Type: text/html, Size: 582 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-23  9:48 [PATCH] u-boot: update to 2013.07 Laszlo Papp
  2013-08-23 16:57 ` Laszlo Papp
@ 2013-08-27 19:57 ` Randy MacLeod
  2013-08-27 20:03   ` Laszlo Papp
                     ` (2 more replies)
  1 sibling, 3 replies; 35+ messages in thread
From: Randy MacLeod @ 2013-08-27 19:57 UTC (permalink / raw)
  To: Laszlo Papp; +Cc: openembedded-core

On 13-08-23 05:48 AM, Laszlo Papp wrote:
> Signed-off-by: Laszlo Papp <lpapp@kde.org>
> ---
>   meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb | 27 +++++++++++++++++++++++
>   meta/recipes-bsp/u-boot/u-boot_2013.07.bb         | 23 +++++++++++++++++++
>   2 files changed, 50 insertions(+)
>   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_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> new file mode 100644
> index 0000000..f3f4b62
> --- /dev/null
> +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> @@ -0,0 +1,23 @@
> +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"
> +
> +# 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"

Just curious...
I dont' see a good reason to specify the git protocol twice:
    git://.... and ; protocol=git

This occurs in many recipes and we could get rid of the clutter
with a script if it bothers anyone else. :)

Am I missing something or are people just copying and pasting the text?

// Randy

> +
> +S = "${WORKDIR}/git"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>


-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-27 19:57 ` Randy MacLeod
@ 2013-08-27 20:03   ` Laszlo Papp
  2013-08-27 20:08   ` Martin Jansa
  2013-08-28 16:00   ` Khem Raj
  2 siblings, 0 replies; 35+ messages in thread
From: Laszlo Papp @ 2013-08-27 20:03 UTC (permalink / raw)
  To: Randy MacLeod; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

On Tue, Aug 27, 2013 at 8:57 PM, Randy MacLeod
<randy.macleod@windriver.com>wrote:

> Am I missing something or are people just copying and pasting the text?
>

I was just copying and pasting it.

[-- Attachment #2: Type: text/html, Size: 583 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-27 19:57 ` Randy MacLeod
  2013-08-27 20:03   ` Laszlo Papp
@ 2013-08-27 20:08   ` Martin Jansa
  2013-08-27 23:29     ` Richard Purdie
  2013-08-28 16:00   ` Khem Raj
  2 siblings, 1 reply; 35+ messages in thread
From: Martin Jansa @ 2013-08-27 20:08 UTC (permalink / raw)
  To: Randy MacLeod; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3013 bytes --]

On Tue, Aug 27, 2013 at 03:57:09PM -0400, Randy MacLeod wrote:
> On 13-08-23 05:48 AM, Laszlo Papp wrote:
> > Signed-off-by: Laszlo Papp <lpapp@kde.org>
> > ---
> >   meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb | 27 +++++++++++++++++++++++
> >   meta/recipes-bsp/u-boot/u-boot_2013.07.bb         | 23 +++++++++++++++++++
> >   2 files changed, 50 insertions(+)
> >   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_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> > new file mode 100644
> > index 0000000..f3f4b62
> > --- /dev/null
> > +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> > @@ -0,0 +1,23 @@
> > +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"
> > +
> > +# 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"
> 
> Just curious...
> I dont' see a good reason to specify the git protocol twice:
>     git://.... and ; protocol=git

It's not twice, git:// is to select bitbake fetcher (git.py) and one
fetcher can support multiple protocols (e.g. over git, http or ssh)

but you're right that in most cases "protocol=git" isn't needed, because
it's default protocol for git fetcher when host is specified in that
SRC_URI.

bitbake/lib/bb/fetch2/git.py:
        if 'protocol' in ud.parm:
            ud.proto = ud.parm['protocol']
        elif not ud.host:
            ud.proto = 'file'
        else:
            ud.proto = "git"

And I would support removing it in one go as it clearly confuses people
:).

> 
> This occurs in many recipes and we could get rid of the clutter
> with a script if it bothers anyone else. :)
> 
> Am I missing something or are people just copying and pasting the text?
> 
> // Randy
> 
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +PACKAGE_ARCH = "${MACHINE_ARCH}"
> >
> 
> 
> -- 
> # Randy MacLeod. SMTS, Linux, Wind River
> Direct: 613.963.1350
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-27 20:08   ` Martin Jansa
@ 2013-08-27 23:29     ` Richard Purdie
  2013-08-28  3:50       ` Randy MacLeod
  0 siblings, 1 reply; 35+ messages in thread
From: Richard Purdie @ 2013-08-27 23:29 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

On Tue, 2013-08-27 at 22:08 +0200, Martin Jansa wrote:
> On Tue, Aug 27, 2013 at 03:57:09PM -0400, Randy MacLeod wrote:
> > On 13-08-23 05:48 AM, Laszlo Papp wrote:
> > > Signed-off-by: Laszlo Papp <lpapp@kde.org>
> > > ---
> > >   meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb | 27 +++++++++++++++++++++++
> > >   meta/recipes-bsp/u-boot/u-boot_2013.07.bb         | 23 +++++++++++++++++++
> > >   2 files changed, 50 insertions(+)
> > >   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_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> > > new file mode 100644
> > > index 0000000..f3f4b62
> > > --- /dev/null
> > > +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> > > @@ -0,0 +1,23 @@
> > > +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"
> > > +
> > > +# 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"
> > 
> > Just curious...
> > I dont' see a good reason to specify the git protocol twice:
> >     git://.... and ; protocol=git
> 
> It's not twice, git:// is to select bitbake fetcher (git.py) and one
> fetcher can support multiple protocols (e.g. over git, http or ssh)
> 
> but you're right that in most cases "protocol=git" isn't needed, because
> it's default protocol for git fetcher when host is specified in that
> SRC_URI.
> 
> bitbake/lib/bb/fetch2/git.py:
>         if 'protocol' in ud.parm:
>             ud.proto = ud.parm['protocol']
>         elif not ud.host:
>             ud.proto = 'file'
>         else:
>             ud.proto = "git"
> 
> And I would support removing it in one go as it clearly confuses people
> :).

The reason is that the default for the git fetcher was once rsync. Why?
The fetcher was written when git was still a new and unexplored
landscape. We decided in the end to break that insane default and fix
it.

We should kill off the now unnecessary parameters though.

Cheers,

Richard





^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-27 23:29     ` Richard Purdie
@ 2013-08-28  3:50       ` Randy MacLeod
  2013-08-29  7:16         ` jhuang0
  0 siblings, 1 reply; 35+ messages in thread
From: Randy MacLeod @ 2013-08-28  3:50 UTC (permalink / raw)
  To: Richard Purdie, Huang, Jie (Jackie); +Cc: openembedded-core

On 13-08-27 07:29 PM, Richard Purdie wrote:
> On Tue, 2013-08-27 at 22:08 +0200, Martin Jansa wrote:
>> On Tue, Aug 27, 2013 at 03:57:09PM -0400, Randy MacLeod wrote:
>>> On 13-08-23 05:48 AM, Laszlo Papp wrote:
>>>> Signed-off-by: Laszlo Papp <lpapp@kde.org>
>>>> ---
>>>>    meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb | 27 +++++++++++++++++++++++
>>>>    meta/recipes-bsp/u-boot/u-boot_2013.07.bb         | 23 +++++++++++++++++++
>>>>    2 files changed, 50 insertions(+)
>>>>    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_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
>>>> new file mode 100644
>>>> index 0000000..f3f4b62
>>>> --- /dev/null
>>>> +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
>>>> @@ -0,0 +1,23 @@
>>>> +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"
>>>> +
>>>> +# 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"
>>>
>>> Just curious...
>>> I dont' see a good reason to specify the git protocol twice:
>>>      git://.... and ; protocol=git
>>
>> It's not twice, git:// is to select bitbake fetcher (git.py) and one
>> fetcher can support multiple protocols (e.g. over git, http or ssh)
>>
>> but you're right that in most cases "protocol=git" isn't needed, because
>> it's default protocol for git fetcher when host is specified in that
>> SRC_URI.
>>
>> bitbake/lib/bb/fetch2/git.py:
>>          if 'protocol' in ud.parm:
>>              ud.proto = ud.parm['protocol']
>>          elif not ud.host:
>>              ud.proto = 'file'
>>          else:
>>              ud.proto = "git"
>>
>> And I would support removing it in one go as it clearly confuses people
>> :).
>
> The reason is that the default for the git fetcher was once rsync. Why?
> The fetcher was written when git was still a new and unexplored
> landscape. We decided in the end to break that insane default and fix
> it.
>
> We should kill off the now unnecessary parameters though.

Ok. Jackie will have time to make a first pass tomorrow.
Jackie, please include the replacement script in your email.

// Randy

>
> Cheers,
>
> Richard
>
>
>


-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-27 19:57 ` Randy MacLeod
  2013-08-27 20:03   ` Laszlo Papp
  2013-08-27 20:08   ` Martin Jansa
@ 2013-08-28 16:00   ` Khem Raj
  2 siblings, 0 replies; 35+ messages in thread
From: Khem Raj @ 2013-08-28 16:00 UTC (permalink / raw)
  To: Randy MacLeod; +Cc: openembedded-core


On Aug 27, 2013, at 12:57 PM, Randy MacLeod <randy.macleod@windriver.com> wrote:

> Just curious...
> I dont' see a good reason to specify the git protocol twice:
>   git://.... and ; protocol=git

since its explicit. it does provide readability benefits which does have value
when newbies read the recipes.

> 
> This occurs in many recipes and we could get rid of the clutter
> with a script if it bothers anyone else. :)
> 
> Am I missing something or are people just copying and pasting the text?



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-28  3:50       ` Randy MacLeod
@ 2013-08-29  7:16         ` jhuang0
  0 siblings, 0 replies; 35+ messages in thread
From: jhuang0 @ 2013-08-29  7:16 UTC (permalink / raw)
  To: Randy MacLeod, Richard Purdie; +Cc: openembedded-core



On 8/28/2013 11:50 AM, Randy MacLeod wrote:
> On 13-08-27 07:29 PM, Richard Purdie wrote:
>> On Tue, 2013-08-27 at 22:08 +0200, Martin Jansa wrote:
>>> On Tue, Aug 27, 2013 at 03:57:09PM -0400, Randy MacLeod wrote:
>>>> On 13-08-23 05:48 AM, Laszlo Papp wrote:
>>>>> Signed-off-by: Laszlo Papp <lpapp@kde.org>
>>>>> ---
>>>>>    meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb | 27
>>>>> +++++++++++++++++++++++
>>>>>    meta/recipes-bsp/u-boot/u-boot_2013.07.bb         | 23
>>>>> +++++++++++++++++++
>>>>>    2 files changed, 50 insertions(+)
>>>>>    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_2013.07.bb
>>>>> b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
>>>>> new file mode 100644
>>>>> index 0000000..f3f4b62
>>>>> --- /dev/null
>>>>> +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
>>>>> @@ -0,0 +1,23 @@
>>>>> +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"
>>>>>
>>>>> +
>>>>> +# 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"
>>>>
>>>> Just curious...
>>>> I dont' see a good reason to specify the git protocol twice:
>>>>      git://.... and ; protocol=git
>>>
>>> It's not twice, git:// is to select bitbake fetcher (git.py) and one
>>> fetcher can support multiple protocols (e.g. over git, http or ssh)
>>>
>>> but you're right that in most cases "protocol=git" isn't needed, because
>>> it's default protocol for git fetcher when host is specified in that
>>> SRC_URI.
>>>
>>> bitbake/lib/bb/fetch2/git.py:
>>>          if 'protocol' in ud.parm:
>>>              ud.proto = ud.parm['protocol']
>>>          elif not ud.host:
>>>              ud.proto = 'file'
>>>          else:
>>>              ud.proto = "git"
>>>
>>> And I would support removing it in one go as it clearly confuses people
>>> :).
>>
>> The reason is that the default for the git fetcher was once rsync. Why?
>> The fetcher was written when git was still a new and unexplored
>> landscape. We decided in the end to break that insane default and fix
>> it.
>>
>> We should kill off the now unnecessary parameters though.
>
> Ok. Jackie will have time to make a first pass tomorrow.
> Jackie, please include the replacement script in your email.

I think it should be the for the fetchers of svn, cvs, hg and so on:

$ grep protocol bitbake/lib/bb/fetch2/svn.py
         proto = ud.parm.get('protocol', 'svn')

$ grep protocol bitbake/lib/bb/fetch2/hg.py
         proto = ud.parm.get('protocol', 'http')


I checked that we only use git and svn:
$ find meta \( -name *.bb -o -name *.inc -o -name *.bbclass \) -exec sed 
-n 's/.*"\(\w*:\/\/\).*\(;protocol=\w*\)/\1 \2/p' {} \; | sort | uniq
git:// ;protocol=git \
git:// ;protocol=git"
git:// 
;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
git:// ;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
git:// ;protocol=git" % (gstpkg_basename, branch))
git:// 
;protocol=git;nocheckout=1;branch=${KBRANCH},${KMETA};name=machine,meta"
git:// ;protocol=http \
svn:// ;protocol=http \
svn:// ;protocol=http;module=trunk \
svn:// ;protocol=svn"

So I think it's safe to simply remove ";protocol=git" and ";protocol=svn":

$ find meta \( -name *.bb -o -name *.inc -o -name *.bbclass \) -exec sed 
-i 's/;protocol=git//; s/;protocol=svn//' {} \;


What left with protocol parameter after removal is:
$ find meta \( -name *.bb -o -name *.inc -o -name *.bbclass \) -exec sed 
-n 's/.*"\(\w*:\/\/\).*\(;protocol=\w*\)/\1 \2/p' {} \; | sort | uniq
git:// ;protocol=http \
svn:// ;protocol=http \
svn:// ;protocol=http;module=trunk \

I think it should be what we want, I will send the patch after my 
"bitbake world" complete.

Thanks,
Jackie

>
> // Randy
>
>>
>> Cheers,
>>
>> Richard
>>
>>
>>
>
>

-- 
Jackie Huang
WIND RIVER | China Development Center
MSN:jackielily@hotmail.com
Tel: +86 8477 8594
Mobile: +86 138 1027 4745


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
@ 2013-08-26 18:06 Laszlo Papp
  0 siblings, 0 replies; 35+ messages in thread
From: Laszlo Papp @ 2013-08-26 18:06 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 266 bytes --]

On Mon, Aug 26, 2013 at 7:04 PM, Saul Wold <sgw@linux.intel.com> wrote:

> On 08/26/2013 10:56 AM, Laszlo Papp wrote:
>
>> What exactly is the problem for beagle board?
>>
>>  The QA team did not provide the details.
>

I wonder if you could ask for that?

[-- Attachment #2: Type: text/html, Size: 714 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-22 21:14 ` Laszlo Papp
@ 2013-08-23  7:26   ` Laszlo Papp
  0 siblings, 0 replies; 35+ messages in thread
From: Laszlo Papp @ 2013-08-23  7:26 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 19189 bytes --]

I do not think my u-boot work is welcome, so I will withdraw this one, too.

I submitted the version before, without deleting the old variants, then
some people told me they should be removed as it was tested that the new
version should work.

Now, it has again been argued on IRC that it should not have been and my
way should have been done. Well, I am done with this. Do whatever you wish
with u-boot. As for me, this ping-pong arguing is just demotivating to get
contributions accepted.


On Thu, Aug 22, 2013 at 10:14 PM, Laszlo Papp <lpapp@kde.org> wrote:

> Please provide feedback. I would like to get this into poky 1.5. Thanks!
>
>
> On Thu, Aug 22, 2013 at 9:36 PM, Laszlo Papp <lpapp@kde.org> wrote:
>
>> Signed-off-by: Laszlo Papp <lpapp@kde.org>
>> ---
>>  meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb | 28 --------
>>  ...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.06.bb  | 29 --------
>>  .../u-boot/u-boot-mkimage_2013.01.01.bb            | 33 ---------
>>  meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb  | 27 +++++++
>>  meta/recipes-bsp/u-boot/u-boot_2011.03.bb          | 24 -------
>>  meta/recipes-bsp/u-boot/u-boot_2011.06.bb          | 24 -------
>>  meta/recipes-bsp/u-boot/u-boot_2013.01.01.bb       | 29 --------
>>  meta/recipes-bsp/u-boot/u-boot_2013.07.bb          | 23 ++++++
>>  11 files changed, 50 insertions(+), 319 deletions(-)
>>  delete mode 100644 meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb
>>  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_2011.03.bb
>>  delete mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb
>>  delete mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.01.01.bb
>>  create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
>>  delete mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.03.bb
>>  delete mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.06.bb
>>  delete mode 100644 meta/recipes-bsp/u-boot/u-boot_2013.01.01.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_2011.06.bbb/meta/recipes-bsp/u-boot/
>> u-boot-fw-utils_2011.06.bb
>> deleted file mode 100644
>> index 7c4df1a..0000000
>> --- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb
>> +++ /dev/null
>> @@ -1,28 +0,0 @@
>> -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 = "r1"
>> -
>> -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-2011.03/0001-Drop-config.h-include-in-tools-imximage.h.patch
>> b/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0001-Drop-config.h-include-in-tools-imximage.h.patch
>> deleted file mode 100644
>> index 0405834..0000000
>> ---
>> a/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0001-Drop-config.h-include-in-tools-imximage.h.patch
>> +++ /dev/null
>> @@ -1,39 +0,0 @@
>> -From ce56e089ddb51dbd81bb2c86b1646d77447afe39 Mon Sep 17 00:00:00 2001
>> -From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <loic.minier@linaro.org>
>> -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 <loic.minier@linaro.org>
>> ----
>> - 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
>> -
>> diff --git
>> a/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch
>> b/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch
>> deleted file mode 100644
>> index 5729cd9..0000000
>> ---
>> a/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch
>> +++ /dev/null
>> @@ -1,82 +0,0 @@
>> -From fd1b50c5ff9c288040abf5e78815151327d32e0e Mon Sep 17 00:00:00 2001
>> -From: Ilya Yanok <yanok@emcraft.com>
>> -Date: Mon, 20 Jun 2011 12:45:37 +0000
>> -Subject: config.mk: move LDSCRIPT processing to the top-level Makefile
>> -
>> -Upstream-Status: Accepted
>> -
>> -LDSCRIPT is used only from the top-level Makefile and only when the
>> -system is configured so we can move LDSCRIPT and CONFIG_SYS_LDSCRIPT
>> -related logic into the top level Makefile and under configured condition
>> -to avoid errors when building tools from unconfigured tree.
>> -
>> -Signed-off-by: Ilya Yanok <yanok@emcraft.com>
>> -Acked-by: Mike Frysinger <vapier@gentoo.org>
>> ----
>> - Makefile  |   30 ++++++++++++++++++++++++++++++
>> - config.mk |    8 --------
>> - 2 files changed, 30 insertions(+), 8 deletions(-)
>> -
>> -diff --git a/Makefile b/Makefile
>> -index ece91ab..358c410 100644
>> ---- a/Makefile
>> -+++ b/Makefile
>> -@@ -163,6 +163,36 @@ endif
>> - # load other configuration
>> - include $(TOPDIR)/config.mk
>> -
>> -+# If board code explicitly specified LDSCRIPT or CONFIG_SYS_LDSCRIPT,
>> use
>> -+# that (or fail if absent).  Otherwise, search for a linker script in a
>> -+# standard location.
>> -+
>> -+ifndef LDSCRIPT
>> -+      #LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds.debug
>> -+      ifdef CONFIG_SYS_LDSCRIPT
>> -+              # need to strip off double quotes
>> -+              LDSCRIPT := $(subst ",,$(CONFIG_SYS_LDSCRIPT))
>> -+      endif
>> -+endif
>> -+
>> -+ifndef LDSCRIPT
>> -+      ifeq ($(CONFIG_NAND_U_BOOT),y)
>> -+              LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
>> -+              ifeq ($(wildcard $(LDSCRIPT)),)
>> -+                      LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
>> -+              endif
>> -+      endif
>> -+      ifeq ($(wildcard $(LDSCRIPT)),)
>> -+              LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds
>> -+      endif
>> -+      ifeq ($(wildcard $(LDSCRIPT)),)
>> -+              LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot.lds
>> -+      endif
>> -+      ifeq ($(wildcard $(LDSCRIPT)),)
>> -+$(error could not find linker script)
>> -+      endif
>> -+endif
>> -+
>> -
>> #########################################################################
>> - # U-Boot objects....order is important (i.e. start must be first)
>> -
>> -diff --git a/config.mk b/config.mk
>> -index fa46ff1..59c4c93 100644
>> ---- a/config.mk
>> -+++ b/config.mk
>> -@@ -153,14 +153,6 @@ endif
>> - RELFLAGS= $(PLATFORM_RELFLAGS)
>> - DBGFLAGS= -g # -DDEBUG
>> - OPTFLAGS= -Os #-fomit-frame-pointer
>> --ifndef LDSCRIPT
>> --#LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds.debug
>> --ifeq ($(CONFIG_NAND_U_BOOT),y)
>> --LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
>> --else
>> --LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds
>> --endif
>> --endif
>> - OBJCFLAGS += --gap-fill=0xff
>> -
>> - gccincdir := $(shell $(CC) -print-file-name=include)
>> ---
>> -1.7.5.4
>> -
>> diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bbb/meta/recipes-bsp/u-boot/
>> u-boot-mkimage_2011.03.bb
>> deleted file mode 100644
>> index 34bae8e..0000000
>> --- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb
>> +++ /dev/null
>> @@ -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
>> -}
>> -
>> diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bbb/meta/recipes-bsp/u-boot/
>> u-boot-mkimage_2011.06.bb
>> deleted file mode 100644
>> index 3ca0c2c..0000000
>> --- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb
>> +++ /dev/null
>> @@ -1,29 +0,0 @@
>> -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"
>> -
>> -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}"
>> -
>> -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-mkimage_2013.01.01.bbb/meta/recipes-bsp/u-boot/
>> u-boot-mkimage_2013.01.01.bb
>> deleted file mode 100644
>> index 2b39998..0000000
>> --- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.01.01.bb
>> +++ /dev/null
>> @@ -1,33 +0,0 @@
>> -DESCRIPTION = "U-boot bootloader mkimage tool"
>> -LICENSE = "GPLv2+"
>> -LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
>> -SECTION = "bootloader"
>> -
>> -# This is needs to be validated among supported BSP's before we can
>> -# make it default
>> -DEFAULT_PREFERENCE = "-1"
>> -
>> -# This revision corresponds to the tag "v2013.01.01"
>> -# We use the revision in order to avoid having to fetch it from the
>> -# repo during parse
>> -SRCREV = "e8ae0fa5edd152b2b29c470b88429be4cdcd2c46"
>> -
>> -PV = "v2013.01.01+git${SRCPV}"
>> -
>> -SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>> -
>> -S = "${WORKDIR}/git"
>> -
>> -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
>> -}
>> -
>> -BBCLASSEXTEND = "native nativesdk"
>> diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bbb/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_2011.03.bbb/meta/recipes-bsp/u-boot/
>> u-boot_2011.03.bb
>> deleted file mode 100644
>> index a9cbeca..0000000
>> --- a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
>> +++ /dev/null
>> @@ -1,24 +0,0 @@
>> -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=3a00ef51d3fc96e9d6c1bc4708ccd3b5"
>> -
>> -# 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"
>> -
>> -PV = "v2011.03+git${SRCPV}"
>> -PR = "r8"
>> -
>> -SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>> -
>> -S = "${WORKDIR}/git"
>> -
>> -PACKAGE_ARCH = "${MACHINE_ARCH}"
>> diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.06.bbb/meta/recipes-bsp/u-boot/
>> u-boot_2011.06.bb
>> deleted file mode 100644
>> index a115ed2..0000000
>> --- a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
>> +++ /dev/null
>> @@ -1,24 +0,0 @@
>> -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=5ba4218ac89af7846802d0348df3fb90"
>> -
>> -# 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"
>> -
>> -PV = "v2011.06+git${SRCPV}"
>> -PR = "r3"
>> -
>> -SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>> -
>> -S = "${WORKDIR}/git"
>> -
>> -PACKAGE_ARCH = "${MACHINE_ARCH}"
>> diff --git a/meta/recipes-bsp/u-boot/u-boot_2013.01.01.bbb/meta/recipes-bsp/u-boot/
>> u-boot_2013.01.01.bb
>> deleted file mode 100644
>> index 8ffb8f3..0000000
>> --- a/meta/recipes-bsp/u-boot/u-boot_2013.01.01.bb
>> +++ /dev/null
>> @@ -1,29 +0,0 @@
>> -require u-boot.inc
>> -
>> -# This is needs to be validated among supported BSP's before we can
>> -# make it default
>> -DEFAULT_PREFERENCE = "-1"
>> -
>> -# 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"
>> -
>> -# This revision corresponds to the tag "v2013.01.01"
>> -# We use the revision in order to avoid having to fetch it from the
>> -# repo during parse
>> -SRCREV = "e8ae0fa5edd152b2b29c470b88429be4cdcd2c46"
>> -
>> -PV = "v2013.01.01+git${SRCPV}"
>> -PR = "r0"
>> -
>> -SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>> -
>> -S = "${WORKDIR}/git"
>> -
>> -PACKAGE_ARCH = "${MACHINE_ARCH}"
>> diff --git a/meta/recipes-bsp/u-boot/u-boot_2013.07.bbb/meta/recipes-bsp/u-boot/
>> u-boot_2013.07.bb
>> new file mode 100644
>> index 0000000..f3f4b62
>> --- /dev/null
>> +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
>> @@ -0,0 +1,23 @@
>> +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"
>> +
>> +# 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}"
>> --
>> 1.8.3.4
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 25691 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-22 20:36 Laszlo Papp
@ 2013-08-22 21:14 ` Laszlo Papp
  2013-08-23  7:26   ` Laszlo Papp
  0 siblings, 1 reply; 35+ messages in thread
From: Laszlo Papp @ 2013-08-22 21:14 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 18087 bytes --]

Please provide feedback. I would like to get this into poky 1.5. Thanks!


On Thu, Aug 22, 2013 at 9:36 PM, Laszlo Papp <lpapp@kde.org> wrote:

> Signed-off-by: Laszlo Papp <lpapp@kde.org>
> ---
>  meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb | 28 --------
>  ...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.06.bb  | 29 --------
>  .../u-boot/u-boot-mkimage_2013.01.01.bb            | 33 ---------
>  meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb  | 27 +++++++
>  meta/recipes-bsp/u-boot/u-boot_2011.03.bb          | 24 -------
>  meta/recipes-bsp/u-boot/u-boot_2011.06.bb          | 24 -------
>  meta/recipes-bsp/u-boot/u-boot_2013.01.01.bb       | 29 --------
>  meta/recipes-bsp/u-boot/u-boot_2013.07.bb          | 23 ++++++
>  11 files changed, 50 insertions(+), 319 deletions(-)
>  delete mode 100644 meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb
>  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_2011.03.bb
>  delete mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb
>  delete mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.01.01.bb
>  create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
>  delete mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.03.bb
>  delete mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.06.bb
>  delete mode 100644 meta/recipes-bsp/u-boot/u-boot_2013.01.01.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_2011.06.bbb/meta/recipes-bsp/u-boot/
> u-boot-fw-utils_2011.06.bb
> deleted file mode 100644
> index 7c4df1a..0000000
> --- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb
> +++ /dev/null
> @@ -1,28 +0,0 @@
> -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 = "r1"
> -
> -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-2011.03/0001-Drop-config.h-include-in-tools-imximage.h.patch
> b/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0001-Drop-config.h-include-in-tools-imximage.h.patch
> deleted file mode 100644
> index 0405834..0000000
> ---
> a/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0001-Drop-config.h-include-in-tools-imximage.h.patch
> +++ /dev/null
> @@ -1,39 +0,0 @@
> -From ce56e089ddb51dbd81bb2c86b1646d77447afe39 Mon Sep 17 00:00:00 2001
> -From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <loic.minier@linaro.org>
> -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 <loic.minier@linaro.org>
> ----
> - 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
> -
> diff --git
> a/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch
> b/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch
> deleted file mode 100644
> index 5729cd9..0000000
> ---
> a/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch
> +++ /dev/null
> @@ -1,82 +0,0 @@
> -From fd1b50c5ff9c288040abf5e78815151327d32e0e Mon Sep 17 00:00:00 2001
> -From: Ilya Yanok <yanok@emcraft.com>
> -Date: Mon, 20 Jun 2011 12:45:37 +0000
> -Subject: config.mk: move LDSCRIPT processing to the top-level Makefile
> -
> -Upstream-Status: Accepted
> -
> -LDSCRIPT is used only from the top-level Makefile and only when the
> -system is configured so we can move LDSCRIPT and CONFIG_SYS_LDSCRIPT
> -related logic into the top level Makefile and under configured condition
> -to avoid errors when building tools from unconfigured tree.
> -
> -Signed-off-by: Ilya Yanok <yanok@emcraft.com>
> -Acked-by: Mike Frysinger <vapier@gentoo.org>
> ----
> - Makefile  |   30 ++++++++++++++++++++++++++++++
> - config.mk |    8 --------
> - 2 files changed, 30 insertions(+), 8 deletions(-)
> -
> -diff --git a/Makefile b/Makefile
> -index ece91ab..358c410 100644
> ---- a/Makefile
> -+++ b/Makefile
> -@@ -163,6 +163,36 @@ endif
> - # load other configuration
> - include $(TOPDIR)/config.mk
> -
> -+# If board code explicitly specified LDSCRIPT or CONFIG_SYS_LDSCRIPT, use
> -+# that (or fail if absent).  Otherwise, search for a linker script in a
> -+# standard location.
> -+
> -+ifndef LDSCRIPT
> -+      #LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds.debug
> -+      ifdef CONFIG_SYS_LDSCRIPT
> -+              # need to strip off double quotes
> -+              LDSCRIPT := $(subst ",,$(CONFIG_SYS_LDSCRIPT))
> -+      endif
> -+endif
> -+
> -+ifndef LDSCRIPT
> -+      ifeq ($(CONFIG_NAND_U_BOOT),y)
> -+              LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
> -+              ifeq ($(wildcard $(LDSCRIPT)),)
> -+                      LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
> -+              endif
> -+      endif
> -+      ifeq ($(wildcard $(LDSCRIPT)),)
> -+              LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds
> -+      endif
> -+      ifeq ($(wildcard $(LDSCRIPT)),)
> -+              LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot.lds
> -+      endif
> -+      ifeq ($(wildcard $(LDSCRIPT)),)
> -+$(error could not find linker script)
> -+      endif
> -+endif
> -+
> - #########################################################################
> - # U-Boot objects....order is important (i.e. start must be first)
> -
> -diff --git a/config.mk b/config.mk
> -index fa46ff1..59c4c93 100644
> ---- a/config.mk
> -+++ b/config.mk
> -@@ -153,14 +153,6 @@ endif
> - RELFLAGS= $(PLATFORM_RELFLAGS)
> - DBGFLAGS= -g # -DDEBUG
> - OPTFLAGS= -Os #-fomit-frame-pointer
> --ifndef LDSCRIPT
> --#LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds.debug
> --ifeq ($(CONFIG_NAND_U_BOOT),y)
> --LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
> --else
> --LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds
> --endif
> --endif
> - OBJCFLAGS += --gap-fill=0xff
> -
> - gccincdir := $(shell $(CC) -print-file-name=include)
> ---
> -1.7.5.4
> -
> diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bbb/meta/recipes-bsp/u-boot/
> u-boot-mkimage_2011.03.bb
> deleted file mode 100644
> index 34bae8e..0000000
> --- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb
> +++ /dev/null
> @@ -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
> -}
> -
> diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bbb/meta/recipes-bsp/u-boot/
> u-boot-mkimage_2011.06.bb
> deleted file mode 100644
> index 3ca0c2c..0000000
> --- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb
> +++ /dev/null
> @@ -1,29 +0,0 @@
> -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"
> -
> -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}"
> -
> -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-mkimage_2013.01.01.bbb/meta/recipes-bsp/u-boot/
> u-boot-mkimage_2013.01.01.bb
> deleted file mode 100644
> index 2b39998..0000000
> --- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.01.01.bb
> +++ /dev/null
> @@ -1,33 +0,0 @@
> -DESCRIPTION = "U-boot bootloader mkimage tool"
> -LICENSE = "GPLv2+"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
> -SECTION = "bootloader"
> -
> -# This is needs to be validated among supported BSP's before we can
> -# make it default
> -DEFAULT_PREFERENCE = "-1"
> -
> -# This revision corresponds to the tag "v2013.01.01"
> -# We use the revision in order to avoid having to fetch it from the
> -# repo during parse
> -SRCREV = "e8ae0fa5edd152b2b29c470b88429be4cdcd2c46"
> -
> -PV = "v2013.01.01+git${SRCPV}"
> -
> -SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
> -
> -S = "${WORKDIR}/git"
> -
> -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
> -}
> -
> -BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bbb/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_2011.03.bbb/meta/recipes-bsp/u-boot/
> u-boot_2011.03.bb
> deleted file mode 100644
> index a9cbeca..0000000
> --- a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
> +++ /dev/null
> @@ -1,24 +0,0 @@
> -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=3a00ef51d3fc96e9d6c1bc4708ccd3b5"
> -
> -# 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"
> -
> -PV = "v2011.03+git${SRCPV}"
> -PR = "r8"
> -
> -SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
> -
> -S = "${WORKDIR}/git"
> -
> -PACKAGE_ARCH = "${MACHINE_ARCH}"
> diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.06.bbb/meta/recipes-bsp/u-boot/
> u-boot_2011.06.bb
> deleted file mode 100644
> index a115ed2..0000000
> --- a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
> +++ /dev/null
> @@ -1,24 +0,0 @@
> -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=5ba4218ac89af7846802d0348df3fb90"
> -
> -# 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"
> -
> -PV = "v2011.06+git${SRCPV}"
> -PR = "r3"
> -
> -SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
> -
> -S = "${WORKDIR}/git"
> -
> -PACKAGE_ARCH = "${MACHINE_ARCH}"
> diff --git a/meta/recipes-bsp/u-boot/u-boot_2013.01.01.bbb/meta/recipes-bsp/u-boot/
> u-boot_2013.01.01.bb
> deleted file mode 100644
> index 8ffb8f3..0000000
> --- a/meta/recipes-bsp/u-boot/u-boot_2013.01.01.bb
> +++ /dev/null
> @@ -1,29 +0,0 @@
> -require u-boot.inc
> -
> -# This is needs to be validated among supported BSP's before we can
> -# make it default
> -DEFAULT_PREFERENCE = "-1"
> -
> -# 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"
> -
> -# This revision corresponds to the tag "v2013.01.01"
> -# We use the revision in order to avoid having to fetch it from the
> -# repo during parse
> -SRCREV = "e8ae0fa5edd152b2b29c470b88429be4cdcd2c46"
> -
> -PV = "v2013.01.01+git${SRCPV}"
> -PR = "r0"
> -
> -SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
> -
> -S = "${WORKDIR}/git"
> -
> -PACKAGE_ARCH = "${MACHINE_ARCH}"
> diff --git a/meta/recipes-bsp/u-boot/u-boot_2013.07.bbb/meta/recipes-bsp/u-boot/
> u-boot_2013.07.bb
> new file mode 100644
> index 0000000..f3f4b62
> --- /dev/null
> +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> @@ -0,0 +1,23 @@
> +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"
> +
> +# 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}"
> --
> 1.8.3.4
>
>

[-- Attachment #2: Type: text/html, Size: 24622 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [PATCH] u-boot: update to 2013.07
@ 2013-08-22 20:36 Laszlo Papp
  2013-08-22 21:14 ` Laszlo Papp
  0 siblings, 1 reply; 35+ messages in thread
From: Laszlo Papp @ 2013-08-22 20:36 UTC (permalink / raw)
  To: openembedded-core

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 16864 bytes --]

Signed-off-by: Laszlo Papp <lpapp@kde.org>
---
 meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb | 28 --------
 ...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.06.bb  | 29 --------
 .../u-boot/u-boot-mkimage_2013.01.01.bb            | 33 ---------
 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb  | 27 +++++++
 meta/recipes-bsp/u-boot/u-boot_2011.03.bb          | 24 -------
 meta/recipes-bsp/u-boot/u-boot_2011.06.bb          | 24 -------
 meta/recipes-bsp/u-boot/u-boot_2013.01.01.bb       | 29 --------
 meta/recipes-bsp/u-boot/u-boot_2013.07.bb          | 23 ++++++
 11 files changed, 50 insertions(+), 319 deletions(-)
 delete mode 100644 meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb
 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_2011.03.bb
 delete mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb
 delete mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.01.01.bb
 create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
 delete mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.03.bb
 delete mode 100644 meta/recipes-bsp/u-boot/u-boot_2011.06.bb
 delete mode 100644 meta/recipes-bsp/u-boot/u-boot_2013.01.01.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_2011.06.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb
deleted file mode 100644
index 7c4df1a..0000000
--- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-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 = "r1"
-
-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-2011.03/0001-Drop-config.h-include-in-tools-imximage.h.patch b/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0001-Drop-config.h-include-in-tools-imximage.h.patch
deleted file mode 100644
index 0405834..0000000
--- a/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0001-Drop-config.h-include-in-tools-imximage.h.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From ce56e089ddb51dbd81bb2c86b1646d77447afe39 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <loic.minier@linaro.org>
-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 <loic.minier@linaro.org>
----
- 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
-
diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch b/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch
deleted file mode 100644
index 5729cd9..0000000
--- a/meta/recipes-bsp/u-boot/u-boot-mkimage-2011.03/0002-config.mk-move-LDSCRIPT-processing-to-the-top-level-.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From fd1b50c5ff9c288040abf5e78815151327d32e0e Mon Sep 17 00:00:00 2001
-From: Ilya Yanok <yanok@emcraft.com>
-Date: Mon, 20 Jun 2011 12:45:37 +0000
-Subject: config.mk: move LDSCRIPT processing to the top-level Makefile
-
-Upstream-Status: Accepted
-
-LDSCRIPT is used only from the top-level Makefile and only when the
-system is configured so we can move LDSCRIPT and CONFIG_SYS_LDSCRIPT
-related logic into the top level Makefile and under configured condition
-to avoid errors when building tools from unconfigured tree.
-
-Signed-off-by: Ilya Yanok <yanok@emcraft.com>
-Acked-by: Mike Frysinger <vapier@gentoo.org>
----
- Makefile  |   30 ++++++++++++++++++++++++++++++
- config.mk |    8 --------
- 2 files changed, 30 insertions(+), 8 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index ece91ab..358c410 100644
---- a/Makefile
-+++ b/Makefile
-@@ -163,6 +163,36 @@ endif
- # load other configuration
- include $(TOPDIR)/config.mk
- 
-+# If board code explicitly specified LDSCRIPT or CONFIG_SYS_LDSCRIPT, use
-+# that (or fail if absent).  Otherwise, search for a linker script in a
-+# standard location.
-+
-+ifndef LDSCRIPT
-+	#LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds.debug
-+	ifdef CONFIG_SYS_LDSCRIPT
-+		# need to strip off double quotes
-+		LDSCRIPT := $(subst ",,$(CONFIG_SYS_LDSCRIPT))
-+	endif
-+endif
-+
-+ifndef LDSCRIPT
-+	ifeq ($(CONFIG_NAND_U_BOOT),y)
-+		LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
-+		ifeq ($(wildcard $(LDSCRIPT)),)
-+			LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
-+		endif
-+	endif
-+	ifeq ($(wildcard $(LDSCRIPT)),)
-+		LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds
-+	endif
-+	ifeq ($(wildcard $(LDSCRIPT)),)
-+		LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot.lds
-+	endif
-+	ifeq ($(wildcard $(LDSCRIPT)),)
-+$(error could not find linker script)
-+	endif
-+endif
-+
- #########################################################################
- # U-Boot objects....order is important (i.e. start must be first)
- 
-diff --git a/config.mk b/config.mk
-index fa46ff1..59c4c93 100644
---- a/config.mk
-+++ b/config.mk
-@@ -153,14 +153,6 @@ endif
- RELFLAGS= $(PLATFORM_RELFLAGS)
- DBGFLAGS= -g # -DDEBUG
- OPTFLAGS= -Os #-fomit-frame-pointer
--ifndef LDSCRIPT
--#LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds.debug
--ifeq ($(CONFIG_NAND_U_BOOT),y)
--LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
--else
--LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds
--endif
--endif
- OBJCFLAGS += --gap-fill=0xff
- 
- gccincdir := $(shell $(CC) -print-file-name=include)
--- 
-1.7.5.4
-
diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb
deleted file mode 100644
index 34bae8e..0000000
--- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb
+++ /dev/null
@@ -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
-}
-
diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb
deleted file mode 100644
index 3ca0c2c..0000000
--- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-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"
-
-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}"
-
-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-mkimage_2013.01.01.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.01.01.bb
deleted file mode 100644
index 2b39998..0000000
--- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.01.01.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-DESCRIPTION = "U-boot bootloader mkimage tool"
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
-SECTION = "bootloader"
-
-# This is needs to be validated among supported BSP's before we can
-# make it default
-DEFAULT_PREFERENCE = "-1"
-
-# This revision corresponds to the tag "v2013.01.01"
-# We use the revision in order to avoid having to fetch it from the
-# repo during parse
-SRCREV = "e8ae0fa5edd152b2b29c470b88429be4cdcd2c46"
-
-PV = "v2013.01.01+git${SRCPV}"
-
-SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
-
-S = "${WORKDIR}/git"
-
-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
-}
-
-BBCLASSEXTEND = "native nativesdk"
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_2011.03.bb b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
deleted file mode 100644
index a9cbeca..0000000
--- a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-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=3a00ef51d3fc96e9d6c1bc4708ccd3b5"
-
-# 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"
-
-PV = "v2011.03+git${SRCPV}"
-PR = "r8"
-
-SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
-
-S = "${WORKDIR}/git"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
deleted file mode 100644
index a115ed2..0000000
--- a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-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=5ba4218ac89af7846802d0348df3fb90"
-
-# 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"
-
-PV = "v2011.06+git${SRCPV}"
-PR = "r3"
-
-SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
-
-S = "${WORKDIR}/git"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/meta/recipes-bsp/u-boot/u-boot_2013.01.01.bb b/meta/recipes-bsp/u-boot/u-boot_2013.01.01.bb
deleted file mode 100644
index 8ffb8f3..0000000
--- a/meta/recipes-bsp/u-boot/u-boot_2013.01.01.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-require u-boot.inc
-
-# This is needs to be validated among supported BSP's before we can
-# make it default
-DEFAULT_PREFERENCE = "-1"
-
-# 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"
-
-# This revision corresponds to the tag "v2013.01.01"
-# We use the revision in order to avoid having to fetch it from the
-# repo during parse
-SRCREV = "e8ae0fa5edd152b2b29c470b88429be4cdcd2c46"
-
-PV = "v2013.01.01+git${SRCPV}"
-PR = "r0"
-
-SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
-
-S = "${WORKDIR}/git"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
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..f3f4b62
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
@@ -0,0 +1,23 @@
+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"
+
+# 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}"
-- 
1.8.3.4



^ permalink raw reply related	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-15  9:16 ` Jack Mitchell
@ 2013-08-15 10:36   ` Laszlo Papp
  0 siblings, 0 replies; 35+ messages in thread
From: Laszlo Papp @ 2013-08-15 10:36 UTC (permalink / raw)
  To: Jack Mitchell; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 5046 bytes --]

OK, thanks.

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


On Thu, Aug 15, 2013 at 10:16 AM, Jack Mitchell <ml@communistcode.co.uk>wrote:

> Hi,
>
> On 15/08/13 05:25, 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.bbb/meta/recipes-bsp/u-boot/
> u-boot-fw-utils_2013.07.bb
> > new file mode 100644
> > index 0000000..a5bbb73
> > --- /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=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
> > +}
> > diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bbb/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.bbb/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 isn't needed as it is present in u-boot.inc, see
> http://patches.openembedded.org/patch/30879/
>
> > +
> > +# 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,
>
> --
>   Jack Mitchell (jack@embed.me.uk)
>   Embedded Systems Engineer
>   Cambrideshire, UK
>   http://www.embed.me.uk
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 7941 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-15  4:25 Laszlo Papp
@ 2013-08-15  9:16 ` Jack Mitchell
  2013-08-15 10:36   ` Laszlo Papp
  0 siblings, 1 reply; 35+ messages in thread
From: Jack Mitchell @ 2013-08-15  9:16 UTC (permalink / raw)
  To: openembedded-core

Hi,

On 15/08/13 05:25, 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..a5bbb73
> --- /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=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
> +}
> 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 isn't needed as it is present in u-boot.inc, see
http://patches.openembedded.org/patch/30879/

> +
> +# 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,

-- 
  Jack Mitchell (jack@embed.me.uk)
  Embedded Systems Engineer
  Cambrideshire, UK
  http://www.embed.me.uk
--


^ permalink raw reply	[flat|nested] 35+ messages in thread

* [PATCH] u-boot: update to 2013.07
@ 2013-08-15  4:25 Laszlo Papp
  2013-08-15  9:16 ` Jack Mitchell
  0 siblings, 1 reply; 35+ messages in thread
From: Laszlo Papp @ 2013-08-15  4:25 UTC (permalink / raw)
  To: openembedded-core

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..a5bbb73
--- /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=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
+}
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}"
-- 
1.8.3.4



^ permalink raw reply related	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
       [not found]     ` <CAOMwXhNYeqM6m_R0eTpqHjK-E9d6qmqQw7aGeOJEEqOeByw29A@mail.gmail.com>
@ 2013-08-06 14:05       ` Saul Wold
  0 siblings, 0 replies; 35+ messages in thread
From: Saul Wold @ 2013-08-06 14:05 UTC (permalink / raw)
  To: Laszlo Papp; +Cc: openembedded-core

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}"
>
>
>


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-03  9:17 Laszlo Papp
  2013-08-03 17:53 ` Otavio Salvador
  2013-08-05  4:09 ` Saul Wold
@ 2013-08-05 16:49 ` Saul Wold
       [not found]   ` <CAOMwXhN_0SgvFEY1ai9ZntkC-zPCBgbUaQNjqPeoNe931Xr_8w@mail.gmail.com>
  2 siblings, 1 reply; 35+ messages in thread
From: Saul Wold @ 2013-08-05 16:49 UTC (permalink / raw)
  To: Laszlo Papp; +Cc: openembedded-core

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}"
>


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-03  9:17 Laszlo Papp
  2013-08-03 17:53 ` Otavio Salvador
@ 2013-08-05  4:09 ` Saul Wold
  2013-08-05 16:49 ` Saul Wold
  2 siblings, 0 replies; 35+ messages in thread
From: Saul Wold @ 2013-08-05  4:09 UTC (permalink / raw)
  To: Laszlo Papp; +Cc: openembedded-core

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}"
>


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-03 20:00     ` Saul Wold
@ 2013-08-03 20:05       ` Otavio Salvador
  0 siblings, 0 replies; 35+ messages in thread
From: Otavio Salvador @ 2013-08-03 20:05 UTC (permalink / raw)
  To: Saul Wold; +Cc: Patches and discussions about the oe-core layer

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.

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


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-03 18:12   ` Laszlo Papp
@ 2013-08-03 20:00     ` Saul Wold
  2013-08-03 20:05       ` Otavio Salvador
  0 siblings, 1 reply; 35+ messages in thread
From: Saul Wold @ 2013-08-03 20:00 UTC (permalink / raw)
  To: Laszlo Papp
  Cc: Otavio Salvador, Patches and discussions about the oe-core layer

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
>


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-03 17:53 ` Otavio Salvador
@ 2013-08-03 18:12   ` Laszlo Papp
  2013-08-03 20:00     ` Saul Wold
  0 siblings, 1 reply; 35+ messages in thread
From: Laszlo Papp @ 2013-08-03 18:12 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 753 bytes --]

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
>

[-- Attachment #2: Type: text/html, Size: 1349 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-08-03  9:17 Laszlo Papp
@ 2013-08-03 17:53 ` Otavio Salvador
  2013-08-03 18:12   ` Laszlo Papp
  2013-08-05  4:09 ` Saul Wold
  2013-08-05 16:49 ` Saul Wold
  2 siblings, 1 reply; 35+ messages in thread
From: Otavio Salvador @ 2013-08-03 17:53 UTC (permalink / raw)
  To: Laszlo Papp; +Cc: Patches and discussions about the oe-core layer

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


^ permalink raw reply	[flat|nested] 35+ messages in thread

* [PATCH] u-boot: update to 2013.07
@ 2013-08-03  9:17 Laszlo Papp
  2013-08-03 17:53 ` Otavio Salvador
                   ` (2 more replies)
  0 siblings, 3 replies; 35+ messages in thread
From: Laszlo Papp @ 2013-08-03  9:17 UTC (permalink / raw)
  To: openembedded-core

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"
+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}"
-- 
1.8.3.4



^ permalink raw reply related	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-07-31 13:24 ` Burton, Ross
@ 2013-07-31 15:13   ` Laszlo Papp
  0 siblings, 0 replies; 35+ messages in thread
From: Laszlo Papp @ 2013-07-31 15:13 UTC (permalink / raw)
  To: Burton, Ross; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1649 bytes --]

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.


On Wed, Jul 31, 2013 at 2:24 PM, Burton, Ross <ross.burton@intel.com> wrote:

> On 31 July 2013 14:16, Laszlo Papp <lpapp@kde.org> wrote:
> > Signed-off-by: Laszlo Papp <lpapp@kde.org>
> > ---
> >  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
>

[-- Attachment #2: Type: text/html, Size: 2577 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH] u-boot: update to 2013.07
  2013-07-31 13:16 Laszlo Papp
@ 2013-07-31 13:24 ` Burton, Ross
  2013-07-31 15:13   ` Laszlo Papp
  0 siblings, 1 reply; 35+ messages in thread
From: Burton, Ross @ 2013-07-31 13:24 UTC (permalink / raw)
  To: Laszlo Papp; +Cc: openembedded-core

On 31 July 2013 14:16, Laszlo Papp <lpapp@kde.org> wrote:
> Signed-off-by: Laszlo Papp <lpapp@kde.org>
> ---
>  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


^ permalink raw reply	[flat|nested] 35+ messages in thread

* [PATCH] u-boot: update to 2013.07
@ 2013-07-31 13:16 Laszlo Papp
  2013-07-31 13:24 ` Burton, Ross
  0 siblings, 1 reply; 35+ messages in thread
From: Laszlo Papp @ 2013-07-31 13:16 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Laszlo Papp <lpapp@kde.org>
---
 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

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..e20e5f9
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
@@ -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
+}
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..abd373f
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
@@ -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
+}
+
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..111c066
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
@@ -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}"
-- 
1.8.3.4



^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH] u-boot: update to 2013.07
@ 2013-07-31 13:14 Laszlo Papp
  0 siblings, 0 replies; 35+ messages in thread
From: Laszlo Papp @ 2013-07-31 13:14 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Laszlo Papp <lpapp@kde.org>
---
 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

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..7c4df1a
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
@@ -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 = "r1"
+
+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..abd373f
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
@@ -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
+}
+
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..b812e69
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
@@ -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 = "r1"
+
+SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
+
+S = "${WORKDIR}/git"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
-- 
1.8.3.4



^ permalink raw reply related	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2013-08-29  7:16 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-23  9:48 [PATCH] u-boot: update to 2013.07 Laszlo Papp
2013-08-23 16:57 ` Laszlo Papp
2013-08-23 21:56   ` Saul Wold
2013-08-24  4:31     ` Saul Wold
2013-08-26 17:55   ` Saul Wold
2013-08-26 21:48     ` Peter A. Bigot
2013-08-26 21:55       ` Laszlo Papp
2013-08-26 22:03       ` Bruce Ashfield
2013-08-27 10:45     ` Laszlo Papp
2013-08-27 19:57 ` Randy MacLeod
2013-08-27 20:03   ` Laszlo Papp
2013-08-27 20:08   ` Martin Jansa
2013-08-27 23:29     ` Richard Purdie
2013-08-28  3:50       ` Randy MacLeod
2013-08-29  7:16         ` jhuang0
2013-08-28 16:00   ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2013-08-26 18:06 Laszlo Papp
2013-08-22 20:36 Laszlo Papp
2013-08-22 21:14 ` Laszlo Papp
2013-08-23  7:26   ` Laszlo Papp
2013-08-15  4:25 Laszlo Papp
2013-08-15  9:16 ` Jack Mitchell
2013-08-15 10:36   ` Laszlo Papp
2013-08-03  9:17 Laszlo Papp
2013-08-03 17:53 ` Otavio Salvador
2013-08-03 18:12   ` Laszlo Papp
2013-08-03 20:00     ` Saul Wold
2013-08-03 20:05       ` Otavio Salvador
2013-08-05  4:09 ` Saul Wold
2013-08-05 16:49 ` Saul Wold
     [not found]   ` <CAOMwXhN_0SgvFEY1ai9ZntkC-zPCBgbUaQNjqPeoNe931Xr_8w@mail.gmail.com>
     [not found]     ` <CAOMwXhNYeqM6m_R0eTpqHjK-E9d6qmqQw7aGeOJEEqOeByw29A@mail.gmail.com>
2013-08-06 14:05       ` Saul Wold
2013-07-31 13:16 Laszlo Papp
2013-07-31 13:24 ` Burton, Ross
2013-07-31 15:13   ` Laszlo Papp
2013-07-31 13:14 Laszlo Papp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.