summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaewon Lee <jaewon.lee@xilinx.com>2020-05-08 16:07:25 -0700
committerJaewon Lee <jaewon.lee@xilinx.com>2020-05-08 16:08:02 -0700
commit3f1eacbf958ab13efa2c8533a54f7de1657e1f7b (patch)
tree810eb59d21091c55de339128a863487fe489ed11
parent11be44b1f9b0c9360e26fc44fa1caf688d3f4b79 (diff)
downloadmeta-xilinx-3f1eacbf958ab13efa2c8533a54f7de1657e1f7b.tar.gz
versal confs: cleaning up unnecessary file loading in runqemu command
Removing dtb fatload in boot.scr and removing unnecessary image, dtb, rootfs loading in runqemu command dtb is being loaded through boot.bin for versal so fatload through boot.scr and loading into memory through runqemu commands are not necessary (before this change dtb was essentially being loaded three times) image will be fatloaded through boot.scr (provided in sd image) rootfs is provided through sd image Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
-rw-r--r--meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf4
-rw-r--r--meta-xilinx-bsp/conf/machine/vck190-versal.conf3
-rw-r--r--meta-xilinx-bsp/conf/machine/versal-generic.conf3
-rw-r--r--meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.versal1
4 files changed, 0 insertions, 11 deletions
diff --git a/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf b/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf
index 59b1e99e..f6337afa 100644
--- a/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf
+++ b/meta-xilinx-bsp/conf/machine/vc-p-a2197-00-versal.conf
@@ -50,14 +50,10 @@ QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw"
50QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" 50QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none"
51 51
52QB_OPT_APPEND_append_qemuboot-xilinx = " \ 52QB_OPT_APPEND_append_qemuboot-xilinx = " \
53 -device loader,file=${DEPLOY_DIR_IMAGE}/Image,addr=0x80000 \
54 -device loader,file=${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.cpio.gz.u-boot,addr=0x6000000 \
55 -device loader,file=${DEPLOY_DIR_IMAGE}/system.dtb,addr=0x4000000 \
56 -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ 53 -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \
57 -display none \ 54 -display none \
58 -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ 55 -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \
59 " 56 "
60
61# PLM instance args 57# PLM instance args
62QB_PLM_OPT = " \ 58QB_PLM_OPT = " \
63 -M microblaze-fdt \ 59 -M microblaze-fdt \
diff --git a/meta-xilinx-bsp/conf/machine/vck190-versal.conf b/meta-xilinx-bsp/conf/machine/vck190-versal.conf
index 7f2a8b63..028c2b18 100644
--- a/meta-xilinx-bsp/conf/machine/vck190-versal.conf
+++ b/meta-xilinx-bsp/conf/machine/vck190-versal.conf
@@ -56,9 +56,6 @@ QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw"
56QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" 56QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none"
57 57
58QB_OPT_APPEND_append_qemuboot-xilinx = " \ 58QB_OPT_APPEND_append_qemuboot-xilinx = " \
59 -device loader,file=${DEPLOY_DIR_IMAGE}/Image,addr=0x80000 \
60 -device loader,file=${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.cpio.gz.u-boot,addr=0x6000000 \
61 -device loader,file=${DEPLOY_DIR_IMAGE}/system.dtb,addr=0x4000000 \
62 -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ 59 -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \
63 -display none \ 60 -display none \
64 -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ 61 -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \
diff --git a/meta-xilinx-bsp/conf/machine/versal-generic.conf b/meta-xilinx-bsp/conf/machine/versal-generic.conf
index 07b0f323..9bf3593d 100644
--- a/meta-xilinx-bsp/conf/machine/versal-generic.conf
+++ b/meta-xilinx-bsp/conf/machine/versal-generic.conf
@@ -60,9 +60,6 @@ QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw"
60QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none" 60QB_OPT_APPEND ?= " -serial null -serial null -serial mon:stdio -display none"
61 61
62QB_OPT_APPEND_append_qemuboot-xilinx = " \ 62QB_OPT_APPEND_append_qemuboot-xilinx = " \
63 -device loader,file=${DEPLOY_DIR_IMAGE}/Image,addr=0x80000 \
64 -device loader,file=${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.cpio.gz.u-boot,addr=0x6000000 \
65 -device loader,file=${DEPLOY_DIR_IMAGE}/system.dtb,addr=0x4000000 \
66 -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \ 63 -hw-dtb ${DEPLOY_DIR_IMAGE}/qemu-hw-devicetrees/multiarch/board-versal-ps-vc-p-a2197-00.dtb \
67 -display none \ 64 -display none \
68 -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \ 65 -net nic -net user,tftp=${DEPLOY_DIR_IMAGE} \
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.versal b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.versal
index 552e8d02..10e83cd0 100644
--- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.versal
+++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.versal
@@ -1,4 +1,3 @@
1setenv bootargs $bootargs root=/dev/mmcblk0p2 rw rootwait clk_ignore_unused 1setenv bootargs $bootargs root=/dev/mmcblk0p2 rw rootwait clk_ignore_unused
2fatload mmc 0 @@DEVICETREE_ADDRESS@@ @@DEVICE_TREE_NAME@@
3fatload mmc $sdbootdev:$partid @@KERNEL_LOAD_ADDRESS@@ @@KERNEL_IMAGETYPE@@ 2fatload mmc $sdbootdev:$partid @@KERNEL_LOAD_ADDRESS@@ @@KERNEL_IMAGETYPE@@
4@@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ - @@DEVICETREE_ADDRESS@@ 3@@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ - @@DEVICETREE_ADDRESS@@