diff options
Diffstat (limited to 'meta-xilinx-core/conf/machine')
4 files changed, 3 insertions, 5 deletions
diff --git a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc index 1f8476d9..6a0e1a2a 100644 --- a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc +++ b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc | |||
| @@ -71,6 +71,9 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS .= "${@bb.utils.contains('IMAGE_BOOT_FILES', 'u | |||
| 71 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS .= "${@bb.utils.contains('IMAGE_BOOT_FILES', 'zImage', ' kernel-image-zimage', '', d)}" | 71 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS .= "${@bb.utils.contains('IMAGE_BOOT_FILES', 'zImage', ' kernel-image-zimage', '', d)}" |
| 72 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS .= "${@bb.utils.contains('IMAGE_BOOT_FILES', '${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz.u-boot', ' initramdisk-${INITRAMFS_IMAGE}', '', d)}" | 72 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS .= "${@bb.utils.contains('IMAGE_BOOT_FILES', '${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz.u-boot', ' initramdisk-${INITRAMFS_IMAGE}', '', d)}" |
| 73 | 73 | ||
| 74 | # Default SD card wks file, split /boot and / | ||
| 75 | WKS_FILES ?= "xilinx-default-sd.wks" | ||
| 76 | |||
| 74 | IMAGE_BOOT_FILES ?= "${@get_default_image_boot_files(d)}" | 77 | IMAGE_BOOT_FILES ?= "${@get_default_image_boot_files(d)}" |
| 75 | 78 | ||
| 76 | def get_default_image_boot_files(d): | 79 | def get_default_image_boot_files(d): |
| @@ -91,7 +94,6 @@ def get_default_image_boot_files(d): | |||
| 91 | if "device-tree" in (d.getVar("PREFERRED_PROVIDER_virtual/dtb") or ""): | 94 | if "device-tree" in (d.getVar("PREFERRED_PROVIDER_virtual/dtb") or ""): |
| 92 | files.append("devicetree/*.dtb;devicetree/") | 95 | files.append("devicetree/*.dtb;devicetree/") |
| 93 | 96 | ||
| 94 | |||
| 95 | # device trees (kernel only) | 97 | # device trees (kernel only) |
| 96 | if d.getVar("KERNEL_DEVICETREE"): | 98 | if d.getVar("KERNEL_DEVICETREE"): |
| 97 | dtbs = d.getVar("KERNEL_DEVICETREE").split(" ") | 99 | dtbs = d.getVar("KERNEL_DEVICETREE").split(" ") |
diff --git a/meta-xilinx-core/conf/machine/versal-generic.conf b/meta-xilinx-core/conf/machine/versal-generic.conf index d7797b78..a1f0fda6 100644 --- a/meta-xilinx-core/conf/machine/versal-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-generic.conf | |||
| @@ -33,8 +33,6 @@ IMAGE_CLASSES += "image-types-xilinx-qemu" | |||
| 33 | # Add wic.qemu-sd only if initramfs_image not set due to circular dependecies | 33 | # Add wic.qemu-sd only if initramfs_image not set due to circular dependecies |
| 34 | IMAGE_FSTYPES += "${@'wic.qemu-sd' if (d.getVar('INITRAMFS_IMAGE') or '') == '' else 'cpio.gz.u-boot.qemu-sd-fatimg'}" | 34 | IMAGE_FSTYPES += "${@'wic.qemu-sd' if (d.getVar('INITRAMFS_IMAGE') or '') == '' else 'cpio.gz.u-boot.qemu-sd-fatimg'}" |
| 35 | 35 | ||
| 36 | WKS_FILES ?= "sdimage-bootpart.wks" | ||
| 37 | |||
| 38 | EXTRA_IMAGEDEPENDS += " \ | 36 | EXTRA_IMAGEDEPENDS += " \ |
| 39 | arm-trusted-firmware \ | 37 | arm-trusted-firmware \ |
| 40 | virtual/boot-bin \ | 38 | virtual/boot-bin \ |
diff --git a/meta-xilinx-core/conf/machine/zynq-generic.conf b/meta-xilinx-core/conf/machine/zynq-generic.conf index eaabb129..c79db9f0 100644 --- a/meta-xilinx-core/conf/machine/zynq-generic.conf +++ b/meta-xilinx-core/conf/machine/zynq-generic.conf | |||
| @@ -43,7 +43,6 @@ HDF_MACHINE = "zc702-zynq7" | |||
| 43 | IMAGE_CLASSES += "image-types-xilinx-qemu" | 43 | IMAGE_CLASSES += "image-types-xilinx-qemu" |
| 44 | # Add wic.qemu-sd only if initramfs_image not set due to circular dependecies | 44 | # Add wic.qemu-sd only if initramfs_image not set due to circular dependecies |
| 45 | IMAGE_FSTYPES += "${@'wic.qemu-sd' if (d.getVar('INITRAMFS_IMAGE') or '') == '' else 'cpio.gz'}" | 45 | IMAGE_FSTYPES += "${@'wic.qemu-sd' if (d.getVar('INITRAMFS_IMAGE') or '') == '' else 'cpio.gz'}" |
| 46 | WKS_FILES ?= "sdimage-bootpart.wks" | ||
| 47 | 46 | ||
| 48 | QB_MEM = "-m 1024" | 47 | QB_MEM = "-m 1024" |
| 49 | QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@" | 48 | QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@" |
diff --git a/meta-xilinx-core/conf/machine/zynqmp-generic.conf b/meta-xilinx-core/conf/machine/zynqmp-generic.conf index 1e6ee0d3..3aff9c65 100644 --- a/meta-xilinx-core/conf/machine/zynqmp-generic.conf +++ b/meta-xilinx-core/conf/machine/zynqmp-generic.conf | |||
| @@ -34,7 +34,6 @@ BOOTMODE ?= "generic.root" | |||
| 34 | IMAGE_CLASSES += "image-types-xilinx-qemu" | 34 | IMAGE_CLASSES += "image-types-xilinx-qemu" |
| 35 | # Add wic.qemu-sd only if initramfs_image not set due to circular dependecies | 35 | # Add wic.qemu-sd only if initramfs_image not set due to circular dependecies |
| 36 | IMAGE_FSTYPES += "${@'wic.qemu-sd' if (d.getVar('INITRAMFS_IMAGE') or '') == '' else 'cpio.gz.u-boot'}" | 36 | IMAGE_FSTYPES += "${@'wic.qemu-sd' if (d.getVar('INITRAMFS_IMAGE') or '') == '' else 'cpio.gz.u-boot'}" |
| 37 | WKS_FILES ?= "sdimage-bootpart.wks" | ||
| 38 | 37 | ||
| 39 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 38 | SERIAL_CONSOLES ?= "115200;ttyPS0" |
| 40 | 39 | ||
