diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/include/machine-xilinx-qemu.inc | 2 | ||||
-rw-r--r-- | conf/machine/zcu102-zynqmp.conf | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/conf/machine/include/machine-xilinx-qemu.inc b/conf/machine/include/machine-xilinx-qemu.inc index 0e5c4bf7..79cbd7a4 100644 --- a/conf/machine/include/machine-xilinx-qemu.inc +++ b/conf/machine/include/machine-xilinx-qemu.inc | |||
@@ -43,7 +43,7 @@ QB_SYSTEM_NAME ?= "${@qemu_target_binary(d)}" | |||
43 | QB_DEFAULT_FSTYPE ?= "cpio" | 43 | QB_DEFAULT_FSTYPE ?= "cpio" |
44 | 44 | ||
45 | XILINX_QEMUBOOT[doc] = "Set this variable to '1' to enable the generation of qemuboot.conf which uses the Xilinx QEMU." | 45 | XILINX_QEMUBOOT[doc] = "Set this variable to '1' to enable the generation of qemuboot.conf which uses the Xilinx QEMU." |
46 | XILINX_QEMUBOOT ?= "" | 46 | XILINX_QEMUBOOT ??= "" |
47 | 47 | ||
48 | # Dependencies for native Xilinx QEMU | 48 | # Dependencies for native Xilinx QEMU |
49 | XILINX_QEMU_DEPENDS ?= "qemu-xilinx-native" | 49 | XILINX_QEMU_DEPENDS ?= "qemu-xilinx-native" |
diff --git a/conf/machine/zcu102-zynqmp.conf b/conf/machine/zcu102-zynqmp.conf index 083e48d4..c55b536c 100644 --- a/conf/machine/zcu102-zynqmp.conf +++ b/conf/machine/zcu102-zynqmp.conf | |||
@@ -1,7 +1,6 @@ | |||
1 | #@TYPE: Machine | 1 | #@TYPE: Machine |
2 | #@NAME: zcu102-zynqmp | 2 | #@NAME: zcu102-zynqmp |
3 | #@DESCRIPTION: Machine support for ZCU102 Evaluation Board. | 3 | #@DESCRIPTION: Machine support for ZCU102 Evaluation Board. |
4 | # | ||
5 | 4 | ||
6 | require conf/machine/include/tune-zynqmp.inc | 5 | require conf/machine/include/tune-zynqmp.inc |
7 | require conf/machine/include/machine-xilinx-default.inc | 6 | require conf/machine/include/machine-xilinx-default.inc |
@@ -29,20 +28,21 @@ QB_MEM = "-m 2048" | |||
29 | QB_OPT_APPEND = "-nographic -serial mon:stdio -serial null" | 28 | QB_OPT_APPEND = "-nographic -serial mon:stdio -serial null" |
30 | QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" | 29 | QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" |
31 | 30 | ||
32 | # Xilinx QEMU options | 31 | # Xilinx QEMU options, default to using Xilinx QEMU |
33 | QB_OPT_APPEND_append_qemuboot-xilinx = " -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/zcu102-arm.dtb " | 32 | XILINX_QEMUBOOT ?= "1" |
34 | 33 | ||
35 | # Reset and unhalt CPU0 | 34 | # Reset and unhalt CPU0, load the boot media. |
36 | QB_OPT_APPEND_append_qemuboot-xilinx = " -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 " | 35 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ |
37 | 36 | -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/zcu102-arm.dtb \ | |
38 | # Load the boot media | 37 | -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 \ |
39 | QB_OPT_APPEND_append_qemuboot-xilinx = " -device loader,file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware-${MACHINE}.elf,cpu-num=0 \ | 38 | -device loader,file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware-${MACHINE}.elf,cpu-num=0 \ |
40 | -device loader,file=${DEPLOY_DIR_IMAGE}/u-boot.elf \ | 39 | -device loader,file=${DEPLOY_DIR_IMAGE}/u-boot.elf \ |
41 | " | 40 | " |
42 | 41 | ||
43 | # Load the kernel image so the user can run 'booti 0x80000 0x6000000 0x4000000' to boot the kernel | 42 | # Load the kernel image so the user can run 'booti 0x80000 0x6000000 0x4000000' to boot the kernel |
44 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "cpio.gz.u-boot" | 43 | QB_DEFAULT_FSTYPE_qemuboot-xilinx = "cpio.gz.u-boot" |
45 | QB_ROOTFS_OPT_qemuboot-xilinx = " -device loader,addr=0x6000000,file=@ROOTFS@,force-raw=true" | 44 | QB_ROOTFS_OPT_qemuboot-xilinx = " -device loader,addr=0x6000000,file=@ROOTFS@,force-raw=true" |
46 | QB_OPT_APPEND_append_qemuboot-xilinx = " -device loader,addr=0x4000000,file=${DEPLOY_DIR_IMAGE}/${QB_DTB} \ | 45 | QB_OPT_APPEND_append_qemuboot-xilinx = " \ |
46 | -device loader,addr=0x4000000,file=${DEPLOY_DIR_IMAGE}/${QB_DTB} \ | ||
47 | -device loader,addr=0x80000,file=${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE} \ | 47 | -device loader,addr=0x80000,file=${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE} \ |
48 | " | 48 | " |