Page 1 of 1
ARM Integrator-CP Bare Bones problem
Posted: Wed Oct 26, 2016 9:41 pm
by Raymond
I have interesting to arm os and run the barebone on wiiki
http://wiki.osdev.org/ARM_Integrator-CP_Bare_Bones
I successfully compile and link the code but when i run the arm qemu,it tells me a word
guest has not initialized the display
Below is my config of qemu
Code: Select all
qemu-system-arm.exe -L . -m 128 -machine type=integratorcp -kernel kernel -serial stdio
Re: ARM Integrator-CP Bare Bones problem
Posted: Thu Oct 27, 2016 12:18 am
by SpyderTL
The tutorial only uses the serial port. It does not initialize the display, which is probably why QEMU says that the display is not initialized.
Also, your QEMU config is different from the tutorial. So I wouldn't be suprised if you get different results.
Re: ARM Integrator-CP Bare Bones problem
Posted: Thu Oct 27, 2016 12:42 am
by FusT
Nuno, Please do not post things that are _very_ obviously incorrect and/or you know little about.
BareBones exists for more than just x86, the link to the ARM BareBones is actually in the first post, second line:
Also, since QEMU
does boot the system (it's just not displaying anything) and the actual command-line to run it is given (and is correct) we can probably assume that the problem doesn't lie there.
Re: ARM Integrator-CP Bare Bones problem
Posted: Thu Oct 27, 2016 2:43 am
by Velko
Actually, the booting section in tutorial is slightly inaccurate.
You can either boot the system with -serial stdio in the command line. Then ignore the new Qemu window and look for the output in terminal (where you did type the command).
Or you boot the system without -serial switch. Then press Ctrl+Alt+3 to switch Qemu to serial0 output display.
Re: ARM Integrator-CP Bare Bones problem
Posted: Thu Oct 27, 2016 6:51 pm
by Raymond
#define SERIAL_BASE 0x16000000
#define SERIAL_FLAG_REGISTER 0x18
#define SERIAL_BUFFER_FULL (1 << 5)
I think the problem is in the code of arm barebones,that is the serial base or serial flag reg is not correct.
Maybe someone can find who wrote the barebones?
http://wiki.osdev.org/ARM_Integrator-CP_Bare_Bones
Who knows about detail of serial base value?thanks