Skip to contentSkip to conversation

Add support for new Boundary Devices platforms

PATCH New Gary Bisson 1 participant 5 messages Apr 5, 2016

lore
Share & tools
lore
#0 lore raw

cover Add support for new Boundary Devices platforms

Hi all,

This series adds support for the following Boundary Devices platforms:
- Nitrogen6QP_MAX (i.MX6QP)
https://boundarydevices.com/product/nitrogen6max/
- Nitrogen6x_SOMv2 (i.MX6Q)
https://boundarydevices.com/product/nit6x-som-v2/
- Nitrogen7 (i.MX7)
https://boundarydevices.com/product/nitrogen7/

U-Boot is also updated in order to support i.MX7 architecture.

Regards,
Gary

Gary Bisson (4):
nitrogen6x: add Nitrogen6QP_MAX and SOMv2 support
nitrogen7: add machine configuration
u-boot-boundary: bump SRCREV to 43467b88 (v2016.03)
u-boot-script-boundary: bump SRCREV to 43467b88 (v2016.03)

 conf/machine/nitrogen6x.conf                     |  3 ++-
 conf/machine/nitrogen7.conf                      | 32 ++++++++++++++++++++++++
 recipes-bsp/u-boot/u-boot-boundary_git.bb        | 10 ++++----
 recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 10 ++++----
 recipes-kernel/linux/linux-boundary_3.14.52.bb   |  2 +-
 5 files changed, 45 insertions(+), 12 deletions(-)
 create mode 100644 conf/machine/nitrogen7.conf
Signature · 1 line
2.7.0
#1 lore raw

PATCH 1/4 nitrogen6x: add Nitrogen6QP_MAX and SOMv2 support

More info on those new platforms:
https://boundarydevices.com/product/nitrogen6max/
https://boundarydevices.com/product/nit6x-som-v2/

---
 conf/machine/nitrogen6x.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
conf/machine/nitrogen6x.conf +2 -1
index ec3b765..d4547fa 100644
@@ -35,8 +35,9 @@ include conf/machine/include/tune-cortexa9.inc
 SOC_FAMILY = "mx6:mx6dl:mx6q"
 
 KERNEL_DEVICETREE = "imx6q-sabrelite.dtb \
-                        imx6q-nitrogen6_max.dtb \
+                        imx6q-nitrogen6_max.dtb imx6qp-nitrogen6_max.dtb \
                         imx6q-nitrogen6x.dtb imx6dl-nitrogen6x.dtb \
+                        imx6q-nitrogen6_som2.dtb \
                         imx6dl-nitrogen6_vm.dtb imx6dl-nitrogen6_vm-magstripe.dtb \
 "
 KERNEL_IMAGETYPE = "zImage"
Signature · 1 line
2.7.0
#2 lore raw

PATCH 2/4 nitrogen7: add machine configuration

In reply to Gary Bisson

Platform details:
https://boundarydevices.com/product/nitrogen7/

---
 conf/machine/nitrogen7.conf                      | 32 ++++++++++++++++++++++++
 recipes-bsp/u-boot/u-boot-boundary_git.bb        |  2 +-
 recipes-bsp/u-boot/u-boot-script-boundary_git.bb |  2 +-
 recipes-kernel/linux/linux-boundary_3.14.52.bb   |  2 +-
 4 files changed, 35 insertions(+), 3 deletions(-)
 create mode 100644 conf/machine/nitrogen7.conf
conf/machine/nitrogen7.conf new file +32 -0
new file mode 100644
index 0000000..c8eda2b
@@ -0,0 +1,32 @@
+#@TYPE: Machine
+#@NAME: Boundary Devices Nitrogen7
+#@SOC: i.MX7D
+#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen7
+#@MAINTAINER: Ian Coolidge <[email protected]>
+
+require conf/machine/include/imx-base.inc
+require conf/machine/include/tune-cortexa7.inc
+
+SOC_FAMILY = "mx7:mx7d"
+
+KERNEL_DEVICETREE = "imx7d-nitrogen7.dtb"
+KERNEL_IMAGETYPE = "zImage"
+
+PREFERRED_PROVIDER_u-boot = "u-boot-boundary"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-boundary"
+
+# Use SPI NOR U-Boot by default
+IMAGE_BOOTLOADER ?= ""
+
+# Ensure boot scripts will be available at rootfs time
+do_rootfs[depends] += "u-boot-script-boundary:do_deploy"
+
+# Boot scripts to install
+BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"
+
+UBOOT_MACHINE ?= "nitrogen7_config"
+
+SERIAL_CONSOLE = "115200 ttymxc0"
+
+MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-wl12xx"
+MACHINE_FEATURES += " pci wifi bluetooth"
recipes-bsp/u-boot/u-boot-boundary_git.bb +1 -1
index 68c4d32..5e4c757 100644
@@ -3,7 +3,7 @@ require recipes-bsp/u-boot/u-boot.inc
 DESCRIPTION = "u-boot for Boundary Devices boards."
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95"
-COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x|nitrogen6sx)"
+COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x|nitrogen6sx|nitrogen7)"
 
 PROVIDES = "u-boot"
 
recipes-bsp/u-boot/u-boot-script-boundary_git.bb +1 -1
index 06a199a..9741bbf 100644
@@ -53,4 +53,4 @@ do_install[noexec] = "1"
 do_populate_sysroot[noexec] = "1"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite|nitrogen6sx)"
+COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite|nitrogen6sx|nitrogen7)"
recipes-kernel/linux/linux-boundary_3.14.52.bb +1 -1
index cbdb736..ddc0407 100644
@@ -14,4 +14,4 @@ LOCALVERSION = "-1.1.0_ga+yocto"
 SRCBRANCH = "boundary-imx_3.14.52_1.1.0_ga"
 SRCREV = "9af660ea819fa2911b66ef71f964e98fcb718453"
 DEPENDS += "lzop-native bc-native"
-COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite|nitrogen6sx)"
+COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite|nitrogen6sx|nitrogen7)"
Signature · 1 line
2.7.0
#4 lore raw

PATCH 4/4 u-boot-script-boundary: bump SRCREV to 43467b88 (v2016.03)

In reply to Gary Bisson

Adding support for i.MX7D in 6x_bootscript and 6x_upgrade.

---
 recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-bsp/u-boot/u-boot-script-boundary_git.bb +4 -4
index 9741bbf..3ad140b 100644
@@ -1,11 +1,11 @@
 LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95"
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
 DEPENDS = "u-boot-mkimage-native"
 
-PV = "v2015.07+git${SRCPV}"
+PV = "v2016.03+git${SRCPV}"
 
-SRCREV = "6f020cc6fb24f3c5c5287a7b630fc3bd6e09aa6e"
-SRCBRANCH = "boundary-v2015.07"
+SRCREV = "43467b8804f1c61a7f15db15769641b15c8a6502"
+SRCBRANCH = "boundary-v2016.03"
 SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH}"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.7.0
#3 lore raw

PATCH 3/4 u-boot-boundary: bump SRCREV to 43467b88 (v2016.03)

In reply to Gary Bisson

Adding support for Nitrogen7.

---
 recipes-bsp/u-boot/u-boot-boundary_git.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-bsp/u-boot/u-boot-boundary_git.bb +4 -4
index 5e4c757..9eea54e 100644
@@ -2,15 +2,15 @@ require recipes-bsp/u-boot/u-boot.inc
 
 DESCRIPTION = "u-boot for Boundary Devices boards."
 LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95"
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
 COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x|nitrogen6sx|nitrogen7)"
 
 PROVIDES = "u-boot"
 
-PV = "v2015.07+git${SRCPV}"
+PV = "v2016.03+git${SRCPV}"
 
-SRCREV = "6f020cc6fb24f3c5c5287a7b630fc3bd6e09aa6e"
-SRCBRANCH = "boundary-v2015.07"
+SRCREV = "43467b8804f1c61a7f15db15769641b15c8a6502"
+SRCBRANCH = "boundary-v2016.03"
 SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH}"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.7.0