We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 66256

PetaLinux 2015.4 QEMU : Dummy clock driver required to emulate Display port


While using 2015.4 QEMU, a dummy clock driver is needed to emulate Display Port, because SI570 clock generator is not modeled in QEMU.

How do I add the dummy clock driver details to the kernel/dts?


There are two patches created to add the dummy clock driver details to the kernel & DTS.

Below is the procedure to apply the patch:

1) To apply the dummy-clk.patch

CD $PETALINUX/ components/linux-kernel/xlnx-4.0/

Patch -p1 < dummy-clk.patch

2) To apply the dts patch

CD <proj>/subsystems/linux/configs/device-tree

Patch -p1 < dts.patch

Do a "petalinux-build", and run the following command:

qemu-system-aarch64  -M arm-generic-fdt -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4  \ -serial mon:stdio -serial /dev/null \ -device loader,file=<proj>/images/linux/bl31.elf,cpu=0  \ -device loader,file=<proj>/images/linux/Image,addr=0x00080000 \  -device loader,file=<proj>/images/linux/system.dtb,addr=0x04080000  \ -device loader,file=<proj>/build/linux/misc/linux-boot/linux-boot.elf \  -net nic -net nic -net nic -net nic -net user \  -hw-dtb <proj>/images/linux/zynqmp-qemu-arm.dtb


Associated Attachments

Name File Size File Type
dts.patch 1 KB PATCH
dummy-clk.patch 5 KB PATCH
AR# 66256
Date 01/28/2016
Status Active
Type Known Issues
  • Zynq UltraScale+ MPSoC
  • PetaLinux - 2015.4
Page Bookmarked