summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanchayan Maity <maitysanchayan@gmail.com>2017-06-12 18:13:49 +0530
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-07-01 00:34:17 +0200
commit85c064f91a6dec1a2160681f08f52ff42b62c1e4 (patch)
tree1b1f2524c881ef9e5a26d91c6003238446b4d712
parent06f52f90839029e03ad43ad3b1f9d6c59bd53822 (diff)
conf: machine: colibri-vf: add machine definition for vybrid
Add machine definition for Vybrid. The Vybrid machine definition is already present in meta-freescale-3rdparty. Add the same to the meta-toradex-nxp layer to be able to deploy Aster device trees. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--conf/machine/colibri-vf.conf38
1 files changed, 38 insertions, 0 deletions
diff --git a/conf/machine/colibri-vf.conf b/conf/machine/colibri-vf.conf
new file mode 100644
index 0000000..b6a8a0b
--- /dev/null
+++ b/conf/machine/colibri-vf.conf
@@ -0,0 +1,38 @@
+#@TYPE: Machine
+#@NAME: Toradex Colibri VF50/VF61
+#@SOC: VF500/VF610
+#@DESCRIPTION: Machine configuration for Toradex Colibri VF50/VF61 powered by Freescale Vybrid SoC
+#@MAINTAINER: Stefan Agner <stefan.agner@toradex.com>
+
+MACHINEOVERRIDES =. "vf:vf50:vf60:"
+
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa5.inc
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-toradex"
+KERNEL_IMAGETYPE = "zImage"
+KERNEL_DEVICETREE += "vf500-colibri-eval-v3.dtb vf610-colibri-eval-v3.dtb vf500-colibri-aster.dtb vf610-colibri-aster.dtb"
+
+# U-Boot of our newer release read the Kernel and device tree from static UBI volumes,
+# hence no need to deploy the kernel binary in the image itself
+RDEPENDS_kernel-base = ""
+
+PREFERRED_PROVIDER_u-boot ?= "u-boot-toradex"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-toradex"
+
+# U-Boot NAND binary includes 0x400 padding required for NAND boot
+UBOOT_BINARY ?= "u-boot-nand.imx"
+UBOOT_MAKE_TARGET = "u-boot-nand.imx"
+UBOOT_MACHINE ?= "colibri_vf_defconfig"
+
+IMAGE_CLASSES += "image_type_tezi"
+IMAGE_FSTYPES = "sdcard.gz tar.xz ubifs"
+
+# Enable free --space-fixup (-F) by default, this allows DFU updates
+MKUBIFS_ARGS = " -c 8112 -e 124KiB -m 2KiB -F"
+UBINIZE_ARGS = " -p 128KiB -m 2048 -s 2048"
+UBI_VOLNAME = "rootfs"
+
+SERIAL_CONSOLE ?= "115200 ttyLP0"
+
+MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g"