diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-05-04 19:37:40 -0700 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-06-09 17:20:46 +0200 |
commit | ed1e4395ca1c3428eef22dde838d3a62888b4ab8 (patch) | |
tree | a2a6b423cafdf3f0a19047ee06d1adf2105eb670 | |
parent | b1476a416a387bd0a79c7c536f397fbe412fa6f5 (diff) |
colibri-imx7: add toradex easy installer support
Add Toradex Easy Installer support by enabling the tezi image
format. Also specify the Product IDs this machine is compatible
with and the device tree associated with them. This is used on
devices where we have variants using different device trees but
were built using a single OpenEmbedded machine.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r-- | conf/machine/colibri-imx7.conf | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/conf/machine/colibri-imx7.conf b/conf/machine/colibri-imx7.conf new file mode 100644 index 0000000..34263de --- /dev/null +++ b/conf/machine/colibri-imx7.conf @@ -0,0 +1,43 @@ +#@TYPE: Machine +#@NAME: Toradex Colibri iMX7D/S +#@SOC: i.MX 7Dual / i.MX 7Solo +#@DESCRIPTION: Machine configuration for Toradex Colibri iMX7 SOM +#@MAINTAINER: Max Krummenacher <max.krummenacher@toradex.com> + +MACHINEOVERRIDES =. "mx7:mx7d:" + +include conf/machine/include/imx-base.inc +include conf/machine/include/tune-cortexa7.inc + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-toradex" +KERNEL_IMAGETYPE = "zImage" +KERNEL_DEVICETREE += "imx7d-colibri-eval-v3.dtb imx7s-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_imx7_defconfig" + +IMAGE_CLASSES += "image_type_tezi" +IMAGE_FSTYPES = "sdcard.gz tar.xz ubifs teziimg" + +# 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 ttymxc0" + +TORADEX_PRODUCT_IDS = "0032 0033" +TORADEX_PRODUCT_IDS[0032] = "imx7s-colibri-eval-v3.dtb" +TORADEX_PRODUCT_IDS[0033] = "imx7d-colibri-eval-v3.dtb" +TORADEX_FLASH_TYPE = "rawnand" + +MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g" |