-
-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qemu-4.2.0 emulation for basic "hello world" #157
Comments
Hi, this is a bit hard to answer. After you got it working with this repo https://github.com/cirosantilli/linux-kernel-module-cheat/tree/32b6d036890eef954dad5b5dd480a36f14890646#baremetal-setup-getting-started start studying how it works here and bisect difference by difference with GDB. Notably, you have to ensure that entry point is correct in the linker script, and that the toolchain stdlib is putting devices at the address tey are expected (notably the TTY) to match QEMU. You have to understand how that toolchain does it. This one use newlib. |
Hi,
I was trying to print out "hello world" on terminal(16.04) and using qemu-4.2.0 and toolchain gcc-arm-none-eabi-6-2017-q2-update.
The startup and the linker I used was from :
https://github.com/ARM-software/CMSIS_5/tree/5.8.0/Device/ARM/ARMCM3/Source/GCC and my machine on which i want to emulated has 16MB flash and RAM each.
The issue is the output is black screen. How to rectify this?
The text was updated successfully, but these errors were encountered: