Update Boundary Devices paltforms
PATCH 1/4 u-boot-boundary: bump version to v2017.07
In reply to Gary BissonBrings many updates/fixes, most important one being the use of standard bootdistro commands/variables.
Therefore the legacy 6x_bootscript/upgrade scripts have been removed in favor of boot.scr and upgrade.scr.
Also, the HOSTCC patch isn't needed anymore since included in mainline U-Boot.
---
...inc => u-boot-boundary-common_2017.07.inc} | 6 +--
.../default-gcc.patch | 39 --------------
...bb => u-boot-boundary-fw-utils_2017.07.bb} | 1 -
..._2016.03.bb => u-boot-boundary_2017.07.bb} | 0
.../u-boot/u-boot-script-boundary_2016.03.bb | 54 -------------------
.../u-boot/u-boot-script-boundary_2017.07.bb | 45 ++++++++++++++++
6 files changed, 48 insertions(+), 97 deletions(-)
rename recipes-bsp/u-boot/{u-boot-boundary-common_2016.03.inc => u-boot-boundary-common_2017.07.inc} (72%)
delete mode 100644 recipes-bsp/u-boot/u-boot-boundary-fw-utils/default-gcc.patch
rename recipes-bsp/u-boot/{u-boot-boundary-fw-utils_2016.03.bb => u-boot-boundary-fw-utils_2017.07.bb} (97%)
rename recipes-bsp/u-boot/{u-boot-boundary_2016.03.bb => u-boot-boundary_2017.07.bb} (100%)
delete mode 100644 recipes-bsp/u-boot/u-boot-script-boundary_2016.03.bb
create mode 100644 recipes-bsp/u-boot/u-boot-script-boundary_2017.07.bbrecipes-bsp/u-boot/u-boot-boundary-common_2017.07.inc renamed from recipes-bsp/u-boot/u-boot-boundary-common_2016.03.inc +3 -3
@@ -2,10 +2,10 @@ DESCRIPTION = "U-Boot for Boundary Devices boards" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" -PV = "v2016.03+git${SRCPV}" +PV = "v2017.07+git${SRCPV}" -SRCREV = "0dbffd30b6a81b53c8a4780490ea625ccbfa5596" -SRCBRANCH = "boundary-v2016.03" +SRCREV = "445823ef2abfff2fc1c63cc53c57c1e139f88b1b" +SRCBRANCH = "boundary-v2017.07" SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH}" S = "${WORKDIR}/git"
recipes-bsp/u-boot/u-boot-boundary-fw-utils/default-gcc.patch deleted +0 -39
@@ -1,39 +0,0 @@ -OE needs to be able to change the default compiler. If we pass in HOSTCC -through the make command, it overwrites not only this setting but also the -setting in tools/Makefile wrapped in ifneq ($(CROSS_BUILD_TOOLS),) which -breaks the build. - -We therefore use override to ensure the value of HOSTCC is overwritten when -needed. - -RP: Updated the patch to the version being submitted to upstream u-boot - -Upstream-Status: Submitted [emailed to Masahiro Yamada for discussion] -RP 2017/3/11 - -Index: git/tools/Makefile -=================================================================== ---- git.orig/tools/Makefile -+++ git/tools/Makefile -@@ -262,7 +262,7 @@ $(LICENSE_H): $(obj)/bin2header $(srctre - subdir- += env - - ifneq ($(CROSS_BUILD_TOOLS),) --HOSTCC = $(CC) -+override HOSTCC = $(CC) - - quiet_cmd_crosstools_strip = STRIP $^ - cmd_crosstools_strip = $(STRIP) $^; touch $@ -Index: git/tools/env/Makefile -=================================================================== ---- git.orig/tools/env/Makefile -+++ git/tools/env/Makefile -@@ -8,7 +8,7 @@ - # fw_printenv is supposed to run on the target system, which means it should be - # built with cross tools. Although it may look weird, we only replace "HOSTCC" - # with "CC" here for the maximum code reuse of scripts/Makefile.host. --HOSTCC = $(CC) -+override HOSTCC = $(CC) - - # Compile for a hosted environment on the target - HOST_EXTRACFLAGS = $(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \
recipes-bsp/u-boot/u-boot-boundary-fw-utils_2017.07.bb renamed from recipes-bsp/u-boot/u-boot-boundary-fw-utils_2016.03.bb +0 -1
@@ -4,7 +4,6 @@ SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" DEPENDS = "mtd-utils" SRC_URI += " \ - file://default-gcc.patch \ file://fw_env.config \ "
recipes-bsp/u-boot/u-boot-boundary_2017.07.bb renamed from recipes-bsp/u-boot/u-boot-boundary_2016.03.bb +0 -0
recipes-bsp/u-boot/u-boot-script-boundary_2016.03.bb deleted +0 -54
54 lines not on this page · raw message
recipes-bsp/u-boot/u-boot-script-boundary_2017.07.bb new file +45 -0
45 lines not on this page · raw message
Signature · 1 line
2.18.0
cover Update Boundary Devices paltforms
Hi,
This series updates the U-Boot and Kernel versions for Boundary Devices platforms.
Main change is the switch to U-Boot v2017.07 which now uses the standard bootdistro commands/variables. Therefore the 6x_bootscript/6x_upgrade scripts are deprecated in favor of more generic boot.scr.
Let me know if you have any question.
Regards,
Gary
Gary Bisson (4):
u-boot-boundary: bump version to v2017.07 nitrogen*.conf: switch to standard boot.scr script nitrogen*.conf: fix u-boot preferred provider
linux-boundary: bump revision to 46f9b57b
conf/machine/nitrogen6sx.conf | 7 +--
conf/machine/nitrogen6x-lite.conf | 7 +--
conf/machine/nitrogen6x.conf | 7 +--
conf/machine/nitrogen7.conf | 7 +--
...inc => u-boot-boundary-common_2017.07.inc} | 6 +--
.../default-gcc.patch | 39 --------------
...bb => u-boot-boundary-fw-utils_2017.07.bb} | 1 -
..._2016.03.bb => u-boot-boundary_2017.07.bb} | 0
.../u-boot/u-boot-script-boundary_2016.03.bb | 54 -------------------
.../u-boot/u-boot-script-boundary_2017.07.bb | 45 ++++++++++++++++
recipes-kernel/linux/linux-boundary_4.9.x.bb | 2 +-
11 files changed, 65 insertions(+), 110 deletions(-)
rename recipes-bsp/u-boot/{u-boot-boundary-common_2016.03.inc => u-boot-boundary-common_2017.07.inc} (72%)
delete mode 100644 recipes-bsp/u-boot/u-boot-boundary-fw-utils/default-gcc.patch
rename recipes-bsp/u-boot/{u-boot-boundary-fw-utils_2016.03.bb => u-boot-boundary-fw-utils_2017.07.bb} (97%)
rename recipes-bsp/u-boot/{u-boot-boundary_2016.03.bb => u-boot-boundary_2017.07.bb} (100%)
delete mode 100644 recipes-bsp/u-boot/u-boot-script-boundary_2016.03.bb
create mode 100644 recipes-bsp/u-boot/u-boot-script-boundary_2017.07.bbSignature · 1 line
2.18.0
PATCH 3/4 nitrogen*.conf: fix u-boot preferred provider
And switch to defconfig as now supported in v2017.07 release.
The missing virtual/bootloader variable was generating the following error:
$ bitbake u-boot-boundary ... ERROR: Nothing PROVIDES 'u-boot-boundary' u-boot-boundary was skipped: PREFERRED_PROVIDER_virtual/bootloader set to u-boot-fslc, not u-boot-boundary u-boot-boundary was skipped: incompatible with machine nitrogen6x (not in COMPATIBLE_MACHINE)
--- conf/machine/nitrogen6sx.conf | 5 +++-- conf/machine/nitrogen6x-lite.conf | 5 +++-- conf/machine/nitrogen6x.conf | 5 +++-- conf/machine/nitrogen7.conf | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-)
conf/machine/nitrogen6sx.conf +3 -2
@@ -12,7 +12,8 @@ include conf/machine/include/tune-cortexa9.inc KERNEL_DEVICETREE = "imx6sx-nitrogen6sx.dtb" KERNEL_IMAGETYPE = "zImage" -PREFERRED_PROVIDER_u-boot = "u-boot-boundary" +PREFERRED_PROVIDER_u-boot ??= "u-boot-boundary" +PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-boundary" PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary" PREFERRED_PROVIDER_virtual/kernel_use-mainline-bsp ??= "linux-fslc"
@@ -28,7 +29,7 @@ WKS_FILE_DEPENDS = " \ bmap-tools-native \ " -UBOOT_MACHINE ?= "nitrogen6sx_config" +UBOOT_MACHINE ?= "nitrogen6sx_defconfig" SERIAL_CONSOLE = "115200 ttymxc0"
conf/machine/nitrogen6x-lite.conf +3 -2
@@ -12,7 +12,8 @@ include conf/machine/include/tune-cortexa9.inc KERNEL_DEVICETREE = "imx6dl-nit6xlite.dtb" KERNEL_IMAGETYPE = "zImage" -PREFERRED_PROVIDER_u-boot = "u-boot-boundary" +PREFERRED_PROVIDER_u-boot ??= "u-boot-boundary" +PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-boundary" PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary" PREFERRED_PROVIDER_virtual/kernel_use-mainline-bsp ??= "linux-fslc"
@@ -28,7 +29,7 @@ WKS_FILE_DEPENDS = " \ bmap-tools-native \ " -UBOOT_MACHINE ?= "nit6xlite_config" +UBOOT_MACHINE ?= "nit6xlite_defconfig" SERIAL_CONSOLE = "115200 ttymxc1"
conf/machine/nitrogen6x.conf +3 -2
@@ -46,7 +46,8 @@ KERNEL_DEVICETREE_remove_use-mainline-bsp = "imx6dl-nitrogen6_vm.dtb imx6dl-nitr KERNEL_IMAGETYPE = "zImage" -PREFERRED_PROVIDER_u-boot = "u-boot-boundary" +PREFERRED_PROVIDER_u-boot ??= "u-boot-boundary" +PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-boundary" PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary" PREFERRED_PROVIDER_virtual/kernel_use-mainline-bsp ??= "linux-fslc"
@@ -62,7 +63,7 @@ WKS_FILE_DEPENDS = " \ bmap-tools-native \ " -UBOOT_MACHINE ?= "nitrogen6q_config" +UBOOT_MACHINE ?= "nitrogen6q_defconfig" SERIAL_CONSOLE = "115200 ttymxc1"
conf/machine/nitrogen7.conf +3 -2
@@ -12,7 +12,8 @@ require conf/machine/include/tune-cortexa7.inc KERNEL_DEVICETREE = "imx7d-nitrogen7.dtb" KERNEL_IMAGETYPE = "zImage" -PREFERRED_PROVIDER_u-boot = "u-boot-boundary" +PREFERRED_PROVIDER_u-boot ??= "u-boot-boundary" +PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-boundary" PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary" PREFERRED_PROVIDER_virtual/kernel_use-mainline-bsp ??= "linux-fslc"
@@ -28,7 +29,7 @@ WKS_FILE_DEPENDS = " \ bmap-tools-native \ " -UBOOT_MACHINE ?= "nitrogen7_config" +UBOOT_MACHINE ?= "nitrogen7_defconfig" SERIAL_CONSOLE = "115200 ttymxc0"
Signature · 1 line
2.18.0
PATCH 2/4 nitrogen*.conf: switch to standard boot.scr script
In reply to Gary Bisson--- conf/machine/nitrogen6sx.conf | 2 +- conf/machine/nitrogen6x-lite.conf | 2 +- conf/machine/nitrogen6x.conf | 2 +- conf/machine/nitrogen7.conf | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
conf/machine/nitrogen6sx.conf +1 -1
@@ -19,7 +19,7 @@ PREFERRED_PROVIDER_virtual/kernel_use-mainline-bsp ??= "linux-fslc" # wic support WKS_FILE = "sdimage-bootpart.wks" IMAGE_BOOT_FILES_append = " \ - 6x_bootscript-${MACHINE};6x_bootscript \ + boot.scr-${MACHINE};boot.scr \ " WKS_FILE_DEPENDS = " \ u-boot-script-boundary \
conf/machine/nitrogen6x-lite.conf +1 -1
@@ -19,7 +19,7 @@ PREFERRED_PROVIDER_virtual/kernel_use-mainline-bsp ??= "linux-fslc" # wic support WKS_FILE = "sdimage-bootpart.wks" IMAGE_BOOT_FILES_append = " \ - 6x_bootscript-${MACHINE};6x_bootscript \ + boot.scr-${MACHINE};boot.scr \ " WKS_FILE_DEPENDS = " \ u-boot-script-boundary \
conf/machine/nitrogen6x.conf +1 -1
@@ -53,7 +53,7 @@ PREFERRED_PROVIDER_virtual/kernel_use-mainline-bsp ??= "linux-fslc" # wic support WKS_FILE = "sdimage-bootpart.wks" IMAGE_BOOT_FILES_append = " \ - 6x_bootscript-${MACHINE};6x_bootscript \ + boot.scr-${MACHINE};boot.scr \ " WKS_FILE_DEPENDS = " \ u-boot-script-boundary \
conf/machine/nitrogen7.conf +1 -1
@@ -19,7 +19,7 @@ PREFERRED_PROVIDER_virtual/kernel_use-mainline-bsp ??= "linux-fslc" # wic support WKS_FILE = "sdimage-bootpart.wks" IMAGE_BOOT_FILES_append = " \ - 6x_bootscript-${MACHINE};6x_bootscript \ + boot.scr-${MACHINE};boot.scr \ " WKS_FILE_DEPENDS = " \ u-boot-script-boundary \
Signature · 1 line
2.18.0
PATCH 4/4 linux-boundary: bump revision to 46f9b57b
In reply to Gary BissonChangelog is too long but as a summary:
- Merged stable release up to 4.9.88
- Improved capture driver to work with v4l2src
- Add yet another LDB clock parent
- Improved MIPI DSI support for i.MX6
--- recipes-kernel/linux/linux-boundary_4.9.x.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-boundary_4.9.x.bb +1 -1
@@ -11,6 +11,6 @@ SRC_URI = "git://github.com/boundarydevices/linux-imx6.git;branch=${SRCBRANCH} \ LOCALVERSION = "-1.0.0-ga+yocto" SRCBRANCH = "boundary-imx_4.9.x_1.0.0_ga" -SRCREV = "ec68e473bd4fb32357103668ebaad38b3a543352" +SRCREV = "46f9b57bc9312834a51e589cac1a3517cad56a96" DEPENDS += "lzop-native bc-native" COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite|nitrogen6sx|nitrogen7)"
Signature · 1 line
2.18.0
Quoted 8 lines · Gary Bisson
This series updates the U-Boot and Kernel versions for Boundary Devices platforms.
Main change is the switch to U-Boot v2017.07 which now uses the standard bootdistro commands/variables. Therefore the 6x_bootscript/6x_upgrade scripts are deprecated in favor of more generic boot.scr.
Let me know if you have any question.
All applied to master and sumo. Thanks for the patchset :-)
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750