OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 2:48 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: ARM Integrator-CP Bare Bones problem
PostPosted: Wed Oct 26, 2016 9:41 pm 
Offline
Member
Member

Joined: Thu Jun 09, 2016 4:39 am
Posts: 68
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
Quote:
guest has not initialized the display


Below is my config of qemu

Code:
qemu-system-arm.exe -L . -m 128 -machine type=integratorcp -kernel kernel -serial stdio


Attachments:
armbarebones.JPG
armbarebones.JPG [ 25.82 KiB | Viewed 2673 times ]
Top
 Profile  
 
 Post subject: Re: ARM Integrator-CP Bare Bones problem
PostPosted: Thu Oct 27, 2016 12:18 am 
Offline
Member
Member
User avatar

Joined: Sun Sep 19, 2010 10:05 pm
Posts: 1074
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


Top
 Profile  
 
 Post subject: Re: ARM Integrator-CP Bare Bones problem
PostPosted: Thu Oct 27, 2016 12:42 am 
Offline
Member
Member

Joined: Wed Sep 19, 2012 3:43 am
Posts: 91
Location: The Netherlands
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:

Quote:
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.


Top
 Profile  
 
 Post subject: Re: ARM Integrator-CP Bare Bones problem
PostPosted: Thu Oct 27, 2016 2:43 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 03, 2008 4:13 am
Posts: 153
Location: Ogre, Latvia, EU
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.


Top
 Profile  
 
 Post subject: Re: ARM Integrator-CP Bare Bones problem
PostPosted: Thu Oct 27, 2016 6:51 pm 
Offline
Member
Member

Joined: Thu Jun 09, 2016 4:39 am
Posts: 68
Quote:
#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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 69 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group