Comments (7)
Hi, this issue was described already here: #4
Albeit closed, it has the answer for you: Everything worked as expected, you arrive at Arrived at main loop, demo is over
.
The issue is in the avatar2 teardown. Have you tried running the script unbuffered (python3 -u qemu_uboot_avatar2.py
)? Maybe it fixes at least the race condition between logging and throwing of the exception.
from avatar2-examples.
It's the same result of running python3 -u qemu_uboot_avatar2.py
. But why do I get an error when I try to read the value of memory or register?
from avatar2-examples.
Heya, taking a second loop at the timestamps, and may indeed be the case that QEMU errors straight-away. Can you retry with the PANDA target for the time being, instead of the qemu target? I think something may have gone wrong during our yearly sync with upstream qemu, resulting into these errors.
from avatar2-examples.
Hi,
There is more debugging info within /tmp/myavatar
directory. What is the output of cat /tmp/myavatar/{QemuTarget0_err.txt,QemuTarget0_out.txt}
?
from avatar2-examples.
cat QemuTarget0_err.tx
qemu-system-arm: RemoteMemoryRead failed (-1)!
cat QemuTarget0_out.txt
Configurable: Adding memory region interrupts (size: 0x1000) at address 0x0
Configurable: Adding memory region init_mem (size: 0x1000) at address 0xfdd000
Configurable: Adding memory region heap (size: 0x22000) at address 0xfde000
Configurable: Adding peripheral[avatar-rmemory] region after_code at address 0x1019000
Configurable: Adding peripheral[pl011] region serial at address 0x101f1000
Configurable: Adding peripheral[avatar-rmemory] region before_code at address 0x1000
Configurable: Adding memory region text_data_bss (size: 0x19000) at address 0x1000000
Configurable: Inserting 0x15144 bytes of data in memory region text_data_bss
Configurable: Copying 0x15144 byte of data from file /home/desh0ng/Desktop/bishe/Avatar/avatar2/examples/qemu_uboot/u-boot.bin beginning at offset 0x0 to address 0x1000000
Configurable: Adding peripheral[avatar-rmemory] region after_serial at address 0x101f2000
from avatar2-examples.
Well, my current goal is to simulate the stm32 development board, so I didn't consider using Panda.
from avatar2-examples.
Panda is under the hood qemu based, and is currently more used by the avatar2-developers (and, hence, better testing).
Additionally, the framework can serve as drop-in for Qemu! Please try:
AVATAR2_QEMU_EXECUTABLE=panda-system-arm python3 qemu_uboot_avatar2.py
(assuming you are in the docker or have panda installed locally.)
from avatar2-examples.
Related Issues (5)
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 avatar2-examples.