Platform details: https://boundarydevices.com/product/nitrogen7/
Signed-off-by: Gary Bisson <[email protected]> --- 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 diff --git a/conf/machine/nitrogen7.conf b/conf/machine/nitrogen7.conf new file mode 100644 index 0000000..c8eda2b --- /dev/null +++ b/conf/machine/nitrogen7.conf @@ -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" diff --git a/recipes-bsp/u-boot/u-boot-boundary_git.bb b/recipes-bsp/u-boot/u-boot-boundary_git.bb index 68c4d32..5e4c757 100644 --- a/recipes-bsp/u-boot/u-boot-boundary_git.bb +++ b/recipes-bsp/u-boot/u-boot-boundary_git.bb @@ -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" diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb index 06a199a..9741bbf 100644 --- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb @@ -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)" diff --git a/recipes-kernel/linux/linux-boundary_3.14.52.bb b/recipes-kernel/linux/linux-boundary_3.14.52.bb index cbdb736..ddc0407 100644 --- a/recipes-kernel/linux/linux-boundary_3.14.52.bb +++ b/recipes-kernel/linux/linux-boundary_3.14.52.bb @@ -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)" -- 2.7.0 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
