nitrogen7: add machine configuration

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

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Gary Bisson 2016-04-05 10:07:30 +02:00 committed by Otavio Salvador
parent a10be64136
commit 4ea1c16cac
4 changed files with 35 additions and 3 deletions

View File

@ -0,0 +1,32 @@
#@TYPE: Machine
#@NAME: Boundary Devices Nitrogen7
#@SOC: i.MX7D
#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen7
#@MAINTAINER: Ian Coolidge <ian@boundarydevices.com>
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"

View File

@ -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"

View File

@ -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)"

View File

@ -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)"