ARM Integrator-CP Bare Bones problem

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Raymond
Member
Member
Posts: 68
Joined: Thu Jun 09, 2016 4:39 am
Libera.chat IRC: 573410792

ARM Integrator-CP Bare Bones problem

Post 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
Attachments
armbarebones.JPG
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

Re: ARM Integrator-CP Bare Bones problem

Post 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.
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
FusT
Member
Member
Posts: 91
Joined: Wed Sep 19, 2012 3:43 am
Location: The Netherlands

Re: ARM Integrator-CP Bare Bones problem

Post 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:
I have interesting to arm os and run the barebone on wiiki

http://wiki.osdev.org/ARM_Integrator-CP_Bare_Bones
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.
User avatar
Velko
Member
Member
Posts: 153
Joined: Fri Oct 03, 2008 4:13 am
Location: Ogre, Latvia, EU

Re: ARM Integrator-CP Bare Bones problem

Post 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.
If something looks overcomplicated, most likely it is.
Raymond
Member
Member
Posts: 68
Joined: Thu Jun 09, 2016 4:39 am
Libera.chat IRC: 573410792

Re: ARM Integrator-CP Bare Bones problem

Post 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
Post Reply