u-boot: Update to v2016.11 release
PATCH 1/1 u-boot: Update to v2016.11 release
Upgrade U-Boot to the latest version.
---
.../{u-boot-common_2016.09.01.inc => u-boot-common_2016.11.inc} | 4 ++--
.../{u-boot-fw-utils_2016.09.01.bb => u-boot-fw-utils_2016.11.bb} | 0
.../{u-boot-mkimage_2016.09.01.bb => u-boot-mkimage_2016.11.bb} | 0
meta/recipes-bsp/u-boot/{u-boot_2016.09.01.bb => u-boot_2016.11.bb} | 0
4 files changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-bsp/u-boot/{u-boot-common_2016.09.01.inc => u-boot-common_2016.11.inc} (71%)
rename meta/recipes-bsp/u-boot/{u-boot-fw-utils_2016.09.01.bb => u-boot-fw-utils_2016.11.bb} (100%)
rename meta/recipes-bsp/u-boot/{u-boot-mkimage_2016.09.01.bb => u-boot-mkimage_2016.11.bb} (100%)
rename meta/recipes-bsp/u-boot/{u-boot_2016.09.01.bb => u-boot_2016.11.bb} (100%)meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc renamed from meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +2 -2
@@ -7,8 +7,8 @@ PE = "1" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "f3363c060497515ca8b71451cb56f3ec0abacaa9" +SRCREV = "29e0cfb4f77f7aa369136302cee14a91e22dca71" -SRC_URI = "git://git.denx.de/u-boot.git;branch=u-boot-2016.09.y" +SRC_URI = "git://git.denx.de/u-boot.git" S = "${WORKDIR}/git"
meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.09.01.bb +0 -0
meta/recipes-bsp/u-boot/u-boot-mkimage_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb +0 -0
meta/recipes-bsp/u-boot/u-boot_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot_2016.09.01.bb +0 -0
Signature · 1 line
2.10.2
Quoted 5 lines · Marek Vasut
Upgrade U-Boot to the latest version.
Signed-off-by Marek Vasut <[email protected]>Cc Richard Purdie <[email protected]>Cc Denys Dmytriyenko <[email protected]>
Quoted 11 lines
Cc Ross Burton <[email protected]>---
meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc renamed from meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +0
-0
meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc PE = "1" · line 12
Quoted 8 lines
meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc renamed from meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +2
-2@@ -7,8 +7,8 @@ PE = "1" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "f3363c060497515ca8b71451cb56f3ec0abacaa9" +SRCREV = "29e0cfb4f77f7aa369136302cee14a91e22dca71" -SRC_URI = "git://git.denx.de/u-boot.git;branch=u-boot-2016.09.y" +SRC_URI = "git://git.denx.de/u-boot.git"
Will it branch off into own branch eventually? Does master ever get re-written? I guess as long as this commit always stays in master, it should be fine.
Quoted 16 lines
meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc renamed from meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +0
-0S = "${WORKDIR}/git"meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.09.01.bb +0
-0meta/recipes-bsp/u-boot/u-boot-mkimage_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb +0
-0meta/recipes-bsp/u-boot/u-boot_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot_2016.09.01.bb +0
-0Signature · 1 line
2.10.2
Quoted 27 lines · Denys Dmytriyenko
Quoted 5 lines · Marek Vasut
Upgrade U-Boot to the latest version.
Signed-off-by Marek Vasut <[email protected]>Cc Richard Purdie <[email protected]>Cc Denys Dmytriyenko <[email protected]>Quoted 17 lines
Cc Ross Burton <[email protected]>---
meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc renamed from meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +1
-1@@ -7,8 +7,8 @@ PE = "1" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "f3363c060497515ca8b71451cb56f3ec0abacaa9" +SRCREV = "29e0cfb4f77f7aa369136302cee14a91e22dca71"
Quoted 6 lines
meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc PE = "1" · line 12
Quoted 2 lines
meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc renamed from meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +1
-1-SRC_URI = "git://git.denx.de/u-boot.git;branch=u-boot-2016.09.y" +SRC_URI = "git://git.denx.de/u-boot.git"Will it branch off into own branch eventually?Does master ever get re-written? I guess as long as this commit always stays in master, it should be fine.
Master never gets rewritten and the commit is always in master, unless we screw something up bad and need to make a fixup release (which happens almost never :-)), in which case that goes into separate branch.
Signature · 2 lines
Best regards, Marek Vasut
Quoted 6 lines · Marek Vasut
Upgrade U-Boot to the latest version.
Signed-off-by Marek Vasut <[email protected]>Cc Richard Purdie <[email protected]>Cc Denys Dmytriyenko <[email protected]>Cc Ross Burton <[email protected]>
Signature · 1 line
Tom
Quoted 11 lines · Tom Rini
Quoted 6 lines · Marek Vasut
Upgrade U-Boot to the latest version.
Signed-off-by Marek Vasut <[email protected]>Cc Richard Purdie <[email protected]>Cc Denys Dmytriyenko <[email protected]>Cc Ross Burton <[email protected]>Reviewed-by Tom Rini <[email protected]>
Bump, can we get the u-boot update finally applied ?
Signature · 2 lines
Best regards, Marek Vasut
Quoted 47 lines · Marek Vasut
Upgrade U-Boot to the latest version.
Signed-off-by Marek Vasut <[email protected]>Cc Richard Purdie <[email protected]>Cc Denys Dmytriyenko <[email protected]>Cc Ross Burton <[email protected]>--- .../{u-boot-common_2016.09.01.inc => u-boot-common_2016.11.inc} | 4 ++-- .../{u-boot-fw-utils_2016.09.01.bb => u-boot-fw-utils_2016.11.bb} | 0 .../{u-boot-mkimage_2016.09.01.bb => u-boot-mkimage_2016.11.bb} | 0 meta/recipes-bsp/u-boot/{u-boot_2016.09.01.bb => u-boot_2016.11.bb} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-bsp/u-boot/{u-boot-common_2016.09.01.inc => u-boot-common_2016.11.inc} (71%) rename meta/recipes-bsp/u-boot/{u-boot-fw-utils_2016.09.01.bb => u-boot-fw-utils_2016.11.bb} (100%) rename meta/recipes-bsp/u-boot/{u-boot-mkimage_2016.09.01.bb => u-boot-mkimage_2016.11.bb} (100%) rename meta/recipes-bsp/u-boot/{u-boot_2016.09.01.bb => u-boot_2016.11.bb} (100%)meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc renamed from meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +2
-2@@ -7,8 +7,8 @@ PE = "1" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "f3363c060497515ca8b71451cb56f3ec0abacaa9" +SRCREV = "29e0cfb4f77f7aa369136302cee14a91e22dca71" -SRC_URI = "git://git.denx.de/u-boot.git;branch=u-boot-2016.09.y" +SRC_URI = "git://git.denx.de/u-boot.git" S = "${WORKDIR}/git"meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.09.01.bb +0
-0meta/recipes-bsp/u-boot/u-boot-mkimage_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb +0
-0meta/recipes-bsp/u-boot/u-boot_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot_2016.09.01.bb +0
-0
meta/recipes-bsp/u-boot/u-boot_2016.11.bb
Quoted 1 line
meta/recipes-bsp/u-boot/u-boot_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot_2016.09.01.bb +0
-1--
Ross, any chance of getting this staged soon? I'm using it in a project and I checked poky/master-next and poky-contrib/ross/mut but don't see it there yet.
-Bill
This doesn't apply to master cleanly, I suspect it's part of a series that has managed to become split up in my inbox.
Is there a branch with this on?
Ross
Quoted 60 lines · Marek Vasut
Upgrade U-Boot to the latest version.
Signed-off-by Marek Vasut <[email protected]>Cc Richard Purdie <[email protected]>Cc Denys Dmytriyenko <[email protected]>Cc Ross Burton <[email protected]>---
.../{u-boot-common_2016.09.01.inc => u-boot-common_2016.11.inc} |
4 ++--.../{u-boot-fw-utils_2016.09.01.bb => u-boot-fw-utils_2016.11.bb} | 0 .../{u-boot-mkimage_2016.09.01.bb => u-boot-mkimage_2016.11.bb} | 0 meta/recipes-bsp/u-boot/{u-boot_2016.09.01.bb => u-boot_2016.11.bb} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-bsp/u-boot/{u-boot-common_2016.09.01.inc => u-boot-common_2016.11.inc} (71%) rename meta/recipes-bsp/u-boot/{u-boot-fw-utils_2016.09.01.bb => u-boot-fw-utils_2016.11.bb} (100%) rename meta/recipes-bsp/u-boot/{u-boot-mkimage_2016.09.01.bb => u-boot-mkimage_2016.11.bb} (100%) rename meta/recipes-bsp/u-boot/{u-boot_2016.09.01.bb => u-boot_2016.11.bb}(100%)
meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc renamed from meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +2
-2@@ -7,8 +7,8 @@ PE = "1" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "f3363c060497515ca8b71451cb56f3ec0abacaa9" +SRCREV = "29e0cfb4f77f7aa369136302cee14a91e22dca71" -SRC_URI = "git://git.denx.de/u-boot.git;branch=u-boot-2016.09.y" +SRC_URI = "git://git.denx.de/u-boot.git" S = "${WORKDIR}/git"meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.09.01.bb +0
-0meta/recipes-bsp/u-boot/u-boot-mkimage_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb +0
-0meta/recipes-bsp/u-boot/u-boot_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot_2016.09.01.bb +0
-1--2.10.2
Quoted 4 lines · Ross
This doesn't apply to master cleanly, I suspect it's part of a series that has managed to become split up in my inbox.
Is there a branch with this on?
Afaict you applied the update to 2016.09 and squashed some patches and that never made it into master. Anyway, I'm attaching all the patches, for completeness.
Quoted 88 lines
Ross
On 18 November 2016 at 19:29, Marek Vasut <[email protected] <mailto:[email protected]>> wrote:
Upgrade U-Boot to the latest version. Signed-off-by: Marek Vasut <[email protected] <mailto:[email protected]>> Cc: Richard Purdie <[email protected] <mailto:[email protected]>> Cc: Denys Dmytriyenko <[email protected] <mailto:[email protected]>> Cc: Ross Burton <[email protected] <mailto:[email protected]>> --- .../{u-boot-common_2016.09.01.inc => u-boot-common_2016.11.inc} | 4 ++-- .../{u-boot-fw-utils_2016.09.01.bb <http://u-boot-fw-utils_2016.09.01.bb> => u-boot-fw-utils_2016.11.bb <http://u-boot-fw-utils_2016.11.bb>} | 0 .../{u-boot-mkimage_2016.09.01.bb <http://u-boot-mkimage_2016.09.01.bb> => u-boot-mkimage_2016.11.bb <http://u-boot-mkimage_2016.11.bb>} | 0 meta/recipes-bsp/u-boot/{u-boot_2016.09.01.bb <http://u-boot_2016.09.01.bb> => u-boot_2016.11.bb <http://u-boot_2016.11.bb>} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-bsp/u-boot/{u-boot-common_2016.09.01.inc => u-boot-common_2016.11.inc} (71%) rename meta/recipes-bsp/u-boot/{u-boot-fw-utils_2016.09.01.bb <http://u-boot-fw-utils_2016.09.01.bb> => u-boot-fw-utils_2016.11.bb <http://u-boot-fw-utils_2016.11.bb>} (100%) rename meta/recipes-bsp/u-boot/{u-boot-mkimage_2016.09.01.bb <http://u-boot-mkimage_2016.09.01.bb> => u-boot-mkimage_2016.11.bb <http://u-boot-mkimage_2016.11.bb>} (100%) rename meta/recipes-bsp/u-boot/{u-boot_2016.09.01.bb <http://u-boot_2016.09.01.bb> => u-boot_2016.11.bb <http://u-boot_2016.11.bb>} (100%) diff --git a/meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc b/meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc similarity index 71% rename from meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc rename to meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc index f706a6b..84adc1c 100644 --- a/meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +++ b/meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc @@ -7,8 +7,8 @@ PE = "1" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "f3363c060497515ca8b71451cb56f3ec0abacaa9" +SRCREV = "29e0cfb4f77f7aa369136302cee14a91e22dca71" -SRC_URI = "git://git.denx.de/u-boot.git;branch=u-boot-2016.09.y <http://git.denx.de/u-boot.git;branch=u-boot-2016.09.y>" +SRC_URI = "git://git.denx.de/u-boot.git <http://git.denx.de/u-boot.git>" S = "${WORKDIR}/git" diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.09.01.bb <http://u-boot-fw-utils_2016.09.01.bb> b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.11.bb <http://u-boot-fw-utils_2016.11.bb> similarity index 100% rename from meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.09.01.bb <http://u-boot-fw-utils_2016.09.01.bb> rename to meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.11.bb <http://u-boot-fw-utils_2016.11.bb> diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb <http://u-boot-mkimage_2016.09.01.bb> b/meta/recipes-bsp/u-boot/u-boot-mkimage_2016.11.bb <http://u-boot-mkimage_2016.11.bb> similarity index 100% rename from meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb <http://u-boot-mkimage_2016.09.01.bb> rename to meta/recipes-bsp/u-boot/u-boot-mkimage_2016.11.bb <http://u-boot-mkimage_2016.11.bb> diff --git a/meta/recipes-bsp/u-boot/u-boot_2016.09.01.bb <http://u-boot_2016.09.01.bb> b/meta/recipes-bsp/u-boot/u-boot_2016.11.bb <http://u-boot_2016.11.bb> similarity index 100% rename from meta/recipes-bsp/u-boot/u-boot_2016.09.01.bb <http://u-boot_2016.09.01.bb> rename to meta/recipes-bsp/u-boot/u-boot_2016.11.bb <http://u-boot_2016.11.bb> -- 2.10.2
Signature · 2 lines
Best regards, Marek Vasut
From 7e9976663a738810238888ac9cf9814f9ba16e41 Mon Sep 17 00:00:00 2001
From: Marek Vasut <[email protected]>
Date: Sun, 4 Sep 2016 12:50:01 +0200
Subject: [PATCH 1/6] u-boot: Update to 2016.09.01 release
Upgrade U-Boot to the latest version.
---
.../{u-boot-common_2016.03.inc => u-boot-common_2016.09.01.inc} | 8 ++++----
.../{u-boot-fw-utils_2016.03.bb => u-boot-fw-utils_2016.09.01.bb} | 0
.../{u-boot-mkimage_2016.03.bb => u-boot-mkimage_2016.09.01.bb} | 0
.../u-boot/{u-boot_2016.03.bb => u-boot_2016.09.01.bb} | 0
4 files changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-bsp/u-boot/{u-boot-common_2016.03.inc => u-boot-common_2016.09.01.inc} (59%)
rename meta/recipes-bsp/u-boot/{u-boot-fw-utils_2016.03.bb => u-boot-fw-utils_2016.09.01.bb} (100%)
rename meta/recipes-bsp/u-boot/{u-boot-mkimage_2016.03.bb => u-boot-mkimage_2016.09.01.bb} (100%)
rename meta/recipes-bsp/u-boot/{u-boot_2016.03.bb => u-boot_2016.09.01.bb} (100%)meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc renamed from meta/recipes-bsp/u-boot/u-boot-common_2016.03.inc +4 -4
@@ -4,13 +4,13 @@ SECTION = "bootloaders" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" -# This revision corresponds to the tag "v2016.03" +# This revision corresponds to the tag "v2016.09.01" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa" +SRCREV = "f3363c060497515ca8b71451cb56f3ec0abacaa9" -PV = "v2016.03+git${SRCPV}" +PV = "v2016.09.01+git${SRCPV}" -SRC_URI = "git://git.denx.de/u-boot.git;branch=master" +SRC_URI = "git://git.denx.de/u-boot.git;branch=u-boot-2016.09.y" S = "${WORKDIR}/git"
meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.09.01.bb renamed from meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb +0 -0
meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb renamed from meta/recipes-bsp/u-boot/u-boot-mkimage_2016.03.bb +0 -0
meta/recipes-bsp/u-boot/u-boot_2016.09.01.bb renamed from meta/recipes-bsp/u-boot/u-boot_2016.03.bb +0 -0
Signature · 1 line
2.10.2
From 4bae285969592a19907d987e7e8085fb1e1cf95c Mon Sep 17 00:00:00 2001
From: Marek Vasut <[email protected]>
Date: Sun, 16 Oct 2016 14:41:28 +0200
Subject: [PATCH 2/6] u-boot: Drop the +git part from PV
The U-Boot package is using release versions of U-Boot, so drop the extra +git part from PV.
--- meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +1 -1
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" # repo during parse SRCREV = "f3363c060497515ca8b71451cb56f3ec0abacaa9" -PV = "v2016.09.01+git${SRCPV}" +PV = "v2016.09.01" SRC_URI = "git://git.denx.de/u-boot.git;branch=u-boot-2016.09.y"
Signature · 1 line
2.10.2
From 919f8093c8ac1e60a2d52c531af6345455ea1e62 Mon Sep 17 00:00:00 2001
From: Marek Vasut <[email protected]>
Date: Sun, 16 Oct 2016 14:44:12 +0200
Subject: [PATCH 3/6] u-boot: Drop PV altogether
Drop the explicit setting of PV altogether. This changes the U-Boot version string from "v20yy.mm" to "20yy.mm" , so layer setting the PREFERRED_VERSION_u-boot must be updated by removing the leading 'v'.
---
V2: - Add PE=1 to increment the epoch of the package, as the version
numbering changes in non-backward-compatible way.
V3: - Formatting fix
--- meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +1 -2
@@ -3,14 +3,13 @@ SECTION = "bootloaders" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" +PE = "1" # This revision corresponds to the tag "v2016.09.01" # We use the revision in order to avoid having to fetch it from the # repo during parse SRCREV = "f3363c060497515ca8b71451cb56f3ec0abacaa9" -PV = "v2016.09.01" - SRC_URI = "git://git.denx.de/u-boot.git;branch=u-boot-2016.09.y" S = "${WORKDIR}/git"
Signature · 1 line
2.10.2
From 4ee18fa12604d00b95dae92d92cc778970f572cc Mon Sep 17 00:00:00 2001
From: Marek Vasut <[email protected]>
Date: Sun, 16 Oct 2016 14:46:50 +0200
Subject: [PATCH 4/6] u-boot: Drop redundant comment
Drop comment stating that the SRCREV corresponds to particular U-Boot version. This comment is redundant, since the U-Boot version is part of the recipe filename.
--- meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc | 1 - 1 file changed, 1 deletion(-)
meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +0 -1
@@ -5,7 +5,6 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" PE = "1" -# This revision corresponds to the tag "v2016.09.01" # We use the revision in order to avoid having to fetch it from the # repo during parse SRCREV = "f3363c060497515ca8b71451cb56f3ec0abacaa9"
Signature · 1 line
2.10.2
From 314a20266fd91aab01ccd513b3642e237a49bd29 Mon Sep 17 00:00:00 2001
From: Marek Vasut <[email protected]>
Date: Mon, 7 Nov 2016 19:20:06 +0100
Subject: [PATCH 5/6] u-boot: mkimage: Fix build of u-boot-mkimage
The build failed in multiple configurations. First, the native and nativesdk was using the host compiler and was pulling host libraries into the build. Second, the target configuration was attempting to execute tools/bin2header tool on host, which is compiled for target, to generate license header file that is not used by tools.
This patch changes the EXTRA_OEMAKE to address these issues, to build both native and target builds with the correct compilers and correct sysroots. Moreover, this patch removes the CONFIG_CMD_LICENSE from tools build, thus disabling the execution of target tools/bin2header.
--- meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb +9 -1
@@ -3,10 +3,18 @@ require u-boot-common_${PV}.inc SUMMARY = "U-Boot bootloader image creation tool" DEPENDS = "openssl" -EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" STRIP=true V=1' +EXTRA_OEMAKE_class-target = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" STRIP=true V=1' +EXTRA_OEMAKE_class-native = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' +EXTRA_OEMAKE_class-nativesdk = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' do_compile () { oe_runmake sandbox_defconfig + + # Disable CONFIG_CMD_LICENSE, license.h is not used by tools and + # generating it requires bin2header tool, which for target build + # is built with target tools and thus cannot be executed on host. + sed -i "s/CONFIG_CMD_LICENSE.*/# CONFIG_CMD_LICENSE is not set/" .config + oe_runmake cross_tools NO_SDL=1 }
Signature · 1 line
2.10.2
From e064a165bf080e5876518ec3ac8a68a1345c3b9c Mon Sep 17 00:00:00 2001
From: Marek Vasut <[email protected]>
Date: Fri, 18 Nov 2016 11:18:58 +0100
Subject: [PATCH 6/6] u-boot: Update to v2016.11 release
Upgrade U-Boot to the latest version.
---
.../{u-boot-common_2016.09.01.inc => u-boot-common_2016.11.inc} | 4 ++--
.../{u-boot-fw-utils_2016.09.01.bb => u-boot-fw-utils_2016.11.bb} | 0
.../{u-boot-mkimage_2016.09.01.bb => u-boot-mkimage_2016.11.bb} | 0
meta/recipes-bsp/u-boot/{u-boot_2016.09.01.bb => u-boot_2016.11.bb} | 0
4 files changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-bsp/u-boot/{u-boot-common_2016.09.01.inc => u-boot-common_2016.11.inc} (71%)
rename meta/recipes-bsp/u-boot/{u-boot-fw-utils_2016.09.01.bb => u-boot-fw-utils_2016.11.bb} (100%)
rename meta/recipes-bsp/u-boot/{u-boot-mkimage_2016.09.01.bb => u-boot-mkimage_2016.11.bb} (100%)
rename meta/recipes-bsp/u-boot/{u-boot_2016.09.01.bb => u-boot_2016.11.bb} (100%)meta/recipes-bsp/u-boot/u-boot-common_2016.11.inc renamed from meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc +2 -2
@@ -7,8 +7,8 @@ PE = "1" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "f3363c060497515ca8b71451cb56f3ec0abacaa9" +SRCREV = "29e0cfb4f77f7aa369136302cee14a91e22dca71" -SRC_URI = "git://git.denx.de/u-boot.git;branch=u-boot-2016.09.y" +SRC_URI = "git://git.denx.de/u-boot.git" S = "${WORKDIR}/git"
meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.09.01.bb +0 -0
meta/recipes-bsp/u-boot/u-boot-mkimage_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb +0 -0
meta/recipes-bsp/u-boot/u-boot_2016.11.bb renamed from meta/recipes-bsp/u-boot/u-boot_2016.09.01.bb +0 -0
Signature · 1 line
2.10.2