anchor.diff:  
   KERNELDT = "${@os.path.basename(d.getVar('KERNEL_DEVICETREE').split(' ')[0]) if d.getVar('KERNEL_DEVICETREE') else ''}"
   DEVICE_TREE_NAME ?= "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/dtb', 'device-tree', 'system.dtb', d.getVar('KERNELDT'), d)}"
  -#Need to copy a rootfs.cpio.gz.u-boot as uramdisk.image.gz into boot partition
  -RAMDISK_IMAGE ?= ""
  -RAMDISK_IMAGE:zynq ?= "uramdisk.image.gz"
  -
  -PXERAMDISK_IMAGE ?= "${@'ramdisk.cpio.gz.u-boot' if d.getVar('INITRAMFS_IMAGE') and d.getVar('INITRAMFS_IMAGE').find('initramfs') > 0 else '${RAMDISK_IMAGE}'}"
  +#Need to copy a rootfs.cpio.gz.u-boot  into boot partition
  +RAMDISK_IMAGE ?= "rootfs.cpio.gz.u-boot"
  +RAMDISK_IMAGE1 ?= "ramdisk.cpio.gz.u-boot"
  +
  +PXERAMDISK_IMAGE ?= "${'@${RAMDISK_IMAGE1}' if d.getVar('INITRAMFS_IMAGE') and d.getVar('INITRAMFS_IMAGE').find('initramfs') > 0 else '${RAMDISK_IMAGE}'}"
   
   KERNEL_BOOTCMD:zynqmp ?= "booti"
   KERNEL_BOOTCMD:zynq ?= "bootm"
  
positive.code: 
  DEVICETREE_OFFSET:microblaze ?= "0x1e00000"
  DEVICETREE_OFFSET:zynqmp ?= "0x100000"
  DEVICETREE_OFFSET:zynq ?= "0x2000000"
  DEVICETREE_OFFSET:versal ?= "0x1000"
  
  KERNEL_LOAD_ADDRESS ?= "${@append_baseaddr(d,d.getVar('KERNEL_OFFSET'))}"
  
  KERNEL_OFFSET:microblaze ?= "0x0"
  KERNEL_OFFSET:zynqmp ?= "0x200000"
  KERNEL_OFFSET:zynq ?= "0x2080000"
  KERNEL_OFFSET:versal ?= "0x200000"
  
  KERNEL_IMAGE ?= "${KERNEL_IMAGETYPE}"
  
negative.code: QSPI_KERNEL_OFFSET:microblaze ?= "0xBC0000"
  QSPI_KERNEL_SIZE:microblaze ?= "0x500000"
  QSPI_RAMDISK_SIZE:microblaze ?= "0xA00000"
  QSPI_RAMDISK_SIZE:microblaze ?= "0x4000000"
  
  ## For zynq
  ## Load boot.scr at 0xFC0000 -> 15MB of QSPI/NAND Memory
  QSPI_KERNEL_OFFSET:zynq ?= "0xA00000"
  QSPI_RAMDISK_OFFSET:zynq ?= "0x1000000"
  
  NAND_KERNEL_OFFSET:zynq ?= "0x1000000"
  NAND_RAMDISK_OFFSET:zynq ?= "0x4600000"
  
  QSPI_KERNEL_SIZE:zynq ?= "0x600000"
  QSPI_RAMDISK_SIZE:zynq ?= "0xF80000"
  
  NAND_KERNEL_SIZE ?= "0x3200000"
  NAND_RAMDISK_SIZE ?= "0x3200000"
  