diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2022-12-01 11:45:35 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2022-12-02 08:44:13 -0600 |
| commit | f23e178337c1c0787171f2b1ab5614ac1915ef8f (patch) | |
| tree | e7bb9022edf985510c2d536d0e891d2976539a98 | |
| parent | 7bd0fce4df8128a62247fff2e1e81893fd912116 (diff) | |
| download | meta-xilinx-f23e178337c1c0787171f2b1ab5614ac1915ef8f.tar.gz | |
meta-xilinx-core: Rename u-boot scripts and uenv packages
In meta-xilinx-core u-boot-zynq-scr and u-boot-zynq-uenv recipes are
renamed to u-boot-xlnx-scr and u-boot-xlnx-uenv. Hence change these
in all the configuraiton and inclusion files.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
5 files changed, 24 insertions, 16 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 06203985..3969fa87 100644 --- a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc +++ b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc | |||
| @@ -43,8 +43,8 @@ XSERVER ?= " \ | |||
| 43 | # Automatically add WKS_FILE_DEPENDS based on the configuration | 43 | # Automatically add WKS_FILE_DEPENDS based on the configuration |
| 44 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'boot.bin', ' xilinx-bootbin', '', d)}" | 44 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'boot.bin', ' xilinx-bootbin', '', d)}" |
| 45 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'system.dtb', ' virtual/dtb', '', d)}" | 45 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'system.dtb', ' virtual/dtb', '', d)}" |
| 46 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'boot.scr', ' u-boot-zynq-scr', '', d)}" | 46 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'boot.scr', ' u-boot-xlnx-scr', '', d)}" |
| 47 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'uEnv.txt', ' u-boot-zynq-uenv', '', d)}" | 47 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'uEnv.txt', ' u-boot-xlnx-uenv', '', d)}" |
| 48 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'atf-uboot.ub', ' arm-trusted-firmware', '', d)}" | 48 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'atf-uboot.ub', ' arm-trusted-firmware', '', d)}" |
| 49 | 49 | ||
| 50 | IMAGE_BOOT_FILES ?= "${@get_default_image_boot_files(d)}" | 50 | IMAGE_BOOT_FILES ?= "${@get_default_image_boot_files(d)}" |
diff --git a/meta-xilinx-core/conf/machine/microblaze-generic.conf b/meta-xilinx-core/conf/machine/microblaze-generic.conf index db38fb03..890bb317 100644 --- a/meta-xilinx-core/conf/machine/microblaze-generic.conf +++ b/meta-xilinx-core/conf/machine/microblaze-generic.conf | |||
| @@ -79,7 +79,7 @@ EXTRA_IMAGEDEPENDS += " \ | |||
| 79 | virtual/bitstream \ | 79 | virtual/bitstream \ |
| 80 | virtual/bootloader \ | 80 | virtual/bootloader \ |
| 81 | virtual/elfrealloc \ | 81 | virtual/elfrealloc \ |
| 82 | u-boot-zynq-scr \ | 82 | u-boot-xlnx-scr \ |
| 83 | " | 83 | " |
| 84 | 84 | ||
| 85 | IMAGE_FSTYPES += "cpio.gz" | 85 | IMAGE_FSTYPES += "cpio.gz" |
diff --git a/meta-xilinx-core/conf/machine/versal-generic.conf b/meta-xilinx-core/conf/machine/versal-generic.conf index 9b9ebf31..d7797b78 100644 --- a/meta-xilinx-core/conf/machine/versal-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-generic.conf | |||
| @@ -36,15 +36,15 @@ IMAGE_FSTYPES += "${@'wic.qemu-sd' if (d.getVar('INITRAMFS_IMAGE') or '') == '' | |||
| 36 | WKS_FILES ?= "sdimage-bootpart.wks" | 36 | WKS_FILES ?= "sdimage-bootpart.wks" |
| 37 | 37 | ||
| 38 | EXTRA_IMAGEDEPENDS += " \ | 38 | EXTRA_IMAGEDEPENDS += " \ |
| 39 | arm-trusted-firmware \ | 39 | arm-trusted-firmware \ |
| 40 | virtual/boot-bin \ | 40 | virtual/boot-bin \ |
| 41 | virtual/bootloader \ | 41 | virtual/bootloader \ |
| 42 | virtual/psm-firmware \ | 42 | virtual/psm-firmware \ |
| 43 | virtual/plm \ | 43 | virtual/plm \ |
| 44 | u-boot-zynq-scr \ | 44 | u-boot-xlnx-scr \ |
| 45 | qemu-devicetrees \ | 45 | qemu-devicetrees \ |
| 46 | virtual/cdo \ | 46 | virtual/cdo \ |
| 47 | " | 47 | " |
| 48 | 48 | ||
| 49 | IMAGE_BOOT_FILES += " \ | 49 | IMAGE_BOOT_FILES += " \ |
| 50 | boot.bin \ | 50 | boot.bin \ |
diff --git a/meta-xilinx-core/conf/machine/zynq-generic.conf b/meta-xilinx-core/conf/machine/zynq-generic.conf index e8ecfb34..eaabb129 100644 --- a/meta-xilinx-core/conf/machine/zynq-generic.conf +++ b/meta-xilinx-core/conf/machine/zynq-generic.conf | |||
| @@ -26,7 +26,15 @@ SERIAL_CONSOLES ?= "115200;ttyPS0" | |||
| 26 | 26 | ||
| 27 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | 27 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" |
| 28 | 28 | ||
| 29 | EXTRA_IMAGEDEPENDS += " \ | ||
| 30 | virtual/boot-bin \ | ||
| 31 | virtual/fsbl \ | ||
| 32 | virtual/bootloader \ | ||
| 33 | u-boot-xlnx-scr \ | ||
| 34 | " | ||
| 35 | |||
| 29 | IMAGE_BOOT_FILES += " \ | 36 | IMAGE_BOOT_FILES += " \ |
| 37 | boot.bin \ | ||
| 30 | ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/dtb', 'device-tree', 'system.dtb', '', d)} \ | 38 | ${@bb.utils.contains('PREFERRED_PROVIDER_virtual/dtb', 'device-tree', 'system.dtb', '', d)} \ |
| 31 | boot.scr \ | 39 | boot.scr \ |
| 32 | " | 40 | " |
| @@ -43,7 +51,7 @@ QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@" | |||
| 43 | QB_KERNEL_ROOT = "/dev/mmcblk0p2" | 51 | QB_KERNEL_ROOT = "/dev/mmcblk0p2" |
| 44 | 52 | ||
| 45 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) | 53 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) |
| 46 | QB_OPT_APPEND ?= " \ | 54 | QB_OPT_APPEND = " \ |
| 47 | -serial null \ | 55 | -serial null \ |
| 48 | -gdb tcp::9000 \ | 56 | -gdb tcp::9000 \ |
| 49 | -device loader,addr=0xf8000008,data=0xDF0D,data-len=4 \ | 57 | -device loader,addr=0xf8000008,data=0xDF0D,data-len=4 \ |
diff --git a/meta-xilinx-core/conf/machine/zynqmp-generic.conf b/meta-xilinx-core/conf/machine/zynqmp-generic.conf index c375d8e5..1e6ee0d3 100644 --- a/meta-xilinx-core/conf/machine/zynqmp-generic.conf +++ b/meta-xilinx-core/conf/machine/zynqmp-generic.conf | |||
| @@ -44,12 +44,12 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | |||
| 44 | HDF_MACHINE = "zcu102-zynqmp" | 44 | HDF_MACHINE = "zcu102-zynqmp" |
| 45 | 45 | ||
| 46 | EXTRA_IMAGEDEPENDS += " \ | 46 | EXTRA_IMAGEDEPENDS += " \ |
| 47 | u-boot-zynq-uenv \ | 47 | u-boot-xlnx-uenv \ |
| 48 | arm-trusted-firmware \ | 48 | arm-trusted-firmware \ |
| 49 | qemu-devicetrees \ | 49 | qemu-devicetrees \ |
| 50 | virtual/boot-bin \ | 50 | virtual/boot-bin \ |
| 51 | virtual/bootloader \ | 51 | virtual/bootloader \ |
| 52 | u-boot-zynq-scr \ | 52 | u-boot-xlnx-scr \ |
| 53 | " | 53 | " |
| 54 | 54 | ||
| 55 | IMAGE_BOOT_FILES += " \ | 55 | IMAGE_BOOT_FILES += " \ |
| @@ -84,7 +84,7 @@ QB_PMU_OPT = " \ | |||
| 84 | " | 84 | " |
| 85 | QB_OPT_APPEND += " -pmu-args '${QB_PMU_OPT}'" | 85 | QB_OPT_APPEND += " -pmu-args '${QB_PMU_OPT}'" |
| 86 | 86 | ||
| 87 | do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy" | 87 | do_write_qemuboot_conf[depends] += "u-boot-xlnx-uenv:do_deploy" |
| 88 | 88 | ||
| 89 | #### No additional settings should be after the Postamble | 89 | #### No additional settings should be after the Postamble |
| 90 | #### Postamble | 90 | #### Postamble |
