Skip to contentSkip to conversation

nitrogen6x: add Nitrogen6QP_MAX and SOMv2 support

PATCH In review Ian Coolidge 3 participants 8 messages Apr 15, 2016 – Apr 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 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
1.9.1
#2 lore raw

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

Adding support for Nitrogen7.

---
 recipes-bsp/u-boot/u-boot-boundary_git.bb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
recipes-bsp/u-boot/u-boot-boundary_git.bb +5 -5
index 68c4d32..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"
-COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x|nitrogen6sx)"
+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
1.9.1
#1 lore raw

PATCH 2/5 nitrogen7: add machine configuration

In reply to Ian Coolidge

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

---
 conf/machine/nitrogen7.conf | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 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"
Signature · 1 line
1.9.1
#3 lore raw

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

In reply to Ian Coolidge

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

---
 recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
recipes-bsp/u-boot/u-boot-script-boundary_git.bb +5 -5
index 06a199a..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"
@@ -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)"
Signature · 1 line
1.9.1
#4 lore raw

PATCH 5/5 linux-boundary: Add nitrogen7 to COMPATIBLE_MACHINE

In reply to Ian Coolidge
---
 recipes-kernel/linux/linux-boundary_3.14.52.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-boundary_3.14.52.bb +1 -1
index 067eed4..d5b61bd 100644
@@ -14,4 +14,4 @@ LOCALVERSION = "-1.1.0_ga+yocto"
 SRCBRANCH = "boundary-imx_3.14.52_1.1.0_ga"
 SRCREV = "a139368c83b5fffc073d4f95c93cf1c234d5d0f3"
 DEPENDS += "lzop-native bc-native"
-COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite|nitrogen6sx)"
+COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite|nitrogen6sx|nitrogen7)"
Signature · 1 line
1.9.1
#5 lore raw
In reply to Ian Coolidge

Hello Ian,

Quoted 5 lines · Ian Coolidge

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

I understand your wish to include new board support at Jethro however this is normally not done.

I don't know what other community members think about this and I want to have a wider view of their understanding about this, before nacking or applying the patches.

Daiane, you - specially - please give your view on this.

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
#6 lore raw
Quoted 9 lines · Otavio Salvador

Hello Ian,

Quoted 5 lines · Ian Coolidge

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

Quoted 8 lines

I understand your wish to include new board support at Jethro however this is normally not done.

I don't know what other community members think about this and I want to have a wider view of their understanding about this, before nacking or applying the patches.

Daiane, you - specially - please give your view on this.

I'm late, sorry.

I've already denied this kind of addition in the past. I prefer to have only bugfixes included in the stable branches. So, in my point of view, it's a NACK for jethro.

Daiane

Quoted 10 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
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#7 lore raw
Quoted 18 lines · Daiane Angolini
Quoted 16 lines · Otavio Salvador

Hello Ian,

Quoted 5 lines · Ian Coolidge

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

I understand your wish to include new board support at Jethro however this is normally not done.

I don't know what other community members think about this and I want to have a wider view of their understanding about this, before nacking or applying the patches.

Quoted 7 lines
Quoted 1 line

Daiane, you - specially - please give your view on this.

I'm late, sorry.

I've already denied this kind of addition in the past. I prefer to have only bugfixes included in the stable branches. So, in my point of view, it's a NACK for jethro.

This is my understanding as well. So I won't apply those.

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