Return-Path: Received: from mail-gg0-f176.google.com (mail-gg0-f176.google.com [209.85.161.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7CAFCE00777 for ; Tue, 11 Dec 2012 13:48:21 -0800 (PST) Received: by mail-gg0-f176.google.com with SMTP id h3so866870gge.35 for ; Tue, 11 Dec 2012 13:48:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=vjBFu3oNrz30iv1nkgYiDJ8B6WwwdUZ6RSarfjBem8M=; b=SMWAM6ZlGnSXivh9RJMMueSjL0ECmll9p7IoYirZ6FbYZ1tMXgrW+aiTM2VqXchVCh NebdqsOlMhcamcRsqkyrdOUmVskGuZ3Rtm7LUUjcZy6/jEAd9Eh2TeZLeoSCp2iGn0hV phJxF7C0s4/HS/Gz1ROEbRfdyGrHf17Vd4FCQWeg1a11NbtB66FDGSKrvt7yhZd05g32 Ov1QDFmx3W1HSrmJlNB7wsz/xnNVZBTdsB0kJztqgeKlnmLszoVjS+uAYPxkKn2A2P70 O3YlgNz19HXJJ4+H5P7kWO96YUW5yiPcUKSQm1EGVpNBdIZYAk7iO9fFgGjzAU84aKam ht4w== Received: by 10.236.130.106 with SMTP id j70mr30798930yhi.0.1355262501277; Tue, 11 Dec 2012 13:48:21 -0800 (PST) Received: from nano.lab.ossystems.com.br ([177.213.146.163]) by mx.google.com with ESMTPS id u22sm32129879yhl.2.2012.12.11.13.48.18 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Dec 2012 13:48:20 -0800 (PST) Sender: Otavio Salvador From: Otavio Salvador To: meta-freescale@yoctoproject.org Date: Tue, 11 Dec 2012 19:50:32 -0200 Message-Id: <1355262632-19265-4-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1355262632-19265-1-git-send-email-otavio@ossystems.com.br> References: <1355262632-19265-1-git-send-email-otavio@ossystems.com.br> Cc: Otavio Salvador Subject: [meta-fsl-arm-extra][PATCH v3 3/3] nitrogen6x: Add machine definition 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, 11 Dec 2012 21:48:21 -0000 This adds the machine definition to Nitrogen6x from Boundary Devices. More information at: http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/ In order to take advance of same code used for imx6qsabrelite (on linux-imx, u-boot, imx-firmaware), we use a MACHINEOVERRIDES trick, so imx6qsabrelite is taken as a fallback for nitrogen6x machine. To ensure the boot scripts are available at rootfs time, the do_deploy task of u-boot-script-boundary is added as a dependency of do_rootfs. Change-Id: I8bd0b80d2ad8e8741391ec178c10abd75218542e Signed-off-by: Otavio Salvador --- conf/machine/nitrogen6x.conf | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 conf/machine/nitrogen6x.conf diff --git a/conf/machine/nitrogen6x.conf b/conf/machine/nitrogen6x.conf new file mode 100644 index 0000000..d668eb2 --- /dev/null +++ b/conf/machine/nitrogen6x.conf @@ -0,0 +1,30 @@ +#@TYPE: Machine +#@NAME: Nitrogen6X +#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen6X + +# We need to override the default before everything +MACHINEOVERRIDES = "${MACHINE}:imx6qsabrelite" + +include conf/machine/include/imx-base.inc +include conf/machine/include/tune-cortexa9.inc + +SOC_FAMILY = "mx6q:mx6" + +PREFERRED_PROVIDER_u-boot = "u-boot-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 = "nitrogen6X_config" + +SERIAL_CONSOLE = "115200 ttymxc1" + +MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-wl12xx" + +MACHINE_FEATURES += " pci wifi bluetooth" -- 1.7.10.4