diff options
Diffstat (limited to 'meta-xilinx-core/conf/machine/zynq-generic.conf')
| -rw-r--r-- | meta-xilinx-core/conf/machine/zynq-generic.conf | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-xilinx-core/conf/machine/zynq-generic.conf b/meta-xilinx-core/conf/machine/zynq-generic.conf new file mode 100644 index 00000000..2fc6d27b --- /dev/null +++ b/meta-xilinx-core/conf/machine/zynq-generic.conf | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | #@TYPE: Machine | ||
| 2 | #@NAME: Generic Zynq | ||
| 3 | #@DESCRIPTION: Generic Zynq Device | ||
| 4 | |||
| 5 | require conf/machine/include/soc-zynq.inc | ||
| 6 | require conf/machine/include/machine-xilinx-default.inc | ||
| 7 | require conf/machine/include/machine-xilinx-qemu.inc | ||
| 8 | require conf/machine/include/xilinx-board.inc | ||
| 9 | |||
| 10 | MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost usbgadget" | ||
| 11 | |||
| 12 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" | ||
| 13 | |||
| 14 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" | ||
| 15 | |||
| 16 | SERIAL_CONSOLES ?= "115200;ttyPS0" | ||
| 17 | |||
| 18 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | ||
| 19 | |||
| 20 | HDF_MACHINE = "zc702-zynq7" | ||
| 21 | |||
| 22 | QB_MEM = "-m 1024" | ||
| 23 | QB_NETWORK_DEVICE = "-net nic,netdev=eth0 -netdev user,id=eth0,tftp=/tftpboot -net nic" | ||
| 24 | QB_DEFAULT_KERNEL:qemuboot-xilinx = "zImage" | ||
| 25 | |||
| 26 | QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" | ||
| 27 | QB_DEFAULT_FSTYPE = "cpio.gz.u-boot" | ||
| 28 | QB_DTB = "system.dtb" | ||
| 29 | QB_ROOTFS_OPT:qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | ||
| 30 | |||
| 31 | # Replicate BootROM like behaviour, having loaded SPL and PMU(ROM+FW) | ||
| 32 | QB_OPT_APPEND = " \ | ||
| 33 | -nographic -serial null -serial mon:stdio \ | ||
| 34 | -initrd ${DEPLOY_DIR_IMAGE}/@ROOTFS@ \ | ||
| 35 | -gdb tcp::9000 \ | ||
| 36 | -device loader,addr=0xf8000008,data=0xDF0D,data-len=4 \ | ||
| 37 | -device loader,addr=0xf8000140,data=0x00500801,data-len=4 \ | ||
| 38 | -device loader,addr=0xf800012c,data=0x1ed044d,data-len=4 \ | ||
| 39 | -device loader,addr=0xf8000108,data=0x0001e008,data-len=4 \ | ||
| 40 | -device loader,addr=0xF8000910,data=0xF,data-len=0x4 \ | ||
| 41 | " | ||
