[oe] [PATCH 1/9] xilinx-virtex4: new file

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Tue Jul 13 06:01:44 UTC 2010


2010/7/12 Adrian Alonso <aalonso00 at gmail.com>:
> * New config machine, generic support for Xilinx
>  Virtex4 platforms ml401, ml403, ml405, ml410
> * Tested on ml405 target board, powerpc based ref
>  design at http://github.com/aalonso/xilinx-ml405
> * Target configuration handled in xilinx-bsp.bbclass
>
> Signed-off-by: Adrian Alonso <aalonso00 at gmail.com>
> ---
>  conf/machine/xilinx-virtex4.conf |   40 ++++++++++++++++++++++++++++++++++++++
>  1 files changed, 40 insertions(+), 0 deletions(-)
>  create mode 100644 conf/machine/xilinx-virtex4.conf
>
> diff --git a/conf/machine/xilinx-virtex4.conf b/conf/machine/xilinx-virtex4.conf
> new file mode 100644
> index 0000000..942b63f
> --- /dev/null
> +++ b/conf/machine/xilinx-virtex4.conf
> @@ -0,0 +1,40 @@
> +# Copyright (C) 2010, Adrian Alonso <aalonso00 at gmail.com>
> +# Released under the MIT license (see packages/COPYING)
> +#@TYPE: Machine
> +#@Name: Xilinx Virtex4 FPGA Development Platform
> +#@DESCRIPTION: Machine configuration for Xilinx Virtex4 family
> +# Supported targets
> +# ML403, ML405, ML410
> +
> +# Default arch can be overrided in local.conf
> +TARGET_ARCH ?= "powerpc"

Do we expect to be this machine to be powerpc only or would there be
any chance that someone puts linux on microblaze on it?
If so is this going to be in this file?
If we think microblaze linux on this board will happen and not in this
file perhaps make explicit in the machine name that it is ppc only.
If microblaze on this board is unlikely it is afaik ok as it is.

> +TARGET_CPU  ?= "405"
> +TARGET_FPU  ?= "soft"
> +TARGET_TUNE ?= "ppc405"
> +#tune for the selected cpu
> +require conf/machine/include/tune-${TARGET_TUNE}.inc
> +
> +#ASSUME_PROVIDED += "virtual/kernel"

I'd say remove the line above. It is harmless as it is comment but
could lead to confusion.
(or if it is useful for people to have this perhaps have a line or two
of comment)

> +PREFERRED_PROVIDER_virtual/kernel = "linux-xilinx"
> +PREFERRED_VERSION_u-boot_xilinx-virtex4 = "u-boot-xilinx"
> +
> +KERNEL_IMAGETYPE = "uImage"
> +
> +MACHINE_FEATURES = "kernel26 apm ext2 vfat ethernet"
> +MACHINE_EXTRA_RECOMMENDS = "kernel-modules"
> +
> +UBOOT_ENTRYPOINT ?= "0x00000000"
> +UBOOT_LOADADDRESS ?= "0x00000000"
> +
> +# Xilinx EDK override hardware  definitions for xilinx-bsp
> +# Include in your local.conf
> +# XILINX_BSP_PATH = "complete path for Xilinx XPS project"
> +# XILINX_BOARD = "ml410"
> +
> +# Don't use tty1
> +USE_VT = "0"
> +SERIAL_CONSOLE = "9600 ttyS0"
> +
> +# Device nodes add xsa for (system ace)
> +IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt \
> +                       files/device_table_add-xsa.txt"
> --
> 1.7.1.1




More information about the Openembedded-devel mailing list