summaryrefslogtreecommitdiffstats
path: root/conf/machine/include
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2013-08-01 19:29:33 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2013-08-01 19:29:33 +1000
commit0acf842ddb02aa11253b104a3f618a9054207c5e (patch)
tree813535aa94bd75f960eb23f702ab1c255a59f843 /conf/machine/include
parentacd7f28e7e608b0b4b7eb5c8f23a1e50ad783478 (diff)
downloadmeta-xilinx-0acf842ddb02aa11253b104a3f618a9054207c5e.tar.gz
machine-xilinx-default.inc: Refactored all non-tune configuration
* Moved non-tune configuration into machine-xilinx-default.inc Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Diffstat (limited to 'conf/machine/include')
-rw-r--r--conf/machine/include/machine-xilinx-default.inc15
-rw-r--r--conf/machine/include/tune-microblaze.inc8
-rw-r--r--conf/machine/include/tune-zynq.inc13
3 files changed, 17 insertions, 19 deletions
diff --git a/conf/machine/include/machine-xilinx-default.inc b/conf/machine/include/machine-xilinx-default.inc
new file mode 100644
index 00000000..06eb9cb1
--- /dev/null
+++ b/conf/machine/include/machine-xilinx-default.inc
@@ -0,0 +1,15 @@
1# Default Xilinx BSP Machine settings
2
3# File System Configuration
4IMAGE_FSTYPES ?= "cpio tar.gz ext2 ext2.gz.u-boot ext2.gz"
5IMAGE_CLASSES += "image_types_uboot"
6
7# Kernel Configuration
8PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx"
9PREFERRED_VERSION_linux-xlnx ?= "3.8%"
10PREFERRED_VERSION_linux-yocto ?= "3.8%"
11PREFERRED_VERSION_linux-yocto-tiny ?= "3.8%"
12
13# U-Boot Configuration
14PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx"
15PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%"
diff --git a/conf/machine/include/tune-microblaze.inc b/conf/machine/include/tune-microblaze.inc
index 5f4d65ba..13bb241d 100644
--- a/conf/machine/include/tune-microblaze.inc
+++ b/conf/machine/include/tune-microblaze.inc
@@ -11,17 +11,9 @@ TUNE_FEATURES_tune-microblaze = "microblaze"
11PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}" 11PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}"
12 12
13# Linux Configuration 13# Linux Configuration
14PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx"
15PREFERRED_VERSION_linux-xlnx ?= "3.8%"
16KERNEL_IMAGETYPE ?= "linux.bin.ub" 14KERNEL_IMAGETYPE ?= "linux.bin.ub"
17 15
18# File System Configuration
19IMAGE_FSTYPES ?= "cpio ext2 ext2.gz.u-boot ext2.gz"
20IMAGE_CLASSES += "image_types_uboot"
21
22# U-Boot Configuration 16# U-Boot Configuration
23PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx"
24PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%"
25UBOOT_MACHINE ?= "microblaze-generic" 17UBOOT_MACHINE ?= "microblaze-generic"
26 18
27# linux-yocto KMACHINE 19# linux-yocto KMACHINE
diff --git a/conf/machine/include/tune-zynq.inc b/conf/machine/include/tune-zynq.inc
index e1a91ad8..95b81e22 100644
--- a/conf/machine/include/tune-zynq.inc
+++ b/conf/machine/include/tune-zynq.inc
@@ -12,20 +12,11 @@ ARMPKGARCH = "${ARMPKGARCH_tune-armv7a-neon}"
12PACKAGE_EXTRA_ARCHS_tune-zynq = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} zynq" 12PACKAGE_EXTRA_ARCHS_tune-zynq = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} zynq"
13 13
14# Linux Configuration 14# Linux Configuration
15PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx"
16PREFERRED_VERSION_linux-xlnx ?= "3.8%"
17KERNEL_IMAGETYPE ?= "uImage" 15KERNEL_IMAGETYPE ?= "uImage"
18# Set default load address. 16
17# Set default load address.
19# Override with KERNEL_EXTRA_ARGS_<board> += "..." in machine file if required 18# Override with KERNEL_EXTRA_ARGS_<board> += "..." in machine file if required
20KERNEL_EXTRA_ARGS_zynq += "UIMAGE_LOADADDR=0x8000" 19KERNEL_EXTRA_ARGS_zynq += "UIMAGE_LOADADDR=0x8000"
21 20
22# File System Configuration
23IMAGE_FSTYPES ?= "cpio ext2 ext2.gz.u-boot ext2.gz"
24IMAGE_CLASSES += "image_types_uboot"
25
26# U-Boot Configuration
27PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx"
28PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%"
29
30# linux-yocto KMACHINE 21# linux-yocto KMACHINE
31KMACHINE ?= "zynq-default" 22KMACHINE ?= "zynq-default"