summaryrefslogtreecommitdiffstats
path: root/meta-zedboard
diff options
context:
space:
mode:
authorSipke Vriend <sipke.vriend@xilinx.com>2013-04-22 09:22:30 +1000
committerSipke Vriend <sipke.vriend@xilinx.com>2013-04-22 09:22:30 +1000
commit70d2e350502a6fa776883f78cdd87c5771189285 (patch)
treec04e92242f1c07c5dcae20adc89b9f72cc972432 /meta-zedboard
parent346d8cc4e116bd44a6303eeebfcccbec71e8b378 (diff)
downloadmeta-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.conf11
-rw-r--r--meta-zedboard/conf/machine/zedboard.conf23
-rw-r--r--meta-zedboard/recipes-kernel/linux/linux-xlnx.inc10
-rw-r--r--meta-zedboard/recipes-kernel/linux/linux-xlnx_3.6.bbappend1
-rw-r--r--meta-zedboard/recipes-kernel/linux/linux-xlnx_3.8.bbappend1
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
2BBPATH := "${BBPATH}:${LAYERDIR}"
3
4# We have a packages directory, add to BBFILES
5BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb"
6BBFILES += " ${LAYERDIR}/recipes-*/*/*.bbappend"
7
8BBFILE_COLLECTIONS += "zedboard"
9BBFILE_PATTERN_zedboard := "^${LAYERDIR}/"
10BBFILE_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
6MACHINE_FEATURES := ""
7
8require conf/machine/include/tune-cortexa9.inc
9
10# Consolidate these to common include?
11PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx"
12PREFERRED_VERSION_linux-xlnx ?= "3.6%"
13
14KERNEL_IMAGETYPE = "uImage"
15
16IMAGE_FSTYPES = "cpio ext2"
17
18PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx"
19
20PREFERRED_VERSION_u-boot-xlnx ?= "v2012.10%"
21UBOOT_MACHINE = "zynq_zed_config"
22
23SERIAL_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
8KERNEL_DEVICETREE_zedboard = "${S}/arch/arm/boot/dts/zedboard.dts"
9
10COMPATIBLE_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