On Fri, Aug 19, 2016 at 12:22 AM, Nathan Rossi <[email protected]> wrote: > On Fri, Aug 12, 2016 at 7:47 AM, Alistair Francis > <[email protected]> wrote: >> This patch series adds support to build Xilinx's QEMU and device trees >> which allows users to use the Xilinx fork of QEMU which has much better >> support for Xilinx products. > > Apart from the comments on patch 2/3 everything looks good. > >> >> This patch series is missing support for the run script. > > It looks like Robert is close to merging the runqemu rewrite (his > branch of oe is here: > http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/runqemu). > So I had a play to see if I can get the zcu102-zynqmp machine using > that with the qemu-xilinx, it works quite well. I have a > work-in-progress branch here: > https://github.com/nathanrossi/meta-xilinx/tree/nrossi/qemu > > # runqemu zcu102-zynqmp nographic slirp > runqemu - INFO - Assuming MACHINE = zcu102-zynqmp > runqemu - INFO - Running MACHINE=zcu102-zynqmp bitbake -e... > runqemu - INFO - MACHINE: zcu102-zynqmp > runqemu - INFO - DEPLOY_DIR_IMAGE: > /home/nathan/build/tmp-glibc/deploy/images/zcu102-zynqmp > runqemu - INFO - Continuing with the following parameters: > > KERNEL: [/home/nathan/build/tmp-glibc/deploy/images/zcu102-zynqmp/Image] > MACHINE: [zcu102-zynqmp] > FSTYPE: [cpio] > ROOTFS: > [/home/nathan/build/tmp-glibc/deploy/images/zcu102-zynqmp/core-image-minimal-zcu102-zynqmp.cpio] > > runqemu - INFO - Running > /home/nathan/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/qemu-xilinx/qemu-system-aarch64 > -nographic -machine arm-generic-fdt -cpu cortex-a57 -m 2048 -initrd > /home/nathan/build/tmp-glibc/deploy/images/zcu102-zynqmp/core-image-minimal-zcu102-zynqmp.cpio > -dtb > /home/nathan/build/tmp-glibc/deploy/images/zcu102-zynqmp/Image-zynqmp-zcu102-revB.dtb > -hw-dtb > /home/nathan/build/tmp-glibc/deploy/images/zcu102-zynqmp/qemu-hw-devicetrees/zcu102-arm.dtb > -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 -device > loader,file=/home/nathan/build/tmp-glibc/deploy/images/zcu102-zynqmp/bl31-zcu102-zynqmp.elf,cpu=0 > -serial mon:stdio -serial null -kernel > /home/nathan/build/tmp-glibc/deploy/images/zcu102-zynqmp/Image -append > 'root=/dev/ram0 rw debugshell console=ttyS0 mem=2048M ip=dhcp > console=ttyPS0' > -------------------------------------------------------------------- > Xilinx QEMU Aug 19 2016 16:34:06. > -------------------------------------------------------------------- > NOTICE: ATF running on XCZUUNKN/QEMU v1/RTL0.0 at 0xfffe5000 > NOTICE: BL31: Secure code at 0x60000000 > NOTICE: BL31: Non secure code at 0x8000000 > NOTICE: BL31: v1.2(release):1058495 > NOTICE: BL31: Built : 22:46:52, Aug 17 2016 > > It doesn't get past here, which is expected since its trying to run > the kernel instead of u-boot. But this shows that with the new runqemu > there is no need to duplicate the runqemu script in meta-xilinx which > is great.
Awesome! Sorry for the radio silence here. I was waiting for the changes to be merged into oe-core, but it still hasn't happened yet. I am going to send out a V4 which just builds everything but doesn't add any run functionality. Hopefully then when I can add the run functionality the build work is already reviewed and good to go. I have a look at your branch that did this and I remember that it looked pretty good, but there were a few changes that I think should be made. I want to wait until that is all finalised until I spend too much time on it though. Thanks, Alistair > > Also with the "qemuboot.py" it looks like it might be easy to have > qemuboot.py and qemuboot-mainline.py (or default mainline and > qemuboot-xilinx.py) for ep108 to allow for easy execution of either > version. > > Regards, > Nathan > >> >> Alistair Francis (3): >> qemu: Build Xilinx's QEMU >> qemu-devicetrees: Build the Xilinx QEMU device trees >> zynqmp: Update the machines to take advantage of Xilinx's QEMU >> >> conf/machine/ep108-zynqmp.conf | 1 + >> conf/machine/zcu102-zynqmp.conf | 4 ++ >> recipes-devtools/qemu/qemu-devicetrees_2.2.5.bb | 41 ++++++++++++++++++ >> recipes-devtools/qemu/qemu-xilinx_2.2.5.bb | 55 >> +++++++++++++++++++++++++ >> 4 files changed, 101 insertions(+) >> create mode 100644 recipes-devtools/qemu/qemu-devicetrees_2.2.5.bb >> create mode 100644 recipes-devtools/qemu/qemu-xilinx_2.2.5.bb >> >> -- >> 2.7.4 >> > -- > _______________________________________________ > meta-xilinx mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-xilinx -- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
