mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 20:19:01 +02:00
colibri-vf: initial machine for Toradex Vybrid modules
The two modules Colibri VF50 and Colibri VF61 are very similar, with this generic machine called "colibri-vf" both modules are supported. The bootloader default environment expects the Linux kernel zImage as well as the device tree files to be located in the /boot folder of the root file system. Use IMAGE_INSTALL on the machine level to install them into the root file system by default. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
7a3687f7f2
commit
ad10082a73
36
conf/machine/colibri-vf.conf
Normal file
36
conf/machine/colibri-vf.conf
Normal file
|
@ -0,0 +1,36 @@
|
|||
#@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 expects the kernel and device tree directly in /boot of the rootfs
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image kernel-devicetree"
|
||||
|
||||
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"
|
Loading…
Reference in New Issue
Block a user