diff options
| author | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-04-22 09:22:30 +1000 |
|---|---|---|
| committer | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-04-22 09:22:30 +1000 |
| commit | 70d2e350502a6fa776883f78cdd87c5771189285 (patch) | |
| tree | c04e92242f1c07c5dcae20adc89b9f72cc972432 /meta-zedboard | |
| parent | 346d8cc4e116bd44a6303eeebfcccbec71e8b378 (diff) | |
| download | meta-xilinx-70d2e350502a6fa776883f78cdd87c5771189285.tar.gz | |
Branch to start enablement of bsps. Kernel recipes. Uboot recipes. Zedboard meta layer.
Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
Diffstat (limited to 'meta-zedboard')
| -rw-r--r-- | meta-zedboard/conf/layer.conf | 11 | ||||
| -rw-r--r-- | meta-zedboard/conf/machine/zedboard.conf | 23 | ||||
| -rw-r--r-- | meta-zedboard/recipes-kernel/linux/linux-xlnx.inc | 10 | ||||
| -rw-r--r-- | meta-zedboard/recipes-kernel/linux/linux-xlnx_3.6.bbappend | 1 | ||||
| -rw-r--r-- | meta-zedboard/recipes-kernel/linux/linux-xlnx_3.8.bbappend | 1 |
5 files changed, 46 insertions, 0 deletions
diff --git a/meta-zedboard/conf/layer.conf b/meta-zedboard/conf/layer.conf new file mode 100644 index 00000000..d749fd6e --- /dev/null +++ b/meta-zedboard/conf/layer.conf | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # We have a conf and classes directory, add to BBPATH | ||
| 2 | BBPATH := "${BBPATH}:${LAYERDIR}" | ||
| 3 | |||
| 4 | # We have a packages directory, add to BBFILES | ||
| 5 | BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb" | ||
| 6 | BBFILES += " ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
| 7 | |||
| 8 | BBFILE_COLLECTIONS += "zedboard" | ||
| 9 | BBFILE_PATTERN_zedboard := "^${LAYERDIR}/" | ||
| 10 | BBFILE_PRIORITY_zedboard = "8" | ||
| 11 | |||
diff --git a/meta-zedboard/conf/machine/zedboard.conf b/meta-zedboard/conf/machine/zedboard.conf new file mode 100644 index 00000000..9f044605 --- /dev/null +++ b/meta-zedboard/conf/machine/zedboard.conf | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | #@TYPE: Machine | ||
| 2 | #@NAME: zedboard | ||
| 3 | #@DESCRIPTION: Machine support for zedboard. | ||
| 4 | # http://www.zedboard.org/ | ||
| 5 | |||
| 6 | MACHINE_FEATURES := "" | ||
| 7 | |||
| 8 | require conf/machine/include/tune-cortexa9.inc | ||
| 9 | |||
| 10 | # Consolidate these to common include? | ||
| 11 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx" | ||
| 12 | PREFERRED_VERSION_linux-xlnx ?= "3.6%" | ||
| 13 | |||
| 14 | KERNEL_IMAGETYPE = "uImage" | ||
| 15 | |||
| 16 | IMAGE_FSTYPES = "cpio ext2" | ||
| 17 | |||
| 18 | PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx" | ||
| 19 | |||
| 20 | PREFERRED_VERSION_u-boot-xlnx ?= "v2012.10%" | ||
| 21 | UBOOT_MACHINE = "zynq_zed_config" | ||
| 22 | |||
| 23 | SERIAL_CONSOLE = "115200 ttyPS0" | ||
diff --git a/meta-zedboard/recipes-kernel/linux/linux-xlnx.inc b/meta-zedboard/recipes-kernel/linux/linux-xlnx.inc new file mode 100644 index 00000000..cf5d53be --- /dev/null +++ b/meta-zedboard/recipes-kernel/linux/linux-xlnx.inc | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | # linux-xlnx specific modifications for zedboard | ||
| 2 | |||
| 3 | #Consider providing a skeleton bsp setup? | ||
| 4 | #FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" | ||
| 5 | #SRC_URI_append_zedboard += "file://zedboard.dts" | ||
| 6 | #KERNEL_DEVICETREE_zedboard = "${WORKDIR}/zedboard.dts" | ||
| 7 | |||
| 8 | KERNEL_DEVICETREE_zedboard = "${S}/arch/arm/boot/dts/zedboard.dts" | ||
| 9 | |||
| 10 | COMPATIBLE_MACHINE_zedboard = "zedboard" | ||
diff --git a/meta-zedboard/recipes-kernel/linux/linux-xlnx_3.6.bbappend b/meta-zedboard/recipes-kernel/linux/linux-xlnx_3.6.bbappend new file mode 100644 index 00000000..e8064272 --- /dev/null +++ b/meta-zedboard/recipes-kernel/linux/linux-xlnx_3.6.bbappend | |||
| @@ -0,0 +1 @@ | |||
| include linux-xlnx.inc | |||
diff --git a/meta-zedboard/recipes-kernel/linux/linux-xlnx_3.8.bbappend b/meta-zedboard/recipes-kernel/linux/linux-xlnx_3.8.bbappend new file mode 100644 index 00000000..e8064272 --- /dev/null +++ b/meta-zedboard/recipes-kernel/linux/linux-xlnx_3.8.bbappend | |||
| @@ -0,0 +1 @@ | |||
| include linux-xlnx.inc | |||
