Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0C640E008EC; Fri, 17 Apr 2015 17:04:56 -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,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.171 listed in list.dnswl.org] Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CBE7FE008DC for ; Fri, 17 Apr 2015 17:04:52 -0700 (PDT) Received: by pdbqa5 with SMTP id qa5so143019495pdb.1 for ; Fri, 17 Apr 2015 17:04:52 -0700 (PDT) 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=AI9ZHsGkGQC2cdf41PtY5kcj1bqaQJWfthnbY+ty3/Y=; b=YVnFpRC/vRf/5aPesVh1rKkHPiily/VPLv7jMFi+o6pmW0Gsi+worO8MX28faup3ZC ONZKdLlnEoebgVZsON4chl+IrT3CeVx+NEEPwr5Wjx/BS2mzVwLMgTqwiIQmFE8JGmLx NaTMxcbMjoZQ+D7HNhDVR6DX9zLSWF0qmDAK4tt7sKFNgsP3a0T810Ct0P5yAuJgmnWO vjN7AmeXmSd4ePF6/P2Ej4bbRu87tEwq5RbzU51GSjx+0u1Nd4IyHOOyrhuwh4j/dYuW UuIdi9SZqfim90sFGuxLAu0kG591rXMNSWvlF4etUqPMaHt2dXuf8FRLVJjgz+tgP4Hw THQw== X-Gm-Message-State: ALoCoQnc2Xo6LLtN/Ms6mleY3zoDJJZjjrMXDOCG5T6mbrBBhR7mcR0Nb2bHFc8+LBlsgFDI7b7H X-Received: by 10.67.15.34 with SMTP id fl2mr9507706pad.119.1429315492464; Fri, 17 Apr 2015 17:04:52 -0700 (PDT) Received: from psidhu.gw (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by mx.google.com with ESMTPSA id u3sm11173922pbs.30.2015.04.17.17.04.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Apr 2015 17:04:51 -0700 (PDT) From: Pushpal Sidhu To: Date: Fri, 17 Apr 2015 17:04:25 -0700 Message-Id: <1429315467-17268-2-git-send-email-psidhu@gateworks.com> X-Mailer: git-send-email 2.3.5 In-Reply-To: <1429315467-17268-1-git-send-email-psidhu@gateworks.com> References: <1429315467-17268-1-git-send-email-psidhu@gateworks.com> Cc: otavio@ossystems.com.br Subject: [meta-fsl-arm-extra][PATCH 1/3] gateworks ventana: add machine conf 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: Sat, 18 Apr 2015 00:04:56 -0000 This commit adds a machine conf for the Gateworks Ventana product family. For more information, please see the product site at http://www.gateworks.com/product#ventana Signed-off-by: Pushpal Sidhu --- conf/machine/gwventana.conf | 60 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 conf/machine/gwventana.conf diff --git a/conf/machine/gwventana.conf b/conf/machine/gwventana.conf new file mode 100644 index 0000000..741e8b7 --- /dev/null +++ b/conf/machine/gwventana.conf @@ -0,0 +1,60 @@ +#@TYPE: Machine +#@NAME: i.MX6Q/DL Ventana Platform +#@SOC: i.MX6Q/DL +#@DESCRIPTION: Machine configuration for Gateworks Ventana boards. + +require conf/machine/include/imx-base.inc +require conf/machine/include/tune-cortexa9.inc + +PREFERRED_PROVIDER_u-boot = "u-boot-gwventana" +PREFERRED_PROVIDER_virtual/kernel = "linux-gwventana" + +SOC_FAMILY = "mx6:mx6dl:mx6q" + +KERNEL_DEVICETREE = " \ + imx6q-gw5400-a.dtb \ + imx6q-gw51xx.dtb \ + imx6q-gw52xx.dtb \ + imx6q-gw53xx.dtb \ + imx6q-gw54xx.dtb \ + imx6q-gw551x.dtb \ + imx6q-gw552x.dtb \ + imx6dl-gw51xx.dtb \ + imx6dl-gw52xx.dtb \ + imx6dl-gw53xx.dtb \ + imx6dl-gw54xx.dtb \ + imx6dl-gw551x.dtb \ + imx6dl-gw552x.dtb \ +" + +KERNEL_IMAGETYPE = "uImage" + +MACHINE_FEATURES += "pci wifi bluetooth" + +# Add kernel/modules +MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image kernel-devicetree" +MACHINE_EXTRA_RRECOMMENDS += "kernel-module-sky2" + +# Modules autoload +KERNEL_MODULE_AUTOLOAD = "sky2" + +# Bootloader configs: +UBOOT_ENTRYPOINT := "10008000" +UBOOT_CONFIG ??= "std" +UBOOT_CONFIG[std] = "gwventana_config" + +# Put bootscript on board +do_rootfs[depends] += "u-boot-script-gateworks:do_install" + +SERIAL_CONSOLE = "115200 ttymxc1" + +# Override FS Type Creation +IMAGE_FSTYPES = "tar.bz2 ubi" + +UBI_VOLNAME = "rootfs" +# 256MB ('normal' flash layout) +MKUBIFS_ARGS += "-F -m 2048 -e 124KiB -c 1912 -x zlib" +UBINIZE_ARGS += "-m 2048 -p 128KiB -s 2048" +# 2GB ('large' flash layout) +#MKUBIFS_ARGS += "-F -m 4096 -e 248KiB -c 8124 -x zlib" +#UBINIZE_ARGS += "-m 4096 -p 256KiB -s 4096" -- 2.3.5