Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id CE036E00B9E; Tue, 5 Apr 2016 01:07:46 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.125.82.51 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 32E4BE00AE4 for ; Tue, 5 Apr 2016 01:07:42 -0700 (PDT) Received: by mail-wm0-f51.google.com with SMTP id 127so15367963wmu.1 for ; Tue, 05 Apr 2016 01:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+8rEAeLMFIQy+kitqmwLBTThghYQ85YxrdqA3QhZt9k=; b=jh7r176C2Pjqba6jbBFe6/1D4gHAcDHt2TneQ2ElaZpdSNTB95MriFoQMWpZtHzXbq XgBYWE1PeUb5Vwxph0Lu79HEhlHN8t+KahX4MS0/YuQc4OnElxUYzgkh+1SfvxDXuhe1 uR8N8wTXRYL0v7betVCwflhOzpqHc9Nq4PPVBKaM1z9X+QrL4ObKQNYc7SH3FCNyc7Sm T+RrhdvVKWDdZXTRvmfZQCmy99BeLHOXLW7O/ENeUP+qVnEHCUSktopEvGK55BrsFQWf /o6zeyVzsM4ZAIfLHtUfp2LDJ/9x1vrQGLNezgUdUbfTYuBSSVeYvHaanJ/VxgTIZ8Ya 81UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+8rEAeLMFIQy+kitqmwLBTThghYQ85YxrdqA3QhZt9k=; b=PVN2bPOP9wBbbmxx/XerylQjffKEcRDHR0cvAbYOzSg0q7m+Y0ipoFm7doLl2AnYM0 RMMTxmOL/HFCHCYOfe+Hs+KuOTA2WBOTvwdkjXfzmfsXD+u0o643UeswSbISf56YLN7o 9CK7fKZfUBiOCBodlxeYT8btlwsX2zU2Xf/xkcBriOPYW1stDAZxluKLUHzBVNEh/txc cKUwO1XCv93WbHGNAATsDdw/67/04o8IVgfiFHaeJ3CjIo8oRyBaL4iZj6C8UyUsOvs6 BVTrmnlg3hyt+zhwH798NMmImE01TlJ+3Pc57gTpc0jl3S5gFIbblYT0vBRLqisNqG4q x6CA== X-Gm-Message-State: AD7BkJKcQHUEEGZqUmG2d9fepdJCbDu4deNDikbQmvhBJUsFuF4lO1aM60FR7UopE9Dc0w== X-Received: by 10.28.226.212 with SMTP id z203mr16743201wmg.9.1459843661663; Tue, 05 Apr 2016 01:07:41 -0700 (PDT) Received: from t450s.lan (89-92-156-188.hfc.dyn.abo.bbox.fr. [89.92.156.188]) by smtp.googlemail.com with ESMTPSA id u4sm33238566wjz.4.2016.04.05.01.07.40 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Apr 2016 01:07:41 -0700 (PDT) From: Gary Bisson To: meta-freescale@yoctoproject.org Date: Tue, 5 Apr 2016 10:07:30 +0200 Message-Id: <1459843652-10056-3-git-send-email-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1459843652-10056-1-git-send-email-gary.bisson@boundarydevices.com> References: <1459843652-10056-1-git-send-email-gary.bisson@boundarydevices.com> Subject: [meta-fsl-arm-extra][PATCH 2/4] nitrogen7: add machine configuration X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2016 08:07:46 -0000 Platform details: https://boundarydevices.com/product/nitrogen7/ Signed-off-by: Gary Bisson --- 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 + +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