I don't think boot.bin is a legal "kernel". IIRC, I had issues running on QEMU, but it was slightly better than what you describe.
Sören On Mon, 2014-11-24 at 09:40AM -0800, Douglas Rupp wrote: > The result is: > > arm-softmmu/qemu-system-arm -M arm-generic-fdt -nographic -smp 2 -machine > linux=on -serial mon:stdio -dtb devicetree.dtb -kernel boot.bin > SPI device 0x7f8161521ee0 > qemu: fatal: Trying to execute code outside RAM or ROM at 0xfffffff0 > > then a register dump > > The "boot.bin" and "devicetree.dtb" is from xilinx binary release > 2014.3-release/zed > > I tried removing -smp 2 -machine linux=on, and same error. > On Mon, Nov 24, 2014 at 9:21 AM, Sören Brinkmann > <[1]soren.brinkm...@xilinx.com> wrote: > > Could you try whether these instructions work? > [2]http://www.wiki.xilinx.com/QEMU > > Sören > On Mon, 2014-11-24 at 08:58AM -0800, Douglas Rupp wrote: > > I built qemu-system-arm from the xilinx-master branch. > xilinx-zynq-a9 is > > not a supported machine. :( > > > > On Mon, Nov 24, 2014 at 7:02 AM, Douglas Rupp > <[3]douglas.b.r...@gmail.com> > > wrote: > > > > > It's the version of qemu-system-arm downloaded for Ubuntu 14.04 > > > Version info: > > > qemu-system-arm --version > > > QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.7) > > > > > > I also tried the three "boot.bin" files in "2014.3-release.tar.gz" > > > downloaded from the Xilinx website, those in subdirectories > zc70x/zc706/ > > > and zc70x/zc702/, and zed/ . Same command line. Hangs with no > output. > > > > > > I also tried the version 2.0.0 version of qemu-system-arm from the > > > [4]open-do.org website that we regular use with xlnx-zynq-a9 bsp for > > > vxworks7, it boots vxworks without uboot, but hangs with uboot. > > > > > > You're suggesting that only the qemu-system-arm built from the > xilinx repo > > > is functional with uboot? I used that version of qemu about a year > ago, > > > and it worked fine for Linux but it was an ancient version of qemu > (at that > > > time). > > > > > > On Sun, Nov 23, 2014 at 10:17 PM, Jagan Teki > <[5]jagannadh.t...@gmail.com> > > > wrote: > > > > > >> On 24 November 2014 at 06:03, Douglas Rupp > <[6]douglas.b.r...@gmail.com> > > >> wrote: > > >> > I'm brand new to Uboot, so hopefully this is just some missing > switch. > > >> I > > >> > did search the archive, and I was able to build and u-boot a > > >> versaatilepb > > >> > version, but xilinx-zynq-a9 is the one I really need. > > >> > > > >> > u-boot-2014.10$ make zynq_zed_defconfig > > >> > u-boot-2014.10$ make all CROSS_COMPILE=arm-none-eabi- ARCH=arm > > >> > u-boot-2014.10$ qemu-system-arm -M xilinx-zynq-a9 -m 1024M > -nographic > > >> > -kernel u-boot-dtb.bin > > >> > Segmentation fault (core dumped) > > >> > > >> I guess it may be qemu usage issue, is qemu from > > >> [7]https://github.com/Xilinx/qemu ? > > >> > > >> + Peter > > >> Hope, he will give some inputs > > >> > > >> > > > >> > What am I doing wrong? > > >> > > >> thanks! > > >> -- > > >> Jagan. > > >> > > > > > > > > > _______________________________________________ > > U-Boot mailing list > > [8]U-Boot@lists.denx.de > > [9]http://lists.denx.de/mailman/listinfo/u-boot > > Links: > 1. mailto:soren.brinkm...@xilinx.com/ > 2. http://www.wiki.xilinx.com/QEMU > 3. mailto:douglas.b.r...@gmail.com/ > 4. http://open-do.org/ > 5. mailto:jagannadh.t...@gmail.com/ > 6. mailto:douglas.b.r...@gmail.com/ > 7. https://github.com/Xilinx/qemu > 8. mailto:U-Boot@lists.denx.de/ > 9. http://lists.denx.de/mailman/listinfo/u-boot _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot