-
Notifications
You must be signed in to change notification settings - Fork 488
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
Running examples using qemu 2.6? #22
Comments
qemu-system-arm -machine raspi2 -m 128M -nographic -kernel uart01.bin Not sure which uart01 example, but if this is for a raspberry pi 2 then #define GPFSEL1 0x3F200004 #define AUX_ENABLES 0x3F215004 without the gdb stuff it should just print to the console, at least in On 06/25/2016 11:17 AM, Hadi Moshayedi wrote:
|
Hello, I am also trying to use qemu. Uart01 will not work, as for me it seems, that simply only uart0 is redirected into console (maybe qemu does not yet support uart1). Go for uartx01 example It should work fine with steps you provided + changing peripherals offsets as David mentioned. |
Qemu 2.6 added support for raspi2. But I couldn't get the uart01 example run correctly using raspi2.
The steps I took was:
uart01/memmap
and change origin to0x10000
(which is the address qemu starts executing),/usr/local/bin/qemu-system-arm -machine raspi2 -m 512M -nographic -gdb tcp::26000 -S -kernel uart01.bin
Then start
arm-none-eabi-gdb
and run following commands:Then, when I start the program, it seems that the inner while loop never breaks and I don't see any output.
I am wondering if I'm doing any steps incorrectly.
The text was updated successfully, but these errors were encountered: