diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-08-01 19:29:33 +1000 |
---|---|---|
committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-08-01 19:29:33 +1000 |
commit | 0acf842ddb02aa11253b104a3f618a9054207c5e (patch) | |
tree | 813535aa94bd75f960eb23f702ab1c255a59f843 | |
parent | acd7f28e7e608b0b4b7eb5c8f23a1e50ad783478 (diff) | |
download | meta-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>
-rw-r--r-- | conf/machine/include/machine-xilinx-default.inc | 15 | ||||
-rw-r--r-- | conf/machine/include/tune-microblaze.inc | 8 | ||||
-rw-r--r-- | conf/machine/include/tune-zynq.inc | 13 | ||||
-rw-r--r-- | conf/machine/kc705-trd-microblazeel.conf | 1 | ||||
-rw-r--r-- | conf/machine/qemumicroblaze.conf | 1 | ||||
-rw-r--r-- | conf/machine/qemuzynq.conf | 1 | ||||
-rw-r--r-- | conf/machine/zc702-zynq7.conf | 1 | ||||
-rw-r--r-- | conf/machine/zedboard-zynq7.conf | 1 |
8 files changed, 22 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 | ||
4 | IMAGE_FSTYPES ?= "cpio tar.gz ext2 ext2.gz.u-boot ext2.gz" | ||
5 | IMAGE_CLASSES += "image_types_uboot" | ||
6 | |||
7 | # Kernel Configuration | ||
8 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx" | ||
9 | PREFERRED_VERSION_linux-xlnx ?= "3.8%" | ||
10 | PREFERRED_VERSION_linux-yocto ?= "3.8%" | ||
11 | PREFERRED_VERSION_linux-yocto-tiny ?= "3.8%" | ||
12 | |||
13 | # U-Boot Configuration | ||
14 | PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx" | ||
15 | PREFERRED_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" | |||
11 | PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}" | 11 | PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}" |
12 | 12 | ||
13 | # Linux Configuration | 13 | # Linux Configuration |
14 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx" | ||
15 | PREFERRED_VERSION_linux-xlnx ?= "3.8%" | ||
16 | KERNEL_IMAGETYPE ?= "linux.bin.ub" | 14 | KERNEL_IMAGETYPE ?= "linux.bin.ub" |
17 | 15 | ||
18 | # File System Configuration | ||
19 | IMAGE_FSTYPES ?= "cpio ext2 ext2.gz.u-boot ext2.gz" | ||
20 | IMAGE_CLASSES += "image_types_uboot" | ||
21 | |||
22 | # U-Boot Configuration | 16 | # U-Boot Configuration |
23 | PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx" | ||
24 | PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%" | ||
25 | UBOOT_MACHINE ?= "microblaze-generic" | 17 | UBOOT_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}" | |||
12 | PACKAGE_EXTRA_ARCHS_tune-zynq = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} zynq" | 12 | PACKAGE_EXTRA_ARCHS_tune-zynq = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} zynq" |
13 | 13 | ||
14 | # Linux Configuration | 14 | # Linux Configuration |
15 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx" | ||
16 | PREFERRED_VERSION_linux-xlnx ?= "3.8%" | ||
17 | KERNEL_IMAGETYPE ?= "uImage" | 15 | KERNEL_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 |
20 | KERNEL_EXTRA_ARGS_zynq += "UIMAGE_LOADADDR=0x8000" | 19 | KERNEL_EXTRA_ARGS_zynq += "UIMAGE_LOADADDR=0x8000" |
21 | 20 | ||
22 | # File System Configuration | ||
23 | IMAGE_FSTYPES ?= "cpio ext2 ext2.gz.u-boot ext2.gz" | ||
24 | IMAGE_CLASSES += "image_types_uboot" | ||
25 | |||
26 | # U-Boot Configuration | ||
27 | PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx" | ||
28 | PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%" | ||
29 | |||
30 | # linux-yocto KMACHINE | 21 | # linux-yocto KMACHINE |
31 | KMACHINE ?= "zynq-default" | 22 | KMACHINE ?= "zynq-default" |
diff --git a/conf/machine/kc705-trd-microblazeel.conf b/conf/machine/kc705-trd-microblazeel.conf index 86315ba6..d58111b6 100644 --- a/conf/machine/kc705-trd-microblazeel.conf +++ b/conf/machine/kc705-trd-microblazeel.conf | |||
@@ -15,6 +15,7 @@ TARGET_CPU = "microblazeel" | |||
15 | MACHINE_FEATURES := "" | 15 | MACHINE_FEATURES := "" |
16 | 16 | ||
17 | require conf/machine/include/tune-microblaze.inc | 17 | require conf/machine/include/tune-microblaze.inc |
18 | require conf/machine/include/machine-xilinx-default.inc | ||
18 | TUNE_FEATURES_tune-microblaze += "v8.50 little-endian barrel-shift pattern-compare reorder multiply-low" | 19 | TUNE_FEATURES_tune-microblaze += "v8.50 little-endian barrel-shift pattern-compare reorder multiply-low" |
19 | 20 | ||
20 | SERIAL_CONSOLE = "115200 ttyS0" | 21 | SERIAL_CONSOLE = "115200 ttyS0" |
diff --git a/conf/machine/qemumicroblaze.conf b/conf/machine/qemumicroblaze.conf index 824dbf47..f8e035f2 100644 --- a/conf/machine/qemumicroblaze.conf +++ b/conf/machine/qemumicroblaze.conf | |||
@@ -5,6 +5,7 @@ | |||
5 | MACHINE_FEATURES := "" | 5 | MACHINE_FEATURES := "" |
6 | 6 | ||
7 | require conf/machine/include/tune-microblaze.inc | 7 | require conf/machine/include/tune-microblaze.inc |
8 | require conf/machine/include/machine-xilinx-default.inc | ||
8 | TUNE_FEATURES_tune-microblaze += "v8.50 little-endian barrel-shift reorder pattern-compare divide-hard multiply-high fpu-hard" | 9 | TUNE_FEATURES_tune-microblaze += "v8.50 little-endian barrel-shift reorder pattern-compare divide-hard multiply-high fpu-hard" |
9 | 10 | ||
10 | SERIAL_CONSOLE = "115200 ttyS0" | 11 | SERIAL_CONSOLE = "115200 ttyS0" |
diff --git a/conf/machine/qemuzynq.conf b/conf/machine/qemuzynq.conf index a260dd32..a0ef073b 100644 --- a/conf/machine/qemuzynq.conf +++ b/conf/machine/qemuzynq.conf | |||
@@ -5,6 +5,7 @@ | |||
5 | MACHINE_FEATURES := "" | 5 | MACHINE_FEATURES := "" |
6 | 6 | ||
7 | require conf/machine/include/tune-zynq.inc | 7 | require conf/machine/include/tune-zynq.inc |
8 | require conf/machine/include/machine-xilinx-default.inc | ||
8 | 9 | ||
9 | SERIAL_CONSOLE = "115200 ttyPS0" | 10 | SERIAL_CONSOLE = "115200 ttyPS0" |
10 | 11 | ||
diff --git a/conf/machine/zc702-zynq7.conf b/conf/machine/zc702-zynq7.conf index bb7fb8d7..b603dc54 100644 --- a/conf/machine/zc702-zynq7.conf +++ b/conf/machine/zc702-zynq7.conf | |||
@@ -13,6 +13,7 @@ PREFERRED_VERSION_linux-xlnx ?= "3.8%" | |||
13 | PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%" | 13 | PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%" |
14 | 14 | ||
15 | require conf/machine/include/tune-zynq.inc | 15 | require conf/machine/include/tune-zynq.inc |
16 | require conf/machine/include/machine-xilinx-default.inc | ||
16 | 17 | ||
17 | # ZC70x machine definition known by Xilinx UBOOT | 18 | # ZC70x machine definition known by Xilinx UBOOT |
18 | UBOOT_MACHINE = "zynq_zc70x_config" | 19 | UBOOT_MACHINE = "zynq_zc70x_config" |
diff --git a/conf/machine/zedboard-zynq7.conf b/conf/machine/zedboard-zynq7.conf index 6dbb8f75..c668c3e4 100644 --- a/conf/machine/zedboard-zynq7.conf +++ b/conf/machine/zedboard-zynq7.conf | |||
@@ -13,6 +13,7 @@ PREFERRED_VERSION_linux-xlnx ?= "3.8%" | |||
13 | PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%" | 13 | PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%" |
14 | 14 | ||
15 | require conf/machine/include/tune-zynq.inc | 15 | require conf/machine/include/tune-zynq.inc |
16 | require conf/machine/include/machine-xilinx-default.inc | ||
16 | 17 | ||
17 | # Zedboard machine definition known by Xilinx UBOOT | 18 | # Zedboard machine definition known by Xilinx UBOOT |
18 | UBOOT_MACHINE = "zynq_zed_config" | 19 | UBOOT_MACHINE = "zynq_zed_config" |