Comments (4)
I have updated qemu-system-arm with 2.9 version. And using qemu-system-arm -machine versatileab -cpu cortex-m4 ./lk.bin
I got:
vagrant@vagrant-ubuntu-trusty-32:~/lk/build-lm3s6965evb-test$ qemu-system-arm -machine versatileab -cpu cortex-m4 ./lk.elf
WARNING: Image format was not specified for './lk.elf' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
audio: Could not init `oss' audio driver
gtk initialization failed
Any suggestions for debugging traces please?
from lk.
from lk.
Is it possible to eliminate audio and graphics interfaces modules on little kernel while compiling please? I think I only need file system and network interfaces/the tcp/ip stack. I tried to pass -nographics
flag, and got trace as following:
vagrant@vagrant-ubuntu-trusty-32:~/lk$ qemu-system-arm -machine versatileab -cpu cortex-m4 -m 64 -smp 1 -kernel ./build-qemu-m4-test/lk.elf -nographic
audio: Could not init `oss' audio driver
qemu-system-arm: Trying to execute code outside RAM or ROM at 0x08000e54
This usually means one of the following happened:
(1) You told QEMU to execute a kernel for the wrong machine type, and it crashed on startup (eg trying to run a raspberry pi kernel on a versatilepb QEMU machine)
(2) You didn't give QEMU a kernel or BIOS filename at all, and QEMU executed a ROM full of no-op instructions until it fell off the end
(3) Your guest kernel has a bug and crashed by jumping off into nowhere
This is almost always one of the first two, so check your command line and that you are using the right type of kernel for this machine.
If you think option (3) is likely then you can try debugging your guest with the -d debug options; in particular -d guest_errors will cause the log to include a dump of the guest register state at this point.
Execution cannot continue; stopping here.
from lk.
Hi, I think it is just a mapping issue, managed to match the board name and cpu name. Working fine now, however did not find tcp/ip stack .... I think probably I have to write myself, thanks :)
from lk.
Related Issues (20)
- Goldfish_RTC Timer support
- [request] WASM as build target? HOT 1
- [arch][mmu] align the return of arch_mmu_map and arch_mmu_unmap of all the arches HOT 1
- Rust HOT 4
- The lk coding style question HOT 3
- [Feature] Dual boot support HOT 4
- [libc][printf] limited number of characters support
- arch_in_int_handler not working on multicore ARCH HOT 1
- riscv sifive_u qemu port doesn't seem to have working timers/interrupts
- printf("%zd") of ssize_t variables results in a warning
- Exception occurs when SVE instructions used on aarch64
- [lib][console] unused with_history parameter when creating a new console
- Adding the `-mgeneral-regs-only` flag breaks variadic functions
- Aarch64 ILP32 LK HOT 1
- Saving FPU registers during IRQ Handler HOT 1
- Evaluate Profile-Guided Optimization (PGO) HOT 2
- Assessment of the difficulty in porting CPU architecture for lk HOT 1
- ........................... 5776-9529-3040
- [virtio/fs] Support for virtual 9p devices HOT 3
- Query regading the Translation table HOT 3
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 lk.