summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/include/machine-xilinx-qemu.inc2
-rw-r--r--conf/machine/zcu102-zynqmp.conf18
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)}"
43QB_DEFAULT_FSTYPE ?= "cpio" 43QB_DEFAULT_FSTYPE ?= "cpio"
44 44
45XILINX_QEMUBOOT[doc] = "Set this variable to '1' to enable the generation of qemuboot.conf which uses the Xilinx QEMU." 45XILINX_QEMUBOOT[doc] = "Set this variable to '1' to enable the generation of qemuboot.conf which uses the Xilinx QEMU."
46XILINX_QEMUBOOT ?= "" 46XILINX_QEMUBOOT ??= ""
47 47
48# Dependencies for native Xilinx QEMU 48# Dependencies for native Xilinx QEMU
49XILINX_QEMU_DEPENDS ?= "qemu-xilinx-native" 49XILINX_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
6require conf/machine/include/tune-zynqmp.inc 5require conf/machine/include/tune-zynqmp.inc
7require conf/machine/include/machine-xilinx-default.inc 6require conf/machine/include/machine-xilinx-default.inc
@@ -29,20 +28,21 @@ QB_MEM = "-m 2048"
29QB_OPT_APPEND = "-nographic -serial mon:stdio -serial null" 28QB_OPT_APPEND = "-nographic -serial mon:stdio -serial null"
30QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@" 29QB_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
33QB_OPT_APPEND_append_qemuboot-xilinx = " -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/zcu102-arm.dtb " 32XILINX_QEMUBOOT ?= "1"
34 33
35# Reset and unhalt CPU0 34# Reset and unhalt CPU0, load the boot media.
36QB_OPT_APPEND_append_qemuboot-xilinx = " -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 " 35QB_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 \
39QB_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
44QB_DEFAULT_FSTYPE_qemuboot-xilinx = "cpio.gz.u-boot" 43QB_DEFAULT_FSTYPE_qemuboot-xilinx = "cpio.gz.u-boot"
45QB_ROOTFS_OPT_qemuboot-xilinx = " -device loader,addr=0x6000000,file=@ROOTFS@,force-raw=true" 44QB_ROOTFS_OPT_qemuboot-xilinx = " -device loader,addr=0x6000000,file=@ROOTFS@,force-raw=true"
46QB_OPT_APPEND_append_qemuboot-xilinx = " -device loader,addr=0x4000000,file=${DEPLOY_DIR_IMAGE}/${QB_DTB} \ 45QB_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 "