summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-04-20 16:26:15 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2015-04-20 16:29:29 +1000
commitbc07a46a710120f749fdb2529be5e885d7c1d5bb (patch)
treea77a0c267cf2718197bdeec665698468df4b78e1
parent370171416627d39291bb197e6538f7712079cdc4 (diff)
downloadmeta-xilinx-bc07a46a710120f749fdb2529be5e885d7c1d5bb.tar.gz
conf/machine/*zynqmp.conf: Update to use tune-zynqmp.inc
* Remove duplication of arch and soc settings * Clean up some comments Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--conf/machine/ep108-zynqmp.conf14
-rw-r--r--conf/machine/qemuzynqmp.conf11
2 files changed, 9 insertions, 16 deletions
diff --git a/conf/machine/ep108-zynqmp.conf b/conf/machine/ep108-zynqmp.conf
index 74436f1b..45f20dcb 100644
--- a/conf/machine/ep108-zynqmp.conf
+++ b/conf/machine/ep108-zynqmp.conf
@@ -2,20 +2,15 @@
2#@NAME: ep108-zynqmp 2#@NAME: ep108-zynqmp
3#@DESCRIPTION: Xilinx EP108 ZynqMP Emulation Platform 3#@DESCRIPTION: Xilinx EP108 ZynqMP Emulation Platform
4 4
5require conf/machine/include/arm/arch-armv8.inc 5require conf/machine/include/tune-zynqmp.inc
6 6require conf/machine/include/machine-xilinx-default.inc
7IMAGE_FSTYPES ?= "tar.gz cpio cpio.gz cpio.gz.u-boot" 7require conf/machine/include/machine-xilinx-board.inc
8IMAGE_CLASSES += "image_types_uboot"
9 8
10MACHINE_FEATURES = "" 9MACHINE_FEATURES = ""
11 10
12EXTRA_IMAGEDEPENDS += "u-boot-zynqmp-mainline"
13
14KERNEL_IMAGETYPE = "Image"
15
16SERIAL_CONSOLE = "115200 ttyPS0" 11SERIAL_CONSOLE = "115200 ttyPS0"
17 12
18# Use the internal ronaldo kernel 13# Use ZynqMP recipes for Kernal and U-Boot
19PREFERRED_PROVIDER_virtual/kernel ?= "linux-zynqmp-mainline" 14PREFERRED_PROVIDER_virtual/kernel ?= "linux-zynqmp-mainline"
20PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-zynqmp-mainline" 15PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-zynqmp-mainline"
21PREFERRED_PROVIDER_u-boot ?= "u-boot-zynqmp-mainline" 16PREFERRED_PROVIDER_u-boot ?= "u-boot-zynqmp-mainline"
@@ -23,3 +18,4 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-zynqmp-mainline"
23UBOOT_MACHINE = "xilinx_zynqmp_config" 18UBOOT_MACHINE = "xilinx_zynqmp_config"
24UBOOT_LOADADDRESS = "0x80000" 19UBOOT_LOADADDRESS = "0x80000"
25UBOOT_ENTRYPOINT = "0x80000" 20UBOOT_ENTRYPOINT = "0x80000"
21
diff --git a/conf/machine/qemuzynqmp.conf b/conf/machine/qemuzynqmp.conf
index 2e60c2af..8cbb5b13 100644
--- a/conf/machine/qemuzynqmp.conf
+++ b/conf/machine/qemuzynqmp.conf
@@ -2,10 +2,8 @@
2#@NAME: qemuzynqmp 2#@NAME: qemuzynqmp
3#@DESCRIPTION: QEMU Zynq MP model 3#@DESCRIPTION: QEMU Zynq MP model
4 4
5require conf/machine/include/arm/arch-armv8.inc 5require conf/machine/include/tune-zynqmp.inc
6 6require conf/machine/include/machine-xilinx-default.inc
7IMAGE_FSTYPES ?= "tar.gz cpio cpio.gz cpio.gz.u-boot"
8IMAGE_CLASSES += "image_types_uboot"
9 7
10MACHINE_FEATURES = "" 8MACHINE_FEATURES = ""
11 9
@@ -15,11 +13,9 @@ EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
15PREFERRED_VERSION_qemu-native ?= "2.2.0+master+zynqmp%" 13PREFERRED_VERSION_qemu-native ?= "2.2.0+master+zynqmp%"
16PREFERRED_VERSION_nativesdk-qemu ?= "2.2.0+master+zynqmp%" 14PREFERRED_VERSION_nativesdk-qemu ?= "2.2.0+master+zynqmp%"
17 15
18KERNEL_IMAGETYPE = "Image"
19
20SERIAL_CONSOLE = "115200 ttyPS0" 16SERIAL_CONSOLE = "115200 ttyPS0"
21 17
22# Use the internal ronaldo kernel 18# Use ZynqMP recipes for Kernal and U-Boot
23PREFERRED_PROVIDER_virtual/kernel ?= "linux-zynqmp-mainline" 19PREFERRED_PROVIDER_virtual/kernel ?= "linux-zynqmp-mainline"
24PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-zynqmp-mainline" 20PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-zynqmp-mainline"
25PREFERRED_PROVIDER_u-boot ?= "u-boot-zynqmp-mainline" 21PREFERRED_PROVIDER_u-boot ?= "u-boot-zynqmp-mainline"
@@ -27,3 +23,4 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-zynqmp-mainline"
27UBOOT_MACHINE = "xilinx_zynqmp_config" 23UBOOT_MACHINE = "xilinx_zynqmp_config"
28UBOOT_LOADADDRESS = "0x80000" 24UBOOT_LOADADDRESS = "0x80000"
29UBOOT_ENTRYPOINT = "0x80000" 25UBOOT_ENTRYPOINT = "0x80000"
26