All times are UTC-06:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Stage I completed!
PostPosted: Fri Dec 08, 2006 1:08 am 
Offline

Joined: Fri Oct 22, 2004 6:00 am
Posts: 81
The first stage of the project completed! BootX works correctly. It sets up graphical display, shows a familiar Apple logo, loads the kernel and drivers (currently only AppleRAID) and starts up the kernel.
BootX is able to read MacOS X CD (native Apple CD with Apple partition map and HFS+ filesystem) and launch the kernel directly from it.
At this point the whole thing freezes (however this can be not 100% true, i've forgotten to turn on debug mode for the kernel, will try it today).
Now the project enters Stage II. I will connect a bunch of LEDs to the parallel port and play with recompiled OpenDarwin kernel with inserted output of diagnostics codes to these LEDs. This is the simplest way to debug lowlevel stuff, even simpler than using serial port, it requires just one command to perform the output.
I guess i've messed up something with memory relocation in BootX.

BootX still has two noncritical known problems:
1. Direct hardware VGA video driver doesn't work, it sets up the card incorrectly. Fixing it requires lots of time and efforts, i don't have necessary resources. This affects older firmware than 1.2 (so it mainly relates to Pegasos-1 users)
2. Keyboard checking (Cmd-V pressing) is still not implemented (i've just decided to leave it for now, however this is fixable and will be fixed).


Top
   
 Post subject:
PostPosted: Fri Dec 08, 2006 1:29 am 
Offline

Joined: Sun May 08, 2005 8:46 pm
Posts: 559
Location: Paris
:shock: :shock: :shock:

you finally made it ?
that's awesome Sonic ! Can't wait to see the real thing ! congrats !!!!!


Top
   
 Post subject:
PostPosted: Fri Dec 08, 2006 2:49 am 
Offline

Joined: Fri Oct 22, 2004 6:00 am
Posts: 81
Okay, i'll ask my wife to make a video of the bootup process with her cellphone's camera... My DV is in the repair center.
However you won't see much. Just familiar gray Apple logo. :D Okay, i'll make another one, with debug enabled, telling what happens, this could be more entertaning. :)
And i'm going to find a way to commit my work to GIT or somewhere else (if the repository completely broken). I definitely need some good backup.


Top
   
 Post subject: Checked with debug
PostPosted: Mon Dec 11, 2006 12:31 am 
Offline

Joined: Fri Oct 22, 2004 6:00 am
Posts: 81
Yes - no life symptoms from the kernel. Just a black screen in debugging mode. This means the kernel freezes at some early point. Or i pass parameters in a wrong way (messed up with relocations).
Now it's time to actually build a LED dongle for the parallel port...


Top
   
 Post subject:
PostPosted: Mon Dec 11, 2006 1:31 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Hi!
I'm sure you know it, but I'll better post it anyway:
"ALT"+"APPLE"+"o"+"f" should show you the openfirmware during boot


Top
   
 Post subject:
PostPosted: Mon Dec 11, 2006 7:31 am 
Offline

Joined: Fri Oct 22, 2004 6:00 am
Posts: 81
Heh...
I know how to access OpenFirmware on the Pegasos. :D BTW, it's not ALT+Apple+O+F.
BootX is started from OpenFirmware then. It loads the kernel, drivers and jumps to the kernel. No more OpenFirmware at this point.
BootX does its job well. Now i'm going to add some debug information output to the kernel in order to see where it dies.


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

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 2 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

Search for:
Jump to:  
cron
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group