Comments (3)
Hello Bill-Paul,
First of all I'm glad you decided to use QEMU I'm sorry you had difficulties building and running it. Internally we build, test and develop on Linux machines. Which is why there is little to no consideration on running on BSD or Windows hosts. Recently we have started adding some support for Windows hosts, although this is limited at the moment.
We know the code base is starting to age on targets and devices that we don't use and we are working on fixing this. Hopefully we will have a newer QEMU release later in the year.
- I completely agree with you. I inherited this inability to build other platforms and just haven't had the time to spend on fixing it. We are working on improving the QEMU code though.
- I'm sorry about that. Hopefully when we update our tree based on a newer mainline version this will be fixed.
- Do you want to write a patch for this?
- I can look into this and see what I can do to fix the problem.
Wow! Good catch. I can't believe we haven't seen this before. Thanks for pointing this out. I will write-up a fix.
Thanks for the feedback, we are always happy to hear it. We are trying hard to improve QEMU and any input is appreciated.
Thanks,
Alistair
from qemu.
Regarding the lseek64()/lseek() thing, sadly I don't really have a patch, because I'm not exactly certain what the correct fix would be. For now I changed the source to just use lseek() so that it would build on FreeBSD. I was told the correct way to address this is:
#include <unistd.h>
...
#if (_POSIX_V6_ILP32_OFF32 > 0) || (_POSIX_V7_ILP32_OFF32 > 0)
...lseek64(...
#else
...lseek(...
#endif
But I'm not 100% sure of this.
It's possible that for the other machine types the number of inputs never exceeds 15, which means it could only be an issue with the MPSoC simulation. You can see it by adding a printf() in qemu_irq_shared_handler() to display the value of 'n' each time it's called. With the zcu102 machine description it definitely shows values larger than 15. I built the code on an Ubuntu machine too just to make sure.
Anyway, with the fixes in place, I was able to run the simulator on my FreeBSD host and boot the pre-compiled ZCU102 U-Boot and Linux images, so I'm good for now. I have been using QEMU to for VxWorks development and debugging for quite some time and it's always come in very handy, so I was very interested in using it for the Xilinx platforms too.
-Bill
from qemu.
Great! I'm glad it works for you after those issues.
I'll path the memory issue early next week and then I'll try to look into the lseek problem as well.
Thanks,
Alistair
from qemu.
Related Issues (20)
- ERROR: glib-2.22 gthread-2.0 is required to compile QEMU HOT 1
- Xilinx QEMU for Windows 10
- SRIOV support to remote-port
- How to run QNX OS on qemu HOT 6
- MPSoC CAN QEMU acceptance filter register layout not compatible with hardware HOT 2
- arm: cp15 support
- cadence_i2c.c DATA register issue
- Cannot recreate QEMU Petalinux commands HOT 1
- Enable virtfs in xilinx-qemu?
- Remote for `dtc` submodule points to deprecated git.qemu-project.org HOT 2
- Assessment of the difficulty in porting CPU architecture for qemu
- Block device read operation misses one byte(8 bit) per chip per SPI transaction HOT 3
- Error:undefined reference to `fcntl64'
- No null check on info leads to segfault
- QEMU Object Model for PL
- QEMU - How to enable two GEMs on xilinx-zcu102 machine HOT 4
- qemu support of VCR register on Cortex-A9
- Remote Port: need to disable/enable byte_enable
- Secure Boot with Xilinx QEMU
- qemu-system-aarch64: Connection refused
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qemu.