summaryrefslogtreecommitdiff
path: root/conf/machine
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-03-08 02:54:47 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-03-14 14:26:27 +0100
commit05ac620277f8c6ec87c48b81ccf10c8e912f04eb (patch)
treeec5f4a810e31e99ced4e8d1f77f30d1db1b1daff /conf/machine
parentdee5da716630df194b759fdcea93fb8a3d35dff9 (diff)
colibri-vf: read machine configuration, remove zImage from rootfs
Read machine configuration and remove Kernel image and device tree from rootfs since we start using static UBI volumes. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/colibri-vf.conf37
1 files changed, 37 insertions, 0 deletions
diff --git a/conf/machine/colibri-vf.conf b/conf/machine/colibri-vf.conf
new file mode 100644
index 0000000..ee7561a
--- /dev/null
+++ b/conf/machine/colibri-vf.conf
@@ -0,0 +1,37 @@
+#@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>
+
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa5.inc
+
+SOC_FAMILY = "vf:vf50:vf60"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-toradex"
+KERNEL_IMAGETYPE = "zImage"
+KERNEL_DEVICETREE += "vf500-colibri-eval-v3.dtb vf610-colibri-eval-v3.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_FSTYPES = "tar.bz2 ubifs ubi"
+
+# 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 = "apm usbgadget usbhost vfat alsa touchscreen"