diff options
| author | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-04-20 16:26:15 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-04-20 16:29:29 +1000 |
| commit | bc07a46a710120f749fdb2529be5e885d7c1d5bb (patch) | |
| tree | a77a0c267cf2718197bdeec665698468df4b78e1 /conf | |
| parent | 370171416627d39291bb197e6538f7712079cdc4 (diff) | |
| download | meta-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>
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/machine/ep108-zynqmp.conf | 14 | ||||
| -rw-r--r-- | conf/machine/qemuzynqmp.conf | 11 |
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 | ||
| 5 | require conf/machine/include/arm/arch-armv8.inc | 5 | require conf/machine/include/tune-zynqmp.inc |
| 6 | 6 | require conf/machine/include/machine-xilinx-default.inc | |
| 7 | IMAGE_FSTYPES ?= "tar.gz cpio cpio.gz cpio.gz.u-boot" | 7 | require conf/machine/include/machine-xilinx-board.inc |
| 8 | IMAGE_CLASSES += "image_types_uboot" | ||
| 9 | 8 | ||
| 10 | MACHINE_FEATURES = "" | 9 | MACHINE_FEATURES = "" |
| 11 | 10 | ||
| 12 | EXTRA_IMAGEDEPENDS += "u-boot-zynqmp-mainline" | ||
| 13 | |||
| 14 | KERNEL_IMAGETYPE = "Image" | ||
| 15 | |||
| 16 | SERIAL_CONSOLE = "115200 ttyPS0" | 11 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 17 | 12 | ||
| 18 | # Use the internal ronaldo kernel | 13 | # Use ZynqMP recipes for Kernal and U-Boot |
| 19 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-zynqmp-mainline" | 14 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-zynqmp-mainline" |
| 20 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-zynqmp-mainline" | 15 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-zynqmp-mainline" |
| 21 | PREFERRED_PROVIDER_u-boot ?= "u-boot-zynqmp-mainline" | 16 | PREFERRED_PROVIDER_u-boot ?= "u-boot-zynqmp-mainline" |
| @@ -23,3 +18,4 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-zynqmp-mainline" | |||
| 23 | UBOOT_MACHINE = "xilinx_zynqmp_config" | 18 | UBOOT_MACHINE = "xilinx_zynqmp_config" |
| 24 | UBOOT_LOADADDRESS = "0x80000" | 19 | UBOOT_LOADADDRESS = "0x80000" |
| 25 | UBOOT_ENTRYPOINT = "0x80000" | 20 | UBOOT_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 | ||
| 5 | require conf/machine/include/arm/arch-armv8.inc | 5 | require conf/machine/include/tune-zynqmp.inc |
| 6 | 6 | require conf/machine/include/machine-xilinx-default.inc | |
| 7 | IMAGE_FSTYPES ?= "tar.gz cpio cpio.gz cpio.gz.u-boot" | ||
| 8 | IMAGE_CLASSES += "image_types_uboot" | ||
| 9 | 7 | ||
| 10 | MACHINE_FEATURES = "" | 8 | MACHINE_FEATURES = "" |
| 11 | 9 | ||
| @@ -15,11 +13,9 @@ EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" | |||
| 15 | PREFERRED_VERSION_qemu-native ?= "2.2.0+master+zynqmp%" | 13 | PREFERRED_VERSION_qemu-native ?= "2.2.0+master+zynqmp%" |
| 16 | PREFERRED_VERSION_nativesdk-qemu ?= "2.2.0+master+zynqmp%" | 14 | PREFERRED_VERSION_nativesdk-qemu ?= "2.2.0+master+zynqmp%" |
| 17 | 15 | ||
| 18 | KERNEL_IMAGETYPE = "Image" | ||
| 19 | |||
| 20 | SERIAL_CONSOLE = "115200 ttyPS0" | 16 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 21 | 17 | ||
| 22 | # Use the internal ronaldo kernel | 18 | # Use ZynqMP recipes for Kernal and U-Boot |
| 23 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-zynqmp-mainline" | 19 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-zynqmp-mainline" |
| 24 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-zynqmp-mainline" | 20 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-zynqmp-mainline" |
| 25 | PREFERRED_PROVIDER_u-boot ?= "u-boot-zynqmp-mainline" | 21 | PREFERRED_PROVIDER_u-boot ?= "u-boot-zynqmp-mainline" |
| @@ -27,3 +23,4 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-zynqmp-mainline" | |||
| 27 | UBOOT_MACHINE = "xilinx_zynqmp_config" | 23 | UBOOT_MACHINE = "xilinx_zynqmp_config" |
| 28 | UBOOT_LOADADDRESS = "0x80000" | 24 | UBOOT_LOADADDRESS = "0x80000" |
| 29 | UBOOT_ENTRYPOINT = "0x80000" | 25 | UBOOT_ENTRYPOINT = "0x80000" |
| 26 | |||
