u-boot: Factor out common bits
PATCH 1/2 u-boot: Factor out common bits
The u-boot recipes share a couple of common variables, which makes updating of the recipes error prone and a toil. Factor those common bits into u-boot-common.inc so that they are in one place.
No functional change.
--- meta/recipes-bsp/u-boot/u-boot-common.inc | 16 ++++++++++++++++ meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb | 16 ++-------------- meta/recipes-bsp/u-boot/u-boot-mkimage_2016.03.bb | 17 ++--------------- meta/recipes-bsp/u-boot/u-boot.inc | 10 ++-------- meta/recipes-bsp/u-boot/u-boot_2016.03.bb | 7 ------- 5 files changed, 22 insertions(+), 44 deletions(-) create mode 100644 meta/recipes-bsp/u-boot/u-boot-common.inc
meta/recipes-bsp/u-boot/u-boot-common.inc new file +16 -0
@@ -0,0 +1,16 @@ +HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome" +SECTION = "bootloaders" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" + +# This revision corresponds to the tag "v2016.03" +# We use the revision in order to avoid having to fetch it from the +# repo during parse +SRCREV = "df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa" + +PV = "v2016.03+git${SRCPV}" + +SRC_URI = "git://git.denx.de/u-boot.git;branch=master" + +S = "${WORKDIR}/git"
meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb +2 -14
@@ -1,20 +1,8 @@ +require u-boot-common.inc + SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" -SECTION = "bootloader" DEPENDS = "mtd-utils" -# This revision corresponds to the tag "v2016.03" -# We use the revision in order to avoid having to fetch it from the -# repo during parse -SRCREV = "df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa" - -PV = "v2016.03+git${SRCPV}" - -SRC_URI = "git://git.denx.de/u-boot.git;branch=master" - -S = "${WORKDIR}/git" - INSANE_SKIP_${PN} = "already-stripped" EXTRA_OEMAKE_class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" V=1' EXTRA_OEMAKE_class-cross = 'ARCH=${TARGET_ARCH} CC="${CC} ${CFLAGS} ${LDFLAGS}" V=1'
meta/recipes-bsp/u-boot/u-boot-mkimage_2016.03.bb +2 -15
@@ -1,21 +1,8 @@ -SUMMARY = "U-Boot bootloader image creation tool" -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" -SECTION = "bootloader" +require u-boot-common.inc +SUMMARY = "U-Boot bootloader image creation tool" DEPENDS = "openssl" -# This revision corresponds to the tag "v2016.03" -# We use the revision in order to avoid having to fetch it from the -# repo during parse -SRCREV = "df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa" - -PV = "v2016.03+git${SRCPV}" - -SRC_URI = "git://git.denx.de/u-boot.git;branch=master" - -S = "${WORKDIR}/git" - EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" STRIP=true V=1' do_compile () {
meta/recipes-bsp/u-boot/u-boot.inc +2 -8
@@ -1,14 +1,8 @@ +require u-boot-common.inc + SUMMARY = "Universal Boot Loader for embedded devices" -HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome" -SECTION = "bootloaders" PROVIDES = "virtual/bootloader" -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" - -SRC_URI = "git://git.denx.de/u-boot.git;branch=master" - -S = "${WORKDIR}/git" B = "${WORKDIR}/build" PACKAGE_ARCH = "${MACHINE_ARCH}"
meta/recipes-bsp/u-boot/u-boot_2016.03.bb +0 -7
@@ -1,10 +1,3 @@ require u-boot.inc DEPENDS += "dtc-native" - -# This revision corresponds to the tag "v2016.03" -# We use the revision in order to avoid having to fetch it from the -# repo during parse -SRCREV = "df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa" - -PV = "v2016.03+git${SRCPV}"
Signature · 1 line
2.9.3
PATCH 2/2 u-boot: Update to 2016.07 release
Upgrade U-Boot to the latest version.
---
meta/recipes-bsp/u-boot/u-boot-common.inc | 6 +++---
.../{u-boot-fw-utils_2016.03.bb => u-boot-fw-utils_2016.07.bb} | 0
.../u-boot/{u-boot-mkimage_2016.03.bb => u-boot-mkimage_2016.07.bb} | 0
meta/recipes-bsp/u-boot/{u-boot_2016.03.bb => u-boot_2016.07.bb} | 0
4 files changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-bsp/u-boot/{u-boot-fw-utils_2016.03.bb => u-boot-fw-utils_2016.07.bb} (100%)
rename meta/recipes-bsp/u-boot/{u-boot-mkimage_2016.03.bb => u-boot-mkimage_2016.07.bb} (100%)
rename meta/recipes-bsp/u-boot/{u-boot_2016.03.bb => u-boot_2016.07.bb} (100%)meta/recipes-bsp/u-boot/u-boot-common.inc +3 -3
@@ -4,12 +4,12 @@ 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.07" # We use the revision in order to avoid having to fetch it from the # repo during parse -SRCREV = "df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa" +SRCREV = "19ce924ff914f315dc2fdf79f357825c513aed6e" -PV = "v2016.03+git${SRCPV}" +PV = "v2016.07+git${SRCPV}" SRC_URI = "git://git.denx.de/u-boot.git;branch=master"
meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.07.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.07.bb renamed from meta/recipes-bsp/u-boot/u-boot-mkimage_2016.03.bb +0 -0
meta/recipes-bsp/u-boot/u-boot_2016.07.bb renamed from meta/recipes-bsp/u-boot/u-boot_2016.03.bb +0 -0
Signature · 1 line
2.9.3
Re: [PATCH 2/2] u-boot: Update to 2016.07 release
Quoted 1 line · Marek Vasut
Upgrade U-Boot to the latest version.
The latest version meanwhile changed to 2016.09, can you update to that?
Alex
Quoted 33 lines · Marek Vasut
The u-boot recipes share a couple of common variables, which makes updating of the recipes error prone and a toil. Factor those common bits into u-boot-common.inc so that they are in one place.
No functional change.
Signed-off-by Marek Vasut <[email protected]>---
meta/recipes-bsp/u-boot/u-boot-common.inc | 16
++++++++++++++++
meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb | 16 ++--------
------
meta/recipes-bsp/u-boot/u-boot-mkimage_2016.03.bb | 17 ++--------
-------
meta/recipes-bsp/u-boot/u-boot.inc | 10 ++-------- meta/recipes-bsp/u-boot/u-boot_2016.03.bb | 7 -------5 files changed, 22 insertions(+), 44 deletions(-)create mode 100644 meta/recipes-bsp/u-boot/u-boot-common.inc
meta/recipes-bsp/u-boot/u-boot-common.inc new file +5
-0@@ -0,0 +1,16 @@ +HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome" +SECTION = "bootloaders" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM ="file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
meta/recipes-bsp/u-boot/u-boot-common.inc new file +1
-0+
meta/recipes-bsp/u-boot/u-boot-common.inc line 16
Quoted 10 lines
meta/recipes-bsp/u-boot/u-boot-common.inc new file +10
-0+# This revision corresponds to the tag "v2016.03" +# We use the revision in order to avoid having to fetch it from the +# repo during parse +SRCREV = "df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa" + +PV = "v2016.03+git${SRCPV}" + +SRC_URI = "git://git.denx.de/u-boot.git;branch=master" + +S = "${WORKDIR}/git"
Since the common file you're creating is 2016.03 version specific, I'd be tempted to call it u-boot-common_2016.03.inc and then its clear its version specific...
Cheers,
Richard
Quoted 40 lines · Richard Purdie
Quoted 39 lines · Marek Vasut
The u-boot recipes share a couple of common variables, which makes updating of the recipes error prone and a toil. Factor those common bits into u-boot-common.inc so that they are in one place.
No functional change.
Signed-off-by Marek Vasut <[email protected]>--- meta/recipes-bsp/u-boot/u-boot-common.inc | 16 ++++++++++++++++ meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb | 16 ++-------- ------ meta/recipes-bsp/u-boot/u-boot-mkimage_2016.03.bb | 17 ++-------- ------- meta/recipes-bsp/u-boot/u-boot.inc | 10 ++-------- meta/recipes-bsp/u-boot/u-boot_2016.03.bb | 7 ------- 5 files changed, 22 insertions(+), 44 deletions(-) create mode 100644 meta/recipes-bsp/u-boot/u-boot-common.incmeta/recipes-bsp/u-boot/u-boot-common.inc new file +5
-0@@ -0,0 +1,16 @@ +HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome" +SECTION = "bootloaders" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM ="file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
meta/recipes-bsp/u-boot/u-boot-common.inc new file +7
-0+ +# This revision corresponds to the tag "v2016.03" +# We use the revision in order to avoid having to fetch it from the +# repo during parse +SRCREV = "df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa" + +PV = "v2016.03+git${SRCPV}"
Quoted 8 lines
meta/recipes-bsp/u-boot/u-boot-common.inc line 16
Quoted 4 lines
meta/recipes-bsp/u-boot/u-boot-common.inc new file +4
-0+ +SRC_URI = "git://git.denx.de/u-boot.git;branch=master" + +S = "${WORKDIR}/git"Since the common file you're creating is 2016.03 version specific, I'd be tempted to call it u-boot-common_2016.03.inc and then its clear its version specific...
Yes, except when new version of U-Boot comes out and we want to perform update of the u-boot{,mkimage,fw-utils} recipes, with this current patch as is, we'd only have to rename these recipes and change the version in u-boot-common.inc . With your proposal, we'd have to not only rename the recipes and tweak u-boot-common.inc, but also edit their content and change the "require u-boot-common_20yy.mm.inc" bit, which adds some toil.
Signature · 2 lines
Best regards, Marek Vasut
Quoted 58 lines · Marek Vasut
Quoted 49 lines · Richard Purdie
Quoted 47 lines · Marek Vasut
The u-boot recipes share a couple of common variables, which makes
updating of the recipes error prone and a toil. Factor those common
bits into u-boot-common.inc so that they are in one place.No functional change.
Signed-off-by Marek Vasut <[email protected]>---
meta/recipes-bsp/u-boot/u-boot-common.inc | 16
++++++++++++++++
meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb | 16 ++----
----
------
meta/recipes-bsp/u-boot/u-boot-mkimage_2016.03.bb | 17 ++----
----
-------
meta/recipes-bsp/u-boot/u-boot.inc | 10 ++----
----
meta/recipes-bsp/u-boot/u-boot_2016.03.bb | 7 -------5 files changed, 22 insertions(+), 44 deletions(-)create mode 100644 meta/recipes-bsp/u-boot/u-boot-common.inc
meta/recipes-bsp/u-boot/u-boot-common.inc new file +5
-0@@ -0,0 +1,16 @@ +HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome" +SECTION = "bootloaders" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM ="file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
meta/recipes-bsp/u-boot/u-boot-common.inc new file +3
-0+ +# This revision corresponds to the tag "v2016.03" +# We use the revision in order to avoid having to fetch it fromthe
meta/recipes-bsp/u-boot/u-boot-common.inc new file +5
-0+# repo during parse +SRCREV = "df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa" + +PV = "v2016.03+git${SRCPV}" +Quoted 8 lines
meta/recipes-bsp/u-boot/u-boot-common.inc line 16
Quoted 3 lines
meta/recipes-bsp/u-boot/u-boot-common.inc new file +3
-0+SRC_URI = "git://git.denx.de/u-boot.git;branch=master" + +S = "${WORKDIR}/git"Since the common file you're creating is 2016.03 version specific, I'd
be tempted to call it u-boot-common_2016.03.inc and then its clear its
version specific...
Quoted 11 lines
Yes, except when new version of U-Boot comes out and we want to perform
update of the u-boot{,mkimage,fw-utils} recipes, with this current patch
as is, we'd only have to rename these recipes and change the version in
u-boot-common.inc . With your proposal, we'd have to not only rename the
recipes and tweak u-boot-common.inc, but also edit their content and change the "require u-boot-common_20yy.mm.inc" bit, which adds some toil.
Unless its:
require u-boot-common_${PV}.inc
since it should be able to extract PV from the filename...
Cheers,
Richard
Quoted 71 lines · Richard Purdie
Quoted 58 lines · Marek Vasut
Quoted 49 lines · Richard Purdie
Quoted 47 lines · Marek Vasut
The u-boot recipes share a couple of common variables, which makes
updating of the recipes error prone and a toil. Factor those common
bits into u-boot-common.inc so that they are in one place.No functional change.
Signed-off-by Marek Vasut <[email protected]>--- meta/recipes-bsp/u-boot/u-boot-common.inc | 16 ++++++++++++++++ meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb | 16 ++---- ---- ------ meta/recipes-bsp/u-boot/u-boot-mkimage_2016.03.bb | 17 ++---- ---- ------- meta/recipes-bsp/u-boot/u-boot.inc | 10 ++---- ---- meta/recipes-bsp/u-boot/u-boot_2016.03.bb | 7 ------- 5 files changed, 22 insertions(+), 44 deletions(-) create mode 100644 meta/recipes-bsp/u-boot/u-boot-common.incmeta/recipes-bsp/u-boot/u-boot-common.inc new file +5
-0@@ -0,0 +1,16 @@ +HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome" +SECTION = "bootloaders" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM ="file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
meta/recipes-bsp/u-boot/u-boot-common.inc new file +3
-0+ +# This revision corresponds to the tag "v2016.03" +# We use the revision in order to avoid having to fetch it fromthe
meta/recipes-bsp/u-boot/u-boot-common.inc new file +5
-0+# repo during parse +SRCREV = "df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa" + +PV = "v2016.03+git${SRCPV}" +Quoted 8 lines
meta/recipes-bsp/u-boot/u-boot-common.inc line 16
Quoted 3 lines
meta/recipes-bsp/u-boot/u-boot-common.inc new file +3
-0+SRC_URI = "git://git.denx.de/u-boot.git;branch=master" + +S = "${WORKDIR}/git"Since the common file you're creating is 2016.03 version specific, I'd
be tempted to call it u-boot-common_2016.03.inc and then its clear its
version specific...Quoted 11 lines
Yes, except when new version of U-Boot comes out and we want to perform
update of the u-boot{,mkimage,fw-utils} recipes, with this current patch
as is, we'd only have to rename these recipes and change the version in
u-boot-common.inc . With your proposal, we'd have to not only rename the
recipes and tweak u-boot-common.inc, but also edit their content and change the "require u-boot-common_20yy.mm.inc" bit, which adds some toil.
Quoted 5 lines
Unless its:
require u-boot-common_${PV}.inc
since it should be able to extract PV from the filename...
Ah right, thanks :)
I'll rebuild/retest and send a V2 .
Signature · 2 lines
Best regards, Marek Vasut
Quoted 74 lines · Marek Vasut
Quoted 73 lines · Richard Purdie
Quoted 58 lines · Marek Vasut
Quoted 49 lines · Richard Purdie
Quoted 47 lines · Marek Vasut
The u-boot recipes share a couple of common variables, which makes
updating of the recipes error prone and a toil. Factor those common
bits into u-boot-common.inc so that they are in one place.No functional change.
Signed-off-by Marek Vasut <[email protected]>--- meta/recipes-bsp/u-boot/u-boot-common.inc | 16 ++++++++++++++++ meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb | 16 ++---- ---- ------ meta/recipes-bsp/u-boot/u-boot-mkimage_2016.03.bb | 17 ++---- ---- ------- meta/recipes-bsp/u-boot/u-boot.inc | 10 ++---- ---- meta/recipes-bsp/u-boot/u-boot_2016.03.bb | 7 ------- 5 files changed, 22 insertions(+), 44 deletions(-) create mode 100644 meta/recipes-bsp/u-boot/u-boot-common.incmeta/recipes-bsp/u-boot/u-boot-common.inc new file +5
-0@@ -0,0 +1,16 @@ +HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome" +SECTION = "bootloaders" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM ="file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
meta/recipes-bsp/u-boot/u-boot-common.inc new file +3
-0+ +# This revision corresponds to the tag "v2016.03" +# We use the revision in order to avoid having to fetch it fromthe
meta/recipes-bsp/u-boot/u-boot-common.inc new file +5
-0+# repo during parse +SRCREV = "df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa" + +PV = "v2016.03+git${SRCPV}" +Quoted 8 lines
meta/recipes-bsp/u-boot/u-boot-common.inc line 16
Quoted 3 lines
meta/recipes-bsp/u-boot/u-boot-common.inc new file +3
-0+SRC_URI = "git://git.denx.de/u-boot.git;branch=master" + +S = "${WORKDIR}/git"Since the common file you're creating is 2016.03 version specific, I'd
be tempted to call it u-boot-common_2016.03.inc and then its clear its
version specific...Quoted 11 lines
Yes, except when new version of U-Boot comes out and we want to perform
update of the u-boot{,mkimage,fw-utils} recipes, with this current patch
as is, we'd only have to rename these recipes and change the version in
u-boot-common.inc . With your proposal, we'd have to not only rename the
recipes and tweak u-boot-common.inc, but also edit their content and change the "require u-boot-common_20yy.mm.inc" bit, which adds some toil.Unless its:
Quoted 8 lines
Quoted 3 lines
require u-boot-common_${PV}.inc
since it should be able to extract PV from the filename...
Ah right, thanks :)
I'll rebuild/retest and send a V2 .
I was a bit hasty, the u-boot.inc includes u-boot-common.inc without having PV set. Any idea how to deal with that ?
Signature · 2 lines
Best regards, Marek Vasut
Quoted 25 lines · Marek Vasut
Quoted 24 lines · Marek Vasut
Quoted 23 lines · Richard Purdie
Quoted 18 lines · Marek Vasut
Quoted 1 line · Richard Purdie
On Sun, 2016-09-04 at 18:21 +0200, Marek Vasut wrote:
Yes, except when new version of U-Boot comes out and we want to perform
update of the u-boot{,mkimage,fw-utils} recipes, with this current
patch
as is, we'd only have to rename these recipes and change the version
in
u-boot-common.inc . With your proposal, we'd have to not only rename
the
recipes and tweak u-boot-common.inc, but also edit their content and
change the "require u-boot-common_20yy.mm.inc" bit, which adds some
toil.Unless its:
require u-boot-common_${PV}.inc
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
since it should be able to extract PV from the filename...
Ah right, thanks :)
I'll rebuild/retest and send a V2 .
I was a bit hasty, the u-boot.inc includes u-boot-common.inc without having PV set. Any idea how to deal with that ?
Just put includes in the versioned files rather than from u-boot.inc?
Cheers,
Richard
Quoted 27 lines · Richard Purdie
Quoted 26 lines · Marek Vasut
Quoted 25 lines · Marek Vasut
Quoted 24 lines · Richard Purdie
Quoted 18 lines · Marek Vasut
Quoted 1 line · Richard Purdie
On Sun, 2016-09-04 at 18:21 +0200, Marek Vasut wrote:
Yes, except when new version of U-Boot comes out and we want to perform
update of the u-boot{,mkimage,fw-utils} recipes, with this current
patch
as is, we'd only have to rename these recipes and change the version
in
u-boot-common.inc . With your proposal, we'd have to not only rename
the
recipes and tweak u-boot-common.inc, but also edit their content and
change the "require u-boot-common_20yy.mm.inc" bit, which adds some
toil.Unless its:
require u-boot-common_${PV}.inc
since it should be able to extract PV from the filename...
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Ah right, thanks :)
I'll rebuild/retest and send a V2 .
I was a bit hasty, the u-boot.inc includes u-boot-common.inc without having PV set. Any idea how to deal with that ?
Just put includes in the versioned files rather than from u-boot.inc?
Wouldn't that break some BSPs ? I factored out code from the u-boot.inc afterall.
Thanks!
Signature · 2 lines
Best regards, Marek Vasut
Quoted 32 lines · Marek Vasut
Quoted 31 lines · Richard Purdie
Quoted 30 lines · Marek Vasut
Quoted 29 lines · Marek Vasut
Quoted 19 lines · Richard Purdie
Quoted 18 lines · Marek Vasut
Quoted 1 line · Richard Purdie
On Sun, 2016-09-04 at 18:21 +0200, Marek Vasut wrote:
Yes, except when new version of U-Boot comes out and we want to perform
update of the u-boot{,mkimage,fw-utils} recipes, with this current
patch
as is, we'd only have to rename these recipes and change the version
in
u-boot-common.inc . With your proposal, we'd have to not only rename
the
recipes and tweak u-boot-common.inc, but also edit their content and
change the "require u-boot-common_20yy.mm.inc" bit, which adds some
toil.Quoted 5 lines
Unless its:
require u-boot-common_${PV}.inc
since it should be able to extract PV from the filename...
Ah right, thanks :)
I'll rebuild/retest and send a V2 .
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
I was a bit hasty, the u-boot.inc includes u-boot-common.inc without having PV set. Any idea how to deal with that ?
Just put includes in the versioned files rather than from u-boot.inc?
Wouldn't that break some BSPs ? I factored out code from the u-boot.inc afterall.
It will but I consider this fine for master as this clean up the recipes and ensures people goes on the review process while upgrading it.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 36 lines · Otavio Salvador
Quoted 35 lines · Marek Vasut
Quoted 34 lines · Richard Purdie
Quoted 32 lines · Marek Vasut
Quoted 20 lines · Marek Vasut
Quoted 19 lines · Richard Purdie
Quoted 18 lines · Marek Vasut
Quoted 1 line · Richard Purdie
On Sun, 2016-09-04 at 18:21 +0200, Marek Vasut wrote:
Yes, except when new version of U-Boot comes out and we want to perform
update of the u-boot{,mkimage,fw-utils} recipes, with this current
patch
as is, we'd only have to rename these recipes and change the version
in
u-boot-common.inc . With your proposal, we'd have to not only rename
the
recipes and tweak u-boot-common.inc, but also edit their content and
change the "require u-boot-common_20yy.mm.inc" bit, which adds some
toil.Quoted 9 lines
Quoted 5 lines
Unless its:
require u-boot-common_${PV}.inc
since it should be able to extract PV from the filename...
Ah right, thanks :)
I'll rebuild/retest and send a V2 .
I was a bit hasty, the u-boot.inc includes u-boot-common.inc without having PV set. Any idea how to deal with that ?
Quoted 9 lines
Quoted 4 lines
Quoted 1 line
Just put includes in the versioned files rather than from u-boot.inc?
Wouldn't that break some BSPs ? I factored out code from the u-boot.inc afterall.
It will but I consider this fine for master as this clean up the recipes and ensures people goes on the review process while upgrading it.
The u-boot recipe mess would need _far_ more cleanup . If you don't mind me breaking all sorts of BSPs , I would gladly do far more intrusive changes. What do you say ?
Signature · 2 lines
Best regards, Marek Vasut
Quoted 5 lines · Marek Vasut
Quoted 4 lines · Otavio Salvador
Quoted 2 lines · Marek Vasut
Wouldn't that break some BSPs ? I factored out code from the u-boot.inc afterall.
Quoted 7 lines
Quoted 4 lines
It will but I consider this fine for master as this clean up the recipes and ensures people goes on the review process while upgrading it.
The u-boot recipe mess would need _far_ more cleanup . If you don't mind me breaking all sorts of BSPs , I would gladly do far more intrusive changes. What do you say ?
I would love to see the proposed patches.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 10 lines · Otavio Salvador
Quoted 9 lines · Marek Vasut
Quoted 8 lines · Otavio Salvador
Quoted 2 lines · Marek Vasut
Wouldn't that break some BSPs ? I factored out code from the u-boot.inc afterall.
It will but I consider this fine for master as this clean up the recipes and ensures people goes on the review process while upgrading it.
Quoted 6 lines
Quoted 3 lines
The u-boot recipe mess would need _far_ more cleanup . If you don't mind me breaking all sorts of BSPs , I would gladly do far more intrusive changes. What do you say ?
I would love to see the proposed patches.
That'd depend on whether they'd be NAK'd right away for breaking BSPs or not.
Signature · 2 lines
Best regards, Marek Vasut
Quoted 11 lines · Marek Vasut
Quoted 10 lines · Otavio Salvador
Quoted 9 lines · Marek Vasut
Quoted 8 lines · Otavio Salvador
Quoted 2 lines · Marek Vasut
Wouldn't that break some BSPs ? I factored out code from the u-boot.inc afterall.
It will but I consider this fine for master as this clean up the recipes and ensures people goes on the review process while upgrading it.
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
The u-boot recipe mess would need _far_ more cleanup . If you don't mind me breaking all sorts of BSPs , I would gladly do far more intrusive changes. What do you say ?
I would love to see the proposed patches.
That'd depend on whether they'd be NAK'd right away for breaking BSPs or not.
It will depends on the type of breakage and the benefits it puts on the table.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 8 lines · Otavio Salvador
Quoted 7 lines · Marek Vasut
Quoted 5 lines · Otavio Salvador
On Mon, Sep 5, 2016 at 1:16 PM, Marek Vasut <[email protected]> wrote:
I would love to see the proposed patches.
Quoted 5 lines
Quoted 3 lines
That'd depend on whether they'd be NAK'd right away for breaking BSPs or
not.It will depends on the type of breakage and the benefits it puts on the table.
I would note that we are past feature freeze at this point and I'm struggling to get stability in the patches we have queued without anything in addition to that.
If there is a pressing attractive reason we should do this now I'm willing to listen but it might be better waiting for 2.3...
Cheers,
Richard
Quoted 15 lines · Richard Purdie
Quoted 8 lines · Otavio Salvador
Quoted 7 lines · Marek Vasut
Quoted 5 lines · Otavio Salvador
On Mon, Sep 5, 2016 at 1:16 PM, Marek Vasut <[email protected]> wrote:
I would love to see the proposed patches.Quoted 5 lines
Quoted 3 lines
That'd depend on whether they'd be NAK'd right away for breaking BSPs or
not.It will depends on the type of breakage and the benefits it puts on the table.
Quoted 6 lines
I would note that we are past feature freeze at this point and I'm struggling to get stability in the patches we have queued without anything in addition to that.
If there is a pressing attractive reason we should do this now I'm willing to listen but it might be better waiting for 2.3...
Definitely wait for 2.3 with any disruptive changes please.
U-Boot 2016.09 will be out on september 12th, but I don't know if that can make it into 2.2 release. I can certainly send a patch to update the recipe.
Signature · 2 lines
Best regards, Marek Vasut
Quoted 20 lines · Marek Vasut
Quoted 19 lines · Richard Purdie
Quoted 8 lines · Otavio Salvador
Quoted 7 lines · Marek Vasut
Quoted 5 lines · Otavio Salvador
On Mon, Sep 5, 2016 at 1:16 PM, Marek Vasut <[email protected]> wrote:
I would love to see the proposed patches.Quoted 5 lines
Quoted 3 lines
That'd depend on whether they'd be NAK'd right away for breaking BSPs or
not.It will depends on the type of breakage and the benefits it puts on the table.
I would note that we are past feature freeze at this point and I'm struggling to get stability in the patches we have queued without anything in addition to that.
Quoted 8 lines
Quoted 2 lines
If there is a pressing attractive reason we should do this now I'm willing to listen but it might be better waiting for 2.3...
Definitely wait for 2.3 with any disruptive changes please.
U-Boot 2016.09 will be out on september 12th, but I don't know if that can make it into 2.2 release. I can certainly send a patch to update the recipe.
I would support its addition; the risk of it is small and the set of reference BSP is also small so should be fine.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750